JPH0454579A - Automatic gain control circuit - Google Patents

Automatic gain control circuit

Info

Publication number
JPH0454579A
JPH0454579A JP2163578A JP16357890A JPH0454579A JP H0454579 A JPH0454579 A JP H0454579A JP 2163578 A JP2163578 A JP 2163578A JP 16357890 A JP16357890 A JP 16357890A JP H0454579 A JPH0454579 A JP H0454579A
Authority
JP
Japan
Prior art keywords
circuit
symbol
variable gain
reset
gain amplifier
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
JP2163578A
Other languages
Japanese (ja)
Inventor
Shinya Takenaka
竹中 信也
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.)
Sumitomo Electric Industries Ltd
Original Assignee
Sumitomo Electric Industries 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 Sumitomo Electric Industries Ltd filed Critical Sumitomo Electric Industries Ltd
Priority to JP2163578A priority Critical patent/JPH0454579A/en
Priority to CA002044951A priority patent/CA2044951C/en
Priority to US07/719,173 priority patent/US5248871A/en
Priority to EP91110288A priority patent/EP0463586B1/en
Priority to DE69120147T priority patent/DE69120147T2/en
Publication of JPH0454579A publication Critical patent/JPH0454579A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To satisfactorily read the symbols after the light reflected regularly from the symbol surface is made incident on a detection element by resetting a peak holding level by means of the reset signals which are produced for each symbol reading action in the prescribed frequency. CONSTITUTION:A peak holding circuit 20 is connected with a reset circuit 30 which resets the peak holding level with the reset signals produced for each symbol reading action in the prescribed frequency. The output of a synchronizing signal generating circuit 40 which produces the synchronizing signal in response to the start of an electrical scanning operation of an optical image is applied to the circuit 30. Then the peak holding level of the circuit 20 is reset in response to the synchronizing signal. Thus the output signals of a detecting element increase temporarily owing to the regular reflected light and the gain of a variable gain amplifier 10 is extremely reduced. Even under such conditions, the gain of the amplifier 10 can be quickly returned to the value corresponding to the quantity of light received by the detecting element by a resetting action. As a result, the symbols can be satisfactorily read.

Description

【発明の詳細な説明】 〈産業上の利用分野〉 本発明は、バーコードや文字なとの記号を光学的に読み
取る光学的記号読取装置において用いられる自動利得制
御回路に関する。
DETAILED DESCRIPTION OF THE INVENTION <Industrial Application Field> The present invention relates to an automatic gain control circuit used in an optical symbol reading device that optically reads symbols such as bar codes and characters.

〈従来の技術〉 従来から、バーコード読取装置や光学式文字読取装置(
OCR)などの光学的記号読取装置は、たとえばコンピ
ュータに対する情報入力装置として広く利用されている
。このような光学的記号読取装置には、たとえばレーザ
光でバーコードや文字なとの記号を形成した記号面を走
査し、この走査時における記号面からの反射光を検出す
るようにしたレーザ方式のものや、記号面を照明してそ
の反射光をイメージセンサて受光し、受光面上に結像さ
れた記号の光学像を電気的に走査するようにしたスキャ
ナ方式のものなどかある。
<Conventional technology> Conventionally, barcode reading devices and optical character reading devices (
Optical symbol reading devices such as OCR (OCR) are widely used as information input devices for computers, for example. Such optical symbol reading devices include, for example, a laser method that scans a symbol surface on which a symbol such as a bar code or character is formed using a laser beam, and detects the reflected light from the symbol surface during this scanning. There are also scanner-type devices that illuminate the symbol surface, receive the reflected light with an image sensor, and electrically scan the optical image of the symbol formed on the light-receiving surface.

上記のような光学式記号読取装置において、記号面と装
置との間の距離(読取距離)を成る程度の範囲で変動さ
せた場合でも記号の正確な読取が可能であるためには、
読取距離の変動に伴う記号面からの反射光量の変動を回
路的に吸収する必要がある。このため、従来から可変利
得増幅回路を含む自動利得制御回路(AGC回路)を用
いて、フォトダイオードやイメージセンサなどの検出素
子の出力を光量の変動によらずにほぼ一定の振幅の信号
に変換する技術が一般に適用されている。
In order for the above-mentioned optical symbol reading device to be able to accurately read symbols even when the distance (reading distance) between the symbol surface and the device is varied within a certain range,
It is necessary to absorb fluctuations in the amount of reflected light from the symbol surface due to fluctuations in reading distance using a circuit. For this reason, automatic gain control circuits (AGC circuits) that include variable gain amplification circuits have traditionally been used to convert the output of detection elements such as photodiodes and image sensors into signals with approximately constant amplitude regardless of fluctuations in the amount of light. This technology is commonly applied.

−船釣なAGC回路の構成は第3図に示されている。記
号面からの反射光の光量に対応した検出素子からの電気
信号は、可変利得増幅回路lに入力され、この可変利得
増幅回路1の出力か当該信号をたとえば適当なスライス
レベルでレベル弁別して[1)またはrOJに二値化す
る二値化回路(図示せず)に与えられる。可変利得増幅
回路】の出力信号はまた、ピークホールド回路2に与え
られ、このピークホールド回路2の出力か可変利得増幅
回路1にその利得を制御するための制御信号として帰還
される。
- The configuration of the AGC circuit for boat fishing is shown in FIG. The electrical signal from the detection element corresponding to the amount of reflected light from the symbol surface is input to the variable gain amplifier circuit 1, and the output of the variable gain amplifier circuit 1 or the signal is level-discriminated at an appropriate slice level and [ 1) or to a binarization circuit (not shown) that binarizes it into rOJ. The output signal of the variable gain amplifier circuit is also applied to a peak hold circuit 2, and the output of the peak hold circuit 2 is fed back to the variable gain amplifier circuit 1 as a control signal for controlling its gain.

ピークホールド回路2は入力信号レベルが増大するとこ
れに追随してその出力信号を速やかに増大させ、入力信
号レベルの減少に対しては比較的大きな時定数を育して
出力信号を減少させるものである。これにより、入力信
号の激しい変動によらずに回路動作が安定化される。
When the input signal level increases, the peak hold circuit 2 quickly increases its output signal, and when the input signal level decreases, it develops a relatively large time constant and decreases the output signal. be. This stabilizes the circuit operation without being affected by severe fluctuations in the input signal.

このような構成によって、反射光の光量が大きくしたが
って検出素子の出力信号が太き(なったときには可変利
得増幅回路lの利得か減少され、また反射光の光量が小
さく検出素子の出力信号が小さくなったときには可変利
得増幅回路]の利得か大きくされる。したかって、可変
利得増幅回路1の出力は、記号面からの反射光の光量の
大小によらずにほぼ一定となる。これにより、読取距離
の変動に伴う検出素子における受光光量の変動を吸収し
て、成る範囲の読取距離で記号の読取を正確に行わせる
ことかできる。
With such a configuration, the amount of reflected light is large, so the output signal of the detection element becomes thick (when this happens, the gain of the variable gain amplifier circuit l is reduced, and the amount of reflected light is small, so the output signal of the detection element becomes small). When this happens, the gain of the variable gain amplifier circuit is increased.Therefore, the output of the variable gain amplifier circuit 1 remains almost constant regardless of the amount of light reflected from the symbol surface. By absorbing variations in the amount of light received by the detection element due to variations in distance, it is possible to accurately read symbols over a range of reading distances.

〈発明か解決しようとする課題〉 第4図は第3図の各部の信号の変化を示す波形図であり
、第4図(alは可変利得増幅回路lへの入力信号の変
化を示し、第4図(blはピークホールド回路2の出力
信号の変化を示し、第4図(C)は可変利得増幅回路1
の出力信号を示している。
<Problem to be solved by the invention> FIG. 4 is a waveform diagram showing changes in signals at each part of FIG. 3, and FIG. Figure 4 (bl shows the change in the output signal of the peak hold circuit 2, and Figure 4 (C) shows the change in the output signal of the variable gain amplifier circuit 1.
shows the output signal of

期間TIにおいては、入力信号の変動に追随してピーク
ホールド回路2の出力信号が変動し、したがって可変利
得制御回路lの利得が入力信号レベルに対応して変動す
るので、第4図(C)に示されるようにこの可変利得増
幅回路lの出力信号はほぼ一定の振幅で記号に対応した
振動を示す。
During the period TI, the output signal of the peak hold circuit 2 fluctuates following the fluctuation of the input signal, and therefore the gain of the variable gain control circuit l fluctuates in accordance with the input signal level, so as shown in FIG. 4(C). As shown in FIG. 1, the output signal of this variable gain amplification circuit l exhibits oscillations with approximately constant amplitude and corresponding to the symbol.

ところで、記号面に対して入射するレーザ光などの光の
入射方向と、この記号面で反射されて検出素子で検出さ
れる反射光の反射方向とがほぼ正反対の方向となるとき
には、強度の高い正反射光か検出素子に入射することに
なる。すなわち、レーザ光の入射方向と検出素子で検出
される反射光の反射方向とかずれているときには、検出
素子では記号面からの散乱光が検出されるのに対して、
上記の場合には正反射光が受光素子で受光される。
By the way, when the direction of incidence of light such as a laser beam that is incident on the symbol surface and the direction of reflection of the reflected light that is reflected by the symbol surface and detected by the detection element are almost opposite directions, high-intensity The specularly reflected light will be incident on the detection element. In other words, when the direction of incidence of the laser beam and the direction of reflection of the reflected light detected by the detection element are misaligned, the detection element detects the scattered light from the symbol surface;
In the above case, the specularly reflected light is received by the light receiving element.

この正反射光は散乱反射光に比較して数10倍〜数10
0倍の強度を有しており、このため、可変利得増幅回路
lへの検出素子からの入力信号は参照符号11で示すよ
うな大きなピークを示す。ピークホールド回路2はこれ
に追随するので参照符号12で示すようにその出力が大
きく立ち上がり、このため可変利得増幅回路1の利得は
極端に小さくなる。
This specularly reflected light is several tens of times to several tens of times larger than the scattered reflected light.
Therefore, the input signal from the detection element to the variable gain amplifier circuit l exhibits a large peak as indicated by reference numeral 11. Since the peak hold circuit 2 follows this, its output rises significantly as shown by reference numeral 12, and therefore the gain of the variable gain amplifier circuit 1 becomes extremely small.

ところが、このピークホールド回路lは前述のように比
較的大きな時定数を有しているので、検出素子の出力信
号が低くなった後にも、参照符号13で示すように、そ
の出力信号か大きな値のままで維持され、可変利得増幅
回路lの利得が極端に小さな状態が継続する。このため
、第4図telにおいて参照符号14で示すように、可
変利得増幅回路1の出力信号の振幅が小さくなってしま
い、記号読取を行うことができなくなる。
However, since this peak hold circuit l has a relatively large time constant as described above, even after the output signal of the detection element becomes low, as shown by reference numeral 13, the output signal remains at a large value. The gain of the variable gain amplifier circuit l continues to be extremely small. For this reason, as shown by reference numeral 14 in FIG. 4, the amplitude of the output signal of the variable gain amplifier circuit 1 becomes small, making it impossible to read symbols.

このように、上記のAGC回路では、記号面からの正反
射光を受光すると、その後しばらくは、記号読取を行う
ことかできなくなる。
In this way, in the above-mentioned AGC circuit, when the specularly reflected light from the symbol surface is received, symbol reading cannot be performed for a while thereafter.

この不具合を解決するために、たとえば検出素子の出力
をリミッタ回路を介して可変利得増幅回路lに入力させ
ることが考えられるが、検出素子の出力は受光光量の変
化に対応して大きく変動するので、入力信号を一定の値
でカットすることとすると、却って読取エラーを増大さ
せる結果を招来するおそれがある。
In order to solve this problem, for example, it is possible to input the output of the detection element to the variable gain amplifier circuit l via a limiter circuit, but since the output of the detection element fluctuates greatly in response to changes in the amount of light received, However, if the input signal is cut at a certain value, there is a risk that the reading error will increase.

そこで、本発明は、上述の技術的課題を解決し、光学的
記号読取装置において、検出素子に記号面からの正反射
光が入射した場合でも、その後の記号読取動作を良好に
行わせることができるようにした自動利得制御回路を提
供することを目的とする。
SUMMARY OF THE INVENTION The present invention solves the above-mentioned technical problems, and enables the subsequent symbol reading operation to be performed satisfactorily even when specularly reflected light from the symbol surface is incident on the detection element in an optical symbol reading device. The purpose of the present invention is to provide an automatic gain control circuit that enables automatic gain control.

〈課題を解決するための手段〉 上記の目的を達成するための本発明の自動利得制御回路
は、記号を形成した記号面を照明してその反射光を検出
素子で検出することにより前記記号を読み取る光学的記
号読取装置に用いられ、前記検出素子の出力信号が入力
され、外部からの制御信号に応答して利得が変動する可
変利得増幅回路と、 二の可変利得増幅回路の出力信号のピークレベルを検出
して保持するピークホールド回路とを有し、 この保持したピークホールドレベルに対応した制御信号
を前記可変利得増幅回路に帰還することによって前記可
変利得増幅回路の出力信号の振幅をほぼ一定に保つ自動
利得制御回路において、前記ピークホールド回路におけ
るピークホールドレベルを、所定回数の記号読取動作毎
に発生するリセット信号によりリセットさせるリセット
回路を備えたものである。
<Means for Solving the Problems> To achieve the above object, the automatic gain control circuit of the present invention illuminates a symbol surface on which a symbol is formed and detects the reflected light with a detection element, thereby detecting the symbol. a variable gain amplifier circuit used in an optical symbol reading device, into which the output signal of the detection element is input, and whose gain varies in response to an external control signal; and a peak of the output signal of the second variable gain amplifier circuit. and a peak hold circuit that detects and holds the level, and by feeding back a control signal corresponding to the held peak hold level to the variable gain amplifier circuit, the amplitude of the output signal of the variable gain amplifier circuit is kept almost constant. The automatic gain control circuit is provided with a reset circuit that resets the peak hold level in the peak hold circuit by a reset signal generated every predetermined number of symbol reading operations.

上記所定回数は1回であることが好ましい。It is preferable that the predetermined number of times is one.

〈作用〉 上記の構成によれば、所定回数(たとえば1回)の記号
読取動作毎にピークホールド回路におけるピークホール
ドレベルがリセットされるので、記号面からの正反射光
のために検出素子の出力信号が一時的に増大し、ピーク
ホールド回路からの制御信号により可変利得増幅回路の
利得が極端に小さくなったときでも、上記のリセット動
作によって可変利得増幅回路の利得を速やかに検出素子
の受光光量に対応した値に復帰させることができる。
<Operation> According to the above configuration, the peak hold level in the peak hold circuit is reset every predetermined number of symbol reading operations (for example, once), so the output of the detection element is reduced due to the specularly reflected light from the symbol surface. Even when the signal increases temporarily and the gain of the variable gain amplifier circuit becomes extremely small due to the control signal from the peak hold circuit, the above reset operation quickly adjusts the gain of the variable gain amplifier circuit to the amount of light received by the detection element. It is possible to restore the value to the corresponding value.

〈実施例〉 以下実施例を示す添付図面によって詳細に説明する。<Example> Embodiments will be described in detail below with reference to the accompanying drawings showing embodiments.

第1図は本発明の一実施例の自動利得制御回路(以下r
AGC回路」という)の基本構成を示す電気回路図であ
る。このAGC回路は、レーザ方式やスキャナ方式のバ
ーコード読取装置および光学式文字読取装置(OCR)
などのように、バーコードや文字などの記号を形成した
記号面を照明し、その反射光の検出により記号の読取を
行う光学的記号読取装置において用いられるものである
FIG. 1 shows an automatic gain control circuit (hereinafter r) of an embodiment of the present invention.
1 is an electric circuit diagram showing the basic configuration of an AGC circuit. This AGC circuit is compatible with laser-based or scanner-based barcode readers and optical character readers (OCR).
It is used in an optical symbol reading device that illuminates a symbol surface on which symbols such as barcodes and characters are formed, and reads the symbols by detecting the reflected light.

前記反射光を検出するフォトダイオードやイメージセン
サなどを含む検出素子(図示せず)の出力信号は入力端
子INから可変利得増幅回路10に入力される。そして
この可変利得増幅回路10の出力信号は出力端子OUT
から、図外の二値化回路などに与えられて、当該信号か
「1」または「0」の二値信号に変換される。
An output signal from a detection element (not shown) including a photodiode, an image sensor, etc. that detects the reflected light is input to the variable gain amplifier circuit 10 from an input terminal IN. The output signal of this variable gain amplifier circuit 10 is output from the output terminal OUT.
The signal is then applied to a binarization circuit (not shown) and converted into a binary signal of "1" or "0".

可変利得増幅回路lOの出力信号はまた、ピークホール
ド回路20に与えられ、このピークホールド回路20の
出力信号は、可変利得増幅回路lOの利得を制御する制
御信号としてこの可変利得増幅回路10に入力される。
The output signal of the variable gain amplifier circuit IO is also given to a peak hold circuit 20, and the output signal of this peak hold circuit 20 is inputted to the variable gain amplifier circuit 10 as a control signal for controlling the gain of the variable gain amplifier circuit IO. be done.

ピークホールド回路20には、そのピークホールドレベ
ルをリセットするリセット回路30が接続されている。
A reset circuit 30 is connected to the peak hold circuit 20 to reset the peak hold level.

このリセット回路30には、たとえばレーザビームによ
る記号の走査開始やイメージセンサにおける光学像の電
気的走査の開始に応答して同期信号を発生する同期信号
発生回路40の出力が与えられており、前記同期信号に
応答してピークホールド回路20のピークホールドレベ
ルがリセットされる。
The reset circuit 30 is supplied with the output of a synchronization signal generation circuit 40 that generates a synchronization signal in response to, for example, the start of symbol scanning by a laser beam or the start of electrical scanning of an optical image in an image sensor. The peak hold level of the peak hold circuit 20 is reset in response to the synchronization signal.

可変利得増幅回路10は、演算増幅器11を有しており
、この演算増幅器11.の反転入力端子に上記検出素子
からの信号が抵抗12を介して入力され、またその非反
転入力端子には基準電圧v1が与えられている。また、
その出力は電界効果形トランジスタ13を介して反転入
力端子に帰還されている。ピークホールド回路20から
の制御信号は、トランジスタ13のゲートに入力されて
おり、ゲート電位の変動によりそのソース−ドレイン間
の電気抵抗が変化し、これにより当該可変利得増幅回路
lOの利得が変化する。
The variable gain amplifier circuit 10 has an operational amplifier 11, and the operational amplifier 11. A signal from the detection element is inputted to an inverting input terminal of the detector via a resistor 12, and a reference voltage v1 is applied to its non-inverting input terminal. Also,
The output thereof is fed back to the inverting input terminal via the field effect transistor 13. The control signal from the peak hold circuit 20 is input to the gate of the transistor 13, and as the gate potential changes, the electric resistance between its source and drain changes, thereby changing the gain of the variable gain amplifier circuit IO. .

ピークホールド回路20は、可変利得増幅回路IOから
の電流によってダイオード21を介して速やかに充電さ
れるコンデンサ22と、このコンデンサ22に蓄積され
た電荷を比較的大きな時定数(たとえばレーザ光などの
1走査時間程度)で放電させる抵抗23とを含む時定数
回路を含んで構成されている。コンデンサ22の両端電
圧は演算増幅器24によって正相増幅されて上記のトラ
ンジスタ13のゲートに与えられる。
The peak hold circuit 20 includes a capacitor 22 that is quickly charged via a diode 21 by the current from the variable gain amplifier circuit IO, and a capacitor 22 that is quickly charged by a current from the variable gain amplifier circuit IO, and the charge accumulated in the capacitor 22 is It is configured to include a time constant circuit including a resistor 23 for discharging at a rate approximately equal to the scanning time. The voltage across the capacitor 22 is amplified in positive phase by the operational amplifier 24 and applied to the gate of the transistor 13 described above.

ダイオード2Iと演算増幅器24とを接続し、また上記
コンデンサ22などか接続されているライン25には、
リセット回路30を構成するNPNトランジスタ31の
コレクタが接続されている。
A line 25 that connects the diode 2I and the operational amplifier 24 and is also connected to the capacitor 22, etc.
The collector of an NPN transistor 31 constituting the reset circuit 30 is connected.

このNPN)ランジスタ31は、同期信号発生回路40
からの同期信号に応答して導通し、ライン25を接地さ
せて、コンデンサ22を速やかに放電させる。
This NPN) transistor 31 is connected to the synchronizing signal generating circuit 40.
conducts in response to a synchronization signal from the line 25, grounding the line 25 and quickly discharging the capacitor 22.

同期信号発生回路40は、たとえばレーザ方式のバーコ
ードリーダなどにおいて、当該レーザ光による記号面の
走査の開始タイミングを検出する検出器41を有してい
る。この検出器41は、たとえばいわゆるハンドベルト
タイプのバーコードリーダにおいては、レーザ光が出射
する窓の一端部近傍の筐体内に設けた光検出器などによ
って実現することができる。
The synchronization signal generation circuit 40 has a detector 41 that detects the start timing of scanning a symbol plane by the laser beam, for example in a laser barcode reader. This detector 41 can be realized, for example, in a so-called hand belt type barcode reader, by a photodetector provided in a housing near one end of a window from which laser light is emitted.

この検出器41の出力信号は、増幅器42で増幅されて
コンパレータ43に入力される。このコンパレータ43
は基準電圧V2と増幅器42の出力信号との比較により
、走査開始タイミングに対応して検出パルスを導出する
。この検出パルスが同期信号として上記リセット回路3
0のトランジスタ31に抵抗32を介して入力される。
The output signal of this detector 41 is amplified by an amplifier 42 and input to a comparator 43. This comparator 43
By comparing the reference voltage V2 and the output signal of the amplifier 42, a detection pulse is derived in accordance with the scan start timing. This detection pulse is used as a synchronization signal in the reset circuit 3.
The signal is input to the zero transistor 31 via the resistor 32.

第2図は第1図の各部に導出される信号を示す波形図で
あり、第2図(alは入力端子INから入力される検出
素子の出力信号を示し、第2図(b)は同期信号発生回
路40が出力する同期信号を示し、第2図(C)はピー
クホールド回路20から可変利得増幅回路10のトラン
ジスタ13に与えられる制御信号を示し、第2図(山は
可変利得増幅回路lOから出力端子OUTに導出される
出力信号を示している。
FIG. 2 is a waveform diagram showing the signals derived from each part of FIG. 1, and FIG. 2 (C) shows a control signal given from the peak hold circuit 20 to the transistor 13 of the variable gain amplifier circuit 10, and FIG. It shows an output signal derived from lO to the output terminal OUT.

期間Tllにおいては、入力信号の変動に追随してピー
クホールド回路20の出力信号が変動する結果、可変利
得増幅回路10の利得は、制御信号が高いときには低く
、また低いときには高くなる。これにより、出力端子O
UTに導出される出力信号はほぼ一定の振幅を有して振
動する信号となる。したがって、出力端子OUTに接続
された二値化回路では、たとえば一定のスライスレベル
で当該信号をレベル弁別することによって、この信号の
二値化を良好に行うことができる。
During the period Tll, the output signal of the peak hold circuit 20 fluctuates following the fluctuation of the input signal, so that the gain of the variable gain amplifier circuit 10 becomes low when the control signal is high, and high when the control signal is low. This allows the output terminal O
The output signal delivered to the UT is a signal that oscillates with a substantially constant amplitude. Therefore, the binarization circuit connected to the output terminal OUT can binarize the signal in a good manner by, for example, level-discriminating the signal at a constant slice level.

一方、時刻tllからの期間に、たとえばレーザ光の記
号面への入射方向と、検出素子で受光される反射光の反
射方向とがほぼ正反対の方向となると、記号面からの正
反射光が検出素子で受光されることにより、入力信号は
第2図(alにおいて参照符号/11で示すようなピー
クを示す。これによりピークホールド回路20ではコン
デンサ22が直ちに充電され、トランジスタ13に与え
られる制御信号は第2図(b)において参照符号/12
で示すように速やかに立ち上がる。この結果、可変利得
増幅回路lOの利得は極端に小さくなり、出力信号は第
2図(山において参照符号f13で示すようないわば潰
れた状態となる。
On the other hand, during the period from time tll, for example, if the direction of incidence of the laser beam on the symbol surface and the direction of reflection of the reflected light received by the detection element are almost exactly opposite, the specularly reflected light from the symbol surface will be detected. By being received by the element, the input signal exhibits a peak as shown by the reference symbol /11 in FIG. is the reference number /12 in FIG. 2(b).
Stand up quickly as shown. As a result, the gain of the variable gain amplifier circuit 10 becomes extremely small, and the output signal becomes a so-called collapsed state as shown by reference numeral f13 at the peak in FIG.

コンデンサ22に蓄積された電荷は抵抗23を介して比
較的大きな時定数で放電されるのて、ピークホールド回
路20の出力信号は、入力信号が立ち下がった後にも直
ちには低(ならず、参照符号I!14で示すように高い
状態に維持される。
Since the charge accumulated in the capacitor 22 is discharged via the resistor 23 with a relatively large time constant, the output signal of the peak hold circuit 20 does not immediately fall to a low level (see reference) even after the input signal falls. It is maintained at a high state as indicated by the symbol I!14.

このままの状態であれば、可変利得増幅回路IOの利得
が小さい状態か長時間にわたって続くので、しばらくの
間は記号の読取か行えないのであるが、本実施例では、
第2図の時刻t12において同期信号発生回路40か出
力する検出パルスplによってリセット回路30がピー
クホールド回路20のピークホールドレベルを参照符号
I!15で示すようにリセットするので、これ以後の期
間には、ピークホールド回路20からの制御信号は再び
検出素子の出力信号の変化に追随して変化するものとな
る。この結果、検出パルスplがリセット回路30に与
えられた後には、記号の読取を正確に行える状態に復帰
する。
If this state remains as it is, the gain of the variable gain amplifier circuit IO will be in a small state or continue for a long time, so it will be impossible to read symbols for a while, but in this embodiment,
At time t12 in FIG. 2, the reset circuit 30 sets the peak hold level of the peak hold circuit 20 with reference symbol I! by the detection pulse pl output from the synchronization signal generation circuit 40. Since the control signal is reset as shown at 15, in the subsequent period, the control signal from the peak hold circuit 20 changes again following the change in the output signal of the detection element. As a result, after the detection pulse pl is applied to the reset circuit 30, the state returns to a state where symbols can be read accurately.

同期信号発生回路40は検出パルスをレーザ光の走査の
度毎に出力するので、−回の走査期間内で検出素子が記
号面からの正反射光を受光しても、次の走査が行われる
期間には、記号の読取を正確行うことができるように可
変利得増幅回路IOの利得が制御されることになる。
Since the synchronization signal generation circuit 40 outputs a detection pulse every time the laser beam is scanned, even if the detection element receives specularly reflected light from the symbol surface within the - scan period, the next scan will be performed. During this period, the gain of the variable gain amplifier circuit IO will be controlled so that the symbol can be read accurately.

なお、本発明は上述の実施例に限定されるものではない
。たとえば上記の実施例では、同期信号発生回路40か
レーザ光による走査開始のタイミングで同期信号を発生
するようにしているが、イメージセンサを用いて光学像
を電気的に走査する構成においては当該電気的走査の開
始時に同期信号か発生されるようにしてもよい。また、
同期信号は走査の終了に応答して発生されてもよい。ま
た、上記の実施例では、走査の度毎にピークホールドレ
ベルのリセットが行われるようにしたが、たとえば2回
以上の走査に対してピークホールドレベルのリセットを
1回ずつ行うようにしてもよい。その他本発明の要旨を
変更しない範囲内において、種々の設計変更を施すこと
が可能である。
Note that the present invention is not limited to the above-described embodiments. For example, in the above embodiment, the synchronization signal generation circuit 40 generates the synchronization signal at the timing of the start of scanning by laser light, but in a configuration in which an optical image is electrically scanned using an image sensor, the A synchronization signal may be generated at the start of target scanning. Also,
A synchronization signal may be generated in response to the end of a scan. Further, in the above embodiment, the peak hold level is reset every time a scan is performed, but the peak hold level may be reset once for each scan, for example. . Various other design changes can be made without changing the gist of the present invention.

〈発明の効果〉 以上のように本発明の自動利得制御回路によれば、検出
素子に記号面からの正反射光が入射した結果、可変利得
増幅回路の利得が極端に小さくなった場合であっても、
ピークホールド回路のピークホールドレベルのリセット
により、この状態を速やかに解除して記号の読取が良好
に行える状態に復帰させることができる。
<Effects of the Invention> As described above, according to the automatic gain control circuit of the present invention, when the gain of the variable gain amplifier circuit becomes extremely small as a result of the specularly reflected light from the symbol plane being incident on the detection element, Even though
By resetting the peak hold level of the peak hold circuit, this state can be quickly released and the symbol can be read properly.

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

第1図は本発明の一実施例の自動利得制御回路の基本構
成を示す電気回路図、 第2図は第1図の各部に導出される信号を示す波形図、 第3図は従来技術の構成を示すブロック図、第4図は第
3図の各部に導出される信号を示す波形図である。 10・・・可変利得増幅回路、20・・・ピークホール
ド回路、30・・・リセット回路、40・・・同期信号
発生回路 第1図 2、
FIG. 1 is an electric circuit diagram showing the basic configuration of an automatic gain control circuit according to an embodiment of the present invention, FIG. 2 is a waveform diagram showing signals derived from each part of FIG. 1, and FIG. A block diagram showing the configuration, and FIG. 4 are waveform diagrams showing signals derived to each part of FIG. 3. DESCRIPTION OF SYMBOLS 10... Variable gain amplifier circuit, 20... Peak hold circuit, 30... Reset circuit, 40... Synchronization signal generation circuit Fig. 1 2,

Claims (1)

【特許請求の範囲】 1、記号を形成した記号面を照明してその反射光を検出
素子で検出することにより前記記号を読み取る光学的記
号読取装置に用いられ、前記検出素子の出力信号が入力
され、外部からの制御信号に応答して利得が変動する可
変利得増幅回路と、 この可変利得増幅回路の出力信号のピークレベルを検出
して保持するピークホールド回路とを有し、 この保持したピークホールドレベルに対応した制御信号
を前記可変利得増幅回路に帰還することによって前記可
変利得増幅回路の出力信号の振幅をほぼ一定に保つ自動
利得制御回路において、 前記ピークホールド回路におけるピークホールドレベル
を、所定回数の記号読取動作毎に発生するリセット信号
によりリセットさせるリセット回路を備えたことを特徴
とする自動利得制御回路。
[Claims] 1. Used in an optical symbol reading device that reads the symbol by illuminating a symbol surface on which a symbol is formed and detecting the reflected light with a detection element, the output signal of the detection element being input. a variable gain amplifier circuit whose gain fluctuates in response to an external control signal, and a peak hold circuit which detects and holds the peak level of the output signal of this variable gain amplifier circuit. In an automatic gain control circuit that keeps the amplitude of the output signal of the variable gain amplifier circuit substantially constant by feeding back a control signal corresponding to the hold level to the variable gain amplifier circuit, the peak hold level in the peak hold circuit is set to a predetermined value. An automatic gain control circuit characterized by comprising a reset circuit that is reset by a reset signal generated every number of symbol reading operations.
JP2163578A 1990-06-21 1990-06-21 Automatic gain control circuit Pending JPH0454579A (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
JP2163578A JPH0454579A (en) 1990-06-21 1990-06-21 Automatic gain control circuit
CA002044951A CA2044951C (en) 1990-06-21 1991-06-19 Automatic gain control circuit
US07/719,173 US5248871A (en) 1990-06-21 1991-06-21 Automatic gain control circuit
EP91110288A EP0463586B1 (en) 1990-06-21 1991-06-21 Automatic gain control circuit
DE69120147T DE69120147T2 (en) 1990-06-21 1991-06-21 Circuit for automatic gain control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2163578A JPH0454579A (en) 1990-06-21 1990-06-21 Automatic gain control circuit

Publications (1)

Publication Number Publication Date
JPH0454579A true JPH0454579A (en) 1992-02-21

Family

ID=15776574

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2163578A Pending JPH0454579A (en) 1990-06-21 1990-06-21 Automatic gain control circuit

Country Status (1)

Country Link
JP (1) JPH0454579A (en)

Similar Documents

Publication Publication Date Title
US4874933A (en) Ambient illumination bar code reader
US4528444A (en) Optical reading apparatus with automatic gain control circuit
US5410139A (en) Peak detecting bar code reader
EP0036950A1 (en) Dynamic threshold detector
US6499662B1 (en) Fast edge detection system tolerant of high degree of intersymbol interference
JP2571683B2 (en) Signal amplification circuit of code reader
US3944977A (en) Adaptive and programmed threshold level detection arrangement
US5248871A (en) Automatic gain control circuit
JPH0564395B2 (en)
US4870262A (en) Signal processing apparatus and binary encoder circuit for the same
US3461300A (en) Automatic gain control circuit for optical sensor
JPH0454579A (en) Automatic gain control circuit
US5864129A (en) Bar code digitizer including a voltage comparator
US4447774A (en) Video signal detector
US5321526A (en) White level detection circuit for an optical image reader
EP0497323B1 (en) Scan velocity detector and code reader using the same
US4078227A (en) Threshold detector for optical character recognition system
JPH03233692A (en) Bar code reader
JPH0454580A (en) Automatic gain control circuit
JPS5846474A (en) Bar code reader
US6450405B1 (en) Optical code reader using binarization circuit and binarization circuit
JP3155597B2 (en) Object detection device
JP2991471B2 (en) Light beam detector
JP2745945B2 (en) Barcode detection device
JP2735667B2 (en) Detection control circuit