JPH07101428B2 - Bar code detector - Google Patents
Bar code detectorInfo
- Publication number
- JPH07101428B2 JPH07101428B2 JP62250478A JP25047887A JPH07101428B2 JP H07101428 B2 JPH07101428 B2 JP H07101428B2 JP 62250478 A JP62250478 A JP 62250478A JP 25047887 A JP25047887 A JP 25047887A JP H07101428 B2 JPH07101428 B2 JP H07101428B2
- Authority
- JP
- Japan
- Prior art keywords
- signal
- circuit
- envelope
- output
- bar code
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
- 238000010586 diagram Methods 0.000 description 5
- 238000000034 method Methods 0.000 description 5
- 238000001514 detection method Methods 0.000 description 3
Landscapes
- Manipulation Of Pulses (AREA)
Description
【発明の詳細な説明】 産業上の利用分野 本発明はバーコード読み取り装置において、バーコード
読み取り走査を行って得られたアナログ信号を2値化す
るバーコード検出装置に関するものである。Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a bar code reading device which binarizes an analog signal obtained by performing a bar code reading scan.
従来の技術 第4図はバーコード読み取り装置を示す。読み取るべき
バーコード1は、回転自在に支持されたスキャンミラー
2を介してレーザービーム発生装置3のレーザービーム
4で走査される。レーザービーム4の反射光は集光レン
ズ6で集光されてフォトダイオード7で受光される。フ
ォトダイオード7の出力に発生するアナログ信号8は次
のようなバーコード検出装置9を介して2値化されてい
る。第5図はバーコード検出装置9の具体回路を示す。2. Description of the Related Art FIG. 4 shows a bar code reader. A barcode 1 to be read is scanned by a laser beam 4 of a laser beam generator 3 via a scan mirror 2 which is rotatably supported. The reflected light of the laser beam 4 is condensed by the condenser lens 6 and received by the photodiode 7. The analog signal 8 generated at the output of the photodiode 7 is binarized via the bar code detection device 9 as described below. FIG. 5 shows a specific circuit of the bar code detecting device 9.
アナログ信号8は増幅回路10を介してエンベロープ回路
11に入力される。エンベロープ回路11は、オペアンプOP
1で構成された第1のピーク値ホールド回路12とオペア
ンプOP2で構成された第2のピーク値ホールド回路13で
なっており、第1のピークホールド回路12の出力にはア
ナログ信号8の高い方のピーク変化の信号〔以下、正の
エンベロープ信号と称す〕Aが発生し、第2のピークホ
ールド回路13の出力にはアナログ信号8の低い方のピー
ク変化の信号〔以下、負のエンベロープ信号と称す〕B
が発生する。正のエンベロープ信号Aと負のエンベロー
プ信号Bは分圧回路14に印加され、分圧回路14の出力に
は時々の正のエンベロープ信号Aと負のエンベロープ信
号Bとの中間電位の分圧信号Cが発生する。2値化回路
15では分圧信号の時々のレベルV1を閾値としてアナログ
信号8を第6図に示すように2値化している。The analog signal 8 is sent to the envelope circuit via the amplifier circuit 10.
Entered in 11. The envelope circuit 11 is an operational amplifier OP
1 serves at the second peak value holding circuit 13 composed of a first peak value holding circuit 12 and the operational amplifier OP 2, which is constituted by a high analog signal 8 to the output of the first peak hold circuit 12 A peak change signal [hereinafter referred to as a positive envelope signal] A is generated, and the analog signal 8 having a lower peak change signal [hereinafter referred to as a negative envelope signal] is generated at the output of the second peak hold circuit 13. B]
Occurs. The positive envelope signal A and the negative envelope signal B are applied to the voltage dividing circuit 14, and the voltage dividing circuit 14 outputs a voltage dividing signal C having an intermediate potential between the positive envelope signal A and the negative envelope signal B at times. Occurs. Binarization circuit
In FIG. 15, the analog signal 8 is binarized as shown in FIG. 6 with the occasional level V 1 of the divided voltage signal as a threshold value.
発明が解決しようとする問題点 このような従来の構成では、2値化すべきアナログ信号
8のレベル応じて2値化回路15での閾値が変化し、アナ
ログ信号8のレベルが全体的に多少変化しても安定に2
値化することができる。このような2値化方式は、一般
に浮動スライスレベル方式と呼ばれている。Problems to be Solved by the Invention In such a conventional configuration, the threshold value in the binarization circuit 15 changes in accordance with the level of the analog signal 8 to be binarized, and the level of the analog signal 8 slightly changes overall. Even if stable 2
It can be quantified. Such a binarization method is generally called a floating slice level method.
しかし、バーコード1に汚れがあったり、アナログ信号
8に大きなノイズが乗っているような場合には、目的の
バーコード1に応じた2値化出力を得ることができな
い。第7図はこの場合の2値化動作を示しており、アナ
ログ信号8にノイズ16が乗っている。このようにノイズ
16が乗ってアナログ信号8のレベルが変化すると、分圧
信号CのレベルV1に対してこのレベルV1を横切る状態が
発生するため、目的のバーコード1の読み取りの直前の
区間17と直接の区間18において誤った2値化出力が発生
するという問題がある。However, if the barcode 1 is dirty or if the analog signal 8 has a large amount of noise, the binarized output corresponding to the target barcode 1 cannot be obtained. FIG. 7 shows the binarization operation in this case, in which noise 16 is added to the analog signal 8. Noise like this
When 16 goes on and the level of the analog signal 8 changes, a state of crossing this level V 1 with respect to the level V 1 of the divided voltage signal C occurs, so that the section 17 immediately before the reading of the target barcode 1 is directly connected. There is a problem that an erroneous binarized output occurs in the section 18 of.
本発明は浮動スライスレベル方式の2値化処理におい
て、バーコードが汚れていたり、ノイズが乗っているよ
うな場合であっても、従来よりも正確な2値化処理を実
現できるバーコード検出装置を提供することを目的とす
る。INDUSTRIAL APPLICABILITY The present invention is a barcode detection apparatus capable of realizing more accurate binarization processing than before even when the barcode is dirty or noisy in the binarization processing of the floating slice level method. The purpose is to provide.
問題点を解決するための手段 本発明のバーコード検出装置は、バーコード読み取り走
査によって得られたアナログ信号の正のエンベロープ信
号と負のエンベロープ信号を検出するエンベロープ回路
と、エンベロープ回路の出力に発生する正、負のエンベ
ロープ信号の出力電位を分圧して2つのエンベロープ信
号の中間電位の第1の信号を出力する分圧回路と、エン
ベロープ回路の出力に発生する正のエンベロープ信号か
ら所定レベルだけ低い電位の第2の信号を出力する減算
回路と、第1の信号と第2の信号のうちの時々のレベル
の低い方の信号を選択して出力する比較回路と、比較回
路の出力に発生する出力電位を閾値として前記アナログ
信号を2値化する2値化回路とを設けたことを特徴とす
る。Means for Solving the Problems A bar code detecting apparatus according to the present invention has an envelope circuit for detecting a positive envelope signal and a negative envelope signal of an analog signal obtained by a bar code reading scan, and an output of the envelope circuit. The voltage dividing circuit for dividing the output potential of the positive and negative envelope signals to output the first signal of the intermediate potential of the two envelope signals and the positive envelope signal generated at the output of the envelope circuit are lower by a predetermined level. A subtraction circuit for outputting the second signal of the potential, a comparison circuit for selecting and outputting the one of the first signal and the second signal, whichever is lower in level, and an output for the comparison circuit. A binarization circuit for binarizing the analog signal with the output potential as a threshold value is provided.
作用 この構成によると、2値化回路での閾値は、従来のよう
に分圧回路の出力に発生する第1の信号が常時使用され
るのではなくて、第1、第2の信号のうち、比較回路で
選択された信号の電位を閾値としている。したがって、
バーコードの汚れ、ノイズなどによって2値化すべきア
ナログ信号が振動していても、この場合には、第2の信
号を閾値として2値化が実行され、正確な2値化処理が
行われる。Operation According to this configuration, the threshold value in the binarization circuit does not always use the first signal generated at the output of the voltage dividing circuit as in the conventional case, but instead of the first and second signals, The potential of the signal selected by the comparison circuit is used as the threshold. Therefore,
Even if the analog signal to be binarized vibrates due to stains on the barcode, noise, or the like, in this case, binarization is executed using the second signal as a threshold value, and accurate binarization processing is performed.
実施例 以下、本発明の一実施例を第1図〜第3図に基づいて説
明する。なお、従来例を示す第4図および第5図と同様
の作用をなすものには同一の符号を付けて説明する。Embodiment An embodiment of the present invention will be described below with reference to FIGS. 1 to 3. It should be noted that components having the same functions as those in FIGS. 4 and 5 showing the conventional example will be described with the same reference numerals.
第1図は本発明のバーコード検出装置を採用したバーコ
ード読み取り装置を示し、減算回路19と比較回路20が追
加されている点だけが第4図に示した従来の構成とは異
っている。減算回路19と第2図に示すように電圧設定用
の可変抵抗器21と減算動作用のオペアンプOP3を有して
おり、正のエンベロープ信号Aをバッファ接続されたオ
ペアンプOP4を介してオペアンプOP3の非反転入力端子
(+)へ印加し、オペアンプOP3の反転入力端子(−)
には可変抵抗器21の出力電圧ΔVが印加されている。減
算回路19の出力には正のエンベロープ信号Aの時々のレ
ベルからΔVだけ差し引いた第2の信号D〔第3図
(a)参照〕が発生する。なお、以下の説明では分圧回
路14の出力に発生する分圧信号C〔第3図(b)参照〕
を第1の信号Cと呼ぶことにする。比較回路20はスイッ
チングダイオード22と抵抗器23で構成されており、その
出力には第1の信号Cと第2の信号Dのうちのレベルの
低い方の信号が発生する。2値化回路15では、比較回路
20の出力に発生する第3の信号Eのレベルを閾値として
アナログ信号8の2値化が行われる。FIG. 1 shows a bar code reading apparatus adopting the bar code detecting apparatus of the present invention, which is different from the conventional configuration shown in FIG. 4 only in that a subtracting circuit 19 and a comparing circuit 20 are added. There is. It has a subtraction circuit 19 and a variable resistor 21 for voltage setting and an operational amplifier OP 3 for subtraction operation as shown in FIG. 2, and an operational amplifier is provided via an operational amplifier OP 4 buffered with a positive envelope signal A. the non-inverting input terminal (+) to apply, the inverting input terminal of the operational amplifier OP 3 of OP 3 (-)
The output voltage ΔV of the variable resistor 21 is applied to. At the output of the subtraction circuit 19, a second signal D (see FIG. 3 (a)) obtained by subtracting ΔV from the occasional level of the positive envelope signal A is generated. In the following description, the voltage dividing signal C generated at the output of the voltage dividing circuit 14 [see FIG. 3 (b)]
Will be referred to as a first signal C. The comparison circuit 20 is composed of a switching diode 22 and a resistor 23, and the lower level signal of the first signal C and the second signal D is generated at the output thereof. In the binarization circuit 15, the comparison circuit
The analog signal 8 is binarized with the level of the third signal E generated at the output of 20 as a threshold value.
第3図(c)に2値化回路15での2値化の様子が示され
ている。その様子は次のようである。バーコード1の読
み取りの直前の区間17と直後の区間18では第1の信号C
と第2の信号Dとでは第2の信号Dのレベルの方が低い
ため、比較回路20では第3の信号Eとして第2の信号D
を出力し、2値化回路15では、第2の信号Dの時々のレ
ベルを閾値としてアナログ信号8の2値化が行われる。
この区間における第3の信号Eのレベルは第3図(c)
に示すように、バーコードの汚れ、ノイズなどによって
振動しているアナログ信号8のレベルよりも低いため、
この区間17,18において従来のように誤った2値化出力
を発生しない。目的のバーコード区間24では第3の信号
Eは従来と同じ第1の信号Cとなり、2値化回路15で従
来と同じ閾値での2値化が行われる。FIG. 3 (c) shows how the binarization circuit 15 performs binarization. The situation is as follows. In the section 17 immediately before reading the barcode 1 and the section 18 immediately after reading the barcode 1, the first signal C
Since the level of the second signal D is lower than that of the second signal D, the comparison circuit 20 outputs the second signal D as the third signal E.
And the binarization circuit 15 binarizes the analog signal 8 using the occasional level of the second signal D as a threshold.
The level of the third signal E in this section is shown in FIG.
As shown in, since it is lower than the level of the analog signal 8 vibrating due to dirt on the barcode, noise, etc.,
Unlike in the conventional case, erroneous binarized output is not generated in the sections 17 and 18. In the target bar code section 24, the third signal E becomes the same first signal C as the conventional one, and the binarization circuit 15 performs the binarization with the same threshold value as the conventional one.
このように減算回路19と比較回路20を付加して2値化回
路15の閾値を切り換えることによって、バーコード読み
取り時の最初のスタートマージンを得ることができ、バ
ーコードの汚れ、ノイズなどによってアナログ信号8が
振動していても、目的のバーコードに対応した正確な2
値化出力を得ることができる。By thus adding the subtraction circuit 19 and the comparison circuit 20 and switching the threshold value of the binarization circuit 15, it is possible to obtain the first start margin at the time of reading the bar code, and the analog due to the dirt and noise of the bar code. Even if the signal 8 is vibrating, the correct 2
A digitized output can be obtained.
発明の効果 以上のように本発明によると、2値化すべきアナログ信
号から得られる正、負のエンベロープ信号の中間電位の
第1の信号を出力する分圧回路と、エンベロープ回路の
出力に発生する正のエンベロープ信号から所定レベルだ
け低い電位の第2の信号を出力す減算回路と、第1の信
号と第2の信号のうちの時々のレベルの低い方の信号を
選択して出力する比較回路とを設けて、2値化回路の閾
値を切り換えるように構成したため、浮動スライスレベ
ル方式であっても、スタートマージンを従来よりも大き
くすることができ、バーコードの汚れ、ノイズなどによ
って2値化すべきアナログ信号が振動していても目的の
バーコードに対応した正確な2値化出力を得ることがで
き、バーコード読み取り装置における読み取りミス、読
み取り困難な状態の回避に寄与でき、2値化の制度を上
げることができる。EFFECTS OF THE INVENTION As described above, according to the present invention, the voltage dividing circuit for outputting the first signal of the intermediate potential of the positive and negative envelope signals obtained from the analog signal to be binarized and the output of the envelope circuit are generated. A subtraction circuit for outputting a second signal having a potential lower by a predetermined level from the positive envelope signal, and a comparison circuit for selecting and outputting a signal having a lower level of the first signal and the second signal from time to time. Since the threshold value of the binarization circuit is switched by providing the and, the start margin can be made larger than before even in the floating slice level system, and binarization is performed due to barcode stains, noise, etc. Even if the analog signal that should be oscillated, accurate binary output corresponding to the target barcode can be obtained, and reading error and reading in the barcode reading device It can contribute to avoiding difficult situations and improve the binarization system.
第1図は本発明のバーコード検出装置の一実施例のブロ
ック図、第2図は同装置の具体的な構成図、第3図は同
装置における2値化処理の閾値の説明図、第4図は従来
のバーコード検出装置のブロック図、第5図は同装置の
具体的な構成図、第6図は2値化すべきアナログ信号が
振動していない場合の2値化処理の説明図、第7図は2
値化すべきアナログ信号が振動している場合の2値化処
理の説明図である。 1……バーコード、8……アナログ信号、9……バーコ
ード検出装置、11……エンベロープ回路、14……分圧回
路、15……2値化回路、19……減算回路、20……比較回
路、A……正のエンベロープ信号、B……負のエンベロ
ープ信号、C……第1の信号、D……第2の信号。FIG. 1 is a block diagram of an embodiment of a bar code detecting device of the present invention, FIG. 2 is a concrete configuration diagram of the device, and FIG. 3 is an explanatory view of a threshold value of a binarizing process in the device, FIG. FIG. 4 is a block diagram of a conventional bar code detecting device, FIG. 5 is a specific configuration diagram of the device, and FIG. 6 is an explanatory diagram of binarization processing when an analog signal to be binarized does not vibrate. , Fig. 7 shows 2
It is explanatory drawing of the binarization process when the analog signal which should be digitized vibrates. 1 ... bar code, 8 ... analog signal, 9 ... bar code detection device, 11 ... envelope circuit, 14 ... divider circuit, 15 ... binarization circuit, 19 ... subtraction circuit, 20 ... Comparator circuit, A ... Positive envelope signal, B ... Negative envelope signal, C ... First signal, D ... Second signal.
───────────────────────────────────────────────────── フロントページの続き (72)発明者 徳村 直継 大阪府門真市大字門真1006番地 松下電器 産業株式会社内 (56)参考文献 特開 昭60−157677(JP,A) 特開 昭61−255478(JP,A) 特開 昭56−115023(JP,A) ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Naoto Tsukumura 1006 Kadoma, Kadoma City, Osaka Prefecture Matsushita Electric Industrial Co., Ltd. (56) References JP 60-157677 (JP, A) JP 61- 255478 (JP, A) JP 56-115023 (JP, A)
Claims (1)
アナログ信号の正のエンベロープ信号と負のエンベロー
プ信号を検出するエンベロープ回路と、エンベロープ回
路の出力に発生する正,負のエンベロープ信号の出力電
位を分圧して2つのエンベロープ信号の中間電位の第1
の信号を出力する分圧回路と、エンベロープ回路の出力
に発生する正のエンベロープ信号から所定レベルだけ低
い電位の第2の信号を出力する減算回路と、第1の信号
と第2の信号のうちの時々のレベルの低い方の信号を選
択して出力する比較回路と、比較回路の出力に発生する
出力電位を閾値として前記アナログ信号を2値化する2
値化回路とを設けたバーコード検出装置。1. An envelope circuit for detecting a positive envelope signal and a negative envelope signal of an analog signal obtained by bar code reading scanning, and an output potential of the positive and negative envelope signals generated at the output of the envelope circuit. The first potential of the intermediate potential of the two envelope signals
Of the first signal and the second signal of the voltage dividing circuit for outputting the signal of, the subtraction circuit for outputting the second signal of the potential lower by a predetermined level from the positive envelope signal generated at the output of the envelope circuit. And a comparator circuit that selects and outputs the signal having the lower level at each time, and binarizes the analog signal by using the output potential generated at the output of the comparator circuit as a threshold value.
A bar code detecting device provided with a digitizing circuit.
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 JPH0192888A (en) | 1989-04-12 |
| JPH07101428B2 true 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) |
Families Citing this family (1)
| 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 |
Family Cites Families (2)
| 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 |
-
1987
- 1987-10-02 JP JP62250478A patent/JPH07101428B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPH0192888A (en) | 1989-04-12 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR100531053B1 (en) | Track Detection Circuit of Optical Disc Player | |
| US6499662B1 (en) | Fast edge detection system tolerant of high degree of intersymbol interference | |
| KR940001000A (en) | Adaptive bar code scanner | |
| JP2815290B2 (en) | Binarization device in barcode reader | |
| JPH07101429B2 (en) | Barcode reader analog signal processing method | |
| JPH0564395B2 (en) | ||
| JPH07101428B2 (en) | Bar code detector | |
| US5506411A (en) | Optical reader with improved response to change in reflected signal | |
| US6202928B1 (en) | Optical device for reading and decoding a barcode | |
| JP2849311B2 (en) | Optical reader | |
| JP2716298B2 (en) | Barcode signal binarization device | |
| JPH04245581A (en) | Scanning speed detecting device and symbol reader using it | |
| US6196462B1 (en) | Optical device for reading and decoding bars of different reflectivity arranged in accordance with a barcode and adjoining one another | |
| JP2748681B2 (en) | Barcode connection method | |
| JPS629956B2 (en) | ||
| JP2576370B2 (en) | ID mark reading device | |
| JP2517661B2 (en) | Binarization device | |
| JP2735667B2 (en) | Detection control circuit | |
| JP5284115B2 (en) | Bar code reader | |
| JP2745945B2 (en) | Barcode detection device | |
| JP2630384B2 (en) | Image reading device | |
| JPH02100782A (en) | Bar code reader | |
| JPS5935065B2 (en) | How to read pattern information | |
| JPH0743117A (en) | Optical size measurement device | |
| JPH10149408A (en) | Code information reading device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| EXPY | Cancellation because of completion of term |