JPH10334172A - Symbol reader - Google Patents

Symbol reader

Info

Publication number
JPH10334172A
JPH10334172A JP9141293A JP14129397A JPH10334172A JP H10334172 A JPH10334172 A JP H10334172A JP 9141293 A JP9141293 A JP 9141293A JP 14129397 A JP14129397 A JP 14129397A JP H10334172 A JPH10334172 A JP H10334172A
Authority
JP
Japan
Prior art keywords
code
type
reading
symbol
data
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
JP9141293A
Other languages
Japanese (ja)
Inventor
Takafumi Fukushima
孝文 福島
Makoto Sugiyama
誠 杉山
Takashi Goto
隆 後藤
Yasuhiro Seki
安弘 関
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.)
TEC CORP
Original Assignee
TEC CORP
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 TEC CORP filed Critical TEC CORP
Priority to JP9141293A priority Critical patent/JPH10334172A/en
Publication of JPH10334172A publication Critical patent/JPH10334172A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To efficiently and simultaneously read two kinds of the codes of different sizes by controlling a code decoding means or the like and reading a symbol based on the statistic result of the history data of a code kind stored in a kind history storage means. SOLUTION: This symbol reader is provided with an area sensor, a linear sensor, a code kind memory 71 for statistically registering the history data of the read code kind, a communication interface 58 provided with plural interface circuits, a protocol conversion part 73 for converting a communication protocol in the communication interface 58 and a voice synthesis part for reporting the code kind by voice. Based on the history data of the code kind stored in the code kind memory 71, a read operation is decided. Thus, in the case of frequently reading a bar code and a two-dimensional code simultaneously, they are simultaneously read without performing the switching operation of the bar code and the two-dimensional code as a read code.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】この発明は、印刷媒体上のシ
ンボルからの反射光を受光し、その受光量に対応した電
気量を出力する光電変換素子から構成された撮像手段を
シンボルのコード種別に応じて複数個備えたシンボル読
取装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image pickup means comprising a photoelectric conversion element for receiving reflected light from a symbol on a print medium and outputting an electric quantity corresponding to the received light quantity, according to the code type of the symbol. The present invention relates to a plurality of symbol reading devices provided accordingly.

【0002】[0002]

【従来の技術】シンボル読取装置は、印刷媒体上のシン
ボルのイメージを読取る画像センサを備え、この画像セ
ンサからの信号をデジタル信号( 2値信号又は階調信号
)に変換する信号処理ユニットがある。一般的に、シン
ボルとしてマトリックスコード等の2次元コードの読取
りができることが要望されているため、画像センサとし
てエリアセンサが使用される。この信号処理ユニットか
らのデジタル信号( デジタルデータ )が、DMA( dire
ct memory access )コントローラの動作によりCPU(c
entral processingunit )がアクセスできる画像メモリ
に入力( 転送 )される。
2. Description of the Related Art A symbol reading apparatus includes an image sensor for reading an image of a symbol on a print medium, and converts a signal from the image sensor into a digital signal (binary signal or gradation signal).
) Is a signal processing unit. Generally, since it is demanded that a two-dimensional code such as a matrix code can be read as a symbol, an area sensor is used as an image sensor. The digital signal (digital data) from this signal processing unit
ct memory access) The CPU (c
The data is input (transferred) to an image memory that can be accessed by the central processing unit.

【0003】このデジタル信号の画像メモリへの入力が
終了した時点で、CPUはプログラムメモリに記憶され
たコマンドにより、画像メモリに記憶されているデジタ
ルデータからコードイメージを抽出し、このコードイメ
ージをデコードしてシンボルを解読する。すなわちコー
ドデータに翻訳する。コードイメージの抽出ができ、コ
ードイメージをコードデータに翻訳できたときに解読成
功として、表示器及び発音器( ブザー )等を動作させて
解読成功( 読取成功 )の通報を行うと共に、通信インタ
ーフェイスを通してホストコンピュータ等のコードデー
タを処理する装置へ解読したコードデータを転送する。
When the input of the digital signal to the image memory is completed, the CPU extracts a code image from the digital data stored in the image memory according to a command stored in the program memory, and decodes the code image. And decode the symbol. That is, it is translated into code data. When the code image can be extracted and the code image can be translated into code data, the decoding is considered successful, the display and sounder (buzzer) etc. are operated to report the success of decoding (successful reading), and through the communication interface. The decrypted code data is transferred to a device that processes the code data, such as a host computer.

【0004】バーコードはバーの並び方向に長く、2次
元コードは略正方形となっており、高解像度で正確に読
取るために、バーコードを読取る画像センサとしては、
光電変換素子を一方向に高い密度で多くの配列したリニ
アセンサが求められ、2次元コードを読取る画像センサ
としては、光電変換素子を縦( 列 )方向及び横( 行 )方
向に均一に配列したエリアセンサが求められる。そこ
で、リニアセンサ及びエリアセンサの両方を備えてバー
コードも2次元コードも高解像度で正確に読取ることが
できるシンボル読取装置が開発されている。
A bar code is long in the direction in which bars are arranged, and a two-dimensional code is substantially a square. To accurately read a bar code with high resolution, an image sensor that reads the bar code includes:
A linear sensor in which a large number of photoelectric conversion elements are arranged in one direction at a high density is required.As an image sensor that reads a two-dimensional code, the photoelectric conversion elements are uniformly arranged in a vertical (column) direction and a horizontal (row) direction. An area sensor is required. Therefore, a symbol reading device that has both a linear sensor and an area sensor and can read both barcodes and two-dimensional codes accurately with high resolution has been developed.

【0005】上述した従来のシンボル読取装置は、バー
コードを読取るときにはリニアセンサが動作するように
スイッチ設定して読取動作を行い、2次元コードを読取
るときにはエリアセンサが動作するようにスイッチ設定
して読取動作を行う。
In the above-described conventional symbol reading apparatus, when a bar code is read, a switch is set so that a linear sensor is operated to perform a reading operation. When a two-dimensional code is read, a switch is set so that an area sensor is operated. Perform a reading operation.

【0006】例えば、図18に示すようなサイズの異な
る2種類のシンボルが1枚のラベル上に印刷されている
場合、エリアセンサが動作する状態にあったとして、ま
ず2次元コードを読取り、次にスイッチ設定によりリニ
アセンサが動作するように切換えて、バーコードを読取
る。
For example, when two types of symbols having different sizes as shown in FIG. 18 are printed on one label, it is determined that the area sensor is in operation, and a two-dimensional code is read first. The bar code is read by switching the linear sensor to operate according to the switch setting.

【0007】[0007]

【発明が解決しようとする課題】上述したように従来の
シンボル読取装置では、サイズの異なる2種類のコード
を読取るためにはセンサの動作切換えを行わなければな
らず、効率良く同時に読取ることができないという問題
があった。また、エリアセンサで2次元コードと共にバ
ーコードも読取る場合には、センサの動作切換えを行う
必要はないが、エリアセンサで読取ることができるバー
コードのサイズは小さいサイズに限定されている。大き
いサイズのバーコードを読取る場合には、読取画像の縮
小が必要となり解像度が低くなるという問題があった。
As described above, in the conventional symbol reading device, in order to read two types of codes having different sizes, the operation of the sensor must be switched, and the reading cannot be performed efficiently and simultaneously. There was a problem. When the area sensor reads a barcode together with a two-dimensional code, it is not necessary to switch the operation of the sensor, but the size of the barcode that can be read by the area sensor is limited to a small size. When reading a barcode of a large size, there is a problem that the read image needs to be reduced and the resolution becomes low.

【0008】そこでこの発明は、サイズの異なる2種類
のコードを効率良く同時に読取ることができるシンボル
読取装置を提供することを目的とする。
SUMMARY OF THE INVENTION It is an object of the present invention to provide a symbol reader capable of simultaneously reading two types of codes having different sizes efficiently.

【0009】[0009]

【課題を解決するための手段】請求項1対応の発明は、
印刷媒体上のシンボルからの反射光を受光し、その受光
量に対応した電気量を出力する光電変換素子から構成さ
れた撮像手段を備えたシンボル読取装置において、撮像
手段をシンボルのコード種別に応じて複数個設け、各撮
像手段毎に設けられ、該当する撮像手段から出力される
撮像信号を処理してデジタル信号に変換する量子化手段
と、デジタル信号を処理してシンボルのコードデータを
解読するコード解読手段と、このコード解読手段による
コードデータの解読終了後にこのコードデータのコード
種別の履歴データを記憶する種別履歴記憶手段と、この
種別履歴記憶手段に記憶されたコード種別の履歴データ
の統計的結果に基づいて、複数個の撮像手段及び量子化
手段とコード解読手段とを制御してシンボルの読取りを
行う読取制御手段とを設けたものである。
The invention corresponding to claim 1 is:
In a symbol reading device provided with an image pickup device configured to receive reflected light from a symbol on a print medium and output a quantity of electricity corresponding to the amount of light received, the image pickup device is set in accordance with a symbol code type. A plurality of quantization means provided for each imaging means for processing an imaging signal output from the corresponding imaging means and converting it into a digital signal; and processing the digital signal to decode code data of a symbol. Code decoding means, type history storage means for storing history data of the code type of the code data after the decoding of the code data by the code decoding means, and statistics of history data of the code type stored in the type history storage means Control means for controlling a plurality of image pickup means, quantization means and code decoding means based on a target result to read a symbol In which the provided.

【0010】請求項2対応の発明は、印刷媒体上のシン
ボルからの反射光を受光し、その受光量に対応した電気
量を出力する光電変換素子から構成された撮像手段を備
えたシンボル読取装置において、撮像手段として2次元
的にイメージを読取るエリアセンサ及び1次元的にイメ
ージを読取るラインセンサと、エリアセンサから出力さ
れる撮像信号を処理してデジタル信号に変換するエリア
量子化手段及びラインセンサから出力される撮像信号を
処理してデジタル信号に変換するライン量子化手段と、
デジタル信号を処理してシンボルのコードデータを解読
するコード解読手段と、このコード解読手段によるコー
ドデータの解読終了後にこのコードデータのコード種別
の履歴データを記憶する種別履歴記憶手段と、この種別
履歴記憶手段に記憶されたコード種別の履歴データの統
計的結果に基づいてエリアセンサ及びエリア量子化手段
とラインセンサ及びライン量子化手段とコード解読手段
とを制御してシンボルの読取りを行う読取制御手段とを
設けたものである。
According to a second aspect of the present invention, there is provided a symbol reading apparatus including an image pickup means comprising a photoelectric conversion element for receiving reflected light from a symbol on a print medium and outputting an electric quantity corresponding to the received light quantity. , An area sensor for two-dimensionally reading an image and a line sensor for one-dimensionally reading an image as an imaging means, an area quantization means and a line sensor for processing an imaging signal output from the area sensor and converting it into a digital signal Line quantization means for processing the image signal output from and converting it to a digital signal,
Code decoding means for processing digital signals to decode code data of symbols, type history storage means for storing history data of the code type of the code data after completion of decoding of the code data by the code decoding means, Reading control means for controlling an area sensor and an area quantization means, a line sensor, a line quantization means and a code decoding means to read a symbol based on a statistical result of history data of the code type stored in the storage means; Are provided.

【0011】請求項3対応の発明は、請求項1及び請求
項2のいずれか1項対応の発明において、音声を電子的
に生成する音声合成手段と、種別履歴記憶手段に記憶し
たコード種別を音声合成手段による音声出力により報知
する種別音声報知手段と、この種別音声報知手段による
音声報知の後で再読取動作を指示するリセット入力手段
と、このリセット入力手段による再読取動作指示に基づ
いて、種別履歴記憶手段に記憶された内容を今回の読取
りの前の状態に戻すと共に、次の読取りのコード種別を
再設定するリセット手段とを設けたものである。請求項
4対応の発明は、請求項1及び請求項2のいずれか1項
対応の発明において、表示手段と、種別履歴記憶手段に
記憶したコード種別を表示手段による表示により報知す
る種別表示報知手段と、この種別表示報知手段による表
示報知の後で再読取動作を指示するリセット入力手段
と、このリセット入力手段による再読取動作指示に基づ
いて、種別履歴記憶手段に記憶された内容を今回の読取
りの前の状態に戻すと共に、次の読取りのコード種別を
再設定するリセット手段とを設けたものである。
According to a third aspect of the present invention, in the first aspect of the present invention, the code type stored in the type history storage means and the voice synthesizing means for electronically generating a voice are stored. Based on a type voice notifying unit that notifies by voice output by the voice synthesizing unit, a reset input unit that instructs a rereading operation after the voice notification by the type voice notifying unit, and a rereading operation instruction by the reset input unit, A reset means is provided for returning the contents stored in the type history storage means to the state before the current reading and resetting the code type of the next reading. According to a fourth aspect of the present invention, in the first aspect of the present invention, there is provided a display means, and a type display notifying means for notifying the code type stored in the type history storage means by the display means. Reset input means for instructing a re-read operation after the display notification by the type display notifying means; and reading the contents stored in the type history storage means at this time based on the re-read operation instruction by the reset input means. And reset means for resetting the code type of the next reading.

【0012】請求項5対応の発明は、請求項1乃至請求
項4のいずれか1項対応の発明において、複数の通信仕
様を実現可能にする通信仕様実現手段と、種別履歴記憶
手段に記憶されたコード種別の履歴データの統計的結果
に基づいて通信仕様実現手段を制御する通信仕様制御手
段とを設けたものである。請求項6対応の発明は、請求
項1乃至請求項5のいずれか1項対応の発明において、
複数個の各撮像手段毎に、印刷媒体上のシンボルを照明
する照明手段及びシンボルからの反射光を撮像手段に結
像させる光学機構部を設け、各照明手段及び各光学機構
部はそれぞれ独立して照明条件及び撮像条件を調整でき
る構成になっているものである。
According to a fifth aspect of the present invention, in the first aspect of the present invention, a communication specification realizing means for realizing a plurality of communication specifications and a type history storing means are provided. Communication specification control means for controlling the communication specification realizing means based on the statistical result of the history data of the code type. The invention according to claim 6 is the invention according to any one of claims 1 to 5,
For each of the plurality of imaging units, an illumination unit for illuminating the symbol on the print medium and an optical mechanism for imaging reflected light from the symbol on the imaging unit are provided, and each illumination unit and each optical mechanism are independently provided. Thus, the illumination condition and the imaging condition can be adjusted.

【0013】[0013]

【発明の実施の形態】まず、この発明を適用するガンタ
イプの非接触式コードスキャナの基本的な概略を説明す
る。図1は、ガンタイプの非接触式コードスキャナ31
を示す斜視図である。装置本体2にはインターフェイス
ケーブル3が接続されている。このインターフェイスケ
ーブル3により前記装置本体2は図示しないホストコン
ピュータ等のコードデータを処理する装置と接続されて
いる。なお、このインターフェイスケーブル3を通して
の通信の他に、無線通信、赤外線通信等の通信手段を選
択して使用することができるようになっている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS First, a basic outline of a gun-type non-contact code scanner to which the present invention is applied will be described. FIG. 1 shows a gun-type non-contact code scanner 31.
FIG. An interface cable 3 is connected to the apparatus main body 2. The device main body 2 is connected to an apparatus for processing code data such as a host computer (not shown) by the interface cable 3. In addition to the communication through the interface cable 3, communication means such as wireless communication and infrared communication can be selected and used.

【0014】前記装置本体2はプラスチック材等によ
り、複数個の分割された筺体が嵌め合わせ又はネジ止め
により一体型に構成された中空構造になっており、防
塵、防滴構造となっている。前記装置本体2の握り部内
側( 前側 )には、コード読取時に操作者が読取タイミン
グを指示するためのトリガスイッチ4が配置され、前記
装置本体2の上面には、読取完了又は読取エラー等のス
テータスをそれぞれ表示方法( 点滅周期、点灯時間等 )
を変えて表示するための表示装置( 例えばLED=ligh
t emittingdiode)5が配置されている。
The apparatus main body 2 is made of a plastic material or the like and has a hollow structure in which a plurality of divided housings are integrally formed by fitting or screwing, and has a dustproof and dripproof structure. On the inside (front side) of the grip portion of the apparatus main body 2, a trigger switch 4 for an operator to instruct the read timing at the time of code reading is arranged. How to display each status (blink cycle, lighting time, etc.)
Display device for changing the display (for example, LED = ligh
t emittingdiode) 5 is arranged.

【0015】図2は、ガンタイプ( 非接触式 )コードス
キャナ31の要部構成を示す側面断面図である。前記読
取口6は、シンボルの画像を入力するためのシンボルイ
ンターフェイスとして最も外部環境の影響を受ける箇所
であり、ほこり等の阻害物を遮断するために透明なアク
リル樹脂板又はガラス板で形成される読取口カバー8で
覆われている。この読取口カバー8は、摩擦や衝撃に対
する耐久性を高めるためにその表面を強化コーティング
する。特に、この読取口カバー8が原因で読取画像に歪
みを発生させないためには、材質としてはガラス板を使
用し、強度や硬度をさらに強化するためにはサファイア
コーティングやダイヤモンドコーティングする。
FIG. 2 is a cross-sectional side view showing the main configuration of the gun type (non-contact type) code scanner 31. As shown in FIG. The reading port 6 is a place most affected by the external environment as a symbol interface for inputting a symbol image, and is formed of a transparent acrylic resin plate or a glass plate to block an obstacle such as dust. It is covered with a reading port cover 8. The surface of the reading port cover 8 is coated with a reinforcement in order to increase the durability against friction and impact. In particular, a glass plate is used as a material in order to prevent the reading image from being distorted due to the reading port cover 8, and a sapphire coating or a diamond coating is used to further enhance the strength and hardness.

【0016】読取対象となる印刷媒体上のシンボルを照
明するために、前記読取口6内部には、後述するリニア
センサ用のリニア用照明部32及び後述するエリアセン
サ用のエリア用照明部33が配置されている。これらの
照明部32,33は、それぞれLEDと、LEDからの
光を均一に拡散させるプラスチック材やガラス材等の光
透過材料から形成された拡散レンズとから構成されてい
る。拡散レンズとしては、レンズを光拡散性のある材料
で形成したものと、透明レンズと拡散板と組合わせたも
のとの2つの種類がある。各照明部32,33の照明時
間は、前記トリガスイッチ4がON操作( 押す操作 )し
てから一定時間あるいは読取りが完了するまでの時間と
なっている。
In order to illuminate a symbol on a print medium to be read, a linear illumination section 32 for a linear sensor described later and an area illumination section 33 for an area sensor described later are provided inside the reading port 6. Are located. Each of the illumination units 32 and 33 includes an LED and a diffusion lens formed of a light transmitting material such as a plastic material or a glass material that uniformly diffuses the light from the LED. There are two types of diffusion lenses, one in which the lens is formed of a material having light diffusion properties, and the other in which a transparent lens and a diffusion plate are combined. The illumination time of each of the illumination units 32 and 33 is a predetermined time or a time from when the trigger switch 4 is turned on (pressed) until the reading is completed.

【0017】さらに前記読取口6内部には、スポット光
源としてビームスポットLED( ターゲットLED )3
4,35が、前記照明部32,33から印刷媒体上のシ
ンボルへの光路及びシンボルからの反射光の後述する撮
像センサへの光路を妨害しない位置に2個又は4個読取
範囲の中心に対して対称に配置されている。各ビームス
ポットLED34,35は光を絞ったスポット光を照射
し、このスポット光は、図3及び図4に示すように、こ
の各スポット光の照射範囲及び方向が予め設定した読取
中心軸上の焦点距離Fで所定の1点( 例えば読取範囲の
中心)で交わる( 重なる )ように配置されている。ま
た、読取範囲を明確にするためにスポット光を1点に重
ならせずに、そのスポット光で読取範囲の境界( 角、隅
)を照射する方法もある。
Further, inside the reading port 6, a beam spot LED (target LED) 3 as a spot light source is provided.
4 and 35 are located at positions not interfering with the optical path from the illumination units 32 and 33 to the symbol on the print medium and the optical path of the reflected light from the symbol to the image sensor described later. Are arranged symmetrically. Each of the beam spot LEDs 34 and 35 irradiates a focused spot light, and the spot light is irradiated on the reading central axis whose irradiation range and direction are set in advance as shown in FIGS. They are arranged so as to intersect (overlap) at a predetermined point (for example, the center of the reading range) at a focal length F. Also, in order to clarify the reading range, the spot light should not be overlapped with one point, and the spot light should be used at the boundary (corner,
) Is also available.

【0018】そのスポット光の照射角度が調整できるよ
うに設置されており、スポット光の集まり状況を撮像セ
ンサにて監視することにより、読取範囲にシンボルがあ
るか否かのチェックの自動化が可能な構成となってい
る。以上のように、このガンタイプの非接触式コードス
キャナ31では、2次元コードとバーコード( 1次元コ
ード )との2系統のシンボルを正確に読取るために、そ
れぞれのコードに最適な照明を備え、読取範囲にシンボ
ルを合わせるためにスポット光によるターゲット表示を
備えている。前記ビームスポットLED34,35のス
ポット光によるターゲット表示は、実際の読取動作時に
は必要がないので、トリガタイミングに応じてOFF制
御を行い、読取時には消灯させる。
The spot light irradiation angle is set so that it can be adjusted. By monitoring the spot light gathering status with an image sensor, it is possible to automatically check whether or not there is a symbol in the reading range. It has a configuration. As described above, the gun-type non-contact code scanner 31 is provided with the optimal illumination for each code in order to accurately read the two-system symbols of the two-dimensional code and the bar code (one-dimensional code). And a target display using a spotlight to match a symbol to a reading range. Since the target display by the spot lights of the beam spot LEDs 34 and 35 is not necessary at the time of the actual reading operation, the OFF control is performed according to the trigger timing and the light is turned off at the time of reading.

【0019】各照明部32,33は、それぞれトリガス
イッチ4の操作によりいずれか一方が駆動されて照明を
行うようになっていたが、選択せずに両方共駆動して照
明を行うこともできる。そのような場合には、お互いの
系に影響が及ばないように、それぞれの発光波長を異な
るようにして、後述する各撮像センサの受光波長をBP
F等の光学フィルタで異なるようにすれば、上記影響を
除去することができる。
Each of the illumination units 32 and 33 is driven by operating one of the trigger switches 4 to perform illumination. However, both can be driven to perform illumination without selection. . In such a case, the light emission wavelengths of the respective image sensors, which will be described later, are changed to BP so as not to affect each other's system.
If the optical filters such as F are made different, the above influence can be eliminated.

【0020】前記読取口6から入射したシンボル映像光
( シンボルからの反射光 )は、前記装置本体2内に収納
されている撮像センサまで後述するように導かれ、この
撮像センサ面上で結像する。撮像センサは、2次元コー
ドを読取るためのエリアセンサ36と、バーコードを読
取るためのリニアセンサ37とを備えている。これらの
撮像センサ36,37は、固体撮像素子から構成されて
いる。前記エリアセンサ36は、固体撮像素子をマトリ
ックス状に配列して構成されているものであり、前記リ
ニアセンサ37は、固体撮像素子をライン状に配列して
構成されてラインセンサとも呼ばれている。なお、前記
リニアセンサ37でも順次操作する操作機構を設ければ
2次元コードを読取ることができる。
Symbol image light incident from the reading port 6
(Reflected light from the symbol) is guided to an image sensor housed in the apparatus main body 2 as described later, and forms an image on the image sensor surface. The imaging sensor includes an area sensor 36 for reading a two-dimensional code, and a linear sensor 37 for reading a bar code. These image sensors 36 and 37 are constituted by solid-state image sensors. The area sensor 36 is configured by arranging solid-state imaging devices in a matrix, and the linear sensor 37 is configured by arranging solid-state imaging devices in a line, and is also called a line sensor. . It should be noted that a two-dimensional code can be read by providing an operation mechanism for sequentially operating the linear sensor 37 as well.

【0021】固体撮像素子を使用することにより、固体
撮像素子ではない撮像管などを使用したカメラ等の撮像
装置より、装置の小形化、省電力化、高信頼性が得られ
る。固体撮像素子としては、CCD型、MOS型、CM
D型などのタイプがある。なお、MOS型は低消費電力
を特徴としている。
By using a solid-state image pickup device, it is possible to obtain a smaller device, lower power consumption, and higher reliability than an image pickup device such as a camera using an image pickup tube or the like which is not a solid-state image pickup device. CCD type, MOS type, CM
There are types such as D type. The MOS type is characterized by low power consumption.

【0022】前記エリアセンサ36の前面には、シンボ
ルからの反射光をこのエリアセンサ36で結像させるた
めのレンズ、絞り、フィルタ等から構成されたエリア用
光学機構部38が配置され、前記リニアセンサ37の前
面には、シンボル( バーコード )からの反射光をこのリ
ニアセンサ37で結像させるためのレンズ、絞り、フィ
ルタ等から構成されたリニア用光学機構部39が配置さ
れている。なお、読取口カバー8の前記リニア用照明部
32の光軸が通過する位置にはシェーディング補正を兼
ねた拡散レンズ( シリンドリカルレンズ )8aが配置さ
れている。
On the front surface of the area sensor 36, an area optical mechanism 38 comprising a lens, an aperture, a filter and the like for forming reflected light from a symbol by the area sensor 36 is arranged. On the front surface of the sensor 37, a linear optical mechanism 39 including a lens, an aperture, a filter, and the like for forming reflected light from a symbol (bar code) into an image by the linear sensor 37 is arranged. In addition, a diffusion lens (cylindrical lens) 8a also serving as shading correction is disposed at a position where the optical axis of the linear illumination section 32 of the reading port cover 8 passes.

【0023】前記光学機構部38,39は、焦点距離や
倍率に合わせて1つのレンズあるいは複数枚のレンズを
組合わせが選択され、読取対象からの反射光の光量に合
わせて絞り機構あるいは絞り部品を組込んでいる。この
光学機構部38,39のレンズによる画像の歪みを極力
減少させるためには、複数枚のレンズによって補正する
ことや非球面レンズを採用することが必要である。レン
ズ表面における反射によるゴーストが発生して問題にな
るときには、表面に反射防止コーティングなどの処理を
施したレンズを使用する。
The optical mechanisms 38 and 39 are selected from a combination of one lens or a plurality of lenses in accordance with the focal length and magnification, and a diaphragm mechanism or diaphragm parts in accordance with the amount of reflected light from the object to be read. Is incorporated. In order to minimize the image distortion caused by the lenses of the optical mechanisms 38 and 39, it is necessary to correct the image with a plurality of lenses or to employ an aspherical lens. When ghosts due to reflection on the lens surface occur and pose a problem, a lens whose surface is treated with an anti-reflection coating or the like is used.

【0024】前記エリアセンサ36及び前記リニアセン
サ37の解像度は固定されているので、シンボルの印字
サイズと細かさ( 情報密度 )によっては、十分な精度で
読取処理ができない場合が考えられる。このため、印刷
媒体上のシンボルの印字サイズを細かさに応じて読取処
理に適したサイズで前記エリアセンサ36及び前記リニ
アセンサ37面上に結像させるため、倍率変換機能が必
要になる。前記光学機構部38,39中のレンズの構成
及び位置を前記装置本体2の外部から容易に調整( 交換
)できる構造とし、その設計によって任意の倍率( 画角
)を変化させることが可能となる。
Since the resolution of the area sensor 36 and the resolution of the linear sensor 37 are fixed, the reading process may not be performed with sufficient accuracy depending on the printing size and the fineness (information density) of the symbol. For this reason, a magnification conversion function is required to form an image on the area sensor 36 and the linear sensor 37 in a size suitable for the reading process according to the fineness in the print size of the symbol on the print medium. The configuration and position of the lenses in the optical mechanism sections 38 and 39 can be easily adjusted (exchanged) from outside the apparatus body 2
) And a design that allows for any magnification (angle of view)
) Can be changed.

【0025】なお、図5は、前記エリアセンサ36の読
取範囲36Aと前記リニアセンサ37の読取範囲37A
を示す図である。前記エリアセンサ36の読取範囲36
Aは、2次元コードを取込めるように縦・横に広がりを
持つ領域となっており、前記リニアセンサ37の読取範
囲37Aは、バーコードを取込めるように一方向( 横方
向 )にのみ広がりを持つ領域となっている。一般的にこ
のリニアセンサ37の読取範囲37Aの一方向の広がり
( 長さ )は、前記エリアセンサ36の読取範囲36Aの
長手方向の広がりより大きくなっている。
FIG. 5 shows a reading range 36A of the area sensor 36 and a reading range 37A of the linear sensor 37.
FIG. Reading range 36 of the area sensor 36
A is a region that extends in the vertical and horizontal directions so that a two-dimensional code can be captured, and the reading range 37A of the linear sensor 37 extends only in one direction (horizontal direction) so that a barcode can be captured. Area. Generally, the reading range 37A of the linear sensor 37 is expanded in one direction.
(Length) is larger than the longitudinal extent of the reading range 36A of the area sensor 36.

【0026】前記装置本体2内部には、読取り装置の回
路部品が実装された回路基板15が収納されている。こ
の握り部の内部の後部には前記インターフェイスケーブ
ル3を外部に引き出すためのケーブル取付口が用意さ
れ、内部の回路基板と前記インターフェイスケーブル3
とが接続されている。このコードスキャナ31の重心
は、直接手が触れるこのコードスキャナ31を保持する
支点に位置するように、光学ブロックや、回路基板上の
電源部品等の重量の大きい部品を握り部と手との支持点
の近くに集める。このように配置することにより、操作
性や疲労低減の効果を得ることができる。
Inside the apparatus main body 2, a circuit board 15 on which circuit components of the reading apparatus are mounted is housed. A cable attachment port for drawing out the interface cable 3 to the outside is provided at a rear portion inside the grip portion, and an internal circuit board and the interface cable 3 are provided.
And are connected. The center of gravity of the code scanner 31 is positioned at a fulcrum for holding the code scanner 31 directly touched by a hand. Gather near points. By arranging in this manner, the operability and the effect of reducing fatigue can be obtained.

【0027】図6に示すように、電気回路は大きく分け
ると、撮像センサユニット21、画像メモリユニット2
2、CPU(central processing unit )ユニット23、
I/Oユニット24、電源ユニット25からなってい
る。それぞれは独立した基板上に実装されていても、ま
た複数のユニットが混在して1枚の基板上に実装されて
いても良いものである。前記電源ユニット25を小形化
するため、さらに前記インターフェイスケーブル3にお
ける取扱い容易にするために、特にこのインターフェイ
スケーブル3の内包信号線の本数を最小限にすると共に
その安全性を確保するために、前記インターフェイスケ
ーブル3から前記電源ユニット25に供給される電圧
は、低電圧の直流電流となっている。前記電源ユニット
25は、この供給された低電圧直流電流を回路動作に必
要とする複数の電圧に変換して、前記各ユニット21〜
24のそれぞれ必要な各回路各部に供給する。なお、低
電圧の交流電流を供給する方法もあるが、前記インター
フェイスケーブル3には他のデータ通信のための信号線
もあり、交流電流の磁界変化による誘導ノイズや誘導電
圧を生じさせる虞があるので望ましくない。
As shown in FIG. 6, the electric circuits are roughly divided into an image sensor unit 21 and an image memory unit 2.
2. CPU (central processing unit) unit 23,
It comprises an I / O unit 24 and a power supply unit 25. Each of them may be mounted on an independent board, or a plurality of units may be mixed and mounted on one board. In order to reduce the size of the power supply unit 25 and to make it easier to handle the interface cable 3, in particular, to minimize the number of signal lines included in the interface cable 3 and to ensure its safety, The voltage supplied from the interface cable 3 to the power supply unit 25 is a low-voltage DC current. The power supply unit 25 converts the supplied low-voltage DC current into a plurality of voltages required for circuit operation, and
24, each of which is supplied to each required circuit. Although there is a method of supplying a low-voltage AC current, the interface cable 3 also has a signal line for other data communication, and there is a possibility that induced noise or an induced voltage is generated due to a change in the magnetic field of the AC current. Not so desirable.

【0028】結像された画像は前記エリアセンサ36及
び前記リニアセンサ37によって電気信号に変換され
る。ここでは、前記エリアセンサ36及び前記リニアセ
ンサ37はCCD型として説明する。前記撮像センサユ
ニット21は、前記エリアセンサ36及び前記リニアセ
ンサ37、このエリアセンサ36及び前記リニアセンサ
37をそれぞれ駆動するためのドライバ回路、前記エリ
アセンサ36及び前記リニアセンサ37から出力された
微小出力をそれぞれS/N良く増幅させるためのアンプ
回路、このアンプ回路から出力されたアナログ信号をそ
れぞれ量子化するための量子化手段としての2値化回路
からなっている。
The formed image is converted into an electric signal by the area sensor 36 and the linear sensor 37. Here, the area sensor 36 and the linear sensor 37 are described as CCD type. The imaging sensor unit 21 includes the area sensor 36 and the linear sensor 37, a driver circuit for driving the area sensor 36 and the linear sensor 37, and a minute output output from the area sensor 36 and the linear sensor 37. Circuit for amplifying the analog signals with good S / N, and a binarizing circuit as quantization means for quantizing the analog signals output from the amplifier circuit.

【0029】前記エリアセンサ36及び前記リニアセン
サ37の出力は、それぞれ図7に示すように、光学的な
光量の低下などからセンサ出力も信号の両端( 読取範囲
の周辺部に対応する信号 )でレベル低下するシェーディ
ング現象が発生するので、シェーディング補正として2
値化回路において量子化の基準値を、図8に示すよう
に、シェーディング現象に合わせて変化させる方法をと
る。このシェーディング補正としては他の方法もあり、
この発明はこのシェーディング補正の方法について限定
されないものである。
As shown in FIG. 7, the outputs of the area sensor 36 and the linear sensor 37 are output at both ends of the signal (a signal corresponding to the peripheral portion of the reading range) due to a decrease in optical light quantity. Since a shading phenomenon in which the level decreases occurs, 2
As shown in FIG. 8, a method of changing the reference value of quantization in the value conversion circuit in accordance with the shading phenomenon is employed. There are other methods for this shading correction,
The present invention is not limited to this shading correction method.

【0030】前記エリアセンサ36及び前記リニアセン
サ37からの出力信号は、画像を2値化した2値化信号
と、それぞれの画素位置を特定するための座標がカウン
タによって計数され出力される。また、2値化信号と同
時に階調信号を出力する構成にしておけば、後段での活
用を図ることも有効であるが、ここでは説明を簡単にす
るため階調信号についての説明は省略する。
The output signals from the area sensor 36 and the linear sensor 37 are binarized signals obtained by binarizing an image and coordinates for specifying the respective pixel positions are counted and output by a counter. Further, if a configuration is adopted in which the grayscale signal is output simultaneously with the binarized signal, it is effective to use the grayscale signal in the subsequent stage, but the description of the grayscale signal is omitted here for the sake of simplicity. .

【0031】前記撮像センサユニット21からの2値映
像信号「1」,「0」値及びアドレス座標値は、前記画
像メモリユニット22のDMA(direct memory access)
回路を通してこの画像メモリユニット22の本体である
画像メモリの所定位置に保存される。なお、2値映像信
号及びアドレス座標値を、DMA回路を通さず( 設けず
)に前記CPUユニット23( CPUバス )を通して画
像メモリの所定位置に保存しても良い。
The binary video signals “1” and “0” and the address coordinate value from the image sensor unit 21 are stored in a DMA (direct memory access) of the image memory unit 22.
The data is stored in a predetermined position of an image memory which is a main body of the image memory unit 22 through a circuit. Note that the binary video signal and the address coordinate value are not passed through the DMA circuit (not provided).
) May be stored in a predetermined position of the image memory through the CPU unit 23 (CPU bus).

【0032】画像を構成する予め設定された個数( 画素
数 )のデータが書込まれた時点で、前記画像メモリユニ
ット22のDMA回路から書込完了の信号が出力され
る。この画像メモリユニット22からの書込完了の信号
が出力されると、前記CPUユニット23はプログラム
メモリ( ROM=read only memory )に保存されている
コード解読手段としてのコード解読プログラムに基づい
てCPUが駆動されて画像メモリに保存されたイメージ
データからコード値( コードデータ )を解読( デコード
)する。前記CPUユニット23のプログラムメモリと
しては、フラッシュROMを利用する。このようにする
ことにより、プログラム( 例えばコード解読プログラ
ム)をインターフェイスケーブル3及び通信インターフ
ェイス経由で書換えることが可能であるので、製造時に
性能が決定されることがなく、利用現場に対応した最新
のプログラムを組込むことにより最適な性能向上を図る
ことができる。
When a predetermined number (pixel number) of data constituting an image is written, a write completion signal is output from the DMA circuit of the image memory unit 22. When a write completion signal is output from the image memory unit 22, the CPU unit 23 operates based on a code decoding program as code decoding means stored in a program memory (ROM = read only memory). Decodes (code data) from the image data driven and stored in the image memory
). As a program memory of the CPU unit 23, a flash ROM is used. By doing so, it is possible to rewrite a program (for example, a code decoding program) via the interface cable 3 and the communication interface, so that the performance is not determined at the time of manufacture, and the latest By incorporating a program, optimal performance can be improved.

【0033】この解読したコード値は、前記I/Oユニ
ット24の通信インターフェイスを通してホストコンピ
ュータ等の外部装置へ転送される。通信インターフェイ
スは、汎用的シリアルポートであるRS−232CやC
MOS論理レベルで転送するCMOSインターフェイ
ス、さらには高速シリアルバスであるUSBポートやI
EEE1394などの次期標準と考えられている通信イ
ンターフェイスが用意される。また、ケーブルを使用し
ない赤外線インターフェイスなども実用的である。
The decoded code value is transferred to an external device such as a host computer through the communication interface of the I / O unit 24. The communication interface is a general-purpose serial port such as RS-232C or C
A CMOS interface for transferring data at a MOS logic level, and a USB port or I
A communication interface that is considered to be the next standard such as EEE1394 is prepared. In addition, an infrared interface that does not use a cable is also practical.

【0034】データ転送の通信プロトコルは、CPUに
よって行われ、自由にデータフォーマットなどが設定で
きる。
The communication protocol for data transfer is performed by the CPU, and the data format and the like can be freely set.

【0035】また、前記I/Oユニット24には、監視
及び制御のできるI/O( input/output )ポートが含ま
れている。このI/Oポートには、前記照明部32,3
3前記トリガスイッチ4、外部からのトリガ入力を受付
ける外部トリガ入力端子、前記表示装置5、読取過程が
正常に行われたか否かあるいはその結果を操作者に音感
的に報知する発音器( ブザー )が接続されている。
The I / O unit 24 includes an I / O (input / output) port that can be monitored and controlled. The I / O ports include the illumination units 32 and 3
(3) The trigger switch (4), an external trigger input terminal for receiving an external trigger input, the display device (5), a sounder (buzzer) for informing the operator whether or not the reading process has been performed normally or the result thereof. Is connected.

【0036】前記トリガスイッチ4の操作方法によって
読取コード種の設定ができる。すなわち、図9は前記C
PUユニット23が前記トリガスイッチ4がON状態に
なったときに行うトリガ割込処理の流れを示す図であ
り、通常のONして直ぐにOFFする短時間のON操作
では2次元コード( マトリックスコード )の読取処理
(解析・デコード処理 )を行い、予め設定された時間以
上ONを続ける長時間のON操作( 連続操作 )ではバー
コードの読取処理( 解析・デコード処理 )を行う。ま
た、読取動作を制御する前記トリガスイッチ4のON操
作には、電源のON/OFF動作が連動している。すな
わち、読取動作のOFF状態のときには、電源もOFF
状態にして、非読取時の無駄な電力の浪費を防止するよ
うになっている。
The read code type can be set by operating the trigger switch 4. That is, FIG.
It is a figure which shows the flow of the trigger interruption process which the PU unit 23 performs when the said trigger switch 4 is set to ON state, and is a two-dimensional code (matrix code) in the normal short ON operation which turns ON immediately after turning ON. Reading process
(Analysis / decoding processing), and barcode reading processing (analysis / decoding processing) is performed in a long-time ON operation (continuous operation) that keeps ON for more than a preset time. The ON / OFF operation of the power supply is linked to the ON operation of the trigger switch 4 for controlling the reading operation. That is, when the reading operation is in the OFF state, the power supply is also OFF.
In this state, wasteful power consumption during non-reading is prevented.

【0037】2次元コードと1次元コードとを同時に読
ませる読取装置の場合には、撮像センサユニットの設置
には2つの方法がある。第1の方法は、エリアセンサ3
6からなるユニットのみを使用し、2次元コードと1次
元バーコードの読取りを同一のエリアセンサ36で行っ
てしまう方法である。第2の方法は、エリアセンサ36
からなるユニットとリニアセンサ37からなるユニット
とを、それぞれ読取り対象の2次元コードと1次元バー
コードとで選択・使用する方法である。
In the case of a reading device that can read two-dimensional codes and one-dimensional codes simultaneously, there are two methods for installing the image sensor unit. The first method is to use the area sensor 3
This is a method in which only the unit 6 is used and two-dimensional codes and one-dimensional bar codes are read by the same area sensor 36. The second method is to use the area sensor 36.
This is a method of selecting and using a unit made up of a linear sensor 37 and a unit made up of a linear sensor 37 using a two-dimensional code and a one-dimensional bar code to be read.

【0038】第1の方法では、エリアセンサ36が1方
向( 1行又は1列 )の固体撮像素子の配列数がリニアセ
ンサ37に比べて少ないため、エリアセンサ36でバー
コードを読取る場合には、バーコードのサイズ及び解像
度に制限が加わることになる。その読取ることができる
バーコードの最小解像度と読取りサイズは、2次元コー
ドと同等になる。第2の方法では、2次元コードとバー
コード( 1次元コード )とで、それぞれ独立した読取範
囲及び読取解像度を得ることができ、現在FA分野や流
通分野で利用されている大きいサイズのバーコードがリ
ニアセンサ37により読取ることができる。
In the first method, since the area sensor 36 has a smaller number of solid-state imaging devices arranged in one direction (one row or one column) than the linear sensor 37, when the area sensor 36 reads a barcode, , Barcode size and resolution will be limited. The minimum resolution and read size of the bar code that can be read are equivalent to a two-dimensional code. In the second method, a two-dimensional code and a barcode (one-dimensional code) can obtain an independent reading range and reading resolution, respectively, and a large-size barcode currently used in the FA field and the distribution field. Can be read by the linear sensor 37.

【0039】例えば、エリアセンサ36に800×60
0画素のCCDを利用し、リニアセンサ37に4096
画素のCCDを使用した場合を考えると、解像度を0.
25mm/4ピクセルでコードを読取る場合には、エリ
アセンサ36で50mm幅、リニアセンサ37では25
6mm幅のシンボルまで読取ることができる。従って、
高解像度、広幅バーコードの読取りにはリニアセンサ3
7を使用した方が有利となる。また、一般的に2次元コ
ードは高密度、バーコードは低密度で印字されることが
多いので、解像度設定を個々に行えるようにエリアセン
サ36からなるユニットとリニアセンサ37からなるユ
ニットとを独立させて設置する。
For example, the area sensor 36 is set to 800 × 60
Using a 0 pixel CCD, 4096
Considering the case where a CCD of pixels is used, a resolution of 0.
When reading a code at 25 mm / 4 pixels, the area sensor 36 has a width of 50 mm, and the linear sensor 37 has a width of 25 mm.
It can read symbols up to 6 mm wide. Therefore,
Linear sensor 3 for reading high resolution and wide barcodes
The use of 7 is more advantageous. In general, a two-dimensional code is often printed at a high density and a bar code is printed at a low density. Therefore, the unit including the area sensor 36 and the unit including the linear sensor 37 are independently provided so that the resolution can be individually set. And install it.

【0040】図10は、このガンタイプの非接触式コー
ドスキャナ31の要部回路構成を示すブロック図であ
る。前記エリアセンサ36からなるエリアセンサユニッ
ト41には、その他に、前記エリアセンサ36を駆動す
る( エリアセンサ用の )ドライブ回路42と、このドラ
イブ回路42からの駆動タイミングに基づいて座標値を
計数する( エリアセンサ用の )カウンタ43と、前記エ
リアセンサ36からの撮像信号を増幅する(エリアセン
サ用の )増幅回路44と、シェーディング補正機能を備
え、前記増幅回路44により増幅された撮像信号を0又
は1のデジタルデータに変換させる(エリアセンサ用の
)2値化回路45とから構成されている。
FIG. 10 is a block diagram showing the main circuit configuration of the gun-type non-contact code scanner 31. As shown in FIG. The area sensor unit 41 including the area sensor 36 additionally includes a drive circuit 42 (for the area sensor) that drives the area sensor 36, and counts coordinate values based on the drive timing from the drive circuit 42. A counter 43 (for area sensor), an amplifier circuit (for area sensor) for amplifying the image signal from the area sensor 36, and a shading correction function are provided. Or convert it to one digital data (for area sensor)
) And a binarization circuit 45.

【0041】前記リニアセンサ37からなるリニアセン
サユニット46には、その他に、前記エリアセンサ37
を駆動する( リニアセンサ用の )ドライブ回路47と、
このドライブ回路47からの駆動タイミングに基づいて
座標値を計数する( リニアセンサ用の )カウンタ48
と、前記エリアセンサ37からの撮像信号を増幅する
(リニアセンサ用の )増幅回路49と、シェーディング
補正機能を備え、前記増幅回路49により増幅された撮
像信号を0又は1のデジタル撮像信号に変換させる( リ
ニアセンサ用の )2値化回路50とから構成されてい
る。
The linear sensor unit 46 including the linear sensor 37 additionally includes the area sensor 37.
A drive circuit 47 (for a linear sensor) that drives
A counter (for a linear sensor) 48 for counting coordinate values based on the drive timing from the drive circuit 47
And amplify the imaging signal from the area sensor 37
An amplifying circuit 49 (for a linear sensor), a binarizing circuit 50 (for a linear sensor) having a shading correction function, and converting an image signal amplified by the amplifying circuit 49 into a digital image signal of 0 or 1; It is composed of

【0042】データセレクタ51には、前記エリアセン
サユニット41の2値化回路45からのエリア撮像デー
タ線及びカウンタ43からの座標データ線が接続される
と共に、前記リニアセンサユニット46の2値化回路5
0からのリニア撮像データ線及びカウンタ48からの座
標データ線が接続されている。このデータセレクタ51
は、制御部本体を構成するCPU52により発生された
選択信号に基づいて、前記エリアセンサユニット41か
らのデータ線と前記リニアセンサユニット46からのデ
ータ線とのうちいずれか一方をDMA(direct memory a
ccess)53への出力データ線と接続するようになってい
る。
The data selector 51 is connected to the area imaging data line from the binarization circuit 45 of the area sensor unit 41 and the coordinate data line from the counter 43, and to the binarization circuit of the linear sensor unit 46. 5
A linear imaging data line from 0 and a coordinate data line from the counter 48 are connected. This data selector 51
A DMA (direct memory a) based on a selection signal generated by a CPU 52 constituting a control unit main body, based on one of a data line from the area sensor unit 41 and a data line from the linear sensor unit 46.
ccess) 53 to be connected to the output data line.

【0043】前記CPU52は、システムバス54を通
して、プログラムメモリ55、画像メモリ56、前記D
MA53、I/O(input/output)ポート57、通信イン
ターフェイス58とそれぞれ接続されている。なお、前
記CPU52から前記データセレクタ51への選択信号
も、前記システムバス54を通して前記データセレクタ
51へ出力する。プログラムメモリ55は、前記CPU
52が行う処理のプログラムデータ等が記憶されてい
る。
The CPU 52 transmits a program memory 55, an image memory 56,
The MA 53 is connected to an I / O (input / output) port 57 and a communication interface 58. A selection signal from the CPU 52 to the data selector 51 is also output to the data selector 51 through the system bus 54. The program memory 55 includes the CPU
52 stores program data and the like for the processing performed by 52.

【0044】前記画像メモリ56は、複数枚分の撮像デ
ータが記憶される容量を備え、前記DMA53により、
前記データセレクタ51で選択された方のユニットの撮
像データがその座標データに基づいて画像データとし
て、前記CPU52を介さずに前記画像メモリ56に展
開される。前記I/Oポート57には、ターゲット( ビ
ームスポットLED34,35 )、照明( 照明部32,
33 )、前記トリガスイッチ4、外部トリガ入力59、
表示器60、発音器( ブザー )61がぞれぞれ割当てら
れた入出力ポートに接続されている。
The image memory 56 has a capacity for storing a plurality of pieces of imaging data.
The imaging data of the unit selected by the data selector 51 is developed as image data in the image memory 56 without passing through the CPU 52 based on the coordinate data. The I / O port 57 includes a target (beam spot LED 34, 35), illumination (illumination unit 32,
33), the trigger switch 4, an external trigger input 59,
A display 60 and a sounder (buzzer) 61 are connected to the assigned input / output ports.

【0045】エリアセンサユニット41とリニアセンサ
ユニット46の2系統を搭載した2次元リーダの動作は
以下のようになる。読取コード種の切換は、トリガスイ
ッチ4の操作による指示、ホストコンピュータからのコ
マンドによる指示、撮像データを解析して自動的に切換
えるという3つの方法がある。
The operation of the two-dimensional reader equipped with the two systems of the area sensor unit 41 and the linear sensor unit 46 is as follows. There are three methods of switching the read code type: an instruction by operating the trigger switch 4, an instruction by a command from the host computer, and automatic switching by analyzing image data.

【0046】これらの方法による読取コード種の決定
は、この決定したコード種を読取るセンサユニットから
の撮像データを有効データとして、データセレクタ51
にそのセンサユニットからの出力データのDMAへの接
続を指示して有効データ切換を制御することに利用する
こともできるが、エリアセンサユニット41、リニアセ
ンサユニット46にそれぞれメモリバッファを設けて、
データセレクタ51の前で撮像データを一時的に記憶す
ることにより、両方の撮像データを画像メモリ56に入
力する順序を決めるために利用することもできる。デー
タセレクタ41の選択信号はCPU52により制御され
ているので、学習機能により過去の傾向に基づいて切換
順序などを自動的に設定することを行うこともできる。
The determination of the read code type by these methods is performed by using the image data from the sensor unit that reads the determined code type as valid data, by using the data selector 51.
Can be used to control the effective data switching by instructing the connection of the output data from the sensor unit to the DMA, but memory buffers are provided in the area sensor unit 41 and the linear sensor unit 46, respectively.
By temporarily storing the image data before the data selector 51, the image data can be used to determine the order of inputting both image data to the image memory 56. Since the selection signal of the data selector 41 is controlled by the CPU 52, it is possible to automatically set the switching order and the like based on the past tendency by the learning function.

【0047】トリガ入力の後、リニアセンサ37、エリ
アセンサ36のそれぞれのコード読取視野、読取焦点位
置を示すリニア用、エリア用のビームスポットLED3
4、35を消灯する。このスポット光の照明消灯後、リ
ニアセンサ37の撮像入力を行い、次にエリアセンサ3
6の撮像入力を行う。図11は、エリア用及びリニア用
の前記照明部32、34、エリア用及びリニア用の前記
ビームスポットLED34、35、前記トリガスイッチ
4の駆動タイミングを示す図である。
After the trigger input, the linear and area beam spot LEDs 3 indicating the code reading visual field and the reading focal position of the linear sensor 37 and the area sensor 36, respectively.
Lights 4 and 35 are turned off. After the illumination of the spot light is turned off, the imaging input of the linear sensor 37 is performed.
6 is input. FIG. 11 is a diagram showing drive timings of the illumination units 32 and 34 for area and linear, the beam spot LEDs 34 and 35 for area and linear, and the trigger switch 4.

【0048】CPU52に搭載されたプログラムにより
実現されるデコードアルゴリズムは、例えばエリアセン
サ36による撮像入力終了後、その画像の特徴抽出を行
う。この処理は画像中にバーコード、2次元コードらし
きものが存在するかを調べる処理である。その存在が確
認されたら、デコード処理を行い、読取の成功/失敗を
判定し、成功ならばその結果を表示器60によって表示
すると共に、通信インターフェイス58を通して送信出
力して終了となる。失敗ならば失敗原因を表示器60に
表示し、読取処理を終了して、再びトリガ入力待ち状態
に戻る。
The decoding algorithm realized by the program installed in the CPU 52 performs the feature extraction of the image, for example, after the end of the imaging input by the area sensor 36. This process is a process for checking whether a bar code or a two-dimensional code is present in the image. If its existence is confirmed, decoding processing is performed to determine the success / failure of the reading. If the reading is successful, the result is displayed on the display unit 60, and transmitted and output through the communication interface 58, thus ending the processing. If unsuccessful, the cause of the failure is displayed on the display 60, the reading process is terminated, and the process returns to the trigger input waiting state.

【0049】この発明の実施の形態を図12乃至図17
を参照して説明する。図12は、前述したガンタイプの
非接触式コードスキャナ31の要部回路構成に追加され
る回路構成を示すブロック図である。前記CPU52
は、前記システムバス54を通して、デコードされたコ
ード種別の履歴データが随時記憶される種別履歴記憶手
段としてのコード種別メモリ71、このコード種別メモ
リ71からデコードされたコード種別の履歴データを読
み出すコード種別読出部72、このコード種別読出部7
2によるコード種別の履歴データの読出により優先順位
1位として設定されたコード種別に基づいて前記通信イ
ンターフェイス58に対して通信方法の変更を行うプロ
トコル変換部73と接続されている。
FIGS. 12 to 17 show an embodiment of the present invention.
This will be described with reference to FIG. FIG. 12 is a block diagram showing a circuit configuration added to the main circuit configuration of the gun-type non-contact code scanner 31 described above. The CPU 52
Is a code type memory 71 serving as a type history storage unit in which history data of a decoded code type is stored as needed through the system bus 54, and a code type for reading out the decoded history data of the code type from the code type memory 71. Readout section 72, code type readout section 7
2 is connected to a protocol conversion unit 73 that changes the communication method for the communication interface 58 based on the code type set as the first priority by reading the history data of the code type.

【0050】前記コード種別メモリ71に対してリセッ
ト入力手段としてのリセットスイッチ74が設けられて
おり、前記コード種別読出部72に対して種別設定スイ
ッチ75が設けられている。コード読取り完了してコー
ド種別を表示した時に前記リセットスイッチ74をオン
操作することにより、前記コード種別メモリ71に登録
した上記コード種別の履歴データをキャンセルすると共
に再読取りの要求を発生する。また、種別設定スイッチ
75は、前記コード種別読出部72にコード種別を操作
者のマニュアル操作により設定するためのものである。
前記通信インターフェイス58は、通信仕様実現手段と
して、複数のインターフェイス回路が備えられており、
各インターフェイス回路は複数のホスト装置(ホスト装
置群76 )のうち対応するホスト装置と回線を通して接
続されている。
A reset switch 74 as reset input means is provided for the code type memory 71, and a type setting switch 75 is provided for the code type reading section 72. By turning on the reset switch 74 when the code type is displayed after the code reading is completed, the history data of the code type registered in the code type memory 71 is canceled and a request for rereading is generated. The type setting switch 75 is used to set the code type in the code type reading section 72 by manual operation of the operator.
The communication interface 58 is provided with a plurality of interface circuits as communication specification realizing means,
Each interface circuit is connected to a corresponding host device among a plurality of host devices (host device group 76) through a line.

【0051】図13は、前記発音器61の概略の構成を
示す図である。前記発音器61は、音声合成手段として
の音声合成部77、増幅部78及びスピーカー部79と
から構成され、前記音声合成部77は前記I/Oポート
57に接続されている。前記音声合成部77は、前記I
/Oポート57から入力される信号に対応したメッセー
ジ( 例えばコード種別名称 )を音声合成して、前記増幅
部78を通してスピーカー部79により音声として出力
する。
FIG. 13 is a diagram showing a schematic configuration of the sound generator 61. As shown in FIG. The sound generator 61 includes a voice synthesis unit 77 as a voice synthesis unit, an amplification unit 78, and a speaker unit 79. The voice synthesis unit 77 is connected to the I / O port 57. The voice synthesis unit 77
A message (for example, code type name) corresponding to the signal input from the / O port 57 is voice-synthesized and output as voice by the speaker unit 79 through the amplifying unit 78.

【0052】図14は、前述した図9に示したトリガ割
込処理を実行しないコード種別自動選択モード時に、前
記CPU52が行うメイン処理の流れを示す図である。
まず、コード種別読出部72を介してコード種別メモ
リ71に統計的に登録・記憶されているコード種別の履
歴データの読出しを行い、この読出したコード種別の履
歴データを読出し、各種読取り条件下での読取り回数に
基づいて、コード種別の優先順位を判定し、優先順位の
最も高いコード種別を次の読取りのコード種別として設
定する。
FIG. 14 is a diagram showing a flow of the main processing performed by the CPU 52 in the code type automatic selection mode in which the trigger interruption processing shown in FIG. 9 is not executed.
First, history data of a code type statistically registered and stored in the code type memory 71 is read out via the code type reading unit 72, and the read history data of the code type is read out under various reading conditions. , The priority of the code type is determined, and the code type with the highest priority is set as the code type for the next read.

【0053】次に、ステップ1( ST1 )の処理とし
て、次の読取りのために設定されているコード種別の読
取り時に、リニアセンサ37とエリアセンサ36とを連
続して使用しているか否か等の利用状況を判断して設定
する。すなわち、リニアセンサ37とエリアセンサ36
とを連続して( 併用して )利用している場合には2セン
サ連続として設定する。
Next, as a process of step 1 (ST1), it is determined whether or not the linear sensor 37 and the area sensor 36 are continuously used at the time of reading the code type set for the next reading. Judgment of the usage status of is set. That is, the linear sensor 37 and the area sensor 36
If these are used continuously (in combination), set as two sensors consecutively.

【0054】次に、ステップ2( ST2 )の処理とし
て、後述する読取制御手段としての画像読取・デコード
処理を行い、この画像読取・デコード処理を終了する
と、この画像読取・デコード処理で得られた読取って判
定したコード種別を報知する。この報知の第1の方法
は、種別表示報知手段として、表示器60を使用してコ
ード種別を文字として表示出力するものである。第2の
方法は、種別音声報知手段として、音声出力を可能とし
た発音器61( 77,78,79 )を使用して言葉とし
て音声出力するものである。
Next, as a process of step 2 (ST2), an image reading / decoding process as reading control means described later is performed, and when the image reading / decoding process is completed, the image reading / decoding process is performed. The code type read and determined is notified. The first method of this notification is to display and output the code type as characters using the display 60 as the type display notification means. The second method is to use a sounding device 61 (77, 78, 79) capable of outputting a sound to output a sound as words as a type sound notifying means.

【0055】次に、リセットスイッチ74がON操作さ
れたか否かを判断する。ここで、リセットスイッチ74
がON操作されたと判断すると、ステップ2の画像読取
・デコード処理でコード種別メモリ71に統計的に登録
したコード種別の履歴データを削除し( リセット手段
)、種別設定スイッチ75で指定入力されたコード種別
又は優先順位の次位のコード種別を再設定して、再び前
述のステップ1の処理に戻るようになっている。
Next, it is determined whether or not the reset switch 74 has been turned ON. Here, the reset switch 74
Is determined to have been turned on, the history data of the code type statistically registered in the code type memory 71 in the image reading / decoding process in step 2 is deleted (reset means).
), The code type designated by the type setting switch 75 or the code type next to the priority is reset, and the process returns to the above-described step 1 again.

【0056】また、リセットスイッチ74はON操作さ
れていないと判断すると、前述のステップ2の画像読取
・デコード処理で判定されたコード種別に対応して、通
信インターフェイス中の対応するインターフェイス回路
を選択し、プロトコル変換部73によって上記コード種
別に対応して、通信プロトコル、通信速度等の通信仕様
を変換する( 通信仕様制御手段 )。次に、ステップ2の
画像読取・デコード処理におけるデコード結果のコード
結果等を対応する転送すべきホスト装置へ転送して、こ
のメイン処理を終了するようになっている。
If it is determined that the reset switch 74 has not been turned ON, the corresponding interface circuit in the communication interface is selected in accordance with the code type determined in the image reading / decoding processing in step 2 described above. The protocol conversion unit 73 converts communication specifications such as a communication protocol and a communication speed in accordance with the code type (communication specification control means). Next, the code result of the decoding result in the image reading / decoding process in step 2 is transferred to the corresponding host device to be transferred, and the main process ends.

【0057】図15は、前記CPU52が前述したメイ
ン処理中で行う画像読取・デコード処理の流れを示す図
である。まず、ステップ3( ST3 )の処理として、読
取のために設定されているコード種別は2次元コードか
否かを判断する。ここで、2次元コードではないと判断
すると、データセレクタ51によって、リニアセンサ3
7を備えたリニアセンサユニット42から出力される画
像データを選択・入力してDMA53を通して画像メモ
リ56に保存する。
FIG. 15 is a diagram showing a flow of the image reading / decoding process performed by the CPU 52 during the main process described above. First, as the process of step 3 (ST3), it is determined whether the code type set for reading is a two-dimensional code. If it is determined that the code is not a two-dimensional code, the data selector 51 causes the linear sensor 3
The image data output from the linear sensor unit 42 having the image data 7 is selected and input, and is stored in the image memory 56 through the DMA 53.

【0058】次に、今回の読取りにおいて2センサ連続
が設定されているか否かを判断する。ここで、2センサ
連続は設定されていないと判断すると、後述するステッ
プ4( ST4 )の処理へ移行するようになっている。ま
た、2センサ連続が設定されていると判断すると、デー
タセレクタ51によって、エリアセンサ36を備えたエ
リアセンサユニット41から出力される画像データを選
択・入力してDMA53を通して画像メモリ56に保存
して、ステップ4の処理へ移行するようになっている。
Next, it is determined whether or not two consecutive sensors are set in the current reading. Here, if it is determined that the two sensor continuation is not set, the processing shifts to the processing of step 4 (ST4) described later. If it is determined that two sensors are set consecutively, the image data output from the area sensor unit 41 having the area sensor 36 is selected and input by the data selector 51 and stored in the image memory 56 through the DMA 53. , The process proceeds to step 4.

【0059】また、前述のステップ3の処理で、読取の
ために設定されているコード種別は2次元コードである
と判断すると、データセレクタ51によって、エリアセ
ンサユニット41から出力される画像データを選択入力
してDMA53を通して画像メモリ56に保存する。次
に、今回の読取りにおいて2センサ連続が設定されてい
るか否かを判断する。ここで、2センサ連続が設定され
ていると判断すると、データセレクタ51によって、リ
ニアセンサユニット42から出力される画像データを選
択・入力してDMA53を通して画像メモリ56に保存
して、ステップ4の処理へ移行するようになっている。
また、2センサ連続は設定されていないと判断すると、
ステップ4の処理へ移行するようになっている。
If the code type set for reading is determined to be a two-dimensional code in the above-described step 3, the data selector 51 selects the image data output from the area sensor unit 41. The data is input and stored in the image memory 56 through the DMA 53. Next, it is determined whether two consecutive sensors are set in the current reading. Here, when it is determined that two sensors are set consecutively, the image data output from the linear sensor unit 42 is selected and input by the data selector 51 and stored in the image memory 56 through the DMA 53, and the processing in step 4 is performed. It is designed to shift to.
Also, if it is determined that the two sensor continuation is not set,
The processing shifts to the processing of step 4.

【0060】ステップ4の処理は、読取りのために設定
されたコード種別に基づいてデコードアルゴリズムを選
択して、上記コードイメージをコードデータに翻訳する
デコード処理( コード解読手段 )を行う。このデコード
処理を終了すると、今回の読取りにおいて2センサ連続
が設定されるか否かを判断する。ここで、2センサ連続
は設定されていないと判断すると、読取りのために設定
されたコード種別の履歴データをコード種別メモリ71
に統計的に登録する。この1つのコード種別の履歴デー
タの統計的登録を終了すると、この画像読取・デコード
処理を終了して、再び前述のメイン処理に戻るようにな
っている。
The process of step 4 selects a decoding algorithm based on the code type set for reading, and performs a decoding process (code decoding means) for translating the code image into code data. When the decoding process is completed, it is determined whether or not two consecutive sensors are set in the current reading. Here, if it is determined that the two sensor continuation is not set, the history data of the code type set for reading is stored in the code type memory 71.
Register statistically. When the statistical registration of the history data of one code type is completed, the image reading / decoding process is completed, and the process returns to the main process.

【0061】また、2センサ連続が設定されていると判
断すると、読取りのために設定されたコード種別に基づ
いてデコードアルゴリズムを選択して、上記コードイメ
ージをコードデータに翻訳するデコード処理を行う。こ
のデコード処理を終了すると、ステップ4のデコード処
理におけるデコードアルゴリズムのコード種別の履歴デ
ータと2番目の画像データのデコード処理におけるデコ
ードアルゴリズムのコード種別の履歴データとをコード
種別メモリ71に統計的に登録する。この2つのコード
種別の履歴データの統計的登録を終了すると、この画像
読取・デコード処理を終了して、再び前述のメイン処理
に戻るようになっている。
If it is determined that two sensors are set consecutively, a decoding algorithm is selected based on the code type set for reading, and a decoding process for translating the code image into code data is performed. When this decoding process is completed, the history data of the code type of the decoding algorithm in the decoding process of step 4 and the history data of the code type of the decoding algorithm in the decoding process of the second image data are statistically registered in the code type memory 71. I do. When the statistical registration of the history data of the two code types is completed, the image reading / decoding process is completed, and the process returns to the main process.

【0062】ここで、コード種別の履歴データの統計的
に登録するとは、例えば、各種読取回数の累積値とその
累積値の割合を算出して登録することを意味する。累積
値としては、各コード種別毎の読取回数の累積値の他
に、同時に読取られているコード種別の読取回数の累積
値等がある。
Here, statistically registering the history data of the code type means, for example, calculating and registering the cumulative value of various reading times and the ratio of the cumulative value. Examples of the cumulative value include the cumulative value of the number of readings of the code type that is being read simultaneously, in addition to the cumulative value of the number of readings for each code type.

【0063】このような構成のこの実施の形態におい
て、トリガスイッチがON操作されることにより、コー
ド種別メモリ71に統計的に登録されたコード種別の履
歴データが読み出され、この読み出された履歴データに
基づいてコード種別の優先順位が決定され、この優先順
位の最も高いコード種別が読取りのコード種別として設
定される。
In this embodiment having such a configuration, when the trigger switch is turned on, the history data of the code type statistically registered in the code type memory 71 is read out, and the read-out history data is read out. The priority of the code type is determined based on the history data, and the code type with the highest priority is set as the read code type.

【0064】例えば、図5に示すように、バーコード及
びマトリックスコードが印刷されたラベルの読取回数が
多い場合に、読取ったコード種別の履歴データにおいて
統計的にバーコード又はマトリックスコードが優先順位
が最も高くなる。しかも、そのバーコードとマトリック
スコードとは同時に( 連続して )読取る場合が多い、そ
のため、読取り動作として、エリアセンサ及びリニアセ
ンサの両方を使用した2センサ連続の読取りが実行され
る。
For example, as shown in FIG. 5, when the number of times of reading the label on which the bar code and the matrix code are printed is large, the bar code or the matrix code is statistically given a higher priority in the history data of the read code type. Will be the highest. Moreover, the bar code and the matrix code are often read simultaneously (continuously). Therefore, as a reading operation, continuous reading of two sensors using both the area sensor and the linear sensor is performed.

【0065】もちろん、バーコードのみ印刷されたラベ
ルの読取りが多い場合には、優先順位の最も高いコード
種別はバーコードとなるので、その場合には2センサ連
続とはならず、リニアセンサのみ読取りが実行される。
また、マトリックスコード等の2次元コードのみが印刷
されたラベルの読取りが多い場合には、優先順位の最も
高いコード種別はマトリックスコード等の2次元コード
となるので、その場合にも2センサ連続とはならず、エ
リアセンサのみ読取りが実行される。
Of course, if a label printed with only a bar code is read frequently, the code type having the highest priority is a bar code. In this case, two consecutive sensors are not read and only the linear sensor is read. Is executed.
Also, when a label on which only a two-dimensional code such as a matrix code is printed is frequently read, the code type having the highest priority is a two-dimensional code such as a matrix code. However, only the area sensor is read.

【0066】イメージの読取りが終了すると、コードの
特徴を抽出してコードイメージだけを切り抜く。この切
り抜いたコードイメージについて、履歴データにより設
定されたコード種別に基づいてデコードアルゴリズムが
選択されデコード処理してコードデータを得ることにな
る。デコードがエラーもなく終了すると上記コード種別
の履歴データがコード種別メモリ71に統計的に登録さ
れる。このデコード処理でデコードが成功してコードデ
ータが得られると、上記コード種別を、音声によって又
は文字による表示によって報知する。
When the reading of the image is completed, the features of the code are extracted and only the code image is cut out. With respect to the cut-out code image, a decoding algorithm is selected based on the code type set by the history data, and decoding processing is performed to obtain code data. When the decoding is completed without error, the history data of the code type is statistically registered in the code type memory 71. When code data is obtained by successful decoding in this decoding process, the code type is notified by voice or by character display.

【0067】ここで、リセットスイッチ74がON操作
されると、今回の読取りでコード種別メモリ74に登録
されたコード種別の履歴データは削除され、種別設定ス
イッチ75で設定されたコード種別又は優先順位での次
位のコード種別で読取り動作が決定されて、再読取りが
行われる。
Here, when the reset switch 74 is turned ON, the history data of the code type registered in the code type memory 74 in this reading is deleted, and the code type or priority set by the type setting switch 75 is deleted. The read operation is determined by the next code type in the above, and reread is performed.

【0068】このようにこの実施の形態によれば、エリ
アセンサ36及びリニアセンサ37と、読取ったコード
種別の履歴データを統計的に登録するコード種別メモリ
71と、複数のインターフェイス回路を備えた通信イン
ターフェイス58と、この通信インターフェイス56に
おける通信プロトコルを変換するプロトコル変換部73
と、コード種別を音声により報知するための音声合成部
77とを設け、コード種別メモリ71に記憶されたコー
ド種別の履歴データに基づいて読取り動作を決定するこ
とにより、過去の読取り実績から読取り頻度の高いコー
ドの読取りにおいては自動的に読取り動作が決定され、
バーコードと2次元コードとを同時に読取ることが多い
場合には、読取りコードとしてバーコードと2次元コー
ドとの切換え操作を行うことなく、同時に( 連続して )
読取ることができる。
As described above, according to the present embodiment, the area sensor 36 and the linear sensor 37, the code type memory 71 for statistically registering the history data of the read code type, and the communication system including the plurality of interface circuits. An interface 58 and a protocol converter 73 for converting a communication protocol in the communication interface 56
And a voice synthesizing unit 77 for notifying the code type by voice, and determining the reading operation based on the history data of the code type stored in the code type memory 71, so that the reading frequency can be determined from the past reading results. When reading a high code, the reading operation is automatically determined,
When a bar code and a two-dimensional code are often read at the same time, the bar code and the two-dimensional code can be read simultaneously (continuously) without performing the switching operation between the bar code and the two-dimensional code.
Can be read.

【0069】また、読取ったコードデータのコード種別
を音声出力により報知することができるので、容易に読
取りコード種別を確認することができる。また、読取っ
たコードデータのコード種別を表示出力により報知する
ことができるので、容易に読取りコード種別を確認する
ことができる。さらに、読取ったコードデータのコード
種別に対応して通信仕様( 通信速度、通信プロトコル )
を変更することができるので、コード種別毎にコードデ
ータを最適のホスト装置へ転送することができる。
Since the code type of the read code data can be notified by voice output, the read code type can be easily confirmed. Further, since the code type of the read code data can be notified by a display output, the read code type can be easily confirmed. In addition, communication specifications (communication speed, communication protocol) corresponding to the code type of the read code data
Can be changed, so that the code data can be transferred to the most suitable host device for each code type.

【0070】なお、この実施の形態では、音声合成部7
7を使用した音声出力によるコード種別の報知について
説明したが、この発明はこれに限定されるものではな
く、例えばブザーを使用して発音パターンを変えること
によりコード種別を報知しても良いし、また図16に示
すように、タイマ81及び周波数選択82を備えて、発
振周波数を選択したり、時間間隔をタイマ81でプログ
ラミングすることで、コード種別を報知しても良いもの
である。
In this embodiment, the voice synthesizing unit 7
Although the notification of the code type by voice output using No. 7 has been described, the present invention is not limited to this. For example, the code type may be notified by changing a sounding pattern using a buzzer, Further, as shown in FIG. 16, a timer 81 and a frequency selector 82 may be provided to notify the code type by selecting an oscillation frequency or programming a time interval by the timer 81.

【0071】また、この実施の形態では、表示器60を
使用した文字の表示によるコード種別の報知について説
明したが、この発明はこれに限定されるものではなく、
例えば、図17に示すように、表示データ生成部83及
びタイマ84を備えて、表示データを各種生成し、表示
間隔をタイマ84でプログラミングすることで、表示器
60に自由なメッセージを表示することができ、読取り
結果( コード種、コードデータ )以外にも、履歴データ
に基づく学習効果の確認、コードスケジュール、ホスト
装置からのメッセージ等を表示することができる。な
お、この実施の形態では、エリアセンサ36とリニアセ
ンサ37との2個の異なる種類の撮像センサを使用した
例で説明したが、この発明はこれに限定されるものでは
なく、エリアセンサとエリアセンサとからなるものでも
良いし、3個以上の撮像センサを備えたもので良いもの
である。
Further, in this embodiment, the notification of the code type by displaying characters using the display unit 60 has been described. However, the present invention is not limited to this.
For example, as shown in FIG. 17, a display message generating unit 83 and a timer 84 are provided to generate various display data, and a display interval is programmed by the timer 84, so that a free message is displayed on the display 60. In addition to the reading result (code type, code data), it is possible to display a learning effect confirmation based on history data, a code schedule, a message from the host device, and the like. In this embodiment, an example is described in which two different types of imaging sensors, the area sensor 36 and the linear sensor 37, are used. However, the present invention is not limited to this. A sensor may be used, or a device having three or more image sensors may be used.

【0072】[0072]

【発明の効果】以上詳述したようにこの発明によれば、
サイズの異なる2種類のコードを効率良く同時に読取る
ことができるシンボル読取装置を提供できる。
As described in detail above, according to the present invention,
It is possible to provide a symbol reading device capable of efficiently reading two types of codes having different sizes simultaneously.

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

【図1】この発明の各実施の形態に共通するガンタイプ
の非接触式コードスキャナを示す斜視図。
FIG. 1 is a perspective view showing a gun-type non-contact type code scanner common to each embodiment of the present invention.

【図2】同ガンタイプの非接触式コードスキャナの要部
構成を示す側面断面図。
FIG. 2 is a side cross-sectional view showing a main part configuration of the gun type non-contact code scanner.

【図3】同ガンタイプの非接触式コードスキャナの印刷
媒体に印刷されたシンボルへのスポット光の照射状態を
示す斜視図。
FIG. 3 is a perspective view showing an irradiation state of spot light on a symbol printed on a print medium of the non-contact type code scanner of the gun type.

【図4】同ガンタイプの非接触式コードスキャナのスポ
ット光の焦点距離を説明するための図。
FIG. 4 is a view for explaining a focal length of a spot light of the non-contact type code scanner of the same gun type.

【図5】同ガンタイプの非接触式コードスキャナの2種
類のセンサに対応する読取範囲を示す図。
FIG. 5 is a diagram showing a reading range corresponding to two types of sensors of the non-contact code scanner of the same gun type.

【図6】同ハンディタイプのタッチ式コードスキャナの
要部機能構成を示すブロック図。
FIG. 6 is a block diagram showing a functional configuration of a main part of the handy type touch code scanner.

【図7】同ハンディタイプのタッチ式コードスキャナの
シェーディング現象を示す図。
FIG. 7 is a diagram showing a shading phenomenon of the handy type touch code scanner.

【図8】同ハンディタイプのタッチ式コードスキャナの
シェーディング補正を示す図。
FIG. 8 is a view showing shading correction of the handy type touch code scanner.

【図9】同ハンディタイプのタッチ式コードスキャナが
行うトリガ割込処理の流れを示す図。
FIG. 9 is a view showing a flow of a trigger interruption process performed by the handy type touch type code scanner.

【図10】同ガンタイプの非接触式コードスキャナの要
部回路構成を示すブロック図。
FIG. 10 is a block diagram showing a main circuit configuration of the gun-type non-contact code scanner.

【図11】同ガンタイプの非接触式コードスキャナのエ
リア用及びリニア用の照明部、エリア用及びリニア用の
ビームスポットLED、トリガスイッチの駆動タイミン
グを示す図。
FIG. 11 is a diagram showing drive timings of an area and linear illumination unit, an area and linear beam spot LED, and a trigger switch of the gun type non-contact code scanner.

【図12】この発明の実施の形態のガンタイプの非接触
式コードスキャナの図10に示す要部回路構成に追加さ
れる回路構成を示すブロック図。
FIG. 12 is a block diagram showing a circuit configuration of the gun-type non-contact code scanner according to the embodiment of the present invention, which is added to the main circuit configuration shown in FIG. 10;

【図13】同実施の形態のガンタイプの非接触式コード
スキャナの発音器の概略の構成を示す図。
FIG. 13 is a diagram showing a schematic configuration of a sounding device of the gun-type non-contact code scanner of the embodiment.

【図14】同実施の形態のガンタイプの非接触式コード
スキャナが行うメイン処理の流れを示す図。
FIG. 14 is a diagram showing a flow of a main process performed by the gun-type non-contact code scanner of the embodiment.

【図15】同実施の形態のガンタイプの非接触式コード
スキャナがメイン処理中で行う画像読取・デコード処理
の流れを示す図。
FIG. 15 is a diagram showing a flow of image reading / decoding processing performed by the gun-type non-contact code scanner according to the embodiment during main processing.

【図16】同実施の形態のガンタイプの非接触式コード
スキャナのコード種別を報知する発音器の他の例を示す
ブロック図。
FIG. 16 is a block diagram showing another example of the sounder that notifies the code type of the gun-type non-contact code scanner of the embodiment.

【図17】同実施の形態のガンタイプの非接触式コード
スキャナのコード種別を報知する表示器の他の例を示す
ブロック図。
FIG. 17 is a block diagram showing another example of a display for notifying the code type of the gun-type non-contact code scanner of the embodiment.

【図18】バーコードと2次元コードとが印刷された1
枚のラベルの例を示す図。
FIG. 18 shows a barcode and a two-dimensional code printed thereon.
The figure which shows the example of a sheet label.

【符号の説明】[Explanation of symbols]

3…インターフェイスケーブル、 4…トリガスイッチ、 5…表示装置、 6…読取口、 8…読取口カバー、 34,35…ビームスポットLED、 23…CPUユニット、 31…ガンタイプの非接触式コードスキャナ、 32…リニア用照明部、 33…エリア用照明部、 36…エリアセンサ、 37…リニアセンサ、 38…エリア用光学機構部、 39…リニア用光学機構部、 51…データセレクタ、 52…CPU、 58…通信インターフェイス、 71…コード種別メモリ、 73…プロトコル変換部、 74…リセットスイッチ、 77…音声合成部。 3 ... Interface cable, 4 ... Trigger switch, 5 ... Display device, 6 ... Reading port, 8 ... Reading port cover, 34,35 ... Beam spot LED, 23 ... CPU unit, 31 ... Gun type non-contact code scanner, 32: Linear illumination unit, 33: Area illumination unit, 36: Area sensor, 37: Linear sensor, 38: Area optical mechanism unit, 39: Linear optical mechanism unit, 51: Data selector, 52: CPU, 58 ... communication interface, 71: code type memory, 73: protocol converter, 74: reset switch, 77: voice synthesizer.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 関 安弘 静岡県三島市南町6番78号 株式会社テッ ク三島事業所内 ──────────────────────────────────────────────────続 き Continuing from the front page (72) Inventor Yasuhiro Seki 6-78, Minamicho, Mishima-shi, Shizuoka Pref.

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 印刷媒体上のシンボルからの反射光を受
光し、その受光量に対応した電気量を出力する光電変換
素子から構成された撮像手段を備えたシンボル読取装置
において、 前記撮像手段をシンボルのコード種別に応じて複数個設
け、 前記各撮像手段毎に設けられ、該当する撮像手段から出
力される撮像信号を処理してデジタル信号に変換する量
子化手段と、 デジタル信号を処理してシンボルのコードデータを解読
するコード解読手段と、 このコード解読手段によるコ
ードデータの解読終了後にこのコードデータのコード種
別の履歴データを記憶する種別履歴記憶手段と、 この種別履歴記憶手段に記憶されたコード種別の履歴デ
ータの統計的結果に基づいて、複数個の前記撮像手段及
び前記量子化手段と前記コード解読手段とを制御してシ
ンボルの読取りを行う読取制御手段とを設けたことを特
徴とするシンボル読取装置。
1. A symbol reading apparatus comprising: an image pickup unit configured to receive reflected light from a symbol on a print medium and output an electric quantity corresponding to the amount of the received light, the image reading unit comprising: A plurality of quantization means are provided according to the code type of the symbol, are provided for each of the imaging means, process the imaging signals output from the corresponding imaging means and convert them into digital signals, and process the digital signals. Code decoding means for decoding the code data of the symbol; type history storage means for storing history data of the code type of the code data after the decoding of the code data by the code decoding means; Based on the statistical result of the history data of the code type, controlling the plurality of the imaging means and the quantization means and the code decoding means Symbol reading apparatus characterized by comprising a reading control means for reading the symbol.
【請求項2】 印刷媒体上のシンボルからの反射光を受
光し、その受光量に対応した電気量を出力する光電変換
素子から構成された撮像手段を備えたシンボル読取装置
において、 前記撮像手段として2次元的にイメージを読取るエリア
センサ及び1次元的にイメージを読取るラインセンサ
と、 前記エリアセンサから出力される撮像信号を処理してデ
ジタル信号に変換するエリア量子化手段及び前記ライン
センサから出力される撮像信号を処理してデジタル信号
に変換するライン量子化手段と、 デジタル信号を処理してシンボルのコードデータを解読
するコード解読手段と、 このコード解読手段によるコ
ードデータの解読終了後にこのコードデータのコード種
別の履歴データを記憶する種別履歴記憶手段と、 この種別履歴記憶手段に記憶されたコード種別の履歴デ
ータの統計的結果に基づいて前記エリアセンサ及びエリ
ア量子化手段と前記ラインセンサ及びライン量子化手段
と前記コード解読手段とを制御してシンボルの読取りを
行う読取制御手段とを設けたことを特徴とするシンボル
読取装置。
2. A symbol reading apparatus comprising: an image pickup unit configured to receive reflected light from a symbol on a print medium and output an electric quantity corresponding to an amount of the received light. An area sensor that reads a two-dimensional image and a line sensor that reads a one-dimensional image; an area quantization unit that processes an imaging signal output from the area sensor to convert it into a digital signal; Line quantizing means for processing an image signal to be converted into a digital signal, code decoding means for processing a digital signal to decode code data of a symbol, and code data after the code data has been decoded by the code decoding means. Type history storage means for storing history data of a code type of A reading control unit that reads a symbol by controlling the area sensor and the area quantization unit, the line sensor and the line quantization unit, and the code decoding unit based on a statistical result of the history data of the code type; A symbol reading device.
【請求項3】 音声を電子的に生成する音声合成手段
と、 前記種別履歴記憶手段に記憶したコード種別を前記音声
合成手段による音声出力により報知する種別音声報知手
段と、 この種別音声報知手段による音声報知の後で再読取動作
を指示するリセット入力手段と、 このリセット入力手段による再読取動作指示に基づい
て、前記種別履歴記憶手段に記憶された内容を今回の読
取りの前の状態に戻すと共に、次の読取りのコード種別
を再設定するリセット手段とを設けたことを特徴とする
請求項1及び請求項2のいずれか1項記載のシンボル読
取装置。
3. A voice synthesizing means for electronically generating voice, a type voice notifying means for notifying a code type stored in the type history storage means by a voice output by the voice synthesizing means, Reset input means for instructing a re-read operation after the voice notification; and, based on the re-read operation instruction by the reset input means, returning the contents stored in the type history storage means to a state before the current read. 3. The symbol reading device according to claim 1, further comprising reset means for resetting the code type of the next reading.
【請求項4】 表示手段と、 前記種別履歴記憶手段に記憶したコード種別を前記表示
手段による表示により報知する種別表示報知手段と、 この種別表示報知手段による表示報知の後で再読取動作
を指示するリセット入力手段と、 このリセット入力手段による再読取動作指示に基づい
て、前記種別履歴記憶手段に記憶された内容を今回の読
取りの前の状態に戻すと共に、次の読取りのコード種別
を再設定するリセット手段とを設けたことを特徴とする
請求項1及び請求項2のいずれか1項記載のシンボル読
取装置。
4. A display means, a type display notifying means for notifying the code type stored in the type history storage means by display on the display means, and instructing a re-read operation after the display notification by the type display notifying means. Reset input means, based on a re-reading operation instruction by the reset input means, to return the contents stored in the type history storage means to the state before the current reading, and to reset the code type of the next reading 3. The symbol reading device according to claim 1, further comprising a reset unit that performs resetting.
【請求項5】 複数の通信仕様を実現可能にする通信仕
様実現手段と、 前記種別履歴記憶手段に記憶されたコード種別の履歴デ
ータの統計的結果に基づいて前記通信仕様実現手段を制
御する通信仕様制御手段とを設けたことを特徴とする請
求項1乃至請求項4のいずれか1項記載のシンボル読取
装置。
5. Communication specification realizing means for realizing a plurality of communication specifications, and communication for controlling said communication specification realizing means based on a statistical result of history data of a code type stored in said type history storage means. The symbol reading device according to any one of claims 1 to 4, further comprising specification control means.
【請求項6】 複数個の各撮像手段毎に、印刷媒体上の
シンボルを照明する照明手段及び前記シンボルからの反
射光を前記撮像手段に結像させる光学機構部を設け、 前記各照明手段及び各光学機構部はそれぞれ独立して照
明条件及び撮像条件を調整できる構成になっていること
を特徴とする請求項1乃至請求項5のいずれか1項記載
のシンボル読取装置。
6. An illumination unit for illuminating a symbol on a print medium and an optical mechanism for imaging reflected light from the symbol on the imaging unit are provided for each of the plurality of imaging units. The symbol reading device according to any one of claims 1 to 5, wherein each of the optical mechanism units is configured to be able to independently adjust an illumination condition and an imaging condition.
JP9141293A 1997-05-30 1997-05-30 Symbol reader Pending JPH10334172A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9141293A JPH10334172A (en) 1997-05-30 1997-05-30 Symbol reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9141293A JPH10334172A (en) 1997-05-30 1997-05-30 Symbol reader

Publications (1)

Publication Number Publication Date
JPH10334172A true JPH10334172A (en) 1998-12-18

Family

ID=15288522

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9141293A Pending JPH10334172A (en) 1997-05-30 1997-05-30 Symbol reader

Country Status (1)

Country Link
JP (1) JPH10334172A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006150700A (en) * 2004-11-26 2006-06-15 Sanwa Newtec Co Ltd Printing apparatus
US7426595B2 (en) 2004-03-09 2008-09-16 Nec Corporation Desktop holder and portable terminal system
US7654460B2 (en) 2001-10-05 2010-02-02 Datalogic Automation S.R.L. Optical reading apparatus
JP2013171573A (en) * 2012-02-23 2013-09-02 Denso Wave Inc Optical information reading device
JP2014207026A (en) * 2014-08-06 2014-10-30 カシオ計算機株式会社 Image processing apparatus and program
JP2016045895A (en) * 2014-08-26 2016-04-04 株式会社豊田中央研究所 Information reader

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7654460B2 (en) 2001-10-05 2010-02-02 Datalogic Automation S.R.L. Optical reading apparatus
US7426595B2 (en) 2004-03-09 2008-09-16 Nec Corporation Desktop holder and portable terminal system
JP2006150700A (en) * 2004-11-26 2006-06-15 Sanwa Newtec Co Ltd Printing apparatus
JP2013171573A (en) * 2012-02-23 2013-09-02 Denso Wave Inc Optical information reading device
JP2014207026A (en) * 2014-08-06 2014-10-30 カシオ計算機株式会社 Image processing apparatus and program
JP2016045895A (en) * 2014-08-26 2016-04-04 株式会社豊田中央研究所 Information reader

Similar Documents

Publication Publication Date Title
US9582696B2 (en) Imaging apparatus having imaging assembly
US8127992B2 (en) Optical reading device with programmable LED control
EP2249284B1 (en) Optical reader having partial frame operating mode
US5019699A (en) Hand-held optical character reader with means for instantaneously reading information from a predetermined area at an optical sensing area
US20140332590A1 (en) Indicia reading terminal processing plurality of frames of image data responsively to trigger signal activation
US20030062418A1 (en) Optical reader having partial frame operating mode
JPH0793459A (en) Two-dimensional code scanner
JPH087027A (en) Data symbol reader
US20120168508A1 (en) Indicia reading terminal having configurable operating characteristics
JPH10334172A (en) Symbol reader
JPH11312213A (en) Symbol reader
JPH11312211A (en) Symbol reader
JPH11312212A (en) Symbol reader
JPH11312214A (en) Symbol reader
JP4047452B2 (en) Handheld symbol reader
JPH11312210A (en) Symbol reader
JPH10334176A (en) Symbol reader
EP2000951A1 (en) Indicia reading terminal processing plurality of frames of image data responsively to trigger signal activation
US20060231628A1 (en) Barcode reader
JP3464743B2 (en) Code reader
JPH10334177A (en) Symbol reader
JPH10334173A (en) Two-dimensional code reader and two-dimensional code reader system
JP2781716B2 (en) Symbol reader
JPH10334175A (en) Symbol reader
JPH06139398A (en) Two-dimensional scanner