JPH056455A - Pulse noise eliminating circuit - Google Patents

Pulse noise eliminating circuit

Info

Publication number
JPH056455A
JPH056455A JP3181573A JP18157391A JPH056455A JP H056455 A JPH056455 A JP H056455A JP 3181573 A JP3181573 A JP 3181573A JP 18157391 A JP18157391 A JP 18157391A JP H056455 A JPH056455 A JP H056455A
Authority
JP
Japan
Prior art keywords
data
noise
output
outputs
shift register
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
JP3181573A
Other languages
Japanese (ja)
Inventor
Masaki Sato
正喜 佐藤
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.)
Ricoh Research Institute of General Electronics Co Ltd
Tohoku Ricoh Co Ltd
Original Assignee
Ricoh Research Institute of General Electronics Co Ltd
Tohoku Ricoh 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 Ricoh Research Institute of General Electronics Co Ltd, Tohoku Ricoh Co Ltd filed Critical Ricoh Research Institute of General Electronics Co Ltd
Priority to JP3181573A priority Critical patent/JPH056455A/en
Publication of JPH056455A publication Critical patent/JPH056455A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To eliminate the noise of a void, a spot, or the like by selecting one data line by the majority logic of parallel signals to set a maximum noise width in accordance with the size of a bar code different in size. CONSTITUTION:A shift register 1 which takes one-dimensional serial digital data as the input and outputs the result of shift operation in parallel synchronously with a reference clock and a multibit output digital memory 2 which has address lines connected to respective parallel outputs of the shift register 1 to constitute a majority logic gate are provided. A circuit consists of a data selector 3 which selects one data line from outputs of the digital memory 2 and a data latch 4 where the memory output of one data line selected by the data selector 3 is held synchronously with the reference clock.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、バーコード読取装置に
用いるに好適なパルスノイズ除去回路に関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a pulse noise removing circuit suitable for use in a bar code reader.

【0002】[0002]

【従来の技術】近年、殆どの流通商品は、在庫管理のた
めにバーコードが用いられている。このバーコードは細
線と太線、及び本数の組み合わせからなり、商品などの
表面に印刷あるいは貼付されている。このバーコード
は、一般に赤外線を用いたバーコードスキャナを用いて
読み取られる。スーパーマーケットなどの小売店で使わ
れるレジスタなどでは、据置型のバーコードリーダを用
いる場合が多いが、顧客との間で金銭を扱うことから正
確な読み取りが要求される。この種のバーコードリーダ
にあっては、バーコードの汚れや傷が付着することに起
因して「ボイド」や「スポット」と呼ばれる白地に黒、
あるいは黒地に白のノイズが混入する。このようなノイ
ズを含んだバーコードデータをスキャナで読み取ると、
読取率の低下あるいは誤読をする恐れがある。そこで、
このノイズを除去するために、ノイズ除去手段を設ける
ことが考えられる。
2. Description of the Related Art In recent years, bar codes have been used for inventory management for most of commercial products. This bar code is made up of a combination of thin lines, thick lines, and the number of lines, and is printed or attached to the surface of a product or the like. This bar code is generally read using a bar code scanner using infrared rays. In a register used in a retail store such as a supermarket, a stationary bar code reader is often used, but an accurate reading is required because money is dealt with a customer. In this type of barcode reader, due to the stains and scratches on the barcode, black on a white background called "void" or "spot",
Or white noise is mixed in on a black background. If you scan the barcode data containing such noise with a scanner,
There is a risk that the reading rate will decrease or that the data will be misread. Therefore,
In order to remove this noise, it is possible to provide a noise removing means.

【0003】この手段として、例えば、多数決論理を用
いた構成が提案されている。この方法は、入力される一
次元のシリアルデジタルデータを基準クロックに同期し
てシフトを行うと共にパラレルに信号を出力するシフト
レジスタと、該シフトレジスタのパラレル出力をアドレ
ス線を介して入力する多数決論理ゲート構成のデータメ
モリと、該デジタルメモリの出力を前記基準クロックに
同期して保持するデータラッチとを設けて構成されてい
る。
As a means for this, for example, a configuration using majority logic has been proposed. This method is a shift register that shifts input one-dimensional serial digital data in synchronization with a reference clock and outputs a signal in parallel, and a majority logic that inputs the parallel output of the shift register through an address line. A data memory having a gate structure and a data latch that holds the output of the digital memory in synchronization with the reference clock are provided.

【0004】[0004]

【発明が解決しようとする課題】しかし、上記した従来
技術にあっては、多数決の入力数が固定であるため、除
去できるノイズ幅の大きさが定まってしまう。また、ス
キャナから出力されるバーコードシンボルの大きさの許
容範囲は規格値の0.8〜2.828倍になっており、
バー方向とスキャナの走査軌跡との角度によりバー幅の
大きさは、さらに1.0〜1.414倍まで変化し、結
局、スキャナ出力であるバーコードイメージデータは1
モジュールの幅(1番細いバー幅)が規格値の0.8〜
2.0倍まで存在する。理想的には各々のイメージデー
タの大きさに合わせて除去できるノイズ幅の大きさも変
化すべきであるが、現状ではこの問題が未解決である。
However, in the above-mentioned prior art, since the number of inputs of the majority decision is fixed, the size of the noise width that can be removed is determined. In addition, the allowable range of the size of the barcode symbol output from the scanner is 0.8 to 2.828 times the standard value,
The bar width further changes from 1.0 to 1.414 times depending on the angle between the bar direction and the scanning locus of the scanner, and the bar code image data output from the scanner is 1 after all.
Module width (the narrowest bar width) is 0.8 to the standard value
It exists up to 2.0 times. Ideally, the size of the noise width that can be removed should also change according to the size of each image data, but at present, this problem has not been solved.

【0005】そこで、本発明の目的は、種々の大きさの
バーコードに対し、その大きさに対応して最大ノイズ幅
を設定できるようにし、ボイド、スポットなどのノイズ
を除去できるようにしたパルスノイズ除去回路を提供す
ることにある。
Therefore, an object of the present invention is to provide a pulse code capable of setting the maximum noise width for bar codes of various sizes and removing noises such as voids and spots. It is to provide a noise removing circuit.

【0006】[0006]

【課題を解決するための手段】上記目的を達成するため
に、本発明は、1次元のシリアルデジタルデータを入力
とし、基準クロックに同期してシフト動作を行った結果
をパラレルに出力するシフトレジスタと、該シフトレジ
スタのパラレル出力の各々にアドレス線が接続されて多
数決論理ゲートを構成する多ビット出力のデジタルメモ
リと、該デジタルメモリの出力中から1本のデータ線を
選択するデータセレクタと、該データセレクタによって
選択された1本のデータ線のメモリ出力を基準クロック
に同期して保持するデータラッチとを設けるようにして
いる。
In order to achieve the above object, the present invention provides a shift register which receives one-dimensional serial digital data as input and outputs in parallel the result of a shift operation in synchronization with a reference clock. A multi-bit output digital memory in which an address line is connected to each of the parallel outputs of the shift register to form a majority logic gate; and a data selector that selects one data line from the outputs of the digital memory, A data latch for holding the memory output of one data line selected by the data selector in synchronization with the reference clock is provided.

【0007】[0007]

【作用】上記した手段によれば、ノイズを含むイメージ
データが取り込まれる毎にシフトレジスタの内部で1ビ
ットのシフト動作が行われ、そのパラレル出力は各種の
入力数Lにおける多数決論理の結果がプログラミングさ
れたM入力多数決論理ゲートであるデジタルメモリのア
ドレス線に印加されてイメージデータ内のパルスノイズ
が除去される。したがって、バーコードラベルの大きさ
に応じて適切に、ボイド、スポットなどのパルスノイズ
を入力信号中から除去することができ、読取精度の向上
及び誤読み取りの低減を図ることができる。
According to the above means, a 1-bit shift operation is performed inside the shift register each time image data containing noise is captured, and the parallel output is programmed by the result of the majority logic in various input numbers L. The pulse noise in the image data is removed by being applied to the address line of the digital memory which is the M-input majority logic gate. Therefore, pulse noises such as voids and spots can be appropriately removed from the input signal according to the size of the barcode label, and reading accuracy can be improved and erroneous reading can be reduced.

【0008】[0008]

【実施例】以下、本発明の実施例について図面を参照し
ながら説明する。図1は本発明によるパルスノイズ除去
回路の一実施例を示す回路図である。一次元のシリアル
デジタルデータを入力とし、パラレル出力信号を出力す
るシフトレジスタ(SIPO−SR)1には、デジタル
メモリ(ROM:リード・オンリー・メモリ)2のアド
レス線1〜Mが接続されている。また、デジタルメモリ
2には、メモリ出力が多ビット用意されており、これら
の中から1本のビットデータを選択するデータセレクタ
(DS)3が接続されている。このデジタルメモリ2に
は、基準クロックに同期して選択されたデータ線のメモ
リ出力を保持するためのデータラッチ(LAT)4が接
続されている。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a circuit diagram showing an embodiment of a pulse noise removing circuit according to the present invention. Address lines 1 to M of a digital memory (ROM: read only memory) 2 are connected to a shift register (SIPO-SR) 1 that receives one-dimensional serial digital data and outputs a parallel output signal. .. The digital memory 2 is provided with multi-bit memory outputs, and a data selector (DS) 3 for selecting one bit data from these is connected. A data latch (LAT) 4 for holding the memory output of the selected data line in synchronization with the reference clock is connected to the digital memory 2.

【0009】次に、以上の構成による実施例の動作につ
いて図2のタイミングチャートを参照して説明する。図
中、Nはパルスノイズ、Sはノイズを含まない原信号、
RCはキャラクタビット読み取りクロック、S+Nはパ
ルスノイズが混入した実際のイメージデータを各々示し
ている。また、“1010”はキャラクタビット列の一
部であり、キャラクタビットの1ビット分の波形の長さ
を1モジュールとしている。
Next, the operation of the embodiment having the above configuration will be described with reference to the timing chart of FIG. In the figure, N is pulse noise, S is the original signal without noise,
RC indicates a character bit reading clock, and S + N indicates actual image data mixed with pulse noise. Further, "1010" is a part of the character bit string, and the length of the waveform for one bit of the character bit is one module.

【0010】バーコードスキャナからの実際のイメージ
データ(S+N)が、シリアル入力/パラレル出力型の
シフトレジスタ1へ基準クロックCLKに同期して取り
込まれる。イメージデータ(S+N)が取り込まれる毎
に、シフトレジスタ1の内部で1ビットのシフト動作が
行われる。シフトレジスタ1のM本(奇数)のパラレル
出力は、M入力多数決論理ゲートを構成するデジタルメ
モリ2のアドレス線に接続され、イメージデータ内のパ
ルスノイズを除去する。なお、入力数Mは、1モジュー
ル当たりのクロック数の2/3以下に設定する。
Actual image data (S + N) from the bar code scanner is fetched into the serial input / parallel output type shift register 1 in synchronization with the reference clock CLK. Every time the image data (S + N) is fetched, a 1-bit shift operation is performed inside the shift register 1. The M (odd) parallel outputs of the shift register 1 are connected to the address lines of the digital memory 2 which constitutes the M-input majority logic gate, and remove the pulse noise in the image data. The number of inputs M is set to 2/3 or less of the number of clocks per module.

【0011】デジタルメモリ2では、このゲートをイメ
ージデータが通過すると、最大(M−1)/2のクロッ
ク幅のノイズパルスまでを除去することができる。すな
わち、デジタルメモリ2は、仮に5ビット単位の多数決
論理においてノイズ分が2ビット以下である場合、例え
ば、“00011”が多数決論理によって“0”にな
り、ノイズが除去された形になる。ここでは説明の便宜
上簡単に述べたが、実際のデジタルメモリ2のメモリ内
部では、図3に示すアドレス部の内容により、各種の入
力数Lにおける多数決論理の結果がプログラミングさ
れ、これらのJ個の結果が同時にパラレルにデータ部へ
出力される。したがって、ハードウェア上はM本のデー
タ線がメモリに接続されており、多数決論理の入力数L
は最大Mまで可変(奇数)できるため、(L−1)/2
のクロック幅のノイズパルスを除去することが可能であ
る。さらに、データセレクタ3により、デコーダによっ
て実時間で認知される1モジュール幅データに応じて、
J個の内の一本がSEL信号により即座に選択される。
この選択された結果は、基準クロックCLKに同期して
データラッチ4に保持され、その出力はパルスノイズN
の除去されたバーコードイメージデータS′になる。
In the digital memory 2, when the image data passes through this gate, it is possible to remove even noise pulses having a maximum (M-1) / 2 clock width. That is, in the digital memory 2, if the noise component is 2 bits or less in the majority logic of 5 bits, for example, "00011" becomes "0" by the majority logic and the noise is removed. Although briefly described here for convenience of description, inside the memory of the actual digital memory 2, the result of the majority logic in various input numbers L is programmed by the contents of the address portion shown in FIG. The results are simultaneously output in parallel to the data section. Therefore, on the hardware, M data lines are connected to the memory, and the number of majority logic inputs L
Can be changed (odd) up to M, so (L-1) / 2
It is possible to remove noise pulses having a clock width of. Furthermore, according to the 1-module width data recognized by the decoder in real time by the data selector 3,
One of J is immediately selected by the SEL signal.
The selected result is held in the data latch 4 in synchronization with the reference clock CLK, and its output is pulse noise N
Becomes the bar code image data S '.

【0012】図4はパルスノイズNが原信号Sのレベル
変化点より離れて存在する場合のノイズパルス除去状況
を示す説明図である。図4より明らかなように、(L−
1)/2のノイズパルスが完全に除去されることがわか
る。
FIG. 4 is an explanatory view showing a noise pulse elimination situation when the pulse noise N exists apart from the level change point of the original signal S. As is clear from FIG. 4, (L-
It can be seen that the noise pulse of 1) / 2 is completely removed.

【0013】図5はパルスノイズNが原信号Sのレベル
変化点の近傍にある場合のノイズパルス除去状況を示す
説明図である。この場合、ノイズの幅の時間だけ誤差を
含む矩形波になるが、ノイズそのものは除去できるた
め、図1のパルスノイズ除去回路を通すことにより、バ
ーコードのキャラクタビット列信号は、キャラクタビッ
ト読取用クロック(RC)によって正しくデコーダへ伝
えることができる。なお、以上の説明ではバーコードデ
コーダへの適用を例に説明したが、これに限らずパルス
ノイズを含むデジタルデータの全てに適用可能である。
FIG. 5 is an explanatory diagram showing a noise pulse elimination situation when the pulse noise N is near the level change point of the original signal S. In this case, a square wave including an error is generated only in the time of the noise width, but the noise itself can be removed. Therefore, the character bit string signal of the bar code is passed through the pulse noise removing circuit of FIG. (RC) can be correctly transmitted to the decoder. In the above description, the application to the bar code decoder is described as an example, but the present invention is not limited to this and can be applied to all digital data including pulse noise.

【0014】[0014]

【発明の効果】以上説明した通り、この発明は、1次元
のシリアルデジタルデータを入力とし、基準クロックに
同期してシフト動作を行った結果をパラレルに出力する
シフトレジスタと、該シフトレジスタのパラレル出力の
各々にアドレス線が接続されて多数決論理ゲートを構成
する多ビット出力のデジタルメモリと、該デジタルメモ
リの出力中から1本のデータ線を選択するデータセレク
タと、該データセレクタによって選択された1本のデー
タ線のメモリ出力を基準クロックに同期して保持するデ
ータラッチとを設けるようにしたので、ボイド、スポッ
トなどのパルスノイズを入力信号中から除去することが
でき、読み取り精度の向上及び誤読み取りの低減を図る
ことが可能になる。
As described above, according to the present invention, a one-dimensional serial digital data is input, a shift register for outputting a result of a shift operation in synchronization with a reference clock and a parallel output of the shift register. A multi-bit output digital memory in which an address line is connected to each output to form a majority logic gate, a data selector that selects one data line from the outputs of the digital memory, and a data selector that is selected by the data selector Since a data latch that holds the memory output of one data line in synchronization with the reference clock is provided, pulse noise such as voids and spots can be removed from the input signal, which improves reading accuracy. It is possible to reduce erroneous reading.

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

【図1】本発明によるパルスノイズ除去回路の一実施例
を示す回路図である。
FIG. 1 is a circuit diagram showing an embodiment of a pulse noise removing circuit according to the present invention.

【図2】本発明の実施例の動作を示すタイミングチャー
トである。
FIG. 2 is a timing chart showing the operation of the embodiment of the present invention.

【図3】デジタルメモリにおける多数決論理の過程を示
す説明図である。
FIG. 3 is an explanatory diagram showing a process of majority logic in a digital memory.

【図4】パルスノイズNが原信号Sのレベル変化点より
離れて存在する場合のノイズパルス除去状況を示す説明
図である。
FIG. 4 is an explanatory diagram showing a noise pulse removal situation when pulse noise N exists apart from a level change point of an original signal S.

【図5】パルスノイズNが原信号Sのレベル変化点の近
傍にある場合のノイズパルス除去状況を示す説明図であ
る。
FIG. 5 is an explanatory diagram showing a noise pulse elimination situation when the pulse noise N is near the level change point of the original signal S.

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

1 シフトレジスタ 2 デジタルメモリ 3 データセレクタ 4 データラッチ CLK 基準クロック 1 shift register 2 digital memory 3 data selector 4 data latch CLK reference clock

Claims (1)

【特許請求の範囲】 【請求項1】 1次元のシリアルデジタルデータを入力
とし、基準クロックに同期してシフト動作を行った結果
をパラレルに出力するシフトレジスタと、該シフトレジ
スタのパラレル出力の各々にアドレス線が接続されて多
数決論理ゲートを構成する多ビット出力のデジタルメモ
リと、該デジタルメモリの出力中から1本のデータ線を
選択するデータセレクタと、該データセレクタによって
選択された1本のデータ線のメモリ出力を基準クロック
に同期して保持するデータラッチとを具備することを特
徴とするパルスノイズ除去回路。
Claim: What is claimed is: 1. A shift register that receives one-dimensional serial digital data as an input and outputs a result of performing a shift operation in synchronization with a reference clock, and a parallel output of the shift register. A multi-bit output digital memory that is connected to an address line to form a majority logic gate; a data selector that selects one data line from the output of the digital memory; and one data selector that is selected by the data selector. And a data latch that holds a memory output of a data line in synchronization with a reference clock.
JP3181573A 1991-06-27 1991-06-27 Pulse noise eliminating circuit Pending JPH056455A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3181573A JPH056455A (en) 1991-06-27 1991-06-27 Pulse noise eliminating circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3181573A JPH056455A (en) 1991-06-27 1991-06-27 Pulse noise eliminating circuit

Publications (1)

Publication Number Publication Date
JPH056455A true JPH056455A (en) 1993-01-14

Family

ID=16103170

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3181573A Pending JPH056455A (en) 1991-06-27 1991-06-27 Pulse noise eliminating circuit

Country Status (1)

Country Link
JP (1) JPH056455A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008541236A (en) * 2005-05-05 2008-11-20 株式会社オプトエレクトロニクス Barcode detection method and apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008541236A (en) * 2005-05-05 2008-11-20 株式会社オプトエレクトロニクス Barcode detection method and apparatus

Similar Documents

Publication Publication Date Title
JP2616921B2 (en) Label identification device
EP0498678B1 (en) High speed scan bar code reader which can read more than one type of bar code
US4329574A (en) Bar code candidate select circuit
US5194722A (en) Enhanced UPC bar code decoding system reconstructing complete bar code signals from partial bar code scans
US5128527A (en) Apparatus for reading a bar code
EP0053935B1 (en) Method and apparatus for altering erroneous data elements in digital images
US4782220A (en) Method and apparatus for bar code data autodiscrimination
US3909787A (en) Candidate selection processor
US5276316A (en) Method for reconstructing complete bar code signals from partial bar code scans
JPS5836392B2 (en) Data signal processing method and processing device
US4607385A (en) Character recognition apparatus
US5126544A (en) Bar code reader
EP0279160A2 (en) High speed serial pixel neighborhood processor and method
US4253018A (en) Symbol decoding system
JPH056455A (en) Pulse noise eliminating circuit
US5196685A (en) Bar code reader
US4344152A (en) Buffer memory control circuit for label scanning system
JPH04297968A (en) Pulse noise removing circuit
US5270524A (en) Automatic discriminating and decoding apparatus
US5850574A (en) Apparatus for voice encoding/decoding utilizing a control to minimize a time required upon encoding/decoding each subframe of data on the basis of word transfer information
JPS63178376A (en) Bar code pattern recognizing device
JPH0244484A (en) Bar code reader
JPH06325196A (en) Bar code reader
JPS59201174A (en) Signal processing method for bar code reader
JP3326890B2 (en) Pulse width modulation circuit