JP2733951B2 - Barcode reader - Google Patents

Barcode reader

Info

Publication number
JP2733951B2
JP2733951B2 JP63099144A JP9914488A JP2733951B2 JP 2733951 B2 JP2733951 B2 JP 2733951B2 JP 63099144 A JP63099144 A JP 63099144A JP 9914488 A JP9914488 A JP 9914488A JP 2733951 B2 JP2733951 B2 JP 2733951B2
Authority
JP
Japan
Prior art keywords
bar
black
white
microprocessor
memory
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
JP63099144A
Other languages
Japanese (ja)
Other versions
JPH01270181A (en
Inventor
幹雄 山口
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sumitomo Electric Industries Ltd
Original Assignee
Sumitomo Electric Industries 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 Sumitomo Electric Industries Ltd filed Critical Sumitomo Electric Industries Ltd
Priority to JP63099144A priority Critical patent/JP2733951B2/en
Publication of JPH01270181A publication Critical patent/JPH01270181A/en
Application granted granted Critical
Publication of JP2733951B2 publication Critical patent/JP2733951B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はバーコード読取装置に関するものである。現
在におけるマイクロプロセッサ技術の点からは、本発明
は特にレーザービーム走査式バーコード読取装置に用い
ると効果が大きい。
Description: TECHNICAL FIELD The present invention relates to a bar code reader. In terms of current microprocessor technology, the invention is particularly effective when used in laser beam scanning bar code readers.

〔従来の技術〕[Conventional technology]

光学的に異なる二種類(白と黒の場合が一般的であ
り、以下単に白と黒で代表して示す)のバーを交互にな
らべ、バーの幅に情報を持たせて符号を表現したバーコ
ードがPOSシステム等に広く普及している。このバーコ
ードを読み取る装置がバーコード読取装置であり、レー
ザービームを走査してバーコードを読み取る、手持ち式
のレーザービーム走査式バーコード読取装置の従来技術
を、本発明の実施例を示す第1図を用いて説明する。
Two types of bars that are optically different (white and black are common, and are simply referred to as white and black hereinafter) are alternately arranged, and the bar width is represented by a sign with information provided. The code is widely used in POS systems and the like. An apparatus for reading the barcode is a barcode reader, which is a first embodiment of the present invention, which shows a prior art of a hand-held laser beam scanning barcode reader that scans a barcode by scanning a laser beam. This will be described with reference to the drawings.

第1図において、1はスキャナであり、手2で持っ
て、バーコードの記載されたバーラベル3に向ける。ス
キャナ内蔵の半導体レーザ4からはレーザ光が発せられ
走査機構5により左右に光学的に振られてバーラベル3
が走査される。走査機構5は例えば回転多面鏡によって
実現されている。バーに照射されたレーザ光はバーの白
/黒によって強度が変調されて反射し、光電変換素子6
に入力され、ここにおいて電気信号に変換される。その
後二値化回路7により白/黒を示す二値化信号に変換さ
れ、バー幅測定回路8によりバーの幅を示すデータに変
換され、バーデコード・編集・出力部9により、バーの
示す符号に復元され、所定のコードで出力される。以上
のバー読み取り動作はスイッチ10により起動される。
In FIG. 1, reference numeral 1 denotes a scanner which is held by a hand 2 and directed to a bar label 3 on which a bar code is described. A laser beam is emitted from a semiconductor laser 4 having a built-in scanner, and is optically oscillated right and left by a scanning mechanism 5 to form a bar label 3.
Is scanned. The scanning mechanism 5 is realized by, for example, a rotary polygon mirror. The intensity of the laser beam applied to the bar is modulated by the white / black of the bar and reflected, and the photoelectric conversion element 6
And converted into an electric signal here. Thereafter, the signal is converted into a binary signal indicating white / black by a binarization circuit 7, converted into data indicating a bar width by a bar width measurement circuit 8, and a bar decoding / editing / output unit 9 outputs a code indicating the bar. And output with a predetermined code. The above bar reading operation is started by the switch 10.

従来技術によるバー幅測定回路8の内部構成を第2図
に示す。白/黒を示す二値化信号35の変化(白から黒
へ、また黒から白へ)はエッジ検出回路31で検出され
る。カウンタ32はエッジ検出回路31が変化を検出してか
らのクロック34を数えており、ラッチ33でエッジ検出回
路31が変化を検出したときのカウンタ32の値を保持する
ことで、バーの幅をカウンタ値として記憶する。カウン
タ32が初期化され、次のバーのためのカウントを始める
のは、ラッチ33による記憶作用の後である。
FIG. 2 shows the internal configuration of the bar width measuring circuit 8 according to the prior art. The change of the binary signal 35 indicating white / black (from white to black and from black to white) is detected by the edge detection circuit 31. The counter 32 counts the clock 34 after the edge detection circuit 31 detects the change, and the latch 33 holds the value of the counter 32 when the edge detection circuit 31 detects the change, thereby reducing the width of the bar. It is stored as a counter value. It is after the store operation by the latch 33 that the counter 32 is initialized and starts counting for the next bar.

従来技術ではバーデコード・編集・出力部9はマイク
ロプロセッサで実現されている。第2図の回路で測定さ
れたバー幅を示すカウント値データ38は、マイクロプロ
セッサにおいては割り込み処理で読み込まれる。割り込
み信号36はラッチ33にカウント値が保持されたことをマ
イクロプロセッサに示すためのものであり、マイクロプ
ロセッサは割り込み信号36が来ることによりカウント値
データ38と白黒情報37を読み込む。カウント値データ38
は白のバーに対しても、黒のバーに対しても得られる
が、どちらのバーに対してデータが得られたかを示すた
めの情報が白黒情報37である。
In the prior art, the bar decode / edit / output unit 9 is realized by a microprocessor. The count value data 38 indicating the bar width measured by the circuit shown in FIG. 2 is read by an interrupt process in the microprocessor. The interrupt signal 36 is for indicating to the microprocessor that the latch 33 holds the count value, and the microprocessor reads the count value data 38 and the monochrome information 37 when the interrupt signal 36 is received. Count value data 38
Is obtained both for the white bar and the black bar, but the information indicating which bar the data was obtained is the black and white information 37.

極めて細いバーが連続したことによりマイクロプロセ
ッサの割り込み処理が追い付かず、そのためカウント値
データ38の取りこぼしがあると、それ以降の白と黒の書
込み位置が逆転するので、バーコードの読取りが不可能
となる。このような場合でも白と黒の区別を可能にして
バーコードの読取りを可能にするために、カウント値デ
ータ38の他に白黒情報37を取込むことは必須の要件とな
る。
The interrupt processing of the microprocessor could not catch up because of the extremely narrow bars, and if the count value data 38 was missed, the subsequent white and black writing positions would be reversed, making it impossible to read the barcode. Become. Even in such a case, in order to make it possible to distinguish between white and black and to read a barcode, it is an essential requirement to take in the black and white information 37 in addition to the count value data 38.

従来技術のマイクロプロセッサにおける割り込み処理
のフローチャートを第3図(a)に示す。とは割り
込み処理のためにレジスタを退避・復帰させるための処
理である。はカウント値データ38を読み込んでメモリ
に書く処理、は白黒情報37を読み込んでメモリに書く
処理である。第3図(b)は(a)のフローチャートに
よってメモリに書き込まれた内容を概念的に示したもの
である。白黒情報37は本来は1ビットで表すことができ
るが、通常のマイクロプロセッサではビット単位に書き
込む場所を調整することは繁雑(プログラムが面倒にな
り、処理時間がかかる)なので、1ワード(マイクロプ
ロセッサがメモリに読み書きするときの最小単位)で表
現して書き込んでいる。
FIG. 3A shows a flowchart of the interrupt processing in the conventional microprocessor. Is processing for saving and restoring registers for interrupt processing. Is a process of reading the count value data 38 and writing it to the memory, and is a process of reading the black and white information 37 and writing it to the memory. FIG. 3B conceptually shows the contents written in the memory according to the flowchart of FIG. The black-and-white information 37 can be originally represented by one bit, but it is complicated (adjusting a program to be troublesome and processing time) to adjust a writing place in a bit unit in a normal microprocessor. Is the minimum unit for reading from and writing to memory).

〔発明が解決しようとする課題〕[Problems to be solved by the invention]

レーザビーム走査式バーコード読取装置の場合、スキ
ャナから離れた位置にあるバーラベルに記載された細い
バー(短い時間間隔で割り込み信号が発生する)を読む
ためには、白バーまたは黒バーに対応して第3図(a)
の処理を約25μsec程度で行う必要があることが判っ
た。一方、比較的安価なマイクロプロセッサではこの処
理を25μsecで行うことは難しい。
In the case of a laser beam scanning bar code reader, to read a thin bar (interrupt signal is generated at short time intervals) written on a bar label at a position away from the scanner, it is necessary to correspond to a white bar or a black bar. FIG. 3 (a)
Has to be performed in about 25 μsec. On the other hand, it is difficult for a relatively inexpensive microprocessor to perform this processing in 25 μsec.

本発明は、この点を解消するために案出されたもの
で、遅い割り込み処理であるにも拘らず、比較的少ない
回路の増加により細いバーでも読める装置を実現するこ
とを目的としている。
The present invention has been devised to solve this problem, and it is an object of the present invention to realize a device which can read even a thin bar by increasing a relatively small number of circuits despite slow interrupt processing.

〔課題を解決するための手段〕[Means for solving the problem]

上記の目的を達成するために、本発明は光学的に異な
る二種類(以下、各種類をaとbで表す)のバーが交互
に記載された符号を光学的に操作して読み取るバーコー
ド読取装置において、 aのバーの幅を表すデータを記憶する記憶手段と、 bのバーの幅を表すデータを記憶する記憶手段と、 バーデコード・編集・出力機能を有すると共にメモリ
を備えたマイクロプロセッサと、 上記の走査によるaからbへの変化時点、又はbから
aへの変化時点において、上記マイクロプロセッサに割
り込み処理を開始せしめる割り込み指示手段とを有し、 上記マイクロプロセッサのメモリに上記データを書込
むときの位置が上記記憶手段にそれぞれ対応しており、 上記マイクロプロセッサにおける割り込み処理におい
て、上記両方の記憶手段に対応したデータの読取りと、
上記メモリへの書込みの処理とを行なうように構成した
ものである。
In order to achieve the above object, the present invention provides a bar code reader for optically operating a code in which two types of optically different bars (hereinafter, each type is represented by a and b) are alternately described. A storage means for storing data representing the width of the bar a; a storage means for storing data representing the width of the bar b; a microprocessor having a bar decoding / editing / outputting function and having a memory; Interrupt instructing means for causing the microprocessor to start an interrupt process at the time of the change from a to b or the change from b to a by the scanning; and writing the data to the memory of the microprocessor. The positions at which they are inserted correspond to the storage means, respectively, and in the interrupt processing in the microprocessor, they correspond to the two storage means. And reading of data,
It is configured to perform the process of writing to the memory.

〔作用〕[Action]

a、bのバー幅に対応したデータが両方の記憶手段に
蓄えられる。光学的な走査によるaからbへの変化時
点、又はbからaへの変化時点において、割り込み指示
手段(後述の実施例では割り込み信号)によりマイクロ
プロセッサが割り込み処理を行う。その割り込み処理に
おいて、マイクロプロセッサは、上記両方の記憶手段に
蓄えられたデータをそれぞれ各記憶手段に対応して設け
られたメモリに書込む処理を行う。このように、aから
bへの変化時点、又はbからaへの変化時点において両
方の記憶手段に蓄えられたデータを取り込んで、各記憶
手段に対応して設けられたメモリに書き込むので、a、
b二種類のデータが常に組になって取り込まれ、a、
b、a、b……の順、又はb、a、b、a……の順に書
き込まれる。従って、aかbかを区別する信号(従来技
術における白黒情報37)は不要となる。
Data corresponding to the bar widths a and b are stored in both storage units. At the point in time when the optical scanning changes from a to b or from b to a, the microprocessor performs interrupt processing by interrupt instructing means (an interrupt signal in the embodiment described later). In the interrupt process, the microprocessor performs a process of writing the data stored in both of the storage units into the memories provided for the respective storage units. As described above, at the time of the change from a to b or at the time of the change from b to a, the data stored in both storage means is fetched and written into the memory provided corresponding to each storage means. ,
b The two kinds of data are always taken as a set, and a,
are written in the order of b, a, b,... or in the order of b, a, b, a,. Therefore, a signal for discriminating between a and b (black and white information 37 in the related art) becomes unnecessary.

〔実施例〕〔Example〕

第1図は本発明の実施例に係るバーコード読取装置を
示すものであり、その全体構成は従来技術として前述し
た内容と同様であるが、バー幅測定回路8の内部構成、
マイクロプロセッサで実現されるバーデコード・編集・
出力部9の処理内容、マイクロプロセッサのメモリに書
込まれるデータの内容において相違する。
FIG. 1 shows a bar code reader according to an embodiment of the present invention. The overall configuration is the same as that of the prior art described above.
Bar decoding, editing, and
The processing contents of the output unit 9 and the contents of data written to the memory of the microprocessor are different.

即ち、本発明の場合のバー幅測定回路8の内部構成
は、第4図に示すとおりである。図中エッジ検出回路3
1、カウンタ32及びエッジ検出回路31に入力される二値
化信号35、カウンタ32に入力されるクロック34は第2図
の場合と同様であり、エッジ検出回路31は二値化信号35
の白から黒へ、黒から白への変化を検出し、カウンタ32
は白バー、黒バーの幅をカウント値として測定する手段
である。51は黒バーの期間の終わりにカウンタ32の値を
保持する黒バー用ラッチであり、白バーの期間に終わり
に他の黒バー用ラッチ52が上記黒バー用ラッチ51に保持
されている黒カウント値データを保持し、白バー用ラッ
チ53はカウンタ32の出力する白カウント値データを保持
する。上記の黒バー用ラッチ52と、白バー用ラッチ53
が、それぞれ黒及び白のバー幅を表すデータの記憶手段
となる。
That is, the internal configuration of the bar width measuring circuit 8 in the case of the present invention is as shown in FIG. Edge detection circuit 3 in the figure
1, the binary signal 35 input to the counter 32 and the edge detection circuit 31 and the clock 34 input to the counter 32 are the same as in the case of FIG.
Changes from white to black and from black to white
Is a means for measuring the width of the white bar and the black bar as a count value. Reference numeral 51 denotes a black bar latch that holds the value of the counter 32 at the end of the black bar period.At the end of the white bar period, another black bar latch 52 holds the black bar latch 51 held by the black bar latch 51. The count value data is held, and the white bar latch 53 holds the white count value data output from the counter 32. Latch 52 for black bar and latch 53 for white bar
Are storage means for data representing the bar widths of black and white, respectively.

上記の白黒1組のバー幅のデータが揃った時点、即ち
白バーの期間の終わり(言替えれば、二値化信号35の白
から黒への変化時点)、割り込み信号54によって、マイ
クロプロセッサに取込みの開始を指示する割り込み処理
が開始され、マイクロプロセッサは黒バー用ラッチ52に
記憶された黒カウント値データ55と白バー用ラッチ53に
記憶された白カウント値データ56を読み込む。
At the time when the data of one set of black and white bar widths is completed, that is, at the end of the period of the white bar (in other words, at the time when the binary signal 35 changes from white to black), the interrupt signal 54 informs the microprocessor. The interrupt processing for instructing the start of capture is started, and the microprocessor reads the black count value data 55 stored in the black bar latch 52 and the white count value data 56 stored in the white bar latch 53.

上記の割り込み信号54による割り込み指示に従って、
各データ55、56を読み込むための割り込み処理が実行さ
れる。その割り込み処理のフローチャートを第5図
(a)に示す。とは、割り込みの開始と終了に必要
な処理であり、それぞれレジスタを退避させる処理と復
帰させる処理を行う。とは、上記のとの間で行
われる処理であり、は黒バー用ラッチ52に記憶された
黒カウント値データ55を読み込んでこれに対応したメモ
リに書き込む処理、は白バー用ラッチ53に記憶された
白カウント値データ56を読み込んでこれに対応したメモ
リに書く処理である。
According to the interrupt instruction by the interrupt signal 54 described above,
Interrupt processing for reading the data 55 and 56 is executed. FIG. 5A shows a flowchart of the interrupt processing. Is a process required to start and end an interrupt, and performs a process of saving and returning a register, respectively. Is a process performed between the above and the above process, is a process of reading the black count value data 55 stored in the black bar latch 52 and writing it to the corresponding memory, and a process of storing the black count value data 55 in the white bar latch 53. This is a process of reading the written white count value data 56 and writing it in a memory corresponding to the data.

第5図(b)は(a)のフローチャートによってメモ
リに書きこまれた内容を概念的に示したものであり、黒
バー用ラッチ52及び白バー用ラッチ53に記憶されたデー
タに対応して、黒カウント値データ1と白カウント値デ
ータ1とを組にして書込み、以下順次同様に書込む。こ
のようにしてメモリに書き込まれる結果、カウント値デ
ータは必ず黒・白・黒・白……の順になる。すなわち、
先頭から奇数番目まであるか、偶数番目であるかの位置
が二つの記憶手段(黒カウント値データの記憶手段と白
カウント値データの記憶手段)にそれぞれ対応してい
る。
FIG. 5 (b) conceptually shows the contents written in the memory according to the flowchart of FIG. 5 (a), and corresponds to the data stored in the black bar latch 52 and the white bar latch 53. , The black count value data 1 and the white count value data 1 are written as a set, and then written in the same manner. As a result of being written in the memory in this manner, the count value data is always in the order of black / white / black / white. That is,
The position from the beginning to the odd number or the even number corresponds to the two storage means (the storage means for the black count value data and the storage means for the white count value data).

本発明によれば、物品とバーラベルの境界線のごとき
ごく細い黒線を走査した場合に、割り込み処理が間に合
わずにデータの取りこぼしが生じるとしても、常に黒バ
ーと白バーのカウント値データを組にして取り込んでい
るので、白と黒を間違えることはない。すなわち、従来
技術で必要であった白黒情報37は不要である。
According to the present invention, when a very thin black line such as a boundary line between an article and a bar label is scanned, even if interrupt processing is not completed in time and data is lost, the count value data of the black bar and the white bar is always combined. Because it is imported, there is no mistake for black and white. That is, the black-and-white information 37 required in the related art is unnecessary.

第4図の実施例では、カウンタ32は白から黒へ、黒か
ら白への変化時に初期化され、カウンタ32の表すカウン
ト値はバーの幅自体を表している。しかし、マイクロプ
ロセッサが取り込む、バーの幅を表すデータは、バーの
幅そのものでなくてもよい。第4図とは別の実施例とし
て、白から黒へ、黒から白への変化時の初期化は行わ
ず、後で相前後するカウンタ32の値の差を取ることでバ
ーの幅を求めることも可能である。すなわち、カウンタ
32の初期化は走査機構5(第1図参照)による走査の開
始時だけ行っておき、その後はカウンタ32に入力された
クロック34を数えることで、カウンタ32では走査の開始
時からの累積経過時間を測定する。そして、バーの境界
におけるカウンタ32の値をマイクロプロセッサに取り込
んだ後に相前後するカウント値の差を取ることでバーの
幅を求めるという実施例も可能である。
In the embodiment shown in FIG. 4, the counter 32 is initialized when changing from white to black and from black to white, and the count value indicated by the counter 32 represents the width of the bar itself. However, the data representing the width of the bar captured by the microprocessor may not be the bar width itself. As another embodiment different from FIG. 4, the initialization is not performed when changing from white to black and from black to white, and the width of the bar is obtained by taking the difference between the values of the counters 32 that come after each other. It is also possible. That is, the counter
The initialization of 32 is performed only at the start of scanning by the scanning mechanism 5 (see FIG. 1), and thereafter, the clock 32 input to the counter 32 is counted, so that the counter 32 counts the accumulated elapsed time from the start of scanning. Measure time. Then, an embodiment is also possible in which the value of the counter 32 at the bar boundary is taken into the microprocessor and then the difference between the count values before and after the value is taken to determine the width of the bar.

また、第4図では51、52は黒バー用ラッチ、53は白バ
ー用ラッチとし、白から黒へ二値化信号35が変化すると
きに、マイクロプロセッサに割り込み信号を与えている
が、白と黒を逆にして、51、52を白バー用ラッチ、53を
黒バー用ラッチとし、黒から白への変化時点でマイクロ
プロセッサに割り込みをかける実施例も可能である。
In FIG. 4, latches 51 and 52 are black bar latches, and 53 is a white bar latch. When the binary signal 35 changes from white to black, an interrupt signal is given to the microprocessor. The embodiment in which black and white are reversed, and 51 and 52 are latches for a white bar and 53 is a latch for a black bar, and the microprocessor is interrupted at the time of change from black to white is also possible.

〔発明の効果〕〔The invention's effect〕

本発明は以下のような効果を持つ。 The present invention has the following effects.

(1)取り込み能力の向上 第3図(a)の従来技術によるフローチャートと、第
5図(a)のフローチャートを比較した場合、第3図
(a)のの処理は結局1ワードの読み込み処理を行っ
ており、第5図の(a)のの処理も1ワードの読み込
み処理で実現されているなら、両フローチャートの割り
込み処理時間は同じである。すなわち、従来技術では割
り込み処理によって1つのバー幅カウント値データしか
読めなかったが、本発明を利用した割り込み処理は同じ
処理時間でありながら、2つのバー幅カウント値データ
が読める。この場合、もし同じマイクロプロセッサを用
いるならば、従来技術に比較して2倍高速な取り込み処
理が可能になるので従来の1/2の幅のバーも読み込み処
理ができるようになる。あるいは、同じ幅のバーを読む
ならば、従来技術に比較して1/2の速度の処理能力を持
つマイクロプロセッサを用いることができ、装置の低廉
化に役立つ。
(1) Improvement of Capturing Ability When comparing the flowchart of the prior art of FIG. 3 (a) with the flowchart of FIG. 5 (a), the processing of FIG. 3 (a) ends up reading one word. If the processing of FIG. 5A is also realized by the one-word reading processing, the interrupt processing time of both flowcharts is the same. That is, in the related art, only one bar width count value data can be read by the interrupt processing. However, the interrupt processing using the present invention can read two bar width count value data in the same processing time. In this case, if the same microprocessor is used, the reading process can be performed twice as fast as that of the conventional technology, so that the bar having a half width of the conventional bar can be read. Alternatively, if a bar of the same width is read, a microprocessor capable of processing at half the speed of the prior art can be used, which helps to reduce the cost of the apparatus.

(2)使用メモリの低減 第3図(b)と第5図(b)を比較して判るように、
本発明を用いてバー幅カウント値を取り込むと白黒情報
を記憶する必要が無くなるので、それだけメモリの使用
効果が高くなる。もし、白黒情報とカウント値データが
共に1ワードの領域を占めるならば、本発明では従来の
1/2の容量で従来と同等の記憶を行える。このようにし
て本発明では、メモリを節約できるので、装置の低廉化
に役立つ。
(2) Reduction of Memory Used As can be seen by comparing FIG. 3 (b) and FIG. 5 (b),
When the bar width count value is fetched by using the present invention, it is not necessary to store the black and white information, so that the use effect of the memory is increased accordingly. If both the black and white information and the count value data occupy one word area, the present invention
With half the capacity, the same storage as before can be performed. In this way, the present invention can save the memory, which is useful for reducing the cost of the device.

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

第1図は、本発明の実施例に係るレーザー走査式バーコ
ード読取装置のブロック図、 第2図は、従来技術に係るバー幅測定回路、 第3図(a)は、従来技術に係るマイクロプロセッサの
割り込み処理のフローチャート図、同(b)は、同じく
メモリ上の記憶内容の説明図、 第4図は、本発明の実施例に係るバー幅測定回路、 第5図(a)は、本発明の実施例に係るマイクロプロセ
ッサの割り込み処理のフローチャート図、同(b)は、
同じくメモリ上の記憶内容の説明図、 である。 1……スキャナ、2……手、 3……バーラベル、4……半導体レーザ、 5……走査機構、6……光電変換素子、 7……二値化回路、8……バー幅測定回路、 9……バーデコード・編集・出力部、10……押しボタン
スイッチ、 31……エッジ検出回路、32……カウンタ、 33……ラッチ、34……クロック 35……二値化信号、36……割り込み信号、 37……白黒情報、38……カウント値データ、 51……黒バー用ラッチ、52……黒バー用ラッチ、 53……白バー用ラッチ、54……割り込み信号、 55……黒カウント値データ、56……白カウント値デー
タ。
FIG. 1 is a block diagram of a laser scanning bar code reader according to an embodiment of the present invention, FIG. 2 is a bar width measuring circuit according to the prior art, and FIG. FIG. 4 (b) is an explanatory diagram of the contents stored in the memory, FIG. 4 (b) is a bar width measuring circuit according to an embodiment of the present invention, and FIG. FIG. 4B is a flowchart of an interrupt process of the microprocessor according to the embodiment of the present invention.
FIG. DESCRIPTION OF SYMBOLS 1 ... scanner, 2 ... hand, 3 ... bar label, 4 ... semiconductor laser, 5 ... scanning mechanism, 6 ... photoelectric conversion element, 7 ... binarization circuit, 8 ... bar width measurement circuit, 9: Bar decode / edit / output unit, 10: Push button switch, 31: Edge detection circuit, 32: Counter, 33: Latch, 34: Clock 35: Binarized signal, 36: Interrupt signal, 37: Black and white information, 38: Count value data, 51: Latch for black bar, 52: Latch for black bar, 53: Latch for white bar, 54: Interrupt signal, 55: Black Count value data, 56 ... White count value data.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】光学的に異なる二種類(以下、各種類をa
とbで表す)のバーが交互に記載された符号を光学的に
走査して読み取るバーコード読取装置において、 aのバーの幅を表すデータを記憶する記憶手段と、 bのバーの幅を表すデータを記憶する記憶手段と、 バーデコード・編集・出力機能を有すると共にメモリを
備えたマイクロプロセッサと、 上記の走査によるaからbへの変化時点、又はbからa
への変化時点において、上記マイクロプロセッサに割り
込み処理を開始せしめる割り込み指示手段とを有し、 上記マイクロプロセッサのメモリに上記データを書込む
ときの位置が上記記憶手段にそれぞれ対応しており、 上記マイクロプロセッサにおける割り込み処理におい
て、上記両方の記憶手段に対応したデータの読取りと、
上記メモリへの書込みの処理とを行なうように構成され
ていることを特徴とするバーコード読取装置。
An optically different type (hereinafter, each type is referred to as a
And b) a bar code reading device that optically scans a code in which bars described alternately are read and stores data representing the width of the bar of a, and represents the width of the bar of b. A storage means for storing data; a microprocessor having bar decoding / editing / outputting functions and having a memory; and a time point of change from a to b or b to a by the above scanning.
Interrupt instruction means for causing the microprocessor to start interrupt processing at the time of the change to, the position at which the data is written to the memory of the microprocessor corresponds to the storage means, respectively, In the interrupt processing in the processor, reading of data corresponding to both of the storage means,
A bar code reader configured to perform the processing of writing to the memory.
JP63099144A 1988-04-21 1988-04-21 Barcode reader Expired - Lifetime JP2733951B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63099144A JP2733951B2 (en) 1988-04-21 1988-04-21 Barcode reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63099144A JP2733951B2 (en) 1988-04-21 1988-04-21 Barcode reader

Publications (2)

Publication Number Publication Date
JPH01270181A JPH01270181A (en) 1989-10-27
JP2733951B2 true JP2733951B2 (en) 1998-03-30

Family

ID=14239507

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63099144A Expired - Lifetime JP2733951B2 (en) 1988-04-21 1988-04-21 Barcode reader

Country Status (1)

Country Link
JP (1) JP2733951B2 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5377136A (en) * 1976-12-20 1978-07-08 Omron Tateisi Electronics Co Information read-in system

Also Published As

Publication number Publication date
JPH01270181A (en) 1989-10-27

Similar Documents

Publication Publication Date Title
JP3004017B2 (en) Barcode decryption method
EP0390162A2 (en) An apparatus for reading a bar code
US5196684A (en) Method and apparatus for improving the throughput of a CCD bar code scanner/decoder
JP3230612B2 (en) 2D barcode reader
JPH0934982A (en) Method for readout of decodable display of one-dimensional (1d) or two-dimensional (2d) bar-code symbol and bar-code reader used for it
US5821520A (en) Bar code scanning system with the pre-decoding signal processing and method for bar code candidate selection for decoding
EP0029456B1 (en) Slot scanning system
JPH0354388B2 (en)
KR19980070175A (en) Bar code reading method
JPH0464187A (en) Bar code reader
JP2733951B2 (en) Barcode reader
US5686716A (en) Bar code void and spot discrimination
JP3018702B2 (en) Barcode demodulator
JP2725221B2 (en) Barcode reader
JPH0765104A (en) Bar code reader
JPH0765106A (en) Bar code reader
JP2604358B2 (en) Barcode demodulator
JPS6318482A (en) Bar code demodulator
JP2853357B2 (en) Barcode reader
JP2677806B2 (en) Code reader
JPS63266585A (en) Readout control system
JP2923375B2 (en) Barcode reader
JP2778870B2 (en) Barcode decoder
JP3069817B2 (en) Barcode reader
JPH0786905B2 (en) Bar code reader