JP4159571B2 - Bar code reader and start margin detection method thereof - Google Patents

Bar code reader and start margin detection method thereof Download PDF

Info

Publication number
JP4159571B2
JP4159571B2 JP2005267185A JP2005267185A JP4159571B2 JP 4159571 B2 JP4159571 B2 JP 4159571B2 JP 2005267185 A JP2005267185 A JP 2005267185A JP 2005267185 A JP2005267185 A JP 2005267185A JP 4159571 B2 JP4159571 B2 JP 4159571B2
Authority
JP
Japan
Prior art keywords
signal
unit
barcode
start margin
cancel
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.)
Active
Application number
JP2005267185A
Other languages
Japanese (ja)
Other versions
JP2007079959A (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.)
NEC Platforms Ltd
Original Assignee
NEC Platforms 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 NEC Platforms Ltd filed Critical NEC Platforms Ltd
Priority to JP2005267185A priority Critical patent/JP4159571B2/en
Publication of JP2007079959A publication Critical patent/JP2007079959A/en
Application granted granted Critical
Publication of JP4159571B2 publication Critical patent/JP4159571B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、バーコードリーダに係り、特にバーコードリーダのスタートマージン検出方法に関する。   The present invention relates to a barcode reader, and more particularly to a method for detecting a start margin of a barcode reader.

従来のバーコードリーダは、図5に示すような構成となっている。   A conventional bar code reader is configured as shown in FIG.

図5を参照すると、バーコードリーダ500は、読み取ろうとするバーコードからの反射光を受光して受光した光の強さに対応した電気信号を出力する受光部501と、受光部501から出力された電気信号を増幅する増幅部502と、増幅部502で増幅された電気信号を変換してバーコードに対応する二値信号に変換する二値化部503と、二値化された信号を解読して解読結果を出力するデコード部511とで構成される。   Referring to FIG. 5, the barcode reader 500 receives a reflected light from a barcode to be read and outputs an electric signal corresponding to the intensity of the received light, and is output from the light receiving unit 501. An amplification unit 502 that amplifies the electric signal, a binarization unit 503 that converts the electric signal amplified by the amplification unit 502 into a binary signal corresponding to the barcode, and decodes the binarized signal And a decoding unit 511 that outputs a decoding result.

通常ノイズなどを無視できるときは、受光部501から出力された電気信号は図6(a)に示すようなアナログ小信号であり、データ部分に対応したバーコードBD部分の左右にマージンMGNがあり、このマージンMGNは一般的にバーコードBDの最も幅の狭いバーの約10倍程度の幅を有している。   When normal noise can be ignored, the electrical signal output from the light receiving unit 501 is an analog small signal as shown in FIG. 6A, and there is a margin MGN on the left and right of the barcode BD portion corresponding to the data portion. The margin MGN generally has a width of about 10 times the narrowest bar of the barcode BD.

この左右のマージンMGNのうち、バーコード部分の左方にあるマージンMGNを一般的にバーコードのスタートマージンと呼び、バーコード部分の右方にあるマージンMGNを一般的にバーコードのエンドマージンと呼んでいる。   Of the left and right margins MGN, the margin MGN on the left side of the barcode portion is generally called a barcode start margin, and the margin MGN on the right side of the barcode portion is generally called a barcode end margin. I'm calling.

この受光部501から出力されたアナログの電気信号は、増幅部502で電力増幅されて、図6(b)に示すようなアナログの電気信号となる。この増幅部502で増幅されたアナログの電気信号を二値化部503で二値化すると図6(c)に示すような二値化信号が得られ、デコード部511で、二値化信号からスタートマージンSMGN、バーコードBDを解読し、バーコードを読み取ることができる。   The analog electrical signal output from the light receiving unit 501 is power amplified by the amplifying unit 502 to become an analog electrical signal as shown in FIG. When the analog electric signal amplified by the amplifying unit 502 is binarized by the binarizing unit 503, a binarized signal as shown in FIG. 6C is obtained. In the decoding unit 511, the binarized signal is obtained. The start margin SMGN and the barcode BD can be decoded and the barcode can be read.

このような読み取りを行う際に、読み取らせるバーコードラベルのバーの大きさおよび読み取り位置に応じて調整するマージン検出信号の発生タイミング設定を逐一計算で求めなくても設定できるようにしたバーコード読取装置がある(特許文献1参照)。
特開平5−35902号公報
Barcode reading that enables the setting of the generation timing of the margin detection signal to be adjusted according to the bar size and reading position of the barcode label to be read without having to calculate it one by one when performing such reading There exists an apparatus (refer patent document 1).
JP-A-5-35902

しかしながら、バーコードから得られるバーコードシンボル信号は、バーコードリーダ500の各構成部において図6(a)〜図6(c)に示すようなノイズのない信号であることばかりではなく、バーコードシンボル信号のスタートマージンSMGN部分に図7(a)〜(c)に示すような不要信号SPRSが含まれる場合がある。   However, the bar code symbol signal obtained from the bar code is not only a noiseless signal as shown in FIGS. 6A to 6C in each component of the bar code reader 500, but also the bar code. The start signal SMGN portion of the symbol signal may include an unnecessary signal SPRS as shown in FIGS.

これはバーコードシンボルラベルが印刷されている紙のキズ、汚れ、表面処理の不備などの要因でスタートマージンSMGN部分にキズ、汚れSTNが生じており、図8に示すようなバーコードになっているもので、バーコードリーダ500でこのキズ、汚れSTNが検出されて不要信号SPRSとなる。   This is due to scratches, dirt, and STN in the start margin SMGN due to factors such as scratches, smudges, and insufficient surface treatment on the paper on which the bar code symbol label is printed, resulting in a bar code as shown in FIG. Therefore, the bar code reader 500 detects this scratch and dirt STN, and becomes an unnecessary signal SPRS.

このようにスタートマージンSMGN部分にキズ、汚れSTNがある場合に、受光部501から出力された電気信号は、図7(a)に示すようなスタートマージンSMGN部分に不要信号SPRSが含まれたアナログ小信号である。   As described above, when the start margin SMGN has scratches and dirt STN, the electrical signal output from the light receiving unit 501 is an analog signal including an unnecessary signal SPRS in the start margin SMGN as shown in FIG. Small signal.

この受光部501から出力された電気信号は、増幅部502で電力増幅されて、図7(b)に示すように不要信号SPRSも増幅されたアナログの電気信号となる。この増幅部502で増幅された不要信号SPRSを含む電気信号を二値化部503で二値化すると図7(c)に示すような二値化信号が得られ、デコード部511でこの二値化信号のスタートマージンSMGNを検出しようとしても、スタートマージンSMGN部分にある不要信号SPRSのためスタートマージンSMGNが検出できず、かつ不要信号SPRSをバーコードと認識してしまい本来のバーパターンとは一致しなくなり、バーコードの1組目のコードを解読できずデコードエラーと判断され、バーコードを読み取ることができない。   The electric signal output from the light receiving unit 501 is amplified in power by the amplifying unit 502, and the unnecessary signal SPRS is also amplified as shown in FIG. 7B. When the electric signal including the unnecessary signal SPRS amplified by the amplifying unit 502 is binarized by the binarizing unit 503, a binarized signal as shown in FIG. 7C is obtained, and the binarizing signal is obtained by the decoding unit 511. Even if an attempt is made to detect the start margin SMGN of the digitized signal, the start margin SMGN cannot be detected because of the unnecessary signal SPRS in the start margin SMGN portion, and the unnecessary signal SPRS is recognized as a bar code and is different from the original bar pattern. The barcode of the first set of barcodes cannot be decoded, and it is determined as a decoding error, and the barcode cannot be read.

このように、スタートマージンSMGN部分にキズ、汚れSTNなどがあることによりスタートマージン不足およびバーと誤認識し、デコードエラーと判断され読み取りすることができないという問題があった。   As described above, the start margin SMGN has scratches, dirt STN, and the like, so that there is a problem that the start margin is insufficient and it is erroneously recognized as a bar, and it is determined as a decoding error and cannot be read.

そこで本発明の目的は、バーコードのスタートマージンに汚れがある場合でも読み取ることのできるバーコードリーダを提供することである。   SUMMARY OF THE INVENTION An object of the present invention is to provide a bar code reader that can be read even when the start margin of the bar code is dirty.

本発明のバーコードリーダは、スタートマージンおよび該スタートマージン部分に続き何組かのバーで形成されたバーコードからなるバーコードシンボルを光学的に読み取って、前記バーコードが示すデータを出力するバーコードリーダであって、
光学的な読み取りを開始させるスタートパルスと、前記光学的な読み取りを終了させるストップパルスとからなる駆動信号に基づいて前記バーコードシンボルの光学的な読み取りを実施し、電気信号に変換して出力する前記受光部と、
周期的に入力される前記受光部の前記電気信号の出力内容に基づいて前記スタートマージンの検出および前記バーコードの解読を行って、前記スタートマージンを検出できなかった場合もしくは前記バーコードの解読ができなかった場合にはその旨を示す解読不可信号を出力するデコード部と、
前記スタートパルスをトリガとして、前記電気信号のうちの、前記デコード部において前記スタートマージンの検出と前記バーコードの解読が行われる領域を部分的にキャンセルし、前記キャンセル部分が所定パルス幅を有するパルス信号で形成されるキャンセル信号を、前記解読不可信号が入力される毎にキャンセルする領域が長くなるように出力するキャンセル信号発生部と、
を備えることを特徴とする。
The bar code reader of the present invention optically reads a bar code symbol consisting of a start margin and a bar code formed by several bars following the start margin portion, and outputs data indicated by the bar code. A code reader,
The barcode symbol is optically read based on a drive signal composed of a start pulse for starting optical reading and a stop pulse for ending the optical reading, and is converted into an electrical signal and output. The light receiving unit;
When the start margin is detected and the barcode is decoded based on the output contents of the electrical signal of the light receiving unit that is periodically input, the start margin cannot be detected or the barcode is decoded. A decoding unit that outputs an undecipherable signal indicating that if not,
Using the start pulse as a trigger, a part of the electrical signal where the start margin is detected and the barcode is decoded in the decoding unit is partially canceled, and the cancel part has a predetermined pulse width. A cancel signal generating unit that outputs a cancel signal formed by a signal so that an area to be canceled becomes longer each time the undecipherable signal is input,
It is characterized by providing.

市場ではスタートマージン部分に汚れがあるようなバーコードシンボルラベルでも読み取りできるようなバーコードリーダが要求されている。   In the market, there is a demand for a barcode reader that can read even a barcode symbol label with a dirty start margin.

このような、スタートマージンに汚れのあるバーコードシンボルの読み取りに際しては、この汚れのため生じる不要信号がスタートマージンの検出の障害となってバーコードリーダがスタートマージンを検出できないことが生じ、このためバーコードを解読できない。   When reading a barcode symbol with a dirty start margin, an unnecessary signal generated due to the contamination may cause an obstacle to the detection of the start margin, and the barcode reader may not be able to detect the start margin. I cannot decode the barcode.

本発明は、バーコードシンボルのスタートマージン部分の汚れによる不要信号をキャンセルして除去する機能をバーコードリーダに組み込むことにより、バーコードシンボルを解読できなかった場合に、受光部で読み取った電気信号に、不要信号をキャンセルするキャンセル信号を重畳して、強制的に不要信号をキャンセルし電気信号のバーコード部分を解読し、かつスタートマージンを検出する機能を有している。   The present invention incorporates a function for canceling and removing an unnecessary signal due to contamination of a start margin portion of a bar code symbol into the bar code reader so that the electric signal read by the light receiving unit when the bar code symbol cannot be decoded. In addition, a cancel signal for canceling the unnecessary signal is superposed, the unnecessary signal is forcibly canceled, the barcode portion of the electric signal is decoded, and the start margin is detected.

このキャンセル信号のキャンセル部分は、スタートマージンの幅がバーコードシンボルの種類およびバーの幅によって異なることと、スタートマージンに付着する汚れがスタートマージンのどの位置になるのかはあらかじめ予想できないため、解読できなかった場合にこのキャンセル部分を徐々に拡げてゆくとよい。   The cancel part of this cancel signal can be deciphered because the start margin width differs depending on the type of bar code symbol and the bar width, and the position of the start margin where dirt adheres to the start margin cannot be predicted in advance. If there is not, it is better to gradually expand this cancellation part.

このキャンセル信号によってバーコードシンボルのスタートマージンに当たる部分にある不要信号が除去され、スタートマージン部分の幅が確保できたときに、スタートマージンに汚れがない場合と同様の読み取りができることになり、デコード部でこのスタートマージンを検出した後、バーコードの解読が可能となる。   This cancel signal removes unnecessary signals in the portion corresponding to the start margin of the barcode symbol, and when the width of the start margin portion can be secured, the reading can be performed in the same manner as when the start margin is not contaminated. After detecting this start margin, the barcode can be decoded.

本発明によれば、バーコードのスタートマージンに汚れがある場合でも読み取ることのできるバーコードリーダを得られる。   According to the present invention, it is possible to obtain a barcode reader that can be read even when the start margin of the barcode is dirty.

本発明を実施するための形態について図面を参照して詳細に説明する。   Embodiments for carrying out the present invention will be described in detail with reference to the drawings.

図1は、本実施形態のバーコードリーダの構成例を示すブロック図である。   FIG. 1 is a block diagram illustrating a configuration example of a barcode reader according to the present embodiment.

図1を参照すると、バーコードリーダ100は、読み取ろうとするバーコードシンボル200に光を照射する投光部110と、照射された光をバーコードシンボル200が反射してこの反射した光を走査して受光した後、受光した光の強さに対応した電気信号を出力する受光部101と、受光部101から出力された電気信号を増幅する増幅部102と、増幅部102で増幅された電気信号を整形してバーコードシンボル200に対応する2進数デジタル信号に変換し、2進数デジタル信号に受光駆動用パルス信号を重畳して、重畳二値化信号として出力する二値化部103と、2進数デジタル信号より形成された重畳二値化信号のスタートマージンに当たる部分を後述するキャンセル信号によりバーコードシンボル200に付与されたスタートマージンをキャンセルするスタートマージンキャンセル部106と、バーコードリーダ100の各構成部位を制御する制御部104とを備えて構成されており、バーコードシンボル200を光学的に読み取って、バーコードが示す信号を出力し、バーコードシンボル200に表示されたバーコードを解読する機能を有する。   Referring to FIG. 1, a bar code reader 100 irradiates a bar code symbol 200 to be read with light projecting unit 110, and the bar code symbol 200 reflects the irradiated light and scans the reflected light. The light receiving unit 101 that outputs an electrical signal corresponding to the intensity of the received light, the amplification unit 102 that amplifies the electrical signal output from the light receiving unit 101, and the electrical signal amplified by the amplification unit 102 Is converted into a binary digital signal corresponding to the barcode symbol 200, a light receiving drive pulse signal is superimposed on the binary digital signal, and output as a superimposed binary signal, 2 The portion corresponding to the start margin of the superimposed binary signal formed from the binary digital signal is assigned to the barcode symbol 200 by a cancel signal, which will be described later. A start margin canceling unit 106 for canceling the margin and a control unit 104 for controlling each component of the bar code reader 100. The bar code symbol 200 is optically read, and a signal indicated by the bar code Is output, and the bar code displayed on the bar code symbol 200 is decoded.

バーコードシンボル200は、例えば、白色の空白部分で形成されたスタートマージン部分と、スタートマージン部分に続き何組かのバーで形成されたバーコード部分と、バーコード部分が終了した部分から白色の空白部分で形成されたエンドマージン部分とからなる。   The barcode symbol 200 includes, for example, a start margin portion formed of a white blank portion, a barcode portion formed of several sets of bars following the start margin portion, and a white portion from a portion where the barcode portion ends. It consists of an end margin portion formed by a blank portion.

この例では、何組かのバーで形成されたバーコード部分は、それぞれある幅を有した白色部分および黒色部分からなりこの白色部分と黒色分の組み合わせで、二値化された2進数に対応するコードとなっている。   In this example, the barcode part formed by several pairs of bars consists of a white part and a black part each having a certain width, and this white part and the black part are combined to correspond to a binarized binary number. It is a code to do.

一般的には、設けられるスタートマージン部分およびエンドマージン部分は、それぞれバーコードシンボル200のバーコード部分の最も細いバー幅の10倍程度の幅の白色の空白部分により形成される。   Generally, the provided start margin portion and end margin portion are each formed by a white blank portion having a width of about 10 times the narrowest bar width of the barcode portion of the barcode symbol 200.

当然、バーコードシンボル200は、黒色、白色の部分で形成されるものに限定されるものではなく、濃淡が識別でき、上述したバーコードシンボルと同様のものであれば、その使用される色などは限定されない。   Of course, the barcode symbol 200 is not limited to the one formed by the black and white portions, and can be distinguished from light and shade. Is not limited.

受光部101から出力されるアナログの電気信号は、バーコードシンボル200の光学的に読み取られた内容を電気信号に変換して得られたものであり、バーコードシンボル200のスタートマージンの部分に対応したスタートマージン信号と、バーコードシンボル200のバーコードの部分に対応したバーコード信号と、バーコードシンボル200のエンドマージンの部分に対応したエンドマージン信号とからなっている。   The analog electrical signal output from the light receiving unit 101 is obtained by converting the optically read content of the barcode symbol 200 into an electrical signal, and corresponds to the start margin portion of the barcode symbol 200. The start margin signal, the barcode signal corresponding to the barcode portion of the barcode symbol 200, and the end margin signal corresponding to the end margin portion of the barcode symbol 200 are included.

増幅部102から出力される電気信号もしくは、二値化部103から出力される重畳二値化信号においても、おのおの受光部101から出力されるアナログの電気信号と同様に、バーコードシンボル200のスタートマージンの部分に対応したスタートマージン信号の部分とバーコードシンボル200のバーコードの部分に対応したバーコード信号と、バーコードシンボル200のエンドマージンの部分に対応したエンドマージン信号の部分とからなっている。以下、増幅部102における増幅処理、二値化部103における二値化などの処理を行った信号においても、スタートマージンの部分に対応した信号をスタートマージン信号、バーコードの部分に対応した信号をバーコード信号と称する。   In the electrical signal output from the amplifying unit 102 or the superimposed binarized signal output from the binarizing unit 103, similarly to the analog electrical signal output from each light receiving unit 101, the start of the barcode symbol 200 is started. It consists of a start margin signal portion corresponding to the margin portion, a barcode signal corresponding to the barcode portion of the barcode symbol 200, and an end margin signal portion corresponding to the end margin portion of the barcode symbol 200. Yes. Hereinafter, even in a signal subjected to amplification processing in the amplification unit 102 and binarization processing in the binarization unit 103, a signal corresponding to the start margin portion is referred to as a start margin signal, and a signal corresponding to the barcode portion is referred to. This is called a bar code signal.

増幅部102は、周期的に入力される受光部101からの電気信号の出力内容、すなわちスタートマージン信号およびバーコード信号ならびにエンドマージン信号とからなっているアナログの電気小信号を電力増幅して、出力する。   The amplifying unit 102 amplifies power of the output contents of the electrical signal from the light receiving unit 101 that is periodically input, that is, the analog electrical small signal including the start margin signal, the barcode signal, and the end margin signal, Output.

制御部104は、投光部110を駆動させる投光駆動信号としての投光駆動用パルス信号を発生する投光駆動信号発生部114と、受光部101を駆動して走査させる受光駆動信号としての受光駆動用パルス信号を発生する受光駆動信号発生部113と、バーコードシンボル200に付与されたスタートマージンをキャンセルするために2進数デジタル信号のスタートマージン信号(これは、受光部101から出力されたアナログの電気信号のスタートマージン信号の部分に相当する)をキャンセルする部分を所定のパルス幅で形成したキャンセル信号を発生するキャンセル信号発生部112と、重畳二値化信号のスタートマージンに当たる部分を検出した後、キャンセル信号でキャンセルされた重畳二値化信号を解読するデコード部111とを備えて構成される。   The control unit 104 includes a light projection drive signal generation unit 114 that generates a light projection drive pulse signal as a light projection drive signal that drives the light projection unit 110, and a light reception drive signal that drives and scans the light reception unit 101. A light receiving drive signal generator 113 for generating a light receiving drive pulse signal and a start margin signal of a binary digital signal for canceling the start margin given to the barcode symbol 200 (this is output from the light receiving unit 101) A cancel signal generation unit 112 that generates a cancel signal in which a canceling portion is formed with a predetermined pulse width and a portion corresponding to the start margin of the superimposed binarized signal are detected. After that, the decoding unit 111 that decodes the superimposed binary signal canceled by the cancellation signal Configured to include a.

デコード部111は、周期的に入力される受光部101の電気信号の出力内容に基づいて二値化部103で得られた重畳二値化信号によって、バーコードシンボル200のスタートマージンの検出およびバーコードの解読を行い、スタートマージンを検出できなかった場合もしくはバーコードの解読ができなかった場合にはその旨を示す解読不可信号を出力する機能を有する。   The decoding unit 111 detects the start margin of the bar code symbol 200 and the bar code based on the superimposed binarized signal obtained by the binarizing unit 103 based on the output content of the electrical signal of the light receiving unit 101 that is periodically input. When the code is decoded and the start margin cannot be detected or the bar code cannot be decoded, it has a function of outputting a decoding impossible signal indicating that.

キャンセル信号発生部112は、デコード部111から解読不可信号が入力される毎に、電気信号(ここでは、電気信号が処理された後の重畳二値化信号に相当する)のうちのデコード部111においてスタートマージンの検出が行われる領域に対応したスタートマージン信号と、デコード部111においてバーコードの解読が行われる領域に対応したバーコード信号とからなる信号に対して、部分的にキャンセルするキャンセル信号をキャンセルする領域が長くなるように出力する機能を有する。   The cancel signal generation unit 112 receives the decoding impossible signal from the decoding unit 111, and the decoding unit 111 of the electric signal (here, corresponding to the superimposed binary signal after the electric signal is processed). A cancel signal for partially canceling a signal composed of a start margin signal corresponding to a region where the start margin is detected and a barcode signal corresponding to a region where the decoding of the barcode is performed in the decoding unit 111 Has a function of outputting so that the area for canceling becomes longer.

本実施形態のキャンセル信号発生部112は、バーコードシンボル200のスタートマージンSMGNの領域に当たるスタートマージン信号を部分的にキャンセルするために所定のパルス幅を有したキャンセル信号を発生し、このキャンセル信号のパルス幅を走査ごと(すなわち、解読不可信号が入力される毎)に徐々に拡げることでスタートマージンSMGNのキャンセルする領域が長くなるようにしている。   The cancel signal generator 112 of the present embodiment generates a cancel signal having a predetermined pulse width in order to partially cancel the start margin signal corresponding to the start margin SMGN area of the barcode symbol 200. By gradually widening the pulse width for each scan (that is, every time an undecipherable signal is input), the area for canceling the start margin SMGN becomes longer.

受光部101は増幅部102に接続されており、増幅部102は二値化部103に接続されており、二値化部103はスタートマージンキャンセル部106に接続されており、スタートマージンキャンセル部106はデコード部111に接続されている。   The light receiving unit 101 is connected to the amplifying unit 102, the amplifying unit 102 is connected to the binarizing unit 103, the binarizing unit 103 is connected to the start margin canceling unit 106, and the start margin canceling unit 106 is connected. Are connected to the decoding unit 111.

デコード部111はキャンセル信号発生部112に接続されており、キャンセル信号発生部112は受光駆動信号発生部113に接続されており、受光駆動信号発生部113は受光部101に接続されており、投光駆動信号発生部114は投光部110に接続されており、受光駆動信号発生部113は二値化部103に接続されており、キャンセル信号発生部112はスタートマージンキャンセル部106に接続されている。   The decoding unit 111 is connected to the cancel signal generating unit 112, the cancel signal generating unit 112 is connected to the light receiving drive signal generating unit 113, and the light receiving drive signal generating unit 113 is connected to the light receiving unit 101. The light drive signal generation unit 114 is connected to the light projecting unit 110, the light reception drive signal generation unit 113 is connected to the binarization unit 103, and the cancel signal generation unit 112 is connected to the start margin cancellation unit 106. Yes.

次にバーコードリーダ100の動作について図1〜図3を用いて詳細に説明する。   Next, the operation of the barcode reader 100 will be described in detail with reference to FIGS.

バーコードリーダ100は、バーコードシンボル200を読み取るために、バーコードリーダ100の投光部110および受光部101がバーコードシンボル200に臨んで配置される。   In order to read the barcode symbol 200, the barcode reader 100 is arranged with the light projecting unit 110 and the light receiving unit 101 of the barcode reader 100 facing the barcode symbol 200.

バーコードリーダ100からは、投光駆動信号発生部114においてスタートパルスおよびストップパルスで構成される投光駆動信号である投光駆動用パルス信号が出力される。   From the barcode reader 100, a light projection drive signal which is a light projection drive signal composed of a start pulse and a stop pulse is output from the light projection drive signal generator 114.

このスタートパルスからストップパルスまでの時間は、バーコードリーダ100がバーコードシンボル200を光学的に読み取るために1回走査するスキャンの時間に当たり、この時間に相当する読み取るバーコードシンボル200のコード全体の幅を規定している。   The time from the start pulse to the stop pulse corresponds to a scan time in which the barcode reader 100 scans once to optically read the barcode symbol 200, and the entire code of the barcode symbol 200 to be read corresponding to this time. Specifies the width.

この投光駆動信号発生部114から出力された投光駆動用パルス信号は、投光部110に入力される。   The projection drive pulse signal output from the projection drive signal generation unit 114 is input to the projection unit 110.

この投光部110に入力された投光駆動用パルス信号により、スタートパルスが入力されたときから投光部110はバーコードシンボル200に対して光の照射を始め、ストップパルスが入力されたときに投光部110はバーコードシンボル200に対して光の照射を終了する。但し、ストップパルスに同期し光の照射が終了しなくとも構わない。この投光部110による光の照射の間に、バーコードシンボル200に対して1回の走査が行われる。   When the start pulse is input by the light projection drive pulse signal input to the light projecting unit 110, the light projecting unit 110 starts irradiating light to the barcode symbol 200, and when the stop pulse is input. In addition, the light projecting unit 110 ends the light irradiation on the barcode symbol 200. However, the light irradiation does not have to end in synchronization with the stop pulse. During the light irradiation by the light projecting unit 110, the barcode symbol 200 is scanned once.

投光部110からの光に照射されたバーコードシンボル200は、この照射された光を反射して、このバーコードシンボル200で反射された光はバーコードリーダ100の受光部101に向かう。   The barcode symbol 200 irradiated with the light from the light projecting unit 110 reflects the irradiated light, and the light reflected by the barcode symbol 200 is directed to the light receiving unit 101 of the barcode reader 100.

受光部101には、受光駆動信号発生部113から出力された受光駆動用パルス信号が周期的に入力される。図2(a)は、受光駆動信号発生部113から出力されたこの受光駆動用パルス信号を示す。図示したように受光駆動用パルス信号は、既に説明した投光駆動用パルス信号と同様にスタートパルス703およびストップパルス708で構成される。   The light receiving unit 101 periodically receives the light receiving drive pulse signal output from the light receiving drive signal generating unit 113. FIG. 2A shows the light reception drive pulse signal output from the light reception drive signal generator 113. As shown in the figure, the light receiving drive pulse signal is composed of a start pulse 703 and a stop pulse 708 in the same manner as the light projection drive pulse signal already described.

このスタートパルス703からストップパルス708までの時間は、バーコードリーダ100がバーコードシンボル200を1回走査するスキャンの時間T1に当たり、この時間に相当する読み取るバーコードシンボル200のコード全体の幅を規定している。   The time from the start pulse 703 to the stop pulse 708 corresponds to the scan time T1 when the barcode reader 100 scans the barcode symbol 200 once, and the width of the entire barcode symbol 200 to be read corresponding to this time is defined. is doing.

すなわち、バーコードリーダ100で得られたバーコードシンボル信号は、必ずこの受光駆動用パルス信号内に入ることで、周期的なバーコードの読み取りを可能としている。   In other words, the bar code symbol signal obtained by the bar code reader 100 is always included in the light receiving drive pulse signal, thereby enabling periodic bar code reading.

この受光部101に入力された受光駆動用パルス信号により、受光部101はバーコードシンボル200を光学的に読み取るための走査を行う。この受光部101の走査は、受光駆動用パルス信号のスタートパルス703をトリガとしてこのスタートパルス703の時刻から始まり、受光駆動用パルス信号のストップパルス708の時刻で1走査(スキャン)が終了する。   The light receiving unit 101 performs scanning for optically reading the barcode symbol 200 based on the light receiving drive pulse signal input to the light receiving unit 101. The scanning of the light receiving unit 101 starts from the time of the start pulse 703 with the start pulse 703 of the light receiving drive pulse signal as a trigger, and one scan (scan) ends at the time of the stop pulse 708 of the light receiving drive pulse signal.

この受光部101の走査により、受光部101にバーコードシンボル200からの反射光が周期的に入力される。   By the scanning of the light receiving unit 101, the reflected light from the barcode symbol 200 is periodically input to the light receiving unit 101.

受光部101は、入力された反射光によりバーコードシンボルの光学的に読み取られた内容を反射光の強度に応じたアナログの電気信号に変換して、出力する。   The light receiving unit 101 converts the optically read content of the barcode symbol by the input reflected light into an analog electric signal corresponding to the intensity of the reflected light and outputs the analog electric signal.

このスタートマージン信号およびバーコード信号からなるアナログの電気信号は、増幅部102に入力され、増幅部102において電力増幅され、増幅部102から出力される。増幅部102から出力されたアナログの電気信号は、二値化部103に入力される。   The analog electrical signal composed of the start margin signal and the barcode signal is input to the amplifying unit 102, power amplified in the amplifying unit 102, and output from the amplifying unit 102. The analog electrical signal output from the amplification unit 102 is input to the binarization unit 103.

二値化部103では、増幅部102から入力されたアナログの電気信号を、論理「0」(論理「低」)、「1」(論理「高」)の二値化された信号にアナログ/デジタル変換するように整形して、バーコードシンボル200に対応する電気信号である2進数デジタル信号に変換する。この二値化された2進数デジタル信号を、図2(b)に示す。   The binarization unit 103 converts the analog electric signal input from the amplification unit 102 into a binarized signal of logic “0” (logic “low”) and “1” (logic “high”). The digital signal is shaped to be converted into a binary digital signal that is an electrical signal corresponding to the barcode symbol 200. This binarized binary digital signal is shown in FIG.

図2(b)に示した二値化された2進数デジタル信号では、例えばバーコードの黒色部分が論理「0」(論理「低」)に対応しており、バーコードの白色部分が論理「1」(論理「高」)に対応している。   In the binarized binary digital signal shown in FIG. 2B, for example, the black portion of the barcode corresponds to logic “0” (logic “low”), and the white portion of the barcode represents logic “0”. 1 ”(logic“ high ”).

二値化部103においては、さらにこの二値化された2進数デジタル信号に受光駆動信号発生部113から二値化部103に入力される受光駆動用パルス信号(図2(a)参照)を重畳させる。この2進数デジタル信号と受光駆動用パルス信号とを重畳される具体的な回路としては、例えば論理積回路(AND回路)を用いるとよい。   In the binarization unit 103, the light reception drive pulse signal (see FIG. 2A) input from the light reception drive signal generation unit 113 to the binarization unit 103 is further added to the binarized binary digital signal. Superimpose. As a specific circuit for superimposing the binary digital signal and the light receiving drive pulse signal, for example, an AND circuit (AND circuit) may be used.

このようにして受光駆動用パルス信号が重畳させた二値化信号が、二値化部103より出力される。図2(c)は、受光駆動用パルス信号(スタートパルス703およびストップパルス708)が重畳された二値化信号を示し、以後この信号を重畳二値化信号と称する。   A binarized signal in which the light reception driving pulse signal is superimposed in this way is output from the binarizing unit 103. FIG. 2C shows a binarized signal on which a light reception driving pulse signal (start pulse 703 and stop pulse 708) is superimposed, and this signal is hereinafter referred to as a superimposed binarized signal.

この重畳二値化信号においては、図2(d)に示すようにスタートパルス703の後方のエッジから二値化信号のバーコードの1組目の最初のパルスの前方のエッジまでの間SMGNがほぼバーコードシンボル200のスタートマージンに相当し、この部分が電気信号のスタートマージン信号に相当する。   In this superimposed binarized signal, as shown in FIG. 2 (d), SMGN is between the rear edge of the start pulse 703 and the front edge of the first pulse of the first set of the barcode of the binarized signal. It almost corresponds to the start margin of the barcode symbol 200, and this portion corresponds to the start margin signal of the electric signal.

このスタートパルス703の後方のエッジから二値化信号の最初のパルスの前方のエッジまでの間SMGNを、説明の簡単のため以後バーコードシンボル200のスタートマージンSMGNと称する。   The SMGN from the rear edge of the start pulse 703 to the front edge of the first pulse of the binarized signal is hereinafter referred to as the start margin SMGN of the bar code symbol 200 for the sake of simplicity.

図示したようなスタートマージンSMGN部分に充分なマージン幅がある二値化信号であれば、スタートマージンSMGNの検出が可能であるため、問題なくバーコードの解読ができるが、スタートマージンSMGNに不要な信号がある場合はデコードエラーとなる。   If the binarized signal has a sufficient margin width in the start margin SMGN as shown in the figure, the start margin SMGN can be detected, so that the barcode can be decoded without any problem, but is unnecessary for the start margin SMGN. If there is a signal, a decoding error occurs.

このスタートマージンSMGNに不要な信号が重畳している場合の重畳二値化信号を図2(e)に示す。   FIG. 2E shows a superimposed binarized signal when an unnecessary signal is superimposed on the start margin SMGN.

図示した重畳二値化信号は、バーコードシンボルラベルが印刷されている紙のキズまたは汚れがある場合もしくはラベルの表面処理の不備などがある場合で、これらによりスタートマージン部分が規定の光を反射できず、このため、バーコードシンボル200から反射した光を受光した受光部101が検出した光に不要な信号が含まれ、この不要な信号が電気信号にも変換されて、スタートマージンSMGNに不要信号SPRSが含まれた状態を示している。   The superimposed binarization signal shown in the figure is when the paper on which the barcode symbol label is printed is scratched or dirty, or when there is a defect in the surface treatment of the label. For this reason, an unnecessary signal is included in the light detected by the light receiving unit 101 that has received the light reflected from the barcode symbol 200, and this unnecessary signal is also converted into an electrical signal, which is unnecessary for the start margin SMGN. A state in which the signal SPRS is included is shown.

従来技術では、このようにバーコードシンボルのスタートマージン部分に汚れなどがある場合には、バーと誤認識したり、スタートマージン幅の不足となり、バーコードリーダ500(図5参照)は、デコードエラーと判断し、バーコードシンボルの解読ができなかった。   In the prior art, if the start margin portion of the barcode symbol is contaminated as described above, it is erroneously recognized as a bar or the start margin width is insufficient, and the barcode reader 500 (see FIG. 5) causes a decoding error. The barcode symbol could not be decoded.

これに対して、本実施形態のバーコードリーダ100では、引き続き次の処理を実施する。   On the other hand, in the barcode reader 100 of the present embodiment, the following processing is continuously performed.

受光駆動信号発生部113は、出力した受光駆動用パルス信号をキャンセル信号発生部112にも供給する。この受光駆動用パルス信号が入力されたキャンセル信号発生部112では、受光駆動用パルス信号に基づいてスタートパルス703の後方のエッジをトリガとして、必要な場合に所定パルス幅のパルスを有したキャンセル領域が形成されたキャンセル信号を発生する。このキャンセル信号を、図2(f)に示す。   The light reception drive signal generation unit 113 also supplies the output light reception drive pulse signal to the cancel signal generation unit 112. In the cancel signal generation unit 112 to which the light receiving drive pulse signal is input, a cancel region having a pulse having a predetermined pulse width when necessary using the rear edge of the start pulse 703 as a trigger based on the light receiving drive pulse signal. A cancel signal is generated. This cancel signal is shown in FIG.

このキャンセル信号に所定のパルス幅のパルスが必要な場合は、受光部101で最初に走査して得られたバーコードシンボル200の重畳二値化信号をデコード部111でスタートマージン検出できなかった場合もしくは解読しようとして解読できなかった場合であり、2回目以降の走査を行う場合を指す。   When a pulse having a predetermined pulse width is required for this cancel signal, the start margin can not be detected by the decoding unit 111 on the superimposed binary signal of the bar code symbol 200 obtained by first scanning with the light receiving unit 101 Or it is the case where it cannot decode, trying to decode, and refers to the case of performing the second and subsequent scans.

このように一回目の投光部110および受光部101の走査でデコード部111がバーコードシンボル200を解読できなかった場合には、デコード部111は解読のためのスタートマージン検出ができなかった旨もしくはバーコードが解読できなかった旨を示す解読不可信号を出力して、キャンセル信号発生部112に通知する。   As described above, when the decoding unit 111 cannot decode the barcode symbol 200 in the first scanning of the light projecting unit 110 and the light receiving unit 101, the decoding unit 111 cannot detect the start margin for decoding. Alternatively, an undecipherable signal indicating that the bar code could not be deciphered is output, and the cancel signal generator 112 is notified.

デコード部111がバーコードシンボル200を解読できなかった原因として既に背景技術で説明したように、バーコードシンボル200のスタートマージンに汚れなどがあり、このためスタートマージンを検出できずに、バーコードシンボル200のバーコードの解読ができないことがある。   As described above in the background art, the reason why the decoding unit 111 cannot decode the barcode symbol 200 is that the start margin of the barcode symbol 200 is dirty, and therefore the start margin cannot be detected. The 200 barcode may not be decipherable.

このような場合にデコード部111は、スタートマージンが検出できなかったこともしくはバーコードシンボル200の解読ができなかったことをキャンセル信号発生部112に通知する。   In such a case, the decoding unit 111 notifies the cancel signal generation unit 112 that the start margin could not be detected or the barcode symbol 200 could not be decoded.

このデコード部111からの解読不可信号により通知を受けたキャンセル信号発生部112は、バーコードリーダ100の投光部110および受光部101が2回目の走査を行う際に、受光駆動信号発生部113からの受光駆動用パルス信号を受けて、図2(f)に示したキャンセル信号を出力し、スタートマージンキャンセル部106に供給する。   The cancel signal generation unit 112 that has received the notification from the decoding unit 111 by the non-decipherable signal when the light projecting unit 110 and the light receiving unit 101 of the barcode reader 100 performs the second scan performs the light reception drive signal generation unit 113. 2 receives the pulse signal for light reception drive from, and outputs the cancel signal shown in FIG. 2 (f) and supplies it to the start margin cancel unit 106.

二値化部103から出力された重畳二値化信号は、スタートマージンキャンセル部106に入力され、スタートマージンキャンセル部106は、重畳二値化信号のスタートマージンSMGN部分にある不要信号をキャンセル信号発生部112から供給されたキャンセル信号で強制的にハイレベル(H)にすることによりキャンセルする。スタートマージンSMGN部分がキャンセルされた重畳二値化信号を図2(g)に示す。   The superimposed binarized signal output from the binarizing unit 103 is input to the start margin canceling unit 106. The start margin canceling unit 106 generates an unnecessary signal in the start margin SMGN portion of the superimposed binarized signal as a cancel signal. Canceling is performed by forcibly setting a high level (H) with a cancel signal supplied from the unit 112. FIG. 2 (g) shows a superimposed binary signal in which the start margin SMGN is canceled.

このようにしてキャンセル信号によりスタートマージンSMGN部分にある不要信号SPRSが除去された重畳二値化信号は、バーコードシンボル200のスタートマージンに当たる部分に汚れのないバーコードシンボル200から読み取った信号と同様であり、この重畳二値化信号はスタートマージンキャンセル部106から出力され、制御部104のデコーダ部111に入力される。   In this way, the superimposed binary signal from which the unnecessary signal SPRS in the start margin SMGN portion is removed by the cancel signal is the same as the signal read from the barcode symbol 200 where the portion corresponding to the start margin of the barcode symbol 200 is not contaminated. The superimposed binarized signal is output from the start margin canceling unit 106 and input to the decoder unit 111 of the control unit 104.

デコーダ部111に入力された重畳二値化信号は、キャンセル信号によりスタートマージンSMGNの不要信号SPRSが除去されているため、バーコードシンボル200のスタートマージンSMGNが確保されており、デコード部111は、この不要信号SPRSのない重畳二値化信号からスタートマージンSMGNを検出して、従来の不要信号の無いときと同様にバーコードの解読を行う。   Since the unnecessary signal SPRS of the start margin SMGN is removed from the superimposed binary signal input to the decoder unit 111 by the cancel signal, the start margin SMGN of the barcode symbol 200 is secured, and the decoding unit 111 The start margin SMGN is detected from the superposed binary signal without the unnecessary signal SPRS, and the barcode is decoded in the same manner as when there is no unnecessary signal.

デコード部111は、バーコードの解読を行ってバーコードが示す信号を出力し、例えばバーコードリーダ100の図示しない表示部などに表示したり、解読したバーコードに対応した情報を表示、印字したりする。   The decoding unit 111 decodes the barcode and outputs a signal indicated by the barcode. For example, the decoding unit 111 displays it on a display unit (not shown) of the barcode reader 100 or displays and prints information corresponding to the decoded barcode. Or

ここで、スタートマージンSMGNをキャンセルして図2(g)に示す重畳二値化信号をなす際のキャンセル信号の発生状態について図3を参照してさらに詳細に説明する。   Here, the generation state of the cancel signal when canceling the start margin SMGN and forming the superimposed binary signal shown in FIG. 2G will be described in more detail with reference to FIG.

図3(a)は、受光駆動信号発生部113から出力される受光駆動用パルス信号を示し、図3(b)は、スタートマージンSMGNに不要な信号が重畳している場合の重畳二値化信号を示す。   FIG. 3A shows a light reception drive pulse signal output from the light reception drive signal generation unit 113, and FIG. 3B shows superposition binarization when an unnecessary signal is superimposed on the start margin SMGN. Signals are shown.

図3(a)の受光駆動用パルス信号は、図2(a)で示した受光駆動用パルス信号であり、図3(b)の重畳二値化信号は、図2(e)で示したスタートマージンSMGNに不要信号SPRSが重畳している場合の重畳二値化信号である。   The light reception drive pulse signal in FIG. 3A is the light reception drive pulse signal shown in FIG. 2A, and the superimposed binarization signal in FIG. 3B is shown in FIG. This is a superimposed binary signal when the unnecessary signal SPRS is superimposed on the start margin SMGN.

図3(c)は、投光部110および受光部101が1回目の走査を行って、この走査の結果バーコードシンボル200からの反射光によって、図3(b)に示す重畳二値化信号が得られ、このときにキャンセル信号発生部112からスタートマージンキャンセル部106に供給されたキャンセル信号を示している。   FIG. 3C illustrates a case where the light projecting unit 110 and the light receiving unit 101 perform the first scan, and the superimposed binarized signal illustrated in FIG. The cancel signal supplied from the cancel signal generator 112 to the start margin cancel unit 106 at this time is shown.

このキャンセル信号は、投光部110および受光部101の1回目の走査時にキャンセル信号発生部112から発生した信号であり、図2(f)に示したキャンセル信号と異なり所定のパルス幅のパルスを有さないキャンセル信号である。   This cancel signal is a signal generated from the cancel signal generation unit 112 during the first scan of the light projecting unit 110 and the light receiving unit 101. Unlike the cancel signal shown in FIG. 2 (f), a pulse having a predetermined pulse width is generated. This is a cancel signal that does not exist.

このキャンセル信号は、所定のパルス幅を有していないため、スタートマージンキャンセル部106において重畳二値化信号のスタートマージンSMGNにある不要信号SPRSを除去することはできない。   Since this cancel signal does not have a predetermined pulse width, the start margin cancel unit 106 cannot remove the unnecessary signal SPRS in the start margin SMGN of the superimposed binarized signal.

この場合には、二値化部103から出力された重畳二値化信号がスタートマージンキャンセル部106に入力され、キャンセル信号発生部112からはキャンセル信号がスタートマージンキャンセル部106に入力されるが、キャンセル信号は所定パルス幅を有さないため、重畳二値化信号はスタートマージンキャンセル部106をスルー同然で通過してデコード部111に入力される。   In this case, the superimposed binarized signal output from the binarizing unit 103 is input to the start margin canceling unit 106, and the cancel signal is input from the cancel signal generating unit 112 to the start margin canceling unit 106. Since the cancel signal does not have a predetermined pulse width, the superimposed binary signal passes through the start margin cancel unit 106 as if it is through and is input to the decode unit 111.

すなわち、重畳二値化信号のスタートマージンSMGN部分の不要信号SPRSは、スタートマージンキャンセル部106を出力する際もそのままであり、この重畳二値化信号がデコード部111に入力されてもこのスタートマージンSMGN部分の不要信号SPRSのため、デコード部111はスタートマージンSMGNの検出が行えずに、バーコードシンボル200のバーコードの解読はできない。   That is, the unnecessary signal SPRS in the start margin SMGN portion of the superimposed binarized signal remains as it is when the start margin canceling unit 106 is output. Even if this superimposed binarized signal is input to the decoding unit 111, the start margin Due to the unnecessary signal SPRS in the SMGN portion, the decoding unit 111 cannot detect the start margin SMGN and cannot decode the barcode of the barcode symbol 200.

このスタートマージンを検出できずにバーコードの解読ができなかったことは、デコード部111からキャンセル信号発生部112に解読不可信号によって通知される。   The fact that the start margin could not be detected and the barcode could not be decoded is notified from the decoding unit 111 to the cancel signal generating unit 112 by a decoding impossible signal.

このデコード部111からの通知を受けたキャンセル信号発生部112は、投光部110および受光部101の2回目の走査がなされた際には、所定のパルス幅を有するキャンセル信号を発生する。   Upon receiving the notification from the decoding unit 111, the cancel signal generation unit 112 generates a cancel signal having a predetermined pulse width when the light projecting unit 110 and the light receiving unit 101 are scanned for the second time.

このキャンセル信号を図3(d)に示す。   This cancel signal is shown in FIG.

図3(d)は、投光部110および受光部101が2回目の走査を行って、この走査の結果バーコードシンボル200からの反射光によって、図3(b)に示す重畳二値化信号が得られ、このときにキャンセル信号発生部112から供給されたキャンセル信号を示しており、このキャンセル信号はキャンセルする部分が所定のパルス幅T2だけある信号である。   FIG. 3D shows a case where the light projecting unit 110 and the light receiving unit 101 perform the second scan, and the superimposed binary signal shown in FIG. The cancel signal supplied from the cancel signal generator 112 at this time is shown, and this cancel signal is a signal that has a predetermined pulse width T2 to be canceled.

このキャンセル信号は、所定のパルス幅T2を有しているが、スタートマージンキャンセル部106において重畳二値化信号のスタートマージンSMGNにある不要信号を除去することはできない。   Although this cancel signal has a predetermined pulse width T2, the start margin cancel unit 106 cannot remove the unnecessary signal in the start margin SMGN of the superimposed binarized signal.

これは、図3(b)に示した重畳二値化信号のスタートマージンSMGNの一部はキャンセルされているが、パルス幅T2のため、不要信号SPRSのある部分はキャンセルされておらず、不要信号SPRSの除去ができないものである。   This is because a part of the start margin SMGN of the superimposed binarized signal shown in FIG. 3B is canceled, but a part of the unnecessary signal SPRS is not canceled and unnecessary because of the pulse width T2. The signal SPRS cannot be removed.

この場合には、二値化部103から出力された重畳二値化信号がスタートマージンキャンセル部106に入力され、キャンセル信号発生部112からはキャンセル信号がスタートマージンキャンセル部106に入力されるが、キャンセル信号のパルス幅T2が不要信号SPRSを除去できるパルス幅でないため、不要信号SPRSの除去されていない重畳二値化信号がスタートマージンキャンセル部106から出力され、デコード部111に入力される。   In this case, the superimposed binarized signal output from the binarizing unit 103 is input to the start margin canceling unit 106, and the cancel signal is input from the cancel signal generating unit 112 to the start margin canceling unit 106. Since the pulse width T2 of the cancel signal is not a pulse width capable of removing the unnecessary signal SPRS, the superimposed binary signal from which the unnecessary signal SPRS is not removed is output from the start margin canceling unit 106 and input to the decoding unit 111.

すなわち、重畳二値化信号のスタートマージンSMGN部分の不要信号SPRSは、スタートマージンキャンセル部106を出力する際もそのままであり、この重畳二値化信号がデコード部111に入力されてもこのスタートマージンSMGN部分の不要信号SPRSのため、デコード部111はスタートマージンSMGNの検出が行えずに、バーコードの解読はできない。   That is, the unnecessary signal SPRS in the start margin SMGN portion of the superimposed binarized signal remains as it is when the start margin canceling unit 106 is output. Even if this superimposed binarized signal is input to the decoding unit 111, the start margin Due to the unnecessary signal SPRS in the SMGN part, the decoding unit 111 cannot detect the start margin SMGN and cannot decode the bar code.

バーコードが解読できなかったときには、このバーコードが解読できなかったこともしくはスタートマージンSMGNが検出できなかったことが、デコード部111からキャンセル信号発生部112に解読不可信号によって通知される。   When the bar code cannot be decoded, the decoding unit 111 notifies the cancel signal generation unit 112 that the bar code could not be decoded or the start margin SMGN could not be detected.

このデコード部111からの通知を受けたキャンセル信号発生部112は、投光部110および受光部101の3回目の走査がなされた際には、2回目の走査時の所定のパルス幅T2よりもパルス幅を拡げたキャンセル信号を3回目の走査時に発生する。   Upon receiving the notification from the decoding unit 111, the cancel signal generating unit 112, when the third scanning of the light projecting unit 110 and the light receiving unit 101 is performed, is larger than a predetermined pulse width T2 at the second scanning. A cancel signal with an expanded pulse width is generated during the third scan.

このパルス幅を拡げたキャンセル信号を、図3(e)に示す。   FIG. 3 (e) shows a cancel signal with an expanded pulse width.

図3(e)は、投光部110および受光部101が3回目の走査を行って、この走査の結果バーコードシンボル200からの反射光によって、図3(b)に示す重畳二値化信号が得られ、このときにキャンセル信号発生部112から供給されたキャンセル信号を示しており、このキャンセル信号はキャンセルする部分が図3(d)に示したパルス幅T2よりも広い所定のパルス幅T3だけある信号である。   In FIG. 3E, the light projecting unit 110 and the light receiving unit 101 perform the third scan, and the superimposed binarized signal shown in FIG. The cancel signal supplied from the cancel signal generator 112 at this time is shown, and the cancel signal has a predetermined pulse width T3 whose canceling portion is wider than the pulse width T2 shown in FIG. There is only a signal.

このキャンセル信号は、所定のパルス幅T3を有しているが、スタートマージンキャンセル部106において重畳二値化信号のスタートマージンSMGNにある不要信号SPRSを除去することはできない。   This cancel signal has a predetermined pulse width T3, but the start margin cancel unit 106 cannot remove the unnecessary signal SPRS in the start margin SMGN of the superimposed binarized signal.

これは、図3(b)に示した重畳二値化信号のスタートマージンSMGNの一部はキャンセルされているが、パルス幅T3のため、不要信号SPRSのある部分はキャンセルされておらず、不要信号SPRSの除去ができないものである。   This is because a part of the start margin SMGN of the superimposed binarized signal shown in FIG. 3B is canceled, but because of the pulse width T3, a part with the unnecessary signal SPRS is not canceled and is unnecessary. The signal SPRS cannot be removed.

この場合には、二値化部103から出力された重畳二値化信号がスタートマージンキャンセル部106に入力され、キャンセル信号発生部112からはキャンセル信号がスタートマージンキャンセル部106に入力されるが、キャンセル信号のパルス幅T3が不要信号SPRSを除去できるパルス幅でないため、不要信号SPRSの除去されていない重畳二値化信号がスタートマージンキャンセル部106から出力され、デコード部111に入力される。   In this case, the superimposed binarized signal output from the binarizing unit 103 is input to the start margin canceling unit 106, and the cancel signal is input from the cancel signal generating unit 112 to the start margin canceling unit 106. Since the pulse width T3 of the cancel signal is not a pulse width that can remove the unnecessary signal SPRS, the superimposed binary signal from which the unnecessary signal SPRS is not removed is output from the start margin canceling unit 106 and input to the decoding unit 111.

すなわち、重畳二値化信号のスタートマージンSMGN部分の不要信号SPRSは、スタートマージンキャンセル部106を出力する際もそのままであり、この重畳二値化信号がデコード部111に入力されてもこのスタートマージンSMGN部分の不要信号SPRSのため、デコード部111はスタートマージンSMGNの検出が行えずに、バーコードの解読はできない。   That is, the unnecessary signal SPRS in the start margin SMGN portion of the superimposed binarized signal remains as it is when the start margin canceling unit 106 is output. Even if this superimposed binarized signal is input to the decoding unit 111, the start margin Due to the unnecessary signal SPRS in the SMGN part, the decoding unit 111 cannot detect the start margin SMGN and cannot decode the bar code.

バーコードが解読できなかったときには、このバーコードが解読できなかったこともしくはスタートマージンSMGNが検出できなかったことが、デコード部111からキャンセル信号発生部112に解読不可信号によって通知される。   When the bar code cannot be decoded, the decoding unit 111 notifies the cancel signal generation unit 112 that the bar code could not be decoded or the start margin SMGN could not be detected.

このデコード部111からの通知を受けたキャンセル信号発生部112は、投光部110および受光部101の4回目の走査がなされた際には、3回目の走査時の所定のパルス幅T3よりもパルス幅を拡げたキャンセル信号を発生する。   Upon receiving the notification from the decoding unit 111, the cancel signal generating unit 112, when the fourth scanning of the light projecting unit 110 and the light receiving unit 101 is performed, is larger than a predetermined pulse width T3 at the time of the third scanning. A cancel signal with an expanded pulse width is generated.

このパルス幅を拡げたキャンセル信号を、図3(f)に示す。   FIG. 3 (f) shows a cancel signal with an expanded pulse width.

図3(f)は、投光部110および受光部101が4回目の走査を行って、この走査の結果バーコードシンボル200からの反射光によって、図3(b)に示す重畳二値化信号が得られ、このときにキャンセル信号発生部112から供給されたキャンセル信号を示しており、このキャンセル信号はキャンセルする部分が図3(e)に示したパルス幅T3よりも広い所定のパルス幅T4だけある信号である。   FIG. 3 (f) shows a case where the light projecting unit 110 and the light receiving unit 101 perform the fourth scan, and the superimposed binarized signal shown in FIG. 3 (b) by the reflected light from the barcode symbol 200 as a result of this scan. The cancel signal supplied from the cancel signal generator 112 at this time is shown, and the cancel signal has a predetermined pulse width T4 whose canceling portion is wider than the pulse width T3 shown in FIG. There is only a signal.

このキャンセル信号は、所定のパルス幅T4を有しており、スタートマージンキャンセル部106において重畳二値化信号のスタートマージンSMGNにある不要信号SPRSを除去することができる。   This cancel signal has a predetermined pulse width T4, and the start margin cancel unit 106 can remove the unnecessary signal SPRS in the start margin SMGN of the superimposed binarized signal.

これは、図3(b)に示した重畳二値化信号のスタートマージンSMGNがキャンセル信号のキャンセル部分によりキャンセルされており、すなわちパルス幅T4のため、不要信号SPRSのある部分がキャンセルされて、不要信号SPRSの除去ができるものである。   This is because the start margin SMGN of the superimposed binarized signal shown in FIG. 3B is canceled by the cancel portion of the cancel signal, that is, a portion of the unnecessary signal SPRS is canceled because of the pulse width T4. The unnecessary signal SPRS can be removed.

この場合には、二値化部103から出力された重畳二値化信号がスタートマージンキャンセル部106に入力され、キャンセル信号発生部112からはキャンセル信号がスタートマージンキャンセル部106に入力されるが、スタートマージンキャンセル部106においてキャンセル信号のパルス幅T4が不要信号SPRSを除去できるパルス幅であるため、不要信号SPRSの除去された重畳二値化信号がスタートマージンキャンセル部106から出力され、デコード部111に入力される。   In this case, the superimposed binarized signal output from the binarizing unit 103 is input to the start margin canceling unit 106, and the cancel signal is input from the cancel signal generating unit 112 to the start margin canceling unit 106. Since the pulse width T4 of the cancel signal in the start margin canceling unit 106 is a pulse width that can remove the unnecessary signal SPRS, the superimposed binary signal from which the unnecessary signal SPRS is removed is output from the start margin canceling unit 106, and the decoding unit 111 Is input.

すなわち、重畳二値化信号のスタートマージンSMGN部分の不要信号SPRSはキャンセル部分(領域)にあるため、スタートマージンキャンセル部106を出力される際には除去されており、この重畳二値化信号がデコード部111に入力されると、デコード部111はこのスタートマージンSMGN部分のスタートマージン信号の検出を行ない、スタートマージンSMGNの検出がされたことにより、デコード部111は何組かのバーで形成されたバーコードに相当するバーコード信号を左から順次処理して、バーコード信号の解読が行われる。   That is, since the unnecessary signal SPRS in the start margin SMGN portion of the superimposed binarized signal is in the cancel portion (region), it is removed when the start margin cancel unit 106 is output. When input to the decoding unit 111, the decoding unit 111 detects the start margin signal of the start margin SMGN portion, and the detection of the start margin SMGN results in the decoding unit 111 being formed of several pairs of bars. The bar code signal corresponding to the bar code is sequentially processed from the left to decode the bar code signal.

以上説明したように、キャンセル信号の所定のパルス幅は、走査ごとに徐々にパルス幅を拡げて行くが、このパルス幅の拡大はバーコードの最も幅の狭いバーの幅程度の単位で拡げて行くとよく、このキャンセル信号の所定のパルス幅の拡大は、スタートマージンSMGNに含まれた不要信号SPRSがキャンセルされ、このキャンセル信号によってスタートマージンSMGNの不要信号SPRSがスタートマージンキャンセル部106で除去されるまで所定のパルス幅の拡大が走査ごとに繰り返し行われる。   As described above, the predetermined pulse width of the cancel signal gradually increases with each scan, but this pulse width is expanded in units of the width of the narrowest bar of the barcode. In order to increase the predetermined pulse width of the cancel signal, the unnecessary signal SPRS included in the start margin SMGN is canceled, and the unnecessary signal SPRS of the start margin SMGN is removed by the start margin canceling unit 106 by this cancel signal. The predetermined pulse width is repeatedly expanded every scan until

このキャンセル信号によって不要信号SPRSが除去され、スタートマージンSMGN部分の幅が確保できたときに、デコード部111で重畳二値化信号のこのスタートマージンSMGNを検出した後、バーコード信号の解読によりバーコードの解読が可能となる。   When the unnecessary signal SPRS is removed by this cancel signal and the width of the start margin SMGN can be secured, the decoder 111 detects the start margin SMGN of the superimposed binarized signal, and then decodes the bar code signal to detect the bar code signal. The code can be decoded.

キャンセル信号による不要信号SPRSの除去は、この処理によって電気信号を読み取るタイミングをずらすことで、不要信号SPRS部分を回避してバーコードの読み取り解読を行うことが可能となっている。   The removal of the unnecessary signal SPRS by the cancel signal can be performed by reading and decoding the barcode while avoiding the unnecessary signal SPRS portion by shifting the timing of reading the electric signal by this processing.

このキャンセル信号のパルス幅の増分量はスタートマージンキャンセル部106もしくはこれを制御するソフトウェアにより任意に設定が可能であり、この増量分の設定によりあらゆるバー幅を有するバーコードシンボル200に対応することが可能となる。   The increment amount of the pulse width of the cancel signal can be arbitrarily set by the start margin cancel unit 106 or software for controlling the start margin cancel unit 106, and can correspond to the bar code symbol 200 having any bar width by setting the increment. It becomes possible.

また、キャンセル信号のパルス幅の増分量はスタートマージンキャンセル部106もしくはこれを制御するソフトウェアにより任意に設定が可能であり、この増量分の設定によりあらゆるスタートマージン幅を有するバーコードシンボル200に対応することが可能となる。   Further, the increment amount of the pulse width of the cancel signal can be arbitrarily set by the start margin canceling unit 106 or software for controlling the start margin canceling unit 106, and it corresponds to the barcode symbol 200 having any start margin width by setting the increased amount. It becomes possible.

このようにして、スタートマージンSMGNに不要信号SPRSのある重畳二値化信号の場合にも、従来のバーコードリーダでスタートマージンを検出することに代えて、バーコードのスタートマージンSMGNの不要信号を含む部分を強制的にキャンセルして擬似的にスタートマージンSMGNを形成することで、スタートマージンSMGNを検出したことと同様の効果が得られ、従来は読み取り不可能であったバーコードシンボルラベルのスタートマージン部にキズ、汚れがあっても、解読が可能となり、バーコードの読み取り率が向上するという優れた効果を得られる。   In this way, even in the case of a superimposed binary signal having an unnecessary signal SPRS in the start margin SMGN, an unnecessary signal of the barcode start margin SMGN is used instead of detecting the start margin by a conventional barcode reader. By forcibly canceling the included portion and forming the start margin SMGN in a pseudo manner, the same effect as that obtained by detecting the start margin SMGN can be obtained. Even if there are scratches or dirt in the margin portion, it can be decoded and an excellent effect of improving the barcode reading rate can be obtained.

また、本実施形態のバーコードリーダ100は、このようなスタートマージンSMGN部分に不要信号の重畳したバーコードシンボル200のみならず、次のような場合にも読み取りが可能である。   Further, the barcode reader 100 according to the present embodiment can read not only the barcode symbol 200 in which an unnecessary signal is superimposed on the start margin SMGN but also the following cases.

バーコードリーダ100が、バーコードシンボル200を読み取る際に、スタートマージンSMGNに不要信号SPRSがない場合で、デコード部111でスタートマージンSMGNが検出できるにもかかわらず解読したときにデコードエラーとなることがある。   When the barcode reader 100 reads the barcode symbol 200 and there is no unnecessary signal SPRS in the start margin SMGN, a decoding error occurs when decoding is performed even though the start margin SMGN can be detected by the decoding unit 111. There is.

このデコードエラーの原因は、図4(a)に示した重畳二値化信号のようにバーコードシンボル200のバーコードの1本目のコードに印刷の滲み、コード幅の広がりなどがあり、この滲み、コード幅の広がりなどのためバーコードの1本目401が読み取れないことによっている。   The cause of this decoding error is that the first code of the barcode of the barcode symbol 200 has a printing blur, a code width, etc., as in the superimposed binarized signal shown in FIG. This is because the first barcode 401 cannot be read due to the widening of the code width.

このような場合にも、既に説明したように1回目の投光部110および受光部101の走査でバーコードをデコード部111で解読できなかったときには、デコード部111は解読できなかったことをキャンセル信号発生部112に解読不可信号により通知する。   Even in such a case, if the barcode cannot be decoded by the decoding unit 111 in the first scanning of the light projecting unit 110 and the light receiving unit 101 as described above, the decoding unit 111 cancels that the decoding cannot be performed. The signal generation unit 112 is notified by a decoding impossible signal.

このデコード部111からの通知を受けたキャンセル信号発生部112は、バーコードリーダ100の投光部110および受光部101が2回目以降の走査を行う際に、受光駆動信号発生部113からの受光駆動用パルス信号を受けて、図3(d)〜図3(f)に示したように所定のパルス幅を徐々に拡げたキャンセル信号を出力し、スタートマージンキャンセル部106に供給する。   Upon receiving the notification from the decoding unit 111, the cancel signal generation unit 112 receives light from the light reception drive signal generation unit 113 when the light projecting unit 110 and the light receiving unit 101 of the barcode reader 100 perform the second and subsequent scans. In response to the drive pulse signal, a cancel signal having a predetermined pulse width gradually increased as shown in FIGS. 3D to 3F is output and supplied to the start margin cancel unit 106.

このバーコードの1本目のコードに印刷の滲み、コード幅の広がりなどがある場合には、このキャンセル信号の所定のパルス幅を徐々に拡げた結果、図4(b)に示すようにバーコードのちょうど1組目の最初のパルスのエッジがこのキャンセル信号の後方のエッジに掛かり、1組目の最初のパルスのエッジのにじみ部分がこのキャンセル信号により除去されたときに、デコード部111により最初のパルス402が検出できるようになる。   When the first code of this bar code has printing blur, code width, etc., as a result of gradually increasing the predetermined pulse width of this cancel signal, the bar code as shown in FIG. When the edge of the first pulse of the first set of the first edge is applied to the rear edge of the cancel signal and the blurring portion of the edge of the first pulse of the first set is removed by the cancel signal, The pulse 402 can be detected.

このため、バーコードの解読が可能になり、スタートマージンSMGNが検出された後バーコードの解読が行われる。   For this reason, the barcode can be decoded, and the barcode is decoded after the start margin SMGN is detected.

このように、バーコードシンボル200の最初の1本目を二値化できない場合にも、同様の動作でキャンセル信号の所定のパルス幅を徐々に拡げて行き、バーコードの1本目のコードの滲みが除去されたときに1本目のコードパルスを検出でき、バーコードの解読が可能となる。   Thus, even when the first one of the bar code symbol 200 cannot be binarized, the predetermined pulse width of the cancel signal is gradually expanded by the same operation, and the first code of the bar code is blurred. When removed, the first code pulse can be detected and the barcode can be decoded.

なお、本実施形態のバーコードリーダ100においては、図1に示したような構成でスタートマージンキャンセル部106を設けることにより重畳二値化信号に擬似的にスタートマージンSMGNを形成してバーコードの解読が可能なようにしたが、これに限定されるものではない。   In the barcode reader 100 of this embodiment, the start margin SMGN is formed in the superimposed binary signal by providing the start margin canceling unit 106 with the configuration shown in FIG. Decoding is made possible, but is not limited to this.

ハードウェアとしてのスタートマージンキャンセル部106を設ける代わりに、スタートマージンキャンセル部106の機能を有するソフトウェアを例えば制御部104の内部に組み込み、このソフトウェアにてスタートマージンキャンセル部106と同様の処理をすることによって強制的にスタートマージンSMGNを形成して、解読を行ってもよい。   Instead of providing the start margin canceling unit 106 as hardware, software having the function of the start margin canceling unit 106 is incorporated in the control unit 104, for example, and the same processing as the start margin canceling unit 106 is performed by this software. The start margin SMGN may be forcibly formed by the above and decoding may be performed.

また、キャンセル信号によって重畳二値化信号のスタートマージンSMGN部分にキャンセルする実施形態を説明したが、本発明はこれに限定されず、二値化部103において二値化された信号にキャンセルする代わりに、例えば二値化する前のアナログ電気信号のスタートマージンに相当する部分をキャンセルする処理を行うことでも同様であり、この処理によって電気信号を読み取るタイミングをずらすことで、不要信号部分を回避してバーコードの読み取り解読を行うことが可能である。   Further, although the embodiment has been described in which the cancel signal cancels the start margin SMGN portion of the superimposed binarized signal, the present invention is not limited to this, and the binarization unit 103 cancels the binarized signal. In addition, for example, it is possible to cancel the portion corresponding to the start margin of the analog electric signal before binarization, and the unnecessary signal portion can be avoided by shifting the timing of reading the electric signal by this processing. It is possible to read and decode barcodes.

また、キャンセル信号は、スタートパルスをトリガとして、このスタートパルスの後方のエッジから所定のパルス幅でキャンセルする領域を形成する実施形態を説明したが、これに限定されるものではなく、例えば受光部101から出力された電気信号のスタートマージン信号から不要信号の一部を検出して、この不要信号を検出した部分を中心にキャンセルする領域を形成したキャンセル信号により、スタートマージン信号に重畳した不要信号をキャンセルするようにしてもよい。   Further, the embodiment has been described in which the cancel signal is formed by using the start pulse as a trigger to form a region to be canceled with a predetermined pulse width from the rear edge of the start pulse. However, the present invention is not limited to this. A part of the unnecessary signal is detected from the start margin signal of the electrical signal output from 101, and an unnecessary signal superimposed on the start margin signal by a cancel signal in which a canceling area is formed around the part where the unnecessary signal is detected. May be canceled.

また、説明では解読できなかった場合には次の回の走査を行った際にキャンセル部分(所定のパルス幅)を拡げたキャンセル信号をスタートマージンキャンセル部106に入力しているが、この2回目以降の走査を行う代わりに、例えばスタートマージンキャンセル部106に重畳二値化信号を記憶しておいて、この記憶された重畳二値化信号にキャンセル領域を長くして拡げたキャンセル信号を重ねることで同様の処理を行ってもよい。   In addition, if it cannot be deciphered in the description, a cancel signal having an expanded cancel portion (predetermined pulse width) is input to the start margin cancel unit 106 when the next scan is performed. Instead of performing the subsequent scanning, for example, a superimposed binary signal is stored in the start margin canceling unit 106, and a cancellation signal having a longer cancellation area is superimposed on the stored superimposed binary signal. A similar process may be performed.

また、本実施形態ではエンドマージンの検出については説明していないが、従来同様にエンドマージン検出を行ってよいことは当然であり、またエンドマージンの検出においても必要に応じて本実施形態のスタートマージンのキャンセル、検出と同様の処理をハードウェアもしくはソフトウェアによって行ってもよい。   Although the end margin detection is not described in the present embodiment, it is natural that end margin detection may be performed as in the conventional case, and the start of the present embodiment is also performed when necessary in the end margin detection. Processing similar to margin cancellation and detection may be performed by hardware or software.

本実施形態のバーコードリーダの構成例を示すブロック図である。It is a block diagram which shows the structural example of the barcode reader of this embodiment. 図2(a)〜(g)は、バーコードリーダの各構成部位から出力される信号を示す図である。FIGS. 2A to 2G are diagrams showing signals output from each component of the barcode reader. 図3(a)〜(f)は、受光駆動信号発生部からの受光駆動用パルス信号に基づいてキャンセル信号発生部から出力されるキャンセル信号のパルス幅の広がる状態を示す図である。FIGS. 3A to 3F are diagrams illustrating a state in which the pulse width of the cancel signal output from the cancel signal generation unit is widened based on the light reception drive pulse signal from the light reception drive signal generation unit. 図4(a)は、バーコードの1組目のコードに印刷の滲み、コード幅の広がりなどがあり解読不能な重畳二値化信号を示す図である。図4(b)は、キャンセル信号により印刷の滲み、コード幅の広がりなどが除去され、解読可能になった重畳二値化信号を示す図である。FIG. 4A is a diagram showing a superimposed binarized signal that cannot be deciphered due to printing blur, code width expansion, etc., in the first set of barcode codes. FIG. 4B is a diagram showing a superimposed binarized signal in which printing blur, code width expansion, and the like are removed by the cancel signal, and become decipherable. 従来技術のバーコードリーダの構成例を示すブロック図である。It is a block diagram which shows the structural example of the barcode reader of a prior art. 図6(a)〜(c)は、スタートマージン部分に不要信号が重畳していない電気信号を示す説明図である。FIGS. 6A to 6C are explanatory diagrams showing electric signals in which unnecessary signals are not superimposed on the start margin portion. 図7(a)〜(c)は、スタートマージン部分に不要信号が重畳した電気信号を示す説明図である。FIGS. 7A to 7C are explanatory diagrams showing electrical signals in which unnecessary signals are superimposed on the start margin portion. スタートマージン部分にキズ、汚れのあるバーコードシンボルを示す概観図である。It is a general-view figure which shows the barcode symbol which has a crack and dirt in a start margin part.

符号の説明Explanation of symbols

100 バーコードリーダ
101 受光部
102 増幅部
103 二値化部
104 制御部
106 スタートマージンキャンセル部
110 投光部
111 デコード部
112 キャンセル信号発生部
113 受光駆動信号発生部
114 投光駆動信号発生部
200 バーコードシンボル
401 バーコードの1本目
402 最初のパルス
500 バーコードリーダ
501 受光部
502 増幅部
503 二値化部
511 デコード部
703 スタートパルス
708 ストップパルス
BD バーコード
MGN マージン
SMGN スタートマージン
SPRS 不要信号
STN 汚れ
DESCRIPTION OF SYMBOLS 100 Barcode reader 101 Light receiving part 102 Amplifying part 103 Binarization part 104 Control part 106 Start margin cancellation part 110 Light projection part 111 Decoding part 112 Cancel signal generation part 113 Light reception drive signal generation part 114 Light projection drive signal generation part 200 Bar Code symbol 401 First bar code 402 First pulse 500 Bar code reader 501 Light receiving unit 502 Amplifying unit 503 Binarizing unit 511 Decoding unit 703 Start pulse 708 Stop pulse BD Bar code MGN margin SMGN Start margin SPRS Unnecessary signal STN Dirt

Claims (1)

スタートマージンおよび該スタートマージン部分に続き何組かのバーで形成されたバーコードからなるバーコードシンボルを光学的に読み取って、前記バーコードが示すデータを出力するバーコードリーダであって、
光学的な読み取りを開始させるスタートパルスと、前記光学的な読み取りを終了させるストップパルスとからなる駆動信号に基づいて前記バーコードシンボルの光学的な読み取りを実施し、電気信号に変換して出力する前記受光部と、
周期的に入力される前記受光部の前記電気信号の出力内容に基づいて前記スタートマージンの検出および前記バーコードの解読を行って、前記スタートマージンを検出できなかった場合もしくは前記バーコードの解読ができなかった場合にはその旨を示す解読不可信号を出力するデコード部と、
前記スタートパルスをトリガとして、前記電気信号のうちの、前記デコード部において前記スタートマージンの検出と前記バーコードの解読が行われる領域を部分的にキャンセルし、前記キャンセル部分が所定パルス幅を有するパルス信号で形成されるキャンセル信号を、前記解読不可信号が入力される毎にキャンセルする領域が長くなるように出力するキャンセル信号発生部と、
を備えることを特徴とするバーコードリーダ。
A bar code reader that optically reads a bar code symbol consisting of a start margin and a bar code formed by several sets of bars following the start margin part, and outputs data indicated by the bar code,
The barcode symbol is optically read based on a drive signal composed of a start pulse for starting optical reading and a stop pulse for ending the optical reading, and is converted into an electrical signal and output. The light receiving unit;
When the start margin is detected and the barcode is decoded based on the output contents of the electrical signal of the light receiving unit that is periodically input, the start margin cannot be detected or the barcode is decoded. A decoding unit that outputs an undecipherable signal indicating that if not,
Using the start pulse as a trigger, a part of the electrical signal where the start margin is detected and the barcode is decoded in the decoding unit is partially canceled, and the cancel part has a predetermined pulse width. A cancel signal generating unit that outputs a cancel signal formed by a signal so that an area to be canceled becomes longer each time the undecipherable signal is input,
A bar code reader comprising:
JP2005267185A 2005-09-14 2005-09-14 Bar code reader and start margin detection method thereof Active JP4159571B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005267185A JP4159571B2 (en) 2005-09-14 2005-09-14 Bar code reader and start margin detection method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005267185A JP4159571B2 (en) 2005-09-14 2005-09-14 Bar code reader and start margin detection method thereof

Publications (2)

Publication Number Publication Date
JP2007079959A JP2007079959A (en) 2007-03-29
JP4159571B2 true JP4159571B2 (en) 2008-10-01

Family

ID=37940199

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005267185A Active JP4159571B2 (en) 2005-09-14 2005-09-14 Bar code reader and start margin detection method thereof

Country Status (1)

Country Link
JP (1) JP4159571B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5035042B2 (en) * 2007-08-29 2012-09-26 株式会社デンソーウェーブ Optical information reader
US8548778B1 (en) 2012-05-14 2013-10-01 Heartflow, Inc. Method and system for providing information from a patient-specific model of blood flow

Also Published As

Publication number Publication date
JP2007079959A (en) 2007-03-29

Similar Documents

Publication Publication Date Title
JP2006227796A (en) Barcode reading method, barcode reader, and computer program
JP2008535058A (en) Apparatus and process for two-stage decoding of high density optical symbols
JP2008148072A5 (en)
JP2000184202A (en) Image processing system for removing pattern arranged in vertical direction on image generated by scanning
JP2003348336A5 (en)
JP4159571B2 (en) Bar code reader and start margin detection method thereof
US10460142B2 (en) Barcode identification method for improving decoding reliability by correcting image distortion
JPH10198754A (en) Code reader
JP2007087005A (en) Optical information reader
US5637853A (en) Reading indicia by analysis of different light reflecting portions based on signal-to-noise ratios
JP5035042B2 (en) Optical information reader
JP2007159065A (en) Image reading apparatus, and sticky note removing method thereof
JP2010140310A (en) Bar code reading apparatus, bar code reading program, and bar code reading method
JP3911411B2 (en) Code reader
JP2008173956A5 (en)
JP4832996B2 (en) Information detection device
JP2009123088A (en) Data code reader and its method
JP2010161694A (en) Image reader and image forming apparatus
JP2009238149A (en) Two-dimensional code reading device
JP5424369B1 (en) Bar code reader, bar code reading method and bar code reading program
JP2008123465A (en) Optical information reading device
JP2012009058A (en) Data code scanning device and method thereof
JP2011028414A (en) Optical information reading device
JP2010140311A (en) Bar code reading apparatus, bar code reading program, and bar code reading method
JP2010211561A (en) Optical information reader

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070918

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070926

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20071122

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20080709

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080715

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 4159571

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110725

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110725

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120725

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120725

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130725

Year of fee payment: 5

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350