JPH06251183A - Bar code reader and bar code display medium used in the same - Google Patents

Bar code reader and bar code display medium used in the same

Info

Publication number
JPH06251183A
JPH06251183A JP5036480A JP3648093A JPH06251183A JP H06251183 A JPH06251183 A JP H06251183A JP 5036480 A JP5036480 A JP 5036480A JP 3648093 A JP3648093 A JP 3648093A JP H06251183 A JPH06251183 A JP H06251183A
Authority
JP
Japan
Prior art keywords
bar
wide
narrow
width
bar code
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
Application number
JP5036480A
Other languages
Japanese (ja)
Inventor
Genichi Tamaoki
元一 玉置
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.)
Ricoh Co Ltd
Ricoh Educational Equipment Co Ltd
Original Assignee
Ricoh Co Ltd
Ricoh Educational Equipment Co 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 Ricoh Co Ltd, Ricoh Educational Equipment Co Ltd filed Critical Ricoh Co Ltd
Priority to JP5036480A priority Critical patent/JPH06251183A/en
Priority to TW83101419A priority patent/TW232064B/en
Priority to CN 94103262 priority patent/CN1033109C/en
Publication of JPH06251183A publication Critical patent/JPH06251183A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To surely read a bar code even when bar code scanning speed is remarkably fluctuated without increasing the number of synchronous bars. CONSTITUTION:A counter part 12 measures a time in accordance with bar width every bar corresponding to high/low level signals outputted corresponding to a bar on a bar code display medium 1 and space from a photoelectric conversion part 11, and a reading timing calculation means 15 calculates the reading timing of the output signal level of the photoelectric conversion part 11 to discriminate whether the next bar is a wide bar or a narrow bar at every case from the count value of the counter and a discriminated result whether a measured bar is the wide bar or the narrow bar, and a bar width discrimination means 14 reads the signal level at a calculated timing, then, the wideness/ narrowness of the bar is decided.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、バーコード表示媒体
上に表示されたバーコードを読み取り、その読み取った
情報を計算機等で処理可能な信号に変換して出力するバ
ーコード読取装置及びそれに使用するバーコード表示媒
体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a bar code reader for reading a bar code displayed on a bar code display medium, converting the read information into a signal which can be processed by a computer, and outputting the signal. The present invention relates to a barcode display medium.

【0002】[0002]

【従来の技術】従来より、表示されているバーの幅が広
いワイドバーであるか狭いナローバーであるかを判別
し、その判別結果をバーコード読取情報として出力する
バーコード読取装置がある。このような装置に挿着して
バーコードの情報を読み取らせるバーコード表示媒体と
しては、例えば図3に示すようなカード状のものがあ
る。
2. Description of the Related Art Conventionally, there is a bar code reading apparatus which judges whether a displayed bar is a wide bar or a narrow bar and outputs the judgment result as bar code reading information. An example of a bar code display medium that can be inserted into such a device to read bar code information is a card-shaped medium as shown in FIG.

【0003】このバーコード表示媒体1は、一方の面の
一側縁側に複数のバーコードが印刷により表示されてお
り、そのバーコードは矢示Aの読み取り方向に沿って1
つの同期バー2と、複数のバーからなるデータバー3
と、チェックバー4とからなっている。
In this bar code display medium 1, a plurality of bar codes are displayed by printing on one side edge of one surface, and the bar code is 1 along the reading direction of arrow A.
One synchronization bar 2 and a data bar 3 consisting of multiple bars
And a check bar 4.

【0004】その同期バー2は、読み取り方向に配列さ
れたデータバー3以降の各バーが幅の広いワイドバーで
あるか幅の狭いナローバーであるかを判別するために、
後述する光電変換部の出力信号レベルを読み取るタイミ
ングを決定するために使用する幅の広いバーであり、デ
ータバー3は同期バー2と同様なバー幅の広い複数のワ
イドバー3wと幅の狭い複数のナローバー3nとを所要
の順序及び組合せで配置したバーであり、チェックバー
4はその読み取った情報の正誤を確認するために使用す
る幅の広いバーである。このバーコード表示媒体1は、
バーコード読取装置に挿着されてそのバーの部分が走査
されると、そこに表示されている情報が順次読み取られ
る。
The synchronizing bar 2 determines whether each bar after the data bar 3 arranged in the reading direction is a wide bar having a wide width or a narrow bar having a narrow width.
The data bar 3 is a wide bar used to determine the timing of reading the output signal level of the photoelectric conversion unit, which will be described later. The data bar 3 has a wide bar similar to the synchronization bar 2 and a wide bar 3w and a narrow bar. The narrow bar 3n is arranged in a required order and combination, and the check bar 4 is a wide bar used to confirm the correctness of the read information. This barcode display medium 1 is
When the bar is inserted into the bar code reader and the bar portion is scanned, the information displayed thereon is sequentially read.

【0005】それを読み取るバーコード読取装置は、例
えば反射型のフォトセンサ5を有する光電変換部によっ
て、挿着されたバーコード表示媒体1を読み取り方向
(図3の矢示A方向)に沿って走査して、バーコードを
構成するバーとその間のスペースとをハイ/ローのレベ
ル信号に変換し、各バーがワイドバーであるかナローバ
ーであるかを順次判別してそれをバーコード読取情報と
して出力する。
The bar code reading device for reading the bar code display medium 1 inserted in the bar code display medium 1 along the reading direction (direction indicated by an arrow A in FIG. 3) by a photoelectric conversion unit having a reflection type photo sensor 5, for example. By scanning, the bars that make up the bar code and the space between them are converted into high / low level signals, and it is sequentially determined whether each bar is a wide bar or a narrow bar, and that is used as bar code reading information. Output.

【0006】その読み取ったバーがワイドバーであるか
ナローバーであるかの判別は、例えば次に示すような方
法で行なっている。図3に示したバーコード表示媒体1
を矢示Aと反対方向に搬送すると、光電変換部のフォト
センサ5が、図4の(a)に示すバー配列を走査して
(b)に示すレベル信号(実際には2値化した信号)を
出力する。その際、最初の同期バー2の読み取り方向の
バー幅Wbをクロック信号のカウントによって計測し、
カウント値(時間)Taを得る。
Whether the read bar is a wide bar or a narrow bar is determined by the following method, for example. Bar code display medium 1 shown in FIG.
Is conveyed in the direction opposite to the arrow A, the photosensor 5 of the photoelectric conversion unit scans the bar array shown in FIG. 4A to scan the level signal shown in FIG. 4B (actually a binarized signal). ) Is output. At that time, the bar width Wb in the reading direction of the first synchronization bar 2 is measured by counting the clock signal,
The count value (time) Ta is obtained.

【0007】この同期バー2のカウント値Taによっ
て、データバー3がワイドバーかナローバーかを判別す
るために光電変換部の出力信号レベルを読み取るタイミ
ングを決定する。例えば、図4の(b)〜(d)に示す
ように、光電変換部出力の各立ち上り時点から常に(3
/4)Ta後のタイミング(カウント値)で、その光電
変換部出力の信号レベルを読み取り、それがハイレベル
“1”であればワイドバー、ローレベル“0”であれば
ナローバーと判別していた。
The count value Ta of the synchronizing bar 2 determines the timing at which the output signal level of the photoelectric conversion unit is read in order to determine whether the data bar 3 is a wide bar or a narrow bar. For example, as shown in (b) to (d) of FIG. 4, (3
/ 4) At the timing (count value) after Ta, the signal level of the photoelectric conversion unit output is read, and if it is a high level “1”, it is determined to be a wide bar, and if it is a low level “0”, it is determined to be a narrow bar. It was

【0008】[0008]

【発明が解決しようとする課題】しかしながら、このよ
うにバーコードの読み取り方向の先頭に位置する同期バ
ーのバー幅に応じた読み取り時間Taを基準にしてデー
タバーの各バー幅がワイドバーであるかナローバーであ
るかを読み取るための光電変換部の出力信号レベルの読
み取りタイミングを決定すると、バーコード表示媒体の
搬送速度が大幅に変動したり、あるいはバーコード読取
装置の光電変換部側を移動させる構成の場合にはその光
電変換部の移動速度の変動が大きいと、データバーの各
バーのワイド/ナローを正確に判別できなくなるという
問題点があった。
However, each bar width of the data bar is a wide bar on the basis of the reading time Ta corresponding to the bar width of the synchronization bar positioned at the beginning in the bar code reading direction. If the reading timing of the output signal level of the photoelectric conversion unit for reading whether it is a narrow bar or a narrow bar is determined, the conveyance speed of the barcode display medium fluctuates significantly, or the photoelectric conversion unit side of the barcode reading device is moved. In the case of the configuration, if the movement speed of the photoelectric conversion unit fluctuates greatly, there is a problem that the wide / narrow of each bar of the data bar cannot be accurately determined.

【0009】すなわち、同期バーに比較的近い位置に表
示されているデータバーの場合には、そのデータバーを
読み取っているときの上記搬送速度あるいは移動速度は
同期バーを読み取ったときの速度と殆ど変わらないため
問題はないが、特にデータバーのバー数が多い場合に
は、その読み取り中に上記搬送速度(あるいは移動速
度)が同期バーを読み取ったときの速度に対して大きく
変動してしまうことがあり、そのようなときには例えば
ワイドバーであるときには本来は読み取りタイミング
(3/4)Taでハイレベル“1”を読み取らなければ
ならないところを、読み取りタイミングのずれによりロ
ーレベル“0”を読み取ってしまい、誤った判断をして
しまう恐れがあった。
That is, in the case of a data bar displayed at a position relatively close to the sync bar, the transport speed or moving speed when the data bar is read is almost the same as the speed when the sync bar is read. There is no problem because it does not change, but especially when the number of data bars is large, the above-mentioned transport speed (or moving speed) during reading may greatly fluctuate with respect to the speed when the synchronous bar is read. In such a case, for example, when a wide bar is used, the high level "1" should be read at the reading timing (3/4) Ta, but the low level "0" is read due to the deviation of the reading timing. There was a risk of making a wrong decision.

【0010】そこで、このような誤判断を避けるため
に、同期バーを所定の間隔でデータバーの部分にも設け
るようにすることも考えられるが、そのようにすると同
期バーの数が増える分だけバーコードが長くなり、バー
コード表示媒体上に占めるバーコードの面積の割合が増
加してしまう。また、その読み取りに要する時間も、そ
の分だけ余計にかかるようになるため処理速度が遅くな
ってしまうという問題が生じる。
Therefore, in order to avoid such an erroneous determination, it may be possible to provide the synchronization bar also at the data bar portion at a predetermined interval. However, if this is done, only the number of synchronization bars increases. The bar code becomes longer, and the area ratio of the bar code on the bar code display medium increases. In addition, the time required for the reading becomes extra, and the processing speed becomes slow.

【0011】この発明は上記の問題点に鑑みてなされた
ものであり、バーコード表示媒体上のバーの数を増加さ
せることなく、バーコード表示媒体の搬送速度あるいは
光電変換部の移動速度の変動が大きい場合でも、データ
バーの各バーのワイド/ナローを正確に判別してバーコ
ードを確実に読み取ることができるバーコード読取装置
を提供することを目的とする。また、その装置で各バー
のワイド/ナローが正確に判別されるバーコード表示媒
体を提供することも目的とする。
The present invention has been made in view of the above problems, and changes in the transport speed of the bar code display medium or the moving speed of the photoelectric conversion unit without increasing the number of bars on the bar code display medium. It is an object of the present invention to provide a bar code reader capable of accurately discriminating wide / narrow of each bar of a data bar and reliably reading a bar code even when is large. Another object is to provide a bar code display medium in which the wide / narrow of each bar can be accurately discriminated by the device.

【0012】[0012]

【課題を解決するための手段】この発明は上記の目的を
達成するため、バーコード表示媒体上に表示されたバー
の幅が広いワイドバーと狭いナローバーとからなるバー
コードのバーとその間のスペースとをハイ/ローのレベ
ル信号に変換して出力する光電変換部と、時間を計測す
るカウンタ部と、光電変換部がバーを検知している時間
をカウンタ部に計測させるようにそのカウンタ部を制御
するカウンタ制御部と、算出された読み取りタイミング
での光電変換部の出力信号レベルによって検出したバー
がワイドバーであるかナローバーであるかを判別するバ
ー幅判別手段と、そのバー幅判別手段による判別結果と
カウンタ部が計測したバーの幅に応じたカウント値とか
らバー幅判別手段に次のバーがワイドバーであるかナロ
ーバーであるかを判別させるための光電変換部の出力信
号レベルの読み取りタイミングを算出する読取タイミン
グ算出手段とを設けてバーコード読取装置を構成し、上
記バー幅判別手段による判別結果をバーコード読取情報
として出力するようにしたものである。
SUMMARY OF THE INVENTION In order to achieve the above object, the present invention has a bar code bar consisting of a wide bar having a wide bar and a narrow bar having a narrow bar displayed on a bar code display medium, and a space therebetween. And a photoelectric conversion unit that converts and outputs the high and low level signals, a counter unit that measures time, and a counter unit that causes the counter unit to measure the time when the photoelectric conversion unit detects the bar. A counter control unit for controlling, a bar width discriminating unit for discriminating whether the bar detected by the output signal level of the photoelectric conversion unit at the calculated reading timing is a wide bar or a narrow bar, and the bar width discriminating unit. Based on the discrimination result and the count value according to the width of the bar measured by the counter unit, the bar width discriminating means is informed whether the next bar is a wide bar or a narrow bar. A barcode reading device is configured by providing a reading timing calculation unit that calculates the reading timing of the output signal level of the photoelectric conversion unit for differentiating, and the discrimination result by the bar width discriminating unit is output as barcode reading information. It is the one.

【0013】また、上記バーコード読取装置に使用する
バーコード表示媒体であって、バーコードの読み取り方
向の先頭にバーを読み取るタイミングを決定するための
同期バーを、末尾に読み取った情報の正誤を確認するた
めのチェックバーをそれぞれ表示し、その間に所要の順
序及び組合せでなる複数のワイドバーとナローバーから
なるデータバーを表示し、同期バーとワイドバーのバー
幅が同一であるバーコード表示媒体を提供する。そし
て、そのバーコード表示媒体において、ワイドバーとナ
ローバーのバー幅の比が2対1であるようにするとよ
い。
Further, in the bar code display medium used in the bar code reading device, a synchronization bar for determining the timing of reading the bar is read at the head of the bar code reading direction, and the correctness of the information read at the end is verified. A bar code display medium that displays check bars for confirmation, displays a data bar composed of multiple wide bars and narrow bars in the required order and combination between them, and has the same bar width for the synchronization bar and the wide bar. I will provide a. Then, in the bar code display medium, it is preferable that the ratio of the bar widths of the wide bar and the narrow bar is 2: 1.

【0014】[0014]

【作用】このように構成したバーコード読取装置によれ
ば、光電変換部が出力するハイ/ローのレベル信号に応
じてカウンタ部が各バーごとにそのバー幅に応じた時間
を計測し、そのカウント値と読み取りタイミングでの光
電変換部の出力信号レベルによって検出したバーがワイ
ドバーであるかナローバーであるかの判別結果とから、
読取タイミング算出手段が次のバーがワイドバーである
かナローバーであるかを判別させるための光電変換部の
出力信号レベルの読み取りタイミングをその都度算出
し、その算出したタイミングで次のバーがワイドバーで
あるかナローバーであるかをバー幅判別手段が判別して
いく。
According to the bar code reading apparatus thus constructed, the counter section measures the time corresponding to the bar width of each bar according to the high / low level signal output from the photoelectric conversion section, From the count value and the determination result of whether the bar detected by the output signal level of the photoelectric conversion unit at the read timing is a wide bar or a narrow bar,
The reading timing calculation means calculates the reading timing of the output signal level of the photoelectric conversion unit for determining whether the next bar is the wide bar or the narrow bar each time, and the next bar is the wide bar at the calculated timing. The bar width discriminating means discriminates whether it is a narrow bar or a narrow bar.

【0015】したがって、各バーがワイドバーであるか
ナローバーであるかを判別するために行なう光電変換部
のハイ/ローのレベル信号の読み取りタイミングが、常
に直前に読み取られたバー幅のカウント値とバーの判別
結果を基にして決定されていくため、バーコード表示媒
体の搬送速度あるいは光電変換部の移動速度の変動が大
きい場合でも、各バーのワイド/ナローを正確に判別し
てバーコードを確実に読み取ることができる。
Therefore, the read timing of the high / low level signal of the photoelectric conversion unit for determining whether each bar is a wide bar or a narrow bar is always the count value of the bar width read immediately before. Since it is decided based on the bar discrimination result, even if the transport speed of the bar code display medium or the movement speed of the photoelectric conversion part is large, the bar code can be accurately discriminated from the wide / narrow of each bar. It can be read reliably.

【0016】また、そのバーコード読取装置に使用する
バーコード表示媒体を、バーコードの読み取り方向の先
頭に同期バーを、末尾にチェックバーを、その間にデー
タバーをそれぞれ表示し、その同期バーとワイドバーの
バー幅を同一にしたものにすれば、最初にワイドバーと
同一幅の同期バーが読み取られ、そのバー幅に対応する
カウント値よりも小さく、しかもナローバーのバー幅に
対応するカウント値よりも大きいカウント値を、次のバ
ーがワイドバーであるかナローバーであるかを判別する
ための光電変換部の出力信号レベルの読み取りタイミン
グとすることにより、データバーの最初のバーから各バ
ーのワイド/ナローを正確に判別することができる。
Further, the bar code display medium used in the bar code reading device displays a sync bar at the beginning of the bar code reading direction, a check bar at the end thereof, and a data bar between them, respectively. If the wide bars have the same bar width, the sync bar with the same width as the wide bar is read first, and the count value corresponding to the bar width is smaller than the count value corresponding to that bar width. By setting the count value larger than the above as the reading timing of the output signal level of the photoelectric conversion unit for determining whether the next bar is a wide bar or a narrow bar, each bar from the first bar of the data bar is read. Wide / narrow can be accurately discriminated.

【0017】さらに、上記ワイドバーとナローバーのバ
ー幅の比を2対1にすれば、各バーがワイドバーである
かナローバーであるかの判別タイミングの決定が容易に
なる。
Further, if the ratio of the bar widths of the wide bar and the narrow bar is set to 2: 1, it becomes easy to determine the timing for determining whether each bar is the wide bar or the narrow bar.

【0018】[0018]

【実施例】以下、この発明の実施例を図面に基づいて具
体的に説明する。図1はこの発明によるバーコード読取
装置の一実施例の構成をそれに使用するバーコード表示
媒体と共に示すブロック図、図2はその作用説明に供す
るタイミング図である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT An embodiment of the present invention will be specifically described below with reference to the drawings. FIG. 1 is a block diagram showing the construction of an embodiment of a bar code reading apparatus according to the present invention together with a bar code display medium used for it, and FIG. 2 is a timing chart for explaining its operation.

【0019】図1に示すバーコード読取装置は、バーコ
ード表示媒体1上に表示されたバーの幅が広いワイドバ
ー3wと狭いナローバー3nとからなるバーコードのバ
ーとその間のスペースとをハイ/ローのレベル信号に変
換して出力するフォトセンサ5を備えた光電変換部11
と、時間を計測するカウンタ部12と、光電変換部11
がバーを検知している時間をカウンタ部12に内部で発
生するクロックパルスのカウントによって計測させるよ
うにそのカウンタ部12を制御するカウンタ制御部13
とを設けている。
In the bar code reading apparatus shown in FIG. 1, the bar of the bar code displayed on the bar code display medium 1 is composed of a wide bar 3w having a wide width and a narrow bar 3n having a narrow width, and a space between them is set to high / low. Photoelectric conversion unit 11 including photosensor 5 for converting to a low level signal and outputting the signal
And a counter section 12 for measuring time and a photoelectric conversion section 11
A counter control unit 13 that controls the counter unit 12 so that the counter unit 12 measures the time during which the bar is detected by counting the number of clock pulses generated internally.
And are provided.

【0020】また、後述する読取タイミング算出手段1
5によって算出された読み取りタイミングでの光電変換
部11の出力信号レベルによって、検出したバーがワイ
ドバーであるかナローバーであるかを判別するバー幅判
別手段14と、そのバー幅判別手段14による判別結果
とカウンタ部12が計測したバーの幅に応じたカウント
値とからバー幅判別手段14に次のバーがワイドバーで
あるかナローバーであるかを判別させるための光電変換
部11の出力信号レベルの読み取りタイミングを算出す
る読取タイミング算出手段15と、その算出した読み取
りタイミングや、読み取ったバーがワイドバーであるか
ナローバーであるか等の情報を記憶させるメモリ(レジ
スタ)16とを設け、バー幅判別手段14による判別結
果をメモリ16に保存して、それをバーコード読取情報
として出力するようにしている。
The reading timing calculation means 1 described later
A bar width discriminating means 14 for discriminating whether the detected bar is a wide bar or a narrow bar, and a discrimination by the bar width discriminating means 14 according to the output signal level of the photoelectric conversion unit 11 at the read timing calculated by 5. The output signal level of the photoelectric conversion unit 11 for causing the bar width determination unit 14 to determine whether the next bar is a wide bar or a narrow bar based on the result and the count value according to the width of the bar measured by the counter unit 12. There is provided a read timing calculation means 15 for calculating the read timing of the bar and a memory (register) 16 for storing the calculated read timing and information such as whether the read bar is a wide bar or a narrow bar. Save the discrimination result by the discriminating means 14 in the memory 16 and output it as bar code reading information. It is.

【0021】一方、バーコード表示媒体1は、バーコー
ドの読み取り方向の先頭にバーを読み取るタイミングを
決定するための1つの同期バー2を、その後に複数のワ
イドバー3wとナローバー3nとからなるデータバー3
を、末尾に読み取った情報の正誤を確認するためのチェ
ックバー4を、それぞれ一方の面の一側縁側に印刷によ
り表示しており、そのワイドバー3wとナローバー3n
の読み取り方向のバー幅の比が2対1であり、ワイドバ
ー3wのバー幅と同期バー2及びチェックバー4のバー
幅とが同一になっている。
On the other hand, the bar code display medium 1 has one synchronization bar 2 for determining the bar reading timing at the beginning of the bar code reading direction, followed by data consisting of a plurality of wide bars 3w and narrow bars 3n. Bar 3
A check bar 4 for confirming the correctness of the information read at the end is displayed by printing on one side edge side of one surface, and the wide bar 3w and the narrow bar 3n are displayed.
The ratio of the bar width in the reading direction is 2: 1, and the bar width of the wide bar 3w and the bar width of the synchronization bar 2 and the check bar 4 are the same.

【0022】このバーコード表示媒体1を、図1に示し
た構成からなるバーコード読取装置に挿着して、それを
矢示B方向に移動させるか、あるいは光電変換部11側
が移動するようになっているときには少なくともフォト
センサ5を矢示Bと反対方向に移動させて図2の(a)
に示すようなバーコードを走査すると、各バーの読み取
り方向のバー幅及びスペース幅に応じてハイ(“1”)/
ロー(“0”)の出力信号“1”が、図2の(b)に示す
ような波形で光電変換部11から出力される。なお、こ
の光電変換部11ではフォトセンサ5による光電出力を
反転して2値化するものとする。
This bar code display medium 1 is inserted into the bar code reader having the structure shown in FIG. 1 and moved in the direction of arrow B, or the photoelectric conversion unit 11 side is moved. 2A, at least the photo sensor 5 is moved in the direction opposite to the arrow B, and
When you scan a bar code as shown in, the high (“1”) / bar width depends on the bar width and space width of each bar in the reading direction.
A low (“0”) output signal “1” is output from the photoelectric conversion unit 11 with a waveform as shown in FIG. Note that the photoelectric conversion unit 11 inverts the photoelectric output from the photosensor 5 and binarizes it.

【0023】図1に示したカウンタ制御部13は、その
光電変換部11の出力信号を監視しており、図2の
(a)に示す同期バー2の先端2aを検知して出力信号
が“0”から“1”に立ち上ったことを確認するとカウ
ンタ部13にクロック信号のカウントを開始させ、それ
以後も出力信号の監視を続け、その出力信号が“1”か
ら“0”に立ち下がると、その時のカウント値(時間)T
a1をメモリ16に記憶させる。
The counter control unit 13 shown in FIG. 1 monitors the output signal of the photoelectric conversion unit 11, detects the tip 2a of the synchronization bar 2 shown in FIG. When it is confirmed that it has risen from "0" to "1", it causes the counter unit 13 to start counting clock signals, and continues to monitor the output signal after that, and when the output signal falls from "1" to "0". , Count value at that time (time) T
Store a1 in the memory 16.

【0024】このカウント値Ta1は、同期バー2の読み
取り方向のバー幅に応じた時間を示す値となる。次に、
読取タイミング算出手段15が、そのカウント値Ta1か
ら(3/4)Ta1を演算により算出し、その算出結果を出
力信号の読み取りタイミングとしてメモリ16に記憶さ
せる。この時、カウンタ制御部13は、引き続き光電変
換部11が出力する出力信号の監視を続けている。
The count value Ta1 is a value indicating the time corresponding to the bar width of the synchronizing bar 2 in the reading direction. next,
The read timing calculation means 15 calculates (3/4) Ta1 from the count value Ta1 by calculation, and stores the calculation result in the memory 16 as the read timing of the output signal. At this time, the counter control unit 13 continues to monitor the output signal output by the photoelectric conversion unit 11.

【0025】そして、次の1個目のデータバーであるワ
イドバー3w(バーコードによってはナローバー3nで
ある場合もある)の先端を光電変換部11が検知して出
力信号が立ち上がると、カウンタ制御部13はカウンタ
部12をリセットして再スタート(リセット・スター
ト)させ、それ以後も出力信号の監視を続ける。
When the photoelectric conversion unit 11 detects the tip of the next wide bar 3w (which may be the narrow bar 3n depending on the bar code) and the output signal rises, counter control is performed. The unit 13 resets and restarts the counter unit 12 (reset / start), and continues to monitor the output signal thereafter.

【0026】そして、バー幅判別手段14が、カウンタ
部12のカウント値(時間)とメモリ16に記憶されて
いる読み取りタイミングを示す(3/4)Ta1とを比較し
て、カウント値が(3/4)Ta1になった時点で、光電変
換部11の出力信号レベル(“0”か“1”か)を読み
取る。
Then, the bar width discriminating means 14 compares the count value (time) of the counter section 12 with (3/4) Ta1 indicating the reading timing stored in the memory 16, and the count value is (3 / 4) When Ta1 is reached, the output signal level (“0” or “1”) of the photoelectric conversion unit 11 is read.

【0027】ここで、図2に示す例の場合には、同期バ
ー2の次のデータバーはバー幅の広いワイドバー3wで
あるため、バー幅判別手段14はハイレベル“1”を読
み取るため、その時読み取ったバーがワイドバーである
と判別し、その判別結果をメモリ16に記憶させる。
In the case of the example shown in FIG. 2, since the data bar next to the synchronization bar 2 is the wide bar 3w having a wide bar width, the bar width discriminating means 14 reads the high level "1". The bar read at that time is determined to be a wide bar, and the determination result is stored in the memory 16.

【0028】その後もカウンタ部12はクロック信号の
カウントを続けており、光電変換部11の出力信号が
“1”から“0”に立ち下がると、その時のカウンタ部
12のカウント値Ta2をメモリ16に記憶させる。そし
て、このメモリ16に記憶されたバー幅判別結果(この
場合はワイドバー)とそのバー幅に応じたカウント値T
a2とによって、読取タイミング算出手段15が次の読み
取りタイミングを(3/4)Ta2と算出し、それをメモリ
16に記憶させる。
After that, the counter section 12 continues to count the clock signal, and when the output signal of the photoelectric conversion section 11 falls from "1" to "0", the count value Ta2 of the counter section 12 at that time is stored in the memory 16. To memorize. Then, the bar width determination result (wide bar in this case) stored in the memory 16 and the count value T corresponding to the bar width
The read timing calculation means 15 calculates the next read timing as (3/4) Ta2 based on a2 and stores it in the memory 16.

【0029】そして、光電変換部11の出力信号が一旦
ローレベル“0”になってから再びハイレベル“1”に
立ち上がる(2個目のデータバーを検知する)と、カウ
ンタ制御部13がカウンタ部12を再びリセット・スタ
ートさせ、光電変換部11の出力信号の監視を続行す
る。
When the output signal of the photoelectric conversion unit 11 once becomes low level "0" and then rises again to high level "1" (detects the second data bar), the counter control unit 13 makes a counter. The unit 12 is reset and started again, and the monitoring of the output signal of the photoelectric conversion unit 11 is continued.

【0030】そして、1個目のデータバーのときと同様
に、カウンタ部12のカウント値(時間)と2回目の読
み取りタイミングを示す(3/4)Ta2とを比較するが、
今度は図2の(a)に示した2個目のデータバーはナロ
ーバー3nであるため、そのカウンタ部12のカウント
値が(3/4)Ta2になる前に光電変換部11の出力信号
がローレベル“0”になるため、その時のカウント値T
a3をメモリ16に記憶させる。
Then, as in the case of the first data bar, the count value (time) of the counter section 12 is compared with (3/4) Ta2 indicating the second read timing.
Since the second data bar shown in FIG. 2A is the narrow bar 3n this time, the output signal of the photoelectric conversion unit 11 before the count value of the counter unit 12 becomes (3/4) Ta2. Since the low level becomes "0", the count value T at that time
Store a3 in the memory 16.

【0031】その後もカウンタ部12によるカウントは
続けられ、そのカウント値が(3/4)Ta2になると、
バー幅判別手段14がその時の光電変換部11の出力信
号レベル(この場合は“0”)を読み取り、それによって
2個目のデータバーがナローバーであると判別し、その
判別結果をメモリ16に記憶させる。そして、メモリ1
6に記憶されたバー幅判別結果(この場合はナローバー)
とそのバー幅に応じたカウント値Ta3とによって、読取
タイミング算出手段15が次の読み取りタイミングを
(3/2)Ta3と算出し、それをメモリ16に記憶させ
る。
After that, the counting by the counter section 12 is continued, and when the count value becomes (3/4) Ta2,
The bar width discriminating means 14 reads the output signal level (“0” in this case) of the photoelectric conversion unit 11 at that time, discriminates that the second data bar is a narrow bar, and the discrimination result is stored in the memory 16. Remember. And memory 1
Bar width discrimination result stored in 6 (narrow bar in this case)
And the count value Ta3 corresponding to the bar width, the read timing calculation means 15 calculates the next read timing as (3/2) Ta3 and stores it in the memory 16.

【0032】このように、直前(1つ前)のバーが幅の
狭いナローバーである場合には、次の光電変換部11の
出力信号レベルの読み取りタイミングを直前のバーのカ
ウント時間の3/2に設定すると、前述したように幅の
広いワイドバー3wと幅の狭いナローバー3nの読み取
り方向のバー幅の比は2対1にしてあるので、その読み
取るバーの先端(ハイレベルに立ち上がる位置)からワ
イドバー3wの場合を基準として考えた場合、そのバー
の先端から3/4の位置となるタイミングを、光電変換
部11の出力信号レベルの読み取りタイミングとするこ
とができる。
In this way, when the bar immediately before (the one before) is a narrow bar, the read timing of the output signal level of the next photoelectric conversion unit 11 is set to 3/2 of the count time of the bar immediately before. When set to, the ratio of the bar widths in the reading direction of the wide bar 3w having a wide width and the narrow bar 3n having a narrow width is set to 2: 1 as described above, and therefore, from the tip of the bar to be read (position rising to high level). When considering the case of the wide bar 3w as a reference, the timing at which the position is 3/4 from the tip of the bar can be the reading timing of the output signal level of the photoelectric conversion unit 11.

【0033】したがって、直前のバーがワイドバーであ
るかナローバーであるかに係わらず、常に各バーの先端
から一定のタイミングでワイドバーであるかナローバー
であるかを判別するための光電変換部11の出力信号レ
ベルの読み取りをすることができるので、各バーのワイ
ド/ナローの判別を正確に行うことができる。
Therefore, regardless of whether the immediately preceding bar is a wide bar or a narrow bar, the photoelectric conversion unit 11 for always discriminating whether the bar is the wide bar or the narrow bar from the tip of each bar at a constant timing. Since the output signal level can be read, it is possible to accurately determine the wide / narrow of each bar.

【0034】そして、各バーごとに読取タイミング算出
手段15により算出された読み取りタイミング(3/
4)Tan又は(3/2)Tanでの光電変換部11の出力
信号レベルによって、バーがワイドバーであるかナロー
バーであるかを判別する処理をバーコードを構成するバ
ーの数だけ繰り返し行なっていくことにより、バーコー
ド表示媒体を搬送する搬送速度に大きな変動があって
も、またバーコード読取装置の光電変換部側を移動させ
る構成にしているときにはその移動速度(走査速度)の
変動が大きい場合でも、データバー以降の各バーのワイ
ド/ナローを正確に判別して、バーコードを正確に読み
取ることができる。
Then, the reading timing (3/3) calculated by the reading timing calculating means 15 is calculated for each bar.
4) Repeating the process of determining whether the bar is a wide bar or a narrow bar according to the output signal level of the photoelectric conversion unit 11 at Tan or (3/2) Tan by the number of bars forming the barcode. As a result, even if there is a great change in the carrying speed of the bar code display medium, the moving speed (scanning speed) of the bar code reading device has a large change when the photoelectric conversion unit side is moved. Even in this case, the wide / narrow of each bar after the data bar can be accurately discriminated and the bar code can be accurately read.

【0035】なお、上記実施例では、同期バーの先端を
光電変換部11が検知して出力信号が立ち上った後はカ
ウンタ部12をカウント状態に維持したまま、その後出
力信号が立ち上るたびにそのカウント値をリセットして
再スタートさせるようにしたが、カウンタ部12のカウ
ント動作を一時的に停止させるようにすることもでき
る。
In the above embodiment, after the photoelectric conversion unit 11 detects the tip of the synchronization bar and the output signal rises, the counter unit 12 is kept in the counting state, and the count value of the output signal rises each time thereafter. However, it is also possible to temporarily stop the counting operation of the counter section 12.

【0036】例えば、バーごとに読取タイミング算出手
段15によって算出された読み取りタイミングでの上記
出力信号がハイレベル“1”であったときには、その後
上記出力信号が“0”に立ち下った時にカウンタ部12
のカウント値をメモリ16に記憶させてカウントを停止
させ、その後上記出力信号が再び“1”に立ち上った時
にリセット・スタートさせるようにし、上記読み取りタ
イミングでの出力信号がローレベル“0”であったとき
には、その時点でカウンタ部12のカウントを停止さ
せ、その後上記出力信号が再び“1”に立ち上った時に
リセット・スタートさせるようにすることもできる。
For example, when the output signal at the read timing calculated by the read timing calculating means 15 for each bar is at a high level "1", the counter section is subsequently output when the output signal falls to "0". 12
The count value is stored in the memory 16 to stop the counting, and then the output signal is reset / started when the output signal rises to "1" again, and the output signal at the reading timing is low level "0". In that case, it is possible to stop the counting of the counter section 12 at that time and reset and start when the output signal rises to "1" again.

【0037】[0037]

【発明の効果】以上説明したように、この発明によれ
ば、光電変換部が各バーとスペースを検知して出力する
信号により各バー幅に対応する時間をカウンタによって
計測し、その計測したカウント値とそのバーがワイドバ
ーであるかナローバーであるかの判別結果とから次のバ
ーがワイドバーであるかナローバーであるかを判定する
ための光電変換部の出力信号レベルの読み取りタイミン
グを決定し、そのタイミングでバーのワイド/ナローを
順次判定していくので、バーを読み取るタイミングを決
定するための同期バーの数を増やすことなく、走査速度
に変動があってもバーコードを構成する各バーのワイド
/ナローを正確に判別してバーコードを確実に読みとる
ことができる。
As described above, according to the present invention, the time corresponding to each bar width is measured by the counter by the signal output by the photoelectric conversion unit detecting each bar and space, and the measured count is obtained. The read timing of the output signal level of the photoelectric conversion unit for determining whether the next bar is the wide bar or the narrow bar is determined from the value and the determination result of whether the bar is the wide bar or the narrow bar. Since the wide / narrow of the bar is sequentially determined at that timing, each bar that composes a bar code does not have to be increased even if the scanning speed changes without increasing the number of synchronization bars for determining the bar reading timing. The barcode can be read reliably by accurately discriminating between wide and narrow.

【0038】また、そのバーコード読取装置に使用する
バーコード表示媒体における同期バーとワイドバーのバ
ー幅を同一にすれば、同期バーの次のバーとワイドバー
の次のバーのワイド/ナローを判別するための光電変換
部の出力信号レベルの読み取りタイミングを同じにする
ことができ、データバーの最初から各バーのワイド/ナ
ローを正確に判別することができる。
Further, if the bar width of the synchronizing bar and the width of the wide bar in the bar code display medium used in the bar code reading device are made the same, the wide / narrow of the bar next to the synchronizing bar and the bar next to the wide bar can be obtained. The read timing of the output signal level of the photoelectric conversion unit for the determination can be the same, and the wide / narrow of each bar can be accurately determined from the beginning of the data bar.

【0039】さらに、ワイドバーとナローバーのバー幅
の比を2対1にすれば、各バーがワイドバーであるかナ
ローバーであるかの判別タイミングの決定が容易にな
る。
Further, if the ratio of the bar widths of the wide bar and the narrow bar is set to 2: 1, it becomes easy to determine the timing for determining whether each bar is the wide bar or the narrow bar.

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

【図1】この発明によるバーコード読取装置の一実施例
の構成をそれに使用するバーコード表示媒体と共に示す
ブロック図である。
FIG. 1 is a block diagram showing a configuration of an embodiment of a bar code reading device according to the present invention together with a bar code display medium used therein.

【図2】図1に示したバーコード読取装置の作用説明に
供するタイミング図である。
FIG. 2 is a timing chart for explaining the operation of the barcode reading apparatus shown in FIG.

【図3】バーコード表示媒体の一例を示す平面図であ
る。
FIG. 3 is a plan view showing an example of a barcode display medium.

【図4】従来のバーコード読取装置におけるバー幅の判
別方法を説明するためのタイミング図である。
FIG. 4 is a timing chart for explaining a bar width determination method in a conventional bar code reading device.

【符号の説明】 1 バーコード表示媒体 2 同期バー 3 データバー 3w ワイドバー 3n ナローバー 4 チェックバー 11 光電変換部 12 カウンタ部 13 カウンタ制御部 14 バー幅判別手段 15 読取タイミング算出手段[Description of Codes] 1 bar code display medium 2 synchronization bar 3 data bar 3w wide bar 3n narrow bar 4 check bar 11 photoelectric conversion unit 12 counter unit 13 counter control unit 14 bar width determination unit 15 reading timing calculation unit

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 バーコード表示媒体上に表示されたバー
の幅が広いワイドバーと狭いナローバーとからなるバー
コードのバーとその間のスペースとをハイ/ローのレベ
ル信号に変換して出力する光電変換部と、時間を計測す
るカウンタ部と、前記光電変換部がバーを検知している
時間を前記カウンタ部に計測させるように該カウンタ部
を制御するカウンタ制御部と、算出された読み取りタイ
ミングでの前記光電変換部の出力信号レベルによって検
出したバーが前記ワイドバーであるかナローバーである
かを判別するバー幅判別手段と、該バー幅判別手段によ
る判別結果と前記カウンタ部が計測したバーの幅に応じ
たカウント値とから前記バー幅判別手段に次のバーがワ
イドバーであるかナローバーであるかを判別させるため
の前記光電変換部の出力信号レベルの読み取りタイミン
グを算出する読取タイミング算出手段とを設け、前記バ
ー幅判別手段による判別結果をバーコード読取情報とし
て出力するようにしたことを特徴とするバーコード読取
装置。
1. A photoelectric conversion device for converting a bar of a bar code composed of a wide bar having a wide width and a narrow bar having a narrow width displayed on a bar code display medium and a space between them into a high / low level signal for output. A conversion unit, a counter unit that measures time, a counter control unit that controls the counter unit so that the counter unit measures the time when the photoelectric conversion unit detects the bar, and the calculated read timing. A bar width discriminating means for discriminating whether the bar detected by the output signal level of the photoelectric conversion portion is the wide bar or the narrow bar, and the discrimination result by the bar width discriminating means and the bar measured by the counter portion. From the count value corresponding to the width of the photoelectric conversion unit for making the bar width determination means determine whether the next bar is a wide bar or a narrow bar. A bar code reading apparatus comprising: a reading timing calculating means for calculating a reading timing of an output signal level, and a discrimination result by the bar width discriminating means is output as bar code reading information.
【請求項2】 請求項1記載のバーコード読取装置に使
用するバーコード表示媒体であって、前記バーコードの
読み取り方向の先頭にバーを読み取るタイミングを決定
するための同期バーを、末尾に読み取った情報の正誤を
確認するためのチェックバーをそれぞれ表示し、その間
に所要の順序及び組合せでなる複数の前記ワイドバーと
ナローバーからなるデータバーを表示し、前記同期バー
とワイドバーのバー幅が同一であることを特徴とするバ
ーコード表示媒体。
2. The barcode display medium used in the barcode reading device according to claim 1, wherein a synchronization bar for determining the timing of reading the bar at the beginning of the reading direction of the barcode is read at the end. Check bars for confirming the correctness of the information are displayed respectively, and a data bar composed of a plurality of wide bars and narrow bars in a required order and combination is displayed between them, and the bar widths of the synchronization bar and the wide bar are displayed. A bar code display medium characterized by being the same.
【請求項3】 請求項2記載のバーコード表示媒体にお
いて、前記ワイドバーとナローバーのバー幅の比が2対
1であることを特徴とするバーコード表示媒体。
3. The bar code display medium according to claim 2, wherein the ratio of the bar widths of the wide bar and the narrow bar is 2: 1.
JP5036480A 1993-02-25 1993-02-25 Bar code reader and bar code display medium used in the same Pending JPH06251183A (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP5036480A JPH06251183A (en) 1993-02-25 1993-02-25 Bar code reader and bar code display medium used in the same
TW83101419A TW232064B (en) 1993-02-25 1994-02-19 Bar code reader
CN 94103262 CN1033109C (en) 1993-02-25 1994-02-24 Bar code reader and bar code medium used by the bar code reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5036480A JPH06251183A (en) 1993-02-25 1993-02-25 Bar code reader and bar code display medium used in the same

Publications (1)

Publication Number Publication Date
JPH06251183A true JPH06251183A (en) 1994-09-09

Family

ID=12470986

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5036480A Pending JPH06251183A (en) 1993-02-25 1993-02-25 Bar code reader and bar code display medium used in the same

Country Status (3)

Country Link
JP (1) JPH06251183A (en)
CN (1) CN1033109C (en)
TW (1) TW232064B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007143060A (en) * 2005-11-22 2007-06-07 Sony Corp Acoustic diaphragm and acoustic diaphragm manufacturing method

Also Published As

Publication number Publication date
CN1033109C (en) 1996-10-23
TW232064B (en) 1994-10-11
CN1098529A (en) 1995-02-08

Similar Documents

Publication Publication Date Title
EP0575933B1 (en) Apparatus for measuring skew timing errors
EP0472255A2 (en) Identification mark reading apparatus
JPH063610B2 (en) Bar code reader
JP2886545B2 (en) Margin recognition method and bar code reader
US5633488A (en) Method and apparatus to enable the high speed evaluation of bar code indicia
US4451854A (en) Picture information input apparatus
US5302814A (en) Bar code reading apparatus
JPH06251183A (en) Bar code reader and bar code display medium used in the same
JPH0528626A (en) Card reader
JPS583073A (en) Bar-code read system
JP3303955B2 (en) Material sensor for coin processing machine
JPH07187449A (en) Lateral dislocation correction device for paper
JP2923375B2 (en) Barcode reader
JPH05165997A (en) Bar code reader
JP2955919B2 (en) Magnetic card reader / writer
JPH0496881A (en) Analyzing method for bar-code data
KR900001508B1 (en) Bar code decorder
JP2999022B2 (en) Printed line judgment device
JP2000292123A (en) Shape measuring apparatus
JPS6318481A (en) Bar code demodulator
JP4480247B2 (en) Media processing device
JP2777048B2 (en) How to read barcodes
JPH0222741Y2 (en)
JPS60215294A (en) Paper money discriminator
JPS60123753A (en) Object inspecting system