JPS59776A - Data input system using bar code - Google Patents
Data input system using bar codeInfo
- Publication number
- JPS59776A JPS59776A JP57110982A JP11098282A JPS59776A JP S59776 A JPS59776 A JP S59776A JP 57110982 A JP57110982 A JP 57110982A JP 11098282 A JP11098282 A JP 11098282A JP S59776 A JPS59776 A JP S59776A
- Authority
- JP
- Japan
- Prior art keywords
- signal
- data
- marks
- mark
- width
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【発明の詳細な説明】
本発明は、バーコードを用いたデータ入力方式従来、無
人走行車輛の走行径路の適所に位置データ等を記入した
バーコードを付設するとともに、無人走行車輛に設けた
読取器によって上記バーコードを光学的に走査して読み
取りその結果得られた各種データに基づいて無人走行車
輛が自己の運行を決定する誘導制御が実施されている。DETAILED DESCRIPTION OF THE INVENTION The present invention provides a data input method using barcodes. Guidance control is implemented in which an unmanned vehicle determines its own operation based on various data obtained by optically scanning and reading the bar code using a device.
ところで、上述した従来方式においては、上記読取器が
出力する2値信号の持続時間を計時して上記バーコード
を構成する白黒のストライプの幅を判別し、その判別結
果に基づいてA−コードのデータを再構成するようにし
ている。したがって、上記無人走行車輛の速度が大幅に
変化したり、読取器がバーコードを斜めに読み取った場
合、上記計時結果が犬きく変化し、そのため上記ストラ
イプの幅の判別に誤差が生じてデータを正確に再構成で
き々くなるという問題が生じていた。By the way, in the conventional method described above, the width of the black and white stripes constituting the bar code is determined by measuring the duration of the binary signal output by the reader, and the A-code is determined based on the determination result. I am trying to reorganize the data. Therefore, if the speed of the unmanned vehicle changes significantly or if the reader reads the barcode at an angle, the timing results will change significantly, resulting in an error in determining the width of the stripe and causing data to be lost. A problem arose in that accurate reconstruction was not possible.
本発明の目的は、上述した問題を解消し得るバーコード
を用いたデータ入力方式を提供することにある。An object of the present invention is to provide a data input method using barcodes that can solve the above-mentioned problems.
本発明は、上記目的を達成するため、走査方向について
の幅を異ならせた同一色彩の2種のマークを前記走査方
向に所定の配列態様で設けるとともに、それらのマーク
の境界部に前記色彩とは識別可能な別の色彩のマークを
介在させて々るバーコードを用い、該バーコードの読取
の際に、壕ず上記2種のマークのうち最初にあられれる
マークの幅を検出してこれを基準幅とし、以後あられれ
る前記2種のマークの幅を前記基準幅と比較してそれら
のマークを2値データに変換するようにしている。In order to achieve the above object, the present invention provides two types of marks of the same color with different widths in the scanning direction in a predetermined arrangement manner in the scanning direction, and at the boundary between these marks, the marks of the same color and the same color are provided. uses a barcode with a distinguishable mark of another color in between, and when reading the barcode, it detects the width of the first mark of the two types of marks mentioned above. is set as a reference width, and the widths of the two types of marks that will appear thereafter are compared with the reference width to convert those marks into binary data.
以下、添附図面を参照しながら、本発明の詳細な説明す
る。Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.
第1図は、本発明に係る方式において使用するバーコー
ドBCの一例を示す。該バーコードBCにおいて、幅W
lを有する白色マークMll、M13はデータ″0#を
、また幅W2を有する白色マークM12゜Ml4 、
Ml6はデータ″1′をそれぞれあられし、これらの白
色マークM、1−M1llは黒色マークM21〜M25
によυ区切られている。さらに幅Wlの白色マークMI
Oが基準マークとして上記黒色マークM21に隣接して
形成されている。FIG. 1 shows an example of a barcode BC used in the method according to the present invention. In the barcode BC, the width W
The white marks Mll and M13 have the data "0#" and the white marks M12°Ml4 and M13 have the width W2, respectively.
M16 receives data "1", and these white marks M, 1-M1ll correspond to black marks M21 to M25.
It is separated by υ. Furthermore, a white mark MI of width Wl
A reference mark O is formed adjacent to the black mark M21.
すなわち、上記バーコードBCは、5ビツトの2進デー
タro1011Jをあられしている。That is, the bar code BC represents 5-bit binary data ro1011J.
第2図は、上記バーコードBCを読み取ってそれに記入
されたデータ(この場合r01011J )を出力する
データ入力装置の一例を示す。FIG. 2 shows an example of a data input device that reads the bar code BC and outputs the data written therein (r01011J in this case).
同図において、読取器1は図示していない発光ダイオー
ド等の発光素子とフォトトランジスタ等の受光素子とを
備えており、発光素子から出力される光を上記バーコー
ドBCに照射し、その反射光を上記受光素子で受光する
ように構成されている。In the figure, a reader 1 is equipped with a light emitting element such as a light emitting diode (not shown) and a light receiving element such as a phototransistor, and the light emitted from the light emitting element is irradiated onto the barcode BC, and the reflected light is is configured to be received by the light receiving element.
そして、上記反射光の強度に応じた受光素子の出力、す
々わち読取器1の出力読取信号SRは、積分器2の入力
端、カウンタ3のクロック入力端CK。The output of the light receiving element corresponding to the intensity of the reflected light, that is, the output read signal SR of the reader 1 is input to the input terminal of the integrator 2 and the clock input terminal CK of the counter 3.
D−フリラグフロップ(以下単にフリツプフロツプとい
う)4のクロック入力端CKおよびインバータ5を介し
てシフトレジスタ6のシフト用クロ。D-Clock input terminal CK of a free lag flop (hereinafter simply referred to as a flip-flop) 4 and a shift clock of a shift register 6 via an inverter 5;
り入力端CKにそれぞれ加えられる。and are respectively applied to the input terminal CK.
なお、上記読取信号SRは、上記・受光素子が上記白色
マークM1o−Ml、による反射光を受光したさいには
高レベルの信号(論理レベル「H」)となり、上記黒色
マークM21〜M2.にょる反射光を受光したさいには
低レベルの信号(論理レベル「L」)の信号となる。The read signal SR becomes a high level signal (logical level "H") when the light receiving element receives the light reflected by the white marks M1o-Ml, and the read signal SR becomes a high level signal (logical level "H") when the light receiving element receives the light reflected by the white marks M1o-M1. When the reflected light is received, the signal becomes a low level signal (logical level "L").
そこで、いま上記読取器1により上記バーコードBCを
第3図(、)に示したように走査方向に沿って一定の速
度で移動させると、まず基準の幅W1を有するマークM
IOを読取器1が読み取った時点t1で上記読取信号S
R(同図(b)参照)が論理しRル「H」に立ち上がり
、上記カウンタ3の計数値が[月になる。これにより、
該カウンタ3は信号SD、を出力してスイッチ回路7を
切換作動させるので、上記積分器2の出力信号SI(同
図(c)参照)は該スイッチ回路7を介してピーク保持
回路8に加えられる。Therefore, when the barcode BC is moved at a constant speed along the scanning direction by the reader 1 as shown in FIG.
At the time t1 when the reader 1 reads the IO, the read signal S
R (see (b) in the same figure) is logically raised to "H", and the count value of the counter 3 becomes [month]. This results in
Since the counter 3 outputs the signal SD to switch the switch circuit 7, the output signal SI of the integrator 2 (see (c) in the same figure) is applied to the peak holding circuit 8 via the switch circuit 7. It will be done.
ついで、上記読取器1が上記白色マークMloの走亘を
終了した時点t2で、読取信号SRは論理レベルrLJ
に立ち下がり、これによって積分器2はリセットされる
。したがって、上記ピーク保持回路8は、上記白色マー
クMlGの幅Wlに対応した積分器2の出力信号SIの
大きさを保持する。そして、該ピーク保持回路8の出力
信号sp (第3図(d)参照)分器2の出力信号SI
が加えられて卦り、かつ上記時点1.から白色マークM
11に基づいて読取信号SRの論理レベルがrHJに立
ち上がる時点t3までの期間において、上記信号SCが
上記信号SI以上の大きさく SC≧SP )を有して
いることから上記減算器9の減算結果は0以下である。Then, at time t2 when the reader 1 finishes running the white mark Mlo, the read signal SR reaches the logic level rLJ.
This causes the integrator 2 to be reset. Therefore, the peak holding circuit 8 holds the magnitude of the output signal SI of the integrator 2 corresponding to the width Wl of the white mark MlG. Then, the output signal SP of the peak holding circuit 8 (see FIG. 3(d)) and the output signal SI of the divider 2
is added, and the above point 1. From white mark M
In the period up to the time t3 when the logic level of the read signal SR rises to rHJ based on 11, the signal SC has a magnitude greater than the signal SI (SC≧SP), so the subtraction result of the subtracter 9 is is less than or equal to 0.
したがって、基準電圧が一側入力端に加わるとともに上
記減算器9の出力が+側入力端に加わる比較器10の出
力信号SCは、上記期間において論理レベルrLJの信
号である(第3図(e))。Therefore, the output signal SC of the comparator 10, to which the reference voltage is applied to one side input terminal and the output of the subtracter 9 is applied to the + side input terminal, is a signal at the logic level rLJ during the above period (Fig. 3(e) )).
このように、上記白色マークMloに対応した読取信号
SRの立ち上がりで上記フリップフロ、ソデ4が作動し
たときにおける上記信号SCの論理レベルはrLJであ
り、したがって該フリップフロラ7’4の出力信号SQ
の論理レベルはrLJと々る。しかして、上記信号SR
の反転信号面が上記時点t2で立ち上がったタイミング
で、上記シフトレジスタ6はそのデータ入力端りに加わ
る論理レベル「L」(すなわちデータ゛′0″)の信号
SCを最下位桁(LSB)に記憶する。In this way, when the flip-flop 4 is activated at the rising edge of the read signal SR corresponding to the white mark Mlo, the logic level of the signal SC is rLJ, and therefore the output signal SQ of the flip-flop 7'4 is
The logic level of is rLJ. However, the above signal SR
At the timing when the inverted signal surface of rises at the time t2, the shift register 6 stores the signal SC of logic level "L" (that is, data "0") applied to its data input end in the least significant digit (LSB). do.
ついで、上記読取器1が幅W、を有する白色マークMl
lを走査して時点t3で上記信号SRが立ち上がると、
上記カウンタ3の計数値が「2」になシ、これによって
上記信号SDtが消失シフ、上記スイッチ回路7が図示
の状態に復帰する。したがって、上記ビーク保持回路8
の出力信号spは、時点t2における信号SIの電圧値
を有した信号すなわち上記基準幅W、に対応したレベル
の信号となる。Then, the reader 1 detects a white mark Ml having a width W.
When the signal SR rises at time t3 after scanning l,
The count value of the counter 3 becomes "2", thereby causing the signal SDt to disappear and the switch circuit 7 to return to the state shown. Therefore, the peak holding circuit 8
The output signal sp becomes a signal having the voltage value of the signal SI at time t2, that is, a signal at a level corresponding to the reference width W.
ところで、上記読取器1が上記白色マークM I 1を
走査する時点t3からt44での間においては、上記信
号SIのレベルが上記信号spのそれよりも犬きくなる
ことはないので、この期間では上記比較器10の出力信
号SCの論理レベルはrLJである。By the way, during the period from time t3 to time t44 when the reader 1 scans the white mark M I 1, the level of the signal SI does not become higher than that of the signal sp. The logic level of the output signal SC of the comparator 10 is rLJ.
したがって、上述と同様にして時点t4で信号面が立ち
上がった際にシフトレジスタ6がデーダ゛0″をLSH
に記憶し、同時にそれまでLSBに記憶していたデータ
を1桁シフトする。Therefore, in the same way as described above, when the signal level rises at time t4, the shift register 6 shifts the data "0" to LSH.
At the same time, the data previously stored in the LSB is shifted by one digit.
この後、読取器1が黒色マ=りM22に続いて時点t5
から幅W2の白色マークM12を走査すると、該幅W2
は基準の幅Wlよ如大きいので、第3図(C)に示した
ように時点t6で上記信号SIのレベルが信号SPのそ
れを越える。したがって、比較器10の出力信号SCが
論理レベルrHJに仏ち上がり(同図(e)参照)、同
時にフリップフロップ4の出力信号SQが論理1/ペル
rHJに立ち上がる(同図(f)参照)。After this, the reader 1 prints the black mark M22 at the time t5.
When the white mark M12 of width W2 is scanned from
is much larger than the reference width Wl, so the level of the signal SI exceeds that of the signal SP at time t6, as shown in FIG. 3(C). Therefore, the output signal SC of the comparator 10 rises to the logic level rHJ (see (e) in the same figure), and at the same time, the output signal SQ of the flip-flop 4 rises to the logic level rHJ (see (f) in the same figure). .
そして、上記白色マークM12の走査が終了した時点t
7で上記信号面が立ち下がると(同図(g)参照)、シ
フトレジスタ6は全記憶内容を1桁シフトすると同時に
LSBにデータ“1”を記憶する。Then, at the time t when the scanning of the white mark M12 is completed,
When the signal level falls at step 7 (see (g) in the same figure), the shift register 6 shifts all stored contents by one digit and at the same time stores data "1" in the LSB.
しかして、読取器1が白色マークM131M14および
M I Sを順次走査するたびに、上述と同様の作用に
よりシフトレジスタ6は全記憶内容を1桁シフトすると
同時にLSBにそれぞれデーダlo%%tlllおよび
II I IIを記憶し、これによって読取器1による
バーコードBCの走査が終了した時点で、上記シフトレ
ジスタ6にはデータ゛’001011’が記憶される。Therefore, each time the reader 1 sequentially scans the white marks M131M14 and MIS, the shift register 6 shifts the entire stored contents by one digit and simultaneously transfers the data lo%%tllll and II to the LSB by the same action as described above. When the bar code BC is scanned by the reader 1, data ``001011'' is stored in the shift register 6.
さて、上記カウンタ3は、上記白色マークM15に対応
して信号SRが立ち上がった時点で、その計数内容が「
6」になり、同時に論理レベルrHJの信号SD、をア
ンド回路11に出力する。該アンド回路11の他入力端
には、信号SRがインバータ12によって反転された信
号面が加えられておυ、したがって上記読取器1が白色
マークMIBの走査を終了した時点で上記信号面が立ち
上がると該アンド回路11の出力SAが論理レベルrH
Jに立ち上がる。これによって、上記シフトレジスタ6
に記憶されているデータがケ゛−ト回路13を介して次
段のデータ処理部(図示せず)に出力され、同時に上記
ピーク保持回路8がリセットされる。また、上記信号S
Aは遅延回路14を介してカウンタ3のリセット入力端
Rに加えられ、これによって上記カウンタ3がリセット
される。Now, when the signal SR rises corresponding to the white mark M15, the counter 3 changes its count to "
6'' and at the same time outputs the signal SD of logic level rHJ to the AND circuit 11. A signal plane obtained by inverting the signal SR by an inverter 12 is applied to the other input terminal of the AND circuit 11, so that the signal plane rises when the reader 1 finishes scanning the white mark MIB. and the output SA of the AND circuit 11 is at logic level rH.
Stand up to J. As a result, the shift register 6
The data stored in the gate circuit 13 is outputted to the next stage data processing section (not shown), and at the same time the peak holding circuit 8 is reset. In addition, the above signal S
A is applied to the reset input R of the counter 3 via the delay circuit 14, thereby resetting the counter 3.
また、上記シフトレジスタ6には、白色マークM I
Oのデータも含めた6ビツトのデータが記憶されるが、
上記データ処理部ではf−)回路13から出力される6
ビツトのデータのうち最上位桁(MSB)のデータ、す
なわち上記白色マークM1oに係るデータは入力しない
ようにしている。Further, the shift register 6 has a white mark M I
6-bit data including O data is stored, but
In the data processing section, f-) 6 output from the circuit 13
The most significant digit (MSB) data of the bit data, that is, the data related to the white mark M1o is not input.
hお、上記比較器10に加える基準電圧は、白色マーク
の幅の精度が低い場合における上記減算器9の誤出力を
防止しうるような値に設定される。Furthermore, the reference voltage applied to the comparator 10 is set to a value that can prevent erroneous output from the subtracter 9 when the accuracy of the width of the white mark is low.
これによシ、第2図に示しだ装置では白色マークの幅の
精度が多少悪くとも、上記バーコードを正確にデータに
変換することができる。Accordingly, the apparatus shown in FIG. 2 can accurately convert the bar code into data even if the accuracy of the width of the white mark is somewhat poor.
上述の実施例では、白色マークの幅を0”、′°1”の
データに対応させ、かつ、黒色マークでこれらの白色マ
ークを区切るようにしているが、黒色マークによってデ
ータをあられし、白色マークでデータを区切るようにす
ることもできる。まだ、バーコードであられす情報のビ
ット長は、上述のように5ビツトに限らず、その長さは
任意に定めることができ、さらには、最終ビットをスト
ップビットとして用いることも可能である。In the above embodiment, the width of the white mark is made to correspond to the data of 0" and '°1", and these white marks are separated by the black mark. You can also use marks to separate data. However, the bit length of the information in the barcode is not limited to 5 bits as described above, and the length can be arbitrarily determined, and furthermore, the last bit can be used as a stop bit.
また、基準となるマークの幅をW□からW2に変更する
こともでき、各幅W 1 + W 2にそれぞれデータ
゛1″ZnO”を割シ当てるようにすることも可能であ
シ、さらに第1図に示しだバーコードBCの両外側にそ
れぞれ黒色マークを追加することによりバーコードBC
をきわだたせるようにしてもよい。In addition, it is also possible to change the width of the reference mark from W□ to W2, and it is also possible to assign data "1"ZnO" to each width W 1 + W 2. By adding black marks on both sides of the barcode BC shown in Figure 1, the barcode BC is created.
You may make it stand out.
さらにまた、第2図に示した実施例とは異なる構成で白
色マークMll”M2Sの幅を判別することも可能であ
る。すなわち、所定周波数のクロック信号を引数するカ
ウンタで読取器1の出力信号のパルス幅を計時させ、上
記白色マークMIOに対応する上記カウンタの計数値と
、白色マークMll〜M I Sにそれぞれ対応する上
記カウンタの計数値とを比較するようにしても、各マー
クの幅を判別することができる。Furthermore, it is also possible to determine the width of the white mark Mll"M2S with a configuration different from that of the embodiment shown in FIG. Even if the pulse width of each mark is measured and the count value of the counter corresponding to the white mark MIO is compared with the count value of the counter corresponding to the white marks Mll to MIS, the width of each mark is can be determined.
以上説明したように、本発明はバーコードの最初に基準
の幅を有するマークを形成し、このマークの幅と以後に
続く々−りの幅とを比較してデータの内容を判別するよ
うにしているから、・り−コードを走査する速度が走査
するたびに変化したり、走査方向が斜めになったとして
も、ノ々−コードを走査している間の速度がほぼ一定で
あれば正確カデータを入力できるという効果を有する。As explained above, according to the present invention, a mark having a standard width is formed at the beginning of a barcode, and the width of this mark is compared with the width of each subsequent mark to determine the content of the data. Therefore, even if the speed at which the code is scanned changes each time it is scanned, or the scanning direction is diagonal, as long as the speed while scanning the code is approximately constant, it will be accurate. This has the effect of allowing input of data.
第1図は、本発明に係る方式に用いるバーコードの一実
施例を示した図、第2図は、本発明に係る方式を適用し
たデータ入力装置の一実施例を示すブロック図、第3図
(、)は、第1図に示したと同じバーコードを示し、同
図(b)〜0〕は、同図(A)に示したバーコードを第
2図に示1−だ装置により読み取ったときにおける上記
装置の動作波形図である。
1・・・読取器、2・・・積分器、3・・・カウンタ、
4・・・D−フリヅゾフロツノ、6・・・シフトレジス
タ、7・・・スイッチ回路、8・・・ピーク保持回路、
9・・・減算器、10・・・比較器、13・・・デート
回路、BC・・・バーコード、Mlo−Ml、−・・白
色マーク、M、l−M、11・・・黒色マーク。FIG. 1 is a diagram showing an example of a barcode used in the method according to the present invention, FIG. 2 is a block diagram showing an example of a data input device to which the method according to the present invention is applied, and FIG. Figures (,) show the same barcodes as shown in Figure 1, and Figures (b) to 0] show the barcodes shown in Figure (A) read by the device shown in Figure 2. FIG. 3 is an operation waveform diagram of the above device when the above device is operated. 1...Reader, 2...Integrator, 3...Counter,
4...D-FrizuzoFlotsuno, 6...Shift register, 7...Switch circuit, 8...Peak holding circuit,
9... Subtractor, 10... Comparator, 13... Date circuit, BC... Barcode, Mlo-Ml, --- White mark, M, l-M, 11... Black mark .
Claims (1)
ークを前記走査方向に所定の配列態様で設けるとともに
、それらのマークの境界部に前記色彩とは識別可能な別
の色彩のマークを介在させてなる・々−コードを用い、
該バーコードの読取の際に、まず上記2種のマークのう
ち最初にあられれるマークの幅を検出してこれを基準幅
とし、以後あられれる前記2種のマークの幅を前記基準
幅と比較してそれらのマークを2値データに変換するこ
とを特徴としたバーコードを用いたデータ入力方式。Two types of marks of the same color with different widths in the scanning direction are provided in a predetermined arrangement in the scanning direction, and a mark of a different color distinguishable from the color is interposed at the boundary between these marks. Using the code,
When reading the barcode, first detect the width of the mark that appears first among the two types of marks, use this as a reference width, and compare the widths of the two types of marks that appear thereafter with the reference width. A data input method using barcodes, which is characterized by converting those marks into binary data.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP57110982A JPS59776A (en) | 1982-06-28 | 1982-06-28 | Data input system using bar code |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP57110982A JPS59776A (en) | 1982-06-28 | 1982-06-28 | Data input system using bar code |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPS59776A true JPS59776A (en) | 1984-01-05 |
Family
ID=14549398
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP57110982A Pending JPS59776A (en) | 1982-06-28 | 1982-06-28 | Data input system using bar code |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS59776A (en) |
-
1982
- 1982-06-28 JP JP57110982A patent/JPS59776A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US3838251A (en) | Method of interpreting a coded record | |
| US4140271A (en) | Method and apparatus to read in bar-coded information | |
| US3980960A (en) | Signal width and width ratio determining apparatus | |
| EP0390162A2 (en) | An apparatus for reading a bar code | |
| US5317136A (en) | Information reading device which controls communication interrupt signal from a host system | |
| GB1413534A (en) | Coded record method of encoding and method of and system for interpreting the record | |
| US3752963A (en) | Method of and apparatus for interpreting a coded record | |
| US3637991A (en) | Photoelectric readout apparatus | |
| EP0039921A2 (en) | Encoder device and method of use of it | |
| JP2500859B2 (en) | Bar code reader | |
| JPS59776A (en) | Data input system using bar code | |
| US3758752A (en) | Automatic vehicle identification | |
| US3245037A (en) | Character-recognition apparatus utilizing columnar variations from a reference line | |
| US3576428A (en) | Wideband label reading apparatus | |
| JPH057754B2 (en) | ||
| JPS6230114Y2 (en) | ||
| US3689898A (en) | Information processing system | |
| JPS6223349B2 (en) | ||
| JPS6120912B2 (en) | ||
| JP2576370B2 (en) | ID mark reading device | |
| US3768023A (en) | Pulse width discriminator using difference amplifiers and threshold setting means | |
| JPS63178376A (en) | Barcode pattern recognition device | |
| JPS6134407A (en) | Dimension measurement method | |
| JPS58221467A (en) | Bar code reading system | |
| JPH0121389Y2 (en) |