JPS6334678A - Bar code reader - Google Patents

Bar code reader

Info

Publication number
JPS6334678A
JPS6334678A JP61178134A JP17813486A JPS6334678A JP S6334678 A JPS6334678 A JP S6334678A JP 61178134 A JP61178134 A JP 61178134A JP 17813486 A JP17813486 A JP 17813486A JP S6334678 A JPS6334678 A JP S6334678A
Authority
JP
Japan
Prior art keywords
bar code
barcode
black
read
thick bars
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
JP61178134A
Other languages
Japanese (ja)
Inventor
Masao Yoshimura
吉村 正男
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.)
Omron Corp
Original Assignee
Omron Tateisi Electronics Co
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 Omron Tateisi Electronics Co filed Critical Omron Tateisi Electronics Co
Priority to JP61178134A priority Critical patent/JPS6334678A/en
Publication of JPS6334678A publication Critical patent/JPS6334678A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To improve the reading capability by providing a means to change the black-detecting level sensitivity corresponding to the number of pieces of thick bars in a read data. CONSTITUTION:A central information processing circuit 11 sets the threshold level of black-detecting level sensitivity at C, and inputs its own outputs P0-P3 to a data comparator 10. If an image sensor 5 reads a bar code 2, a control circuit decides if the bar code 2 is accurately read, and in case of inaccurate reading, decides if the number of thick bars is more or less than two. And, in case the number of the thick bars exceeds two, the threshold is reset to B, but if less than two, reset to A, and the image sensor 5 is allowed to read the bar code 2 once again.

Description

【発明の詳細な説明】 (イ)発明の分野 この発明は、例えば金融機関の通帳などに使われている
2  out  Of’5バーコードの読取り装置に関
する。
DETAILED DESCRIPTION OF THE INVENTION (a) Field of the Invention The present invention relates to a 2 out of' 5 barcode reading device used, for example, in bankbooks of financial institutions.

(ロ)発明の背凧 上記2  out  of5バー]−ドは、周知のよ・
〕に10進数字を5個の2進数字によって表わrJbの
で、5木の黒バーのうら、常に2木の黒バーに太バーを
用い、残る3本の細バーとの組合せ配列により記数する
1、ぞして、バーコードの読取りをランプとレンズなど
の光学系を用いて行い、かつイメージセン1ノでその白
黒のレベル変化をアナ【コグ的に取出し、黒バーの太い
、細いをブロセッ号で判断°する。
(b) Invented back kite The above 2 out of 5 bars is well-known.
] Since a decimal digit is represented by 5 binary digits rJb, it is always written using a thick bar for the 2-tree black bar behind the 5-tree black bar, and a combination arrangement with the remaining 3 thin bars. First, the barcode is read using an optical system such as a lamp and lens, and the image sensor 1 detects the black and white level changes in an analog way, and analyzes whether the black bar is thick or thin. Judging by the Brosset number.

しかるに、このような制御系にあっては、■ランプの元
凶変化、■バーコードの印刷ムラ、■イメージセン1ノ
の分解能、等の変動要糸により黒バーの判定が定まらな
くなることがあるので、従来は例えば、光■変化に追従
した比較信号を使って白、黒の判定スレッシュレベルを
変える工夫をしていたが、このようなものでは充分な対
応ができず、より性能の高いバーコード読取り装置が望
まれることになっている。
However, in such a control system, the determination of the black bar may become unstable due to fluctuations such as: ■ Changes in the lamp, ■ Uneven barcode printing, ■ Resolution of the image sensor 1, etc. In the past, for example, a comparison signal that followed changes in light was used to change the threshold level for determining white and black, but this method was not able to provide sufficient support, and barcodes with higher performance were used. A reader is desired.

(ハ)発明の目的 この発明は上記の点に鑑み、2  out  of’5
バーコードは5木の黒バーの内の2木が常に大バーCあ
ることに着目し、読取りデータの太バーが2本より多い
場合、あるいは少ない場合に応じてそれぞれ黒検知レベ
ル感度を下げるか、上げることにより、再読取り動作に
でバーコードの読取り性能の向上を計ることの(゛きる
バーコード読取り装置の提供を目的とする。
(c) Purpose of the invention In view of the above points, this invention
Focusing on the fact that two of the five black bars in a barcode are always large bars C, the black detection level sensitivity can be lowered depending on whether there are more or fewer thick bars in the read data. The object of the present invention is to provide a barcode reading device that can improve barcode reading performance during rereading operations by increasing the barcode reading performance.

(ニ)発明の要約 この発明は、読取りデータ中の太バーの本数を設定本数
とが比較する比較器と、この設定本数に対Jる大小変化
に応じて、プログラムに従い、黒検知レベル感度を変更
ザる手段を含んだバーコード読取り装置であることを特
徴とする。
(D) Summary of the Invention This invention includes a comparator that compares the number of thick bars in read data with a set number, and a black detection level sensitivity that is adjusted according to a program according to a change in size with respect to the set number. The present invention is characterized in that it is a barcode reading device including means for changing the barcode.

(ホ)発明の効果 この発明によれば、5木の黒バーのうら、太バーの数の
大小変化に対応し、黒検知レベル感度を変更して再読取
りを行わけるので、バーコードの印刷ムラ(黒が太1ざ
る等)に対し読取り性能が向上し、また光学系のピント
ズレやランプの光間変化に対しても有効に対処できる。
(E) Effects of the Invention According to the present invention, the black detection level sensitivity can be changed and re-reading can be performed in response to changes in the number of thick bars behind the black bar of the 5-tree tree, so that barcodes can be printed. The reading performance improves against unevenness (blacks are thick and uneven, etc.), and it is also possible to effectively deal with out-of-focus of the optical system and changes between lamp lights.

(へ)発明の実施例 以下、この発明の一実施例を図面によって説明する。(f) Examples of the invention An embodiment of the present invention will be described below with reference to the drawings.

第1図は通帳1のバーコード2を読取る装置を示し、レ
ンズ3おにびランプ4の光学系の助けでイメージセン4
J5がバーコード2を読取り、それをアンプ6J3よび
ピークボールド回路7を介しA/D変換器8に第2図の
ようなアブログデータとして入力される。また、アンプ
出力は他方では積分器9に導かれ、これで作成されたリ
ファレンス信号が同じくΔ/1〕変換器8に入力される
Figure 1 shows a device that reads the barcode 2 of a bankbook 1, and an image sensor 4 with the help of an optical system of a lens 3 and a lamp 4.
J5 reads the barcode 2, and inputs it to the A/D converter 8 via the amplifier 6J3 and the peak bold circuit 7 as a log data as shown in FIG. On the other hand, the amplifier output is guided to an integrator 9, and a reference signal generated thereby is inputted to a Δ/1] converter 8 as well.

Δ/D変換機8はm子化回路であり、第2図アナログデ
ータの各区間のレベル信号を4ビツトのデジタル出力D
o 、DI 、B2 、B3としてデータ比較器10の
BO、B1.82 、B3端子に次々と入力する。
The Δ/D converter 8 is an m-converter circuit, and converts the level signal of each section of the analog data in FIG. 2 into a 4-bit digital output D.
The signals are input one after another to the BO, B1.82, and B3 terminals of the data comparator 10 as O, DI, B2, and B3.

一方、リードオンメモリ12とランダムアクセスメモリ
13を備えた中央情報処理回路11からは設定されたス
レッシュレベル(黒検知レベル)に応じた4ビツト出力
PO、Pl 、P2 、P3としてデータ比較器10の
AO、AI 、 A2 、 A3端子に入力する。
On the other hand, the central information processing circuit 11 including the read-on memory 12 and the random access memory 13 outputs 4-bit outputs PO, Pl, P2, and P3 to the data comparator 10 according to the set threshold level (black detection level). Input to AO, AI, A2, A3 terminals.

データ比較器10ではへ〇−,A3人力と80〜83人
力との大小を比較し、A>Bの時に出ノ〕をアクティブ
とする素子で、そのO端子からは第3図のような信号が
中央情報処理回路11に送られてランダムアクセスメモ
リ13に記録され、読取り完了後に該回路11がこれよ
りバーコード2の数字を判定すると共に、太バーの数が
2本よりも多いか少ないかを求める。そして、2本より
も多いか少ない時にバーコード2の読取りエラーとして
、データ比較″!S10に送る出力PO−P3 、即ち
スレッシュレベルを変更する。
The data comparator 10 is an element that compares the magnitude of A3 human power and 80-83 human power, and makes the output active when A>B, and from its O terminal outputs a signal as shown in Figure 3. is sent to the central information processing circuit 11 and recorded in the random access memory 13, and after the reading is completed, the circuit 11 determines the number of barcode 2 from this and also determines whether the number of thick bars is more or less than 2. seek. Then, when there are more or less than two barcodes, it is determined that the barcode 2 is being read as an error, and the output PO-P3 sent to the data comparison "!S10", that is, the threshold level is changed.

つまり、イメージはンサ5のアナログ信号はコントラス
トが完全に出ず、エツジ部が多少ぶれるのでスレッシュ
レベルにより太さが異なって測定される。このため、リ
ードオンメモリ12には異なる感度のスレッシュレベル
Δ、B、C(第2図に承り)が記録される。この場合、
スレッシュレベル八はスレッシュレベルCに比べて黒の
幅がより太く判定され、スレッシュレベルBでは逆に細
く判定される。
In other words, since the analog signal from the sensor 5 does not have complete contrast and the edges are somewhat blurred, the image is measured with different thicknesses depending on the threshold level. Therefore, threshold levels Δ, B, and C (as shown in FIG. 2) of different sensitivities are recorded in the read-on memory 12. in this case,
At threshold level 8, the black width is determined to be thicker than at threshold level C, and at threshold level B, on the contrary, it is determined to be thinner.

中央情報処理回路11は通常はスレッシュレベルCを;
J tluとして出力PO〜P3をデータ比較器10に
送出し、太レベルが2木よりも多い読取りエラ一時にス
レッシュレベルBを、また少ない読取りエラ一時にはス
レッシュレベル八に切賛えて出力をデータ比較器10に
送込むようにプログラムされている。
The central information processing circuit 11 normally sets the threshold level C;
Send the outputs PO to P3 as J tlu to the data comparator 10, and compare the outputs with threshold level B when there are more reading errors than 2 trees, and threshold level 8 when there are fewer reading errors. 10.

次に動作フローを第4図を参照しつつ説明すると、中央
情報処理回路11は黒検知レベル感度をスレッシュレベ
ルCに設定して、ぞの出力PO〜P3をデータ比較器1
0に人力している(ステップ30)。
Next, the operation flow will be explained with reference to FIG.
0 (step 30).

イメージセンサ5がバーコード2を読取ると(ステップ
31)、第1図の制御回路ではバー−1−ド2の読取り
が正確になされたか、なされなかった場合は太バーが2
木より多いか少ないかが前1fflの動作で求められる
(ステップ32.33)。
When the image sensor 5 reads the barcode 2 (step 31), the control circuit shown in FIG.
Whether it is more or less than the tree is determined by the previous 1ffl operation (steps 32 and 33).

そして、太バーが2木J、り多い時はスレッシュレベル
をBに、また少ない時はAに設定し直し、再びイメージ
センサ5でバーコード2を再読取りさける(ステップ3
3.34,35.36>。
Then, if there are more than 2 thick bars, set the threshold level to B, and if there are too few, set it to A, and reread the barcode 2 with the image sensor 5 (step 3).
3.34, 35.36>.

しかる後、ステップ37で再び、バーコード2の正確に
読取りがなされたか否かを判定覆る。
Thereafter, in step 37, it is again determined whether barcode 2 has been correctly read.

このようにバーコード2の読取りエラ一時には、検出し
た太バーの多少に応じデータ比較器10のスレッシュレ
ベルが予めプログラムされた手順に従い自動変化される
ことにより、再読取り時には正確なバーコードの読取り
を可能にできる。
In this way, when an error occurs in reading the barcode 2, the threshold level of the data comparator 10 is automatically changed according to a pre-programmed procedure depending on the number of thick bars detected, so that the barcode can be read accurately when rereading. can be made possible.

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

図面はこの発明の一実施例を示し、 第1図はバーコード読取り装置の制御回路図、第2図は
アナログデータ出力波形図、 第3図はデータ比較器の出力波形図、 第4図は動作フローチャート図である。 2・・・バーコード    5・・・イメージセンサ8
・・・△/D変換器   10・・・データ比較器11
・・・中央情報処理回路 第4図 第1図の動作フロー+ヤート
The drawings show an embodiment of the present invention. FIG. 1 is a control circuit diagram of a barcode reading device, FIG. 2 is an analog data output waveform diagram, FIG. 3 is an output waveform diagram of a data comparator, and FIG. 4 is a diagram of an output waveform of a data comparator. It is an operation flowchart figure. 2...Barcode 5...Image sensor 8
...Δ/D converter 10...Data comparator 11
...Central information processing circuit Figure 4 Operation flow of Figure 1 + Yard

Claims (1)

【特許請求の範囲】 1、2out of5バーコードの読取り装置であつて
、 読取りデータ中の太バーの本数を設定本数 と比較する比較器と、 この設定本数に対する大小変化に応じて、 プログラムに従い黒検知レベル感度を変更 する手段を含んだ バーコード読み取り装置。
[Claims] A reading device for 1, 2 out of 5 barcodes, comprising: a comparator that compares the number of thick bars in the read data with a set number; A barcode reader including means for changing detection level sensitivity.
JP61178134A 1986-07-29 1986-07-29 Bar code reader Pending JPS6334678A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61178134A JPS6334678A (en) 1986-07-29 1986-07-29 Bar code reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61178134A JPS6334678A (en) 1986-07-29 1986-07-29 Bar code reader

Publications (1)

Publication Number Publication Date
JPS6334678A true JPS6334678A (en) 1988-02-15

Family

ID=16043243

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61178134A Pending JPS6334678A (en) 1986-07-29 1986-07-29 Bar code reader

Country Status (1)

Country Link
JP (1) JPS6334678A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0259878A (en) * 1988-08-25 1990-02-28 Alps Electric Co Ltd Code reader
JP2015141447A (en) * 2014-01-27 2015-08-03 日立オムロンターミナルソリューションズ株式会社 Barcode reader and barcode reading method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS576977A (en) * 1980-06-13 1982-01-13 Fujitsu Ltd Bar code reading system
JPS57132278A (en) * 1981-02-09 1982-08-16 Fujitsu Ltd Bar code reading system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS576977A (en) * 1980-06-13 1982-01-13 Fujitsu Ltd Bar code reading system
JPS57132278A (en) * 1981-02-09 1982-08-16 Fujitsu Ltd Bar code reading system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0259878A (en) * 1988-08-25 1990-02-28 Alps Electric Co Ltd Code reader
JP2015141447A (en) * 2014-01-27 2015-08-03 日立オムロンターミナルソリューションズ株式会社 Barcode reader and barcode reading method

Similar Documents

Publication Publication Date Title
US6010070A (en) Code reading device and method with variable light signal storage time
JPS61115179A (en) Bar code reader
SG88742A1 (en) Storage device, data processing system and data writing and readout method
JPS6334678A (en) Bar code reader
JP2500859B2 (en) Bar code reader
CA2044951A1 (en) Automatic Gain Control Circuit
JPH056549A (en) Reproducing signal processor
JPS6037649Y2 (en) character reading device
JP2576370B2 (en) ID mark reading device
JPH058810B2 (en)
JPH0816709A (en) Bar code decoding processing system
JPS62277852A (en) Picture signal processor
JPS5816373A (en) Card reader for time recorder or the like
JPS61193273A (en) Bar code reader
JPH03246645A (en) Data management system
JP2779898B2 (en) Barcode reader
JPH02187926A (en) Optical recording medium driver
JPH01255078A (en) Mark discriminating circuit for mark read machine
JPH033088A (en) Automatic id recognizing device for x-ray film
JPS6234287A (en) Controller for amplitude degree
JPS61295757A (en) Reader
JPS58184686A (en) Medium detection system
JPS63298872A (en) Magnetic reproducing circuit
JPH04344585A (en) Optical character reader
JPS62154973A (en) Microfilm scanner