Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH087772B2 - Code reader - Google Patents
[go: Go Back, main page]

JPH087772B2 - Code reader - Google Patents

Code reader

Info

Publication number
JPH087772B2
JPH087772B2 JP63023928A JP2392888A JPH087772B2 JP H087772 B2 JPH087772 B2 JP H087772B2 JP 63023928 A JP63023928 A JP 63023928A JP 2392888 A JP2392888 A JP 2392888A JP H087772 B2 JPH087772 B2 JP H087772B2
Authority
JP
Japan
Prior art keywords
count value
signal
bar
space
signal line
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 - Fee Related
Application number
JP63023928A
Other languages
Japanese (ja)
Other versions
JPH01200490A (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.)
Alps Alpine Co Ltd
Original Assignee
Alps Electric 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 Alps Electric Co Ltd filed Critical Alps Electric Co Ltd
Priority to JP63023928A priority Critical patent/JPH087772B2/en
Priority to US07/208,182 priority patent/US4859840A/en
Publication of JPH01200490A publication Critical patent/JPH01200490A/en
Publication of JPH087772B2 publication Critical patent/JPH087772B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、媒体上に表示された符号(例えばバーコー
ド表示)を光電変換器等で走査して読取り、その符号で
示される情報を計算機で処理可能な信号に解読して出力
する符号読取装置に係り、特に、読取解読確率を改善し
た符号読取装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Industrial field of application] The present invention scans and reads a code (for example, a bar code display) displayed on a medium with a photoelectric converter or the like, and calculates the information shown by the code. The present invention relates to a code reader that decodes and outputs a signal that can be processed by, and particularly relates to a code reader that has an improved reading and decoding probability.

〔従来の技術〕[Conventional technology]

この種の符号読取装置は、帳票や物品表面等の媒体上
に種々のコード体系で表示された符号を光学読取装置な
どのスキヤナで光電変換し、マイクロプロセツサ等の計
算機で処理可能な信号に解読して出力するものである。
表示される符号には、バーコード,カルラコード等の専
用表示符号や一般文字があり、これらを解読するため表
示方法に一定の基準を持たせてある。この基準には、表
示間隔及び表示範囲に関する規定がある。例えば、バー
コードでは日本工業規格〔JIS X 0502〕(昭和62年4月
30日第1刷発行)第3〜9頁に記載されているものや、
American National Standard〔ANSI:MH10.8M-1983〕の
第8頁等に規定されているものがある。これらの表示
は、スキヤナとして代表的な光学読取装置の中でもペン
型のみならずセルフ・スキヤニング・タイプのハンド・
ワンド・モデルや据置型のいずれであつても、バーコー
ド表示部分に対する走査速度の補償範囲の優位差を有し
ているものの、表示環境変化が著しく、符号のスタート
判定が困難となり解読確率が低下する傾向にある。
This type of code reader photoelectrically converts codes displayed in various code systems on a medium such as a form or article surface into a signal that can be processed by a computer such as a microprocessor, by photoelectrically converting it with a scanner such as an optical reader. It decodes and outputs.
The codes to be displayed include special display codes such as bar codes and carla codes and general characters, and a certain standard is given to the display method for decoding these. This standard defines the display interval and display range. For example, for bar codes, Japanese Industrial Standards [JIS X 0502] (April 1987)
Issued on the 30th, 1st printing) Items listed on pages 3-9,
Some are specified on page 8 of American National Standard [ANSI: MH10.8M-1983]. These displays are not limited to the pen type among the typical optical scanning devices as scanners, but also the self-scanning type hand
Both the wand model and the stationary type have a significant difference in the scanning speed compensation range with respect to the bar code display part, but the display environment changes significantly, making it difficult to judge the start of the code and the decoding probability decreases. Tend to do.

従来技術においては、バーコードの直前のスペース
が、ある一定距離(ワイドスペース幅より大きい距離)
以上又はある一定時間(ワイドスペース幅のカウント時
間より大きい時間)以上検出された時、バーコードのス
タートと判定しているので、バーコードの直前のスペー
スがある一定距離以上又はある一定時間以上分が必要に
なる。そのため、バーコード表示の高密度化が困難であ
り、またスペース部分に汚れがつく可能性が高くなり、
誤動作し易くなる。
In the prior art, the space immediately before the barcode is a certain distance (a distance larger than the wide space width).
When it is detected for more than a certain time (more than the count time of wide space width) for a certain time or more, it is judged that the barcode has started, so the space immediately before the barcode is more than a certain distance or more than a certain certain time. Will be required. Therefore, it is difficult to increase the density of barcode display, and there is a high possibility that the space will become dirty.
It becomes easy to malfunction.

また、符号要素(エレメント)であるバー又はスペー
スのカウント値が、ある定数値より大きい時にバーコー
ド終了と見なしてデコード動作を制御しているので、バ
ーコードリーダのスキヤンスピードにより、ストツプマ
ージンに必要なスペース/バーの幅が変わる。このた
め、早いスキヤンスピードに対応させるためにストツプ
マージン幅を大きくしなければならず、バーコード表示
の高密度化が困難であり、このマージン部分に汚れがつ
く可能性が高くなつて誤動作を起き易い。
In addition, when the count value of the bar or space that is the code element (element) is larger than a certain constant value, the decoding operation is controlled by considering it as the end of the bar code, so the scanning margin of the bar code reader causes a stop margin. Required space / bar width changes. For this reason, it is necessary to increase the stop margin width in order to correspond to the quick scan speed, and it is difficult to increase the density of the bar code display, and it is highly possible that the margin portion is stained and malfunctions occur. Easy to get up.

その対応策として、スタート可と、ストツプ可の判定
を、直前のカウント値とある定数の値、又はある定数倍
した値との間の比較により判断するようにして、スター
トマージン,ストツプマージンを最小必要限度とするこ
とができると共に、バーコード自体のバー又はスペース
の幅を狹くして高密度化でき、又読取り誤りを低減でき
るようにしたものが提案されている。
As a countermeasure, the start margin and the stop margin are determined by comparing the immediately preceding count value with a certain constant value or a value obtained by multiplying a certain constant to determine the start margin and the stop margin. It has been proposed that the width of the bar or the space of the bar code itself can be narrowed to increase the density and the reading error can be reduced while the bar width can be set to the minimum required limit.

第5図は上記従来技術の構成を示すブロツク図であつ
て、101は光電変換部、102はフアーストスペース検出
部、103は第1エッジ検出部、104はカウンタ部、106は
ストツプ判定部、107はデコーダ部、108はフアーストバ
ー/スペース判定部、109はスタート判定部、また7は
第2エツジ検出器、11,21,22,27,31,39,40は切替器であ
る。
FIG. 5 is a block diagram showing the configuration of the above-mentioned prior art, in which 101 is a photoelectric conversion unit, 102 is a first space detection unit, 103 is a first edge detection unit, 104 is a counter unit, 106 is a stop determination unit, 107 is a decoder section, 108 is a fast bar / space determination section, 109 is a start determination section, 7 is a second edge detector, and 11, 21, 22, 27, 31, 39, 40 are switching elements.

先ず、光電変換部101は、バーコード等の符号を光電
変換器1で読取り、読取つた信号を信号線aを介して2
値化回路2に与え、“0",“1"(“H",“L")の2値レベ
ル信号に変換し、変換信号を切替器3に与える。
First, the photoelectric conversion unit 101 reads a code such as a bar code with the photoelectric converter 1, and outputs the read signal via the signal line a 2
It is supplied to the binarization circuit 2, converted into a binary level signal of "0", "1"("H","L"), and the converted signal is supplied to the switch 3.

切替器3は初期にリセツト信号により図示x側に入つ
ており、信号線eの信号により図示y側に切替わる。し
たがつて、切替器3は、信号線bをスペース検出器4に
接続し、信号線cの信号がスペースに対応する信号(例
えば“L")のとき信号線eに出力を与え、切替器3をy
側に切替える。これにより、光電変換部101の出力線の
信号bは切替器3を通つて信号線dから切替器5に入
る。切替器5はリセツト信号によりx側に入つているの
で、信号線dは信号線fを介して第1エツジ検出器6に
接続される。
The switch 3 is initially connected to the x side in the figure by the reset signal, and is switched to the y side in the figure by the signal of the signal line e. Therefore, the switch 3 connects the signal line b to the space detector 4, and gives an output to the signal line e when the signal on the signal line c is a signal corresponding to the space (for example, "L"), 3 to y
Switch to the side. As a result, the signal b on the output line of the photoelectric conversion unit 101 passes through the switch 3 and enters the switch 5 from the signal line d. Since the switch 5 is placed on the x side by the reset signal, the signal line d is connected to the first edge detector 6 via the signal line f.

第1エツジ検出器6は信号線fからの信号がスペース
からバーに変化(“L"→“H")したとき、又はバーから
スペース(“H"→“L")に変化したときこれを検出し信
号線hに出力を与える。この信号線h上のエツジ検出信
号は切替器5をy側に切替えると共にカウンタ部104の
第1カウンタ8に入り、この信号により第1カウンタ8
はカウント値を0としてクロツクCLのカウント動作を開
始する。なお、第1カウンタ8はリセツト信号の入力、
後述の第2エツジ検出器7の出力線i上の信号入力によ
つても同様に、0クリアしてカウントを開始し、信号線
j上にカウント値を送出する。この第1カウンタ8は、
第1定数レジスタ9に設定したオーバフロー値とオーバ
フロー比較器10で比較され、該カウンタがオーバフロー
(例えば、スキヤナを途中で停止させたような場合)し
たときは、オーバフロー比較器10からリセツト信号が出
力される。
The first edge detector 6 detects when the signal from the signal line f changes from the space to the bar (“L” → “H”) or when the signal changes from the bar to the space (“H” → “L”). It is detected and the output is given to the signal line h. The edge detection signal on the signal line h switches the switch 5 to the y side and enters the first counter 8 of the counter section 104, and this signal causes the first counter 8 to move.
Sets the count value to 0 and starts the counting operation of the clock CL. The first counter 8 receives the reset signal,
Similarly, by inputting a signal on the output line i of the second edge detector 7, which will be described later, 0 is cleared, counting is started, and the count value is sent out on the signal line j. This first counter 8
When the overflow value set in the first constant register 9 is compared with the overflow comparator 10, and the counter overflows (for example, when scanning is stopped in the middle), the overflow comparator 10 outputs a reset signal. To be done.

さて、第2エツジ検出器7は第1エツジ検出器6の第
1エツジ検出に基づいて、切替器3と5を介して光電変
換部101からの信号を入力し、その入力信号線g上の信
号が変化したとき(“H"→“L"又は“L"→“H")、検出
信号を信号線iを通して第1カウンタ8に供給すると共
に、フアーストバー/スペース判定部108の第2カウン
タ回路28に与える。
Now, the second edge detector 7 inputs the signal from the photoelectric conversion unit 101 via the switches 3 and 5 based on the first edge detection of the first edge detector 6 and outputs the signal on the input signal line g. When the signal changes (“H” → “L” or “L” → “H”), the detection signal is supplied to the first counter 8 through the signal line i, and at the same time, the second counter circuit of the fast bar / space determination unit 108. Give to 28.

フアーストバー/スペース判定部108は、フアースト
バーを検出してからのバーとスペースの和を数え(第2
カウンタ回路28の内容)、第4定数レジスタ29に予め設
定してある数に達したとき信号線ウに信号を出す(スタ
ート判定を行なうスペースとバーの数をカウントしてい
る)。
The fast bar / space determination unit 108 counts the sum of the bar and space after detecting the fast bar (second
The contents of the counter circuit 28), when a number preset in the fourth constant register 29 is reached, a signal is output to the signal line C (the number of spaces and bars for start determination is counted).

第2カウンタ回路28は、信号線iからの信号によりカ
ウンタを順次インクリメントして信号線アにカウント値
を送出する。なお、リセツト信号によりカウンタは0ク
リアされる。第4定数レジスタ29には、バーコードのス
タート判定に使用するバーとスペースの数の和(2以
上)が予め設定されており、その値を信号線イで第1マ
ージン比較器30に送る。比較器30は信号線アからのカウ
ント値と信号線イからの値を比較し、カウント値が第4
定数レジスタの設定値以上のとき信号線ウ上に信号を出
力する。
The second counter circuit 28 sequentially increments the counter by the signal from the signal line i and sends the count value to the signal line A. Note that the counter is cleared to 0 by the reset signal. A sum (two or more) of the number of bars and spaces used for determining the start of the bar code is preset in the fourth constant register 29, and the value is sent to the first margin comparator 30 via the signal line a. The comparator 30 compares the count value from the signal line A with the value from the signal line A, and the count value is the fourth value.
Outputs a signal on the signal line c when the value is equal to or greater than the value set in the constant register.

切替器31は、第2エツジ検出部からの信号をスタート
判定部109及び切替器39か、ストツプ判定部106及び切替
器21のいずれか一方に送る。この切替えはリセツト信号
とフアーストバー/スペース判定部108の出力信号によ
り行なわれる。そしてリセツト信号が入るとy側からx
側に、信号線ウから信号が入るとx側からy側に切替わ
る。
The switch 31 sends the signal from the second edge detector to either the start determiner 109 and the switch 39 or the stop determiner 106 and the switch 21. This switching is performed by the reset signal and the output signal of the fast bar / space determination unit 108. Then, when the reset signal is input, x from the y side
When a signal is input to the side from the signal line c, the x side is switched to the y side.

なお、切替器11は、第1エツジ検出器6からの信号に
より作動し、カウンタ部104からのカウント値をスター
ト判定部109とストツプ判定部106に送出する。
The switch 11 is activated by the signal from the first edge detector 6 and sends the count value from the counter unit 104 to the start determination unit 109 and the stop determination unit 106.

スタート判定部109は、少くとも最初のバーとスペー
スのカウント値を比較してスペース又はバーのカウント
値(第1カウンタメモリ12の内容)が直前のスペース又
はバーのカウント値(第2前回カウンタメモリ35の内
容)のある定数(第6定数レジスタ36の内容)倍以上に
なつた時、リセツト信号を信号線サに送出する。すなわ
ち、スタート判定の際、スタートマージンを見ずに、少
くとも最初のバーとスペースのカウント値の比較で行な
つており、前記のようにスタートでないと判断したと
き、リセツト信号を出力する。
The start determination unit 109 compares the count value of at least the first bar and the space and compares the count value of the space or bar (content of the first counter memory 12) with the count value of the immediately preceding space or bar (second previous counter memory). When the number of times exceeds a certain constant (content of 35) (content of sixth constant register 36), a reset signal is sent to the signal line server. That is, at the start determination, the count value of at least the first bar and the space are compared without looking at the start margin, and when it is determined that the start is not started, the reset signal is output.

また、第1カウンタメモリ12は、信号線lからのカウ
ント値を記憶し、これを信号線mに送出する。そして、
リセツト信号により、記憶していたカウント値をリセツ
トする。
Further, the first counter memory 12 stores the count value from the signal line 1 and sends it to the signal line m. And
The stored count value is reset by the reset signal.

第5定数レジスタ33には、(ワイドバー又はスペース
/スロースキヤンスピード)より大きいカウント値が予
め設定されており、その値を信号線カに与えており、リ
セツト信号が入つた時のみ信号線カと信号線キとをつな
ぐ切替器34を介して第2前回カウンタメモリ35に記憶さ
せる。記憶された上記カウント値は信号線クを介して第
2乗算器37に与えられ、第2乗算器37で第6定数レジス
タ36に設定されている(ワイドバー又はスペース/ナロ
ーバー又はスペース)より大きい値と乗算される。乗算
結果は信号線コを介して第3マージン比較器38に供給さ
れる。
A count value larger than (wide bar or space / slow scan speed) is preset in the fifth constant register 33, and the value is given to the signal line counter. Only when the reset signal is input, the signal line counter is set. It is stored in the second previous counter memory 35 via the switch 34 that connects the signal line and the signal line. The stored count value is given to the second multiplier 37 via the signal line and is larger than the value set in the sixth constant register 36 by the second multiplier 37 (wide bar or space / narrow bar or space). Is multiplied by the value. The multiplication result is supplied to the third margin comparator 38 via the signal line C.

第3マージン比較器38は、信号線mからの第1カウン
タメモリ12の出力信号(カウント値)と上記第2乗算器
37の乗算出力値とを比較し、上記カウント値が乗算出力
値以上の時に信号線サ上に信号を出力する。
The third margin comparator 38 outputs the output signal (count value) of the first counter memory 12 from the signal line m and the second multiplier.
The multiplication output value of 37 is compared, and when the count value is equal to or more than the multiplication output value, a signal is output on the signal line circuit.

切替器40は、(i)リセツト信号が入ると信号線サと
リセツト線をつなぎ、信号線サからの信号をリセツト信
号として出力させる。又(ii)信号線ウからの信号(フ
アーストバー/スペース判定部108の出力信号)が入る
と、信号線サとリセツト出力線を切り離すように動作す
る。なお、切替器32は、信号線エからの信号が入つた時
のみ、信号線mと信号線キとを継ぎ、第1カウンタメモ
リ12の記憶値を第2前回カウンタメモリ35に供給し、そ
れ以外のときは、信号線mと信号線キとを切り離す。
When the reset signal (i) is input, the switch 40 connects the signal line terminal and the reset line and outputs the signal from the signal line terminal as the reset signal. Further, (ii) when a signal from the signal line C (output signal of the fast bar / space determination unit 108) is input, it operates to disconnect the signal line server and the reset output line. The switch 32 connects the signal line m and the signal line k only when a signal from the signal line D is input, and supplies the stored value of the first counter memory 12 to the second previous counter memory 35. In other cases, the signal line m and the signal line key are separated.

また、切替器39は、信号線エからの信号が入つた時の
み、信号線mと信号線tとを継ぎ、第1カウンタメモリ
12の値をデコーダ部107に供給する。
Further, the switch 39 connects the signal line m and the signal line t only when the signal from the signal line D is input, and the switch 39 is connected to the first counter memory.
The value of 12 is supplied to the decoder unit 107.

この切替器39と、切替器21は、第2エツジ検出部7か
らの信号により作動し、切替器39は上記のように第1カ
ウンタメモリ12からのバー又はスペースのカウント値
を、また切替器21は後述のように、第2カウンタメモリ
15からのバー又はスペースのカウント値を、それぞれデ
コーダ部107に送出する。
The switch 39 and the switch 21 are operated by the signal from the second edge detector 7, and the switch 39 uses the count value of the bar or space from the first counter memory 12 as described above, and the switch 21. 21 is a second counter memory as described later.
The count value of the bar or space from 15 is sent to the decoder unit 107, respectively.

また、切替器27は、信号線ウから信号が入つた時の
み、すなわち、フアーストバー/スペース判定部108か
らの信号により作動し、信号線mからの信号を信号線p
へ導いてスタート判定部109での判定に使用された最終
のバー又はスペースのカウント値をストツプ判定部106
の第1前回カウンタメモリ17に供給する。
Further, the switch 27 is operated only when a signal is input from the signal line C, that is, by a signal from the fast bar / space determination unit 108, and a signal from the signal line m is transferred to the signal line p.
The count value of the final bar or space used for the determination in the start determination unit 109 is guided to the stop determination unit 106.
To the first previous counter memory 17 of.

次に、ストツプ判定部106の動作を説明する。 Next, the operation of the stop determination unit 106 will be described.

ストツプ判定部106は、現在読んでいるバー又はスペ
ースのカウント値、すなわち第2カウンタメモリ15の内
容が直前のスペース又はバーのカウント値、すなわち前
回カウンタメモリ17の内容、のある定数(第3定数レジ
スタ18に設定されている値)倍以上になつた時に、信号
線uに送出する。第2カウンタメモリ15は信号線lから
の信号、すなわちカウンタ部104の第1カウンタ回路8
のカウント値を記憶し、それを信号線oに送出する。切
替器16は信号線オからの信号、すなわち切替器31を介し
た第2エツジ検出器7の出力信号が入つた時のみ、信号
線oと信号線pを継いで第2カウンタメモリ15の値を第
1前回カウンタメモリ17に送出する。第1前回カウンタ
メモリ17は、信号線pからの信号を記憶し、その値を信
号線qを介して第1乗算器19に与える。第3定数レジス
タ18にはバーコードの(ワイドバー又はスペース/ナロ
ーバー又はスペース)より大きい値が予め設定されてお
り、この設定値を信号線rを介して第1乗算器19に与
え、第1前回カウンタメモリに記憶した値と乗算して、
信号線sを介して第2マージン比較器20に出力する。
The stop determination unit 106 uses a constant (third constant) of the count value of the bar or space currently being read, that is, the content of the second counter memory 15 is the count value of the immediately preceding space or bar, that is, the content of the previous counter memory 17. When the value exceeds the value set in the register 18) times, it is sent to the signal line u. The second counter memory 15 receives the signal from the signal line 1, that is, the first counter circuit 8 of the counter section 104.
The count value of is stored and sent to the signal line o. The switch 16 connects the signal line o and the signal line p to the value of the second counter memory 15 only when the signal from the signal line O, that is, the output signal of the second edge detector 7 through the switch 31 is input. Is sent to the first previous counter memory 17. The first previous counter memory 17 stores the signal from the signal line p and gives the value to the first multiplier 19 via the signal line q. A value larger than the (wide bar or space / narrow bar or space) of the bar code is preset in the third constant register 18, and this set value is given to the first multiplier 19 via the signal line r, Multiply the value stored in the counter memory last time,
The signal is output to the second margin comparator 20 via the signal line s.

第2マージン比較器20は、信号線oを介して入力する
第2カウンタメモリ15の値と第1乗算器19の乗算出力と
を比較し、第2カウンタメモリ15からの値、すなわちカ
ウンタ部104の第1カウンタ回路8のカウント値が第1
乗算器19の出力値以上のとき、信号線uに比較出力を送
出する。
The second margin comparator 20 compares the value of the second counter memory 15 input via the signal line o with the multiplication output of the first multiplier 19, and outputs the value from the second counter memory 15, that is, the counter unit 104. The count value of the first counter circuit 8 of
When the output value of the multiplier 19 or more, the comparison output is sent to the signal line u.

ストツプ判定部106の出力を入力とする切替器22は、
リセツト信号が入ると信号線uと信号線vを切り離し、
信号線ウからのフアーストバー/スペース判定部108か
らの出力信号により信号線uと信号線vを継ぐ。すなわ
ちフアーストバー/スペース判定部108からのフアース
トバー/スペース判定信号(スタートマージン判定信
号)が入力した時点から、ストツプ判定部106からの出
力信号をデコーダ部107に与え、デコーダ動作を制御す
る。
The switch 22 that receives the output of the stop determination unit 106
When the reset signal is input, the signal line u and the signal line v are disconnected,
The signal line u and the signal line v are connected by the output signal from the fast bar / space determination unit 108 from the signal line c. That is, the output signal from the stop determination unit 106 is applied to the decoder unit 107 from the time when the first stop bar / space determination signal (start margin determination signal) from the first fast bar / space determination unit 108 is input, and the decoder operation is controlled.

デコーダ部107は、読取つたバーコードのバー又はス
ペースの幅に対応するクロツクCLのカウント値に基づい
て、該バーコードの符号要素の意味をデコード処理する
ものであり、例えば図示のような構成を有している。
The decoder unit 107 decodes the meaning of the code element of the bar code based on the count value of the clock CL corresponding to the width of the bar or space of the bar code that has been read. Have

図示のデコーダ部107を構成する各ブロツクの機能
は、次のようなものである。
The function of each block constituting the illustrated decoder unit 107 is as follows.

ビツトイメージ変換器23は、信号線iからの第2エツ
ジ検出器7の検出出力で作動し、信号線tから入力する
カウント値をビツトイメージに変換して信号線wを介し
てビツトイメージメモリ24に記憶させる。この変換時に
エラーが発生したときは、リセツト信号を出力する。ビ
ツトイメージメモリ24は、(i)信号線wからのビツト
イメージを記憶する、(ii)信号線vからの信号入力で
記憶しているビツトイメージを信号線xを介してキヤラ
クタ変換器25に送出する、(iii)リセツト信号が入る
と記憶していたビツトイメージをクリアする、各動作を
行う。
The bit image converter 23 operates by the detection output of the second edge detector 7 from the signal line i, converts the count value input from the signal line t into a bit image, and outputs the bit image memory 24 via the signal line w. To memorize. If an error occurs during this conversion, a reset signal is output. The bit image memory 24 (i) stores the bit image from the signal line w, and (ii) sends the bit image stored by the signal input from the signal line v to the character converter 25 via the signal line x. Yes, (iii) When the reset signal is input, the stored bit image is cleared and each operation is performed.

キヤラクタ変換器25は、信号線vからの信号入力で作
動を開始し、ビツトイメージメモリ24から到来するビツ
トイメージをキヤラクタに変換し、これを信号線yを介
して出力回路26に与える。なお、キヤラクタ変換の際に
エラーが発生した時はリセツト信号を出力する。
The charactor converter 25 starts its operation by the signal input from the signal line v, converts the bit image coming from the bit image memory 24 into charactor, and supplies it to the output circuit 26 via the signal line y. If an error occurs during character conversion, a reset signal is output.

そして、出力回路26は信号線yからのキヤラクタ信号
を出力線zに送出し、図示しない表示手段に供給する。
この送出の完了に伴つてリセツト信号を出力する。
Then, the output circuit 26 sends the charactor signal from the signal line y to the output line z and supplies it to the display means (not shown).
Upon completion of this transmission, the reset signal is output.

以上のような構成において、スタートマージン,スト
ツプマージンの判定のため、バーコード読取りのスキヤ
ンに伴う現在のバー又はスペースのカウント値を前回の
スペース又はバーのカウント値にある定数を乗算した値
と比較している。すなわち、現在のカウント値と直前の
カウント値の関連においてスタートとストツプの判定を
行なうものであるため、表示符号の前後に設置するスペ
ース(スタートマージン,ストツプマージン)の幅を小
とすることができ、また、符号を構成するバー又はスペ
ース等の幅は読取りのスキヤンスピードによらないもの
であるため、符号表示を高密度化することができる。こ
のため、符号表示に汚れの付着する確率も低くなつて、
誤動作の発生が低減される。
In the above configuration, in order to judge the start margin and the stop margin, the count value of the current bar or space due to the scanning of the bar code is multiplied by the constant value of the previous space or bar count value. I'm comparing. That is, since the start and the stop are determined in relation to the current count value and the immediately preceding count value, the width of the space (start margin, stop margin) installed before and after the display code can be made small. Moreover, since the width of the bar or the space forming the code does not depend on the scanning speed of reading, the code display can be made highly dense. For this reason, the probability that dirt is attached to the code display is reduced,
Occurrence of malfunction is reduced.

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

上記従来技術においては、そのストツプ判定は最後の
バー又はスペースのカウント値のある定数倍のところで
行なわれることになるので、最後のバー又はスペースが
ワイドバー又はワイドスペースである場合にはナローバ
ー又はナロースペースの場合の2倍以上のストツプ判定
距離が必要となる。
In the above-mentioned prior art, since the stop determination is performed at a constant multiple of the count value of the last bar or space, if the last bar or space is a wide bar or wide space, the narrow bar or narrow space is determined. The stop judgment distance that is more than twice that of the space is required.

第6図は従来技術によるストツプ判定動作の一例の説
明図であつて、(a)はバーコードでBNはナローバー、
BWはワイドバー、Cは走査方向である。また(b)は
(a)のバーコードを走査して得た波形図で、tAはナロ
ーバーBNのカウント値、tBはワイトバーBWのカウント
値、Aはある定数である。
FIG. 6 is an explanatory diagram of an example of the stop determination operation according to the prior art, in which (a) is a bar code and B N is a narrow bar.
B W is the wide bar, and C is the scanning direction. Further, (b) is a waveform diagram obtained by scanning the barcode of (a), where t A is the count value of the narrow bar B N , t B is the count value of the weight bar B W , and A is a constant.

同図に示したように、第5図に示した従来の構成にお
いては、バーコードの最終バー又はスペース(同図では
ワイドバーBW)のある定数(A)倍となつた時点でスト
ツプと判定するものである。
As shown in the figure, in the conventional configuration shown in FIG. 5, when the final bar or space (wide bar B W in the figure) of the bar code is multiplied by a certain constant (A), the stop occurs. It is a judgment.

したがつて、ストツプ判定のためのマージン(ストツ
プマージン)はワイドバー又はワイドスペースのカウン
ト値に対応するもの以下とすることはできず、符号表示
のためのマージンスペースをそれ以上小さくすることは
できない。
Therefore, the margin for the stop determination (stop margin) cannot be less than or equal to that corresponding to the count value of the wide bar or the wide space, and the margin space for the code display cannot be further reduced. Can not.

本発明の目的は、読取つた符号のバー又はスペースの
大きさに関係なく、ストツプ判定に必要とされる最小限
のマージンスペースを設定できるようにした符号読取装
置を提供することにある。
It is an object of the present invention to provide a code reading device capable of setting a minimum margin space required for stop determination regardless of the size of the bar or space of the read code.

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

上記目的は、読取つた符号中の最小のバー又は最小の
スペースに対応するカウント値を記憶する最小カウント
値記憶手段と、この最小カウント値をある定数倍した値
と現在のカウント値を比較する手段とを備え、現在のカ
ウント値が大きいときには符号の終了であると判定する
構成とすることによつて達成される。
The above object is to provide a minimum count value storage means for storing the count value corresponding to the minimum bar or the minimum space in the read code, and means for comparing the current count value with a value obtained by multiplying the minimum count value by a certain constant. And is configured to determine that the code has ended when the current count value is large.

〔作用〕[Action]

符号の読取り過程における最小カウント値をもとにし
てストツプ判定を行なうため、従来技術のように符号の
最終バー又はスペースがワイドバー又はスペースである
場合を前提とした広いストツプマージンを設定する必要
がない。
Since the stop determination is performed based on the minimum count value in the code reading process, it is necessary to set a wide stop margin on the assumption that the last bar or space of the code is a wide bar or space as in the conventional technique. There is no.

〔実施例〕〔Example〕

以下、本発明の実施例を図面を参照して説明する。 Embodiments of the present invention will be described below with reference to the drawings.

第1図は本発明の一実施例を示す符号読取装置のブロ
ツク図であつて、ストツプ判定部106を構成する15は第
2カウンタメモリ、16は切替器、17は第1前回カウンタ
メモリ、18は第3定数レジスタ、19は第1乗算器、20は
第2マージン比較器、42は第7定数レジスタ、43,44は
切替器、45は最小値カウンタメモリ、46は最小値比較器
である。また第5図と同一符号は同一部分に対応し、ス
トツプ判定部106を除いて、他の構成は第5図と同じで
ある。
FIG. 1 is a block diagram of a code reading apparatus according to an embodiment of the present invention, in which a stop determining unit 106 includes a second counter memory 15, a switch 16 and a first previous counter memory 18, Is a third constant register, 19 is a first multiplier, 20 is a second margin comparator, 42 is a seventh constant register, 43 and 44 are switchers, 45 is a minimum value counter memory, and 46 is a minimum value comparator. . Further, the same reference numerals as those in FIG. 5 correspond to the same parts, and the other configurations are the same as those in FIG. 5 except for the stop determination unit 106.

同図において、光電変換部101からの2値信号は、先
ず、フアーストスペース検出部102に供給され、フアー
ストスペースが検出された後、バーコードの最初のバー
又はスペースの検出すなわち第1エツジが第1エツジ検
出部102で検出される。第1エツジが検出されると、切
替器5が切替わり、第2エツジ検出器7で次のエツジす
なわちバー又はスペースの変化点が検出される。フアー
ストバー/スペース判定部108は、フアーストバーを検
出してからのバーとスペースの和を第2カウンタ回路28
で数え、この和と第4定数レジスタ29に設定してある設
定数(スタート判定を行なうスペースとバーの数:2以
上)に達したとき、切替器31は切替えて第2エツジ検出
器7からの信号をストツプ判定部106に送る。なお切替
器31は、リセツト信号により、第2エツジ検出器7から
の信号をスタート判定部109に送つている。スタート判
定部109は、少くとも最初のバーとスペースのカウント
値を比較して、スペース又はバーのカウント値(第1カ
ウントメモリ12の内容)が直前のスペース又はバーのカ
ウント値(第2前回カウンタメモリ35の内容)のある定
数A(第6定数レジスタ36の内容)倍以上のとき第3マ
ージン比較器38から切替器40に出力を出す。第1カウン
タメモリ12はカウンタ部104からのカウント値を記憶
し、これを切替器32から第2前回カウンタメモリ35と第
3マージン比較器38に送る。第5定数レジスタ33には
(ワイドバー又はスペース/スロースキヤンスピード)
すなわち、光電変換部の走査速度の想定される最低速度
に対するワイドバー又はワイドスペースのカウント値よ
り大きいカウント値が予め設定されており、切替器34に
リセツト信号が入つたときにこれを第2前回カウンタメ
モリ35に記憶させる。記憶されたカウント値は第2乗算
器37で、第6定数レジスタ36に設定されている(ワイド
バー又はスペース/ナローバー又はスペース)より大き
い値と乗算され、第3マージン比較器38に供給される。
なお、切替器39は切替器31がx側に切替つているときに
第1カウンタメモリ12の値をデコーダ部107に供給す
る。また、切替部21は後述のように、ストツプ判定部10
6の第2カウンタメモリ15からのバー又はスペースのカ
ウント値をデコーダ部107に送出し、切替器27はフアー
ストバー/スペース判定部108に出力があるときに、ス
タート判定部109でのスタート判定に使用された最終の
バー又はスペースのカウント値をストツプ判定部106の
第1前回カウンタメモリ17に供給する(後述)。
In the figure, the binary signal from the photoelectric conversion unit 101 is first supplied to the first space detection unit 102, and after the first space is detected, the first bar or space of the bar code is detected, that is, the first edge. Is detected by the first edge detection unit 102. When the first edge is detected, the switch 5 is switched, and the second edge detector 7 detects the next edge, that is, the change point of the bar or space. The fast bar / space determination unit 108 uses the second counter circuit 28 to calculate the sum of the bar and the space after detecting the fast bar.
When the sum is reached and the set number set in the fourth constant register 29 (the number of spaces and bars for start judgment: 2 or more) is reached, the switch 31 is switched to switch from the second edge detector 7. Is sent to the stop determination unit 106. The switch 31 sends the signal from the second edge detector 7 to the start determination unit 109 in response to the reset signal. The start determination unit 109 compares at least the count value of the first bar and the count value of the space, and the count value of the space or bar (content of the first count memory 12) is the count value of the space or bar immediately before (the second previous counter). The output from the third margin comparator 38 is output to the switching unit 40 when the value is larger than a certain constant A (contents of the memory 35) (contents of the sixth constant register 36). The first counter memory 12 stores the count value from the counter unit 104 and sends it from the switch 32 to the second previous counter memory 35 and the third margin comparator 38. Fifth constant register 33 (wide bar or space / slow scan speed)
That is, a count value larger than the count value of the wide bar or the wide space with respect to the assumed minimum speed of the scanning speed of the photoelectric conversion unit is preset, and when the reset signal is input to the switch 34, the count value is set to the second previous value. It is stored in the counter memory 35. The stored count value is multiplied by the second multiplier 37 with a value larger than (wide bar or space / narrow bar or space) set in the sixth constant register 36 and supplied to the third margin comparator 38. .
The switch 39 supplies the value of the first counter memory 12 to the decoder unit 107 when the switch 31 is switching to the x side. In addition, the switching unit 21 includes the stop determination unit 10 as described later.
The count value of the bar or space from the second counter memory 15 of 6 is sent to the decoder unit 107, and the switching unit 27 is used for the start determination in the start determination unit 109 when the fast bar / space determination unit 108 outputs. The final count value of the final bar or space is supplied to the first previous counter memory 17 of the stop determination unit 106 (described later).

以上の構成の動作は前記第5図において説明したもの
同様であるので、これ以上の詳しい説明は省略する。
Since the operation of the above configuration is the same as that described in FIG. 5, detailed description thereof will be omitted.

第1図に示した実施例は、ストツプ判定部の構成と動
作において前記第5図に示した従来技術と異なるもので
ある。
The embodiment shown in FIG. 1 is different from the prior art shown in FIG. 5 in the configuration and operation of the stop determination unit.

以下、ストツプ判定部106の構成と動作を説明する。 The configuration and operation of the stop determination unit 106 will be described below.

ストツプ判定部106は、現在読取つたバー又はスペー
スのカウント値(第2カウンタメモリ15の内容)が今ま
で読取つたバー又はスペースのカウント値の最小値(最
小値カウンタメモリ45の内容)のある定数B(第3定数
レジスタ18に設定されている内容)倍以上になつたと
き、第2マージン比較器20からの信号線uにストツプ判
定出力を与える。定数レジスタ42には、(ワイドバー又
はスペース/スロースキヤンスピード)のカウント値よ
り大きい値が予め設定されており、リセツト信号で切替
器43が動作されたとき、この値を最小値カウンタメモリ
45に記憶する。最小値比較器46は第1前回カウンタメモ
リ17のカウント値と最小値カウンタメモリ45に記憶され
た値を比較し、第1前回カウンタメモリ17の値の方が最
小値カウンタメモリ45の値より小さいときに切替器44を
動作させて、第1前回カウンタメモリ17の値を最小値カ
ウンタメモリ45に記憶する。すなわち、最小値カウンタ
メモリ45には、今まで読取つたバー又はスペースの最小
カウント値が記憶されることになる。
The stop determination unit 106 determines that the count value of the currently read bar or space (contents of the second counter memory 15) is a constant having the minimum count value of the bars or spaces read so far (content of the minimum value counter memory 45). When it becomes B times (contents set in the third constant register 18) times or more, a stop determination output is given to the signal line u from the second margin comparator 20. A value larger than the count value of (wide bar or space / slow scan speed) is preset in the constant register 42, and when the switch 43 is operated by the reset signal, this value is set to the minimum value counter memory.
Remember in 45. The minimum value comparator 46 compares the count value of the first previous counter memory 17 with the value stored in the minimum value counter memory 45, and the value of the first previous counter memory 17 is smaller than the value of the minimum value counter memory 45. At this time, the switch 44 is operated to store the value of the first previous counter memory 17 in the minimum value counter memory 45. That is, the minimum value counter memory 45 stores the minimum count value of the bar or space that has been read so far.

第2図は第1図の構成によるストツプ判定動作の説明
図であつて、(a)はバーコードでSNはナロースペー
ス、BWはワイドバー、Cは走査方向である。また、
(b)は(a)のバーコードを走査して得た波形図で、
tAはナロースペース(最小スペース)SNのカウント値、
tBはワイドバーBWのカウント値、Bはある定数で(ワイ
ドバー又はスペース/ナローバー又はスペース)に設定
される。
Figure 2 an alien in illustration of Sutotsupu determination operation by the configuration of FIG. 1, (a) represents S N is narrow space bar code, B W is wide bars, C is a scanning direction. Also,
(B) is a waveform diagram obtained by scanning the barcode of (a).
t A is the count value of narrow space (minimum space) S N ,
t B is a count value of the wide bar B W , and B is set to a certain constant (wide bar or space / narrow bar or space).

同図に示したように、ストツプ判定は今まで読取つて
いた符号要素の最小カウント値(この場合は最小のスロ
ースペースのカウント値)のある定数B倍となつた時点
で行なわれるため、従来のように最終のバー又はスペー
スのカウント値を用いるものでは、最終符号要素がワイ
ドバーであることを想定して、このワイドバーのある定
数A倍以上のストツプマージンを確保しておかなければ
ならないという制限はなく、符号の全体のスペースを小
とすることができるものである。
As shown in the figure, since the stop determination is performed at a time when the minimum count value of the code element that has been read so far (in this case, the minimum count value of the slow space) becomes a constant B times, In the case of using the count value of the final bar or space as described above, assuming that the final code element is a wide bar, a stop margin of a certain constant A times or more of this wide bar must be secured. There is no restriction that it does not happen, and the entire space of the code can be made small.

また、この構成によれば、符号領域に汚れがある場合
にはエラーとしてリセツト信号を発し、デコードを禁止
するように動作する。しかし、微細な汚れについてもそ
の都度エラーとすることは、読取り確率の低下をもたら
し、使い勝手の上からも好ましいものではない。
Further, according to this structure, when the code area is dirty, a reset signal is issued as an error and the decoding is prohibited. However, it is not preferable from the standpoint of usability to make an error for fine dirt each time as well, because it lowers the reading probability.

以下、この様な微細な汚れについてはエラーとせず
に、これを無視し、読取り確率を高めた実施例について
説明する。
Hereinafter, an embodiment will be described in which such a fine stain is not regarded as an error but is ignored and the reading probability is increased.

第3図は本発明の他の実施例を説明する要部ブロツク
図であり、第1図における第2エツジ検出器7部分の構
成を示したものである。
FIG. 3 is a block diagram of an essential part for explaining another embodiment of the present invention, and shows the configuration of the second edge detector 7 portion in FIG.

同図において、701はエツジ検出器、702は切替器、70
3はエツジ検出レジスタ、704はエツジ検出レジスタ判定
器、705はカンウタ回路、706は定数メモリ、707は比較
器、708,709はオア回路である。
In the figure, 701 is an edge detector, 702 is a switch, and 70
3 is an edge detection register, 704 is an edge detection register determiner, 705 is a counter circuit, 706 is a constant memory, 707 is a comparator, and 708 and 709 are OR circuits.

エツジ検出器701は、信号線gからの信号すなわち第
1図における光電変換部101の出力信号が“H"→“L"又
は“L"→“H"に変化したときのみ、信号線タに信号を送
出する。切替器702はオア回路708を介してリセツト信号
が入ると、エツジ検出器701からのエツジ検出信号を信
号線タから信号線チに送出してエツジ検出レジスタ703
にエツジ検出信号をセツトすると共にカウンタ回路705
にスタート信号として印加し、カウンタ回路705のクロ
ツクカウントを開始させると共に切替器702を信号線ツ
側に切替える。エツジ検出レジスタ判定器704は信号線
ニにより信号が来た時動作しエツジ検出レジスタ703が
セツトされている時のみ信号線iに出力信号を送出す
る。またエツジ検出レジスタ703は、信号線ツからの信
号によりリセツトされる。
The edge detector 701 is connected to the signal line terminal only when the signal from the signal line g, that is, the output signal of the photoelectric conversion unit 101 in FIG. 1 changes to “H” → “L” or “L” → “H”. Send a signal. When the reset signal is input through the OR circuit 708, the switch 702 sends the edge detection signal from the edge detector 701 from the signal line terminal to the signal line CH, and the edge detection register 703.
The edge detection signal to the counter circuit 705
As a start signal to start the clock count of the counter circuit 705 and switch the switch 702 to the signal line side. The edge detection register determiner 704 operates when a signal comes from the signal line D, and outputs an output signal to the signal line i only when the edge detection register 703 is set. The edge detection register 703 is reset by a signal from the signal line.

カウンタ回路705は、オア回路709を介して入力される
リセツト信号又は比較器707の出力信号線ニからの信号
によりカウンタを0としてカウント動作を停止し、前記
のように、信号線チからの信号入力によりクロツク信号
CLのカウント動作を開始し、その内容を信号線トを介し
て比較器707に与える。一方、定数メモリ706には予め
(ナローバー又はスペース/最大スキヤンスピード)す
なわち光電変換部の走査速度の想定される最大走査速度
に対する最小のバー又はスペースのカウント値、より小
さい値が設定されており、この値は信号線ナを通して比
較器707に与えられ、信号線トからのカウント値と比較
される。比較の結果、カウンタ回路705のカウント値が
定数メモリ706の設定値以上となつたとき信号線ニに比
較出力を送出する。
The counter circuit 705 stops the counting operation by setting the counter to 0 by the reset signal input through the OR circuit 709 or the signal from the output signal line D of the comparator 707, and stops the counting operation as described above. Clock signal by input
The CL counting operation is started, and its content is given to the comparator 707 via the signal line. On the other hand, in the constant memory 706, (narrow bar or space / maximum scanning speed), that is, a count value of the minimum bar or space with respect to the expected maximum scanning speed of the photoelectric conversion unit, or a smaller value is set, This value is given to the comparator 707 through the signal line and is compared with the count value from the signal line. As a result of the comparison, when the count value of the counter circuit 705 exceeds the set value of the constant memory 706, the comparison output is sent to the signal line d.

この信号線ニ上の比較出力は、カウンタ回路705より
セツトしてカウント動作を停止し、その内容を0とする
と共に、切替器702を信号線チ側に切替え、また、エツ
ジ検出レジスタ判定器を動作させる。すなわち、最初に
エツジが検出されてから、ある一定カウント内(定数メ
モリ706の値)に再びエツジが検出された場合には、エ
ツジ検出レジスタがリセツトされるため、その後信号線
ニからの信号でエツジ検出レジスタ判定器が動作しても
エツジ検出信号は信号線iから出力されない。
The comparison output on the signal line 2 is set by the counter circuit 705 to stop the counting operation, the content is set to 0, the switch 702 is switched to the signal line side, and the edge detection register determiner is set. To operate. That is, if an edge is detected again within a certain count (value of the constant memory 706) after the edge is first detected, the edge detection register is reset, and then the signal from the signal line D is used. Even if the edge detection register determiner operates, the edge detection signal is not output from the signal line i.

以上のように第1図の第2エツジ検出器7を構成する
ことよつて、定数メモリ706に設定された値すなわち、
符号読取装置の光電変換部の読取りの走査に想定される
最大スキヤンスピードに対する最小のバー又はスペース
のカウント値よりも小さい値となるような汚れは無視さ
れることになる。
By configuring the second edge detector 7 of FIG. 1 as described above, the value set in the constant memory 706, that is,
A stain having a value smaller than the count value of the minimum bar or space with respect to the maximum scanning speed expected for scanning of the photoelectric conversion unit of the code reading device will be ignored.

第4図は第3図の構成の動作説明図であつて、(a)
はバーコードでBN,BWはバー、SN,SWはスペース、Cは走
査方向、Pは微細な汚れである。また(b)は(a)の
バーコードを走査して得た波形図で、tPは汚れPに対す
るカウント値を示す。
FIG. 4 is a diagram for explaining the operation of the configuration shown in FIG.
Is a bar code, B N and B W are bars, S N and S W are spaces, C is a scanning direction, and P is fine dirt. Further, (b) is a waveform diagram obtained by scanning the barcode in (a), and t P represents a count value for the stain P.

同図に示したバーコードの汚れPにより、カウンタ回
路はクロツクCLをカウントしてtPのカウント値を与え
る。このカウント値が第3図の定数メモリ706に設定さ
れた値を越えない時汚れPによるエツジ検出がリセツト
される。
The counter circuit counts the clock CL and gives the count value of t P due to the stain P on the bar code shown in FIG. When the count value does not exceed the value set in the constant memory 706 of FIG. 3, the edge detection due to the dirt P is reset.

これにより、微細な汚れによるエラー発生を低減さ
せ、不要なエラーを少くして読取り確率を向上させるこ
とができる。
As a result, it is possible to reduce the occurrence of errors due to fine dirt, reduce unnecessary errors, and improve the reading probability.

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

以上説明したように、本発明によれば、ストツプ判定
のためのストツプマーシンを小さくできると共に、読取
り確率を向上させることができ、上記従来技術の欠点を
除いて優れた機能の符号読取装置を提供することができ
る。
As described above, according to the present invention, it is possible to reduce the stop-stop memory for stop determination, improve the reading probability, and provide a code reading device having an excellent function except for the above-mentioned drawbacks of the prior art. be able to.

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

第1図は本発明の一実施例を示すブロツク図、第2図は
第1図の動作説明図、第3図は本発明の他の実施例を示
す要部ブロツク図、第4図は第3図の動作説明図、第5
図は従来技術を説明するブロツク図、第6図は第5図の
動作説明図である。 101……光電変換部、102……フアーストスペース検出
部、103……第1エツジ検出部、104……カウンタ部、10
6……ストツプ判定部、107……デコーダ部、108……フ
アーストバー/スペース判定部、7……第2エツジ検出
器。
FIG. 1 is a block diagram showing an embodiment of the present invention, FIG. 2 is an operation explanatory diagram of FIG. 1, FIG. 3 is a main part block diagram showing another embodiment of the present invention, and FIG. Operation explanatory drawing of FIG. 3, 5th
FIG. 6 is a block diagram for explaining the prior art, and FIG. 6 is an operation explanatory diagram for FIG. 101 ... Photoelectric conversion unit, 102 ... Fast space detection unit, 103 ... First edge detection unit, 104 ... Counter unit, 10
6 ... Stop determination unit, 107 ... Decoder unit, 108 ... Farst bar / space determination unit, 7 ... Second edge detector.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 佐々木 弘明 東京都大田区雪谷大塚町1番7号 アルプ ス電気株式会社内 (56)参考文献 特開 昭58−3073(JP,A) 特開 昭59−136872(JP,A) 特開 昭58−221467(JP,A) ─────────────────────────────────────────────────── ─── Continuation of front page (72) Inventor Hiroaki Sasaki 1-7 Yukiya Otsuka-cho, Ota-ku, Tokyo Alps Electric Co., Ltd. (56) References JP-A-58-3073 (JP, A) JP-A-SHO 59-136872 (JP, A) JP-A-58-221467 (JP, A)

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】媒体上に表示された符号を読取る光電変換
部と、この光電変換部から出力される2値レベル信号の
変化に応じた時間をクロック信号でカウントするカウン
タ部と、このカウンタ部から出力されるカウント値に基
づいて読取りのスタート判定を行なうスタート判定部
と、上記カウンタ部から出力されるカウント値に基づい
て読取りのストップ判定を行なうストップ判定部と、上
記カウンタ部から出力されるカウント値をデコード処理
するデコーダ部とを備えた符号読取装置において、上記
ストップ判定部は、今まで読取った符号要素の最小カウ
ント値を記憶する最小カウント値記憶手段と、この最小
カウント値記憶手段に記憶された最小カウント値をある
定数倍した値と現在のカウント値とを比較する比較手段
とを有し、上記最小カウント値をある定数倍した値より
現在読取った符号要素のカウント値が大きいときは符号
の終了であると判定する様に構成したことを特徴とする
符号読取装置。
1. A photoelectric conversion unit for reading a code displayed on a medium, a counter unit for counting a time corresponding to a change of a binary level signal output from the photoelectric conversion unit with a clock signal, and this counter unit. Output from the counter section, a start determination section for making a read start determination based on the count value output from the counter, a stop determination section for making a read stop determination based on the count value output from the counter section. In the code reading device including a decoder unit that decodes the count value, the stop determination unit includes a minimum count value storage unit that stores the minimum count value of the code elements that have been read so far, and a minimum count value storage unit. A comparison means for comparing the stored minimum count value with a certain constant and a current count value is provided. Code reading apparatus when the count value of the code element read current from the constant multiple value is the count value is large and characterized by being configured so as to determine that the end of the code.
JP63023928A 1987-10-30 1988-02-05 Code reader Expired - Fee Related JPH087772B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP63023928A JPH087772B2 (en) 1988-02-05 1988-02-05 Code reader
US07/208,182 US4859840A (en) 1987-10-30 1988-06-16 Code reading apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63023928A JPH087772B2 (en) 1988-02-05 1988-02-05 Code reader

Publications (2)

Publication Number Publication Date
JPH01200490A JPH01200490A (en) 1989-08-11
JPH087772B2 true JPH087772B2 (en) 1996-01-29

Family

ID=12124187

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63023928A Expired - Fee Related JPH087772B2 (en) 1987-10-30 1988-02-05 Code reader

Country Status (1)

Country Link
JP (1) JPH087772B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03209584A (en) * 1989-10-13 1991-09-12 Spectra Physics Inc Decoding of binary scanning signal

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS583073A (en) * 1981-06-30 1983-01-08 Fujitsu Ltd Bar-code read system
JPS59136872A (en) * 1983-01-27 1984-08-06 Fuji Electric Co Ltd Noise eliminator for bar code reader

Also Published As

Publication number Publication date
JPH01200490A (en) 1989-08-11

Similar Documents

Publication Publication Date Title
US4859840A (en) Code reading apparatus
US5036182A (en) Bar code reading and decoding apparatus
US4667089A (en) Bar code discriminating apparatus for bar code reading
JP3492493B2 (en) Touch panel and method of detecting pressed position on touch panel
EP0390162A2 (en) An apparatus for reading a bar code
US4441208A (en) Picture information processing and storing device
EP0464713B1 (en) Bar-code reading apparatus
JPH0626423B2 (en) Document reader
US5302814A (en) Bar code reading apparatus
JPH087772B2 (en) Code reader
JPS58112176A (en) Optical character reader
JP2677805B2 (en) Code reader
JPH0782512B2 (en) Code reader
JP2677806B2 (en) Code reader
JPH01216491A (en) Code reader
JPH01116777A (en) Final display deciding circuit
JPH0814831B2 (en) Code reader
JPH01116776A (en) Optical reader
JP2742140B2 (en) Optical reader
JP2727938B2 (en) Image processing device
JP2595657Y2 (en) Passbook reader
KR20000021800A (en) Algorithm for recognizing position value of inputted key
JPH0831117B2 (en) Reader
JPS6231257A (en) Two-dimensional encoding device for picture signal
JPH066497A (en) Fax machine

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees