JP2745945B2 - Barcode detection device - Google Patents

Barcode detection device

Info

Publication number
JP2745945B2
JP2745945B2 JP4076487A JP7648792A JP2745945B2 JP 2745945 B2 JP2745945 B2 JP 2745945B2 JP 4076487 A JP4076487 A JP 4076487A JP 7648792 A JP7648792 A JP 7648792A JP 2745945 B2 JP2745945 B2 JP 2745945B2
Authority
JP
Japan
Prior art keywords
value
circuit
envelope
signal
analog
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 - Fee Related
Application number
JP4076487A
Other languages
Japanese (ja)
Other versions
JPH05282477A (en
Inventor
章雄 中筋
圭一 小林
まりえ 田代
政宏 檀
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.)
Panasonic Corp
Panasonic Holdings Corp
Original Assignee
Panasonic Corp
Matsushita Electric Industrial 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 Panasonic Corp, Matsushita Electric Industrial Co Ltd filed Critical Panasonic Corp
Priority to JP4076487A priority Critical patent/JP2745945B2/en
Publication of JPH05282477A publication Critical patent/JPH05282477A/en
Application granted granted Critical
Publication of JP2745945B2 publication Critical patent/JP2745945B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、POS、物流管理、生
産管理などで利用されているバ−コ−ド検出装置に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a bar code detecting device used in POS, distribution management, production management and the like.

【0002】[0002]

【従来の技術】黒と白で表されたバ−コ−ド情報を光セ
ンサ−で読み取る場合に、光スポットがバーコード上を
走査してバーコードを電気信号に変換したアナログ信号
には、バ−コ−ド表面の光学的不均一性や染みや付着物
の影響を受け、バーコード情報以外の電気信号が混入す
ることがあり、バ−コ−ド情報のみを識別するための種
々の試みがなされている。一般には、アナログ信号を増
幅し、適正な前処理を施したのちに2値化回路により2
値化が行われる。それらの2値化回路には、適用分野に
応じた前処理部分を含めると多くの種類がある。したが
って、それらの2値化回路の長所と短所と使用条件を考
慮して、前処理回路と2値化回路を選択し信頼性を確保
することが行われている。
2. Description of the Related Art When reading bar code information expressed in black and white by an optical sensor, an analog signal obtained by scanning a bar code with a light spot and converting the bar code into an electric signal includes: Electric signals other than the bar code information may be mixed due to the influence of optical non-uniformity, stains and deposits on the bar code surface, and various types of information for identifying only the bar code information may be mixed. Attempts have been made. Generally, an analog signal is amplified, subjected to appropriate preprocessing, and then binarized by a binarization circuit.
Value conversion is performed. There are many types of such binarization circuits including a pre-processing portion according to the application field. Therefore, the pre-processing circuit and the binarization circuit are selected in consideration of the advantages and disadvantages and the use conditions of the binarization circuit to ensure reliability.

【0003】従来の2値化回路の代表例としては、図3
に示す浮動2値化回路と、図5に示すエンベロ−プ2値
化回路とがある。
A typical example of a conventional binarizing circuit is shown in FIG.
And an envelope binarization circuit shown in FIG.

【0004】図3に示す浮動2値化回路の場合、図3に
おける2個の特性の等しいダイオ−ドD1とD2を使用
すると、コンデンサC1の端子電圧はアナログ信号Aの
山からダイオ−ドの電圧降下分(約0.6V程度)だけ
低い電圧か、またはアナログ信号Aの谷からダイオ−ド
の電圧降下分だけ高い電圧となるので、この電圧値をし
きい値Gとしてアナログ入力信号Aを2値化して出力C
を得ている。その結果、図3に示す浮動2値化回路が適
正な振幅の入力で動作しているときには、浮動2値化回
路の各部には図4(a)に示す電圧波形が現れる。図4
(a)において、最上段の3はバーコードを示し、3a
はバーコードの白地部分に付着した汚れを示している。
Aはアナログ入力信号、Gはしきい値、Cは浮動2値化
回路の出力を示しており、アナログ入力信号Aに対して
正しい2値化出力Cが得られている。
In the case of the floating binarizing circuit shown in FIG. 3, when two diodes D1 and D2 having the same characteristics in FIG. 3 are used, the terminal voltage of the capacitor C1 is changed from the peak of the analog signal A to the diode. Since the voltage is lower by the voltage drop (about 0.6 V) or higher than the valley of the analog signal A by the voltage drop of the diode, this voltage value is set as the threshold value G and the analog input signal A Binarized and output C
Have gained. As a result, when the floating binarization circuit shown in FIG. 3 operates with an input having an appropriate amplitude, the voltage waveform shown in FIG. 4A appears in each part of the floating binarization circuit. FIG.
In (a), 3 at the top indicates a bar code.
Indicates dirt attached to the white background of the barcode.
A indicates an analog input signal, G indicates a threshold value, and C indicates an output of the floating binarization circuit. A correct binarized output C for the analog input signal A is obtained.

【0005】一方、図5に示すエンベロープ2値化回路
の場合、図5におけるコンデンサC2がアナログ入力信
号Aの黒レベル(バーコードの黒の部分に対応する入力
レベル)に相当する正のピ−ク値の電圧を保持して、正
のエンベロ−プ信号Hを形成し、同じくコンデンサC3
がアナログ信号Aの白レベル(バーコードの白の部分に
対応する入力レベル)に相当する負のボトム値の電圧を
保持して負のエンベロ−プ信号Iを形成するので、この
正と負のエンベロ−プ信号を合成した中間値をしきい値
Jとしていた。エンベロ−プ2値化回路においては、こ
のしきい値Jを基準にアナログ入力信号Aの山の高さお
よび谷の深さを電気的に測定し、2値化信号Dを出力す
る。すなわち、図5に示すエンベロ−プ2値化回路の動
作時には、エンベロ−プ2値化回路の各部には、図6に
示すような電圧波形が現れる。
On the other hand, in the case of the envelope binarization circuit shown in FIG. 5, the capacitor C2 in FIG. 5 is connected to the positive peak corresponding to the black level of the analog input signal A (input level corresponding to the black portion of the bar code). And the positive envelope signal H is formed, and the capacitor C3
Holds the voltage of the negative bottom value corresponding to the white level of the analog signal A (the input level corresponding to the white portion of the bar code) to form the negative envelope signal I. The intermediate value obtained by synthesizing the envelope signals was set as the threshold value J. The envelope binarization circuit electrically measures the peak height and the valley depth of the analog input signal A based on the threshold value J, and outputs a binary signal D. That is, when the envelope binarization circuit shown in FIG. 5 operates, a voltage waveform as shown in FIG. 6 appears in each section of the envelope binarization circuit.

【0006】図6において、最上段の3はバーコードで
あり、3aはバーコード3の白地部分に付着した汚れで
ある。Aはアナログ入力信号であり、Hはそのアナログ
信号Aに対応した正のエンベロープ信号、Iはアナログ
信号Aに対応した負のエンベロープ信号、Jは正と負の
エンベロ−プ信号を合成した中間値であるしきい値、D
はエンベロープ2値化回路の出力を示している。
In FIG. 6, the uppermost numeral 3 is a bar code, and the numeral 3a is dirt attached to a white background portion of the bar code 3. A is an analog input signal, H is a positive envelope signal corresponding to the analog signal A, I is a negative envelope signal corresponding to the analog signal A, and J is an intermediate value obtained by combining the positive and negative envelope signals. The threshold, D
Indicates the output of the envelope binarization circuit.

【0007】[0007]

【発明が解決しようとする課題】しかし、上記浮動2値
化回路においては、使用環境条件の影響などにより、図
4(b)に示すようにナログ入力信号Aの振幅が過大と
なった場合、例えば図4(b)に示すように鏡面反射に
よるノイズAaがあるアナログ信号Aを2値化すると
き、バ−コ−ドの白レベルと黒レベルの差が大きく、し
きい値の振幅も増大し、鏡面反射によるノイズAaの影
響によりアナログ入力信号Aとしきい値の交差位置が変
動し、バ−コ−ドのバー幅の読み間違いを起こすことが
ある。すなわち、図4(b)においては、2値化出力C
の3番目のパルスC3の幅に異常が生じている。またバ
−コ−ドの白地部分の汚れ3aや染みなどによるアナロ
グ信号Aの波形の変動が増大し、しきい値と交差して、
図4(b)における2値化出力Cの3番目のパルスC3
と4番目のパルスC4との間に生じたパルスのように、
バ−コ−ドの白地部分の汚れ3aや染みなどもバ−コ−
ドとして読み取るなどの、誤った読み取りが起こるとい
う問題があった。
However, in the above-mentioned floating binarization circuit, when the amplitude of the analog input signal A becomes excessive as shown in FIG. For example, when binarizing an analog signal A having noise Aa due to specular reflection as shown in FIG. 4B, the difference between the white level and the black level of the bar code is large and the amplitude of the threshold value also increases. However, the intersection of the analog input signal A and the threshold value fluctuates due to the influence of noise Aa due to specular reflection, which may cause a bar code bar width to be erroneously read. That is, in FIG. 4B, the binary output C
Is abnormal in the width of the third pulse C3. In addition, the variation of the waveform of the analog signal A due to dirt 3a or stain on a white background portion of the bar code increases, crosses the threshold value, and
The third pulse C3 of the binarized output C in FIG.
And the pulse generated between the fourth pulse C4 and
Dirt 3a and stains on the white background of the bar code are also bar code.
There is a problem that erroneous reading, such as reading as a code, occurs.

【0008】また、エンベロ−プ2値化回路の場合は、
バ−コ−ドを読み取る前の状態、すなわちスタ−トマ−
ジンの範囲においては、正のエンベロープHと負のエン
ベロープIとの差が小さく、しきい値とアナログ信号A
が接近しているため、図6に示すように最初のバ−コ−
ドの検出前に、ノイズAaがしきい値Jと交差し、ノイ
ズAaをバーコードとして誤読する危険性があった。ま
た、図6において、最初のバーに続く白地部分に対応す
るアナログ信号Aの山Acのように、ピークがしきい値
Gに達せず、本来2つのパルスであるべきパルスD1と
D2が、1つのパルスとして出力されているように、最
初のバーを誤って読み取るという問題があった。
In the case of an envelope binarization circuit,
The state before reading the bar code, that is, the starter
In the range of the gin, the difference between the positive envelope H and the negative envelope I is small, and the threshold value and the analog signal A
Are close to each other, and as shown in FIG.
Before the detection of the code, there is a risk that the noise Aa crosses the threshold value J and the noise Aa is erroneously read as a barcode. Also, in FIG. 6, as in the peak Ac of the analog signal A corresponding to the white background following the first bar, the peaks do not reach the threshold G, and the pulses D1 and D2, which should be originally two pulses, are 1 There was a problem that the first bar was erroneously read as it was output as one pulse.

【0009】本発明は、これら従来の技術が持つ種々の
問題を解決して、バーコード読み取りの初期段階におい
ても誤った読み取りがなく、またアナログ信号の振幅に
左右されることのない、ノイズに強く、読み取りの信頼
性の高いバ−コ−ド検出装置を提供することを目的とす
る。
The present invention solves these various problems of the prior art, and eliminates erroneous reading even in the initial stage of bar code reading and reduces noise that is not affected by the amplitude of an analog signal. It is an object of the present invention to provide a bar code detector which is strong and has high read reliability.

【0010】[0010]

【課題を解決するための手段】上記目的を達成するため
に本発明のバ−コ−ド検出装置は、2値化回路として種
類の異なる複数の2値化回路、例えば浮動2値化回路と
エンベロ−プ2値化回路を並行して使用し、アナログ入
力信号の振幅を検出する振幅検出回路を設け、その振幅
検出回路の出力値が一定電圧未満のときは浮動2値化回
路の出力値を選択し、振幅検出回路の出力値が一定電圧
以上のときはエンベロ−プ2値化回路の出力値を選択す
る選択回路をバ−コ−ド検出装置に装備したものであ
る。
In order to achieve the above object, a bar code detecting apparatus according to the present invention comprises a plurality of different types of binarizing circuits, for example, a floating binarizing circuit. An envelope detecting circuit for detecting the amplitude of an analog input signal is provided by using an envelope binarizing circuit in parallel. When the output value of the amplitude detecting circuit is less than a predetermined voltage, the output value of the floating binarizing circuit is provided. And a selection circuit for selecting the output value of the envelope binarization circuit when the output value of the amplitude detection circuit is equal to or higher than a predetermined voltage is provided in the bar code detection device.

【0011】[0011]

【作用】上記構成のように2種類の2値化回路、すなわ
ち浮動2値化回路およびエンベロ−プ2値化回路に振幅
検出回路と選択回路を付加する構成により、アナログ信
号の振幅が小さい初期の段階では、浮動2値化回路を使
用することにより、アナログ信号の波形の山に対しては
ピーク値より一定値低い電圧値をしきい値としアナログ
入力信号の波形の谷に対してはピーク値より一定値高い
電圧値をしきい値としているので、アナログ入力信号の
山と谷の間では必ずしきい値と交差することになり最初
のバーを誤って読み取るという問題を除くことができ
る。また、スタートマージンの範囲においても、アナロ
グ信号に対してしきい値は一定値低い電圧値となってい
るので、混入するノイズによるアナログ信号の歪部分が
しきい値と交差することがなく、ノイズをバーコードと
誤って読み取ることはない。
According to the above configuration, an amplitude detection circuit and a selection circuit are added to two types of binarization circuits, that is, a floating binarization circuit and an envelope binarization circuit. In the step, the threshold value is set to a voltage value that is lower than the peak value by a certain value for the peak of the waveform of the analog signal, and the peak is applied to the valley of the waveform of the analog input signal. Since the threshold value is a voltage value that is higher by a certain value than the value, the problem that the first bar is erroneously read between the peaks and valleys of the analog input signal and the first bar is erroneously read can be eliminated. Also, in the range of the start margin, the threshold value is a voltage value lower than the analog signal by a fixed value, so that the distortion portion of the analog signal due to the mixed noise does not cross the threshold value, and Is not erroneously read as a barcode.

【0012】次に、アナログ信号の振幅が基準電圧に達
したあとは、エンベロ−プ2値化回路を使用することに
より、エンベロ−プ2値化回路がアナログ入力信号の正
のエンベロープと負のエンベロープとの中間値をしきい
値としているので、鏡面反射によるノイズとバ−コ−ド
の白地部分の汚れや染みなどによるノイズが原因となる
アナログ信号の歪部分がしきい値と交差することがない
ため、2値化出力のパルスの幅に異常が生じることがな
く、さらにバ−コ−ドの白地部分の汚れや染みなどによ
る誤った読み取りが起こることを防止することができ
る。
Next, after the amplitude of the analog signal reaches the reference voltage, the envelope binarization circuit uses the envelope binarization circuit to make the analog input signal have a positive envelope and a negative envelope. Because the threshold value is an intermediate value between the envelope and the threshold value, the noise caused by specular reflection and the distortion part of the analog signal caused by noise such as dirt or stains on the white background of the bar code cross the threshold value. Since there is no error, no error occurs in the pulse width of the binarized output, and it is possible to prevent erroneous reading due to dirt or stain on the white background of the bar code.

【0013】[0013]

【実施例】本発明のバーコード検出装置の実施例を図を
参照しながら説明する。図1は複数の2値化回路を用い
た本発明のバーコード検出装置の一実施例を示すブロッ
ク図であり、図2は上記実施例の動作状態を説明する各
部の信号波形と、本発明のバーコード検出装置を構成す
る浮動2値化回路およびエンベロープ2値化回路の個々
の出力波形と、本発明のバーコード検出装置の出力波形
を示す特性図である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of a bar code detecting device according to the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of a barcode detecting apparatus of the present invention using a plurality of binarizing circuits. FIG. 2 is a diagram showing signal waveforms of respective parts for explaining the operation state of the above-mentioned embodiment. FIG. 4 is a characteristic diagram showing individual output waveforms of a floating binarization circuit and an envelope binarization circuit constituting the barcode detection device of FIG. 1 and an output waveform of the barcode detection device of the present invention.

【0014】図1において、半導体レ−ザー(発光波長
670nm)とレンズ系からなるレーザーダイオードユ
ニット1から出射されたレ−ザ−ビ−ム1aが、600
0rpmで回転するポリゴン・ミラ−2により反射され
てバ−コ−ド3上を走査する。バ−コ−ド3からの反射
光はPINフォトダイオ−ドによって構成されるセンサ
−4によってアナログ信号として検出される。検出され
たアナログ信号は、いったん増幅回路5によって増幅さ
れ、DC成分を除去されたアナログ入力信号Aとなる。
振幅検出回路6はアナログ入力信号Aの振幅を検出して
振幅信号Bを出力する。浮動2値化回路7はアナログ入
力信号Aを2値化して浮動2値化信号Cとし、エンベロ
−プ2値化回路8はアナログ入力信号Aを2値化してエ
ンベロ−プ2値化信号Dを出力する。このとき、浮動2
値化回路7の動作しきい値は、アナログ入力信号の山に
対してはピ−ク値より図3に示すダイオードD1の電圧
降下分の約0.6V低い電圧値となり、アナログ入力信
号Aの谷に対してはボトム値より図3に示すダイオード
D2の電圧降下分の約0.6V高い電圧値となる。エン
ベロ−プ2値化回路8の動作しきい値はアナログ入力信
号Aの正のエンベロ−プと負のエンベロ−プの中間値を
用いる。選択回路9は振幅信号Bをあらかじめ設定した
基準電圧Fと比較し、振幅信号Bが基準電圧より低い場
合は浮動2値化回路7の2値化信号Cを2値化信号Eと
して出力し、振幅信号Bが基準電圧より高い場合はエン
ベロ−プ2値化回路8の2値化信号Dを2値化信号Eと
して出力するように選択を行う。最後にデコ−ド回路1
0によって、それぞれ選択された2値化信号Eはバ−コ
−ド信号としてホストコンピュ−タに送信する。
In FIG. 1, a laser beam 1a emitted from a laser diode unit 1 comprising a semiconductor laser (emission wavelength: 670 nm) and a lens system is 600
The light reflected by the polygon mirror 2 rotating at 0 rpm scans the bar code 3. The reflected light from the bar code 3 is detected as an analog signal by a sensor 4 composed of a PIN photodiode. The detected analog signal is once amplified by the amplifier circuit 5 and becomes the analog input signal A from which the DC component has been removed.
The amplitude detection circuit 6 detects the amplitude of the analog input signal A and outputs an amplitude signal B. The floating binarization circuit 7 binarizes the analog input signal A to form a floating binarization signal C, and the envelope binarization circuit 8 binarizes the analog input signal A to form an envelope binarization signal D. Is output. At this time, floating 2
The operating threshold value of the value conversion circuit 7 is a voltage value which is about 0.6 V lower than the peak value by the voltage drop of the diode D1 shown in FIG. The valley has a voltage value that is about 0.6 V higher than the bottom value by the voltage drop of the diode D2 shown in FIG. As an operation threshold value of the envelope binarization circuit 8, an intermediate value between a positive envelope and a negative envelope of the analog input signal A is used. The selection circuit 9 compares the amplitude signal B with a preset reference voltage F, and outputs the binary signal C of the floating binarization circuit 7 as a binary signal E when the amplitude signal B is lower than the reference voltage. When the amplitude signal B is higher than the reference voltage, selection is made so that the binarized signal D of the envelope binarizing circuit 8 is output as the binarized signal E. Finally, the decoding circuit 1
By means of 0, the selected binarized signal E is transmitted to the host computer as a bar code signal.

【0015】次に本発明のバ−コ−ド検出装置の動作を
図2を用い2値化回路の各部の信号波形によって説明す
る。図2において、最上段の3はバーコードを示してお
り、3aはバーコードの白地部分にある汚れを示してい
る。Aはアナログ入力信号であり、鏡面反射によるノイ
ズAaとバーコードの白地部分の汚れによるノイズAb
を含んでいる。Bはアナログ信号の振幅を示す振幅信号
であり、スタ−トマ−ジンを含む走査開始時には小さ
く、走査によってバ−の黒レベルを検出し始めると徐々
に出力が大きくなり、次第にある一定の値に安定する。
この振幅信号Bがあらかじめ設定された基準電圧Fに達
すると、浮動2値化回路7からエンベロープ2値化回路
8への切り換えが行われる。この切り換えにより、浮動
2値化回路7の出力Cからエンベロープ2値化回路8の
出力Dへの切り換えが行われ、選択回路9からの出力E
が得られる。2値化回路を選択する基準電圧Fを上記の
安定した値より小さい電圧値に設定することにより、ス
タ−トマ−ジンを考慮して走査開始時の最初のバ−の検
出においては浮動2値化回路7の出力Cを選択し、引き
続いて検出される他のアナログ信号Aに対してはエンベ
ロ−プ2値化回路8の出力Dを選択する。
Next, the operation of the bar code detector of the present invention will be described with reference to FIG. In FIG. 2, 3 at the top indicates a barcode, and 3a indicates dirt on a white background portion of the barcode. A is an analog input signal, and is a noise Aa due to specular reflection and a noise Ab due to dirt on a white background portion of a barcode.
Contains. B is an amplitude signal indicating the amplitude of the analog signal, which is small at the start of scanning including the start margin, gradually increases when the black level of the bar starts to be detected by scanning, and gradually becomes a certain value. Stabilize.
When the amplitude signal B reaches a preset reference voltage F, switching from the floating binarization circuit 7 to the envelope binarization circuit 8 is performed. By this switching, switching from the output C of the floating binarization circuit 7 to the output D of the envelope binarization circuit 8 is performed, and the output E from the selection circuit 9 is performed.
Is obtained. By setting the reference voltage F for selecting the binarization circuit to a voltage value smaller than the above stable value, a floating binary value is detected in the first bar detection at the start of scanning in consideration of the start margin. The output C of the conversion circuit 7 is selected, and the output D of the envelope binarization circuit 8 is selected for another analog signal A subsequently detected.

【0016】以上のように、本発明のバーコード検出装
置によれば、2種類の2値化回路を備え、アナログ入力
信号Aの振幅値に応じて2種類の2値化回路を切り換え
て用いるので、スタ−トマ−ジンを含む走査開始時にお
ける誤った読み取りがなく、またアナログ信号Aの振幅
値と関係なく2値化信号の検出精度を上げることがで
き、鏡面反射やノイズなどの外乱に強い2値化回路を構
成することができる。
As described above, according to the bar code detection device of the present invention, two types of binarization circuits are provided, and two types of binarization circuits are switched and used according to the amplitude value of the analog input signal A. Therefore, there is no erroneous reading at the start of scanning including the start margin, and the detection accuracy of the binarized signal can be increased regardless of the amplitude value of the analog signal A, and disturbance such as specular reflection or noise can be prevented. A strong binarization circuit can be configured.

【0017】[0017]

【発明の効果】以上の実施例から明らかなように本発明
のバーコード検出装置によれば、異なる2種類の2値化
回路と、アナログ信号の振幅検出回路とを備え、バーコ
ード読み取りの初期段階では、読み取りの初期段階で読
み取りの信頼性の高い浮動2値化回路を選択してアナロ
グ信号の2値化を行い、初期段階を過ぎてアナログ信号
振幅が大きくなる範囲では、アナログ信号の振幅の影響
とノイズの影響を受けないエンベロープ2値化回路によ
りアナログ信号の2値化を行うため、バーコードの検出
の開始から終了に至る全ての範囲において、バーコード
の誤った読み取りがなく、またノイズの影響を受けるこ
とがなく、高い信頼性が得られる。
As is clear from the above embodiments, the bar code detecting apparatus of the present invention includes two different types of binarizing circuits and an analog signal amplitude detecting circuit, and performs an initial bar code reading operation. In the stage, the analog signal is binarized by selecting a floating binarization circuit having high reliability in the initial stage of reading, and the amplitude of the analog signal is increased in a range where the amplitude of the analog signal increases after the initial stage. Since the analog signal is binarized by the envelope binarization circuit which is not affected by the influence of noise and noise, there is no erroneous reading of the bar code in the entire range from the start to the end of bar code detection. High reliability is obtained without being affected by noise.

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

【図1】本発明のバ−コ−ド検出装置の一実施例の構成
を示すブロック図
FIG. 1 is a block diagram showing the configuration of an embodiment of a bar code detecting device according to the present invention.

【図2】同装置における各部の波形図FIG. 2 is a waveform diagram of each part in the apparatus.

【図3】浮動2値化回路の回路構成図FIG. 3 is a circuit configuration diagram of a floating binarization circuit;

【図4】(a)はアナログ入力信号の振幅が適正な場合
の浮動2値化回路の各部の波形図 (b)はアナログ入力信号の振幅が過大の場合の浮動2
値化回路の各部の波形図
4A is a waveform diagram of each part of the floating binarization circuit when the amplitude of the analog input signal is proper; FIG. 4B is a diagram showing the floating waveform when the amplitude of the analog input signal is excessive;
Waveform diagram of each part of the digitizing circuit

【図5】エンベロ−プ2値化回路の回路構成図FIG. 5 is a circuit configuration diagram of an envelope binarization circuit;

【図6】エンベロ−プ2値化回路の各部の波形特性図FIG. 6 is a waveform characteristic diagram of each part of the envelope binarization circuit.

【符号の説明】[Explanation of symbols]

4 光センサ− 6 振幅検出回路 7 浮動2値化回路(2値化回路) 8 エンベロ−プ2値化回路(2値化回路) 9 選択回路 A アナログ信号 Reference Signs List 4 light sensor 6 amplitude detection circuit 7 floating binarization circuit (binarization circuit) 8 envelope binarization circuit (binarization circuit) 9 selection circuit A analog signal

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 光センサ−と、その光センサ−の出力で
あるアナログ信号を2値化する2値化回路を備えたバ−
コ−ド検出装置であって、前記2値化回路を種類の異な
る複数の2値化回路によって構成したバ−コ−ド検出装
置。
A bar comprising an optical sensor and a binarizing circuit for binarizing an analog signal output from the optical sensor.
A bar code detecting device, wherein said binarizing circuit is constituted by a plurality of different types of binarizing circuits.
【請求項2】 入力のアナログ信号の振幅を検出する振
幅検出回路と、その振幅検出回路の出力値のレベルから
複数の2値化回路のうち1つを選択する選択回路とを備
えた請求項1記載のバ−コ−ド検出装置。
2. An amplitude detection circuit for detecting an amplitude of an input analog signal, and a selection circuit for selecting one of a plurality of binarization circuits from a level of an output value of the amplitude detection circuit. 2. The bar code detecting device according to claim 1.
【請求項3】 複数の2値化回路が、アナログ信号の波
形の山に対してはピーク値より一定値低い電圧値をしき
い値としアナログ信号の波形の谷に対してはピーク値よ
り一定値高い電圧値をしきい値とする浮動2値化回路
と、アナログ入力信号の正のエンベロープと負のエンベ
ロープとの中間値をしきい値とするエンベロープ2値化
回路である請求項1記載のバ-コ-ド検出装置。
3. A plurality of binarization circuits, wherein a threshold value is a voltage value lower than a peak value by a fixed value for a peak of a waveform of an analog signal, and a voltage value is constant from a peak value to a valley of a waveform of the analog signal. 2. The floating binarizing circuit according to claim 1, wherein the floating binarizing circuit uses a high voltage value as a threshold value, and the envelope binarizing circuit uses an intermediate value between a positive envelope and a negative envelope of the analog input signal as a threshold value. Barcode detector.
【請求項4】 光センサーと、アナログ入力信号の波形
の山に対してはピーク値より一定値低い電圧値をしきい
値としアナログ入力信号の波形の谷に対してはピーク値
より一定値高い電圧値をしきい値とする前記光センサー
のアナログ出力信号を2値化する浮動2値化回路と、ア
ナログ入力信号の正のエンベロープとアナログ入力信号
の負のエンベロープとの中間値をしきい値とする同じく
光センサーのアナログ出力信号を2値化するエンベロー
プ2値化回路と、光センサーのアナログ出力信号の振幅
を検出する振幅検出回路と、その振幅検出回路の出力が
あらかじめ設定された電圧値未満のときは前記浮動2値
化回路の出力値を選択し振幅検出回路の出力があらかじ
め設定された電圧値以上のときは前記エンベロープ2値
化回路の出力値を選択する選択回路とを備えたバーコー
ド検出装置。
4. A threshold value of a voltage value which is lower than a peak value by a constant value for a peak of a waveform of an analog input signal and a threshold value of a photo sensor and a constant value which is higher than a peak value for a valley of a waveform of an analog input signal. A floating binarizing circuit for binarizing an analog output signal of the optical sensor having a voltage value as a threshold value, and a threshold value for an intermediate value between a positive envelope of the analog input signal and a negative envelope of the analog input signal Similarly, an envelope binarization circuit for binarizing the analog output signal of the optical sensor, an amplitude detection circuit for detecting the amplitude of the analog output signal of the optical sensor, and a voltage value whose output of the amplitude detection circuit is set in advance. If the output value is less than the predetermined value, the output value of the envelope binarization circuit is selected. And a selection circuit for selecting the bar code.
JP4076487A 1992-03-31 1992-03-31 Barcode detection device Expired - Fee Related JP2745945B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4076487A JP2745945B2 (en) 1992-03-31 1992-03-31 Barcode detection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4076487A JP2745945B2 (en) 1992-03-31 1992-03-31 Barcode detection device

Publications (2)

Publication Number Publication Date
JPH05282477A JPH05282477A (en) 1993-10-29
JP2745945B2 true JP2745945B2 (en) 1998-04-28

Family

ID=13606576

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4076487A Expired - Fee Related JP2745945B2 (en) 1992-03-31 1992-03-31 Barcode detection device

Country Status (1)

Country Link
JP (1) JP2745945B2 (en)

Also Published As

Publication number Publication date
JPH05282477A (en) 1993-10-29

Similar Documents

Publication Publication Date Title
KR960001100B1 (en) Optical code reader and format
US6499662B1 (en) Fast edge detection system tolerant of high degree of intersymbol interference
US4870367A (en) Signal amplifier circuit
US5027339A (en) Optical card analyzing apparatus
US4870262A (en) Signal processing apparatus and binary encoder circuit for the same
JP2500859B2 (en) Bar code reader
JP2745945B2 (en) Barcode detection device
US5637853A (en) Reading indicia by analysis of different light reflecting portions based on signal-to-noise ratios
EP0505970B1 (en) White level detection circuit for an optical image reader
US5864129A (en) Bar code digitizer including a voltage comparator
JP2738108B2 (en) Barcode reader
US5600118A (en) Binarizing circuit and bar-code reader using such
US6976630B2 (en) Bar-code reader, method of reading a bar code, and computer product
US6450405B1 (en) Optical code reader using binarization circuit and binarization circuit
JPH056549A (en) Reproducing signal processor
JP2517661B2 (en) Binarization device
EP0302507A2 (en) Optical card recording/playing back apparatus
Carvalho et al. Laser Scanner For Automatic Storage
JPH0737019A (en) Optical reader
JP2735667B2 (en) Detection control circuit
JPH0341584A (en) Bar code detector
JPH03238575A (en) Bar code reader
JPH10149408A (en) Code information reader
JPS6365586A (en) Optical reader
JPS63172565A (en) Detector for unlighted light source

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees