JPH0250510B2 - - Google Patents

Info

Publication number
JPH0250510B2
JPH0250510B2 JP61301954A JP30195486A JPH0250510B2 JP H0250510 B2 JPH0250510 B2 JP H0250510B2 JP 61301954 A JP61301954 A JP 61301954A JP 30195486 A JP30195486 A JP 30195486A JP H0250510 B2 JPH0250510 B2 JP H0250510B2
Authority
JP
Japan
Prior art keywords
character
start margin
length
bar
detection circuit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP61301954A
Other languages
Japanese (ja)
Other versions
JPS63153686A (en
Inventor
Iwao Yotsuya
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.)
Fuji Facom Corp
Original Assignee
Fuji Facom Corp
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 Fuji Facom Corp filed Critical Fuji Facom Corp
Priority to JP61301954A priority Critical patent/JPS63153686A/en
Publication of JPS63153686A publication Critical patent/JPS63153686A/en
Publication of JPH0250510B2 publication Critical patent/JPH0250510B2/ja
Granted legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔概要〕 バーコード39のバーデータ列の解読装置に於
いて、スタートマージンから第2キヤラクタ後の
ギヤツプ迄は1/2キヤラクタ長のスタートマージ
ン検出回路により検出し、第2キヤラクタ後のギ
ヤツプから後は1キヤラクタ長のスタートマージ
ンを検出する。
[Detailed Description of the Invention] [Summary] In the decoding device for the bar data string of the bar code 39, the start margin from the start margin to the gap after the second character is detected by a start margin detection circuit with a 1/2 character length. After the gap after two characters, a start margin of one character length is detected.

〔産業上の利用分野〕[Industrial application field]

本発明はバーコードの読取方式の改良に関する
ものである。
The present invention relates to an improvement in a barcode reading method.

〔従来の技術〕[Conventional technology]

バーコード(bar code)は数種の太さのバー
状のマークを、数種の間隔を置いて平行に配置す
る様に印刷されたもので、バー状の印刷部を黒バ
ー、二つの黒バーに挟まれた部分を白バーと呼
び、各バーの組合せにより符号化されたキヤラク
タを表すもので、バーコードで表されたキヤラク
タの集合によつて商品を識別出来るように体系づ
けられており、最近広く利用されている。
A bar code is a bar code printed with bar-shaped marks of several thicknesses arranged in parallel at several intervals.The bar-shaped printed part is a black bar, and two black The part between the bars is called the white bar, and the combination of each bar represents a coded character.It is organized so that products can be identified by the set of characters represented by the barcode. , has been widely used recently.

本発明に於けるバーコード読取方式はコード3
9に関するもので、コード39は黒バー、白バー
を含めて9本で構成され、其の内、3本が太いバ
ーを有するコード系(3out of9)である。
The barcode reading method in the present invention is Code 3
9, the code 39 is composed of nine bars including black bars and white bars, of which three are thick bars (3 out of 9).

第3図はコード39の変換表を示す。 FIG. 3 shows a conversion table for code 39.

第4図はコード39の説明図である。 FIG. 4 is an explanatory diagram of the code 39.

コード39は第3図の変換表から判る様に数
字、アルフアベツト等の文字をバーコード形式で
表す方法である。
As can be seen from the conversion table in FIG. 3, code 39 is a method for representing characters such as numbers and alphanumeric characters in bar code format.

コード39は第4図に示す様に、 (1) スタートマージン(白)、 (2) 一文字の長さを有するスタートコード、 (3) ギヤツプ、 (4) 第1キヤラクタ、 (5) ギヤツプ、 (6) 第2キヤラクタ、 (7) ギヤツプ、 (8) 第3キヤラクタ…と配列されている。 Code 39 is as shown in Figure 4. (1) Start margin (white), (2) a start code having a length of one character; (3) Gap, (4) First character, (5) Gap, (6) Second character, (7) Gap, (8) The third character is arranged as...

尚スタートマージンはコード39の開始を表す
信号であり、第4図に示す例では第1キヤラクタ
は英字のI、第2キヤラクタは数字の3、第3キ
ヤラクタは英字のQを表している。
The start margin is a signal representing the start of code 39, and in the example shown in FIG. 4, the first character represents the alphabetic letter I, the second character represents the number 3, and the third character represents the alphabetic letter Q.

従来の解読方法は左から検出器を右へ走らせ、
黒バー、白バーを読取り、此れ等を順次メモリに
入力する。
The conventional decoding method runs the detector from the left to the right,
It reads the black bar and white bar and inputs them into the memory sequentially.

今第1キヤラクタと第2キヤラクタの間にある
ギヤツプを0とし、此の点から時間的に遡ると、
スタートマージンは−20となる。
Now let the gap between the first character and the second character be 0, and if you go back in time from this point,
The starting margin will be -20.

此の間の各バーの幅のカウント値(時間長)を
Boとする。
The count value (time length) of the width of each bar during this period is
Let it be B o .

-9n=-1 Bo<Σ-20 Bo n=-19 ……式 従来の解読方式は左から検出器を右へ走らせ、
黒バー、白バーを読取り、各バーの位置で上記
式が成立するか否かを調べ、初めて成立した時に
スタートマージンが検出されたとし、−19のバー
がスタートコードの最初のバーとし、以後此れを
基準にしてキヤラクタを解読して行く。
-9n=-1 B o <Σ -20 B o n=-19 ...Formula The conventional decoding method runs the detector from the left to the right,
Read the black bar and white bar, check whether the above formula holds true at the position of each bar, assume that the start margin is detected when it holds true for the first time, and set the -19 bar as the first bar of the start code. Based on this, we will decipher the character.

従つてスタートマージンの長さは少なくとも1
キヤラクタ以上の長さであることが必要である。
Therefore, the length of the start margin is at least 1
It must be longer than the character.

尚式を使用してスタートマージンを検出する
回路を1キヤラクタ長のスタートマージン検出回
路30と云う。
A circuit that detects the start margin using the above equation is called a one character long start margin detection circuit 30.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

然しながら此の様に少なくとも1キヤラクタ以
上の長さを持つスタートマージンを使用すること
はバーコードラベルの長さが長くなると云う欠点
があつた。
However, using a start margin having a length of at least one character as described above has the disadvantage that the length of the barcode label becomes long.

本発明の目的は此のスタートマージンの長さを
1/2キヤラクタとすることである。
The purpose of the present invention is to make the length of this start margin 1/2 character.

〔問題点を解決するための手段〕[Means for solving problems]

上記問題点は第1図の原理図に示す様にバーコ
ード39のバーコードデータ列の解読装置に於い
て、1/2キヤラクタ長のスタートマージン検出回
路20と1キヤラクタ長のスタートマージン検出
回路30を切換える切換手段10を設けることに
より解決される。
As shown in the principle diagram of FIG. 1, the above-mentioned problem is caused by the start margin detection circuit 20 of 1/2 character length and the start margin detection circuit 30 of 1 character length in the barcode data string decoding device of barcode 39. This problem can be solved by providing a switching means 10 for switching.

〔作用〕[Effect]

本発明に依るとスタートマージンから第2キヤ
ラクタ後のギヤツプ迄のバーコードデータ列に対
しては1/2キヤラクタ長のスタートマージン検出
回路20を有効とし、切換手段10により第2キ
ヤラクタ後のギヤツプから後のバーコードデータ
列に対しては1キヤラクタ長のスタートマージン
検出回路30を有効とすることにより1/2キヤラ
クタ長のスタートマージンを正確に検出すること
が可能となる。
According to the present invention, the 1/2 character length start margin detection circuit 20 is enabled for the barcode data string from the start margin to the gap after the second character, and the switching means 10 is used to detect the barcode data string from the gap after the second character. By enabling the 1 character length start margin detection circuit 30 for the subsequent barcode data string, it becomes possible to accurately detect the 1/2 character length start margin.

〔実施例〕〔Example〕

(1) 本発明に於いては、スタートマージンの長さ
を1/2キヤラクタとする為には前記式の代わ
りに下記の式を使用し、此の条件を白のバー
幅をカウントしている時に遂次見てみて、条件
を満足したら回路のシーケンスをクリアして、
其処から新しいデータ列を取り入れれば良い。
(1) In the present invention, in order to set the length of the start margin to 1/2 character, the following formula is used instead of the above formula, and this condition is calculated by counting the width of the white bar. Check it one after another, and when the conditions are satisfied, clear the circuit sequence.
You can import new data columns from there.

-9n=-1 Bo<2Σ-20 Bo n=-19 ……式 (2) 然しながら式の条件式だけでは、 バー比率=1:3、且つギヤツプ=細バー である時には正常に読取ることが出来ない。 -9n=-1 B o <2Σ -20 B o n=-19 ...Equation (2) However, with only the conditional expression of the expression, when the bar ratio = 1:3 and the gap = thin bar, it will work normally. Unable to read.

尚バー比率とは細バーと太バーの比率のことで
ある。
Note that the bar ratio is the ratio of thin bars to thick bars.

例えば第4図に示す例に於いて、B0=B0′の
タイミングでは式を満足する。即ち、 -9n=-1 Bo=9、-20 Bo n=-19 Bo=6 従つて式を満足し、回路のシーケンスがク
リアされて正常に読取ることは出来ない。
For example, in the example shown in FIG. 4, the equation is satisfied at the timing of B 0 =B 0 '. That is, -9n=-1 B o =9, -20 B o n=-19 B o =6 Therefore, the formula is satisfied and the circuit sequence is cleared and cannot be read normally.

此処で最初は1/2キヤラクタ長でスタートマ
ージンのチエツクを行い、途中中で1キヤラク
タ長のスタートマージンのチエツクに切換えれ
ば良いが、第1キヤラクタ後のギヤツプ位置
で、1/2キヤラクタ長から1キヤラクタ長への
切換えを行うと、スタートマージンの1/2キヤ
ラクタ位置に黒レベルのノイズ(☆印で示す)
があると、第4図に示す例に於いて、B0
B0″の位置で此の切換えが行われる。即ち、 -9n=-1 Bo=12、-20 Bo n=-19 Bo=7 となり、式を満足して切換えが行われ、以後
は1キヤラクタ長のスタートマージンは現れな
いのでバーコードデータ列は読取れない。
At first, check the start margin with 1/2 character length, and then switch to check the start margin with 1 character length in the middle, but at the gap position after the first character, check the start margin with 1/2 character length. When switching to 1 character length, black level noise (indicated by a star) appears at 1/2 character position of the start margin.
In the example shown in Fig. 4, B 0 =
This switching is performed at the B 0 ″ position. That is, -9n=-1 B o = 12, -20 B o n=-19 B o = 7, and the switching is performed while satisfying the equation. , thereafter, the start margin of one character length does not appear, so the barcode data string cannot be read.

(3) 従つて此の切換えタイミングを第2キヤラク
タ後のギヤツプ位置B0で行えば、(2)に於い
て述べた問題がなくなり、第1キヤラクタと第
2キヤラクタがどんな組合せであつても式を
満足することはなく、スタートマージンに☆印
のノイズがあつても☆印のノイズ以後のスター
トマージンが1/2キヤラクタ長以上あれば正常
に読取ることが可能となる。
(3) Therefore, if this switching timing is performed at the gap position B 0 after the second character, the problem mentioned in (2) will disappear, and the equation will be correct regardless of the combination of the first character and the second character. Even if there is noise marked with ☆ in the start margin, it will be possible to read normally if the start margin after the noise marked with ☆ is 1/2 character length or more.

第2図は本発明に依るスタートマージン検出方
式の一実施例を示す図である。
FIG. 2 is a diagram showing an embodiment of the start margin detection method according to the present invention.

図中1は読取器、2はバーコード39が記載さ
れている商品、3は解読装置、10は切換手段、
20は1/2キヤラクタ長のスタートマージン検出
回路、30は1キヤラクタ長のスタートマージン
検出回路である。
In the figure, 1 is a reader, 2 is a product with a barcode 39 written on it, 3 is a decoding device, 10 is a switching means,
20 is a 1/2 character length start margin detection circuit, and 30 is a 1 character length start margin detection circuit.

操作員が読取器1で商品2の上に記載されてい
るバーコード39の上を走らせると読取器1は直
列信号形式でバーコードデータ列を出力し、解読
装置3は此のバーコードデータ列を受信する。
When the operator runs the reader 1 over the barcode 39 written on the product 2, the reader 1 outputs a barcode data string in the form of a serial signal, and the decoder 3 reads this barcode data. Receive columns.

本発明では解読装置3には従来から使用されて
いる1キヤラクタ長のスタートマージン検出回路
30の他に1/2キヤラクタ長のスタートマージン
検出回路20、及び切換手段10を設ける。
In the present invention, the decoding device 3 is provided with a 1/2 character length start margin detection circuit 20 and a switching means 10 in addition to the conventionally used 1 character length start margin detection circuit 30.

上記説明から明らかな様に1キヤラクタ長のス
タートマージン検出回路30は式によりスター
トマージンを検出する回路であり、1/2キヤラク
タ長のスタートマージン検出回路20は式によ
りスタートマージンを検出する回路である。
As is clear from the above description, the 1-character length start margin detection circuit 30 is a circuit that detects a start margin using a formula, and the 1/2 character length start margin detection circuit 20 is a circuit that detects a start margin using a formula. .

最初スタートマージンから第2キヤラクタ後の
ギヤツプ迄は1/2キヤラクタ長のスタートマージ
ン検出回路20を使用して検出を行い、此処で切
換手段10を動作させて以後1キヤラクタ長のス
タートマージン検出回路30を使用して検出を行
う。
From the initial start margin to the gap after the second character, detection is performed using the 1/2 character length start margin detection circuit 20. At this point, the switching means 10 is operated, and thereafter the 1 character length start margin detection circuit 30 is used. Perform detection using .

〔発明の効果〕〔Effect of the invention〕

以上詳細に説明した様に本発明によれば、スタ
ートマージンが少なくても良いのでバーコードラ
ベルを小さく出来ると云う大きい効果がある。
As explained in detail above, according to the present invention, there is a great effect that the barcode label can be made smaller because the start margin can be small.

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

第1図は本発明の原理図である。第2図は本発
明に依るスタートマージン検出方式の一実施例を
示す図である。第3図はコード39の一例を示
す。第4図はコード39の説明図である。 図中、1は読取器、2はバーコード39が記載
されている商品、3は解読装置、10は切換手
段、20は1/2キヤラクタ長のスタートマージン
検出回路、30は1キヤラクタ長のスタートマー
ジン検出回路である。
FIG. 1 is a diagram showing the principle of the present invention. FIG. 2 is a diagram showing an embodiment of the start margin detection method according to the present invention. FIG. 3 shows an example of the code 39. FIG. 4 is an explanatory diagram of the code 39. In the figure, 1 is a reader, 2 is a product with a barcode 39 written on it, 3 is a decoding device, 10 is a switching means, 20 is a 1/2 character length start margin detection circuit, and 30 is a 1 character length start This is a margin detection circuit.

Claims (1)

【特許請求の範囲】 1 バーコード39のバーコードデータ列の解読
装置に於いて、 切換手段10を設け、 スタートマージンから第2キヤラクタ後のギヤ
ツプ迄の該バーコードデータ列に対しては1/2キ
ヤラクタ長のスタートマージン検出回路20を有
効とし、 該切換手段10により該第2キヤラクタ後のギ
ヤツプから後の該バーコードデータ列に対しては
1キヤラクタ長のスタートマージン検出回路30
を有効とすることを特徴とするスタートマージン
検出方式。
[Scope of Claims] 1. In a device for decoding a barcode data string of a barcode 39, a switching means 10 is provided, and for the barcode data string from the start margin to the gap after the second character, 1/ The two-character length start margin detection circuit 20 is enabled, and the one-character length start margin detection circuit 30 is activated by the switching means 10 for the barcode data string after the gap after the second character.
A start margin detection method is characterized in that it is effective.
JP61301954A 1986-12-17 1986-12-17 Start margin detecting system Granted JPS63153686A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61301954A JPS63153686A (en) 1986-12-17 1986-12-17 Start margin detecting system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61301954A JPS63153686A (en) 1986-12-17 1986-12-17 Start margin detecting system

Publications (2)

Publication Number Publication Date
JPS63153686A JPS63153686A (en) 1988-06-27
JPH0250510B2 true JPH0250510B2 (en) 1990-11-02

Family

ID=17903112

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61301954A Granted JPS63153686A (en) 1986-12-17 1986-12-17 Start margin detecting system

Country Status (1)

Country Link
JP (1) JPS63153686A (en)

Also Published As

Publication number Publication date
JPS63153686A (en) 1988-06-27

Similar Documents

Publication Publication Date Title
EP0390162B1 (en) An apparatus for reading a bar code
JP2616921B2 (en) Label identification device
JPH0157836B2 (en)
US4059224A (en) Code recognition record medium and technique
US5262625A (en) Multiple bar code decoding system and method
US3868634A (en) Reading of contrasting data by means of continuously attempting to decode read signals
US5331137A (en) Machine readable code combining preprinted indicia with hand-mark data
GB1429891A (en) Coded record and methods of and apparatus for encoding and decoding records
GB1394101A (en) Interpreting systems for coded records
JPS6033674B2 (en) Kanji typewriter type
GB1413534A (en) Coded record method of encoding and method of and system for interpreting the record
US4146046A (en) Coded record and methods of and apparatus for encoding and decoding records
US3798421A (en) Double field code reading system
US3310658A (en) Relevant data readout apparatus
JPS6213712B2 (en)
JPH0250510B2 (en)
JPS55998A (en) Multi-point data recording collector
JP2677805B2 (en) Code reader
JPS567180A (en) Character recognizing method for optical character reader
JP2742920B2 (en) Barcode reader
JPS63291183A (en) data reading device
JPS6354556B2 (en)
JPS584485A (en) Symbol demodulator
US3188610A (en) Machine readable characters and process of translating characters
JPS60112184A (en) Bar code reader