JPH0570192B2 - - Google Patents

Info

Publication number
JPH0570192B2
JPH0570192B2 JP63287841A JP28784188A JPH0570192B2 JP H0570192 B2 JPH0570192 B2 JP H0570192B2 JP 63287841 A JP63287841 A JP 63287841A JP 28784188 A JP28784188 A JP 28784188A JP H0570192 B2 JPH0570192 B2 JP H0570192B2
Authority
JP
Japan
Prior art keywords
bar
cutoff frequency
data
barcode
frequency
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
JP63287841A
Other languages
Japanese (ja)
Other versions
JPH02135580A (en
Inventor
Masaharu Shimizu
Tatsuyuki Usami
Yoshihiro Saito
Nobuhiro Nakamura
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.)
Japan Steel Works Ltd
Original Assignee
Japan Steel Works 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 Japan Steel Works Ltd filed Critical Japan Steel Works Ltd
Priority to JP63287841A priority Critical patent/JPH02135580A/en
Priority to US07/436,999 priority patent/US5059773A/en
Priority to EP19890311888 priority patent/EP0369793A3/en
Publication of JPH02135580A publication Critical patent/JPH02135580A/en
Publication of JPH0570192B2 publication Critical patent/JPH0570192B2/ja
Granted legal-status Critical Current

Links

Description

【発明の詳細な説明】 (イ) 産業上の利用分野 本発明は、バーコードリーダの信号処理方法及
び装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION (A) Field of Industrial Application The present invention relates to a signal processing method and device for a barcode reader.

(ロ) 従来の技術 バーコードリーダは、レーザービームをバーコ
ードラベルに投射し、バーコードラベルからの散
乱反射光を受光器で電気信号に変換し、電気信号
をマイクロコンピユータによつて処理することに
より、バーコードを解読する装置である。
(b) Conventional technology A barcode reader projects a laser beam onto a barcode label, converts the scattered reflected light from the barcode label into an electrical signal using a receiver, and processes the electrical signal using a microcomputer. This is a device that decodes barcodes.

(ハ) 発明が解決しようとする課題 バーコードに用いられるバーとしては、幅1mm
の太バーと、幅0.2mmの細バーとがある。太バー
を用いたバーコード及び細バーを用いたバーコー
ドの両方を読み取り可能なバーコードリーダは実
現されていないため、それぞれ専用のバーコード
リーダを必要とする。このため、例えばベルトコ
ンベア上を、太バーを用いたバーコードラベルが
張付けられたものと、細バーを用いたバーコード
ラベルが張付けられたものとが混流する場合に
は、太バー用及び細バー用の2機種のバーコード
リーダを設置する必要があつた。このため、設備
費用が高くなり、また設置スペースも増大してい
た。
(c) Problems to be solved by the invention Bars used in barcodes have a width of 1 mm.
There is a thick bar with a width of 0.2 mm and a thin bar with a width of 0.2 mm. Since a barcode reader capable of reading both barcodes using thick bars and barcodes using thin bars has not been realized, dedicated barcode readers are required for each. For this reason, for example, if a barcode label using a thick bar and a barcode label using a thin bar are flowing together on a belt conveyor, one for a thick bar and another for a thin bar may flow together. It was necessary to install two types of barcode readers for the bar. For this reason, equipment costs have increased and installation space has also increased.

1機種のバーコードリーダによつて太バー及び
細バーの両方のバーコードを読み取ることができ
なかつたのは、次のような理由による。すなわ
ち、太バー用バーコードリーダでは径の大きいレ
ーザービームが用いられているため、これを細バ
ーを用いたバーコードに照射すると、レーザービ
ームが2本以上のバーにまたがつて照射される状
態を生じ、受光器によつて得られるアナログ電気
信号が非常に感度の悪いものとなり、バーコード
の読み取りを行なうことができない。
The reason why one type of barcode reader could not read both thick bar and thin bar codes is as follows. In other words, since a barcode reader for thick bars uses a laser beam with a large diameter, when this beam is applied to a barcode using thin bars, the laser beam will be irradiated across two or more bars. This causes the analog electrical signal obtained by the photoreceiver to have very poor sensitivity, making it impossible to read barcodes.

本発明は、上記のような課題を解決して、太バ
ー及び細バーの両方のバーコードの読み取りが可
能なバーコードリーダを得ることを目的としてい
る。
The present invention aims to solve the above-mentioned problems and provide a barcode reader capable of reading both thick bar and thin bar codes.

(ニ) 課題を解決するための手段 本発明は、アナログ電気信号の遮断周波数を太
バー用及び細バー用に切り換えると共に、太バー
用及び細バー用のいずれであるかの判別を行い、
適切な遮断処理の行われたデータのみを採用する
ことにより上記課題を解決する。すなわち、本発
明は、細バーを識別可能なビーム径の光ビームを
用いて1つのバーコードに対して複数回の走査を
行ない、これによつて得られるアナログ電気信号
のうち所定回数分のものについては第1遮断周波
数以上の周波数を遮断し、残りのアナログ電気信
号については第1遮断周波数よりも高い第2遮断
周波数以上の周波数を遮断し、第1遮断周波数又
は第2遮断周波数以上の周波数を遮断されたアナ
ログ電気信号からバー幅のデータを求め、こうし
て得られるデータを複数回の走査分について記憶
し、次いで各走査ごとのバー幅の分布を求め、バ
ー幅の分布から読み取つたバーコードが太バーで
あるか細バーであるかを判断し、太バーと判断さ
れた場合には、第1遮断周波数以上の周波数を遮
断されたデータであらならばこれを採用し、第2
遮断周波数以上の周波数を遮断されたデータであ
るならばこれをキヤンセルし、細バーと判断され
た場合には、第2遮断周波数以上の周波数を遮断
されたデータであるならばこれを採用し、第1遮
断周波数以上の周波数を遮断されたデータである
ならばこれをキヤンセルし、こうして採用された
データを解読する。
(d) Means for Solving the Problems The present invention switches the cutoff frequency of an analog electrical signal to one for a thick bar and one for a thin bar, and also determines whether it is for a thick bar or a thin bar.
The above problem is solved by employing only data that has undergone appropriate blocking processing. That is, the present invention scans one barcode multiple times using a light beam with a beam diameter that allows the narrow bars to be identified, and scans a predetermined number of analog electrical signals obtained thereby. For the remaining analog electrical signals, frequencies higher than the first cutoff frequency are cut off, frequencies higher than the second cutoff frequency higher than the first cutoff frequency are cut off, and frequencies higher than the first cutoff frequency or the second cutoff frequency are cut off. bar width data is obtained from the analog electrical signal that is interrupted, the data thus obtained is stored for multiple scans, the bar width distribution for each scan is obtained, and the bar code is read from the bar width distribution. It is determined whether the bar is a thick bar or a thin bar, and if it is determined that the bar is a thick bar, if it is data in which frequencies higher than the first cutoff frequency are cut off, this is adopted, and the second
If it is data in which a frequency higher than the cutoff frequency is cut off, cancel it, and if it is determined to be a thin bar, if it is data in which a frequency higher than the second cutoff frequency is cut off, it is adopted, If the data is cut off at a frequency equal to or higher than the first cutoff frequency, it is canceled and the thus adopted data is decoded.

また、本発明方法を実施するバーコードリーダ
の信号処理装置は、アナログ電気信号の所定周波
数以上の部分を遮断すると共に上記所定周波数は
切換可能である遮断周波数切換増幅器24と、遮
断周波数切換増幅器24からのアナログ電気信号
を2値信号化する2値化回路26と、2値信号か
らババー幅を演算するバー幅数値化回路28と、
バー幅数値化回路28からのデータを記憶する記
憶装置32と、遮断周波数切換増幅器24の遮断
周波数を第1遮断周波数とこれよりも高い第2遮
断周波数との間で交互に又は所定回数ごとに切換
えさせる切換指令手段と、記憶手段に記憶された
1回の走査のデータのバー幅分布を演算する分布
演算手段と、分布演算手段によつて得られた分布
結果からバーコードが太バーを用いたものか細バ
ーを用いたものかを判断するバー判断手段と、バ
ー判断手段が太バーと判断した場合にはこのデー
タが第1遮断周波数及び第2遮断周波数のいずれ
で遮断されたものかを判別し第1遮断周波数で遮
断されたものであるときはこのデータを採用する
と共に第2遮断周波数で遮断されたものであると
きはこのデータをキヤンセルする太バー時選別手
段と、バー判断手段が細バーと判断した場合には
このデータが第1遮断周波数及び第2遮断周波数
のいずれで遮断されたものかを判別し第2遮断周
波数で遮断されたものであるときはこのデータを
採用すると共に第1遮断周波数で遮断されたもの
であるときはこのデータをキヤンセルする細バー
時選別手段と、太バー時選別手段又は細バー時選
別手段によつて採用されたデータを解読し所定の
コードに変換する解読手段と、から構成される。
Further, the signal processing device of the barcode reader that implements the method of the present invention includes a cut-off frequency switching amplifier 24 that cuts off a portion of an analog electrical signal having a predetermined frequency or higher and is capable of switching the predetermined frequency; A binarization circuit 26 that converts the analog electrical signal from the bar into a binary signal, and a bar width digitization circuit 28 that calculates the bar width from the binary signal.
A storage device 32 that stores data from the bar width digitization circuit 28 and a cutoff frequency of the cutoff frequency switching amplifier 24 are alternately set between the first cutoff frequency and a second cutoff frequency higher than the first cutoff frequency or every predetermined number of times. A switching command means for switching, a distribution calculation means for calculating the bar width distribution of the data of one scan stored in the storage means, and a distribution result obtained by the distribution calculation means that the bar code uses thick bars. A bar determination means determines whether the data is a thick bar or a thin bar, and if the bar determination means determines that the bar is a thick bar, it determines whether this data was cut off at the first cutoff frequency or the second cutoff frequency. thick bar selection means for determining the data, and employing this data when the data is cut off at the first cutoff frequency, and canceling this data when the data is cut off at the second cutoff frequency; and bar determination means. If it is determined that the bar is a narrow bar, it is determined whether this data is cut off at the first cutoff frequency or the second cutoff frequency, and if it is cut off at the second cutoff frequency, this data is adopted. At the same time, when the data is cut off at the first cutoff frequency, the narrow bar sorting means cancels the data, and the data adopted by the thick bar sorting means or the narrow bar sorting means decodes the data and converts it into a predetermined code. and a decoding means for converting into.

(ホ) 作 用 第1遮断周波数は太バーに適合したものであ
り、遮断周波数は比較的低い値としてある。従つ
て、太バーに対応した周波数よりも高い周波数の
信号が遮断される。一方、第2遮断周波数は細バ
ーに適合したものであり、遮断周波数は細バーに
対応した周波数よりも高い周波数としてある。従
つて、第1遮断周波数で処理した場合には、バー
コードが太バーを用いたものであるときに正常な
出力が得られ、一方、バーコードが細バーを用い
たもののときには信号がすべて遮断されてしまう
ため出力がない状態となる。また、第2遮断周波
数で処理した場合には、バーコードが細バーのと
きに正常な出力が得られ、一方バーコードが太バ
ーを用いたもののときにはノイズが含まれること
になる。
(E) Effect The first cutoff frequency is suitable for a thick bar, and the cutoff frequency is set to a relatively low value. Therefore, signals with a higher frequency than the frequency corresponding to the thick bar are blocked. On the other hand, the second cutoff frequency is adapted to the thin bar, and the cutoff frequency is set to a higher frequency than the frequency corresponding to the thin bar. Therefore, when processing at the first cutoff frequency, a normal output is obtained when the barcode uses thick bars, but on the other hand, when the barcode uses thin bars, the signal is completely cut off. This results in a state where there is no output. Furthermore, when processing is performed at the second cutoff frequency, a normal output is obtained when the barcode is a thin bar, but on the other hand, when the barcode is a thick bar, noise is included.

従つて、アナログ電気信号が太バーを用いたバ
ーコードを走査したものか細バーを用いたバーコ
ードを走査したものかが判断できれば、太バー及
び細バーにそれぞれ対応した正常な出力を選択す
ることができる。すなわち、バーコードが太バー
を用いたものと判断された場合には、第1遮断周
波数で処理したデータを採用すればよく、またバ
ーコードが細バーを用いたものであると判断され
た場合には、第2遮断周波数で処理したデータを
採用すればよいことになる。走査したものが細バ
ーを用いたバーコードであるか太バーを用いたバ
ーコードであるかの判断は、バー幅の分布から求
めることができる。すなわち、バーの幅はワイド
及びナローの2種類で構成されているで、1回の
走査の際のバー幅の分布を取ると、基本的にはワ
イドバー及びナローバーの2種類に分布すること
になる。ノイズが含まれている場合にもこれらの
分布は少ないので、バー幅の分布からアナログ電
気信号が太バーを走査したものか細バーを走査し
たものかを判別することができる。これにより、
正常なデータのみを抽出することができる。従つ
て、1機種のバーコードリーダによつて細バー及
び太バーの両方のバーコードを読み取ることが可
能となる。
Therefore, if it can be determined whether the analog electrical signal is a scanned barcode using thick bars or a barcode scanned using thin bars, normal outputs corresponding to the thick bars and thin bars are selected. be able to. In other words, if it is determined that the barcode uses thick bars, data processed at the first cutoff frequency may be adopted, and if it is determined that the barcode uses thin bars. In this case, data processed at the second cutoff frequency may be used. Whether the scanned barcode is a barcode using thin bars or a barcode using thick bars can be determined from the bar width distribution. In other words, there are two types of bar width: wide and narrow, and if we take the distribution of bar width during one scan, it will basically be distributed into two types: wide bar and narrow bar. Become. Even when noise is included, these distributions are small, so it can be determined from the distribution of bar widths whether the analog electrical signal is one obtained by scanning a thick bar or one obtained by scanning a thin bar. This results in
Only normal data can be extracted. Therefore, it is possible to read both thin bar and thick bar codes using one type of bar code reader.

(ヘ) 実施例 第1図にバーコードリーダの光学系及び信号処
理部をブロツク図として示す。投光器10はレー
ザー駆動部12からの指令信号によりレーザービ
ームをポリゴンミラー14に投光可能である。な
お、レーザービーム径は細バーを検出可能な比較
的小さいものとしてある。ポリゴンミラー14は
ポリゴンミラー駆動部16によつて回転駆動され
る。ポリゴンミラー14の回転により、レーザー
ビームはバーコードラベルに印刷されたバーコー
ド18上を走査する。バーコード18からの反射
光はフオトダイオードにより構成される受光器2
0により受光され、電気信号に変換される。受光
器20からのアナログ電気信号は電流電圧変換増
幅器22に入力され、電流電圧変換増幅器22に
よつて変換増幅されたアナログ電気信号は遮断周
波数切換増幅器24に入力される。遮断周波数切
換増幅器24は入力されるアナログ電気信号の所
定の遮断周波数以上の高周波成分を遮断する機能
を有している。遮断周波数切換増幅器24の遮断
周波数は、CPU(中央処理装置)27からの指令
により切換可能である。遮断周波数切換増幅器2
4で処理された信号は2値化回路26において2
値化され、次いでバー幅数値化回路28において
バー幅を示す数値とされ、バー幅数値化回路28
からの信号はDMA回路30によりRAM(記憶装
置)32に記憶可能である。CPU27はRAM3
2及びROM34にアクセス可能である。
(F) Embodiment FIG. 1 shows a block diagram of the optical system and signal processing section of a barcode reader. The projector 10 can project a laser beam onto the polygon mirror 14 in response to a command signal from the laser drive unit 12. Note that the laser beam diameter is set to be relatively small so that a narrow bar can be detected. The polygon mirror 14 is rotationally driven by a polygon mirror drive section 16. By rotating the polygon mirror 14, the laser beam scans over the barcode 18 printed on the barcode label. The reflected light from the barcode 18 is transmitted to a light receiver 2 composed of a photodiode.
0 is received and converted into an electrical signal. The analog electrical signal from the photodetector 20 is input to a current-voltage conversion amplifier 22, and the analog electrical signal converted and amplified by the current-voltage conversion amplifier 22 is input to a cutoff frequency switching amplifier 24. The cutoff frequency switching amplifier 24 has a function of cutting off high frequency components of input analog electrical signals having a predetermined cutoff frequency or higher. The cutoff frequency of the cutoff frequency switching amplifier 24 can be switched by a command from a CPU (central processing unit) 27. Cutoff frequency switching amplifier 2
The signal processed in step 4 is converted to 2 in the binarization circuit 26.
It is converted into a value, and then converted into a numerical value indicating the bar width in the bar width digitization circuit 28.
The signals from the DMA circuit 30 can be stored in a RAM (memory device) 32 by the DMA circuit 30. CPU27 is RAM3
2 and ROM 34 can be accessed.

第1図に示す装置により次に示すような動作が
行なわれる。まず、バーコード18の走査が行な
われる。すなわち、バーコード18に対してレー
ザービームがポリゴンミラー14の作用により投
光され、バーコード18の走査が行なわれる。レ
ーザービームによる走査は1つのバーコード18
に対して30回行なわれる。受光器20によつて得
られるアナログ電気信号は電流電圧変換増幅器2
2によつてアナログ電気信号に変換増幅され、次
いで2値化回路26及びバー幅数値化回路28に
よりバー幅を示す数値に変換され、RAM32に
記憶される。ただし、アナログ電圧信号は遮断周
波数切換増幅器24において所定の高周波成分が
遮断される。遮断周波数としては、第1遮断周波
数及び第2遮断周波数が各走査ごとに切換えられ
る。従つて、15回の走査は第1遮断周波数で遮断
され、残り15回の走査は第2遮断周波数で遮断さ
れる。第1遮断周波数は、太バーに対して適切と
なるように比較的低い値としてある。一方、第2
遮断周波数は細バーに適切となるように比較的高
い値が設定してある。従つて、バーコード18が
太バーを用いたものの場合には、第1遮断周波数
で処理したときのアナログ信号は第2図aに示す
ように正常なものとなり、第2遮断周波数で処理
したときには第2図bに示すようにバーの印刷の
欠け、汚れなどを検出し、ノイズの含まれたアナ
ログ信号となる。一方、細バーを用いたバーコー
ド18を走査した場合には、第1遮断周波数で処
理するとバーによつて得られる信号の周波数が遮
断領域に入るため第3図aに示すように出力がな
い状態となり、また第2遮断周波数で処理したと
きには第3図bに示すような正常な出力が得られ
ることになる。
The apparatus shown in FIG. 1 performs the following operations. First, the barcode 18 is scanned. That is, a laser beam is projected onto the barcode 18 by the action of the polygon mirror 14, and the barcode 18 is scanned. Scanning by laser beam is one barcode 18
It is performed 30 times for The analog electrical signal obtained by the photoreceiver 20 is converted into a current-voltage conversion amplifier 2.
2 is converted and amplified into an analog electrical signal, and then converted into a numerical value indicating the bar width by a binarization circuit 26 and a bar width digitization circuit 28, and is stored in the RAM 32. However, a predetermined high frequency component of the analog voltage signal is cut off in the cutoff frequency switching amplifier 24. The cutoff frequency is switched between a first cutoff frequency and a second cutoff frequency for each scan. Therefore, 15 scans are cut off at the first cutoff frequency, and the remaining 15 scans are cut off at the second cutoff frequency. The first cutoff frequency is set to a relatively low value so as to be appropriate for the thick bar. On the other hand, the second
The cutoff frequency is set to a relatively high value to be suitable for thin bars. Therefore, when the barcode 18 uses a thick bar, the analog signal when processed at the first cutoff frequency becomes normal as shown in FIG. 2a, and when processed at the second cutoff frequency As shown in FIG. 2b, chips, stains, etc. in bar printing are detected, resulting in an analog signal containing noise. On the other hand, when scanning the barcode 18 using a thin bar, when processed at the first cutoff frequency, the frequency of the signal obtained by the bar falls into the cutoff region, so there is no output as shown in Figure 3a. When processing is performed at the second cutoff frequency, a normal output as shown in FIG. 3b is obtained.

RAM32に記憶された30回の走査のデータ
は、CPU27により次のように処理される。す
なわち、まず第1回目のデータのバー幅の分布が
求められる。バー幅はナローバー及びワイドバー
の2種類から構成されているので、前述の第2図
a及び第3図bの場合のように正常な出力信号が
得られている場合には、バー幅の分布は第4図に
示すようにナローバー及びワイドバーの幅寸法の
2箇所に集中する。従つて、これにより太バーで
あるか細バーであるかを判断することができる。
上述の第2図bの場合にはノイズが含まれている
ため、ナローバー及びワイドバーの幅寸法以外の
場所にも第5図に示すような分布を生ずるが、基
準となるナローバー及びワイドバーの幅寸法に分
布する個数が多いので最も分布の多い部分から太
バーであるか細バーであるかを判断することがで
きる。なお、上述の第3図aの場合には出力信号
が0であるから、分布から太バー又は細バーを判
断する処理は実際上意味がないことになる。上述
のようにして、太バーであるか細バーであるかを
判断した後は、太バーと判断した場合には、今回
のデータが第1遮断周波数で処理したものである
ならばデータとして採用し、第2遮断周波数で処
理したものはキヤンセルする。一方、細バーであ
ると判断された場合には、データが第2遮断周波
数で処理したものならば採用し、第1遮断周波数
で処理したものはキヤンセルする。上記の処理を
30個のデータについて行なつた後は、得られた15
回分のデータを用いて解読プログラムが実行さ
れ、これによつて得られた解読結果が所定のコー
ドに変換され出力される。上記処理をフローチヤ
ートとして示すと第6図に示すようになる。
The data of 30 scans stored in the RAM 32 is processed by the CPU 27 as follows. That is, first, the bar width distribution of the first data is determined. Since the bar width consists of two types, narrow bar and wide bar, when a normal output signal is obtained as in the case of Figure 2 a and Figure 3 b mentioned above, the bar width distribution As shown in FIG. 4, this concentration is concentrated at two points in the width dimension of the narrow bar and the wide bar. Therefore, it is possible to determine whether the bar is a thick bar or a thin bar.
In the case of Fig. 2b mentioned above, since noise is included, the distribution as shown in Fig. 5 occurs in locations other than the width dimensions of the narrow bar and wide bar, but the narrow bar and wide bar serving as the reference. Since the number of bars distributed in the width dimension is large, it is possible to judge whether the bar is a thick bar or a thin bar based on the part with the largest distribution. Note that in the case of FIG. 3a described above, the output signal is 0, so the process of determining whether a thick bar or a thin bar is based on the distribution is actually meaningless. After determining whether the bar is a thick bar or a thin bar as described above, if the bar is determined to be a thick bar, if the current data is processed at the first cutoff frequency, it is adopted as data. However, those processed at the second cutoff frequency are canceled. On the other hand, if it is determined that the bar is a narrow bar, data processed at the second cutoff frequency is adopted, and data processed at the first cutoff frequency is canceled. The above process
After doing this on 30 pieces of data, the obtained 15
A decoding program is executed using the data for each batch, and the decoding results obtained are converted into a predetermined code and output. The above process is shown in a flowchart as shown in FIG.

結局、上記動作により、バーコード18が太バ
ーを用いたものの場合には太バー用の第1遮断周
波数で処理したデータのみからバーコードの解読
が行なわれる。また、バーコード18が細バーを
用いたものの場合には細バー用の第2遮断周波数
で処理したデータのみからバーコードの解読が行
なわれ、いずれのバーコード18であつても読み
取りが可能である。
After all, as a result of the above operation, if the barcode 18 uses thick bars, the barcode is decoded only from the data processed at the first cutoff frequency for the thick bars. Furthermore, if the barcode 18 uses a thin bar, the barcode is decoded only from the data processed at the second cutoff frequency for the thin bar, and any barcode 18 can be read. be.

なお、この実施例では遮断周波数の切換は1回
の走査ごとに行なうようにしたが、遮断周波数の
切換は複数回ごとであつてもよく、また走査の前
半と後半とで切換えてもよい。なお、走査回数は
30回としたが、これ以外であつてもよいのはもち
ろんのことであり、また第1遮断周波数による処
理と第2遮断周波数による処理とは必ずしも等回
数でなくてもよい。また、解読プログラムでは例
えば15回分のデータを必ずしも全部使用する必要
はなく、15回分のデータのうち最初の2回のデー
タの解読結果が一致した場合にはこの結果を出力
するようにしてもよく、また最初の1回のデータ
のみを用いてもよい。従つて、30回の走査をすべ
て完了する前にバーコードが通過してしまつたよ
うな場合(例えば10回分しかデータが得られない
ような場合)であつても、上述の実施例の動作に
より読取りを行なうことができる。
In this embodiment, the cutoff frequency is switched every scan, but the cutoff frequency may be switched every multiple times, or between the first half and the second half of the scan. In addition, the number of scans is
Although the number of times is 30, it goes without saying that the number of times other than this may be used, and the processing using the first cutoff frequency and the processing using the second cutoff frequency do not necessarily have to be performed the same number of times. Furthermore, the decoding program does not necessarily need to use all of the data from 15 times, for example, and may output the results if the decoding results of the first two data of the 15 times match. , or only the first data may be used. Therefore, even if a barcode passes through before completing all 30 scans (for example, data for only 10 scans can be obtained), the operation of the above embodiment will still work. Can be read.

(ト) 発明の効果 以上説明してきたように、本発明によると、読
み取つたバーコードが細バーのものであるか太バ
ーのものであるかを判断し、それぞれの場合に適
切な遮断周波数で処理したデータを採用するよう
にしたので、1台のバーコードリーダによつて太
バー及び細バーの両方のバーコードを読み取るこ
とが可能となる。
(G) Effects of the Invention As explained above, according to the present invention, it is possible to determine whether a read barcode is a thin bar code or a thick bar code, and to set an appropriate cutoff frequency in each case. Since processed data is used, it is possible to read both thick bar and thin bar codes with one bar code reader.

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

第1図は本発明の実施例の構成を示すブロツク
図、第2図は太バーの場合のアナログ信号を示す
図、第3図は細バーの場合のアナログ信号を示す
図、第4図は正常な信号の場合のバー幅の分布を
示す図、第5図はノイズが含まれた状態でのバー
幅の分布を示す図、第6図は制御フローを示す
図、第7図は本発明の信号処理装置の構成要素間
の関係を示す図である。 18…バーコード、24…遮断周波数切換増幅
器、26…2値化回路、27…CPU、28…バ
ー幅数値化回路、32…RAM(記憶装置)。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention, FIG. 2 is a diagram showing an analog signal in the case of a thick bar, FIG. 3 is a diagram showing an analog signal in the case of a thin bar, and FIG. 4 is a diagram showing an analog signal in the case of a thin bar. Figure 5 is a diagram showing the bar width distribution in the case of a normal signal, Figure 5 is a diagram showing the bar width distribution in a state where noise is included, Figure 6 is a diagram showing the control flow, and Figure 7 is a diagram showing the present invention. FIG. 2 is a diagram showing the relationship between components of the signal processing device of FIG. 18... Bar code, 24... Cutoff frequency switching amplifier, 26... Binarization circuit, 27... CPU, 28... Bar width digitization circuit, 32... RAM (storage device).

Claims (1)

【特許請求の範囲】 1 バーコードを走査して得られる光信号を光電
変換したアナログ電気信号からバーコードを解読
するバーコードリーダの信号処理方法において、 細バーを識別可能なビーム径の光ビームを用い
て1つのバーコードに対して複数回の走査を行な
い、これによつて得られるアナログ電気信号のう
ち所定回数分のものについては第1遮断周波数以
上の周波数を遮断し、残りのアナログ電気信号に
ついては第1遮断周波数よりも高い第2遮断周波
数以上の周波数を遮断し、第1遮断周波数又は第
2遮断周波数以上の周波数を遮断されたアナログ
電気信号からバー幅のデータを求め、こうして得
られるデータを複数回の走査分について記憶し、
次いで各走査ごとのバー幅の分布を求め、バー幅
の分布から読み取つたバーコードが太バーである
か細バーであるかを判断し、太バーと判断された
場合には、第1遮断周波数以上の周波数を遮断さ
れたデータであるならばこれを採用し、第2遮断
周波数以上の周波数を遮断されたデータであるな
らばこれをキヤンセルし、細バーと判断された場
合には、第2遮断周波数以上の周波数を遮断され
たデータであるならばこれを採用し、第1遮断周
波数以上の周波数を遮断されたデータであるなら
ばこれをキヤンセルし、こうして採用されたデー
タを解読することを特徴とするバーコードリーダ
の信号処理方法。 2 バーコード18を走査して得られる光信号を
光電変換したアナログ電気信号からバーコード1
8を解読するバーコードリーダの信号処理装置に
おいて、 アナログ電気信号の所定周波数以上の部分を遮
断すると共に上記所定周波数は切換可能である遮
断周波数切換増幅器24と、遮断周波数切換増幅
器24からのアナログ電気信号を2値信号化する
2値化回路28と、2値信号からバー幅を演算す
るバー幅数値化回路28と、バー幅数値化回路2
8からのデータを記憶する記憶装置32と、遮断
周波数切換増幅器24の遮断周波数を第1遮断周
波数とこれよりも高い第2遮断周波数との間で交
互に又は所定回数ごとに切換えさせる切換指令手
段と、記憶手段に記憶された1回の走査のデータ
のバー幅分布を演算する分布演算手段と、分布演
算手段によつて得られた分布結果からバーコード
が太バーを用いたものか細バーを用いたものかを
判断するバー判断手段と、バー判断手段が太バー
と判断した場合にはこのデータが第1遮断周波数
及び第2遮断周波数のいずれで遮断されたものか
を判別し第1遮断周波数で遮断されたものである
ときはこのデータを採用すると共に第2遮断周波
数で遮断されたものであるときはこのデータをキ
ヤンセルする太バー時選別手段と、バー判断手段
が細バーと判断した場合にはこのデータが第1遮
断周波数及び第2遮断周波数のいずれで遮断され
たものかを判別し第2遮断周波数で遮断されたも
のであるときはこのデータを採用すると共に第1
遮断周波数で遮断されたものであるときはこのデ
ータをキヤンセルする細バー時選別手段と、太バ
ー時選別手段又は細バー時選別手段によつて採用
されたデータを解読し所定のコードに変換する解
読手段と、を有することを特徴とするバーコード
リーダの信号処理装置。
[Claims] 1. In a signal processing method for a barcode reader that decodes a barcode from an analog electrical signal obtained by photoelectrically converting an optical signal obtained by scanning a barcode, the light beam has a beam diameter that allows narrow bars to be identified. One barcode is scanned multiple times using As for the signal, a frequency equal to or higher than a second cutoff frequency, which is higher than the first cutoff frequency, is cut off, and bar width data is obtained from the analog electrical signal in which frequencies equal to or higher than the first cutoff frequency or the second cutoff frequency are cut off. data for multiple scans,
Next, the bar width distribution for each scan is determined, and it is determined from the bar width distribution whether the read barcode is a thick bar or a thin bar. If it is determined that the bar code is a thick bar, the first cutoff frequency is determined. If the data cuts off a frequency higher than or equal to the second cutoff frequency, it is adopted; if the data cuts off a frequency higher than or equal to the second cutoff frequency, it is canceled; and if it is determined that the bar is narrow, the second cutoff frequency is used. If the data has a frequency higher than the first cutoff frequency cut off, it is adopted, and if the data has a frequency higher than the first cutoff frequency cut off, it is canceled, and the thus adopted data is decoded. Features of barcode reader signal processing method. 2 Barcode 1 is generated from an analog electrical signal obtained by photoelectrically converting the optical signal obtained by scanning the barcode 18.
A signal processing device for a barcode reader that decodes a barcode reader 8 includes a cutoff frequency switching amplifier 24 that cuts off a portion of an analog electrical signal having a predetermined frequency or higher and can switch the predetermined frequency, and an analog electrical signal from the cutoff frequency switching amplifier 24. A binarization circuit 28 that converts a signal into a binary signal, a bar width digitization circuit 28 that calculates a bar width from the binary signal, and a bar width digitization circuit 2
8, and a switching command means for switching the cutoff frequency of the cutoff frequency switching amplifier 24 between the first cutoff frequency and a higher second cutoff frequency alternately or every predetermined number of times. , a distribution calculation means for calculating the bar width distribution of the data of one scan stored in the storage means, and a distribution result obtained by the distribution calculation means to determine whether the barcode uses thick bars or thin bars. bar determining means for determining whether the bar is a thick bar; Thick bar selection means employs this data when the bar is cut off at the cutoff frequency, and cancels this data when the bar is cut off at the second cutoff frequency, and the bar determination means determines that the bar is thin. In this case, it is determined whether this data was cut off at the first cutoff frequency or the second cutoff frequency, and if the data was cut off at the second cutoff frequency, this data is adopted and the first cutoff frequency is used.
When the data is cut off at the cutoff frequency, the narrow bar sorting means cancels this data, and the data adopted by the thick bar sorting means or the narrow bar sorting means decodes the data and converts it into a predetermined code. A signal processing device for a barcode reader, comprising: decoding means.
JP63287841A 1988-11-16 1988-11-16 Method and device for signal processing of bar code reader Granted JPH02135580A (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP63287841A JPH02135580A (en) 1988-11-16 1988-11-16 Method and device for signal processing of bar code reader
US07/436,999 US5059773A (en) 1988-11-16 1989-11-15 Bar code reader signal processing method and device
EP19890311888 EP0369793A3 (en) 1988-11-16 1989-11-16 Bar code reader signal processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63287841A JPH02135580A (en) 1988-11-16 1988-11-16 Method and device for signal processing of bar code reader

Publications (2)

Publication Number Publication Date
JPH02135580A JPH02135580A (en) 1990-05-24
JPH0570192B2 true JPH0570192B2 (en) 1993-10-04

Family

ID=17722467

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63287841A Granted JPH02135580A (en) 1988-11-16 1988-11-16 Method and device for signal processing of bar code reader

Country Status (1)

Country Link
JP (1) JPH02135580A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS52128044A (en) * 1976-04-20 1977-10-27 Omron Tateisi Electronics Co High frequency noise elimination

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS52128044A (en) * 1976-04-20 1977-10-27 Omron Tateisi Electronics Co High frequency noise elimination

Also Published As

Publication number Publication date
JPH02135580A (en) 1990-05-24

Similar Documents

Publication Publication Date Title
US5418357A (en) Bar-code reader permitting selective use of a whole or a part of an image sensor
US5177346A (en) Bar code reader system for reading bar code labels with a highly specular and low contrast surface
US6991168B2 (en) Multi-channel signal processing in an optical reader
US5059773A (en) Bar code reader signal processing method and device
US6622918B2 (en) Barcode reading apparatus and barcode reading method
JPH0570192B2 (en)
US5440142A (en) System and method for testing barcode scanner window viability
US6945463B2 (en) Multi-channel scanning system with common decoder
JP2732914B2 (en) Barcode reader
JP2748721B2 (en) Barcode reader
JP3104455B2 (en) Optical information reader
JPH0652341A (en) Bar code reader
JPH02135581A (en) Signal processor for bar code reader
JP2603702B2 (en) Multi-barcode reader with automatic preprocessing identification function
JPS62280979A (en) Bar code detecting device
KR920007310B1 (en) Optical signal automatic gain control apparatus for bar code laser scanner
JP2748681B2 (en) Barcode connection method
JP3069817B2 (en) Barcode reader
JP3341026B2 (en) Barcode reader
JP2001357346A (en) Bar code reader
JPH10149408A (en) Code information reader
JPH07101428B2 (en) Bar code detector
JP2932319B2 (en) Barcode reader
JPS59133674A (en) Bar-code reader
Cheng A laser based high performance universal product code reader