JPH0543152B2 - - Google Patents

Info

Publication number
JPH0543152B2
JPH0543152B2 JP61123940A JP12394086A JPH0543152B2 JP H0543152 B2 JPH0543152 B2 JP H0543152B2 JP 61123940 A JP61123940 A JP 61123940A JP 12394086 A JP12394086 A JP 12394086A JP H0543152 B2 JPH0543152 B2 JP H0543152B2
Authority
JP
Japan
Prior art keywords
output
circuit
image sensor
barcode
microprocessor
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
Application number
JP61123940A
Other languages
Japanese (ja)
Other versions
JPS62279479A (en
Inventor
Keiichi Kobayashi
Seiichiro Tamai
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 JP61123940A priority Critical patent/JPS62279479A/en
Publication of JPS62279479A publication Critical patent/JPS62279479A/en
Publication of JPH0543152B2 publication Critical patent/JPH0543152B2/ja
Granted legal-status Critical Current

Links

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、イメージセンサを用いバーコード上
を光学的に走査し、バーコードを読み取るバーコ
ード読取装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION Field of Industrial Application The present invention relates to a barcode reading device that optically scans a barcode using an image sensor and reads the barcode.

従来の技術 従来のバーコード読取装置の構成を第4図に示
す。第4図において、41はバーコードデータを
映像信号に変換するイメージセンサ、42は前記
映像信号を増幅する増幅回路、43は前記増幅回
路出力からノイズ成分を除却する波形整形回路、
44は前記波形整形回路出力波形をデジタル信号
レベルに変換する2値化回路、45は前記2値化
回路出力を取り込みバーコード解読処理を行うマ
イクロプロセツサ、46は前記イメージセンサの
駆動パルスを出力するタイミング発生回路、47
は前記波形整形回路出力のピーク値を検出しホー
ルドするピークホールド回路、48は前記ピーク
ホールド出力をデジタル信号レベルに変換する
A/Dコンバータである。イメージセンサを用い
たバーコード読取装置でバーコードラベルを読み
取つた場合、同一バーコードラベルの重複読み取
りを防ぐため、イメージセンサ視野からバーコー
ドラベルがはずれたことを検出する処理、重複読
み取り防止処理を行う。第5図にイメージセンサ
を用いた上記バーコード読取装置の動作フローを
示す。バーコード読み取り終了後、バーコードラ
ベルの映像信号のピーク値(第6図aのア)をピ
ークホールド回路47で検出し、A/Dコンバー
タ48により、そのピーク値をデジタル信号レベ
ルに変換し、ポート49より、マイクロプロセツ
サ5へ取り込み記憶する。以後、マイクロプロセ
ツサ45は、前記映像信号のピーク値検出、取り
込み処理を繰り返し、前記取り込み値が前記記憶
値より小となつた場合に、前記読み取りバーコー
ドラベルがイメージセンサ視野からはずれたと判
定していた。
Prior Art The configuration of a conventional barcode reading device is shown in FIG. In FIG. 4, 41 is an image sensor that converts barcode data into a video signal, 42 is an amplifier circuit that amplifies the video signal, 43 is a waveform shaping circuit that removes noise components from the output of the amplifier circuit,
44 is a binarization circuit that converts the output waveform of the waveform shaping circuit into a digital signal level, 45 is a microprocessor that takes in the output of the binarization circuit and performs barcode decoding processing, and 46 outputs drive pulses for the image sensor. timing generation circuit, 47
48 is a peak hold circuit that detects and holds the peak value of the output of the waveform shaping circuit, and 48 is an A/D converter that converts the peak hold output into a digital signal level. When reading a barcode label with a barcode reading device that uses an image sensor, in order to prevent the same barcode label from being read twice, a process to detect when the barcode label is removed from the field of view of the image sensor and a process to prevent duplicate readings are implemented. conduct. FIG. 5 shows the operation flow of the barcode reading device using an image sensor. After reading the barcode, the peak value of the video signal of the barcode label (a in FIG. 6a) is detected by the peak hold circuit 47, and the peak value is converted to a digital signal level by the A/D converter 48. The data is taken into the microprocessor 5 through the port 49 and stored. Thereafter, the microprocessor 45 repeats the peak value detection and capture processing of the video signal, and when the captured value becomes smaller than the stored value, it determines that the read barcode label has moved out of the field of view of the image sensor. was.

発明が解決しようとする問題点 しかし、映像信号のピーク値を検出しマイクロ
プロセツサ45に取り込むため、ピークホールド
回路47、A/Dコンバータ48等付加回路が必
要であり、またバーコード読み取り終了後、イメ
ージセンサ視野に照明光等の外乱光が入射した場
合、映像信号出力は第6図bに示すような波形と
なり、ピーク値イが、同図aのピーク値アより大
となつた場合、バーコード読取装置はバーコード
ラベルがイメージセンサ視野からはずれたという
判定処理が行えないという欠点を有していた。
Problems to be Solved by the Invention However, in order to detect the peak value of the video signal and input it into the microprocessor 45, additional circuits such as a peak hold circuit 47 and an A/D converter 48 are required. When disturbance light such as illumination light enters the field of view of the image sensor, the video signal output has a waveform as shown in Figure 6b, and if the peak value A becomes larger than the peak value A in Figure 6a, The barcode reading device has a drawback in that it cannot determine whether the barcode label has moved out of the field of view of the image sensor.

問題点を解決するための手段 上記問題を解決するための本発明のバーコード
読取装置は、バーコード上を走査し映像信号に変
換するイメージセンサと、前記イメージセンサ
と、前記イメージセンサの出力の映像信号を増幅
する増幅回路と、前記増幅回路の出力から低周波
成分ノイズ、高周波成分ノイズを除去する波形整
形回路と、前記波形整形回路の出力をデジタル信
号レベルに変換する2値化回路と、前記2値化回
路の出力を取り込み前記バーコードの解読処理を
行うマイクロプロセツサとを具備し、前記マイク
ロプロセツサは前記バーコード解読処理終了後、
前記2値化回路出力を再び前記マイクロプロセツ
サに取り込む第1手段と、前記取り込みデータの
バー本数をカウントする第2手段と、前記カウン
ト値が所定の値より小か否かを判定する第3手段
を具備し、前記判定結果が所定の回数以上連続で
小の場合、前記バーコードラベルが、前記イメー
ジセンサ視野からはずれたを判定するものであ
る。
Means for Solving the Problems A barcode reading device of the present invention for solving the above problems includes an image sensor that scans a barcode and converts it into a video signal, the image sensor, and an output signal of the image sensor. an amplifier circuit that amplifies a video signal; a waveform shaping circuit that removes low frequency component noise and high frequency component noise from the output of the amplifier circuit; and a binarization circuit that converts the output of the waveform shaping circuit into a digital signal level; and a microprocessor that takes in the output of the binarization circuit and decodes the barcode, and after the barcode decoding process is completed, the microprocessor
a first means for capturing the output of the binarization circuit into the microprocessor again; a second means for counting the number of bars of the captured data; and a third means for determining whether the count value is smaller than a predetermined value. The barcode label is provided with a means for determining whether the barcode label is out of the field of view of the image sensor when the determination result is small continuously for a predetermined number of times or more.

作 用 上記構成により、イメージセンサ出力の映像信
号のバー本数検出状態よりバーコードラベルの有
無を判定するため、ピークホールド回路、A/D
コンバータなどの付加回路を用いず、またイメー
ジセンサ視野内に外乱光が入射した場合でも、バ
ーコードラベルが視野からはずれたことを検出す
ることが可能である。
Effect With the above configuration, in order to determine the presence or absence of a barcode label from the bar number detection state of the video signal output from the image sensor, a peak hold circuit, an A/D
It is possible to detect that the barcode label has moved out of the field of view without using an additional circuit such as a converter, and even when ambient light enters the field of view of the image sensor.

実施例 第1図は本発明のバーコード読取装置の一実施
例の構成図である。第1図において、1はイメー
ジセンサ、2はイメージセンサ1の出力を増幅す
る増幅回路、3は増幅回路2の出力よりノイズ成
分を除去する波形整形回路、4は波形整形回路3
の出力をデジタル信号レベルに変換する2値化回
路、5はバーコード解読処理を行うマイクロプロ
セツサ、51は2値化回路4の出力をマイクロプ
ロセツサ5に取り込む入力ポート、52はクロツ
クパルスを出力する出力ポート、6は前記クロツ
クパルスよりイメージセンサ駆動信号を発生する
タイミング発生回路である。第2図は第1図の構
成をより具体的に示す例である。イメージセンサ
1は1次元CCD(Charge Coupled Device)を用
い、増幅回路2、波形整形回路3,2値化回路4
は演算増幅器等から構成している。7はイメージ
センサ1上にバーコードラベル8を結像させる集
光レンズである。上記構成において、イメージセ
ンサ1上に結像されたバーコード情報は、イメー
ジセンサ1で映像信号に変換され、増幅回路2で
増幅される。増幅回路2の出力は波形整形回路3
で高周波成分ノイズ、低周波成分ノイズを除去さ
れ、2値化回路4でデジタル信号レベルに変換さ
れる。マイクロプロセツサ5は第3図に示すフロ
ーに従つて、まず前記2値化回路4の出力を取り
込み(ステツプI)、前記バーコードラベル8の
解読処理を行う(ステツプ)。ステツプにお
いて、解読が不可能の場合は再び2値化回路4の
出力を取り込み、バーコードラベル8の解読処理
を行う。ステツプにおいて、解読が終了の場合
は、ループカウンタxをクリア(x=0)し(ス
テツプ)2値化回路4の出力を取り込む(ステ
ツプ)第1の手段と、取り込みデータ内バー本
数のカウント処理を行う(ステツプ)第2の手
段と、カウント結果を所定の値mと比較する(ス
テツプ)第3の手段を実行する。カウント値が
m以下であればループカウンタのインクリメント
(x+1)の処理を行い(ステツプ)、ループカ
ウンタの値xが所定の値nより大きくなるまで同
様の処理(ステツプ)を繰り返す。以上の繰り
返し処理で、比較結果小がn回連続で続いた場
合、前記バーコードラベル8がイメージセンサ1
の視野からはずれたと判定し、バーコード読み取
り処理を終了とする(ステツプX)。
Embodiment FIG. 1 is a block diagram of an embodiment of a barcode reading device of the present invention. In FIG. 1, 1 is an image sensor, 2 is an amplifier circuit that amplifies the output of the image sensor 1, 3 is a waveform shaping circuit that removes noise components from the output of the amplifier circuit 2, and 4 is a waveform shaping circuit 3.
5 is a microprocessor that performs barcode decoding processing; 51 is an input port that takes the output of the binarization circuit 4 into the microprocessor 5; 52 is a clock pulse output. The output port 6 is a timing generation circuit that generates an image sensor drive signal from the clock pulse. FIG. 2 is an example showing the configuration of FIG. 1 more specifically. The image sensor 1 uses a one-dimensional CCD (Charge Coupled Device), and includes an amplifier circuit 2, a waveform shaping circuit 3, and a binarization circuit 4.
consists of operational amplifiers, etc. 7 is a condensing lens that forms an image of the barcode label 8 on the image sensor 1. In the above configuration, barcode information imaged on the image sensor 1 is converted into a video signal by the image sensor 1 and amplified by the amplifier circuit 2. The output of the amplifier circuit 2 is sent to the waveform shaping circuit 3
High frequency component noise and low frequency component noise are removed from the signal, and the signal is converted to a digital signal level by a binarization circuit 4. In accordance with the flow shown in FIG. 3, the microprocessor 5 first takes in the output of the binarization circuit 4 (step I) and decodes the barcode label 8 (step). In the step, if decoding is impossible, the output of the binarization circuit 4 is taken in again and the bar code label 8 is decoded. In the step, when the decoding is completed, the loop counter x is cleared (x = 0) (step) and the output of the binarization circuit 4 is taken in (step). (step) and a third means to compare the count result with a predetermined value m (step). If the count value is less than or equal to m, the loop counter is incremented by (x+1) (step), and the same process (step) is repeated until the value x of the loop counter becomes greater than a predetermined value n. In the above-described repeated processing, if the comparison result is "small" n times in a row, the barcode label 8 is
It is determined that the barcode is out of the field of view, and the barcode reading process is terminated (step X).

本実施例で、約100点のバーコードラベルに対
し読み取り試験を行つた結果、重複読み取りは1
度も発生しなかつた。
In this example, as a result of reading tests on approximately 100 barcode labels, there was only 1 duplicate reading.
It never occurred.

発明の効果 以上のように、本発明によれば、、バーコード
ラベルを読み取つた後にも、同一コード重複読み
取りを防止する優れた効果を奏する。
Effects of the Invention As described above, according to the present invention, even after reading a barcode label, there is an excellent effect of preventing the same code from being read repeatedly.

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

第1図は本発明の一実施例を示すバーコード読
取装置のブロツク構成図、第2図は同装置の具体
的な回路図、第3図は同装置の処理動作を示すフ
ローチヤート、第4図は従来のバーコード読取装
置のブロツク構成図、第5図は同装置の処理動作
を示すフローチヤート、第6図は同装置の要部信
号波形図である。 1……イメージセンサ、2……増幅回路、3…
…波形整形回路、4……2値化回路、5……マイ
クロプロセツサ、6……タイミング発生回路。
FIG. 1 is a block diagram of a barcode reading device showing an embodiment of the present invention, FIG. 2 is a specific circuit diagram of the same device, FIG. 3 is a flowchart showing the processing operation of the device, and FIG. 5 is a block diagram of a conventional bar code reading device, FIG. 5 is a flowchart showing the processing operation of the device, and FIG. 6 is a signal waveform diagram of the main parts of the device. 1... Image sensor, 2... Amplification circuit, 3...
... Waveform shaping circuit, 4 ... Binarization circuit, 5 ... Microprocessor, 6 ... Timing generation circuit.

Claims (1)

【特許請求の範囲】[Claims] 1 バーコード上を走査し映像信号に変換するイ
メージセンサと、前記イメージセンサの出力の映
像信号を増幅する増幅回路と、前記増幅回路の出
力から低周波成分ノイズと高周波成分ノイズを除
去する波形整形回路と、前記波形整形回路の出力
をデジタル信号レベルに変換する2値化回路と、
前記2値化回路の出力を取り込み前記バーコード
の解読処理を行うマイクロプロセツサを具備し、
前記マイクロプロセツサは前記バーコード解読処
理終了後、前記2値化回路の出力を再び前記マイ
クロプロセツサに取り込む第1手段と、前記取り
込みデータのバー本数をカウントする第2手段
と、前記カウント値が所定の値より小か否かを判
定する第3手段を具備し、前記判定結果が所定の
回数以上連続で小の場合、前記バーコードラベル
が前記イメージセンサ視野からはずれたことを判
定するバーコード読取装置。
1 An image sensor that scans a barcode and converts it into a video signal, an amplifier circuit that amplifies the video signal output from the image sensor, and waveform shaping that removes low frequency component noise and high frequency component noise from the output of the amplifier circuit. a binarization circuit that converts the output of the waveform shaping circuit into a digital signal level;
comprising a microprocessor that takes in the output of the binarization circuit and processes the barcode decoding;
After the barcode decoding process is completed, the microprocessor includes a first means for inputting the output of the binarization circuit into the microprocessor again, a second means for counting the number of bars of the input data, and a count value. is smaller than a predetermined value, and if the determination result is smaller than a predetermined number of times in succession, the bar code label is determined to have moved out of the field of view of the image sensor. Code reader.
JP61123940A 1986-05-29 1986-05-29 Bar-code reader Granted JPS62279479A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61123940A JPS62279479A (en) 1986-05-29 1986-05-29 Bar-code reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61123940A JPS62279479A (en) 1986-05-29 1986-05-29 Bar-code reader

Publications (2)

Publication Number Publication Date
JPS62279479A JPS62279479A (en) 1987-12-04
JPH0543152B2 true JPH0543152B2 (en) 1993-06-30

Family

ID=14873114

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61123940A Granted JPS62279479A (en) 1986-05-29 1986-05-29 Bar-code reader

Country Status (1)

Country Link
JP (1) JPS62279479A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1992021100A1 (en) * 1991-05-10 1992-11-26 Ape Inc. Bar code reader and game device using the same

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5263625A (en) * 1975-11-19 1977-05-26 Nippon Denso Co Ltd Bar code reader
JPS58139275A (en) * 1982-02-10 1983-08-18 Omron Tateisi Electronics Co Bar-code reader

Also Published As

Publication number Publication date
JPS62279479A (en) 1987-12-04

Similar Documents

Publication Publication Date Title
JPS61115179A (en) Bar code reader
EP1114391B1 (en) Fast edge detection system tolerant of high degree of intersymbol interference
JPH0684004A (en) Bar code reader
JP2815290B2 (en) Binarization device in barcode reader
EP0965097B1 (en) Symbology scanning system for efficiently locating coded symbologies
JP2746501B2 (en) Barcode reader
JPH0543152B2 (en)
US7201322B2 (en) System, circuit, and method for edge detection in a binary optical code
US20050274809A1 (en) System, circuit, and method for edge detection in a binary optical code
JP2923375B2 (en) Barcode reader
JPS61193273A (en) Barcode reader
JPH0576071B2 (en)
JP2878960B2 (en) Barcode reader signal processing circuit
JPH0765104A (en) Bar code reader
JP2890935B2 (en) Portable optical information reader
JP2733951B2 (en) Barcode reader
JP2748681B2 (en) Barcode connection method
JPS63266585A (en) Readout control system
JPH02100782A (en) Bar code reader
JP2001312715A (en) Optical information reader
JPS61193274A (en) Bar code reader
JP2000293617A (en) Optical information reader
JP2816915B2 (en) Barcode reader and method
JPH10320496A (en) Bar code reader
JPH061503B2 (en) Optical reader

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term