JPH0192888A - Bar code detector - Google Patents

Bar code detector

Info

Publication number
JPH0192888A
JPH0192888A JP62250478A JP25047887A JPH0192888A JP H0192888 A JPH0192888 A JP H0192888A JP 62250478 A JP62250478 A JP 62250478A JP 25047887 A JP25047887 A JP 25047887A JP H0192888 A JPH0192888 A JP H0192888A
Authority
JP
Japan
Prior art keywords
signal
circuit
output
envelope
barcode
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.)
Granted
Application number
JP62250478A
Other languages
Japanese (ja)
Other versions
JPH07101428B2 (en
Inventor
Akio Nakasuji
中筋 章雄
Seiichiro Tamai
誠一郎 玉井
Keiichi Kobayashi
圭一 小林
Naotsugu Tokumura
徳村 直継
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 Holdings Corp
Original Assignee
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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP62250478A priority Critical patent/JPH07101428B2/en
Publication of JPH0192888A publication Critical patent/JPH0192888A/en
Publication of JPH07101428B2 publication Critical patent/JPH07101428B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Manipulation Of Pulses (AREA)

Abstract

PURPOSE:To prevent the generation of misreading by providing the title device with a voltage dividing circuit for outputting a 1st signal with intermediate potential, a subtractor for outputting a 2nd signal with lower potential and a comparator for selecting and outputting the lower signal and switching a threshold level of a binarizing circuit. CONSTITUTION:The subtractor 19 and the comparator 20 are added. The potential of a signal selected by the comparator 20 out of the 1st and 2nd signals is used as the threshold level of the binarizing circuit 15 without always using the 1st signal generated from the output of the voltage dividing circuit like an ordinary method. Even when an analog signal to be binarized is oscillated by dirt on a bar code or noise, binarization is executed by using the 2nd signal as the threshold level, so that a accurate binarizing processing can be executed.

Description

【発明の詳細な説明】 産業上の利用分野 本発明はバーコード読み取り装置において、バーコード
読み取り走査を行って得られたアナログ信号を2値化す
るバーコード検出装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a barcode detection device that binarizes an analog signal obtained by scanning a barcode in a barcode reading device.

従来の技術 第4図はバーコード読み取り装置を示す。読み取るべき
バーコード1は、回動自在に支持されたスキャンミラー
2を介してレーザービーム発生装置3のレーザービーム
4で走査される。レーザービーム4の反射光5は集光レ
ンズ6で集光されてフォトダイオード7で受光される。
BACKGROUND OF THE INVENTION FIG. 4 shows a barcode reading device. A barcode 1 to be read is scanned by a laser beam 4 of a laser beam generator 3 via a rotatably supported scanning mirror 2. The reflected light 5 of the laser beam 4 is focused by a condensing lens 6 and received by a photodiode 7.

フォトダイオード7の出力に発生するアナログ信号8は
次のようなバーコード検出袋e19を介して2値化され
ている。第5図はバーコード検出装置9の具体回路を示
す。
The analog signal 8 generated at the output of the photodiode 7 is binarized via a barcode detection bag e19 as described below. FIG. 5 shows a specific circuit of the barcode detection device 9.

アナログ信号8はms回路10を介してエンベロープ回
路11に入力される。エンベロープ回路11は、オペア
ンプOP1で構成された第1のピーク値ホールド回路1
2とオペアンプOP2で構成された第2のピーク値ホー
ルド回路13でなっており、第1のピークホールド回路
12の出力にはアナログ信号8の高い方のピーク変化の
信号〔以下、正のエンベロープ信号と称す〕Aが発生し
、第2のピークホールド回路13の出力にはアナログ信
号8の低い方のピーク変化の信号〔以下、負のエンベロ
ープ信号と称す〕Bが発生する。正のエンベロープ信号
Aと負のエンベロープ信号Bは分圧回路14に印加され
、分圧回路14の出力には時々の正のエンベロープ信号
Aと負のエンベロープ信号Bとの中間電位の分圧信号C
が発生する。2値化回路15では分圧信号の時々のレベ
ルV1を閾値としてアナログ信号8を第6図に示すよう
に2値化している。
Analog signal 8 is input to envelope circuit 11 via ms circuit 10. The envelope circuit 11 is a first peak value hold circuit 1 configured with an operational amplifier OP1.
2 and an operational amplifier OP2, and the output of the first peak hold circuit 12 is a signal of the higher peak change of the analog signal 8 (hereinafter, a positive envelope signal). A] is generated, and a signal B (hereinafter referred to as a negative envelope signal) of the lower peak change of the analog signal 8 is generated at the output of the second peak hold circuit 13. The positive envelope signal A and the negative envelope signal B are applied to a voltage divider circuit 14, and the output of the voltage divider circuit 14 is sometimes a divided voltage signal C at an intermediate potential between the positive envelope signal A and the negative envelope signal B.
occurs. The binarization circuit 15 binarizes the analog signal 8 using the occasional level V1 of the divided voltage signal as a threshold as shown in FIG.

発明が解決しようとする問題点 このような従来の構成では、2値化すべきアナログ信号
8のレベルに応じて2値化回路15での閾値が変化し、
アナログ信号8のレベルが全体的に多少変化しても安定
に2値化することができる。
Problems to be Solved by the Invention In such a conventional configuration, the threshold value in the binarization circuit 15 changes depending on the level of the analog signal 8 to be binarized.
Even if the level of the analog signal 8 changes somewhat overall, it can be stably binarized.

このような2値化方式は、一般に浮動スライスレベル方
式と呼ばれている。
Such a binarization method is generally called a floating slice level method.

しかし、バーコード1に汚れがあったり、アナログ信号
8に大きなノイズが乗っているような場合には、目的の
バーコード1に応じた2値化出力を得ることができない
。第7図はこの場合の2値化動作を示しており、アナロ
グ信号8にノイズ16が乗っている。このようにノイズ
16が乗ってアナログ信@8のレベルが変化すると、分
圧信号Cのレベル■1に対してこのレベル■1を横切る
状態が発生するため、目的のバーコード1の読み取りの
直前の区間17と直後の区間18において誤った2値化
出力が発生するという問題がある。
However, if the barcode 1 is dirty or if the analog signal 8 contains large noise, it is not possible to obtain a binarized output corresponding to the target barcode 1. FIG. 7 shows the binarization operation in this case, in which noise 16 is superimposed on analog signal 8. When the level of the analog signal @8 changes due to the noise 16, a state will occur where it crosses this level ■1 with respect to the level ■1 of the divided voltage signal C. There is a problem in that erroneous binarized output occurs in interval 17 and interval 18 immediately following.

本発明は浮動スライスレベル方式の2値化処理において
、バーコードが汚れていたり、ノイズが乗っているよう
な場合であって−も、従来よりも正確な2値化処理を実
現できるバーコード検出装置を提供することを目的とす
る。
The present invention provides barcode detection that enables more accurate binarization than conventional methods even when the barcode is dirty or has noise in floating slice level binarization processing. The purpose is to provide equipment.

問題点を解決するための手段 本発明のバーコード検出装置は、バーコード読み取り走
査によって得られたアナログ信号の正のエンベロープ信
号と負のエンベロープ信号を検出するエンベロープ回路
と、エンベロープ回路の出力に発生する正、負のエンベ
ロープ信号の出力電位を分圧して2つのエンベロープ信
号の中間電位の第1の信号を出力する分圧回路と、分圧
回路の出力に発生した分圧信号から所定レベルだけ低い
電位の第2の信号を出力する減算回路と、第1の信号と
第2の信号のうちの時々のレベルの低い方の信号を選択
して出力する比較回路と、比較回路の出力に発生する出
力電位を閾値として前記アナログ信号を2値化する2値
化回路とを設けたことを特徴とする。
Means for Solving the Problems The barcode detection device of the present invention includes an envelope circuit that detects a positive envelope signal and a negative envelope signal of an analog signal obtained by scanning a barcode, and a a voltage divider circuit that divides the output potentials of positive and negative envelope signals to output a first signal at an intermediate potential between the two envelope signals; a subtraction circuit that outputs a second signal at a potential; a comparison circuit that selects and outputs a signal with a lower level from the first signal and the second signal; The present invention is characterized in that it further includes a binarization circuit that binarizes the analog signal using an output potential as a threshold value.

作用 この構成によると、2値化回路での開城は、従来のよう
に分圧回路の出力に発生する第1の信号が常時使用され
るのではなくて、第1、第2の信号のうち、比較回路で
選択された信号の電位を閾値としている。したがって、
バーコードの汚れ、ノイズなどによって2値化すべきア
ナログ信号が振動していても、この場合には第2の信号
を閾値として2値化が実行され、正確な2値化処理が行
われる。
Effects According to this configuration, when the binary circuit is broken, the first signal generated at the output of the voltage divider circuit is not always used, but only one of the first and second signals is used. , the potential of the signal selected by the comparison circuit is used as the threshold. therefore,
Even if the analog signal to be binarized is vibrating due to barcode dirt, noise, etc., in this case, binarization is performed using the second signal as a threshold, and accurate binarization processing is performed.

実施例 以下、本発明の一実施例を第1図〜第3図に基づいて説
明する。なお、従来例を示す第4図および第5図と同様
の作用をなすものには同一の符号を付けて説明する。
EXAMPLE Hereinafter, an example of the present invention will be described based on FIGS. 1 to 3. Components having the same functions as those shown in FIGS. 4 and 5 showing the conventional example will be described with the same reference numerals.

第1図は本発明のバーコード検出装置を採用したバーコ
ード読み取り装置を示し、減算回路19と比較回路20
が追加されている点だけが第4図に示した従来の構成と
は異っている。減算回路19と第2図に示すように電圧
設定用の可変抵抗器21と減算動作用のオペアンプOP
3を有しており、正のエンベロープ信号Aをバッファ接
続されたオペアンプOP4を介してオペアンプOP3の
非反転入力端子(+)へ印加し、オペアンプOP3の反
転入力端子(−)には可変抵抗器21の出力電圧ΔVが
印加されている。減算回路19の出力には正のエンベロ
ープ信号Aの時々のレベルからΔ■だけ差し引いた第2
の信@D〔第3図(a)参照〕が発生する。なお、以下
の説明では分圧回路14の出力に発生する分圧信号C〔
第3図(b)参照〕を第1の信@Cと呼ぶことにする。
FIG. 1 shows a barcode reading device employing the barcode detection device of the present invention, in which a subtraction circuit 19 and a comparison circuit 20 are shown.
The only difference from the conventional configuration shown in FIG. 4 is that . A subtraction circuit 19, a variable resistor 21 for voltage setting, and an operational amplifier OP for subtraction operation as shown in FIG.
3, a positive envelope signal A is applied to the non-inverting input terminal (+) of the operational amplifier OP3 via the buffer-connected operational amplifier OP4, and a variable resistor is connected to the inverting input terminal (-) of the operational amplifier OP3. 21 output voltage ΔV is applied. The output of the subtraction circuit 19 is a second signal subtracted by Δ■ from the occasional level of the positive envelope signal A.
A signal @D [see Fig. 3(a)] is generated. In the following explanation, the voltage dividing signal C [ generated at the output of the voltage dividing circuit 14]
Refer to FIG. 3(b)] will be referred to as the first signal @C.

比較回路20はスイッチングダイオード22と抵抗器2
3で構成されており、その出力には第1の信号Cと第2
の信号りのうちのレベルの低い方の信号が発生する。2
値化回路15では、比較回路20の出力に発生する第3
の信号Eのレベルを閾値としてアナログ信号8の2値化
が行われる。
The comparison circuit 20 includes a switching diode 22 and a resistor 2.
3, and its output has a first signal C and a second signal C.
The signal with the lower level is generated. 2
In the value converting circuit 15, the third
The analog signal 8 is binarized using the level of the signal E as a threshold.

第3図(C)に2値化回路15での2値化の様子が示さ
れている。その様子は次のようである。バーコード1の
読み取りの直前の区間17と直後の区間18では第1の
信号Cと第2の信号りとでは第2の信号りのレベルの方
が低いため、比較回路20では第3の信号Eとして第2
の信号りを出力し、2値化回路15では、第2の信号り
の時々のレベルを閾値としてアナログ信号8の2値化が
行われる。この区間における第3の信号Eのレベルは第
3図(C)に示すように、バーコードの汚れ、ノイズな
どによって振動しているアナログ信号8のレベルよりも
低いため、この区間17.18において従来のように誤
った2値化出力を発生しない。目的のバーコード区間2
4では第3の信号Eは従来と同じ・第1の信号Cとなり
、2値化回路15で従来と同じ閾値での2m化が行われ
る。
FIG. 3(C) shows how the binarization circuit 15 performs binarization. The situation is as follows. In the interval 17 immediately before and the interval 18 immediately after reading the barcode 1, the level of the second signal C is lower than that of the first signal C, so the comparing circuit 20 detects the third signal C. Second as E
In the binarization circuit 15, the analog signal 8 is binarized using the occasional level of the second signal as a threshold. As shown in FIG. 3(C), the level of the third signal E in this section is lower than the level of the analog signal 8 which is vibrating due to dirt on the bar code, noise, etc., so in this section 17.18. No erroneous binary output is generated as in the conventional case. Target barcode section 2
4, the third signal E becomes the first signal C, which is the same as the conventional one, and the binarization circuit 15 performs 2m conversion using the same threshold as the conventional one.

このように減口回路19と比較回路20を付加して2値
化回路15の閾値を切り換えることによって、バーコー
ド読み取り時の最初のスタートマージンを得ることがで
き、バーコードの汚れ、ノイズなどによってアナログ信
@8が振動していても、目的のバーコードに対応した正
確な2値化出力を得ることができる。
In this way, by adding the reduction circuit 19 and the comparison circuit 20 and switching the threshold of the binarization circuit 15, it is possible to obtain an initial start margin when reading a barcode, and it is possible to obtain the initial start margin when reading a barcode. Even if the analog signal @8 is vibrating, accurate binary output corresponding to the target barcode can be obtained.

発明の効果 以上のように本発明によると、2値化すべきアナログ信
号から青られる正、負のエンベロープ信号の中間電位の
第1の信号を出力する分圧回路と、分圧回路の出力に発
生した分圧信号から所定レベルだけ低い電位の第2の信
号を出力する減算回路と、第1の信号と第2の信号のう
ちの時々のレベルの低い方の信号を選択して出力する比
較回路とを設けて、2値化回路の閾値を切り換えるよう
に構成したため、浮動スライスレベル方式であっても、
スタートマージンを従来よりも大きくすることができ、
バーコードの汚れ、ノイズなどによって2値化すべきア
ナログ信号が振動していても目的のバーコードに対応し
た正確な2値化出力を得ることができ、バーコード読み
取り装置における読み取りミス、読み取り困難な状態の
回避に寄与できるものである。
Effects of the Invention As described above, according to the present invention, there is provided a voltage divider circuit that outputs a first signal at an intermediate potential between positive and negative envelope signals generated from an analog signal to be binarized, and a a subtraction circuit that outputs a second signal with a potential lower by a predetermined level from the divided voltage signal; and a comparison circuit that selects and outputs the lower level signal of the first signal and the second signal from time to time. Since it is configured to switch the threshold of the binarization circuit, even with the floating slice level method,
The starting margin can be made larger than before,
Even if the analog signal to be binarized is vibrating due to dirt or noise on the barcode, it is possible to obtain accurate binarized output corresponding to the target barcode. This can contribute to avoiding the situation.

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

第1図は本発明のバーコード検出装置の一実施例のブロ
ック図、第2図は同装置の具体的な構成図、第3図は同
装置における2値化処迎の閾値の説明図、第4図は従来
のバーコード検出装置のブロック図、第5図は同装置の
具体的な構成図、第6図は2tn化すべきアナログ信号
が振動していない場合の2値化処理の説明図、第7図は
2値化ずべきアナログ信号が振動している場合の2値化
処理の説明図である。 1・・・バーコード、8・・・アナログ48号、9・・
・バーコード検出装置、11・・・エンベロープ回路、
14・・・分圧回路、15・・・2値化回路、19・・
・減口回路、20・・・比較回路、A・・・正のエンベ
ロープ信号、B・・・負のエンベロープ信号、C・・・
第1の信号、D・・・第2の信号。 代理人   森  木  義  弘 第1図 p・・・寥2傭号 第4図 第2図 第7図
FIG. 1 is a block diagram of an embodiment of the barcode detection device of the present invention, FIG. 2 is a specific configuration diagram of the device, and FIG. 3 is an explanatory diagram of threshold values for binarization processing in the device. Fig. 4 is a block diagram of a conventional barcode detection device, Fig. 5 is a specific configuration diagram of the same device, and Fig. 6 is an explanatory diagram of binarization processing when the analog signal to be converted to 2tn is not vibrating. , FIG. 7 is an explanatory diagram of the binarization process when the analog signal to be binarized is oscillating. 1... Barcode, 8... Analog No. 48, 9...
・Barcode detection device, 11...envelope circuit,
14... Voltage dividing circuit, 15... Binarization circuit, 19...
- Reduction circuit, 20... Comparison circuit, A... Positive envelope signal, B... Negative envelope signal, C...
First signal, D... second signal. Agent Yoshihiro Moriki 1st figure p... 2nd license figure 4 figure 2 figure 7

Claims (1)

【特許請求の範囲】[Claims] 1、バーコード読み取り走査によつて得られたアナログ
信号の正のエンベロープ信号と負のエンベロープ信号を
検出するエンベロープ回路と、エンベロープ回路の出力
に発生する正、負のエンベロープ信号の出力電位を分圧
して2つのエンベロープ信号の中間電位の第1の信号を
出力する分圧回路と、分圧回路の出力に発生した分圧信
号から所定レベルだけ低い電位の第2の信号を出力する
減算回路と、第1の信号と第2の信号のうちの時々のレ
ベルの低い方の信号を選択して出力する比較回路と、比
較回路の出力に発生する出力電位を閾値として前記アナ
ログ信号を2値化する2値化回路とを設けたバーコード
検出装置。
1. An envelope circuit that detects the positive envelope signal and negative envelope signal of the analog signal obtained by scanning the barcode, and divides the output potential of the positive and negative envelope signals generated at the output of the envelope circuit. a voltage divider circuit that outputs a first signal at an intermediate potential between the two envelope signals, and a subtraction circuit that outputs a second signal at a potential lower by a predetermined level from the divided voltage signal generated at the output of the voltage divider circuit; a comparator circuit that selects and outputs a signal with a lower level from time to time between the first signal and the second signal, and binarizes the analog signal using an output potential generated at the output of the comparator circuit as a threshold; A barcode detection device equipped with a binarization circuit.
JP62250478A 1987-10-02 1987-10-02 Bar code detector Expired - Lifetime JPH07101428B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62250478A JPH07101428B2 (en) 1987-10-02 1987-10-02 Bar code detector

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62250478A JPH07101428B2 (en) 1987-10-02 1987-10-02 Bar code detector

Publications (2)

Publication Number Publication Date
JPH0192888A true JPH0192888A (en) 1989-04-12
JPH07101428B2 JPH07101428B2 (en) 1995-11-01

Family

ID=17208449

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62250478A Expired - Lifetime JPH07101428B2 (en) 1987-10-02 1987-10-02 Bar code detector

Country Status (1)

Country Link
JP (1) JPH07101428B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03252888A (en) * 1990-03-02 1991-11-12 Tohoku Ricoh Co Ltd Binary-signalizing device for analog signal

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60157677A (en) * 1984-01-27 1985-08-17 Usac Electronics Ind Co Ltd Amplifier circuit system of bar code reader
JPS61255478A (en) * 1985-05-07 1986-11-13 Fuji Facom Corp Signal identification circuit

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60157677A (en) * 1984-01-27 1985-08-17 Usac Electronics Ind Co Ltd Amplifier circuit system of bar code reader
JPS61255478A (en) * 1985-05-07 1986-11-13 Fuji Facom Corp Signal identification circuit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03252888A (en) * 1990-03-02 1991-11-12 Tohoku Ricoh Co Ltd Binary-signalizing device for analog signal

Also Published As

Publication number Publication date
JPH07101428B2 (en) 1995-11-01

Similar Documents

Publication Publication Date Title
US5811782A (en) Binary device for bar code reader
EP1114391B1 (en) Fast edge detection system tolerant of high degree of intersymbol interference
JPH07101429B2 (en) Barcode reader analog signal processing method
US4870367A (en) Signal amplifier circuit
JPH0564395B2 (en)
JPH0192888A (en) Bar code detector
US5506411A (en) Optical reader with improved response to change in reflected signal
US5600118A (en) Binarizing circuit and bar-code reader using such
JPS6093878A (en) Picture reader
US5321526A (en) White level detection circuit for an optical image reader
JPS63165979A (en) Binarizing circuit for bar code signal
JP2716298B2 (en) Barcode signal binarization device
US6450405B1 (en) Optical code reader using binarization circuit and binarization circuit
JPH04245581A (en) Scanning speed detecting device and symbol reader using it
JPS59165180A (en) Reading method of bar code for tire selection
US6196462B1 (en) Optical device for reading and decoding bars of different reflectivity arranged in accordance with a barcode and adjoining one another
JPS6153756B2 (en)
JP2745945B2 (en) Barcode detection device
JPH03292577A (en) Binarizing device
JPH06243276A (en) Optical information reader
JPH03143012A (en) Binarizing circuit, intermediate level detection circuit and peak envelope detection circuit
JPS63125014A (en) Pulse edge detecting circuit
KR900000857Y1 (en) Light detecting circuit of bar code scanner
JPS5856574A (en) Signal binarizing circuit
JPS57162569A (en) Original reader

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term