JPH08180126A - Bar code reading method and bar code reading device - Google Patents

Bar code reading method and bar code reading device

Info

Publication number
JPH08180126A
JPH08180126A JP6318747A JP31874794A JPH08180126A JP H08180126 A JPH08180126 A JP H08180126A JP 6318747 A JP6318747 A JP 6318747A JP 31874794 A JP31874794 A JP 31874794A JP H08180126 A JPH08180126 A JP H08180126A
Authority
JP
Japan
Prior art keywords
barcode
bar code
reading
data
bar
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP6318747A
Other languages
Japanese (ja)
Other versions
JP3329969B2 (en
Inventor
Mitsuo Watanabe
光雄 渡辺
Shinichi Sato
伸一 佐藤
Isao Iwaguchi
功 岩口
Hiroaki Kawai
弘晃 川合
Motohiko Ito
元彦 伊藤
Ichiro Shinoda
一郎 篠田
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP31874794A priority Critical patent/JP3329969B2/en
Priority to GB9617589A priority patent/GB2301468B/en
Priority to GB9515099A priority patent/GB2291524B/en
Publication of JPH08180126A publication Critical patent/JPH08180126A/en
Priority to US08/980,012 priority patent/US5854479A/en
Priority to US09/157,386 priority patent/US5979765A/en
Application granted granted Critical
Publication of JP3329969B2 publication Critical patent/JP3329969B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

(57)【要約】 【目的】 本発明は、POSシステムなどに適用される
バーコード読取方法および装置に関し、1つのバーコー
ドを複数の部分に分割して復調する場合、読取効率の低
下を招くことなく読取率向上と誤読率低減をはかること
を目的とする。 【構成】 基準回数変更手段15により、読取状態情報
取得手段14からのバーコード1の読取状態情報に応じ
て一致回数判定手段13における基準回数を設定変更
し、一致回数判定手段13により、バーコード1から同
一のデータが連続して復調された一致回数が検知され、
当該一致回数が前記基準回数となった場合、バーコード
1から復調されたデータを有効としてバーコード1の読
取を完了させるように構成する。
(57) [Summary] [Object] The present invention relates to a barcode reading method and apparatus applied to a POS system or the like, and when one barcode is divided into a plurality of portions and demodulated, the reading efficiency is lowered. The objective is to improve the reading rate and reduce the misreading rate. [Configuration] The reference number changing unit 15 sets and changes the reference number in the matching number determining unit 13 according to the reading state information of the barcode 1 from the reading state information acquiring unit 14, and the matching number determining unit 13 causes the barcode to be read. The number of coincidences in which the same data is continuously demodulated from 1 is detected,
When the number of times of matching reaches the reference number of times, the data demodulated from the barcode 1 is validated and the reading of the barcode 1 is completed.

Description

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

【0001】(目次) 産業上の利用分野 従来の技術(図27〜図32) 発明が解決しようとする課題 課題を解決するための手段(図1) 作用(図1) 実施例 (a)第1実施例の説明(図2〜図6) (b)第2実施例の説明(図7,図8) (c)第3実施例の説明(図9,図10) (d)第4実施例の説明(図11〜図13) (e)第5実施例の説明(図14〜図18) (f)第6実施例の説明(図19〜図21) (g)第7実施例の説明(図22,図23) (h)第8実施例の説明(図24〜図26) (i)その他 発明の効果(Table of Contents) Industrial Application Field of the Prior Art (FIGS. 27 to 32) Problem to be Solved by the Invention Means for Solving the Problem (FIG. 1) Action (FIG. 1) Embodiment (a) Description of one embodiment (FIGS. 2 to 6) (b) Description of second embodiment (FIGS. 7 and 8) (c) Description of third embodiment (FIGS. 9 and 10) (d) Fourth embodiment Description of examples (FIGS. 11 to 13) (e) Description of fifth embodiment (FIGS. 14 to 18) (f) Description of sixth embodiment (FIGS. 19 to 21) (g) Description of seventh embodiment Description (FIGS. 22 and 23) (h) Description of the eighth embodiment (FIGS. 24 to 26) (i) Other effects of the invention

【0002】[0002]

【産業上の利用分野】本発明は、スーパーマーケット,
流通業等において用いられるPOSシステム(Point Of
Sales system;販売時点情報管理システム)などに適用
されるバーコード読取方法およびバーコード読取装置に
関する。
The present invention relates to a supermarket,
POS system (Point Of
The present invention relates to a bar code reading method and a bar code reading device applied to a sales system (point of sale information management system) and the like.

【0003】[0003]

【従来の技術】図27は一般的なバーコード読取装置
(バーコードリーダー)の構成を示すブロック図であ
り、この図27において、1は物品等の表面に印刷され
たバーコードで、このバーコード1は、通常、複数の黒
色のバー(以下、黒バーという)および白色のバー(以
下、白バーという)を交互に配置してなるもので、各黒
バーおよび各白バーの幅に基づいて所定のデータを表す
ものである。
2. Description of the Related Art FIG. 27 is a block diagram showing the configuration of a general bar code reader (bar code reader). In FIG. 27, reference numeral 1 is a bar code printed on the surface of an article or the like. Code 1 is usually composed of a plurality of black bars (hereinafter referred to as black bars) and white bars (hereinafter referred to as white bars) alternately arranged, based on the width of each black bar and each white bar. Represents predetermined data.

【0004】2はバーコード1に対してレーザビームL
2を照射するとともにバーコード1から反射されてきた
レーザビームL2の反射光R1を受光する光学系であ
り、この光学系2は、レーザ発光部3,走査機構4およ
び光電変換部5から構成されている。ここで、レーザ発
光部3は、レーザビームL1を発光する半導体レーザを
有して構成されるものである。
2 is a laser beam L for the bar code 1.
2 is an optical system for irradiating 2 and receiving the reflected light R1 of the laser beam L2 reflected from the barcode 1. The optical system 2 is composed of a laser emitting section 3, a scanning mechanism 4 and a photoelectric conversion section 5. ing. Here, the laser emission unit 3 is configured to include a semiconductor laser that emits the laser beam L1.

【0005】また、走査機構4は、例えばモータにより
回転駆動されるポリゴンミラーから構成されるもので、
レーザ発光部3からのレーザビームL1を反射すること
により、このレーザビームL1を、レーザビームL2と
してバーコード1をなす複数の黒バーおよび白バーへ向
けて照射し、バーコード1の黒バー,白バーと交差する
方向に一定の速度で移動・走査させる機能を有してい
る。
The scanning mechanism 4 is composed of, for example, a polygon mirror rotated by a motor.
By reflecting the laser beam L1 from the laser emitting unit 3, the laser beam L1 is irradiated as a laser beam L2 toward a plurality of black bars and white bars forming the bar code 1, and the black bar of the bar code 1 It has the function of moving and scanning at a constant speed in the direction intersecting with the white bar.

【0006】この走査機構4は、バーコード1からのレ
ーザビームL2の反射光R1を反射することにより、レ
ーザビームL2の走査に伴って移動する反射光R1を反
射光R2として光電変換部5へ入射させる機能も有して
いる。さらに、光電変換部5は、例えばフォトダイオー
ド等の光電変換素子を有して構成されるもので、走査機
構4を介して受光した反射光R2(光入力信号)をその
光量に応じた電気信号(アナログ値)に変換して出力す
るものである。
The scanning mechanism 4 reflects the reflected light R1 of the laser beam L2 from the bar code 1 to the photoelectric conversion unit 5 as the reflected light R1 that moves with the scanning of the laser beam L2 as the reflected light R2. It also has a function of making it incident. Further, the photoelectric conversion unit 5 is configured to include a photoelectric conversion element such as a photodiode, and the reflected light R2 (optical input signal) received via the scanning mechanism 4 is converted into an electric signal according to the light amount thereof. It is converted into (analog value) and output.

【0007】一方、図27において、6は光電変換部5
からの電気信号をディジタル化するA/D変換部で、こ
のA/D変換部6は、光電変換部5からの電気信号をデ
ィジタル化することにより、バーコード1をなす各黒バ
ーの部分に対応する黒レベル信号と、バーコード1をな
す各白バーの部分に対応する白レベル信号との二値化信
号に変換するものである。この二値化信号としては、通
常、各白バーの部分からの反射光R2の光量の方が各黒
バー部分からの反射光R2の光量よりも大きくなるた
め、白レベル信号をHighレベルとし黒レベル信号をLow
レベルとした信号が得られる。
On the other hand, in FIG. 27, 6 is a photoelectric conversion unit 5.
Is an A / D conversion unit for digitizing the electric signal from the photoelectric conversion unit 5, and the A / D conversion unit 6 digitizes the electric signal from the photoelectric conversion unit 5 so that each black bar forming the bar code 1 is formed. The signal is converted into a binarized signal of a corresponding black level signal and a white level signal corresponding to each white bar portion forming the barcode 1. As the binarized signal, the quantity of the reflected light R2 from each white bar portion is usually larger than the quantity of the reflected light R2 from each black bar portion. Low level signal
The level signal is obtained.

【0008】また、7はクロックジェネレータ8からの
クロック信号をカウントするバー幅カウンタで、このバ
ー幅カウンタ7は、A/D変換部6からの二値化信号の
黒レベル信号部分および白レベル信号部分の時間幅、即
ち実際のバーコード1の各黒バーおよび各白バーの幅に
対応する値をクロック信号のカウント値として出力する
ものである。
Reference numeral 7 is a bar width counter for counting the clock signal from the clock generator 8. The bar width counter 7 is a black level signal portion and a white level signal of the binarized signal from the A / D converter 6. A value corresponding to the time width of the portion, that is, the width of each black bar and each white bar of the actual barcode 1 is output as the count value of the clock signal.

【0009】さらに、9はバー幅カウンタ7からのバー
幅カウント値を格納するメモリ、10はCPUで、この
CPU10は、メモリ9に格納されたバー幅カウント値
(各黒バーおよび各白バーの幅に対応する値)に基づい
て、バーコード1のもつ所定データを抽出・復調するた
めのものである。上述の構成により、レーザ発光部3か
ら発光されたレーザビームL1は、走査機構4によっ
て、レーザビームL2としてバーコード1の黒バーおよ
び白バーへ向けて照射され、バーコード1の黒バー,白
バーと交差する方向に一定の速度で移動・走査される。
Further, 9 is a memory for storing the bar width count value from the bar width counter 7, 10 is a CPU, and this CPU 10 has a bar width count value (for each black bar and each white bar) stored in the memory 9. It is for extracting and demodulating the predetermined data of the barcode 1 based on the value corresponding to the width). With the above-described configuration, the laser beam L1 emitted from the laser emission unit 3 is emitted as the laser beam L2 toward the black bar and the white bar of the barcode 1 by the scanning mechanism 4, and the black bar and the white bar of the barcode 1 are emitted. It is moved and scanned at a constant speed in the direction intersecting the bar.

【0010】走査機構4から射出されたレーザビームL
2は、バーコード1の部分で散乱・反射され反射光R1
として走査機構4に再入射する。反射光R1は、レーザ
ビームL2の走査移動に伴って反射角が変化して移動す
るが、走査機構4を構成するポリゴンミラーにて反射さ
れることにより、反射光R2として所定位置に配置され
た光電変換部5の光電変換素子へ入射する。
A laser beam L emitted from the scanning mechanism 4
2 is the reflected light R1 which is scattered and reflected at the barcode 1 portion.
And reenters the scanning mechanism 4. The reflected light R1 moves by changing the reflection angle in accordance with the scanning movement of the laser beam L2, but is reflected by the polygon mirror constituting the scanning mechanism 4 and is thus arranged at a predetermined position as the reflected light R2. The light enters the photoelectric conversion element of the photoelectric conversion unit 5.

【0011】この光電変換部5により反射光R2はその
光量に応じた電気信号に変換され、その電気信号は、A
/D変換部6によりディジタル化され、バーコード1の
各黒バーの部分に対応する黒レベル信号と、バーコード
1の各白バーの部分に対応する白レベル信号とを有する
二値化信号に変換される。この後、バー幅カウンタ7に
てクロックジェネレータ8からのクロック信号をカウン
トすることにより、A/D変換部6からの二値化信号の
黒レベル信号部分および白レベル信号部分の時間幅(実
際のバーコード1の各黒バーおよび各白バーの幅に対応
する値)がクロック信号のカウント値として計測され、
そのカウント値を、メモリ9に一旦格納する。そして、
CPU10において、メモリ9に格納されたバー幅カウ
ント値に対して所定の復調処理を施すことにより、バー
コード1のもつ所定データが抽出・復調される。
The photoelectric conversion unit 5 converts the reflected light R2 into an electric signal corresponding to the amount of light, and the electric signal is A
A binary signal having a black level signal corresponding to each black bar portion of the barcode 1 and a white level signal corresponding to each white bar portion of the barcode 1 is digitized by the D / D conversion unit 6. To be converted. After that, the bar width counter 7 counts the clock signal from the clock generator 8 so that the time width of the black level signal portion and the white level signal portion of the binarized signal from the A / D conversion unit 6 (actual The value corresponding to the width of each black bar and each white bar of barcode 1) is measured as the count value of the clock signal,
The count value is temporarily stored in the memory 9. And
In the CPU 10, the bar width count value stored in the memory 9 is subjected to a predetermined demodulation process to extract and demodulate the predetermined data of the bar code 1.

【0012】ところで、図27においても前述した通
り、バーコード1は、図28に示すごとく、複数の黒バ
ー1Bと白バー1Wとを交互に配置してなるもので、各
黒バー1Bおよび各白バー1Wの幅に基づいて所定のデ
ータを表している。これらの黒バー1Bおよび白バー1
Wは、それぞれ、ある所定基準長を1モジュールとして
設定され、この1モジュールの自然数倍(例えば1〜4
倍;この倍数をモジュール数という)の幅を有してい
る。
As described above with reference to FIG. 27, the bar code 1 has a plurality of black bars 1B and white bars 1W alternately arranged as shown in FIG. 28. The predetermined data is represented based on the width of the white bar 1W. These black bar 1B and white bar 1
Each W is set with a certain predetermined reference length as one module, and is a natural multiple of this one module (for example, 1 to 4).
Double; this multiple is called the number of modules).

【0013】そして、具体的に、図28に示すバーコー
ド1では、図中の左端側において、モジュール数1の2
本の黒バー1Bと、これらの黒バー1B,1B間のモジ
ュール数1の1本の白バー1WとからなるガイドバーG
Bが配置されるとともに、図中の右端側において、モジ
ュール数1の3本の黒バー1Bと、この黒バー1Bと交
互に配置されるモジュール数1の3本の白バー1Wとか
らなるスペシャルセンターバーSCBが配置されてい
る。
Specifically, in the bar code 1 shown in FIG. 28, the number of modules is 2 on the left end side in the drawing.
Guide bar G consisting of one black bar 1B and one white bar 1W having one module between these black bars 1B and 1B
B is arranged, and on the right end side in the figure, a special consisting of three black bars 1B having one module and three white bars 1W having one module alternately arranged with the black bars 1B. Center bar SCB is arranged.

【0014】これらのガイドバーGBおよびスペシャル
センターバーSCBは、バーコード1の両端を規定する
ためのもので、これらのガイドバーGBとスペシャルセ
ンターバーSCBとの間に、例えば6個の数値データを
表すキャラクタ部分1CHR(Character)〜6CHR
(図28においてそれぞれ時間幅C1〜C6として示す
部分)が配置されている。
The guide bar GB and the special center bar SCB are for defining both ends of the bar code 1. For example, six pieces of numerical data are provided between the guide bar GB and the special center bar SCB. Character part to represent 1CHR (Character) to 6CHR
(Parts shown as time widths C1 to C6 in FIG. 28) are arranged.

【0015】各キャラクタ部分1CHR〜6CHRは、
2本の白バー1Wと2本の黒バー1Bとから構成され全
モジュール数を7とするもので、図中、左方の黒バー1
Bの左端から右方の黒バー1Bの左端までのモジュール
数(時間幅T01に対応)と、左方の黒バー1Bの右端か
ら右方の黒バー1Bの右端までのモジュール数(時間幅
T02に対応)との組合せにより、各キャラクタ部分1C
HR〜6CHR毎に所定の数値データが表現されてい
る。
Each character portion 1CHR to 6CHR is
It consists of two white bars 1W and two black bars 1B, and the total number of modules is 7. The black bar 1 on the left side in the figure
The number of modules from the left end of B to the left end of the right black bar 1B (corresponding to the time width T01) and the number of modules from the right end of the left black bar 1B to the right end of the right black bar 1B (time width T02 Each character part 1C
Predetermined numerical data is expressed for each of HR to 6CHR.

【0016】このモジュール数の組合せと所定の数値デ
ータとの関係は、例えば図29に示すような既知のもの
で、予めテーブル(マトリックス)として記憶・保持さ
れている。なお、図29中のEはEVENつまり黒バー
1Bのモジュール数合計が偶数であることを示し、Oは
ODDつまり黒バー1Bのモジュール数合計が奇数であ
ることを示す。例えばUPCバーコード構成によれば、
図28におけるキャラクタ部分1CHRは‘ODD0
(O0)’、キャラクタ部分2CHRは‘ODD1(O
1)’、キャラクタ部分6CHRは‘ODD2(O2)’な
る数値データを表している。
The relationship between the combination of the numbers of modules and the predetermined numerical data is known as shown in FIG. 29, for example, and is stored and held in advance as a table (matrix). 29, E indicates that EVEN, that is, the total module number of black bars 1B is an even number, and O indicates that ODD, that is, the total module number of black bars 1B is an odd number. For example, according to the UPC barcode configuration,
The character portion 1CHR in FIG. 28 is'ODD0.
(O0) ', character part 2CHR is'ODD1 (O
1) 'and the character portion 6CHR represent numerical data "ODD2 (O2)".

【0017】従って、CPU10では、メモリ9に格納
されたバー幅カウント値に基づいて、各キャラクタ部分
1CHR〜6CHR毎に、時間幅(δディスタンス長)
T01およびT02のモジュール数を決定し、その2つのモ
ジュール数の組合せに対応する数値データを、予め記憶
された所定のテーブルから読み出すことにより、バーコ
ード1のもつデータが抽出・復調される。
Therefore, in the CPU 10, based on the bar width count value stored in the memory 9, the time width (δ distance length) for each character portion 1CHR to 6CHR.
The data of the barcode 1 is extracted and demodulated by determining the number of modules of T01 and T02 and reading the numerical data corresponding to the combination of the two modules from a predetermined table stored in advance.

【0018】なお、図28では、ガイドバーGBとスペ
シャルセンターバーSCBとの間に6つのキャラクタ部
分1CHR〜6CHRを配置したバーコード1の読取に
ついて説明したが、図30に示すように、図28に示し
たバーコード1の右側のスペシャルセンターバーSCB
を、モジュール数1の2本の黒バー1Bとモジュール数
1の2本の白バー1WとからなるセンターバーCBと
し、このセンターバーCBを中央として左右にキャラク
タ部分を6個ずつ配置し、左右の端部に、それぞれ、モ
ジュール数1の2本の黒バー1Bとモジュール数1の2
本の白バー1WとからなるレフトガイドバーLGBおよ
びライトガイドバーRGBを配置したタイプのものが一
般的であり、本発明における以下の説明では、この図3
0に示すタイプのバーコード1を読み取る場合について
説明する。この図30に示すタイプのバーコード1の読
取も、基本的には図28に示すタイプのものと同様の手
順により行なわれる。
28, the reading of the bar code 1 in which the six character portions 1CHR to 6CHR are arranged between the guide bar GB and the special center bar SCB has been described, but as shown in FIG. Special center bar SCB on the right side of barcode 1 shown in
Is a center bar CB composed of two black bars 1B having one module and two white bars 1W having one module. Six character parts are arranged on the left and right with the center bar CB as the center, and Two black bars 1B with 1 module and 2 with 1 module at the end of
A type in which a left guide bar LGB composed of a white bar 1W of a book and a right guide bar RGB are generally arranged. In the following description of the present invention, FIG.
A case of reading the barcode 1 of the type 0 will be described. The reading of the barcode 1 of the type shown in FIG. 30 is also basically performed by the same procedure as that of the type shown in FIG.

【0019】図30に示すバーコード1のデータ抽出・
復調処理に際しては、通常、バーコード1の左右のガー
ドバーLGB,RGBとセンターバーCBとで挟まれた
左右のブロック単位で復調を行ない、その復調結果に対
して一般的なモジュラス10(modulus ten)チェックを
行ない、そのチェック結果がOKであれば、バーコード
1の1回分の読取(復調処理)を完了したものと判断す
る。
Data extraction of barcode 1 shown in FIG.
In the demodulation processing, demodulation is usually performed in units of left and right blocks sandwiched between the left and right guard bars LGB, RGB of the barcode 1 and the center bar CB, and a general modulus 10 (modulus ten) is applied to the demodulation result. A check is performed, and if the check result is OK, it is determined that one reading of the barcode 1 (demodulation process) is completed.

【0020】このとき、走査機構4により、バーコード
1に対しては1秒間に1500本程度のレーザビームL
2が照射され、そのうちの1本でもバーコード1を横切
ると1回の復調処理が完了するが、従来より、バーコー
ド1の誤読を避けるために、一連の復調を完了しても直
ちにその復調データを有効として読取を完了せず、同一
バーコード1について、復調処理を繰り返し行ない、モ
ジュラス10チェックがOKとなったブロック単位のデ
ータが、規定回数だけ連続して一致した場合(一致回数
チェック)に読取を完了している。例えば、バーコード
の復調データを2回取り込み、前回と今回とのデータが
一致した場合に読取を完了する手法を、2回一致チェッ
クと呼ぶ。
At this time, the scanning mechanism 4 causes the bar code 1 to have about 1500 laser beams L per second.
When two of them are irradiated and even one of them crosses the barcode 1, one demodulation process is completed. However, in order to avoid erroneous reading of the barcode 1, even if a series of demodulations are completed, the demodulation is immediately performed. When the data is valid, the reading is not completed, the demodulation process is repeated for the same bar code 1, and the block unit data for which the modulus 10 check is OK match continuously for the specified number of times (match count check). Has completed reading. For example, a method in which the demodulated data of the barcode is captured twice and the reading is completed when the data of the previous time and the data of this time match is called a double-match check.

【0021】上述したバーコードの読取手法では、図3
1に示すように、バーコード1の左右のガードバーLG
B,RGBとセンターバーCBとで挟まれた左右のブロ
ック単位を、それぞれ1本の走査ラインA1,A2で走
査できた場合、つまり、各走査ラインA1,A2に沿っ
て復調データの両端にガードバーLGBもしくはRGB
とセンターバーCBとが存在する場合にのみ、その復調
データを有効としている。
In the above-mentioned bar code reading method, as shown in FIG.
As shown in 1, the left and right guard bars LG of the barcode 1
When the left and right block units sandwiched by B, RGB and the center bar CB can be scanned by one scanning line A1, A2 respectively, that is, guard bars are provided at both ends of the demodulated data along each scanning line A1, A2. LGB or RGB
The demodulated data is valid only when and the center bar CB exist.

【0022】一方、近年、バーコード1に対してビーム
光を照射する光学系としては、例えば16方向の走査方
向をもつようなものがあり、このような光学系を用いる
場合には、ビーム光の走査方向とバーコード1とのなす
角度が大きく、図31に示すように1本の走査ライン
で、バーコード1の左右のガードバーLGB,RGBと
センターバーCBとで挟まれた左右の各ブロック単位の
全体を走査することができないことがある。
On the other hand, in recent years, as an optical system for irradiating the bar code 1 with the light beam, there is a system having a scanning direction of, for example, 16 directions. The angle formed by the scanning direction of the bar code 1 and the bar code 1 is large, and as shown in FIG. 31, the left and right blocks sandwiched between the left and right guard bars LGB, RGB of the bar code 1 and the center bar CB by one scanning line. It may not be possible to scan the entire unit.

【0023】例えば図32に示すように、3本の走査ラ
インA1〜A3により、1つのバーコード1を3つの部
分に分割して走査した場合、上述したバーコード読取手
法では、復調データを得ることができなかったが、近
年、図32に示すような分割走査を行なった場合でも、
各走査ラインA1〜A3毎にできる限りの復調を行な
い、得られた複数(ここでは3つ)の復調データを考え
られるパターンで組み合わせ、1つのバーコードのもつ
データを復調することが行なわれている。
For example, as shown in FIG. 32, when one bar code 1 is divided into three parts and scanned by three scanning lines A1 to A3, demodulated data is obtained by the above bar code reading method. Although it was not possible, in recent years, even when division scanning as shown in FIG. 32 is performed,
The scanning lines A1 to A3 are demodulated as much as possible, and a plurality of (three in this case) obtained demodulated data are combined in a possible pattern to demodulate the data of one bar code. There is.

【0024】ただし、このとき、各走査ラインA1〜A
3毎に得られた復調データに、ガードバーもしくはセン
ターバーのうちの少なくとも一つが含まれ、且つ、各走
査ラインA1〜A3毎に得られた復調データについて、
その端部のキャラクタが、隣接する他の復調データの端
部のキャラクタと重複している場合(キャラクタ重複チ
ェック)に、前記復調データを有効としている。図32
中、斜線部分がキャラクタ重複部分を示している。
However, at this time, each scanning line A1 to A
The demodulated data obtained for every 3 includes at least one of the guard bar or the center bar, and the demodulated data obtained for each of the scanning lines A1 to A3,
When the character at the end overlaps with the character at the end of the other adjacent demodulated data (character duplication check), the demodulated data is validated. FIG.
The shaded portion indicates the character overlapping portion.

【0025】[0025]

【発明が解決しようとする課題】ところで、近年、流通
業等において用いられるPOSシステムに代表されるよ
うに、バーコードの利用が盛んになってきているが、バ
ーコードの印字品質の低いものが増えており、このよう
な印字品質の低いバーコードについては誤読する可能性
が高いほか、紙面ノイズや文字等をバーコードデータと
して誤読する確率もかなり高い。
By the way, in recent years, as represented by POS systems used in the distribution industry and the like, the use of bar codes has become popular, but the bar code printing quality is low. The number of barcodes having such a low print quality is highly likely to be erroneously read, and the probability of erroneously reading paper noise and characters as barcode data is considerably high.

【0026】従って、印字品質の低いバーコードについ
ても、誤読することなく高い精度でバーコードを読み取
れるようにすることが望まれている。また、バーコード
の誤読は、バーコードの湾曲,皺や、バーコード読取装
置の読取窓面の硝子の傷等によっても引き起こされる。
また、ビーム光がガードバー,センターバー,正規キャ
ラクタを通過した後、紙面ノイズや文字等をバーコード
のキャラクタとして誤読して復調してしまい、このよう
な場合、前述したキャラクタ重複チェックがOKとなら
ず、復調結果は無効になる。
Therefore, it is desired to be able to read a barcode with high accuracy without misreading even a barcode having a low print quality. In addition, erroneous reading of the bar code is also caused by bending or wrinkling of the bar code, scratches of glass on the reading window surface of the bar code reading device, and the like.
Further, after the light beam passes through the guard bar, the center bar, and the regular character, paper surface noise, characters, etc. are erroneously read as a bar code character and demodulated. In such a case, if the above-mentioned character duplication check is OK. The demodulation result becomes invalid.

【0027】そこで、誤読を避けるべく、前述した通
り、従来、予め定められた一定の回数だけ連続して同一
のデータが復調された場合に、復調結果を有効にする処
置も行なわれているが、このような一致回数チェックで
は、基準となる回数が常に一定であるため、やはりバー
コードの読取状態によっては誤読する可能性がある。初
めから、その基準回数を大きく設定しておくことも考え
られるが、その場合、1回の走査,復調処理でほぼ間違
いなく読取を行なえる場合にも、基準回数だけ同一のデ
ータが復調されるまで復調結果が有効化されないため、
バーコードの読取に時間がかかるなどの課題がある。
Therefore, in order to avoid erroneous reading, as described above, conventionally, when the same data is continuously demodulated a predetermined number of times, the demodulation result is validated. In such a check of the number of coincidences, the reference number of times is always constant, and therefore there is a possibility of misreading depending on the reading state of the barcode. It may be possible to set the reference number large from the beginning, but in that case, even if reading can be performed with almost no mistake in one scanning and demodulation process, the same data is demodulated by the reference number. Since the demodulation result is not validated until
There is a problem that it takes time to read the barcode.

【0028】本発明は、このような課題に鑑み創案され
たもので、1つのバーコードを複数の部分に分割して走
査,復調する場合に、バーコードの読取状態に応じた一
致回数チェックを行なえるようにして、読取効率の低下
を招くことなく、実運用上の読取率の向上および誤読率
の低減をはかった、バーコード読取方法およびバーコー
ド読取装置を提供することを目的とする。
The present invention was devised in view of the above problems, and when one bar code is divided into a plurality of parts for scanning and demodulation, the number of coincidences is checked according to the bar code reading state. It is an object of the present invention to provide a bar code reading method and a bar code reading device, which are capable of performing reading and improving the reading rate and reducing the erroneous reading rate in actual operation without lowering the reading efficiency.

【0029】[0029]

【課題を解決するための手段】図1は本発明の原理ブロ
ック図で、この図1において、1はバーコード、2Aは
バーコード1に対しビーム光を照射するとともにバーコ
ード1から反射されてきたビーム光の反射光を受光する
光学系、3Aはビーム光を発光する光源、4Aは光源3
Aからの複数本のビーム光をバーコード1に対して照射
し各ビーム光によりバーコード1を走査する走査手段、
5Aは各ビーム光のバーコード1からの反射光を受光し
その光量に応じた電気信号に変換する光電変換手段であ
り、光学系2Aは、上述した光源3A,走査手段4Aお
よび光電変換手段5Aから構成されている。
FIG. 1 is a block diagram showing the principle of the present invention. In FIG. 1, 1 is a bar code and 2A is a beam for irradiating the bar code 1 with beam light and reflecting from the bar code 1. Optical system for receiving the reflected light of the beam light, 3A is a light source for emitting the beam light, 4A is a light source 3
Scanning means for irradiating the bar code 1 with a plurality of light beams from A and scanning the bar code 1 with each light beam,
Reference numeral 5A denotes a photoelectric conversion unit that receives the reflected light of each beam of light from the barcode 1 and converts it into an electric signal corresponding to the amount of light, and the optical system 2A includes the above-described light source 3A, scanning unit 4A, and photoelectric conversion unit 5A. It consists of

【0030】また、11は復調手段、12は組合せ手
段、13は一致回数判定手段、14は読取状態情報取得
手段、15は基準回数変更手段である。ここで、復調手
段11は、光電変換手段5Aからの電気信号に基づい
て、各ビーム光により部分的に走査されたバーコード1
の複数部分についてのデータを復調するものであり、組
合せ手段12は、復調手段11により復調されたバーコ
ード1の複数部分についての復調データを組み合わせ
て、バーコード1のもつデータを復調する組合せ手段で
ある。
Reference numeral 11 is a demodulation means, 12 is a combination means, 13 is a coincidence frequency determination means, 14 is a reading state information acquisition means, and 15 is a reference frequency change means. Here, the demodulation means 11 is based on the electric signal from the photoelectric conversion means 5A, and the barcode 1 partially scanned by each light beam.
The demodulating means 12 combines the demodulated data of a plurality of portions of the barcode 1 demodulated by the demodulating means 11 to demodulate the data of the barcode 1. Is.

【0031】一致回数判定手段13は、復調手段11お
よび組合せ手段12によりバーコード1から同一のデー
タが連続して復調された回数を検知し、当該回数と所定
の基準回数とを比較し、当該回数が所定の基準回数とな
った場合に、バーコード1から復調されたデータを有効
としてバーコード1の読取を完了させるものである。そ
して、読取状態情報取得手段14は、バーコード1の読
取状態情報を取得するものであり、基準回数変更手段1
5は、読取状態情報取得手段14により取得されたバー
コード1の読取状態情報に応じて、一致回数判定手段1
3における基準回数を設定変更するものである。
The coincidence number determination means 13 detects the number of times the same data is continuously demodulated from the bar code 1 by the demodulation means 11 and the combination means 12, compares the number of times with a predetermined reference number, and When the number of times reaches a predetermined reference number, the data demodulated from the barcode 1 is validated and the reading of the barcode 1 is completed. The reading state information acquiring unit 14 acquires the reading state information of the barcode 1, and the reference number changing unit 1
Reference numeral 5 denotes the coincidence number determination means 1 according to the read state information of the barcode 1 acquired by the read state information acquisition means 14.
The reference number in 3 is set and changed.

【0032】なお、読取状態情報取得手段14として
は、以下の〜に説明する各種手段が用いられる。 バーコード1の複数部分についての復調データにおい
て重複して復調されたキャラクタの数を、バーコード1
の読取状態情報として検出するキャラクタ数検出手段。
As the reading state information acquiring means 14, various means described in the following items (1) to (4) are used. The number of characters that have been demodulated in duplicate in the demodulated data for multiple parts of barcode 1 is
Character number detecting means for detecting the reading state information of the character.

【0033】バーコード1の複数部分についての復調
データにおいて重複する部分で復調結果の異なるキャラ
クタの数を、バーコード1の読取状態情報として検出す
るキャラクタ数検出手段。 バーコード1の複数部分についての復調データにおい
て重複する部分の位置を、バーコード1の読取状態情報
として検出する重複位置検出手段。
Character number detecting means for detecting the number of characters having different demodulation results in the duplicated portions of the demodulated data of a plurality of portions of the barcode 1 as the reading state information of the barcode 1. Overlapping position detecting means for detecting the position of the overlapping portion in the demodulated data of a plurality of portions of the barcode 1 as the reading state information of the barcode 1.

【0034】バーコード1の複数部分についての復調
データの組合せ手段12による組合せパターンを、バー
コード1の読取状態情報として検出する組合せパターン
検出手段。 バーコード1の複数部分が相互に重複する部分の読取
歪み量を、バーコード1の読取状態情報として算出・測
定する歪み量測定手段。さらに、歪み量測定手段として
は、(a)バーコード1の複数部分が相互に重複する部
分のキャラクタ長の歪み量を算出・測定するものや、
(b)バーコード1の複数部分が相互に重複する部分の
キャラクタのデータを特定すべく該キャラクタ毎に得ら
れるδディスタンス長の歪み量を算出・測定するもの
や、(c)バーコード1の複数部分が相互に重複する部
分のキャラクタをなすバー自体の歪み量を算出・測定す
るものを用いてもよい。
Combination pattern detecting means for detecting the combination pattern of the demodulated data combining means 12 for a plurality of portions of the barcode 1 as the reading status information of the barcode 1. Distortion amount measuring means for calculating / measuring the reading strain amount of a portion where a plurality of portions of the barcode 1 overlap each other as the reading state information of the barcode 1. Further, as the distortion amount measuring means, (a) a device for calculating / measuring the distortion amount of the character length of a portion where a plurality of portions of the barcode 1 overlap each other,
(B) Calculating and measuring the amount of distortion of the δ distance length obtained for each character in order to specify the character data of a portion where a plurality of portions of the barcode 1 mutually overlap, and (c) of the barcode 1 It is also possible to use one that calculates and measures the amount of distortion of the bar itself that forms the character of the portion where a plurality of portions overlap each other.

【0035】バーコード1の複数部分におけるデータ
がビットシフトを行なうと異なるデータになりうるもの
であるか否かの情報を、バーコード1の読取状態情報と
して出力するビットシフトデータ検知手段。 バーコード1の複数部分におけるウエーブエラーの発
生の有無を、バーコード1の読取状態情報として出力す
るウエーブエラー検知手段。
Bit shift data detecting means for outputting information as to whether or not the data in a plurality of portions of the bar code 1 are different data when bit shift is performed, as the reading state information of the bar code 1. Wave error detection means for outputting the presence / absence of a wave error in a plurality of portions of the barcode 1 as the reading status information of the barcode 1.

【0036】バーコード1の複数部分のうちに、当該
バーコード1のガードバーおよびセンターバーの両方を
検出したものが有るか否かの情報を、バーコード1の読
取状態情報として出力するガードバー/センターバー検
知手段。 なお、上述した〜の各手段を複数組み合わせて用い
てもよい。
The guard bar / center which outputs, as the reading state information of the bar code 1, information indicating whether or not there is a bar code of the bar code 1 that has detected both the guard bar and the center bar among a plurality of parts. Bar detection means. It should be noted that a plurality of the above-described respective means may be used in combination.

【0037】[0037]

【作用】上述の構成により、本発明では、図1に示すよ
うに、光源3Aから発光された複数本のビーム光は、そ
れぞれ、走査手段4Aによりバーコード1へ向けて照射
され一定の速度で移動・走査され、バーコード1の複数
部分で散乱・反射され反射光として光電変換手段5Aに
入射する。
With the above-described structure, in the present invention, as shown in FIG. 1, a plurality of light beams emitted from the light source 3A are respectively radiated toward the bar code 1 by the scanning means 4A at a constant speed. It is moved / scanned, scattered / reflected by a plurality of portions of the barcode 1, and enters the photoelectric conversion means 5A as reflected light.

【0038】バーコード1の複数部分からの各反射光
は、光電変換手段5Aによりその光量に応じた電気信号
に変換され、その電気信号に基づいて、復調手段11に
よりバーコードの複数部分についてのデータができる限
り復調された後、組合せ手段12により、これらの復調
データが組み合わされて、バーコード1のもつデータが
復調される。
Each reflected light from a plurality of portions of the bar code 1 is converted into an electric signal according to the amount of light by the photoelectric converting means 5A, and based on the electric signal, the demodulating means 11 detects a plurality of portions of the bar code. After the data is demodulated as much as possible, these demodulated data are combined by the combining means 12 to demodulate the data of the barcode 1.

【0039】そして、バーコード1のもつデータが復調
されると、一致回数判定手段13により、バーコード1
から同一のデータが連続して復調された回数が検知さ
れ、当該回数が所定の基準回数となった場合、バーコー
ド1から復調されたデータを有効としてバーコード1の
読取を完了させるが、このとき、本発明では、読取状態
情報取得手段14により、バーコード1の読取状態情報
が取得され、基準回数変更手段15により、読取状態情
報取得手段14からのバーコード1の読取状態情報に応
じて、一致回数判定手段13における基準回数が設定変
更される。
When the data of the bar code 1 is demodulated, the coincidence number determining means 13 causes the bar code 1
When the number of times the same data is continuously demodulated is detected from the above, and the number reaches the predetermined reference number, the data demodulated from the barcode 1 is validated and the reading of the barcode 1 is completed. At this time, in the present invention, the reading state information acquiring unit 14 acquires the reading state information of the barcode 1, and the reference number changing unit 15 responds to the reading state information of the barcode 1 from the reading state information acquiring unit 14. The reference number in the coincidence number determination means 13 is changed.

【0040】つまり、従来技術では、常に一定の基準回
数での一致回数判定を行なっていたが、本発明では、バ
ーコード1の読取状態情報に応じ、誤読の可能性が高い
場合には基準回数を大きく設定し、誤読の可能性が低い
場合には基準回数を小さく設定することができる。な
お、読取状態情報取得手段14により取得されるバーコ
ードの読取状態情報としては、前述したように、バー
コード1の複数部分についての復調データにおいて重複
して復調されたキャラクタの数や、バーコード1の複
数部分についての復調データにおいて重複する部分で復
調結果の異なるキャラクタの数や、バーコード1の複
数部分についての復調データにおいて重複する部分の位
置や、バーコード1の複数部分についての復調データ
の組合せ手段12による組合せパターンや、バーコー
ド1の複数部分が相互に重複する部分の読取歪み量(キ
ャラクタ長の歪み量,キャラクタのデータを特定すべく
該キャラクタ毎に得られるδディスタンス長の歪み量,
キャラクタをなすバー自体の歪み量)や、バーコード
1の複数部分におけるデータがビットシフトを行なうと
異なるデータになりうるものであるか否かの情報や、
バーコード1の複数部分におけるウエーブエラーの発生
の有無や、バーコード1の複数部分のうちに、当該バ
ーコード1のガードバーおよびセンターバーの両方を検
出したものが有るか否かの情報が用いられる。
That is, in the prior art, the number of coincidences is always determined with a fixed reference number. However, according to the present invention, the reference number is determined according to the reading status information of the bar code 1 when there is a high possibility of misreading. Is set to be large, and the reference number can be set to be small when the possibility of misreading is low. The reading status information of the bar code acquired by the reading status information acquiring unit 14 includes, as described above, the number of characters that are demodulated in duplicate in the demodulation data of a plurality of parts of the bar code 1, and the bar code. 1. The number of characters with different demodulation results in the demodulated data of the plurality of 1's, the position of the overlapping portion in the demodulated data of the plurality of 1's of barcode 1, the demodulated data of the plurality of 1's of barcode 1 Of the combination pattern of the combination means 12 and the reading distortion amount of a portion where a plurality of portions of the barcode 1 overlap each other (distortion amount of character length, distortion of δ distance length obtained for each character to identify character data). amount,
(The amount of distortion of the bar itself forming the character), information on whether or not the data in a plurality of portions of the barcode 1 can be different data when bit shifting is performed,
Information on whether or not a wave error has occurred in a plurality of portions of the barcode 1 and whether or not there is a guard bar and a center bar of the barcode 1 detected among the plurality of portions of the barcode 1 are used. .

【0041】[0041]

【実施例】以下、図面を参照して本発明の実施例を説明
する。 (a)第1実施例の説明 図2は本発明の第1実施例としてのバーコード読取装置
のハードウエア構成を示すブロック図で、この図2に示
すように、本実施例の方法および装置も、物品等の表面
に印刷されたバーコード1のもつデータを抽出・復調し
て読み取るためのものである。
Embodiments of the present invention will be described below with reference to the drawings. (A) Description of First Embodiment FIG. 2 is a block diagram showing a hardware configuration of a bar code reader as a first embodiment of the present invention. As shown in FIG. 2, the method and apparatus of the present embodiment. Is also for extracting, demodulating and reading the data of the barcode 1 printed on the surface of an article or the like.

【0042】また、バーコード1は、図29にて前述し
たように、複数の黒バー1Bおよび白バー1Wを交互に
配置してなるもので、各黒バー1Bおよび各白バー1W
の幅に基づいて所定のデータを表している。そして、図
6に示すように、バーコード1の左右両端を規定するレ
フトガイドバーLGBおよびライトガイドバーRGB
と、バーコード1の中央部を規定するセンターバーCB
とがあり、レフトガイドバーLGBとセンターバーCB
との間、および、ライトガイドバーRGBとセンターバ
ーCBとの間に、それぞれ、6個の数値データを表すキ
ャラクタ部分A〜FおよびG〜Lが配置されている。
Further, the bar code 1 is formed by alternately arranging a plurality of black bars 1B and white bars 1W as described above with reference to FIG. 29, and each black bar 1B and each white bar 1W.
The predetermined data is represented based on the width of. Then, as shown in FIG. 6, the left guide bar LGB and the right guide bar RGB that define the left and right ends of the barcode 1.
And the center bar CB that defines the central part of the barcode 1.
There is a left guide bar LGB and a center bar CB.
Character portions A to F and G to L representing six numerical value data are arranged between and, and between the light guide bar RGB and the center bar CB, respectively.

【0043】各キャラクタ部分A〜Lは、例えば、図2
9にて説明したものと同様、2本の白バー1Wと2本の
黒バー1Bとから構成され全モジュール数を7とし、左
方の黒バー1Bの左端から右方の黒バー1Bの左端まで
の時間幅(δディスタンス長)T01から求めたモジュー
ル数と、左方の黒バー1Bの右端から右方の黒バー1B
の右端までの時間幅(δディスタンス長)T02から求め
たモジュール数との組合せにより、各キャラクタ部分A
〜L毎に所定の数値データが表現されている。このモジ
ュール数の組合せと所定の数値データとの関係は、既知
のもので、予めテーブル(マトリックス)として記憶・
保持されている。
Each of the character parts A to L is, for example, as shown in FIG.
Similar to the one described in 9, the total number of modules is composed of two white bars 1W and two black bars 1B, and the left end of the left black bar 1B to the left end of the right black bar 1B. To the right black bar 1B from the right end of the left black bar 1B and the number of modules calculated from the time width (δ distance length) T01
By combining with the number of modules calculated from the time width (δ distance length) T02 to the right end of each character part A
Predetermined numerical data is expressed for each L. The relationship between the combination of the number of modules and the predetermined numerical data is known, and is stored in advance as a table (matrix).
Is held.

【0044】また、図27に示したものと同様、2はレ
ーザ発光部(光源)3,走査機構(走査手段)4および
光電変換部(光電変換手段)5から構成される光学系
で、レーザ発光部3は、レーザビーム(ビーム光)L1
を発光する半導体レーザを有して構成され、走査機構4
は、例えばモータにより回転駆動されるポリゴンミラー
から構成され、光電変換部5は、例えばフォトダイオー
ド等の光電変換素子を有して構成されている。
Further, similarly to the one shown in FIG. 27, reference numeral 2 is an optical system composed of a laser emitting portion (light source) 3, a scanning mechanism (scanning means) 4 and a photoelectric conversion portion (photoelectric conversion means) 5, which is a laser. The light emitting unit 3 is a laser beam (beam light) L1.
The scanning mechanism 4 has a semiconductor laser that emits light.
Is composed of, for example, a polygon mirror rotationally driven by a motor, and the photoelectric conversion section 5 is composed of, for example, a photoelectric conversion element such as a photodiode.

【0045】ただし、本実施例では、走査機構4は、レ
ーザ発光部3からのレーザビームL1を複数本のレーザ
ビームL2としてバーコード1に対し照射し、各レーザ
ビームL2によりバーコード1を走査させる機能を有す
る一方、バーコード1からのレーザビームL2の反射光
R1を反射することにより、各レーザビームL2の走査
に伴って移動する反射光R1を反射光R2として光電変
換ぶ5へ入射させる機能も有している。
However, in the present embodiment, the scanning mechanism 4 irradiates the barcode 1 with the laser beam L1 from the laser emitting section 3 as a plurality of laser beams L2, and scans the barcode 1 with each laser beam L2. On the other hand, by reflecting the reflected light R1 of the laser beam L2 from the bar code 1 while having the function of causing the reflected light R1 moving along with the scanning of each laser beam L2 to be incident on the photoelectric conversion unit 5 as reflected light R2. It also has a function.

【0046】そして、光電変換部5は、各レーザビーム
L2のバーコード1から、走査機構4を介して受光した
反射光R2を受光しその光量に応じた電気信号に変換す
るようになっている。さらに、光電変換部5の後段に
は、従来と同様構成のA/D変換部6,バー幅カウンタ
7,クロックジェネレータ8,メモリ9およびCPU1
0がそなえられている。
The photoelectric conversion unit 5 receives the reflected light R2 received from the bar code 1 of each laser beam L2 through the scanning mechanism 4 and converts it into an electric signal corresponding to the amount of light. . Further, in the subsequent stage of the photoelectric conversion section 5, an A / D conversion section 6, a bar width counter 7, a clock generator 8, a memory 9 and a CPU 1 having the same configuration as the conventional one are provided.
0 is provided.

【0047】従来と同様に、A/D変換部6は、光電変
換部5からの電気信号をディジタル化することにより、
バーコード1をなす各黒バー1Bの部分に対応する黒レ
ベル信号(Lowレベル信号)と、バーコード1をなす白バ
ー1Wの部分に対応する白レベル信号(Highレベル信
号)との二値化信号に変換するものである。また、バー
幅カウンタ7は、クロックジェネレータ8からのクロッ
ク信号をカウントし、1/D変換部6からの二値化信号
の黒レベル信号部分および白レベル信号部分の時間幅、
即ち実際のバーコード1の各黒バー1Bおよび各白バー
1Wの幅に対応する値をクロック信号のカウント値とし
て出力するものである。さらに、メモリ9は、バー幅カ
ウンタ7からのバー幅カウント値を格納するものであ
る。
As in the conventional case, the A / D conversion unit 6 digitizes the electric signal from the photoelectric conversion unit 5,
Binarization of a black level signal (Low level signal) corresponding to each black bar 1B forming the barcode 1 and a white level signal (High level signal) corresponding to the white bar 1W forming the barcode 1 It is converted into a signal. The bar width counter 7 counts the clock signal from the clock generator 8, and the time width of the black level signal portion and the white level signal portion of the binarized signal from the 1 / D conversion unit 6,
That is, a value corresponding to the width of each black bar 1B and each white bar 1W of the actual barcode 1 is output as the count value of the clock signal. Further, the memory 9 stores the bar width count value from the bar width counter 7.

【0048】そして、本実施例のCPU10も、メモリ
9に格納されたバー幅カウント値(各黒バー1Bおよび
各白バー1Wの幅に対応する値)に基づいて、バーコー
ド1のもつ所定データを抽出・復調するためのものであ
るが、本実施例のCPU10は、図3にて後述するよう
な機能的な構成を有している。CPU10には、図2に
示すように、ROM21,RAM22,インターフェイ
ス部23および制御部回路24が接続されている。
The CPU 10 of this embodiment also uses the bar width count value (the value corresponding to the width of each black bar 1B and each white bar 1W) stored in the memory 9 as the predetermined data of the bar code 1. The CPU 10 of this embodiment has a functional configuration as will be described later with reference to FIG. As shown in FIG. 2, a ROM 21, a RAM 22, an interface section 23, and a control section circuit 24 are connected to the CPU 10.

【0049】ここで、ROM21は、各種処理を実行す
るために必要な各種プログラムや、前述したモジュール
数の組合せと所定の数値データとの関係を保持するテー
ブル等を格納するものであり、RAM22は、CPU1
0の動作時にワークエリアとして使用されるもので、例
えば図3にて後述する復調データ格納部22Aとして機
能するものである。
Here, the ROM 21 stores various programs necessary for executing various processes, a table for holding the relationship between the combination of the number of modules described above and predetermined numerical data, and the RAM 22. , CPU1
It is used as a work area during the operation of 0, and functions as a demodulation data storage unit 22A described later in FIG. 3, for example.

【0050】また、インターフェイス部23は、図示し
ない外部装置との間でデータ(バーコード読取結果等)
のやり取りを行なうためのものであり、制御部回路24
は、CPU10からの各種指示を受けて、バーコード読
取装置の動作を制御するためのもので、走査機構4のモ
ータを駆動制御するためのモータ駆動部25や、レーザ
発光部3の半導体レーザを発光制御するためのレーザ駆
動部26や、発光ダイオード(LED)27およびスピ
ーカ28等の動作を制御するものである。なお、発光ダ
イオード27やスピーカ28は、例えば、バーコード1
の読取を完了した場合にその旨を光や音によりオペレー
タに通知するためのものである。
Further, the interface section 23 exchanges data (bar code reading result, etc.) with an external device (not shown).
And the control circuit 24
Is for controlling the operation of the barcode reading device in response to various instructions from the CPU 10, and includes a motor driving unit 25 for driving and controlling the motor of the scanning mechanism 4 and a semiconductor laser of the laser emitting unit 3. It controls the operations of the laser drive unit 26 for controlling light emission, the light emitting diode (LED) 27, the speaker 28, and the like. The light emitting diode 27 and the speaker 28 are, for example, the barcode 1
When the reading of is completed, the operator is notified by light or sound.

【0051】次に、本発明の第1実施例としてのバーコ
ード読取装置の機能的な構成を、図3により説明する。
この図3に示すように、本実施例のCPU10は、バー
コードデータ検出部31,バーコード復調部32,バー
コード合成部33,データ比較部34,モジュラス10
チェック部35,一致回数チェック部36,基準回数変
更部37およびバーコード読取完了通知部38としての
機能を有するほか、本実施例のRAM22は、復調デー
タ格納部22Aとしての機能を有している。
Next, the functional configuration of the bar code reading apparatus as the first embodiment of the present invention will be described with reference to FIG.
As shown in FIG. 3, the CPU 10 of this embodiment includes a bar code data detecting section 31, a bar code demodulating section 32, a bar code synthesizing section 33, a data comparing section 34, and a modulus 10.
The RAM 22 of the present embodiment has a function as a demodulation data storage unit 22A, in addition to the functions of the check unit 35, the match count checking unit 36, the reference count changing unit 37, and the barcode reading completion notifying unit 38. .

【0052】ここで、バーコードデータ検出部31は、
読取対象のバーコード1の複数部分についてのデータ
(メモリ9に格納されたもの)からセンターバーCBや
ガードバーLGB,RGBを検出し、その隣接キャラク
タ等のチェックを行なうとともに、有効キャラクタ数を
抽出するものである。上述したように、本実施例では、
1つのバーコード1が複数部分に分割されて走査される
ことになるが、各部分のデータ中に、センターバーCB
および2つのガードバーLGB,RGBのうちの少なく
とも一つが必ず含まれている場合に、そのバーコード1
の読取を有効なものであると判断している。このような
判断も、バーコードデータ検出部31により行なわれる
ようになっている。なお、バーコードデータ検出部31
は、分割走査されたバーコード1の一部分のデータに、
センターバーCBおよび2つのガードバーLGB,RG
Bのいずれも含まれていない場合、再読取指示を出力す
るようになっている。
Here, the bar code data detecting section 31 is
The center bar CB and the guard bars LGB, RGB are detected from the data (stored in the memory 9) of a plurality of portions of the barcode 1 to be read, and the adjacent characters are checked and the number of effective characters is extracted. It is a thing. As described above, in this embodiment,
One bar code 1 is divided into a plurality of parts to be scanned, and the center bar CB is included in the data of each part.
And at least one of the two guard bars LGB, RGB is always included, the barcode 1
It is judged that the reading of is valid. Such a determination is also made by the barcode data detection unit 31. The barcode data detection unit 31
Is the data of a part of the barcode 1 which is divided and scanned,
Center bar CB and two guard bars LGB, RG
If neither B is included, a reread instruction is output.

【0053】バーコード復調部(復調手段)32は、バ
ーコードデータ検出部31で抽出された有効キャラクタ
を、メモリ9に格納されたバー幅カウント値(つまりは
光電変換部5からの電気信号)に基づいて英字および数
字等のデータに復調するものである。つまり、本実施例
では、センターバーCBおよび2つのガードバーLG
B,RGBのうちの少なくとも一つを含む各データ(1
つのバーコード1の各部分)が、バーコード復調部32
により可能な限り復調され、その復調データは、RAM
22における復調データ格納部22Aに格納されるよう
になっている。
The bar code demodulation section (demodulation means) 32 uses the bar width count value (that is, the electric signal from the photoelectric conversion section 5) stored in the memory 9 for the valid character extracted by the bar code data detection section 31. Based on, it demodulates to data such as letters and numbers. That is, in this embodiment, the center bar CB and the two guard bars LG
Each data including at least one of B and RGB (1
Bar code demodulator 32.
Is demodulated as much as possible by the
The data is stored in the demodulation data storage unit 22A of 22.

【0054】バーコード合成部(組合せ部)33は、復
調データ格納部22Aに格納された複数の復調データを
組み合わせて、現在読取対象になっているバーコード1
のもつデータ(一連のバーコードデータ)を合成し復調
するものである。また、バーコード合成部33は、上述
のような組合せ処理を行なう際に、複数の復調データの
相互に隣接する部分が位置的に重複しているか否かを判
定する機能(位置重複チェック機能)も有しており、位
置重複部分があれば、組み合わせれた一連のバーコード
データを有効化する一方、位置重複部分が無ければ、再
読取指示を出力するようになっている。
The bar code synthesizing unit (combining unit) 33 combines a plurality of demodulated data stored in the demodulated data storage unit 22A, and the bar code 1 which is currently the reading target.
This is for synthesizing and demodulating the data (a series of barcode data) owned by. Further, the barcode synthesizing unit 33 has a function of determining whether or not mutually adjacent portions of a plurality of demodulated data are positionally overlapped (position duplication check function) when performing the combination processing as described above. If there is a position overlapping portion, the combined series of barcode data is validated, and if there is no position overlapping portion, a reread instruction is output.

【0055】データ比較部34は、各走査ライン毎に得
られた複数の復調データについて、その端部のキャラク
タが隣接する他の復調データの端部のキャラクタと一致
・重複しているか否かを、データ比較により判定する機
能(キャラクタ重複チェック機能)を有するもので、端
部の少なくとも1キャラクタどうしが一致(重複)した
場合に、読取対象のバーコード1について得られた複数
の復調データを有効化している。なお、データ比較部3
4は、重複するキャラクタが無かった場合、再読取指示
を出力するようになっている。
The data comparison unit 34 determines whether the character at the end of the plurality of demodulated data obtained for each scanning line matches or overlaps the character at the end of the other demodulated data adjacent thereto. , Which has a function to judge by data comparison (character duplication check function), and validates a plurality of demodulated data obtained for barcode 1 to be read when at least one character at the end matches (overlaps) It has become. The data comparison unit 3
No. 4 outputs a rereading instruction when there is no overlapping character.

【0056】また、上述したデータ比較部34は、第1
実施例においては、上述のようなキャラクタ重複チェッ
クを行なう際に、バーコード1の複数部分についての復
調データにおいて重複して復調されたキャラクタの数
(重複キャラクタ数)を、バーコード1の読取状態情報
として検出・取得する読取状態情報取得手段(キャラク
タ数検出手段)として機能するようになっている。
Further, the data comparison section 34 described above is
In the embodiment, when performing the character duplication check as described above, the number of characters that have been demodulated in duplicate in the demodulated data of a plurality of portions of the barcode 1 (the number of duplicate characters) is determined by the reading state of the barcode 1. It functions as a reading state information acquisition unit (character number detection unit) that detects and acquires information.

【0057】モジュラス10チェック部35は、読取対
象のバーコード1の復調データとして有効なものがバー
コード合成部33により合成された場合に、その合成結
果(復調結果)に対して一般的なモジュラス10(modu
lus ten)チェックを行ない、そのチェック結果がOKで
あれば、読取対象のバーコード1の1回分の読取(復調
処理)を完了したものと判断するものである。なお、モ
ジュラス10チェック部35は、そのチェック結果がN
Gである場合、再読取指示を出力するようになってい
る。
The modulus 10 check unit 35, when effective data as the demodulation data of the barcode 1 to be read is synthesized by the barcode synthesis unit 33, a general modulus for the synthesis result (demodulation result). 10 (modu
If the check result is OK, it is determined that one-time reading (demodulation processing) of the barcode 1 to be read has been completed. The modulus 10 check unit 35 determines that the check result is N
If it is G, a reread instruction is output.

【0058】一致回数チェック部(一致回数判定手段)
36は、上述したバーコードデータ検出部31,バーコ
ード復調部32,バーコード合成部33,データ比較部
34およびモジュラス10チェック部35の機能により
バーコード1の1回分の読取(復調処理)を完了した場
合に、読取対象のバーコード1から同一のデータが連続
して復調された回数を検知し、当該回数と後述する基準
回数変更部37により設定される所定の基準回数とを比
較し、当該回数が所定の基準回数となった場合に、バー
コード1から復調されたデータを有効としてバーコード
1の読取を完了させるものである。なお、一致回数チェ
ック部36は、今回の読取結果が前回の読取結果と異な
る場合、もしくは、当該回数が所定の基準回数に満たな
い場合、再読取指示を出力するようになっている。
Matching frequency check unit (matching frequency determining means)
The bar code data detector 36, the bar code demodulator 32, the bar code synthesizer 33, the data comparator 34, and the modulus 10 checker 35 function to read one bar code 1 (demodulation process). When completed, the number of times the same data is continuously demodulated from the barcode 1 to be read is detected, and the number of times is compared with a predetermined reference number set by a reference number changing unit 37 described later, When the number of times reaches a predetermined reference number, the data demodulated from the barcode 1 is validated and the reading of the barcode 1 is completed. The coincidence number check unit 36 outputs a re-reading instruction when the current reading result is different from the previous reading result or when the number of times is less than a predetermined reference number.

【0059】基準回数変更部(基準回数変更手段)37
は、前述したデータ比較部34の読取状態情報取得手段
としての機能により得られた前記重複キャラクタ数(バ
ーコード1の読取状態情報)に応じて、一致回数チェッ
ク部36における前記所定の基準回数を設定変更するも
のである。なお、第1実施例における基準回数変更部3
7の詳細な設定変更動作については、図5により後述す
る。
Reference number changing unit (reference number changing means) 37
Is the predetermined reference number in the matching number check unit 36 according to the number of overlapping characters (reading state information of the bar code 1) obtained by the function of the data comparing unit 34 as the reading state information acquiring unit. The setting is changed. In addition, the reference number changing unit 3 in the first embodiment.
The detailed setting change operation of No. 7 will be described later with reference to FIG.

【0060】バーコード読取完了通知部38は、一致回
数チェック部36により同一データの連続復調回数が所
定の基準回数となったと判定されてバーコード1の読取
を完了する場合に、図2に示すインターフェイス部23
や制御部回路24に対して読取完了通知の指示を行なう
ものである。この指示を受けたインターフェイス部23
は、読取を完了した旨を上位装置へ送信するほか、同指
示を受けた制御部回路24は、LED27の点灯駆動や
スピーカ28からの音声出力を行ない、読取を完了した
旨をオペレータ等に通知するようになっている。
The bar code reading completion notifying section 38 is shown in FIG. 2 when the coincidence number checking section 36 determines that the continuous demodulation number of the same data has reached a predetermined reference number and completes the reading of the bar code 1. Interface section 23
Also, the control circuit 24 is instructed to notify the reading completion. Interface unit 23 that received this instruction
In addition to transmitting the fact that the reading is completed to the host device, the control unit circuit 24 which has received the instruction notifies the operator etc. that the reading is completed by driving the LED 27 to light up and outputting a sound from the speaker 28. It is supposed to do.

【0061】次に、上述のごとく構成された本発明の第
1実施例の全体的な動作の流れを、図4に示すフローチ
ャート(ステップS1〜S14)に従って説明する。ま
ず、CPU10から制御部回路24に対して読取指示を
与え、モータ駆動部25およびレーザ駆動部26にてそ
れぞれ走査機構4およびレーザ発光部3を動作させ、バ
ーコード1の分割読取処理を行なう(ステップS1)。
Next, the flow of the overall operation of the first embodiment of the present invention configured as described above will be described with reference to the flow chart (steps S1 to S14) shown in FIG. First, the CPU 10 gives a reading instruction to the control unit circuit 24, and the motor driving unit 25 and the laser driving unit 26 respectively operate the scanning mechanism 4 and the laser emitting unit 3 to perform the divided reading process of the barcode 1 ( Step S1).

【0062】つまり、本実施例では、レーザ発光部3か
ら発光されたレーザビームL1は、走査機構4によっ
て、複数本のレーザビームL2としてバーコード1の黒
バー1Bおよび白バー1Wへ向けて照射され、バーコー
ド1の黒バー1B,白バー1Wと交差する方向に一定の
速度で移動・走査される。走査機構4から射出された複
数本のレーザビームL2は、バーコード1の部分で散乱
・反射され複数本の反射光R1として走査機構4に再入
射する。各反射光R1は、レーザビームL2の走査移動
に伴って反射角が変化して移動するが、走査機構4を構
成するポリゴンミラーにて反射されることにより、反射
光R2として所定位置に配置された光電変換部5の光電
変換素子へ入射する。
That is, in the present embodiment, the laser beam L1 emitted from the laser emitting section 3 is irradiated by the scanning mechanism 4 as a plurality of laser beams L2 toward the black bar 1B and the white bar 1W of the bar code 1. Then, the bar code 1 is moved and scanned at a constant speed in a direction intersecting the black bar 1B and the white bar 1W of the bar code 1. The plurality of laser beams L2 emitted from the scanning mechanism 4 are scattered / reflected at the bar code 1 and re-enter the scanning mechanism 4 as a plurality of reflected lights R1. The reflected light R1 changes its reflection angle with the scanning movement of the laser beam L2 and moves, but by being reflected by the polygon mirror constituting the scanning mechanism 4, it is arranged at a predetermined position as the reflected light R2. The light enters the photoelectric conversion element of the photoelectric conversion unit 5.

【0063】この光電変換部5により各反射光R2はそ
の光量に応じた電気信号に変換され、その電気信号は、
A/D変換部6によりディジタル化され、バーコード1
の各黒バー1Bの部分に対応する黒レベル信号と、バー
コード1の各白バー1Wの部分に対応する白レベル信号
とを有する二値化信号に変換される。この後、バー幅カ
ウンタ7にてクロックジェネレータ8からのクロック信
号をカウントすることにより、A/D変換部6からの二
値化信号の黒レベル信号部分および白レベル信号部分の
時間幅(実際のバーコード1の各黒バー1Bおよび各白
バー1Wの幅に対応する値)がクロック信号のカウント
値として計測され、そのカウント値が、メモリ9に一旦
格納される。
The photoelectric conversion unit 5 converts each reflected light R2 into an electric signal corresponding to the amount of light, and the electric signal is
Bar code 1 digitized by A / D converter 6
Is converted into a binarized signal having a black level signal corresponding to each black bar 1B portion and a white level signal corresponding to each white bar 1W portion of the barcode 1. After that, the bar width counter 7 counts the clock signal from the clock generator 8 so that the time width of the black level signal portion and the white level signal portion of the binarized signal from the A / D conversion unit 6 (actual A value corresponding to the width of each black bar 1B and each white bar 1W of the bar code 1) is measured as a count value of the clock signal, and the count value is temporarily stored in the memory 9.

【0064】これにより、本実施例では、1つのバーコ
ード1から、それぞれこのバーコード1の一部分を読み
取った複数の分割読取データが得られる。そして、バー
コードデータ検出部31により、メモリ9に格納された
各分割読取データに、センターバーCBおよび2つのガ
ードバーLGB,RGBのうちの少なくとも一つが含ま
れているか否かを検出し(ステップS2,S3)、セン
ターバーCBおよび2つのガードバーLGB,RGBの
いずれも含まない分割読取データが存在する場合には、
ステップS1に戻ってバーコード1の再読取を行なう。
As a result, in this embodiment, a plurality of divided read data obtained by reading a part of the bar code 1 is obtained from one bar code 1. Then, the barcode data detection unit 31 detects whether or not each divided read data stored in the memory 9 includes at least one of the center bar CB and the two guard bars LGB, RGB (step S2). , S3), the center bar CB and the two guard bars LGB and RGB do not include any divided read data,
Returning to step S1, the barcode 1 is read again.

【0065】各分割読取データに、センターバーCBお
よび2つのガードバーLGB,RGBのうちの少なくと
も一つが含まれている場合には、バーコード復調部32
により、各分割読取データに対する復調処理を行なう
(ステップS4)。バーコード復調部32では、バーコ
ードデータ検出部31で抽出された各分割読取データの
有効キャラクタが、メモリ9に格納されたバー幅カウン
ト値に基づいて英字および数字等のデータに可能な限り
復調される。より具体的には、各データに含まれるセン
ターバーCBやガードバーLGB,RGBの位置を基準
にして、図28にて説明した通り、各キャラクタ部分A
〜L(図6参照)毎に、時間幅(δディスタンス長)T
01およびT02のモジュール数を決定し、その2つのモジ
ュール数の組合せに対応する数値データを、ROM21
に予め記憶された所定のテーブルから読み出すことによ
り、バーコード1のもつデータが抽出・復調される。
When each divided read data includes at least one of the center bar CB and the two guard bars LGB, RGB, the bar code demodulation section 32.
Thus, demodulation processing is performed on each divided read data (step S4). The bar code demodulation unit 32 demodulates the effective characters of each divided read data extracted by the bar code data detection unit 31 into data such as letters and numbers as much as possible based on the bar width count value stored in the memory 9. To be done. More specifically, with reference to the positions of the center bar CB and the guard bars LGB, RGB included in each data, as described with reference to FIG.
~ L (see FIG. 6), the time width (δ distance length) T
The number of modules of 01 and T02 is determined, and the numerical data corresponding to the combination of the two modules is stored in the ROM 21.
The data of the barcode 1 is extracted and demodulated by reading from a predetermined table stored in advance in the.

【0066】上述のようにして各分割読取データ毎に復
調された複数の復調データは、RAM22上の復調デー
タ格納部22Aに一旦格納される(ステップS5)。そ
して、バーコード合成部33により、復調データ格納部
22Aに格納された複数の復調データが組み合わされ、
現在読取対象になっているバーコード1のもつ一連のデ
ータが合成され復調される(ステップS6)。
The plurality of demodulated data demodulated for each divided read data as described above is temporarily stored in the demodulated data storage section 22A on the RAM 22 (step S5). Then, the barcode combining unit 33 combines the plurality of demodulated data stored in the demodulated data storage unit 22A,
A series of data of the bar code 1, which is the current reading target, is combined and demodulated (step S6).

【0067】バーコード合成部33により一連のバーコ
ードデータを合成できなかった場合(例えば、前記位置
重複チェック機能により位置重複部分が無いと判定され
た場合;ステップS7でNO判定の場合)には、ステッ
プS1に戻ってバーコード1の再読取を行なう。一方、
バーコード合成部33により一連のバーコードデータを
合成することができ、複数の復調データの組合せを完了
した場合(ステップS7でYES判定の場合)には、デ
ータ比較部34により、各走査ライン毎に得られた複数
の復調データについて、各復調データの端部(重複キャ
ラクタ部)のキャラクタと、隣接する他の復調データの
端部(重複キャラクタ部)のキャラクタとをデータ比較
し(ステップS8)、これらのキャラクタが一致・重複
しているか否かを判定する(ステップS9)。
When a series of barcode data cannot be synthesized by the barcode synthesizing section 33 (for example, when it is judged by the position duplication checking function that there is no position duplication portion; when NO is determined in step S7). Then, the process returns to step S1 and the barcode 1 is read again. on the other hand,
When a series of barcode data can be synthesized by the barcode synthesizing unit 33 and a combination of a plurality of demodulated data is completed (YES in step S7), the data comparing unit 34 causes each scanning line to be scanned. With respect to the plurality of demodulated data obtained in (1), the character at the end (duplicate character part) of each demodulated data is compared with the character at the end (duplicate character part) of other adjacent demodulated data (step S8). , It is determined whether these characters match or overlap (step S9).

【0068】重複するキャラクタが無いと判定された場
合(ステップS9でNO判定の場合)には、ステップS
1に戻ってバーコード1の再読取を行ない、重複するキ
ャラクタが有ると判定された場合(ステップS9でYE
S判定の場合)には、読取対象のバーコード1について
得られた一連のデータ(合成結果)に対して、モジュラ
ス10チェック部35により、モジュラス10チェック
処理を行なう(ステップS10)。
If it is determined that there are no overlapping characters (NO in step S9), step S9 is performed.
When it is determined that there is a duplicate character by returning to 1 and reading the barcode 1 again (YES in step S9).
In the case of S determination), the modulus 10 check unit 35 performs a modulus 10 check process on a series of data (synthesis result) obtained for the barcode 1 to be read (step S10).

【0069】そのチェック結果がNGであれば(ステッ
プS11でNO判定)、ステップS1に戻ってバーコー
ド1の再読取を行ない、そのチェック結果がOKであれ
ば(ステップS11でYES判定)、バーコード1の1
回分の読取(復調処理)を完了したものと判断し、一致
回数チェック部36による一致回数チェック処理を行な
う(ステップS12)。
If the check result is NG (NO determination in step S11), the process returns to step S1 to reread the barcode 1, and if the check result is OK (YES determination in step S11), the bar Code 1 of 1
It is determined that the reading (demodulation process) for the number of times has been completed, and the matching number checking unit 36 performs the matching number checking process (step S12).

【0070】一致回数チェック部36では、バーコード
1の1回分の読取(復調処理)を完了する毎に、その時
点までに、読取対象のバーコード1から同一のデータが
連続して復調された回数(連続復調回数)が検知され、
その連続復調回数と、後述するごとく設定変更される所
定の基準回数とが比較される。比較の結果、連続復調回
数が所定の基準回数に満たない場合、あるいは、今回の
読取結果が前回の読取結果と異なる場合(ステップS1
3でNO判定の場合)には、ステップS1に戻ってバー
コード1の再読取を行なう。
In the coincidence count checking unit 36, every time one reading (demodulation process) of the barcode 1 is completed, the same data is continuously demodulated from the barcode 1 to be read by that point. The number of times (the number of consecutive demodulations) is detected,
The number of continuous demodulations is compared with a predetermined reference number of times whose setting is changed as described later. As a result of the comparison, when the number of times of continuous demodulation is less than the predetermined reference number, or when the current reading result is different from the previous reading result (step S1
If NO in 3), the process returns to step S1 to reread the barcode 1.

【0071】これに対し、連続復調回数が所定の基準回
数になった場合(ステップS13でYES判定の場合)
には、バーコード1から復調されたデータが有効化さ
れ、バーコード1の読取を完了する。このとき、バーコ
ード読取完了通知部38により、インターフェイス部2
3や制御部回路24に対して読取完了通知の指示が行な
われ、上位装置やオペレータ等に読取対象のバーコード
1の読取を完了した旨が通知される(ステップS1
4)。
On the other hand, when the number of continuous demodulations reaches a predetermined reference number (YES in step S13)
, The data demodulated from the barcode 1 is validated, and the reading of the barcode 1 is completed. At this time, the barcode reading completion notification unit 38 causes the interface unit 2 to
3 and the control unit circuit 24 are instructed to notify the completion of reading, and the upper device, the operator, etc. are notified that the reading of the barcode 1 to be read is completed (step S1).
4).

【0072】ところで、上述のごとく1つのバーコード
1を複数部分に分割して読み取った場合、各走査ライン
毎に得られた複数の復調データにおいて、各復調データ
と隣接する他の復調データとが重複する部分で、一致す
るキャラクタの数(重複キャラクタ数)が大きい程、バ
ーコード1を誤読する可能性は低くなる。つまり、重複
キャラクタ数が大きい程、分割読取の結果の信頼性が高
くなるので、一致回数チェック部36での前記所定の基
準回数を小さく設定しても、誤読する可能性はほとんど
無い。
By the way, when one bar code 1 is divided into a plurality of parts and read as described above, the demodulated data obtained for each scanning line are different from each other in the demodulated data. The larger the number of matching characters (the number of overlapping characters) in the overlapping portion, the lower the possibility of misreading the barcode 1. That is, the larger the number of overlapping characters, the higher the reliability of the divided reading result. Therefore, even if the predetermined reference number in the matching number checking unit 36 is set small, there is almost no possibility of misreading.

【0073】例えば図6に示すように、1つのバーコー
ド1を、2本の走査ラインA1,A2により2つの部分
に分割して読み取った場合について考えてみる。ここ
で、第1パターンでは、走査ラインA1により復調した
バーコード1のキャラクタがA〜F,G,H,I,J
で、走査ラインA2により復調したバーコード1のキャ
ラクタがJ,K,Lであるものとする。また、第2パタ
ーンでは、走査ラインA1により復調したバーコード1
のキャラクタがA〜F,G,H,I,Jで、走査ライン
A2により復調したバーコード1のキャラクタがI,
J,K,Lであるものとする。
For example, as shown in FIG. 6, consider a case where one bar code 1 is read by being divided into two parts by two scanning lines A1 and A2. Here, in the first pattern, the characters of the barcode 1 demodulated by the scanning line A1 are A to F, G, H, I, and J.
Then, it is assumed that the characters of the barcode 1 demodulated by the scan line A2 are J, K and L. In the second pattern, the barcode 1 demodulated by the scan line A1
Characters A to F, G, H, I, and J, and the character of the barcode 1 demodulated by the scanning line A2 is I,
J, K, L.

【0074】このとき、第1パターンでは、重複キャラ
クタは最端部のJのみで、重複キャラクタ数は1とな
る。この場合、走査ラインA1による復調キャラクタの
最端部のキャラクタJと、走査ラインA2による復調キ
ャラクタの最端部のキャラクタJとはいずれも誤読して
いる可能性が高いため、これらのキャラクタが一致・重
複していたとしても、復調データの信頼性は低い。
At this time, in the first pattern, the only overlapping character is J at the end, and the number of overlapping characters is one. In this case, there is a high possibility that both the character J at the end of the demodulated character by the scan line A1 and the character J at the end of the demodulated character by the scan line A2 are misread, and therefore these characters match. -Reliability of demodulated data is low, even if duplicated.

【0075】また、第2パターンでは、復調キャラクタ
はIおよびJで、重複キャラクタ数は2となる。この場
合、走査ラインA1による復調キャラクタの最端部のキ
ャラクタJと、走査ラインA2による復調キャラクタの
最端部のキャラクタIとは誤読している可能性が高い。
しかし、走査ラインA1による復調キャラクタの最端部
から2番目のキャラクタIと、走査ラインA2による復
調キャラクタの最端部から2番目のキャラクタJとは信
頼性が高い。
In the second pattern, the demodulated characters are I and J, and the number of duplicate characters is 2. In this case, there is a high possibility that the character J at the end of the demodulated character by the scan line A1 and the character I at the end of the demodulated character by the scan line A2 are misread.
However, the second character I from the end of the demodulated character by the scan line A1 and the second character J from the end of the demodulated character by the scan line A2 are highly reliable.

【0076】つまり、この第2パターンでは、走査ライ
ンA1による復調キャラクタの最端部のキャラクタJ
と、走査ラインA2による復調キャラクタの最端部から
2番目のキャラクタJとが一致するとともに、走査ライ
ンA2による復調キャラクタの最端部のキャラクタI
と、走査ラインA1による復調キャラクタの最端部から
2番目のキャラクタIとが一致しており、誤読可能性の
高いものどうしが重複している訳ではないので、前述し
た第1パターンと比較して、ずっと復調データの信頼性
は高い。
That is, in this second pattern, the character J at the end of the demodulated character by the scanning line A1 is used.
And the character J, which is the second character from the end of the demodulated character by the scan line A2, match, and the character I at the end of the demodulated character by the scan line A2.
And the second character I from the end of the demodulated character by the scan line A1 coincides with each other, and there is no possibility that the ones having a high possibility of misreading will overlap with each other. And the reliability of the demodulated data is much higher.

【0077】従って、第1実施例では、重複キャラクタ
数が小さい程、誤読可能性が高いので、信頼性を高める
べく、基準回数変更部37により一致回数チェック部3
6での基準回数を大きく設定変更する。このとき、重複
キャラクタ数は、データ比較部34の読取状態情報取得
手段(キャラクタ数検出手段)としての機能により、上
述したキャラクタ重複チェックを行なう際に検出され
る。
Therefore, in the first embodiment, the smaller the number of duplicate characters, the higher the possibility of misreading. Therefore, in order to improve the reliability, the reference number changing unit 37 causes the matching number checking unit 3
The reference number in 6 is largely changed. At this time, the number of duplicate characters is detected by the function of the reading state information acquisition unit (character number detection unit) of the data comparison unit 34 when the above-described character duplication check is performed.

【0078】この基準回数変更部37による基準回数設
定変更処理の動作を、図5に示すフローチャート(ステ
ップS21〜S27)に従って説明すると、データ比較
部34により検出された重複キャラクタ数が1であれば
(ステップS21でYES判定の場合)、一致回数チェ
ック部36での基準回数を3、つまり読取対象のバーコ
ード1のデータ取込み回数を3に設定変更する(ステッ
プS22)。
The operation of the reference number setting changing process by the reference number changing unit 37 will be described according to the flow chart (steps S21 to S27) shown in FIG. 5. If the number of duplicate characters detected by the data comparing unit 34 is one. If YES in step S21), the reference number in the coincidence number checking unit 36 is set to 3, that is, the number of times the data of the barcode 1 to be read is taken in is changed to 3 (step S22).

【0079】また、データ比較部34により検出された
重複キャラクタ数が2であれば(ステップS23でYE
S判定の場合)、一致回数チェック部36での基準回数
を2、つまり読取対象のバーコード1のデータ取込み回
数を2に設定変更する(ステップS24)。さらに、デ
ータ比較部34により検出された重複キャラクタ数が3
以上であれば(ステップS25でYES判定の場合)、
一致回数チェック部36での基準回数を1、つまり読取
対象のバーコード1のデータ取込み回数を1に設定変更
する(ステップS26)。ここで、基準回数を1に設定
した場合には、その復調データの信頼性が極めて高く一
致回数チェック部36によるチェックが不要であるた
め、一致回数チェックを行なうことなく、そのまま復調
データを有効化してバーコード1の読取を完了すること
になる。
If the number of duplicate characters detected by the data comparison unit 34 is 2 (YE in step S23)
In the case of S determination), the reference number in the coincidence number checking unit 36 is changed to 2, that is, the number of times the data of the barcode 1 to be read is taken in is changed to 2 (step S24). Furthermore, the number of duplicate characters detected by the data comparison unit 34 is 3
If the above is satisfied (YES in step S25),
The reference number in the coincidence number checking unit 36 is changed to 1, that is, the number of times the data of the barcode 1 to be read is taken in is changed to 1 (step S26). Here, when the reference number of times is set to 1, the reliability of the demodulated data is extremely high and the check by the match number check unit 36 is unnecessary. Therefore, the demodulated data is validated as it is without performing the match number check. The reading of the barcode 1 is completed.

【0080】ステップS25でNO判定となった場合
(重複キャラクタ数が3以上でないと判定された場合)
には、重複キャラクタ数が0であるか、もしくは何らか
のエラーが生じたものと判断して、バーコード1の再読
取を指示する(ステップS27)。このように、本発明
の第1実施例によれば、バーコード1の読取状態情報で
ある重複キャラクタ数に応じ、重複キャラクタ数が小さ
くて誤読の可能性が高い場合には基準回数が大きく設定
され、重複キャラクタ数が大きくて誤読の可能性が低い
場合には基準回数が小さく設定される。
When NO is determined in step S25 (when it is determined that the number of overlapping characters is not 3 or more)
, It is determined that the number of overlapping characters is 0 or some error has occurred, and an instruction to reread the barcode 1 is issued (step S27). As described above, according to the first embodiment of the present invention, according to the number of duplicate characters which is the reading status information of the barcode 1, when the number of duplicate characters is small and the possibility of misreading is high, the reference number of times is set large. If the number of duplicate characters is large and the possibility of misreading is low, the reference number of times is set small.

【0081】従って、1つのバーコード1を複数の部分
に分割して走査,復調する場合に、バーコード1の読取
状態(重複キャラクタ数)に応じた一致回数チェックを
行なうことができ、読取効率の低下を招くことなく、実
運用上の読取率が大幅に向上するとともに、誤読率が大
きく低減することになる。特に、紙面ノイズや文字等で
誤って復調してしまったキャラクタを取り除いた形で、
複数の復調データを合成することができ、誤読率が大幅
に減少する。また、バーコード1の背景に紙面ノイズや
文字等が存在しない場合には、読取精度を大きく向上さ
せることができる。
Therefore, when one bar code 1 is divided into a plurality of parts for scanning and demodulation, it is possible to check the number of coincidences according to the reading state (the number of overlapping characters) of the bar code 1 and the reading efficiency. The reading rate in actual operation is significantly improved and the misreading rate is greatly reduced without causing a decrease in In particular, in the form of removing characters that were accidentally demodulated due to paper noise or characters,
Multiple demodulated data can be combined and the misreading rate is greatly reduced. Further, when there is no paper surface noise or characters in the background of the barcode 1, the reading accuracy can be greatly improved.

【0082】なお、上述した第1実施例では、図5に示
したように、基準回数変更部37により、重複キャラク
タ数が1の場合に基準回数を3に設定し、重複キャラク
タ数が2の場合に基準回数を2に設定し、重複キャラク
タ数が3以上の場合に基準回数を1に設定する例につい
て説明したが、本発明は、この数値に限定されるもので
はない。
In the first embodiment described above, as shown in FIG. 5, the reference number changing unit 37 sets the reference number to 3 when the number of overlapping characters is 1, and sets the number of overlapping characters to 2 Although the reference number is set to 2 in this case and the reference number is set to 1 when the number of overlapping characters is 3 or more, the present invention is not limited to this value.

【0083】また、上述した第1実施例では、図6に示
すように、1つのバーコード1を2本の走査ラインA
1,A2により2分割した形で読み取った場合について
説明したが、本発明は、これに限定されるものではな
く、1つのバーコード1を3以上に分割して読み取った
場合についても同様に適用され、上記第1実施例と同様
の作用効果が得られる。
Further, in the above-mentioned first embodiment, as shown in FIG. 6, one bar code 1 is used for two scanning lines A.
Although the case of reading in the form of being divided into two by 1 and A2 has been described, the present invention is not limited to this and is similarly applied to the case where one barcode 1 is divided into three or more and read. As a result, the same effect as that of the first embodiment can be obtained.

【0084】(b)第2実施例の説明 本発明の第2実施例としてのバーコード読取装置のハー
ドウエア構成は、図2に示した第1実施例のものと全く
同様である。また、本発明の第2実施例としてのバーコ
ード読取装置の機能的な構成は、図7に示すごとく、第
1実施例のものとほぼ同様であるが、この第2実施例で
は、データ比較部34Aおよび基準回数変更部37Aの
機能が、図3に示した第1実施例のデータ比較部34お
よび基準回数変更部37の機能と若干異なっている。な
お、図7中、既述の符号と同一の符号は同一部分を示し
ているので、その説明は省略する。
(B) Description of Second Embodiment The hardware configuration of the bar code reader as the second embodiment of the present invention is exactly the same as that of the first embodiment shown in FIG. The functional configuration of the bar code reading apparatus as the second embodiment of the present invention is almost the same as that of the first embodiment as shown in FIG. 7, but in the second embodiment, data comparison is performed. The functions of the unit 34A and the reference number changing unit 37A are slightly different from the functions of the data comparing unit 34 and the reference number changing unit 37 of the first embodiment shown in FIG. In FIG. 7, the same reference numerals as those used above denote the same parts, and a description thereof will be omitted.

【0085】つまり、第2実施例のデータ比較部34A
は、第1実施例のデータ比較部34と同様のキャラクタ
重複チェックを行なう際に、バーコード1の複数部分に
ついての復調データにおいて重複する部分で復調結果の
異なるキャラクタの数(不一致キャラクタ数)を、バー
コード1の読取状態情報として検出・取得する読取状態
情報取得手段(キャラクタ数検出手段)として機能する
ようになっている。
That is, the data comparison section 34A of the second embodiment.
When performing the same character duplication check as in the data comparison unit 34 of the first embodiment, the number of characters with different demodulation results (the number of unmatched characters) in the duplicated parts of the demodulated data of a plurality of barcodes 1 is calculated. , And functions as a reading state information acquiring unit (character number detecting unit) that detects and acquires the reading state information of the barcode 1.

【0086】また、第2実施例の基準回数変更部(基準
回数変更手段)37Aは、前述したデータ比較部34A
の読取状態情報取得手段としての機能により得られた前
記不一致キャラクタ数(バーコード1の読取状態情報)
に応じて、一致回数チェック部36における前記所定の
基準回数を設定変更するものである。なお、第2実施例
における基準回数変更部37Aの詳細な設定変更動作に
ついては、図8により後述する。
Further, the reference number changing unit (reference number changing means) 37A of the second embodiment is the data comparing unit 34A described above.
The number of non-matching characters obtained by the function as the reading state information acquiring unit (reading state information of barcode 1)
In accordance with the above, the predetermined reference number of times in the matching number check unit 36 is set and changed. The detailed setting changing operation of the reference number changing unit 37A in the second embodiment will be described later with reference to FIG.

【0087】上述のごとく構成された本発明の第2実施
例の全体的な動作の流れは、図4に示すフローチャート
に従って説明した第1実施例のものと全く同様であるの
で、その説明は省略する。ところで、上述のごとく1つ
のバーコード1を複数部分に分割して読み取った場合、
各走査ライン毎に得られた複数の復調データにおいて、
各復調データと隣接する他の復調データとが重複する部
分で復調結果の異なるキャラクタの数(不一致キャラク
タ数)が大きい程、バーコード1の復調データの信頼性
は低くなる。従って、不一致キャラクタ数が大きい程、
一致回数チェック部36での前記所定の基準回数を大き
く設定して、分割読取の結果の信頼性を向上させること
が望まれる。
The overall operation flow of the second embodiment of the present invention constructed as described above is exactly the same as that of the first embodiment described according to the flow chart shown in FIG. 4, and therefore the description thereof is omitted. To do. By the way, when one bar code 1 is divided into a plurality of parts and read as described above,
In multiple demodulated data obtained for each scan line,
The reliability of the demodulated data of the barcode 1 becomes lower as the number of characters having different demodulation results (the number of non-matching characters) is larger in a portion where each demodulated data and another adjacent demodulated data overlap. Therefore, the larger the number of mismatched characters,
It is desired to increase the predetermined reference number in the coincidence number checking unit 36 to improve the reliability of the divided reading result.

【0088】例えば図6に示した第1実施例の場合と同
様、1つのバーコード1を、2本の走査ラインA1,A
2により2つの部分に分割して読み取った場合について
考えてみる。ここで、第1パターンでは、走査ラインA
1により復調したバーコード1のキャラクタがA〜F,
G,H,I,J′で、走査ラインA2により復調したバ
ーコード1のキャラクタがI,J,K,Lであるものと
する。また、第2パターンでは、走査ラインA1により
復調したバーコード1のキャラクタがA〜F,G,H,
Iで、走査ラインA2により復調したバーコード1のキ
ャラクタがI,J,K,Lであるものとする。
For example, as in the case of the first embodiment shown in FIG. 6, one bar code 1 is replaced with two scanning lines A1, A.
Consider the case where the data is divided into two parts and read by step 2. Here, in the first pattern, the scan line A
The characters of barcode 1 demodulated by 1 are AF,
It is assumed that the characters of the barcode 1 demodulated by the scan line A2 in G, H, I, and J'are I, J, K, and L. In the second pattern, the characters of the barcode 1 demodulated by the scanning line A1 are A to F, G, H, and
It is assumed that the characters of the barcode 1 demodulated by the scan line A2 in I are I, J, K, and L.

【0089】このとき、第1パターンでは、重複部分は
2キャラクタ分(IとI,JとJ′)存在するが、実際
の重複キャラクタはIの1個のみであり、走査ラインA
1による復調キャラクタの最端部のキャラクタJ′と、
走査ラインA2による復調キャラクタの最端部から2番
目のキャラクタJとが不一致になっている。つまり、不
一致キャラクタ数が1である。
At this time, in the first pattern, the overlapping portion exists for two characters (I and I, J and J '), but the actual overlapping character is only one I, and the scanning line A
The character J ′ at the end of the demodulated character by 1;
The character J, which is the second character from the end of the demodulated character by the scanning line A2, does not match. That is, the number of unmatched characters is 1.

【0090】このような不一致が生じるということは、
バーコード1以外に文字や紙面ノイズ等による誤読が発
生していることが考えられる。従って、キャラクタIは
2つの復調データで重複してはいるが、特に走査ライン
A2による復調キャラクタの最端部のキャラクタIの信
頼性が低くなり、キャラクタIの重複だけで読取結果を
有効とすると、誤読してしまう可能性が高くなる。
The occurrence of such a mismatch means that
It is conceivable that erroneous reading due to characters or paper surface noise other than the barcode 1 has occurred. Therefore, although the character I overlaps with the two demodulated data, the reliability of the character I at the end of the demodulated character due to the scan line A2 becomes low, and the read result is valid only by overlapping the character I. , The possibility of misreading is increased.

【0091】また、第2パターンでは、重複部分は1キ
ャラクタ分であり、この重複部分で2つのキャラクタI
が一致している。つまり、不一致キャラクタ数は0であ
る。この場合、バーコード1以外に文字や紙面ノイズ等
による誤読が発生している可能性は、上記第1パターン
の場合よりもずっと低いものと推測される。従って、第
2実施例では、不一致キャラクタ数が大きい程、誤読可
能性が高いので、信頼性を高めるべく、基準回数変更部
37Aにより一致回数チェック部36での基準回数を大
きく設定変更する。このとき、不一致キャラクタ数は、
データ比較部34Aの読取状態情報取得手段(キャラク
タ数検出手段)としての機能により、上述したキャラク
タ重複チェックを行なう際に検出される。
In the second pattern, the overlapping portion is for one character, and two characters I are included in this overlapping portion.
Are matched. That is, the number of unmatched characters is 0. In this case, the possibility that erroneous reading due to characters or paper surface noise other than the barcode 1 may be much lower than that in the case of the first pattern. Therefore, in the second embodiment, the larger the number of non-matching characters, the higher the possibility of misreading. Therefore, in order to improve the reliability, the reference number changing unit 37A largely changes the reference number in the matching number checking unit 36. At this time, the number of unmatched characters is
By the function of the reading state information acquisition means (character number detection means) of the data comparison unit 34A, it is detected when the above-mentioned character duplication check is performed.

【0092】この基準回数変更部37Aによる基準回数
設定変更処理の動作を、図8に示すフローチャート(ス
テップS31〜S37)に従って説明すると、データ比
較部34Aにより検出された不一致キャラクタ数が0で
あれば(ステップS31でYES判定の場合)、一致回
数チェック部36での基準回数を1、つまり読取対象の
バーコード1のデータ取込み回数を1に設定変更する
(ステップS32)。ここで、基準回数を1に設定した
場合には、第1実施例でも前述した通り、その復調デー
タの信頼性が高く一致回数チェック部36によるチェッ
クが不要であるため、一致回数チェックを行なうことな
く、そのまま復調データを有効化してバーコード1の読
取を完了することになる。
The operation of the reference number setting changing process by the reference number changing unit 37A will be described with reference to the flowchart (steps S31 to S37) shown in FIG. 8. If the number of mismatched characters detected by the data comparing unit 34A is zero. In the case of YES determination in step S31, the reference number in the coincidence number checking unit 36 is set to 1, that is, the number of times the data of the barcode 1 to be read is taken in is changed to 1 (step S32). Here, if the reference number of times is set to 1, as described above in the first embodiment, the reliability of the demodulated data is high and the matching number checking unit 36 does not need to check it. Instead, the demodulated data is validated as it is, and the reading of the barcode 1 is completed.

【0093】また、データ比較部34Aにより検出され
た不一致キャラクタ数が1であれば(ステップS33で
YES判定の場合)、一致回数チェック部36での基準
回数を2、つまり読取対象のバーコード1のデータ取込
み回数を2に設定変更する(ステップS34)。さら
に、データ比較部34Aにより検出された不一致キャラ
クタ数が2以上であれば(ステップS35でYES判定
の場合)、一致回数チェック部36での基準回数を3、
つまり読取対象のバーコード1のデータ取込み回数を3
に設定変更する(ステップS36)。
If the number of non-matching characters detected by the data comparing section 34A is 1 (YES in step S33), the reference number in the matching number checking section 36 is 2, that is, the barcode 1 to be read. The number of times the data is captured is changed to 2 (step S34). Further, if the number of non-matching characters detected by the data comparing unit 34A is 2 or more (YES in step S35), the reference number of times in the matching number checking unit 36 is 3,
That is, the number of data acquisitions of the barcode 1 to be read is set to 3
The setting is changed to (step S36).

【0094】ステップS35でNO判定となった場合
(不一致キャラクタ数が2以上でないと判定された場
合)には、何らかのエラーが生じたものと判断して、バ
ーコード1の再読取を指示する(ステップS37)。こ
のように、本発明の第2実施例によれば、バーコード1
の読取状態情報である不一致キャラクタ数に応じ、不一
致キャラクタ数が大きくて誤読の可能性が高い場合には
基準回数が大きく設定され、不一致キャラクタ数が小さ
くて誤読の可能性が低い場合には基準回数が小さく設定
される。
If NO is determined in step S35 (if it is determined that the number of non-matching characters is not 2 or more), it is determined that some error has occurred, and the re-reading of the bar code 1 is instructed ( Step S37). Thus, according to the second embodiment of the present invention, the barcode 1
According to the number of non-matching characters, which is the reading status information, the reference number is set to a large number when the number of non-matching characters is high and the possibility of misreading is high. The number of times is set small.

【0095】従って、1つのバーコード1を複数の部分
に分割して走査,復調する場合に、バーコード1の読取
状態(不一致キャラクタ数)に応じた一致回数チェック
を行なうことができ、第1実施例と同様の効果を得るこ
とができる。なお、上述した第2実施例では、図8に示
したように、基準回数変更部37Aにより、不一致キャ
ラクタ数が0の場合に基準回数を1に設定し、不一致キ
ャラクタ数が1の場合に基準回数を2に設定し、不一致
キャラクタ数が2以上の場合に基準回数を3に設定する
例について説明したが、本発明は、この数値に限定され
るものではない。
Therefore, when one bar code 1 is divided into a plurality of parts for scanning and demodulation, the number of coincidences can be checked according to the reading state of the bar code 1 (the number of non-coincident characters). The same effect as the embodiment can be obtained. In the second embodiment described above, as shown in FIG. 8, the reference number changing unit 37A sets the reference number to 1 when the number of mismatched characters is 0, and sets the reference number when the number of mismatched characters is 1. The example in which the number of times is set to 2 and the reference number of times is set to 3 when the number of unmatched characters is 2 or more has been described, but the present invention is not limited to this number.

【0096】また、上述した第2実施例では、図6に示
すように、1つのバーコード1を2本の走査ラインA
1,A2により2分割した形で読み取った場合について
説明したが、本発明は、これに限定されるものではな
く、1つのバーコード1を3以上に分割して読み取った
場合についても同様に適用され、上記第2実施例と同様
の作用効果が得られる。
Further, in the above-described second embodiment, as shown in FIG. 6, one bar code 1 is used for two scanning lines A.
Although the case of reading in the form of being divided into two by 1 and A2 has been described, the present invention is not limited to this and is similarly applied to the case where one barcode 1 is divided into three or more and read. As a result, the same effect as that of the second embodiment can be obtained.

【0097】(c)第3実施例の説明 本発明の第3実施例としてのバーコード読取装置のハー
ドウエア構成は、図2に示した第1実施例のものと全く
同様である。また、本発明の第3実施例としてのバーコ
ード読取装置の機能的な構成は、図9に示すごとく、第
1実施例のものとほぼ同様であるが、この第3実施例で
は、データ比較部34Bおよび基準回数変更部37Bの
機能が、図3に示した第1実施例のデータ比較部34お
よび基準回数変更部37の機能と若干異なっている。な
お、図9中、既述の符号と同一の符号は同一部分を示し
ているので、その説明は省略する。
(C) Description of Third Embodiment The hardware configuration of the bar code reader as the third embodiment of the present invention is exactly the same as that of the first embodiment shown in FIG. The functional configuration of the bar code reader as the third embodiment of the present invention is almost the same as that of the first embodiment as shown in FIG. 9, but in this third embodiment, data comparison is performed. The functions of the unit 34B and the reference number changing unit 37B are slightly different from the functions of the data comparing unit 34 and the reference number changing unit 37 of the first embodiment shown in FIG. In FIG. 9, the same reference numerals as those used above indicate the same parts, and a description thereof will be omitted.

【0098】つまり、第3実施例のデータ比較部34B
は、第1実施例のデータ比較部34と同様のキャラクタ
重複チェックを行なう際に、バーコード1の複数部分に
ついての復調データにおいて重複する部分の位置(重複
位置)を、バーコード1の読取状態情報として検出・取
得する読取状態情報取得手段(重複位置検出手段)とし
て機能するようになっている。
That is, the data comparison unit 34B of the third embodiment.
When performing the same character duplication check as in the data comparison unit 34 of the first embodiment, the position of the overlapping portion (overlapping position) in the demodulated data of a plurality of portions of the barcode 1 is read by the barcode 1 reading state. It functions as a reading state information acquisition unit (overlapping position detection unit) that detects and acquires information.

【0099】また、第3実施例の基準回数変更部(基準
回数変更手段)37Bは、前述したデータ比較部34B
の読取状態情報取得手段としての機能により得られた前
記重複位置(バーコード1の読取状態情報)に応じて、
一致回数チェック部36における前記所定の基準回数を
設定変更するものである。なお、第3実施例における基
準回数変更部37Bの詳細な設定変更動作については、
図10により後述する。
The reference number changing unit (reference number changing means) 37B of the third embodiment is the same as the data comparing unit 34B described above.
According to the overlapping position (reading state information of the barcode 1) obtained by the function of the reading state information acquiring unit of
The predetermined reference number of times in the coincidence number check unit 36 is set and changed. The detailed setting changing operation of the reference number changing unit 37B in the third embodiment is as follows.
This will be described later with reference to FIG.

【0100】上述のごとく構成された本発明の第3実施
例の全体的な動作の流れは、図4に示すフローチャート
に従って説明した第1実施例のものと全く同様であるの
で、その説明は省略する。ところで、上述のごとく1つ
のバーコード1を複数部分に分割して読み取った場合、
ガイドバーおよびセンターバーの両方を通過する走査ラ
インにより復調されたデータと、ガイドバー(もしくは
センターバー)のみを通過する走査ラインにより復調さ
れたデータとでは、前者のデータの方が信頼性が高いこ
とはいうまでもない。図6に示した例では、走査ライン
A1は、レフトガイドバーLGBおよびセンターバーC
Bの両方を通過し、走査ラインA2は、ライトガイドバ
ーRGBのみを通過しており、このような場合、走査ラ
インA1による復調データの方が走査ラインA2による
復調データよりも信頼性が高い。
The overall operation flow of the third embodiment of the present invention constructed as described above is exactly the same as that of the first embodiment described according to the flow chart shown in FIG. 4, and therefore the description thereof is omitted. To do. By the way, when one bar code 1 is divided into a plurality of parts and read as described above,
The former data is more reliable between the data demodulated by the scanning line passing through both the guide bar and the center bar and the data demodulated by the scanning line passing through only the guide bar (or the center bar). Needless to say. In the example shown in FIG. 6, the scan line A1 includes the left guide bar LGB and the center bar C.
The scanning line A2 passes through both B and the light guide bar RGB only. In such a case, the demodulation data by the scanning line A1 is more reliable than the demodulation data by the scanning line A2.

【0101】また、バーコード1を印刷された新聞等の
紙面上で、そのバーコード1の近傍に欄表示などが記載
されていると、その欄をガイドバーとして誤読してしま
う可能性が高い。つまり、第1実施例にて前述した重複
キャラクタ数が同じであれば、ガイドバーのみを含む復
調データの信頼性は、その復調データにおけるキャラク
タ数が大きい程、高くなる。
If a column display is written near the barcode 1 on the surface of a newspaper or the like on which the barcode 1 is printed, there is a high possibility that the column will be misread as a guide bar. . That is, if the number of duplicate characters described above in the first embodiment is the same, the reliability of the demodulation data including only the guide bar becomes higher as the number of characters in the demodulation data becomes larger.

【0102】従って、ガイドバーのみを含む復調データ
におけるキャラクタ数が小さい程、即ち、重複キャラク
タの位置(重複位置)がガイドバー側に近い程、一致回
数チェック部36での前記所定の基準回数を大きく設定
して、分割読取の結果の信頼性を向上させることが望ま
れる。例えば図6に示した第1実施例の場合と同様、1
つのバーコード1を、2本の走査ラインA1,A2によ
り2つの部分に分割して読み取った場合について考えて
みる。
Therefore, the smaller the number of characters in the demodulated data including only the guide bar, that is, the closer the position of the overlapping character (overlapping position) is to the guide bar side, the more the predetermined reference number in the coincidence number checking section 36 becomes. It is desired to set a large value to improve the reliability of the divided reading result. For example, as in the case of the first embodiment shown in FIG.
Consider a case where one bar code 1 is read by being divided into two parts by two scanning lines A1 and A2.

【0103】ここで、第1パターンでは、走査ラインA
1によりレフトガイドバーLGBおよびセンターバーC
Bを含んで復調したバーコード1のキャラクタがA〜
F,G,H,I,Jで、走査ラインA2によりライトガ
イドバーRGBを含んで復調したバーコード1のキャラ
クタがJ,K,Lであるものとする。また、第2パター
ンでは、走査ラインA1によりレフトガイドバーLGB
およびセンターバーCBを含んで復調したバーコード1
のキャラクタがA〜F,G,Hで、走査ラインA2によ
りライトガイドバーRGBを含んで復調したバーコード
1のキャラクタがH,I,J,K,Lであるものとす
る。
Here, in the first pattern, the scan line A
Left guide bar LGB and center bar C by 1
The character of barcode 1 demodulated including B is from A to
In F, G, H, I and J, the characters of the barcode 1 demodulated including the light guide bar RGB by the scanning line A2 are J, K and L. In the second pattern, the left guide bar LGB is scanned by the scan line A1.
And bar code 1 demodulated including center bar CB
Characters A to F, G, and H, and the characters of the barcode 1 demodulated including the light guide bar RGB by the scanning line A2 are H, I, J, K, and L.

【0104】このとき、第1パターンでは、重複キャラ
クタはJの1個であり、第2パターンでは、重複キャラ
クタはHの1個であり、重複キャラクタ数は第1パター
ンでも第2パターンでも同じ1となっている。しかし、
第1パターンでは、走査ラインA2によりライトガイド
バーRGBを含んで復調したバーコード1のキャラクタ
数が3であるのに対して、第2パターンでは走査ライン
A2によりライトガイドバーRGBを含んで復調したバ
ーコード1のキャラクタ数が5である。つまり、第1パ
ターンの方が第2パターンよりも重複位置がライトガイ
ドバーRGB側にある。
At this time, in the first pattern, one overlapping character is J, in the second pattern, one overlapping character is H, and the number of overlapping characters is the same in both the first pattern and the second pattern. Has become. But,
In the first pattern, the number of characters of the barcode 1 demodulated including the light guide bar RGB by the scanning line A2 is 3, whereas in the second pattern, the demodulation including the light guide bar RGB is performed by the scanning line A2. The number of characters of barcode 1 is 5. That is, the overlapping position of the first pattern is closer to the light guide bar RGB side than the second pattern.

【0105】ライトガイドバーRGBを含んで復調した
バーコード1のキャラクタ数が小さい場合、前述したよ
うに、ライトガイドバーRGBを、新聞の欄表示により
誤読している可能性がある。従って、第3実施例では、
ガイドバーのみを含む復調データのキャラクタ数が小さ
い程、つまり重複位置がガイドバー側に近づく程、誤読
可能性が高いので、信頼性を高めるべく、基準回数変更
部37Bにより一致回数チェック部36での基準回数を
大きく設定変更する。このとき、重複位置は、データ比
較部34Bの読取状態情報取得手段(重複位置検出手
段)としての機能により、上述したキャラクタ重複チェ
ックを行なう際に検出される。
When the number of characters of the bar code 1 demodulated including the light guide bar RGB is small, the light guide bar RGB may be erroneously read by the newspaper column display as described above. Therefore, in the third embodiment,
The smaller the number of characters of the demodulated data including only the guide bar, that is, the closer the overlapping position is to the guide bar side, the higher the possibility of misreading. Therefore, in order to improve the reliability, the reference number changing unit 37B causes the matching number checking unit 36 to check. Change the setting of the reference number of. At this time, the overlapping position is detected when the above-described character duplication check is performed by the function of the reading state information acquisition unit (overlap position detecting unit) of the data comparison unit 34B.

【0106】この基準回数変更部37Bによる基準回数
設定変更処理の動作を、図10に示すフローチャート
(ステップS41〜S47)に従って説明すると、デー
タ比較部34Bにより検出された重複位置が最もセンタ
ーバーCB側であり、ガイドバーのみを含む復調データ
のキャラクタ数が最大の6であれば(ステップS41で
YES判定の場合)、一致回数チェック部36での基準
回数を1、つまり読取対象のバーコード1のデータ取込
み回数を1に設定変更する(ステップS42)。
The operation of the reference number setting changing process by the reference number changing unit 37B will be described with reference to the flowchart (steps S41 to S47) shown in FIG. 10. The overlapping position detected by the data comparison unit 34B is closest to the center bar CB. If the maximum number of characters of the demodulated data including only the guide bar is 6 (YES in step S41), the reference number in the matching number check unit 36 is 1, that is, the barcode 1 to be read is The number of data acquisitions is changed to 1 (step S42).

【0107】また、データ比較部34Bにより検出され
た重複位置がセンターバーCBよりも1キャラクタ分だ
けガイドバー寄りであり、ガイドバーのみを含む復調デ
ータのキャラクタ数が5であれば(ステップS43でY
ES判定の場合;例えば上述した第2パターンの場
合)、一致回数チェック部36での基準回数を2、つま
り読取対象のバーコード1のデータ取込み回数を2に設
定変更する(ステップS44)。
If the overlapping position detected by the data comparison unit 34B is closer to the guide bar than the center bar CB by one character, and the number of characters of the demodulated data including only the guide bar is 5, (at step S43). Y
In the case of the ES determination; for example, in the case of the above-mentioned second pattern), the reference number in the coincidence number checking unit 36 is set to 2, that is, the number of times the data of the barcode 1 to be read is captured is changed to 2 (step S44).

【0108】さらに、データ比較部34Bにより検出さ
れた重複位置がセンターバーCBよりも2キャラクタ分
以上ガイドバー寄りであり、ガイドバーのみを含む復調
データのキャラクタ数が4以下であれば(ステップS4
5でYES判定の場合)、一致回数チェック部36での
基準回数を3、つまり読取対象のバーコード1のデータ
取込み回数を3に設定変更する(ステップS46)。
Further, if the overlapping position detected by the data comparison section 34B is closer to the guide bar than the center bar CB by 2 characters or more, and the number of characters of the demodulated data including only the guide bar is 4 or less (step S4).
If YES in 5), the reference number in the coincidence number checking unit 36 is set to 3, that is, the number of times the data of the barcode 1 to be read is taken in is changed to 3 (step S46).

【0109】ステップS45でNO判定となった場合
(キャラクタ数が4以下でないと判定された場合)に
は、何らかのエラーが生じたものと判断して、バーコー
ド1の再読取を指示する(ステップS47)。このよう
に、本発明の第3実施例によれば、バーコード1の読取
状態情報である重複位置(ガイドバーを含む復調データ
のキャラクタ数)に応じ、その重複位置がガイドバー寄
りで誤読の可能性が高い場合には基準回数が大きく設定
され、その重複位置がセンターバー寄りで誤読の可能性
が低い場合には基準回数が小さく設定される。
If NO is determined in step S45 (when it is determined that the number of characters is not 4 or less), it is determined that some kind of error has occurred, and an instruction to reread the barcode 1 is issued (step S45). S47). As described above, according to the third embodiment of the present invention, according to the overlapping position (the number of characters of the demodulated data including the guide bar) which is the reading state information of the barcode 1, the overlapping position is misread near the guide bar. When the possibility is high, the reference number is set large, and when the overlapping position is close to the center bar and the possibility of misreading is low, the reference number is set small.

【0110】従って、1つのバーコード1を複数の部分
に分割して走査,復調する場合に、バーコード1の読取
状態(重複位置)に応じた一致回数チェックを行なうこ
とができ、第1実施例と同様の効果を得ることができ
る。なお、上述した第3実施例では、図10に示したよ
うに、基準回数変更部37Bにより、ガイドバーのみを
含む復調データのキャラクタ数が6の場合に基準回数を
1に設定し、同キャラクタ数が5の場合に基準回数を2
に設定し、同キャラクタ数が4以下の場合に基準回数を
3に設定する例について説明したが、本発明は、この数
値に限定されるものではない。
Therefore, when one bar code 1 is divided into a plurality of parts for scanning and demodulation, it is possible to check the number of coincidences according to the reading state (overlapping position) of the bar code 1. The same effect as the example can be obtained. In the third embodiment described above, as shown in FIG. 10, the reference number changing unit 37B sets the reference number to 1 when the number of characters of the demodulated data including only the guide bar is 6, and the same number is set. If the number is 5, the reference number is 2
However, the present invention is not limited to this numerical value, although the reference number is set to 3 when the number of characters is 4 or less.

【0111】また、上述した第3実施例では、図6に示
すように、1つのバーコード1を2本の走査ラインA
1,A2により2分割した形で読み取った場合について
説明したが、本発明は、これに限定されるものではな
く、1つのバーコード1を3以上に分割して読み取った
場合についても同様に適用され、上記第3実施例と同様
の作用効果が得られる。
Further, in the above-described third embodiment, as shown in FIG. 6, one bar code 1 is replaced with two scanning lines A.
Although the case of reading in the form of being divided into two by 1 and A2 has been described, the present invention is not limited to this and is similarly applied to the case where one barcode 1 is divided into three or more and read. As a result, the same effect as that of the third embodiment can be obtained.

【0112】(d)第4実施例の説明 本発明の第4実施例としてのバーコード読取装置のハー
ドウエア構成は、図2に示した第1実施例のものと全く
同様である。また、本発明の第4実施例としてのバーコ
ード読取装置の機能的な構成は、図11に示すごとく、
第1実施例のものとほぼ同様であるが、この第4実施例
では、バーコード合成部33A,データ比較部34Cお
よび基準回数変更部37Cの機能が、図3に示した第1
実施例のバーコード合成部33,データ比較部34およ
び基準回数変更部37の機能と若干異なっている。な
お、図11中、既述の符号と同一の符号は同一部分を示
しているので、その説明は省略する。
(D) Description of Fourth Embodiment The hardware configuration of the bar code reader as the fourth embodiment of the present invention is exactly the same as that of the first embodiment shown in FIG. Further, the functional configuration of the bar code reading apparatus as the fourth embodiment of the present invention is as shown in FIG.
Although substantially the same as that of the first embodiment, in the fourth embodiment, the functions of the barcode combining unit 33A, the data comparing unit 34C and the reference number changing unit 37C are the same as those of the first embodiment shown in FIG.
The functions of the barcode combining unit 33, the data comparing unit 34, and the reference number changing unit 37 of the embodiment are slightly different. In FIG. 11, the same reference numerals as those used above indicate the same parts, and a description thereof will be omitted.

【0113】つまり、第4実施例のバーコード合成部3
3Aは、前述した第1実施例のバーコード合成部33と
全く同様の機能を有するほかに、バーコード1の複数部
分についての組合せパターン〔図12(A)〜(D)参
照〕を、バーコード1の読取状態情報として検出し、後
述する基準回数変更部37Cへ通知する読取状態情報取
得手段(組合せパターン検出手段)としての機能を有し
ている。
That is, the barcode synthesizing section 3 of the fourth embodiment.
3A has exactly the same function as that of the barcode synthesizing unit 33 of the first embodiment described above, and the combination pattern of a plurality of portions of the barcode 1 [see FIGS. It has a function as a reading state information acquiring unit (combination pattern detecting unit) that detects the reading state information of the code 1 and notifies the reference number changing unit 37C described later.

【0114】また、第4実施例のデータ比較部34C
は、第1実施例のデータ比較部34と同様のキャラクタ
重複チェックを行なう機能のみを有し、第1〜第3実施
例にて前述した読取状態情報取得手段としての機能を有
していない。さらに、第4実施例の基準回数変更部(基
準回数変更手段)37Cは、前述したバーコード合成部
33Aの読取状態情報取得手段としての機能により得ら
れた前記組合せパターン(バーコード1の読取状態情
報)に応じて、一致回数チェック部36における前記所
定の基準回数を設定変更するものである。なお、第4実
施例における基準回数変更部37Cの詳細な設定変更動
作については、図13により後述する。
Further, the data comparison section 34C of the fourth embodiment.
Has only the same function as the data comparison unit 34 of the first embodiment for checking the character duplication, and does not have the function as the reading state information acquisition means described above in the first to third embodiments. Further, the reference number changing unit (reference number changing unit) 37C of the fourth embodiment is the combination pattern (the reading state of the barcode 1 obtained by the function as the reading state information obtaining unit of the barcode synthesizing unit 33A described above. The predetermined reference number of times in the matching number check unit 36 is changed according to the information). The detailed setting changing operation of the reference number changing unit 37C in the fourth embodiment will be described later with reference to FIG.

【0115】上述のごとく構成された本発明の第4実施
例の全体的な動作の流れは、図4に示すフローチャート
に従って説明した第1実施例のものと全く同様であるの
で、その説明は省略する。ところで、図6に示すような
バーコード1を複数部分に分割して読み取る場合、図1
2(A)〜(D)に示すような分割パターンが考えら
れ、その分割パターンに応じた組合せパターンで、バー
コード合成部33Aにより複数の復調データの合成・組
合せが実行されることになる。
The overall operation flow of the fourth embodiment of the present invention configured as described above is exactly the same as that of the first embodiment described according to the flow chart shown in FIG. 4, and therefore the description thereof is omitted. To do. By the way, when the barcode 1 as shown in FIG.
2 (A) to (D) are conceivable, and the barcode composing unit 33A composes / combines a plurality of demodulated data with a combination pattern corresponding to the division pattern.

【0116】図12(A)に示す分割パターン(組合せ
パターン)は、2分割パターンであり、走査ラインA1
による復調データは一方のガードバーGBおよびセンタ
ーバーCBの両方を含んでいる。そして、走査ラインA
2による復調データは他方のガードバーGBのみを含
み、これらの復調データは図中の斜線部B1で重複して
いる。
The division pattern (combination pattern) shown in FIG. 12A is a two-division pattern, and the scanning line A1
The demodulated data according to 1 includes both the guard bar GB and the center bar CB. And the scan line A
The demodulated data by 2 includes only the other guard bar GB, and these demodulated data are overlapped at the shaded portion B1 in the figure.

【0117】図12(B)に示す分割パターン(組合せ
パターン)は、3分割パターンであり、走査ラインA1
による復調データは一方のガードバーGBおよびセンタ
ーバーCBの両方を含み、走査ラインA2による復調デ
ータはセンターバーCBのみを含み、走査ラインA3に
よる復調データは他方のガードバーGBのみを含んでい
る。そして、走査ラインA2による復調データと走査ラ
インA3による復調データとが図中の斜線部B1で重複
している。
The division pattern (combination pattern) shown in FIG. 12B is a three-division pattern, and the scanning line A1
The demodulated data according to 1 includes both one guard bar GB and the center bar CB, the demodulated data according to the scanning line A2 includes only the center bar CB, and the demodulated data according to the scanning line A3 includes only the other guard bar GB. Then, the demodulated data by the scanning line A2 and the demodulated data by the scanning line A3 overlap each other in the shaded portion B1 in the figure.

【0118】図12(C)に示す分割パターン(組合せ
パターン)も、3分割パターンであり、この分割パター
ンでは、走査ラインA1による復調データは一方のガー
ドバーGBのみを含み、走査ラインA2による復調デー
タはセンターバーCBのみを含み、走査ラインA3によ
る復調データは他方のガードバーGBのみを含んでい
る。そして、走査ラインA1による復調データと走査ラ
インA2による復調データとが図中の斜線部B1で重複
するとともに、走査ラインA2による復調データと走査
ラインA3による復調データとが図中の斜線部B2で重
複している。
The division pattern (combination pattern) shown in FIG. 12C is also a three-division pattern. In this division pattern, the demodulation data by the scanning line A1 includes only one guard bar GB and the demodulation data by the scanning line A2. Includes only the center bar CB, and the demodulated data by the scan line A3 includes only the other guard bar GB. Then, the demodulated data by the scan line A1 and the demodulated data by the scan line A2 overlap each other in a shaded portion B1 in the figure, and the demodulated data by the scan line A2 and the demodulated data by the scan line A3 in a shaded portion B2 in the figure. It overlaps.

【0119】図12(D)に示す分割パターン(組合せ
パターン)は、4分割パターンであり、走査ラインA1
による復調データは一方のガードバーGBのみを含み、
走査ラインA2による復調データはセンターバーCBの
みを含み、走査ラインA3による復調データはセンター
バーCBのみを含み、走査ラインA4による復調データ
は他方のガードバーGBのみを含んでいる。そして、走
査ラインA1による復調データと走査ラインA2による
復調データとが図中の斜線部B1で重複するとともに、
走査ラインA3による復調データと走査ラインA4によ
る復調データとが図中の斜線部B2で重複している。
The division pattern (combination pattern) shown in FIG. 12D is a 4-division pattern, and the scanning line A1
The demodulated data by includes only one guard bar GB,
The demodulated data by the scan line A2 includes only the center bar CB, the demodulated data by the scan line A3 includes only the center bar CB, and the demodulated data by the scan line A4 includes only the other guard bar GB. Then, the demodulated data by the scanning line A1 and the demodulated data by the scanning line A2 overlap each other in a hatched portion B1 in the drawing, and
The demodulated data by the scanning line A3 and the demodulated data by the scanning line A4 overlap in a shaded portion B2 in the drawing.

【0120】このような分割パターン(組合せパター
ン)では、分割数(組合せ数)が大きくなる程、復調す
べきバーコード1の部分は小さくなり、重複部分も増加
するため、復調データの信頼性が低くなる。従って、第
4実施例では、分割数や重複部分の数が大きい程、誤読
可能性が高いので、信頼性を高めるべく、図12(A)
〜(D)に示すような組合せパターンに応じて、基準回
数変更部37Cにより一致回数チェック部36での基準
回数を大きく設定変更する。このとき、組合せパターン
は、バーコード合成部33Aの読取状態情報取得手段
(組合せパターン検出手段)としての機能により、複数
の復調データの合成・組合せを行なう際に検出される。
In such a division pattern (combination pattern), the larger the division number (combination number), the smaller the portion of the barcode 1 to be demodulated and the larger the overlapping portion. Get lower. Therefore, in the fourth embodiment, the larger the number of divisions or the number of overlapping portions, the higher the possibility of misreading. Therefore, in order to improve the reliability, FIG.
According to the combination pattern as shown in (D) to (D), the reference number changing unit 37C largely changes the reference number in the matching number checking unit 36. At this time, the combination pattern is detected when the plurality of demodulated data are combined / combined by the function of the reading state information acquisition unit (combination pattern detection unit) of the barcode combining unit 33A.

【0121】この基準回数変更部37Cによる基準回数
設定変更処理の動作を、図13に示すフローチャート
(ステップS51〜S59)に従って説明すると、バー
コード合成部33Aによる復調データの組合せパターン
が図12(A)に示す2分割タイプ(分割数2,重複部
分数1)であれば(ステップS51でYES判定の場
合)、一致回数チェック部36での基準回数を1、つま
り読取対象のバーコード1のデータ取込み回数を1に設
定変更する(ステップS52)。
The operation of the reference number setting changing process by the reference number changing unit 37C will be described with reference to the flowchart (steps S51 to S59) shown in FIG. 13. The combination pattern of demodulated data by the bar code synthesizing unit 33A is shown in FIG. ) Shown in (2) (the number of divisions is 2, the number of overlapping portions is 1) (when YES is determined in step S51), the reference number in the coincidence number checking unit 36 is 1, that is, the data of the barcode 1 to be read. The number of acquisitions is changed to 1 (step S52).

【0122】また、バーコード合成部33Aによる復調
データの組合せパターンが図12(B)に示す3分割タ
イプ(分割数3,重複部分数1)であれば(ステップS
53でYES判定の場合)、一致回数チェック部36で
の基準回数を2、つまり読取対象のバーコード1のデー
タ取込み回数を2に設定変更する(ステップS54)。
If the combination pattern of the demodulated data by the barcode synthesizing section 33A is the three-division type (division number 3, overlapping portion number 1) shown in FIG. 12B (step S).
In the case of YES in 53), the reference number in the coincidence number checking unit 36 is changed to 2, that is, the number of times the data of the barcode 1 to be read is taken in is changed to 2 (step S54).

【0123】さらに、バーコード合成部33Aによる復
調データの組合せパターンが図12(C)に示す3分割
タイプ(分割数3,重複部分数2)であれば(ステップ
S55でYES判定の場合)、一致回数チェック部36
での基準回数を3、つまり読取対象のバーコード1のデ
ータ取込み回数を3に設定変更する(ステップS5
6)。
Furthermore, if the combination pattern of the demodulated data by the barcode synthesizing unit 33A is the three-division type (division number 3, overlapping portion number 2) shown in FIG. 12C (YES determination in step S55), Matching number check unit 36
The reference number in step 3 is set to 3, that is, the number of times the bar code 1 to be read is taken in is changed to 3 (step S5
6).

【0124】そして、バーコード合成部33Aによる復
調データの組合せパターンが図12(D)に示す4分割
タイプ(分割数4,重複部分数2)であれば(ステップ
S57でYES判定の場合)、一致回数チェック部36
での基準回数を4、つまり読取対象のバーコード1のデ
ータ取込み回数を4に設定変更する(ステップS5
8)。
Then, if the combination pattern of the demodulated data by the barcode synthesizing unit 33A is the 4-division type (division number 4, overlapping portion number 2) shown in FIG. 12D (YES in step S57), Matching number check unit 36
The reference number in 4 is set to 4, that is, the number of times the data of the barcode 1 to be read is taken in is changed to 4 (step S5).
8).

【0125】ステップS57でNO判定となった場合
〔図12(A)〜(D)のいずれのパターンにも当ては
まらない場合〕には、何らかのエラーが生じたものと判
断して、バーコード1の再読取を指示する(ステップS
59)。このように、本発明の第4実施例によれば、バ
ーコード1の読取状態情報である組合せパターン(分割
パターン)に応じ、その組合せパターンの分割数や重複
部分数が大きく誤読の可能性が高い場合には基準回数が
大きく設定され、その組合せパターンの分割数や重複部
分数が小さく誤読の可能性が低い場合には基準回数が小
さく設定される。
If the determination in step S57 is NO (if none of the patterns shown in FIGS. 12A to 12D is applied), it is determined that some error has occurred, and the barcode 1 Instruct re-reading (step S
59). As described above, according to the fourth embodiment of the present invention, depending on the combination pattern (division pattern) which is the reading state information of the barcode 1, the number of divisions and the number of overlapping portions of the combination pattern are large and there is a possibility of misreading. When the number is high, the reference number is set large, and when the number of divisions and the number of overlapping portions of the combination pattern are small and the possibility of misreading is low, the reference number is set small.

【0126】従って、1つのバーコード1を複数の部分
に分割して走査,復調する場合に、バーコード1の読取
状態(組合せパターン)に応じた一致回数チェックを行
なうことができ、第1実施例と同様の効果を得ることが
できる。なお、上述した第4実施例では、図13に示し
たように、基準回数変更部37Cにより、図12(A)
〜(D)に示す各パターンに応じて、基準回数を1〜4
に設定する例について説明したが、本発明は、この数値
に限定されるものではない。
Therefore, when one bar code 1 is divided into a plurality of parts for scanning and demodulation, the number of coincidences can be checked according to the reading state (combination pattern) of the bar code 1. The same effect as the example can be obtained. In addition, in the above-described fourth embodiment, as shown in FIG.
~ (D) according to each pattern, the reference number of times 1 to 4
However, the present invention is not limited to this numerical value.

【0127】(e)第5実施例の説明 本発明の第5実施例としてのバーコード読取装置のハー
ドウエア構成は、図2に示した第1実施例のものと全く
同様である。また、本発明の第5実施例としてのバーコ
ード読取装置の機能的な構成は、図14に示すごとく、
第1実施例のものとほぼ同様であるが、この第5実施例
では、基準回数変更部37Dの機能が、図3に示した第
1実施例の基準回数変更部37の機能と若干異なるほ
か、歪み量測定部39が新たに設けられている。なお、
図14中、既述の符号と同一の符号は同一部分を示して
いるので、その説明は省略する。
(E) Description of Fifth Embodiment The hardware configuration of the bar code reader as the fifth embodiment of the present invention is exactly the same as that of the first embodiment shown in FIG. Further, the functional configuration of the barcode reading apparatus as the fifth embodiment of the present invention is as shown in FIG.
Although substantially the same as that of the first embodiment, in the fifth embodiment, the function of the reference number changing unit 37D is slightly different from the function of the reference number changing unit 37 of the first embodiment shown in FIG. A strain amount measuring unit 39 is newly provided. In addition,
In FIG. 14, the same reference numerals as those used above indicate the same parts, and a description thereof will be omitted.

【0128】つまり、第5実施例の歪み量測定部(読取
状態情報取得手段,歪み量測定手段)39は、バーコー
ド復調部32による復調結果に基づいて、分割して読み
取られたバーコード1の複数部分が相互に重複する部分
の読取歪み量を、バーコード1の読取状態情報として算
出・測定し、後述する基準回数変更部37Dへ通知する
ものである。なお、歪み量測定部39により測定される
読取歪み量の具体例については、図15〜図17にて後
述する。
That is, the distortion amount measuring section (reading state information acquiring means, distortion amount measuring means) 39 of the fifth embodiment, based on the demodulation result by the bar code demodulating section 32, reads the bar code 1 dividedly. Is calculated and measured as the reading state information of the bar code 1, and is notified to the reference number changing unit 37D described later. A specific example of the reading distortion amount measured by the distortion amount measuring unit 39 will be described later with reference to FIGS.

【0129】また、第5実施例の基準回数変更部(基準
回数変更手段)37Dは、前述した歪み量測定部39に
より測定された前記読取歪み量(バーコード1の読取状
態情報)に応じて、一致回数チェック部36における前
記所定の基準回数を設定変更するものである。なお、第
5実施例における基準回数変更部37Dの詳細な設定変
更動作については、図18により後述する。
Further, the reference number changing section (reference number changing means) 37D of the fifth embodiment responds to the read strain amount (reading state information of the bar code 1) measured by the strain amount measuring unit 39 described above. The predetermined reference number of times in the matching number check unit 36 is set and changed. The detailed setting changing operation of the reference number changing unit 37D in the fifth embodiment will be described later with reference to FIG.

【0130】上述のごとく構成された本発明の第5実施
例の全体的な動作の流れは、図4に示すフローチャート
に従って説明した第1実施例のものと全く同様であるの
で、その説明は省略する。ところで、バーコード1の分
割読取に際しては、前述したように、センターバーおよ
び2つのガードバーのうちの少なくとも1つを含む部分
データを、できる限り復調し、各部分データ毎に得られ
た数キャラクタの復調データを組み合わせることで、1
つのバーコードを復調し読み取っている。
The overall operation flow of the fifth embodiment of the present invention configured as described above is exactly the same as that of the first embodiment described according to the flow chart shown in FIG. 4, so the description thereof is omitted. To do. By the way, when the barcode 1 is divided and read, as described above, the partial data including at least one of the center bar and the two guard bars is demodulated as much as possible, and several characters obtained for each partial data are used. 1 by combining demodulated data
It demodulates and reads one bar code.

【0131】復調を行なえなくなる直前のキャラクタ
は、文字や紙面ノイズ等をバーコードとして誤って読み
取った可能性がある。このような誤読可能性の高いキャ
ラクタは、必然的にその読取歪み量も大きい。従って、
読取歪み量が大きい程、一致回数チェック部36での前
記所定の基準回数を大きく設定して、分割読取の結果の
信頼性を向上させることが望まれる。
The character just before being unable to perform demodulation may have erroneously read a character, paper surface noise, or the like as a bar code. Such a character having a high possibility of misreading inevitably has a large reading distortion amount. Therefore,
It is desired that the larger the reading distortion amount, the larger the predetermined reference number in the coincidence number checking unit 36 is set to improve the reliability of the divided reading result.

【0132】ここで、バーコード1の読取歪み量として
は、キャラクタ長の歪み量や、δディスタンス長の
歪み量や、バー自体の歪み量が考えられる。まず、バ
ーコード1の読取歪み量としてキャラクタ長の歪み量を
測定する場合について説明する。このとき、図15
(A)に示すように、バーコード1の複数部分が相互に
重複する部分のキャラクタ長をC2とし、重複する部分
以外のキャラクタ長をC1とすると、歪み量測定部39
は、バーコード復調部32による復調時に得られるキャ
ラクタ長C1,C2に基づいて、バーコード1の複数部
分が相互に重複する部分のキャラクタ長の歪み量をC2
/C1として算出・測定する。このキャラクタ長の歪み
量C2/C1は、重複する2つの部分それぞれにおいて
算出され、最も大きい歪み量が読取歪み量として基準回
数変更部37Dへ通知される。
Here, as the reading distortion amount of the bar code 1, the distortion amount of the character length, the distortion amount of the δ distance length, or the distortion amount of the bar itself can be considered. First, a case where the distortion amount of the character length is measured as the reading distortion amount of the barcode 1 will be described. At this time, FIG.
As shown in (A), when the character length of a portion where a plurality of portions of the barcode 1 overlap with each other is C2 and the character length of portions other than the overlapping portion is C1, the distortion amount measuring unit 39.
Is a character length distortion amount of a portion where a plurality of portions of the barcode 1 overlap each other, based on the character lengths C1 and C2 obtained at the time of demodulation by the barcode demodulation unit 32.
/ C1 is calculated and measured. The distortion amount C2 / C1 of the character length is calculated in each of the two overlapping portions, and the largest distortion amount is notified to the reference number changing unit 37D as the reading distortion amount.

【0133】そして、基準回数変更部37Dは、その歪
み量が図15(B)に示すように例えば0.9〜1.1
の範囲内にある場合には、歪み量が小さいと判定し(図
18のステップS61でYES判定)、一致回数チェッ
ク部36での基準回数を1、つまり読取対象のバーコー
ド1のデータ取込み回数を1に設定変更する一方(図1
8のステップS62参照)、その歪み量が図15(B)
に示すように例えば0.875〜0.9もしくは1.1
〜1.125の範囲内にある場合には、歪み量が大きい
と判定し(図18のステップS61でNO判定)、一致
回数チェック部36での基準回数を2、つまり読取対象
のバーコード1のデータ取込み回数を2に設定変更する
(図18のステップS63参照)。なお、図15(B)
において、歪み量はキャラクタ長C1の係数として示さ
れている。
Then, the reference number changing unit 37D has a distortion amount of, for example, 0.9 to 1.1 as shown in FIG.
If it is within the range, the distortion amount is determined to be small (YES determination in step S61 of FIG. 18), and the reference number in the coincidence number check unit 36 is 1, that is, the number of data acquisitions of the barcode 1 to be read. While changing the setting to 1 (Fig. 1
8 step S62), and the distortion amount is shown in FIG.
As shown in, for example, 0.875 to 0.9 or 1.1
If it is within the range from 1.125 to 1.125, it is determined that the amount of distortion is large (NO determination in step S61 of FIG. 18), the reference number of times by the coincidence number checking unit 36 is 2, that is, the barcode 1 to be read. The number of times the data is captured is changed to 2 (see step S63 in FIG. 18). Note that FIG. 15B
In, the distortion amount is shown as a coefficient of the character length C1.

【0134】次に、バーコード1の読取歪み量としてδ
ディスタンス長の歪み量を測定する場合について説明す
る。バーコード復調部32によりバーコードデータの復
調処理を行なう場合、図28にても前述した通り、図1
6(A)に示すような2つのδディスタンス長T1,T
2のモジュール数の組合せに基づいて、キャラクタの判
別を行なっている。
Next, as the reading distortion amount of the bar code 1, δ
The case of measuring the strain amount of the distance length will be described. When the barcode demodulation unit 32 performs the demodulation processing of the barcode data, as shown in FIG.
Two δ distance lengths T1 and T as shown in 6 (A)
Characters are discriminated based on the combination of two modules.

【0135】そこで、読取歪み量としてδディスタンス
長の歪み量を測定する場合、歪み量測定部39は、バー
コード復調部32による復調時に得られる、バーコード
1の複数部分が相互に重複する部分のδディスタンス長
T1,T2を、キャラクタ長Cで除算した値T1/C,
T2/Cを読取歪み量として算出・測定する。このδデ
ィスタンス長の歪み量T1/C,T2/Cは、重複する
2つの部分それぞれにおいて算出され、基準回数変更部
37Dへ通知される。
Therefore, in the case of measuring the distortion amount of the δ distance length as the reading distortion amount, the distortion amount measuring unit 39 is a portion where a plurality of portions of the barcode 1 obtained at the time of demodulation by the barcode demodulating unit 32 overlap each other. Δ distance lengths T1, T2 of T divided by the character length C, T1 / C,
Calculate and measure T2 / C as the reading distortion amount. The distortion amounts T1 / C and T2 / C of the δ distance length are calculated in each of the two overlapping portions and are notified to the reference number changing unit 37D.

【0136】そして、基準回数変更部37Dは、その歪
み量が図16(B)に斜線で示すような範囲内にある場
合には、歪み量が大きいと判定し(図18のステップS
61でNO判定)、一致回数チェック部36での基準回
数を2、つまり読取対象のバーコード1のデータ取込み
回数を2に設定変更する一方(図18のステップS63
参照)、その歪み量が図16(B)に斜線で示すような
範囲外にある場合には、歪み量が小さいと判定し(図1
8のステップS61でYES判定)、一致回数チェック
部36での基準回数を1、つまり読取対象のバーコード
1のデータ取込み回数を1に設定変更する(図18のス
テップS62参照)。
Then, the reference number changing unit 37D determines that the distortion amount is large when the distortion amount is within the range shown by the diagonal lines in FIG. 16B (step S in FIG. 18).
(NO determination in 61), the reference number in the coincidence number check unit 36 is set to 2, that is, the number of times the data of the barcode 1 to be read is taken in is changed to 2 (step S63 in FIG. 18).
16), if the distortion amount is outside the range shown by the diagonal lines in FIG. 16B, it is determined that the distortion amount is small (FIG. 1).
(YES determination in step S61 of 8), the reference number in the coincidence number checking unit 36 is set to 1, that is, the number of times of data acquisition of the barcode 1 to be read is changed to 1 (see step S62 in FIG. 18).

【0137】次に、バーコード1の読取歪み量としてバ
ー自体の歪み量を測定する場合について説明する。バー
コード復調部32によりバーコードデータの復調処理を
行なう場合、前述した通り、図16(A)に示すような
2つのδディスタンス長T1,T2のモジュール数の組
合せに基づいて、キャラクタの判別を行なっているが、
これらのδディスタンス長T1,T2で判別のつかない
キャラクタも存在する。このような場合には、バーコー
ド復調部32により、各バー自体の長さ〔図17(A)
のa,b,c,d参照〕を求め、各バー自体のモジュー
ル数を算出して、キャラクタ判別を行なっている。
Next, the case where the distortion amount of the bar itself is measured as the reading distortion amount of the bar code 1 will be described. When performing the demodulation processing of the bar code data by the bar code demodulation unit 32, as described above, the character discrimination is performed based on the combination of the number of modules of the two δ distance lengths T1 and T2 as shown in FIG. 16 (A). I'm doing
There are characters that cannot be distinguished by these δ distance lengths T1 and T2. In such a case, the bar code demodulation unit 32 causes the length of each bar itself [Fig. 17 (A)].
A, b, c, d] are obtained, the number of modules of each bar itself is calculated, and character discrimination is performed.

【0138】そこで、読取歪み量としてバー自体の歪み
量を測定する場合、歪み量測定部39は、バーコード復
調部32による復調時に得られる、バーコード1の複数
部分が相互に重複する部分の各バー自体の長さa〜dを
キャラクタ長Cで除算した値a/C〜d/Cを読取歪み
量として算出・測定する。この各バー自体の歪み量a/
C〜d/Cは、重複する2つの部分それぞれにおいて算
出され、基準回数変更部37Dへ通知される。
Therefore, in the case of measuring the distortion amount of the bar itself as the reading distortion amount, the distortion amount measuring unit 39 detects a portion of a plurality of portions of the bar code 1 which are obtained at the time of demodulation by the bar code demodulating unit 32 and overlap each other. Values a / C to d / C obtained by dividing the lengths a to d of the bars themselves by the character length C are calculated and measured as the reading distortion amount. The distortion amount a / of each bar itself
C to d / C are calculated in each of the two overlapping portions and are notified to the reference number changing unit 37D.

【0139】そして、δディスタンス長の歪み量を読取
歪み量とした場合と同様、基準回数変更部37Dは、そ
の歪み量が図17(B)に斜線で示すような範囲内にあ
る場合には、歪み量が大きいと判定し(図18のステッ
プS61でNO判定)、一致回数チェック部36での基
準回数を2、つまり読取対象のバーコード1のデータ取
込み回数を2に設定変更する一方(図18のステップS
63参照)、その歪み量が図16(B)に斜線で示すよ
うな範囲外にある場合には、歪み量が小さいと判定し
(図18のステップS61でYES判定)、一致回数チ
ェック部36での基準回数を1、つまり読取対象のバー
コード1のデータ取込み回数を1に設定変更する(図1
8のステップS62参照)。
Then, as in the case where the distortion amount of the δ distance length is used as the reading distortion amount, the reference number changing unit 37D determines that the distortion amount is within the range shown by the shaded area in FIG. 17B. , It is determined that the amount of distortion is large (NO determination in step S61 of FIG. 18), and the reference number of times in the coincidence number checking unit 36 is set to 2, that is, the number of times of data acquisition of the barcode 1 to be read is changed to 2 ( Step S of FIG.
63), and if the distortion amount is outside the range shown by the diagonal lines in FIG. 16B, it is determined that the distortion amount is small (YES determination in step S61 of FIG. 18), and the matching number check unit 36 The reference number in step 1 is changed to 1, that is, the number of times the data of the barcode 1 to be read is captured is changed to 1 (see FIG.
8 step S62).

【0140】このように、本発明の第5実施例によれ
ば、バーコード1の読取状態情報である読取歪み量に応
じ、その読取歪み量が大きく誤読の可能性が高い場合に
は基準回数が大きく設定され、その読取歪み量が小さく
誤読の可能性が低い場合には基準回数が小さく設定され
る。従って、1つのバーコード1を複数の部分に分割し
て走査,復調する場合に、バーコード1の読取状態(読
取歪み量)に応じた一致回数チェックを行なうことがで
き、第1実施例と同様の効果を得ることができる。
As described above, according to the fifth embodiment of the present invention, according to the reading distortion amount which is the reading state information of the bar code 1, when the reading distortion amount is large and the possibility of erroneous reading is high, the reference number of times is set. Is set to a large value, and when the reading distortion amount is small and the possibility of erroneous reading is low, the reference number is set to a small value. Therefore, when one bar code 1 is divided into a plurality of parts for scanning and demodulation, it is possible to check the number of coincidences according to the reading state (reading distortion amount) of the bar code 1 and the first embodiment. The same effect can be obtained.

【0141】なお、上述した第5実施例では、図18に
示したように、基準回数変更部37Dにより、読取歪み
量が大きい場合には基準回数を2に設定し、読取歪み量
が小さい場合には基準回数を1に設定する例について説
明したが、本発明は、この数値に限定されるものではな
く、読取歪み量をより細かく分類し、各読取歪み量毎に
基準回数を設定するようにしてもよい。
In the fifth embodiment described above, as shown in FIG. 18, the reference number changing unit 37D sets the reference number to 2 when the reading distortion amount is large, and when the reading distortion amount is small. Although the example in which the reference number is set to 1 has been described in the above, the present invention is not limited to this numerical value, and the reading distortion amount is finely classified and the reference number is set for each reading distortion amount. You may

【0142】(f)第6実施例の説明 本発明の第6実施例としてのバーコード読取装置のハー
ドウエア構成は、図2に示した第1実施例のものと全く
同様である。また、本発明の第6実施例としてのバーコ
ード読取装置の機能的な構成は、図19に示すごとく、
第1実施例のものとほぼ同様であるが、この第6実施例
では、基準回数変更部37Eの機能が、図3に示した第
1実施例の基準回数変更部37の機能と若干異なるほ
か、ビットシフトデータ検知部40が新たに設けられて
いる。なお、図19中、既述の符号と同一の符号は同一
部分を示しているので、その説明は省略する。
(F) Description of Sixth Embodiment The hardware configuration of the bar code reader as the sixth embodiment of the present invention is exactly the same as that of the first embodiment shown in FIG. Further, the functional configuration of the barcode reading apparatus as the sixth embodiment of the present invention is as shown in FIG.
Although it is almost the same as that of the first embodiment, in the sixth embodiment, the function of the reference number changing unit 37E is slightly different from the function of the reference number changing unit 37 of the first embodiment shown in FIG. A bit shift data detection unit 40 is newly provided. In FIG. 19, the same reference numerals as those used above indicate the same parts, and a description thereof will be omitted.

【0143】つまり、第6実施例のビットシフトデータ
検知部(読取状態情報取得手段,ビットシフトデータ検
知手段)40は、バーコード復調部32による復調結果
に基づいて、バーコード1の複数の復調データがビット
シフトを行なうと異なるデータになりうるもの(ビット
シフトデータ)であるか否かの情報を、バーコード1の
読取状態情報として検知し、後述する基準回数変更部3
7Eへ出力するものである。なお、ビットシフトデータ
については、図20(A),(B)にて後述する。
That is, the bit shift data detecting section (reading state information obtaining means, bit shift data detecting means) 40 of the sixth embodiment, based on the demodulation result by the bar code demodulating section 32, demodulates a plurality of barcodes 1. Information on whether or not the data can be different data when bit-shifted (bit shift data) is detected as the reading status information of the barcode 1, and the reference number changing unit 3 to be described later.
It is output to 7E. The bit shift data will be described later with reference to FIGS.

【0144】また、第6実施例の基準回数変更部(基準
回数変更手段)37Eは、前述したビットシフトデータ
検知部40により検知された情報(バーコード1の読取
状態情報)に応じて、一致回数チェック部36における
前記所定の基準回数を設定変更するものである。なお、
第6実施例における基準回数変更部37Eの詳細な設定
変更動作については、図21により後述する。
Further, the reference number changing unit (reference number changing unit) 37E of the sixth embodiment is matched according to the information (reading state information of the bar code 1) detected by the bit shift data detecting unit 40 described above. The predetermined number of times of reference in the frequency check unit 36 is changed. In addition,
The detailed setting changing operation of the reference number changing unit 37E in the sixth embodiment will be described later with reference to FIG.

【0145】上述のごとく構成された本発明の第6実施
例の全体的な動作の流れは、図4に示すフローチャート
に従って説明した第1実施例のものと全く同様であるの
で、その説明は省略する。ところで、上述のごとく1つ
のバーコード1を複数部分に分割して読み取った場合、
両端位置をガードバーやセンターバーにより規定された
復調データの他に、センターバーおよび2つのガードバ
ーのうちの一つのみが含まれる復調データが存在する。
このような復調データは、ビットシフトを行なうと異な
る復調データになる可能性がある。例えば図20(A)
や図20(B)に示すデータは、センターバーCBを含
むものであるが、図中の上段と下段との2種類の復調が
可能である。この図20(A),(B)中の符号は、図
29に示すものに対応している。
The overall operation flow of the sixth embodiment of the present invention configured as described above is exactly the same as that of the first embodiment described according to the flow chart shown in FIG. 4, and therefore the description thereof is omitted. To do. By the way, when one bar code 1 is divided into a plurality of parts and read as described above,
In addition to the demodulated data whose end positions are defined by the guard bar and the center bar, there is demodulated data that includes only the center bar and one of the two guard bars.
Such demodulated data may become different demodulated data when bit shifting is performed. For example, FIG. 20 (A)
The data shown in FIG. 20B and FIG. 20B includes the center bar CB, but two types of demodulation, the upper stage and the lower stage in the figure, are possible. The reference numerals in FIGS. 20A and 20B correspond to those shown in FIG.

【0146】このようなビットシフトデータの2種類の
復調結果のうちのどちらが正しいかを判定するのは難し
く、そのようなビットシフトデータが生じた場合には、
バーコード1の復調データの信頼性は低くなるため、一
致回数チェック部36での前記所定の基準回数を大きく
設定して、分割読取の結果の信頼性を向上させることが
望まれる。
It is difficult to determine which of the two types of demodulation results of such bit shift data is correct, and when such bit shift data occurs,
Since the reliability of the demodulated data of the barcode 1 is low, it is desired to increase the predetermined reference number in the coincidence number checking unit 36 to improve the reliability of the divided reading result.

【0147】そこで、第6実施例では、バーコード復調
部32による復調データとしてビットシフトデータが得
られたことを、ビットシフトデータ検知部40により検
知すると、誤読可能性が高いので、信頼性を高めるべ
く、基準回数変更部37Eにより一致回数チェック部3
6での基準回数を大きく設定変更する。この基準回数変
更部37Eによる基準回数設定変更処理の動作を、図2
1に示すフローチャート(ステップS71〜S73)に
従って説明すると、ビットシフトデータ検知部40によ
りビットシフトデータが検知されると(ステップS71
でYES判定の場合)、一致回数チェック部36での基
準回数を2、つまり読取対象のバーコード1のデータ取
込み回数を2に設定変更する(ステップS72)。そし
て、ビットシフトデータ検知部40によりビットシフト
データが検知されない間(ステップS71でNO判定の
場合)は、一致回数チェック部36での基準回数を1、
つまり読取対象のバーコード1のデータ取込み回数を1
に設定変更する(ステップS73)。
Therefore, in the sixth embodiment, if the bit shift data detection unit 40 detects that the bit shift data has been obtained as the demodulated data by the bar code demodulation unit 32, there is a high possibility of erroneous reading, so reliability is improved. In order to increase the number of times, the reference number changing unit 37E uses the matching number checking unit 3
The reference number in 6 is largely changed. The operation of the reference number setting changing process by the reference number changing unit 37E will be described with reference to FIG.
According to the flowchart shown in FIG. 1 (steps S71 to S73), when the bit shift data detection unit 40 detects bit shift data (step S71).
In the case of YES determination), the reference number in the coincidence number checking unit 36 is set to 2, that is, the data capturing number of the barcode 1 to be read is set to 2 (step S72). Then, while no bit shift data is detected by the bit shift data detection unit 40 (NO determination in step S71), the reference number of times by the coincidence number check unit 36 is set to 1,
In other words, the number of data acquisitions of barcode 1 to be read is 1
The setting is changed to (step S73).

【0148】このように、本発明の第6実施例によれ
ば、バーコード1の読取状態情報であるビットシフトデ
ータの有無情報に応じ、復調データがビットシフトデー
タであり誤読の可能性が高い場合には基準回数が大きく
設定され、復調データがビットシフトデータではなくて
誤読の可能性が低い場合には基準回数が小さく設定され
る。
As described above, according to the sixth embodiment of the present invention, the demodulated data is bit shift data according to the presence / absence information of the bit shift data which is the reading state information of the bar code 1, and there is a high possibility of misreading. In this case, the reference number is set large, and when the demodulated data is not bit shift data and the possibility of misreading is low, the reference number is set small.

【0149】従って、1つのバーコード1を複数の部分
に分割して走査,復調する場合に、バーコード1の読取
状態(ビットシフトデータの有無情報)に応じた一致回
数チェックを行なうことができ、第1実施例と同様の効
果を得ることができる。なお、上述した第6実施例で
は、図21に示したように、基準回数変更部37Eによ
り、ビットシフトデータが無い場合に基準回数を1に設
定し、ビットシフトデータが有る場合に基準回数を2に
設定する例について説明したが、本発明は、この数値に
限定されるものではない。
Therefore, when one bar code 1 is divided into a plurality of parts for scanning and demodulation, it is possible to check the number of coincidences according to the reading status of the bar code 1 (information on the presence or absence of bit shift data). The same effect as that of the first embodiment can be obtained. In the sixth embodiment described above, as shown in FIG. 21, the reference number changing unit 37E sets the reference number to 1 when there is no bit shift data, and sets the reference number when there is bit shift data. Although the example of setting to 2 has been described, the present invention is not limited to this numerical value.

【0150】(g)第7実施例の説明 本発明の第7実施例としてのバーコード読取装置のハー
ドウエア構成は、図2に示した第1実施例のものと全く
同様である。また、本発明の第7実施例としてのバーコ
ード読取装置の機能的な構成は、図22に示すごとく、
第1実施例のものとほぼ同様であるが、この第7実施例
では、基準回数変更部37Fの機能が、図3に示した第
1実施例の基準回数変更部37の機能と若干異なるほ
か、ウエーブエラー検知部41が新たに設けられてい
る。なお、図22中、既述の符号と同一の符号は同一部
分を示しているので、その説明は省略する。
(G) Description of Seventh Embodiment The hardware configuration of the bar code reading apparatus as the seventh embodiment of the present invention is exactly the same as that of the first embodiment shown in FIG. Further, the functional configuration of the barcode reading apparatus as the seventh embodiment of the present invention is as shown in FIG.
Although substantially the same as that of the first embodiment, in the seventh embodiment, the function of the reference number changing unit 37F is slightly different from the function of the reference number changing unit 37 of the first embodiment shown in FIG. , And a wave error detector 41 is newly provided. In FIG. 22, the same reference numerals as those used above indicate the same parts, and a description thereof will be omitted.

【0151】つまり、第7実施例のウエーブエラー検知
部(読取状態情報取得手段,ウエーブエラー検知手段)
41は、バーコード復調部32による復調結果に基づい
て、バーコード1の複数の復調データにウエーブエラー
が発生したか否かの情報を、バーコード1の読取状態情
報として検知し、後述する基準回数変更部37Fへ出力
するものである。
That is, the wave error detector of the seventh embodiment (reading state information acquisition means, wave error detection means).
The reference numeral 41 detects information as to whether or not a wave error has occurred in a plurality of demodulated data of the barcode 1 as the reading state information of the barcode 1 based on the demodulation result by the barcode demodulation unit 32, and a standard to be described later. This is output to the frequency changing unit 37F.

【0152】ここで、ウエーブエラーについて簡単に説
明する。バーコード1を読み取る際には、白バー1Wお
よび黒バー1Bに対応する明暗情報としてのアナログ信
号に対して、微分処理および遅延処理を施すことによ
り、黒エッジ信号と白エッジ信号とを検出している。バ
ーコード1において、白バー1Wと黒バー1Bとは必ず
交互に配置されているので、上述の黒エッジ信号と白エ
ッジ信号とは交互に現れることになる。しかし、紙面ノ
イズ等によりその明暗情報に何らかのノイズ成分が含ま
れていると、黒エッジ信号と白エッジ信号とが交互に得
られなくなる現象が生じる場合がある。このような現象
をウエーブエラーと呼ぶ。
Here, the wave error will be briefly described. When reading the barcode 1, the black edge signal and the white edge signal are detected by performing the differential processing and the delay processing on the analog signal as the light and dark information corresponding to the white bar 1W and the black bar 1B. ing. In the barcode 1, the white bars 1W and the black bars 1B are always arranged alternately, so that the black edge signal and the white edge signal described above appear alternately. However, if some noise component is included in the brightness information due to paper surface noise or the like, a phenomenon may occur in which the black edge signal and the white edge signal cannot be obtained alternately. Such a phenomenon is called a wave error.

【0153】また、第7実施例の基準回数変更部(基準
回数変更手段)37Fは、前述したウエーブエラー検知
部41により検知されたウエーブエラーの発生有無情報
(バーコード1の読取状態情報)に応じて、一致回数チ
ェック部36における前記所定の基準回数を設定変更す
るものである。なお、第7実施例における基準回数変更
部37Fの詳細な設定変更動作については、図23によ
り後述する。
Further, the reference number changing unit (reference number changing unit) 37F of the seventh embodiment uses the wave error occurrence information (bar code 1 reading status information) detected by the wave error detecting unit 41 described above. Accordingly, the predetermined reference number of times in the matching number check unit 36 is set and changed. The detailed setting changing operation of the reference number changing unit 37F in the seventh embodiment will be described later with reference to FIG.

【0154】上述のごとく構成された本発明の第7実施
例の全体的な動作の流れは、図4に示すフローチャート
に従って説明した第1実施例のものと全く同様であるの
で、その説明は省略する。ところで、バーコード復調部
32で復調することのできないキャラクタは、紙面ノイ
ズ等であって前述したようなウエーブエラーを発生さ
せ、復調データを有効データと見なせなくする。また、
ウエーブエラーが発生した部分に隣接するキャラクタ
は、文字や紙面ノイズ等を誤って復調したものである可
能性つまり誤読の可能性が高いため、バーコード1の信
頼性は低くなる。従って、復調データ中にウエーブエラ
ーが発生した場合には、一致回数チェック部36での前
記所定の基準回数を大きく設定して、分割読取の結果の
信頼性を向上させることが望まれる。
The overall operation flow of the seventh embodiment of the present invention configured as described above is exactly the same as that of the first embodiment described according to the flow chart shown in FIG. 4, and therefore its description is omitted. To do. By the way, a character that cannot be demodulated by the bar code demodulation unit 32 causes a wave error as described above due to paper surface noise or the like, and the demodulated data cannot be regarded as valid data. Also,
Since the character adjacent to the portion where the wave error has occurred is likely to have been erroneously demodulated such as a character or paper surface noise, that is, there is a high possibility of misreading, the reliability of the barcode 1 is low. Therefore, when a wave error occurs in the demodulated data, it is desirable to increase the predetermined reference number in the coincidence number checking unit 36 to improve the reliability of the divided reading result.

【0155】例えば図6に示した第1実施例の場合と同
様、1つのバーコード1を、2本の走査ラインA1,A
2により2つの部分に分割して読み取った場合について
考えてみる。ここで、第1パターンでは、走査ラインA
1により復調したバーコード1のキャラクタがA〜F,
G,H,Iで、走査ラインA2により復調したバーコー
ド1のキャラクタがI,J,K,LでキャラクタIの隣
接部(走査ラインA1による復調データのキャラクタH
と重複する位置)にウエーブエラーが発生しているもの
とする。また、第2パターンでは、走査ラインA1によ
り復調したバーコード1のキャラクタがA〜F,G,
H,Iで、走査ラインA2により復調したバーコード1
のキャラクタがI,J,K,Lでウエーブエラーは発生
していないものとする。
For example, as in the case of the first embodiment shown in FIG. 6, one bar code 1 is used for two scanning lines A1, A.
Consider the case where the data is divided into two parts and read by step 2. Here, in the first pattern, the scan line A
The characters of barcode 1 demodulated by 1 are AF,
The characters of the barcode 1 demodulated by the scanning line A2 in G, H, and I are the adjacent portions of the character I in I, J, K, and L (the character H of the demodulated data by the scanning line A1.
It is assumed that a wave error has occurred at the position (overlapping with). In the second pattern, the characters of the barcode 1 demodulated by the scan line A1 are A to F, G, and
Bar code 1 demodulated by scan line A2 with H and I
It is assumed that the characters are I, J, K and L and no wave error has occurred.

【0156】このとき、第1パターンでは、走査ライン
A2による復調データのキャラクタにおいて、キャラク
タIの復調後、ウエーブエラーが発生して復調できなく
なった場合、キャラクタIは、文字や紙面ノイズ等を誤
って復調したものである可能性があるため、キャラクタ
Iの信頼性が低くなる。また、第2パターンでは、ウエ
ーブエラーは発生していないので、第1パターンの走査
ラインA2による復調データ中のキャラクタIよりも、
この第2パターンのキャラクタIの信頼性の方が高くな
る。
At this time, in the first pattern, when a wave error occurs in the character of the demodulated data by the scan line A2 after demodulation of the character I and the character I cannot be demodulated, the character I is erroneous in characters or paper surface noise. Since the character I may have been demodulated, the reliability of the character I becomes low. In addition, since the wave error does not occur in the second pattern, rather than the character I in the demodulated data by the scan line A2 of the first pattern,
The reliability of the character I of this second pattern is higher.

【0157】そこで、第7実施例では、バーコード復調
部32による復調データ中にウエーブエラーが発生した
ことを、ウエーブエラー検知部41により検知すると、
誤読可能性が高いので、信頼性を高めるべく、基準回数
変更部37Fにより一致回数チェック部36での基準回
数を大きく設定変更する。この基準回数変更部37Fに
よる基準回数設定変更処理の動作を、図23に示すフロ
ーチャート(ステップS81〜S83)に従って説明す
ると、ウエーブエラー検知部41によりウエーブエラー
が検知されると(ステップS81でYES判定の場
合)、一致回数チェック部36での基準回数を2、つま
り読取対象のバーコード1のデータ取込み回数を2に設
定変更する(ステップS82)。そして、ウエーブエラ
ー検知部41によりウエーブエラーが検知されない間
(ステップS81でNO判定の場合)は、一致回数チェ
ック部36での基準回数を1、つまり読取対象のバーコ
ード1のデータ取込み回数を1に設定変更する(ステッ
プS83)。
Therefore, in the seventh embodiment, when the wave error detecting section 41 detects that a wave error has occurred in the demodulated data by the bar code demodulating section 32,
Since the possibility of erroneous reading is high, the reference number change unit 37F largely changes the reference number in the matching number check unit 36 in order to improve reliability. The operation of the reference number setting changing process by the reference number changing unit 37F will be described according to the flowchart (steps S81 to S83) shown in FIG. 23. When the wave error detection unit 41 detects a wave error (YES determination in step S81). In the case of), the reference number in the coincidence number checking unit 36 is changed to 2, that is, the number of times the data of the barcode 1 to be read is taken in is changed to 2 (step S82). Then, while the wave error detection unit 41 does not detect a wave error (when NO is determined in step S81), the reference number in the coincidence number check unit 36 is 1, that is, the data acquisition number of the barcode 1 to be read is 1. The setting is changed to (step S83).

【0158】このように、本発明の第7実施例によれ
ば、バーコード1の読取状態情報であるウエーブエラー
の有無情報に応じ、復調データ中にウエーブエラーが発
生し誤読の可能性が高い場合には基準回数が大きく設定
され、復調データ中にウエーブエラーが無く誤読の可能
性が低い場合には基準回数が小さく設定される。従っ
て、1つのバーコード1を複数の部分に分割して走査,
復調する場合に、バーコード1の読取状態(ウエーブエ
ラーの有無情報)に応じた一致回数チェックを行なうこ
とができ、第1実施例と同様の効果を得ることができ
る。
As described above, according to the seventh embodiment of the present invention, there is a high possibility that a wave error will occur in the demodulated data depending on the wave error presence / absence information, which is the read status information of the bar code 1, and erroneous reading will occur. In this case, the reference number is set large, and when there is no wave error in the demodulated data and the possibility of misreading is low, the reference number is set small. Therefore, one barcode 1 is divided into a plurality of parts for scanning,
When demodulating, the number of coincidences can be checked according to the reading state of the bar code 1 (waveform error presence / absence information), and the same effect as the first embodiment can be obtained.

【0159】なお、上述した第7実施例では、図21に
示したように、基準回数変更部37Fにより、ウエーブ
エラーが無い場合に基準回数を1に設定し、ウエーブエ
ラーが有る場合に基準回数を2に設定する例について説
明したが、本発明は、この数値に限定されるものではな
い。また、上述した第7実施例では、図6に示すよう
に、1つのバーコード1を2本の走査ラインA1,A2
により2分割した形で読み取った場合について説明した
が、本発明は、これに限定されるものではなく、1つの
バーコード1を3以上に分割して読み取った場合につい
ても同様に適用され、上記第7実施例と同様の作用効果
が得られる。
In the seventh embodiment described above, as shown in FIG. 21, the reference number changing unit 37F sets the reference number to 1 when there is no wave error, and the reference number when there is a wave error. However, the present invention is not limited to this numerical value. Further, in the above-described seventh embodiment, as shown in FIG. 6, one bar code 1 is used for two scanning lines A1, A2.
However, the present invention is not limited to this and is similarly applied to the case where one barcode 1 is divided into three or more and read. The same effect as that of the seventh embodiment can be obtained.

【0160】(h)第8実施例の説明 本発明の第8実施例としてのバーコード読取装置のハー
ドウエア構成は、図2に示した第1実施例のものと全く
同様である。また、本発明の第8実施例としてのバーコ
ード読取装置の機能的な構成は、図24に示すごとく、
第1実施例のものとほぼ同様であるが、この第8実施例
では、バーコードデータ検出部31Aおよび基準回数変
更部37Gの機能が、図3に示した第1実施例のバーコ
ードデータ検出部31および基準回数変更部37の機能
と若干異なっている。なお、図24中、既述の符号と同
一の符号は同一部分を示しているので、その説明は省略
する。
(H) Description of Eighth Embodiment The hardware configuration of the bar code reader as the eighth embodiment of the present invention is exactly the same as that of the first embodiment shown in FIG. The functional configuration of the barcode reading apparatus as the eighth embodiment of the present invention is as shown in FIG.
Although substantially the same as that of the first embodiment, in the eighth embodiment, the functions of the barcode data detection unit 31A and the reference number change unit 37G are the same as those of the first embodiment shown in FIG. The functions of the unit 31 and the reference number changing unit 37 are slightly different. In FIG. 24, the same reference numerals as those used above indicate the same parts, and a description thereof will be omitted.

【0161】つまり、第8実施例のバーコードデータ検
出部(読取状態情報取得手段,ガードバー/センターバ
ー検知手段)31Aは、第1実施例のバーコードデータ
検出部31と同様の機能を有するほか、分割読取された
バーコード1の複数部分のうちに、そのバーコード1の
ガードバーおよびセンターバーの両方を含むものが有る
か否かの情報を、バーコード1の読取状態情報として検
出し、後述する基準回数変更部37Fへ出力する機能を
有している。
That is, the bar code data detecting section (reading state information acquiring means, guard bar / center bar detecting means) 31A of the eighth embodiment has the same function as the bar code data detecting section 31 of the first embodiment. , The information indicating whether or not there is a part including both the guard bar and the center bar of the bar code 1 among the plurality of parts of the bar code 1 that has been divided and read is detected as the reading state information of the bar code 1, and will be described later. It has a function of outputting to the reference number changing unit 37F.

【0162】また、第8実施例の基準回数変更部(基準
回数変更手段)37Gは、前述したバーコードデータ検
出部31Aにより検出された情報(バーコード1の読取
状態情報)に応じて、一致回数チェック部36における
前記所定の基準回数を設定変更するものである。なお、
第8実施例における基準回数変更部37Gの詳細な設定
変更動作については、図26により後述する。
The reference number changing unit (reference number changing unit) 37G of the eighth embodiment is matched according to the information (reading state information of the barcode 1) detected by the barcode data detecting unit 31A described above. The predetermined number of times of reference in the frequency check unit 36 is changed. In addition,
The detailed setting changing operation of the reference number changing unit 37G in the eighth embodiment will be described later with reference to FIG.

【0163】上述のごとく構成された本発明の第8実施
例の全体的な動作の流れは、図4に示すフローチャート
に従って説明した第1実施例のものと全く同様であるの
で、その説明は省略する。ところで、上述のごとく1つ
のバーコード1を複数部分に分割して読み取った場合、
ガイドバーもしくはセンターバーのみを通過する走査ラ
インにより復調されたデータは、第6実施例でも前述し
たように、ビットシフトデータである可能性が高いが、
ガイドバーおよびセンターバーの両方を通過する走査ラ
インにより復調されたデータは、ビットシフトデータで
ある可能性が無いため、復調データの信頼性も高くな
る。
The overall operation flow of the eighth embodiment of the present invention configured as described above is exactly the same as that of the first embodiment described according to the flow chart shown in FIG. 4, and therefore the description thereof is omitted. To do. By the way, when one bar code 1 is divided into a plurality of parts and read as described above,
The data demodulated by the scan line passing only the guide bar or the center bar is likely to be bit shift data as described in the sixth embodiment, but
Since the data demodulated by the scanning line passing through both the guide bar and the center bar is unlikely to be bit shift data, the reliability of the demodulated data also becomes high.

【0164】例えば図25に示すように、走査ラインA
1(レフトガイドバーLGBおよびセンターバーCBの
両方を通過)により復調したバーコード1のキャラクタ
タはA〜F,G,H,Iで、走査ラインA2(ライトガ
イドバーRGBのみ通過)により復調したバーコード1
のキャラクタはI,J,K,Lで、走査ラインA3(セ
ンターバーCBのみ通過)により復調したバーコード1
のキャラクタはE,F,G,H,Iで、走査ラインA4
(レフトガイドバーLGBのみ通過)により復調したバ
ーコード1のキャラクタはA,B,C,D,Eであると
する。
For example, as shown in FIG. 25, scan line A
The character code of the barcode 1 demodulated by 1 (passes through both the left guide bar LGB and the center bar CB) is A to F, G, H, and I, and is demodulated by the scanning line A2 (passes only the right guide bar RGB). Barcode 1
The characters are I, J, K, L, and the bar code 1 demodulated by the scanning line A3 (only the center bar CB passes)
Characters are E, F, G, H, I, and scanning line A4
Characters of the barcode 1 demodulated by (passing only the left guide bar LGB) are assumed to be A, B, C, D, and E.

【0165】このとき、第1パターンでは、2本の走査
ラインA1,A2により復調したキャラクタでデータを
合成し、第2パターンでは、3本の走査ラインA2〜A
4により復調したキャラクタでデータを合成したものと
すると、第2パターンの復調データは、3つともガード
バーもしくはセンターバーのみを含むデータで、前述し
た通り信頼性が低い。しかし、第1パターンの復調デー
タは、走査ラインA2により復調したデータのみが信頼
性が低いだけで、走査ラインA1により復調したデータ
の信頼性が高いため、誤読する可能性は低い。
At this time, in the first pattern, the data is combined with the character demodulated by the two scanning lines A1 and A2, and in the second pattern, the three scanning lines A2 to A2.
Assuming that the data is synthesized with the character demodulated by 4, the demodulated data of the second pattern is data including only the guard bar or the center bar, and the reliability is low as described above. However, the demodulated data of the first pattern is less likely to be erroneously read because only the data demodulated by the scanning line A2 has low reliability and the data demodulated by the scanning line A1 has high reliability.

【0166】そこで、第8実施例では、バーコード1の
ガードバーおよびセンターバーの両方を含む部分が、バ
ーコードデータ検出部31Aにより検出されなかった場
合には、誤読可能性が高いので、信頼性を高めるべく、
基準回数変更部37Gにより一致回数チェック部36で
の基準回数を大きく設定変更する。この基準回数変更部
37Gによる基準回数設定変更処理の動作を、図26に
示すフローチャート(ステップS91〜S93)に従っ
て説明すると、バーコードデータ検出部31Aにより、
バーコード1のガードバーおよびセンターバーの両方を
含む部分が検知されると(ステップS91でYES判定
の場合)、一致回数チェック部36での基準回数を1、
つまり読取対象のバーコード1のデータ取込み回数を1
に設定変更する(ステップS92)。そして、バーコー
ドデータ検出部31Aにより、バーコード1のガードバ
ーおよびセンターバーの両方を含む部分が検知されない
場合(ステップS91でNO判定の場合)には、一致回
数チェック部36での基準回数を2、つまり読取対象の
バーコード1のデータ取込み回数を2に設定変更する
(ステップS93)。
Therefore, in the eighth embodiment, if the portion including both the guard bar and the center bar of the bar code 1 is not detected by the bar code data detecting section 31A, there is a high possibility of erroneous reading, and therefore the reliability is high. To increase
The reference number changing unit 37G largely changes the reference number in the matching number checking unit 36. The operation of the reference number setting changing process by the reference number changing unit 37G will be described according to the flowchart (steps S91 to S93) shown in FIG. 26.
When a portion of the barcode 1 including both the guard bar and the center bar is detected (YES in step S91), the reference number in the match number check unit 36 is set to 1,
In other words, the number of data acquisitions of barcode 1 to be read is 1
The setting is changed to (step S92). If the barcode data detection unit 31A does not detect a portion of the barcode 1 that includes both the guard bar and the center bar (NO in step S91), the reference count in the match count check unit 36 is set to 2 That is, the number of data acquisitions of the barcode 1 to be read is changed to 2 (step S93).

【0167】このように、本発明の第8実施例によれ
ば、バーコード1の読取状態情報であるガードバー/セ
ンターバーの有無情報に応じ、ガードバーもしくはセン
ターバーのみを含むデータに基づく復調処理で誤読の可
能性が高い場合には基準回数が大きく設定され、ガード
バーとセンターバーとの両方を含むデータに基づく復調
処理で誤読の可能性が低い場合には基準回数が小さく設
定される。
As described above, according to the eighth embodiment of the present invention, according to the presence / absence information of the guard bar / center bar which is the reading status information of the bar code 1, the demodulation processing based on the data including only the guard bar or the center bar can be performed. When the possibility of misreading is high, the reference number is set large, and when the probability of misreading is low in the demodulation process based on the data including both the guard bar and the center bar, the reference number is set small.

【0168】従って、1つのバーコード1を複数の部分
に分割して走査,復調する場合に、バーコード1の読取
状態(ガードバー/センターバーの有無情報)に応じた
一致回数チェックを行なうことができ、第1実施例と同
様の効果を得ることができる。なお、上述した第8実施
例では、図26に示したように、基準回数変更部37G
により、ガードバーとセンターバーとの両方を含むデー
タに基づく復調処理である場合に基準回数を1に設定
し、ガードバーもしくはセンターバーのみを含むデータ
に基づく復調処理である場合に基準回数を2に設定する
例について説明したが、本発明は、この数値に限定され
るものではない。
Therefore, when one bar code 1 is divided into a plurality of parts for scanning and demodulation, it is possible to check the number of coincidences according to the read state of the bar code 1 (guard bar / center bar presence / absence information). Therefore, the same effect as that of the first embodiment can be obtained. In the eighth embodiment described above, as shown in FIG. 26, the reference number changing unit 37G
Sets the reference count to 1 when the demodulation process is based on data that includes both the guard bar and the center bar, and sets the reference count to 2 when the demodulation process is based on data that includes only the guard bar or the center bar. However, the present invention is not limited to this numerical value.

【0169】(i)その他 なお、上述した各実施例では、読取対象のバーコードが
図6に示すようなタイプ(左右にガイドバーLGB,R
GBを有するとともに、中央にセンターバーCBを有
し、センターバーCBと各ガイドバーLGB,RGBと
の間に6個のキャラクタを有するタイプ)のものである
場合について説明したが、本発明は、これに限定される
ものではなく、図28に示したスペシャルセンターバー
SCBを有するタイプのものや、その他種々のバーコー
ドの読取に際しても適用され、上述した各実施例と同様
の作用効果を得ることができる。
(I) Others In each of the above-described embodiments, the bar code to be read is of the type shown in FIG. 6 (right and left guide bars LGB, R).
In addition to the GB, the center bar CB is provided in the center, and the type having six characters between the center bar CB and each of the guide bars LGB, RGB has been described. The present invention is not limited to this, and is applied to the type having the special center bar SCB shown in FIG. 28 and other various bar code readings, and the same effect as each of the above-described embodiments can be obtained. You can

【0170】また、第1〜第8実施例でそれぞれ説明し
たバーコード1の読取状態情報を複数組み合わせて、一
致回数チェック部36における基準回数を設定変更する
ようにしてもよい。具体的な組合せ例としては、以下の
ようなものが考えられる。 第5実施例にて説明した読取歪み量としてのキャラク
タ長の歪み量,δディスタンス長の歪み量,各バー自体
の歪み量の3つに応じて、一致回数チェック部36にお
ける基準回数を設定変更する方式。
Further, a plurality of reading status information of the bar code 1 described in each of the first to eighth embodiments may be combined to set and change the reference number of times in the coincidence number checking section 36. The following are conceivable examples of specific combinations. The reference number of times in the matching number check unit 36 is changed according to the character length distortion amount as the reading distortion amount described in the fifth embodiment, the δ distance length distortion amount, and the distortion amount of each bar itself. Method to do.

【0171】第3実施例にて説明した重複位置と、第
5実施例にて説明した3種類の読取歪み量とに応じて、
一致回数チェック部36における基準回数を設定変更す
る方式。 第1実施例にて説明した重複キャラクタ数と、第3実
施例にて説明した重複位置とに応じて、一致回数チェッ
ク部36における基準回数を設定変更する方式。
In accordance with the overlapping position described in the third embodiment and the three types of reading distortion amounts described in the fifth embodiment,
A method of changing and setting the reference number of times in the match number checking unit 36. A method of setting and changing the reference number of times in the matching number check unit 36 according to the number of overlapping characters described in the first example and the overlapping position described in the third example.

【0172】第2実施例にて説明した不一致キャラク
タ数と、第3実施例にて説明した重複位置とに応じて、
一致回数チェック部36における基準回数を設定変更す
る方式。 第1実施例にて説明した重複キャラクタ数と、第6実
施例にて説明したビットシフトデータの有無情報とに応
じて、一致回数チェック部36における基準回数を設定
変更する方式。
Depending on the number of non-matching characters described in the second embodiment and the overlapping position described in the third embodiment,
A method of changing and setting the reference number of times in the match number checking unit 36. A method of changing and setting the reference number of times in the matching number check unit 36 according to the number of duplicate characters described in the first example and the bit shift data presence / absence information described in the sixth example.

【0173】第3実施例にて説明した重複位置と、第
7実施例にて説明したウエーブエラーの有無情報とに応
じて、一致回数チェック部36における基準回数を設定
変更する方式。
A method of setting and changing the reference number of times in the coincidence number checking unit 36 according to the overlapping position described in the third embodiment and the wave error presence / absence information described in the seventh embodiment.

【0174】[0174]

【発明の効果】以上詳述したように、本発明のバーコー
ド読取方法およびバーコード読取装置によれば、バーコ
ードの読取状態情報に応じ、誤読の可能性が高い場合に
は基準回数を大きく設定し、誤読の可能性が低い場合に
は基準回数を小さく設定できるので、読取効率の低下を
招くことなく、実運用上の読取率が大幅に向上するとと
もに、誤読率が大きく低減するという効果がある。
As described above in detail, according to the barcode reading method and the barcode reading apparatus of the present invention, the reference number is increased according to the reading status information of the barcode when the possibility of erroneous reading is high. If it is set and the possibility of erroneous reading is low, the reference number can be set to a small value, so that the reading rate in actual operation can be significantly improved and the erroneous reading rate can be greatly reduced without lowering the reading efficiency. There is.

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

【図1】本発明の原理ブロック図である。FIG. 1 is a principle block diagram of the present invention.

【図2】本発明の第1実施例としてのバーコード読取装
置のハードウエア構成を示すブロック図である。
FIG. 2 is a block diagram showing a hardware configuration of a barcode reading apparatus as a first embodiment of the present invention.

【図3】本発明の第1実施例としてのバーコード読取装
置の機能的な構成を示すブロック図である。
FIG. 3 is a block diagram showing a functional configuration of a barcode reading apparatus as a first embodiment of the present invention.

【図4】本発明の第1実施例の全体的な動作の流れを説
明するためのフローチャートである。
FIG. 4 is a flowchart for explaining the flow of the overall operation of the first embodiment of the present invention.

【図5】本発明の第1実施例における基準回数設定動作
を説明するためのフローチャートである。
FIG. 5 is a flowchart for explaining a reference number setting operation in the first embodiment of the present invention.

【図6】本実施例のバーコードの構造および分割読取デ
ータの重複状態の一例を説明するための図である。
FIG. 6 is a diagram for explaining an example of a barcode structure and an overlapping state of divided read data according to the present embodiment.

【図7】本発明の第2実施例としてのバーコード読取装
置の機能的な構成を示すブロック図である。
FIG. 7 is a block diagram showing a functional configuration of a barcode reading apparatus as a second embodiment of the present invention.

【図8】本発明の第2実施例における基準回数設定動作
を説明するためのフローチャートである。
FIG. 8 is a flow chart for explaining a reference number setting operation in the second embodiment of the present invention.

【図9】本発明の第3実施例としてのバーコード読取装
置の機能的な構成を示すブロック図である。
FIG. 9 is a block diagram showing a functional configuration of a bar code reading apparatus as a third embodiment of the present invention.

【図10】本発明の第3実施例における基準回数設定動
作を説明するためのフローチャートである。
FIG. 10 is a flow chart for explaining a reference number setting operation in the third embodiment of the present invention.

【図11】本発明の第4実施例としてのバーコード読取
装置の機能的な構成を示すブロック図である。
FIG. 11 is a block diagram showing a functional configuration of a bar code reading device as a fourth embodiment of the present invention.

【図12】(A)〜(D)はそれぞれバーコードの分割
読取時における分割パターン(組合せパターン)を示す
図である。
12A to 12D are diagrams showing division patterns (combination patterns) at the time of divided reading of a barcode.

【図13】本発明の第4実施例における基準回数設定動
作を説明するためのフローチャートである。
FIG. 13 is a flow chart for explaining a reference number setting operation in the fourth example of the present invention.

【図14】本発明の第5実施例としてのバーコード読取
装置の機能的な構成を示すブロック図である。
FIG. 14 is a block diagram showing a functional configuration of a bar code reading device as a fifth embodiment of the present invention.

【図15】(A),(B)は第5実施例におけるキャラ
クタ長の歪み量の判定手法を説明するための図である。
15A and 15B are diagrams for explaining a method of determining a distortion amount of character length in the fifth embodiment.

【図16】(A),(B)は第5実施例におけるδディ
スタンス長の歪み量の判定手法を説明するための図であ
る。
16A and 16B are diagrams for explaining a method of determining the distortion amount of the δ distance length in the fifth embodiment.

【図17】(A),(B)は第5実施例におけるバー自
体の歪み量の判定手法を説明するための図である。
17 (A) and 17 (B) are views for explaining a method of determining the distortion amount of the bar itself in the fifth embodiment.

【図18】本発明の第5実施例における基準回数設定動
作を説明するためのフローチャートである。
FIG. 18 is a flow chart for explaining a reference number setting operation in the fifth embodiment of the present invention.

【図19】本発明の第6実施例としてのバーコード読取
装置の機能的な構成を示すブロック図である。
FIG. 19 is a block diagram showing a functional configuration of a bar code reading device as a sixth embodiment of the present invention.

【図20】(A),(B)は第6実施例におけるビット
シフトの例を示す図である。
20A and 20B are diagrams showing an example of bit shift in the sixth embodiment.

【図21】本発明の第6実施例における基準回数設定動
作を説明するためのフローチャートである。
FIG. 21 is a flow chart for explaining a reference number setting operation in the sixth embodiment of the present invention.

【図22】本発明の第7実施例としてのバーコード読取
装置の機能的な構成を示すブロック図である。
FIG. 22 is a block diagram showing a functional configuration of a bar code reading device as a seventh embodiment of the present invention.

【図23】本発明の第7実施例における基準回数設定動
作を説明するためのフローチャートである。
FIG. 23 is a flow chart for explaining a reference number setting operation in the seventh embodiment of the present invention.

【図24】本発明の第8実施例としてのバーコード読取
装置の機能的な構成を示すブロック図である。
FIG. 24 is a block diagram showing a functional configuration of a bar code reading device as an eighth embodiment of the present invention.

【図25】バーコード読取時の分割走査例を示す図であ
る。
FIG. 25 is a diagram showing an example of divided scanning when reading a barcode.

【図26】本発明の第8実施例における基準回数設定動
作を説明するためのフローチャートである。
FIG. 26 is a flow chart for explaining the reference number setting operation in the eighth embodiment of the present invention.

【図27】一般的なバーコード読取装置の構成を示すブ
ロック図である。
FIG. 27 is a block diagram showing a configuration of a general barcode reading device.

【図28】一般的なバーコードの構成を示す図である。FIG. 28 is a diagram showing a configuration of a general barcode.

【図29】モジュール数の組合せと数値データとの関係
を示すテーブルである。
FIG. 29 is a table showing a relationship between a combination of module numbers and numerical data.

【図30】一般的なバーコードの構成を示す図である。FIG. 30 is a diagram showing a configuration of a general barcode.

【図31】バーコード読取時の一般的な走査例を示す図
である。
FIG. 31 is a diagram showing a general scanning example when reading a barcode.

【図32】バーコード読取時の分割走査例を示す図であ
る。
FIG. 32 is a diagram illustrating an example of divided scanning when reading a barcode.

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

1 バーコード 1B 黒バー 1W 白バー 2 光学系 3 レーザ発光部(光源) 3A 光源 4 走査機構(走査手段) 4A 走査手段 5 光電変換部(光電変換手段) 5A 光電変換手段 6 A/D変換部 7 バー幅カウンタ 8 クロックジェネレータ 9 メモリ 10 CPU 11 復調手段 12 組合せ手段 13 一致回数判定手段 14 読取状態情報取得手段 15 基準回数変更手段 21 ROM 22 RAM 22A 復調データ格納部 23 インターフェイス部 24 制御部回路 25 モータ駆動部 26 レーザ駆動部 27 発光ダイオード(LED) 28 スピーカ 31 バーコードデータ検出部 31A バーコードデータ検出部(読取状態情報取得手
段,ガードバー/センターバー検知手段) 32 バーコード復調部(復調手段) 33 バーコード合成部(組合せ手段) 33A バーコード合成部(組合せ手段,読取状態情報
取得手段,組合せパターン検出手段) 34,34A データ比較部(読取状態情報取得手段,
キャラクタ数検出手段) 34B データ比較部(読取状態情報取得手段,重複位
置検出手段) 34C データ比較部 35 モジュラス10チェック部 36 一致回数チェック部(一致回数判定手段) 37,37A〜37G 基準回数変更部(基準回数変更
手段) 38 バーコード読取完了通知部 39 歪み量測定部(読取状態情報取得手段,歪み量測
定手段) 40 ビットシフトデータ検知部(読取状態情報取得手
段,ビットシフトデータ検知手段) 41 ウエーブエラー検知部(読取状態情報取得手段,
ウエーブエラー検知手段)
1 Bar Code 1B Black Bar 1W White Bar 2 Optical System 3 Laser Light Emitting Unit (Light Source) 3A Light Source 4 Scanning Mechanism (Scanning Means) 4A Scanning Means 5 Photoelectric Converter (Photoelectric Converting Means) 5A Photoelectric Converting Means 6 A / D Converting Means 7 bar width counter 8 clock generator 9 memory 10 CPU 11 demodulation means 12 combination means 13 coincidence number determination means 14 read state information acquisition means 15 reference number change means 21 ROM 22 RAM 22A demodulated data storage section 23 interface section 24 control section circuit 25 Motor drive unit 26 Laser drive unit 27 Light emitting diode (LED) 28 Speaker 31 Bar code data detection unit 31A Bar code data detection unit (reading state information acquisition unit, guard bar / center bar detection unit) 32 Bar code demodulation unit (demodulation unit) 33 Bar code synthesis section Combining means) 33A bar code combining unit (combination means, the reading state information acquiring unit, a combination pattern detecting means) 34 or 34A data comparison unit (reading state information acquiring means,
Character number detection means) 34B Data comparison section (reading state information acquisition means, overlap position detection means) 34C Data comparison section 35 Modulus 10 check section 36 Match count check section (match count judgment section) 37, 37A to 37G Reference count change section (Reference number changing means) 38 Bar code reading completion notifying section 39 Distortion amount measuring section (reading state information acquiring means, distortion amount measuring means) 40 Bit shift data detecting section (reading state information acquiring means, bit shift data detecting means) 41 Wave error detector (reading status information acquisition means,
Wave error detection means)

───────────────────────────────────────────────────── フロントページの続き (72)発明者 岩口 功 神奈川県川崎市中原区上小田中1015番地 富士通株式会社内 (72)発明者 川合 弘晃 神奈川県川崎市中原区上小田中1015番地 富士通株式会社内 (72)発明者 伊藤 元彦 神奈川県川崎市中原区上小田中1015番地 富士通株式会社内 (72)発明者 篠田 一郎 神奈川県川崎市中原区上小田中1015番地 富士通株式会社内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Isao Iwaguchi 1015 Kamiodanaka, Nakahara-ku, Kawasaki City, Kanagawa Prefecture, Fujitsu Limited (72) Inventor, Hiroaki Kawai, 1015, Kamikodanaka, Nakahara-ku, Kawasaki, Kanagawa Prefecture, Fujitsu Limited (72) Inventor Motohiko Ito 1015 Kamiodanaka, Nakahara-ku, Kawasaki City, Kanagawa Prefecture, Fujitsu Limited (72) Inventor Ichiro Shinoda 1015, Kamiodanaka, Nakahara-ku, Kawasaki City, Kanagawa Prefecture, Fujitsu Limited

Claims (24)

【特許請求の範囲】[Claims] 【請求項1】 バーコードに対して複数本のビーム光を
照射し、各ビーム光により該バーコードを走査し、 各ビーム光の該バーコードからの反射光の光量に基づい
て、各ビーム光により部分的に走査された該バーコード
の複数部分についてのデータを復調し、 該バーコードの複数部分についての復調データを組み合
わせることにより、該バーコードのもつデータを復調
し、 該バーコードから同一のデータが所定の基準回数だけ連
続して復調された場合に、該バーコードから復調された
データを有効として該バーコードの読取を完了するバー
コード読取方法であって、 前記基準回数を、該バーコードの読取状態情報に応じて
設定変更することを特徴とする、バーコード読取方法。
1. A bar code is irradiated with a plurality of light beams, the bar code is scanned by each light beam, and each light beam is scanned based on the amount of light reflected from the bar code. By demodulating data for a plurality of portions of the barcode that are partially scanned by, and combining demodulated data for a plurality of portions of the barcode to demodulate the data of the barcode. Is a bar code reading method in which the data demodulated from the barcode is validated and the reading of the barcode is completed when the data is continuously demodulated a predetermined number of times, A bar code reading method, wherein the setting is changed according to the bar code reading status information.
【請求項2】 前記バーコードの読取状態情報として、 該バーコードの複数部分についての復調データにおいて
重複して復調されたキャラクタの数が用いられることを
特徴とする、請求項1記載のバーコード読取方法。
2. The bar code according to claim 1, wherein the number of characters demodulated in duplicate in demodulation data for a plurality of parts of the bar code is used as the reading status information of the bar code. How to read.
【請求項3】 前記バーコードの読取状態情報として、 該バーコードの複数部分についての復調データにおいて
重複する部分で、復調結果の異なるキャラクタの数が用
いられることを特徴とする、請求項1記載のバーコード
読取方法。
3. The bar code reading status information is characterized in that the number of characters having different demodulation results is used in overlapping parts in demodulation data of a plurality of parts of the bar code. Barcode reading method.
【請求項4】 前記バーコードの読取状態情報として、 該バーコードの複数部分についての復調データにおいて
重複する部分の位置が用いられることを特徴とする、請
求項1記載のバーコード読取方法。
4. The barcode reading method according to claim 1, wherein positions of overlapping portions in demodulated data of a plurality of portions of the barcode are used as the barcode reading state information.
【請求項5】 前記バーコードの読取状態情報として、 該バーコードの複数部分についての復調データの組合せ
パターンが用いられることを特徴とする、請求項1記載
のバーコード読取方法。
5. The barcode reading method according to claim 1, wherein a combination pattern of demodulated data for a plurality of portions of the barcode is used as the reading status information of the barcode.
【請求項6】 前記バーコードの読取状態情報として、 該バーコードの複数部分が相互に重複する部分の読取歪
み量が用いられることを特徴とする、請求項1記載のバ
ーコード読取方法。
6. The barcode reading method according to claim 1, wherein a reading distortion amount of a portion where a plurality of portions of the barcode overlap each other is used as the reading state information of the barcode.
【請求項7】 前記読取歪み量として、 該バーコードの複数部分が相互に重複する部分のキャラ
クタ長の歪み量が用いられることを特徴とする、請求項
6記載のバーコード読取方法。
7. The barcode reading method according to claim 6, wherein a distortion amount of a character length of a portion where a plurality of portions of the barcode overlap each other is used as the reading distortion amount.
【請求項8】 前記読取歪み量として、 該バーコードの複数部分が相互に重複する部分のキャラ
クタのデータを特定すべく該キャラクタ毎に得られるδ
ディスタンス長の歪み量が用いられることを特徴とす
る、請求項6記載のバーコード読取方法。
8. As the reading distortion amount, δ is obtained for each character so as to specify character data of a portion where a plurality of portions of the barcode overlap each other.
7. The barcode reading method according to claim 6, wherein a distortion amount of a distance length is used.
【請求項9】 前記読取歪み量として、 該バーコードの複数部分が相互に重複する部分のキャラ
クタをなすバー自体の歪み量が用いられることを特徴と
する、請求項6記載のバーコード読取方法。
9. The barcode reading method according to claim 6, wherein the reading distortion amount is a distortion amount of a bar itself forming a character of a portion where a plurality of portions of the barcode overlap each other. .
【請求項10】 前記バーコードの読取状態情報とし
て、 該バーコードの複数部分におけるデータが、ビットシフ
トを行なうと異なるデータになりうるものであるか否か
の情報が用いられることを特徴とする、請求項1記載の
バーコード読取方法。
10. The bar code reading status information is information on whether or not data in a plurality of portions of the bar code can be different data when bit shift is performed. The barcode reading method according to claim 1.
【請求項11】 前記バーコードの読取状態情報とし
て、 該バーコードの複数部分におけるウエーブエラーの発生
の有無が用いられることを特徴とする、請求項1記載の
バーコード読取方法。
11. The barcode reading method according to claim 1, wherein presence or absence of a wave error in a plurality of portions of the barcode is used as the barcode reading status information.
【請求項12】 前記バーコードの読取状態情報とし
て、 該バーコードの複数部分のうちに、該バーコードのガー
ドバーおよびセンターバーの両方を検出したものが有る
か否かの情報が用いられることを特徴とする、請求項1
記載のバーコード読取方法。
12. As the bar code reading status information, information on whether or not a plurality of parts of the bar code have detected both a guard bar and a center bar of the bar code is used. Claim 1 characterized by
Barcode reading method described.
【請求項13】 ビーム光を発光する光源と、 該光源からの複数本のビーム光をバーコードに対して照
射し、各ビーム光により該バーコードを走査する走査手
段と、 各ビーム光の該バーコードからの反射光を受光しその光
量に応じた電気信号に変換する光電変換手段と、 該光電変換手段からの電気信号に基づいて、各ビーム光
により部分的に走査された該バーコードの複数部分につ
いてのデータを復調する復調手段と、 該復調手段により復調された該バーコードの複数部分に
ついての復調データを組み合わせて、該バーコードのも
つデータを復調する組合せ手段と、 該復調手段および該組合せ手段により該バーコードから
同一のデータが連続して復調された回数を検知し、当該
回数と所定の基準回数とを比較し、当該回数が前記所定
の基準回数となった場合に、該バーコードから復調され
たデータを有効として該バーコードの読取を完了させる
一致回数判定手段と、 該バーコードの読取状態情報を取得する読取状態情報取
得手段と、 該読取状態情報取得手段により取得された該バーコード
の読取状態情報に応じて、該一致回数判定手段における
前記基準回数を設定変更する基準回数変更手段とがそな
えられていることを特徴とする、バーコード読取装置。
13. A light source that emits light beams, a scanning unit that irradiates a plurality of light beams from the light sources onto a bar code, and scans the bar code with each light beam, and a scanning unit for each light beam. Photoelectric conversion means for receiving the reflected light from the bar code and converting it into an electric signal corresponding to the quantity of the light, and of the bar code partially scanned by each light beam based on the electric signal from the photoelectric conversion means. Demodulation means for demodulating data of a plurality of parts, combining means for demodulating data of the bar code by combining demodulation data of a plurality of parts of the barcode demodulated by the demodulation means, and the demodulation means and The combination means detects the number of times the same data is continuously demodulated from the barcode, compares the number of times with a predetermined reference number of times, and the number of times is the predetermined reference number. The number of coincidence determination means for validating the data demodulated from the bar code to complete the reading of the bar code, and the reading status information acquiring means for acquiring the reading status information of the bar code, A bar is provided with reference number changing means for setting and changing the reference number in the coincidence number determining means in accordance with the reading state information of the bar code acquired by the reading state information acquiring means. Code reader.
【請求項14】 該読取状態情報取得手段が、 該バーコードの複数部分についての復調データにおいて
重複して復調されたキャラクタの数を、前記バーコード
の読取状態情報として検出するキャラクタ数検出手段で
あることを特徴とする、請求項13記載のバーコード読
取装置。
14. The character number detecting means, wherein the reading status information acquiring means detects, as the reading status information of the bar code, the number of characters demodulated in duplicate in the demodulated data of a plurality of parts of the bar code. The bar code reader according to claim 13, wherein the bar code reader is provided.
【請求項15】 該読取状態情報取得手段が、 該バーコードの複数部分についての復調データにおいて
重複する部分で復調結果の異なるキャラクタの数を、前
記バーコードの読取状態情報として検出するキャラクタ
数検出手段であることを特徴とする、請求項13記載の
バーコード読取装置。
15. The number-of-characters detection means for detecting the number of characters having different demodulation results in the duplicated portions of the demodulated data of the plurality of portions of the bar code, as the reading state information of the bar code. 14. The barcode reading device according to claim 13, which is a means.
【請求項16】 該読取状態情報取得手段が、 該バーコードの複数部分についての復調データにおいて
重複する部分の位置を、前記バーコードの読取状態情報
として検出する重複位置検出手段であることを特徴とす
る、請求項13記載のバーコード読取装置。
16. The reading status information acquiring means is an overlapping position detecting means for detecting positions of overlapping parts in demodulated data of a plurality of parts of the barcode as reading status information of the barcode. The barcode reader according to claim 13, wherein
【請求項17】 該読取状態情報取得手段が、 該バーコードの複数部分についての復調データの該組合
せ手段による組合せパターンを、前記バーコードの読取
状態情報として検出する組合せパターン検出手段である
ことを特徴とする、請求項13記載のバーコード読取装
置。
17. The reading state information obtaining means is a combination pattern detecting means for detecting a combination pattern of demodulated data of a plurality of portions of the barcode by the combining means as reading state information of the barcode. 14. The bar code reader according to claim 13, which is characterized in that:
【請求項18】 該読取状態情報取得手段が、 該バーコードの複数部分が相互に重複する部分の読取歪
み量を、前記バーコードの読取状態情報として算出・測
定する歪み量測定手段であることを特徴とする、請求項
13記載のバーコード読取装置。
18. The distortion amount measuring means for calculating and measuring the reading distortion amount of a portion where a plurality of portions of the barcode overlap each other as the reading state information of the barcode. 14. The bar code reading device according to claim 13, wherein
【請求項19】 該歪み量測定手段が、該バーコードの
複数部分が相互に重複する部分のキャラクタ長の歪み量
を算出・測定することを特徴とする、請求項18記載の
バーコード読取装置。
19. The bar code reader according to claim 18, wherein the distortion amount measuring means calculates and measures a distortion amount of a character length of a portion where a plurality of portions of the barcode overlap each other. .
【請求項20】 該歪み量測定手段が、該バーコードの
複数部分が相互に重複する部分のキャラクタのデータを
特定すべく該キャラクタ毎に得られるδディスタンス長
の歪み量を算出・測定することを特徴とする、請求項1
8記載のバーコード読取装置。
20. The distortion amount measuring means calculates and measures an amount of distortion of a δ distance length obtained for each character in order to specify character data of a portion where a plurality of portions of the barcode overlap each other. Claim 1 characterized by the above.
8. The bar code reader according to item 8.
【請求項21】 該歪み量測定手段が、該バーコードの
複数部分が相互に重複する部分のキャラクタをなすバー
自体の歪み量を算出・測定することを特徴とする、請求
項18記載のバーコード読取装置。
21. The bar according to claim 18, wherein the distortion amount measuring means calculates and measures an amount of distortion of the bar itself forming a character of a portion where a plurality of portions of the barcode overlap each other. Code reader.
【請求項22】 該読取状態情報取得手段が、 該バーコードの複数部分におけるデータがビットシフト
を行なうと異なるデータになりうるものであるか否かの
情報を、前記バーコードの読取状態情報として出力する
ビットシフトデータ検知手段であることを特徴とする、
請求項13記載のバーコード読取装置。
22. Information on whether or not the data in a plurality of portions of the bar code can be different data when bit-shifted is performed by the read state information acquisition means as the bar code read state information. A bit shift data detecting means for outputting,
The barcode reading device according to claim 13.
【請求項23】 該読取状態情報取得手段が、 該バーコードの複数部分におけるウエーブエラーの発生
の有無を、前記バーコードの読取状態情報として出力す
るウエーブエラー検知手段であることを特徴とする、請
求項13記載のバーコード読取装置。
23. The reading status information obtaining means is a wave error detecting means for outputting the presence or absence of a wave error in a plurality of portions of the bar code as the reading status information of the bar code. The barcode reading device according to claim 13.
【請求項24】 該読取状態情報取得手段が、 該バーコードの複数部分のうちに、該バーコードのガー
ドバーおよびセンターバーの両方を検出したものが有る
か否かの情報を、前記バーコードの読取状態情報として
出力するガードバー/センターバー検知手段であること
を特徴とする、請求項13記載のバーコード読取装置。
24. Information on whether or not the reading state information obtaining means detects one of a plurality of portions of the barcode that has detected both a guard bar and a center bar of the barcode, 14. The bar code reading device according to claim 13, which is a guard bar / center bar detection unit that outputs the reading state information.
JP31874794A 1994-07-21 1994-12-21 Barcode reading method and barcode reader Expired - Fee Related JP3329969B2 (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
JP31874794A JP3329969B2 (en) 1994-12-21 1994-12-21 Barcode reading method and barcode reader
GB9617589A GB2301468B (en) 1994-07-21 1995-07-21 Reading bar codes
GB9515099A GB2291524B (en) 1994-07-21 1995-07-21 Reading bar codes
US08/980,012 US5854479A (en) 1994-07-21 1997-11-26 Bar-code reader and bar-code reading method for detecting various possible reproducible bar code combinations and synthesizing information therefrom
US09/157,386 US5979765A (en) 1994-07-21 1998-09-21 Bar-code reader and bar-code reading method for detecting various possible reproducible bar code combinations and synthesizing information therefrom

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP31874794A JP3329969B2 (en) 1994-12-21 1994-12-21 Barcode reading method and barcode reader

Publications (2)

Publication Number Publication Date
JPH08180126A true JPH08180126A (en) 1996-07-12
JP3329969B2 JP3329969B2 (en) 2002-09-30

Family

ID=18102496

Family Applications (1)

Application Number Title Priority Date Filing Date
JP31874794A Expired - Fee Related JP3329969B2 (en) 1994-07-21 1994-12-21 Barcode reading method and barcode reader

Country Status (1)

Country Link
JP (1) JP3329969B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011053968A (en) * 2009-09-02 2011-03-17 Toshiba Tec Corp Barcode reader and control program thereof
JP2013008290A (en) * 2011-06-27 2013-01-10 Toshiba Tec Corp Code reader, seal and control program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011053968A (en) * 2009-09-02 2011-03-17 Toshiba Tec Corp Barcode reader and control program thereof
JP2013008290A (en) * 2011-06-27 2013-01-10 Toshiba Tec Corp Code reader, seal and control program

Also Published As

Publication number Publication date
JP3329969B2 (en) 2002-09-30

Similar Documents

Publication Publication Date Title
CN107092849B (en) Method and apparatus for reading optical marks using multiple data sources
US4748317A (en) Optical reader
US4074114A (en) Bar code and method and apparatus for interpreting the same
CN101069189B (en) Bar code scanner decoding
JP5140820B2 (en) Symbol information reading apparatus and symbol information reading method
JPH10134130A (en) Barcode reading method and barcode reader
US5198649A (en) Bar code scanner and method of scanning bar codes labels with or without an Add-On code
JP2000357205A (en) Barcode reading device and barcode reading method
JPH07120389B2 (en) Optical character reader
JP6885563B2 (en) Display status judgment system
US5393968A (en) Method and device for reading bar code
KR100308415B1 (en) Bar code reading device, bar code reading method and computer readable medium
JP3329969B2 (en) Barcode reading method and barcode reader
JPS63115282A (en) Bar code reader
JP2718442B2 (en) Barcode demodulation method and apparatus
EP0144202A2 (en) Optical reader
JPS5841542B2 (en) optical character reader
JP2836773B2 (en) Barcode data detection method and device
JP4154871B2 (en) Bar code reading method and bar code reading apparatus
JP3560477B2 (en) Barcode reading device and barcode reading method
US7021546B2 (en) Bar-code reader and method of reading bar-code
JP4403063B2 (en) Symbol information reading method and symbol information reading apparatus
JP2953143B2 (en) Barcode reading device and barcode reading method
JP2655758B2 (en) Barcode reader and barcode reading method
JP2722434B2 (en) Optical character reader

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20020129

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20020702

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

Free format text: PAYMENT UNTIL: 20080719

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20090719

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20100719

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20100719

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20110719

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20110719

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20120719

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees