JPH0927005A - Data symbol reading device - Google Patents
Data symbol reading deviceInfo
- Publication number
- JPH0927005A JPH0927005A JP7199054A JP19905495A JPH0927005A JP H0927005 A JPH0927005 A JP H0927005A JP 7199054 A JP7199054 A JP 7199054A JP 19905495 A JP19905495 A JP 19905495A JP H0927005 A JPH0927005 A JP H0927005A
- Authority
- JP
- Japan
- Prior art keywords
- data symbol
- image
- dimensional
- reading
- sensor
- 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
Links
Abstract
(57)【要約】
【構成】データシンボル読み取り装置1は、ミラー、レ
ンズ46、ハーフミラー49、エリアセンサー43、ラ
インセンサー48、CCD駆動回路6、7、増幅回路
8、2値化回路10、メモリー12、制御手段15、光
源41、光源駆動回路42、通信用ドライバー16、切
換スイッチ18、トリガースイッチ14等により構成さ
れる。1次元のデータシンボル(バーコード)の読み取
りを行う第1のモードではラインセンサー48により撮
像し、2次元のデータシンボルの読み取りを行う第2の
モードではエリアセンサー43により撮像する。各セン
サー48、43からの画像信号は、信号処理され、デコ
ードされてホストコンピュータ17に送信される。
【効果】構成が簡易であり、画素数が比較的少ない撮像
素子を用いて、1次元および2次元のデータシンボルを
読み取ることができる。
(57) [Summary] [Constitution] The data symbol reading device 1 includes a mirror, a lens 46, a half mirror 49, an area sensor 43, a line sensor 48, CCD drive circuits 6 and 7, an amplifier circuit 8 and a binarization circuit 10. The memory 12, the control unit 15, the light source 41, the light source drive circuit 42, the communication driver 16, the changeover switch 18, the trigger switch 14, and the like. In the first mode in which the one-dimensional data symbol (bar code) is read, an image is taken by the line sensor 48, and in the second mode in which the two-dimensional data symbol is read, an image is taken by the area sensor 43. The image signals from the sensors 48 and 43 are signal-processed, decoded, and transmitted to the host computer 17. [Effect] The one-dimensional and two-dimensional data symbols can be read by using the image pickup device having a simple structure and a relatively small number of pixels.
Description
【0001】[0001]
【発明の属する技術分野】本発明は、例えば2次元デー
タシンボルのようなコード化された情報を読み取るデー
タシンボル読み取り装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data symbol reading device for reading coded information such as two-dimensional data symbols.
【0002】[0002]
【従来の技術】今日、例えばPOSシステム等に適用す
るために、商品情報をバーコード化し、バーコードリー
ダーにより読み取る方法、装置が普及している。しかし
ながら、バーコードの読み取りは、バーの配列方向に走
査を行って1次元的に読み取るものであり、情報量に限
界がある。2. Description of the Related Art Today, a method and apparatus for converting product information into a bar code and reading the bar code with a bar code reader are widely used for application to, for example, a POS system. However, the bar code is read one-dimensionally by scanning in the bar arrangement direction, and there is a limit to the amount of information.
【0003】そこで、近年、より多くの情報を担持し得
るものとして、例えば白黒のモザイクパターンが2次元
的に配列された2次元データシンボルと、これを読み取
るデータシンボル読み取り装置が開発されている。Therefore, in recent years, as a device capable of carrying more information, for example, a two-dimensional data symbol in which a black and white mosaic pattern is two-dimensionally arranged and a data symbol reading device for reading the two-dimensional data symbol have been developed.
【0004】このように、バーコードリーダーの他、2
次元データシンボルを読み取るデータシンボル読み取り
装置が開発されていることから、バーコードと、2次元
データシンボルとが混在する状況が予想され、このた
め、1つの装置で、バーコードおよび2次元データシン
ボルをそれぞれデコードし得るようにするのが望まし
い。Thus, in addition to the bar code reader, 2
Since a data symbol reading device for reading a two-dimensional data symbol has been developed, it is expected that a barcode and a two-dimensional data symbol will coexist. Therefore, one device can read a barcode and a two-dimensional data symbol. It is desirable to be able to decode each.
【0005】この場合、前記2次元データシンボルを読
み取るデータシンボル読み取り装置に撮像素子として用
いられているエリアセンサーにより、バーコードを撮像
し、その画像データを信号処理してデコードするよう構
成することが考えられる。In this case, a bar code may be imaged by an area sensor used as an image sensor in a data symbol reader for reading the two-dimensional data symbol, and the image data may be signal-processed and decoded. Conceivable.
【0006】しかしながら、一般にバーコードのバー配
列方向の幅は、2次元データシンボルの一辺の幅よりも
長く、分解能の低下から像倍率を減少させることができ
ないので、バーコードを読み取るためには、画素数が多
い大型のエリアセンサーを用いなければならない。この
ため、装置が高価となる。However, in general, the width of the bar code in the bar arrangement direction is longer than the width of one side of the two-dimensional data symbol, and the image magnification cannot be reduced due to the reduction in resolution. Therefore, in order to read the bar code, A large area sensor with many pixels must be used. Therefore, the device becomes expensive.
【0007】[0007]
【発明が解決しようとする課題】本発明の目的は、簡易
な構成で、かつ画素数が比較的少ない撮像素子を用い
て、1次元のデータシンボル(バーコード)と、2次元
のデータシンボルとを読み取ることが可能なデータシン
ボル読み取り装置を提供することにある。An object of the present invention is to provide a one-dimensional data symbol (bar code) and a two-dimensional data symbol by using an image pickup device having a simple structure and a relatively small number of pixels. An object of the present invention is to provide a data symbol reading device capable of reading data.
【0008】[0008]
【課題を解決するための手段】このような目的は、下記
(1)〜(6)の本発明により達成される。This and other objects are achieved by the present invention which is defined below as (1) to (6).
【0009】(1) 1次元のデータシンボルおよび2
次元のデータシンボルを読み取ることが可能なデータシ
ンボル読み取り装置であって、前記1次元のデータシン
ボルを読み取るための第1の撮像素子と、前記2次元の
データシンボルを読み取るための第2の撮像素子と、前
記1次元または2次元のデータシンボルの像を前記第1
および第2の撮像素子の受光面へ結像させる光学系とを
有することを特徴とするデータシンボル読み取り装置。(1) One-dimensional data symbol and two
A data symbol reading device capable of reading a two-dimensional data symbol, comprising: a first image sensor for reading the one-dimensional data symbol; and a second image sensor for reading the two-dimensional data symbol. And an image of the one-dimensional or two-dimensional data symbol
And an optical system for forming an image on the light receiving surface of the second image sensor, the data symbol reading device.
【0010】(2) 前記光学系は、前記第1の撮像素
子への光路と、前記第2の撮像素子への光路とに分割す
る光学部品を有する上記(1)に記載のデータシンボル
読み取り装置。(2) The data symbol reading device according to (1), wherein the optical system has an optical component that divides an optical path to the first image sensor and an optical path to the second image sensor. .
【0011】(3) 前記光学系は、前記1次元または
2次元のデータシンボルの像を前記第1の撮像素子の受
光面へ結像させるとともに、該第1の撮像素子に結像す
る像の倍率を設定する第1の結像光学系と、前記第1の
結像光学系と一部を共有し、前記1次元または2次元の
データシンボルの像を前記第2の撮像素子の受光面へ結
像させるとともに、該第2の撮像素子に結像する像の倍
率を設定する第2の結像光学系とを有する上記(2)に
記載のデータシンボル読み取り装置。(3) The optical system forms an image of the one-dimensional or two-dimensional data symbol on the light receiving surface of the first image sensor, and at the same time, forms an image of the image formed on the first image sensor. A part of the first imaging optical system that sets the magnification is shared with the first imaging optical system, and the image of the one-dimensional or two-dimensional data symbol is transferred to the light-receiving surface of the second image sensor. The data symbol reading device according to (2), further comprising: a second image forming optical system that forms an image and sets the magnification of the image formed on the second image sensor.
【0012】(4) 前記第1の撮像素子はラインセン
サーであり、前記第2の撮像素子はエリアセンサーであ
る上記(1)ないし(3)のいずれかに記載のデータシ
ンボル読み取り装置。(4) The data symbol reading device according to any one of (1) to (3), wherein the first image sensor is a line sensor and the second image sensor is an area sensor.
【0013】(5) 前記1次元のデータシンボルの読
み取りを行う第1のモードまたは前記2次元のデータシ
ンボルの読み取りを行う第2のモードのいずれかを設定
するモード設定手段を有し、前記モード設定手段により
設定されたモードに従って、前記1次元または2次元の
データシンボルの読み取りを行う上記(1)ないし
(4)のいずれかに記載のデータシンボル読み取り装
置。(5) Mode setting means for setting either the first mode for reading the one-dimensional data symbol or the second mode for reading the two-dimensional data symbol is provided. The data symbol reading device according to any one of (1) to (4) above, which reads the one-dimensional or two-dimensional data symbol according to the mode set by the setting means.
【0014】(6) 撮像されたデータシンボルが前記
1次元のデータシンボルまたは前記2次元のデータシン
ボルのいずれであるかを判別する判別手段と、前記判別
手段により判別されたデータシンボルの次元に応じてデ
ータシンボルが表わす情報の解読動作を切り換える切換
手段とを有する上記(1)ないし(5)のいずれかに記
載のデータシンボル読み取り装置。(6) Depending on the discriminating means for discriminating whether the imaged data symbol is the one-dimensional data symbol or the two-dimensional data symbol, and the dimension of the data symbol discriminated by the discriminating means. A data symbol reading device according to any one of (1) to (5) above, which further comprises a switching means for switching the decoding operation of the information represented by the data symbol.
【0015】[0015]
【発明の実施の形態】以下、本発明のデータシンボル読
み取り装置を添付図面に示す好適実施例に基づいて詳細
に説明する。図1は、本発明のデータシンボル読み取り
装置の第1実施例を示す斜視図、図2は、図1に示すデ
ータシンボル読み取り装置の断面側面図、図3および図
4は、図1に示すデータシンボル読み取り装置における
筐体の底面図、図5は、図1に示すデータシンボル読み
取り装置の回路構成を示すブロック図である。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, a data symbol reading device according to the present invention will be described in detail based on a preferred embodiment shown in the accompanying drawings. 1 is a perspective view showing a first embodiment of a data symbol reading device of the present invention, FIG. 2 is a sectional side view of the data symbol reading device shown in FIG. 1, and FIGS. 3 and 4 are data showing the data shown in FIG. FIG. 5 is a bottom view of a housing of the symbol reading device, and FIG. 5 is a block diagram showing a circuit configuration of the data symbol reading device shown in FIG.
【0016】これらの図に示すように、本発明のデータ
シンボル読み取り装置1は、手で把持する縦長の把持部
21とその先端側に形成されたL字状のヘッド部22と
で構成されたケーシング2を有しており、把持部21内
には、後述する信号処理回路5、光源駆動回路42およ
び通信用ドライバー16が収納され、ヘッド部22内に
は、シンボル読み取り領域34および36からの光を受
光する読み取り部4が収納されている。また、ケーシン
グ2の片方の側部には、読み取り部4による読み取り動
作を開始させるトリガースイッチ14と、バーコード
(1次元のデータシンボル)の読み取りを行う第1のモ
ード(1次元のデータシンボル読み取りモード)と2次
元のデータシンボルの読み取りを行う第2のモード(2
次元のデータシンボル読み取りモード)とを切り換える
切換スイッチ18とが設置されている。As shown in these figures, the data symbol reading device 1 of the present invention is composed of a vertically long grip portion 21 to be gripped by hand and an L-shaped head portion 22 formed on the tip side thereof. It has a casing 2, and a signal processing circuit 5, a light source drive circuit 42 and a communication driver 16 which will be described later are accommodated in the grip portion 21, and a head portion 22 is provided with a light source driving circuit 42 and a communication driver 16. A reading unit 4 that receives light is stored. Further, on one side of the casing 2, a trigger switch 14 for starting the reading operation by the reading unit 4 and a first mode for reading a barcode (one-dimensional data symbol) (one-dimensional data symbol reading) Mode) and the second mode (2
And a changeover switch 18 for switching between the dimensional data symbol reading mode).
【0017】読み取り部4は、シンボル読み取り領域3
4および36を照明する一対の光源(照明装置)41
と、第1の撮像素子であるラインセンサー(CCD(ch
arge coupled device ))48と、第2の撮像素子であ
るエリアセンサー(CCD)43と、シンボル読み取り
領域34からの光(本実施例では反射光)をラインセン
サー48の受光面に結像するように導き、かつ、シンボ
ル読み取り領域36からの光(本実施例では反射光)を
エリアセンサー43の受光面に結像するように導く光学
系44と、これらを支持する図示しない支持部材とで構
成されている。The reading section 4 includes a symbol reading area 3
A pair of light sources (illuminators) 41 that illuminate 4 and 36.
And a line sensor (CCD (ch
arge coupled device)) 48, the area sensor (CCD) 43 that is the second image sensor, and the light (reflected light in this embodiment) from the symbol reading area 34 is focused on the light receiving surface of the line sensor 48. And an optical system 44 that guides the light (reflected light in this embodiment) from the symbol reading area 36 to form an image on the light receiving surface of the area sensor 43, and a support member (not shown) that supports these. Has been done.
【0018】光学系44は、シンボル読み取り領域34
および36からの反射光の光路47をほぼ直角方向に屈
曲するミラー45と、ミラー45で反射された光をエリ
アセンサー43およびラインセンサー48の受光面に結
像させるレンズ(またはレンズ群)46と、光路47を
エリアセンサー43への光路とラインセンサー48への
光路とに分割するハーフミラー49とで構成されてい
る。なお、ハーフミラー49を透過した光は、エリアセ
ンサー43の受光面に結像し、ハーフミラー49で反射
した光は、ラインセンサー48の受光面に結像する。The optical system 44 includes a symbol reading area 34.
And a mirror 45 that bends an optical path 47 of reflected light from the light beams 36 and 36 in a substantially right-angle direction, and a lens (or lens group) 46 that forms an image of the light reflected by the mirror 45 on the light receiving surfaces of the area sensor 43 and the line sensor 48. , A half mirror 49 that divides the optical path 47 into an optical path to the area sensor 43 and an optical path to the line sensor 48. The light transmitted through the half mirror 49 forms an image on the light receiving surface of the area sensor 43, and the light reflected by the half mirror 49 forms an image on the light receiving surface of the line sensor 48.
【0019】両光源41は、ヘッド部22内の図2中側
方に光路47を介してほぼ対称に設置されている。光源
41としては、例えばLEDのような発光素子、ハロゲ
ンランプ等を用いることができる。なお、光源41の発
光側には、シンボル読み取り領域36上の輝度をより均
一にするために、粗面を有する拡散板(図示せず)が設
置されている。このような光源41には、これを点灯す
る光源駆動回路42が接続されている。The two light sources 41 are installed substantially symmetrically in the head portion 22 in the lateral direction of FIG. As the light source 41, for example, a light emitting element such as an LED or a halogen lamp can be used. A diffuser plate (not shown) having a rough surface is provided on the light emitting side of the light source 41 in order to make the brightness on the symbol reading area 36 more uniform. A light source drive circuit 42 for lighting the light source 41 is connected to the light source 41.
【0020】エリアセンサー43では、多数のフォトダ
イオード画素が行列状に配置され、各画素のそれぞれが
受光した光の光量に応じた電荷を蓄積し、この電荷を所
定時に順次転送するように構成されている。この転送さ
れた電荷は、読み取られた画像の画像信号を構成する。In the area sensor 43, a large number of photodiode pixels are arranged in a matrix, and charges are accumulated in accordance with the amount of light received by each pixel, and the charges are sequentially transferred at a predetermined time. ing. The transferred charges form the image signal of the read image.
【0021】また、ラインセンサー48では、多数のフ
ォトダイオード画素がライン状に配置され、各画素のそ
れぞれが受光した光の光量に応じた電荷を蓄積し、この
電荷を所定時に順次転送するように構成されている。こ
の転送された電荷は、読み取られた画像の画像信号を構
成する。In the line sensor 48, a large number of photodiode pixels are arranged in a line, and charges corresponding to the amount of light received by each pixel are accumulated, and the charges are sequentially transferred at a predetermined time. It is configured. The transferred charges form the image signal of the read image.
【0022】シンボル読み取り領域36は、読み取り面
(データシンボル38が位置する面(基準面))37上
に形成される本装置固有の領域であって、光源41によ
る光の照射がなされ、かつその反射光をエリアセンサー
43により受光し、データを読み取ることができる領域
である。The symbol reading area 36 is an area peculiar to the present device formed on the reading surface (the surface (reference surface) on which the data symbols 38 are located) 37, and is irradiated with light by the light source 41 and This is an area where the area sensor 43 can receive the reflected light and read the data.
【0023】シンボル読み取り領域34は、読み取り面
(バーコード35が位置する面(基準面))37上に形
成される本装置固有の領域であって、光源41による光
の照射がなされ、かつその反射光をラインセンサー48
により受光し、データを読み取ることができる領域であ
る。The symbol reading area 34 is an area peculiar to the present device formed on the reading surface (the surface (reference surface) on which the bar code 35 is located) 37, which is illuminated by the light source 41 and Line sensor 48 for reflected light
This is an area where light can be received and the data can be read.
【0024】本実施例では、図3に示すように、データ
シンボル(シンボルコード)(2次元のデータシンボ
ル)38は、x行×y列(x、yは、それぞれ2以上の
整数)に配列された黒色または白色(または透明)のモ
ザイク(セル)で構成されている。このモザイクの黒色
または白色は、例えば2進法における0または1を表
し、この組み合わせにより所望の情報が特定される。In this embodiment, as shown in FIG. 3, data symbols (symbol codes) (two-dimensional data symbols) 38 are arranged in x rows × y columns (x and y are integers of 2 or more, respectively). Black or white (or transparent) mosaic (cell). The black or white of this mosaic represents, for example, 0 or 1 in a binary system, and desired information is specified by this combination.
【0025】また、本実施例では、図4に示すように、
バーコード(1次元のデータシンボル)35は、一方向
(図4中上下方向)に配列された幅が異なる黒色のバー
と、幅が異なる白色のスペースとの組み合わせにより構
成されている。このバーの黒色とスペースの白色、およ
びそれぞれの幅の組み合わせにより、0と1の組み合わ
せからなる一連の2進数の情報が特定される。なお、バ
ーコード35の一端には、所定間隙を介して配置された
一対の黒色バー352、352からなるスタートシンボ
ル351が設けられ、他端には、所定間隙を介して配置
された一対の黒色バー354、354からなるストップ
シンボル353が設けられている。データシンボル38
およびバーコード35は、それぞれ、図示のような構成
のものに限定されないことは、言うまでもない。Further, in this embodiment, as shown in FIG.
The barcode (one-dimensional data symbol) 35 is configured by a combination of black bars having different widths arranged in one direction (vertical direction in FIG. 4) and white spaces having different widths. The combination of the black color of the bar and the white color of the space, and the width of each, specifies a series of binary information consisting of a combination of 0s and 1s. A start symbol 351 composed of a pair of black bars 352, 352 arranged with a predetermined gap is provided at one end of the barcode 35, and a pair of black bars arranged with a predetermined gap at the other end. A stop symbol 353 including bars 354 and 354 is provided. Data symbol 38
It goes without saying that the barcode 35 and the barcode 35 are not limited to those shown in the drawings.
【0026】以上のように構成された読み取り部4にお
いて、光源駆動回路42の作動により光源41が点灯し
て両光源41から発せられた光は、シンボル読み取り領
域34および36に照射され、その反射光が光学系44
を介してエリアセンサー43およびラインセンサー48
の受光面上に結像され、この受光光量に応じた画像信号
(アナログ信号)が出力される。In the reading unit 4 constructed as described above, the light source 41 is turned on by the operation of the light source drive circuit 42, and the light emitted from both the light sources 41 is applied to the symbol reading areas 34 and 36 and reflected. Light is optical system 44
Via the area sensor 43 and the line sensor 48
An image signal (analog signal) corresponding to the amount of received light is formed on the light receiving surface of the.
【0027】ケーシング2のヘッド部22は、読み取り
部4をシンボル読み取り領域36および34から所定の
距離(光路長)に保つための、すなわち、シンボル読み
取り領域36上に置かれたデータシンボル38の像を光
学系44によりエリアセンサー43の受光面に結像させ
る距離と、シンボル読み取り領域34上に置かれたバー
コード35の像を光学系44によりラインセンサー48
の受光面に結像させる距離とをそれぞれ規定するための
ガイド部材として、読み取り部4からシンボル読み取り
領域36および34側へ延長された筐体3を有してい
る。この筐体3は、光源41からの照明光の光路および
シンボル読み取り領域36および34からの反射光の光
路47をほぼ囲むように構成されており、そのシンボル
読み取り領域36および34と平行な断面(横断面)
は、四角形をなしている。The head portion 22 of the casing 2 keeps the reading portion 4 at a predetermined distance (optical path length) from the symbol reading areas 36 and 34, that is, an image of the data symbol 38 placed on the symbol reading area 36. The optical system 44 forms an image on the light receiving surface of the area sensor 43, and the image of the bar code 35 placed on the symbol reading area 34 is formed by the optical system 44.
The casing 3 extending from the reading unit 4 to the symbol reading regions 36 and 34 is provided as a guide member for defining the distance to form an image on the light receiving surface of each. The housing 3 is configured to substantially surround the optical path of the illumination light from the light source 41 and the optical path 47 of the reflected light from the symbol reading areas 36 and 34, and a cross section (parallel to the symbol reading areas 36 and 34 ( Cross section)
Has a square shape.
【0028】また、筐体3は、その先端が読み取り面3
7に当接したとき、シンボル読み取り領域36および3
4からの光がそれぞれ光学系44によりエリアセンサー
43およびラインセンサー48の受光面に結像するよう
な長さに設定されている。なお、筐体3の先端には、矩
形の先端開口31が形成されている。The housing 3 has a reading surface 3 at its tip.
When touching 7, the symbol reading areas 36 and 3
The lengths are set so that the lights from 4 are focused on the light receiving surfaces of the area sensor 43 and the line sensor 48 by the optical system 44, respectively. A rectangular tip opening 31 is formed at the tip of the housing 3.
【0029】さて、データシンボル読み取り装置1にお
いて、ケーシング2内には、読み取り部4からの画像信
号を処理する信号処理回路5が、例えばプリント基板上
に設けられている。図5に示すように、この信号処理回
路5は、主に、CCD駆動回路6、7、増幅回路8、2
値化回路10、メモリー12、制御手段(CPU)15
およびこれらの電気接続ラインで構成されている。In the data symbol reading apparatus 1, a signal processing circuit 5 for processing an image signal from the reading unit 4 is provided inside the casing 2 on, for example, a printed circuit board. As shown in FIG. 5, the signal processing circuit 5 is mainly composed of CCD drive circuits 6 and 7, amplification circuits 8 and 2.
Thresholding circuit 10, memory 12, control means (CPU) 15
And these electrical connection lines.
【0030】また、制御手段15には、光源駆動回路4
2、通信用ドライバー16、切換スイッチ18、トリガ
ースイッチ14および電源スイッチ(メインスイッチ)
等のスイッチ回路13がそれぞれ接続され、さらに、必
要に応じ、LED(発光素子)、LCD(液晶表示素
子)またはCRTのような表示装置(図示せず)等が接
続されている。Further, the control means 15 includes the light source drive circuit 4
2, communication driver 16, changeover switch 18, trigger switch 14 and power switch (main switch)
The switch circuits 13 such as the above are connected to each other, and further, a display device (not shown) such as an LED (light emitting element), an LCD (liquid crystal display element) or a CRT is connected, if necessary.
【0031】なお、バーコード(1次元のデータシンボ
ル)の読み取りを行う第1のモードまたは2次元のデー
タシンボルの読み取りを行う第2のモードのいずれかを
設定するモード設定手段と、データシンボルの次元に応
じてデータシンボルが表わす情報の解読動作を切り換え
る切換手段の主機能は、それぞれ前記制御手段15によ
り達成される。In addition, a mode setting means for setting either the first mode for reading a barcode (one-dimensional data symbol) or the second mode for reading a two-dimensional data symbol, and the data symbol The main function of the switching means for switching the decoding operation of the information represented by the data symbol according to the dimension is achieved by the control means 15, respectively.
【0032】次に、データシンボル読み取り装置1の動
作を説明する。この場合、まず、概要を説明する。デー
タシンボル読み取り装置1において、切換スイッチ18
をオンとすると、バーコード(1次元のデータシンボ
ル)の読み取りを行う第1のモードに設定され、切換ス
イッチ18をオフとすると、2次元のデータシンボルの
読み取りを行う第2のモードに設定される。Next, the operation of the data symbol reading device 1 will be described. In this case, first, an outline will be described. In the data symbol reading device 1, the changeover switch 18
Is turned on, the first mode for reading a barcode (one-dimensional data symbol) is set. When the changeover switch 18 is turned off, the second mode for reading a two-dimensional data symbol is set. It
【0033】第2のモードにおいて、トリガースイッチ
14をオンとすると、エリアセンサー43により撮像が
行われ、第1のモードにおいて、トリガースイッチ14
をオンとすると、ラインセンサー48により撮像が行わ
れる。信号処理回路5では、それぞれ、後述するように
所定の信号処理が行われる。この信号処理回路5にて処
理された信号は、必要なデータにデコードされた後、通
信用ドライバー16により、外部に設置された例えばパ
ソコンやワークステーションのようなホストコンピュー
タ17に入力される。このようなホストコンピュータ1
7においては、入力されたデータの格納および集計等が
行われる。When the trigger switch 14 is turned on in the second mode, the area sensor 43 captures an image, and in the first mode, the trigger switch 14 is turned on.
When is turned on, the line sensor 48 captures an image. The signal processing circuit 5 performs predetermined signal processing as described later. The signal processed by the signal processing circuit 5 is decoded into necessary data and then input by a communication driver 16 to a host computer 17 such as a personal computer or a workstation installed outside. Such a host computer 1
In 7, the input data is stored and tabulated.
【0034】光源駆動回路42は、光源41に電力を供
給して点灯する回路であり、その作動は、制御手段15
により制御される。前記電源スイッチあるいはトリガー
スイッチ14のオンにより、制御手段15は、光源駆動
回路42を作動させ、これにより光源41が点灯する。
ここで、光源41の点灯時間は、光源駆動回路42によ
り所望に設定されている。The light source drive circuit 42 is a circuit for supplying electric power to the light source 41 to turn it on, and its operation is controlled by the control means 15.
Is controlled by When the power switch or the trigger switch 14 is turned on, the control means 15 activates the light source drive circuit 42, whereby the light source 41 is turned on.
Here, the lighting time of the light source 41 is set as desired by the light source drive circuit 42.
【0035】また、電源スイッチのオンによって、制御
手段15は、CCD駆動回路6および7をそれぞれ作動
させる。CCD駆動回路6および7からエリアセンサー
43およびラインセンサー48へは、それぞれの電荷転
送様式に対応したCCD転送クロック信号がそれぞれ供
給され、信号電荷の蓄積および転送動作が制御される。When the power switch is turned on, the control means 15 operates the CCD drive circuits 6 and 7, respectively. CCD transfer clock signals corresponding to the respective charge transfer modes are respectively supplied from the CCD drive circuits 6 and 7 to the area sensor 43 and the line sensor 48, and the accumulation and transfer operation of signal charges are controlled.
【0036】また、CCD駆動回路6では、クロック信
号を生成し、さらにこの信号に水平同期信号および垂直
同期信号を複合した信号(複合クロック信号)を制御手
段15へ送出する。Further, the CCD drive circuit 6 generates a clock signal and sends a signal (composite clock signal) obtained by combining this signal with a horizontal synchronizing signal and a vertical synchronizing signal to the control means 15.
【0037】第2のモードにおいて、読み取り部4のエ
リアセンサー43から順次出力される画像信号(アナロ
グ信号)は、増幅回路8により増幅され、図示しないA
/D変換器によりデジタル画像信号に変換されて2値化
回路10に入力される。なお、前記増幅回路8は、制御
手段15により制御されており、その増幅率は、モード
(第1のモードまたは第2のモード)に応じて所定値に
設定される。In the second mode, the image signals (analog signals) sequentially output from the area sensor 43 of the reading section 4 are amplified by the amplifier circuit 8 and are not shown in the figure.
It is converted into a digital image signal by the / D converter and input to the binarization circuit 10. The amplification circuit 8 is controlled by the control means 15, and its amplification factor is set to a predetermined value according to the mode (first mode or second mode).
【0038】2値化回路10では、デジタル画像信号が
しきい値データと比較されて2値化される。2値化回路
10より出力された2値化データは、制御手段15に内
蔵されているアドレスカウンタにより、メモリー12の
所定のアドレスに記憶される。このアドレスカウンタ
は、前記CCD駆動回路6から入力される複合クロック
信号によって駆動される。In the binarization circuit 10, the digital image signal is compared with the threshold data and binarized. The binarized data output from the binarization circuit 10 is stored in a predetermined address of the memory 12 by an address counter built in the control means 15. The address counter is driven by the composite clock signal input from the CCD drive circuit 6.
【0039】メモリー12からは、前記アドレスカウン
タに指定されたアドレス(メモリー12への記憶時とは
読み出し順序が逆の場合がある)に従って、データが順
次読み出され、1画面分のデータに対し、制御手段15
の演算部において、例えば、像の反転、輪郭検出(デー
タシンボル38に関する情報のみの抽出)、ドロップア
ウト補正、回転等の必要な画像処理を行い、さらに、制
御手段15に内蔵されるデコーダにて、2次元のデータ
シンボル38の体系に応じたデータにデコードする(デ
ータシンボル38が表わす情報の解読を行う)。このデ
コードされたデータ(デコードデータ)は、通信用ドラ
イバー16を介して、ホストコンピュータ17へ出力さ
れる。Data is sequentially read from the memory 12 in accordance with the address designated by the address counter (the reading order may be reverse to the one stored in the memory 12), and one screen worth of data is read. , Control means 15
In the calculation unit of, for example, necessary image processing such as image inversion, contour detection (extraction of information about the data symbol 38), dropout correction, rotation, etc. is performed, and further, by a decoder built in the control means 15. Data is decoded according to the system of the two-dimensional data symbol 38 (the information represented by the data symbol 38 is decoded). The decoded data (decoded data) is output to the host computer 17 via the communication driver 16.
【0040】また、第1のモードにおいて、読み取り部
4のラインセンサー48から順次出力される画像信号
(アナログ信号)は、増幅回路8により増幅され、図示
しないA/D変換器によりデジタル画像信号に変換され
て2値化回路10に入力される。In the first mode, the image signal (analog signal) sequentially output from the line sensor 48 of the reading section 4 is amplified by the amplifier circuit 8 and converted into a digital image signal by an A / D converter (not shown). It is converted and input to the binarization circuit 10.
【0041】そして、前述した第2のモードの場合と同
様に、デジタル画像信号は、2値化回路10で2値化さ
れ、その2値化データは、メモリー12の所定のアドレ
スに一旦記憶される。次いで、2値化データは、メモリ
ー12の所定のアドレスから読み出され、バーの配列方
向に沿った1ライン分(1画面分)のデータに対し、制
御手段15の演算部において、一定幅以上の白色領域を
マージン区間a、bとして検出するマージン区間検出等
の画像処理を経て、デコードすべき画像データの領域
(デコード領域c)を認識して、制御手段15に内蔵さ
れるデコーダにて、1次元のバーコード35の体系に応
じたデータにデコードする(バーコード35が表わす情
報の解読を行う)。このデコードされたデータ(デコー
ドデータ)は、通信用ドライバー16を介して、ホスト
コンピュータ17へ出力される。Then, as in the case of the above-mentioned second mode, the digital image signal is binarized by the binarizing circuit 10, and the binarized data is temporarily stored in a predetermined address of the memory 12. It Next, the binarized data is read from a predetermined address of the memory 12, and the data of one line (one screen) along the arrangement direction of the bars is equal to or more than a certain width in the arithmetic unit of the control means 15. Of the image data to be decoded (decoding area c) through image processing such as margin area detection for detecting the white areas of the above as the margin areas a and b, and the decoder built in the control means 15 The data is decoded according to the system of the one-dimensional barcode 35 (the information represented by the barcode 35 is decoded). The decoded data (decoded data) is output to the host computer 17 via the communication driver 16.
【0042】次に、データシンボル読み取り装置1の制
御手段15の制御動作について説明する。図6は、デー
タシンボル読み取り装置1の制御手段15の動作を示す
フローチャートである。以下、このフローチャートに基
づいて説明する。Next, the control operation of the control means 15 of the data symbol reading device 1 will be described. FIG. 6 is a flowchart showing the operation of the control means 15 of the data symbol reading device 1. Hereinafter, description will be made based on this flowchart.
【0043】トリガースイッチ14がオンすると、第2
のモードか否かを判断する(ステップ201)。ステッ
プ201において、第2のモードと判断した場合には、
エリアセンサー43により撮像を行う(ステップ20
2)。When the trigger switch 14 is turned on, the second
It is determined whether or not the mode (step 201). If it is determined in step 201 that the mode is the second mode,
Imaging is performed by the area sensor 43 (step 20)
2).
【0044】次いで、エリアセンサー43からの画像デ
ータ(画像信号)を2値化し、この2値化データ(2値
化信号)をメモリー12に書き込む(ステップ20
3)。次いで、前記2値化データに対して、前述した輪
郭検出等の所定の画像処理を行う(ステップ204)。
なお、データシンボル38は、その輪郭を判別し得るよ
うに4辺外周が黒色となっており、データシンボル38
の最外周の黒色の画素に対応する2値化データを追跡抽
出してデータシンボル38の輪郭を検出し、このデータ
シンボル38の輪郭を構成する黒色の画素によって囲ま
れる領域をデコード領域と認識する。Next, the image data (image signal) from the area sensor 43 is binarized, and this binarized data (binarized signal) is written in the memory 12 (step 20).
3). Then, the predetermined image processing such as the above-described contour detection is performed on the binarized data (step 204).
The data symbol 38 has a black outer periphery on four sides so that its contour can be discriminated.
Of the outermost periphery of the data symbol 38 is traced and extracted to detect the contour of the data symbol 38, and the area surrounded by the black pixels constituting the contour of the data symbol 38 is recognized as the decoding area. .
【0045】次いで、2次元の切り出しOKか否かを判
断する(ステップ205)。ステップ205では、デー
タシンボル38の最外周の黒色の画素に対応する2値化
データの追跡を行った結果、始点から1周して再び始点
に戻ることができた場合(データシンボル38の輪郭を
検出することができた場合)には、2次元の切り出しO
Kと判断し、追跡が途中で中断した場合および追跡を開
始することができなかった場合(データシンボル38の
輪郭を検出することができなかった場合)には、2次元
の切り出しエラー(NG)と判断する。Then, it is judged whether or not the two-dimensional cut-out is OK (step 205). In step 205, as a result of tracking the binarized data corresponding to the outermost black pixel of the data symbol 38, if it is possible to make one round from the starting point and return to the starting point (the outline of the data symbol 38 is If it can be detected), two-dimensional cutout O
If it is determined to be K and the tracking is interrupted halfway or if the tracking cannot be started (if the contour of the data symbol 38 cannot be detected), a two-dimensional cutout error (NG) is generated. To judge.
【0046】例えば、シンボル読み取り領域36にデー
タシンボル38が包含された状態で撮像した場合には、
2次元の切り出しOKと判断され、シンボル読み取り領
域36からデータシンボル38がはみ出した状態および
シンボル読み取り領域36内にデータシンボル38が全
くない状態で撮像した場合には、2次元の切り出しエラ
ーと判断される。For example, when an image is captured with the data symbol 38 included in the symbol reading area 36,
If it is determined that the two-dimensional cut-out is OK, and the image is taken with the data symbol 38 protruding from the symbol reading area 36 and with no data symbol 38 in the symbol reading area 36, it is judged that the two-dimensional cutting error has occurred. It
【0047】前記ステップ205において2次元の切り
出しOKと判断した場合には、切り出されたデコード領
域内の2値化データに対してデコード(データシンボル
38が表わす情報の解読)を行う(ステップ206)。If it is determined in step 205 that the two-dimensional cut-out is OK, the binarized data in the cut-out decoding area is decoded (the information represented by the data symbol 38 is decoded) (step 206). .
【0048】次いで、デコードOKか否かを判断する
(ステップ207)。ステップ207では、適正なデコ
ードデータが得られた場合には、デコードOKと判断
し、適正なデコードデータが得られない場合には、デコ
ードエラー(NG)と判断する。Then, it is judged whether the decoding is OK (step 207). In step 207, if proper decoded data is obtained, it is determined to be decoding OK, and if proper decoded data is not obtained, it is determined to be a decoding error (NG).
【0049】また、ステップ201において、第2のモ
ードではないと判断した場合、すなわち、第1のモード
と判断した場合には、ラインセンサー48により撮像を
行う(ステップ208)。If it is determined in step 201 that the mode is not the second mode, that is, if the mode is the first mode, the line sensor 48 captures an image (step 208).
【0050】次いで、ラインセンサー48からの画像デ
ータ(画像信号)を2値化し、この2値化データ(2値
化信号)をメモリー12に書き込む(ステップ20
9)。次いで、前記2値化データに対して、マージン区
間検出を行う(ステップ210)。Next, the image data (image signal) from the line sensor 48 is binarized, and this binarized data (binarized signal) is written in the memory 12 (step 20).
9). Then, margin interval detection is performed on the binarized data (step 210).
【0051】次いで、マージン区間が2つ以上存在して
いるか否か、すなわち、マージン区間が2つ以上検出さ
れたか否かを判断する(ステップ211)。ステップ2
11において、マージン区間が2つ以上検出されたと判
断した場合には、マージン区間とマージン区間とに挟ま
れた画像データ領域をデコード領域と認識し、そのデコ
ード領域内の2値化データに対してデコード(バーコー
ド35が表わす情報の解読)を行う(ステップ21
2)。Next, it is judged whether or not there are two or more margin sections, that is, whether or not two or more margin sections are detected (step 211). Step 2
In 11, when it is determined that two or more margin sections are detected, the image data area sandwiched between the margin sections is recognized as a decoding area, and the binarized data in the decoding area is recognized. Decoding (decoding the information represented by the bar code 35) is performed (step 21).
2).
【0052】次いで、デコードOKか否かを判断する
(ステップ213)。ステップ213では、適正なデコ
ードデータが得られた場合には、デコードOKと判断
し、適正なデコードデータが得られない場合には、デコ
ードエラー(NG)と判断する。Then, it is judged whether or not the decoding is OK (step 213). In step 213, if proper decoded data is obtained, it is determined to be decoding OK, and if proper decoded data is not obtained, it is determined to be a decoding error (NG).
【0053】前記ステップ205において2次元の切り
出しエラーと判断した場合、または、前記ステップ20
7においてデコードエラーと判断した場合には、所定の
エラー処理を行う(ステップ214)。なお、このエラ
ー処理では、例えば、NG表示を行う。When it is judged in the step 205 that there is a two-dimensional cutout error, or in the step 20
If it is determined that there is a decoding error in step 7, predetermined error processing is performed (step 214). In this error processing, for example, NG display is performed.
【0054】また、前記ステップ211においてマージ
ン区間が2つ以上検出されないと判断した場合、すなわ
ち、検出されたマージン区間の数が1つ以下であり、デ
コード領域を認識することができない場合、または、前
記ステップ213においてデコードエラーと判断した場
合には、所定のエラー処理を行う(ステップ215)。
なお、このエラー処理では、例えば、NG表示を行う。When it is determined in step 211 that two or more margin sections are not detected, that is, when the number of detected margin sections is one or less and the decoding area cannot be recognized, or When it is determined that there is a decoding error in step 213, predetermined error processing is performed (step 215).
In this error processing, for example, NG display is performed.
【0055】また、前記ステップ207においてデコー
ドOKと判断した場合、または、前記ステップ213に
おいてデコードOKと判断した場合には、デコードデー
タを通信用ドライバー16を介してホストコンピュータ
17へ送信(出力)する(ステップ216)。以上でこ
のプログラムは終了する。When it is determined that the decoding is OK in step 207 or when the decoding is determined to be OK in step 213, the decoded data is transmitted (output) to the host computer 17 via the communication driver 16. (Step 216). This is the end of this program.
【0056】このようにデータシンボル読み取り装置1
によれば、画素数が比較的少ないエリアセンサー43お
よびラインセンサー48を用いて、データシンボル38
と、バーコード35とを読み取ることができる。In this way, the data symbol reading device 1
According to the method, the area sensor 43 and the line sensor 48, which have a relatively small number of pixels, are used.
And the barcode 35 can be read.
【0057】また、ラインセンサーのみを用いたデータ
シンボル読み取り装置には、2次元のデータシンボルを
読み取るためのスキャン機構が設けられているが、デー
タシンボル読み取り装置1には、スキャン機構のような
可動部が設けられていない。このため、データシンボル
読み取り装置1は、前記ラインセンサーのみを用いたデ
ータシンボル読み取り装置に比べ、構成が簡易であり、
装置を小型化することができるとともに、耐衝撃性が高
い。Further, the data symbol reading device using only the line sensor is provided with a scanning mechanism for reading a two-dimensional data symbol, but the data symbol reading device 1 is movable like a scanning mechanism. No section is provided. Therefore, the data symbol reading device 1 has a simpler configuration than the data symbol reading device using only the line sensor.
The device can be downsized and has high impact resistance.
【0058】次に、本発明のデータシンボル読み取り装
置の第2実施例を説明する。なお、前述したデータシン
ボル読み取り装置1との共通点については説明を省略
し、相違点を説明する。図7は、本発明のデータシンボ
ル読み取り装置の第2実施例の回路構成を示すブロック
図である。Next, a second embodiment of the data symbol reading apparatus of the present invention will be described. The description of common points with the above-described data symbol reading device 1 will be omitted, and the differences will be described. FIG. 7 is a block diagram showing the circuit configuration of the second embodiment of the data symbol reading apparatus of the present invention.
【0059】データシンボル読み取り装置1aは、撮像
されたデータシンボルがバーコード(1次元のデータシ
ンボル)または2次元のデータシンボルのいずれである
かを判別する判別手段を有し、この判別手段により判別
されたデータシンボルの次元に応じて読み取りを行うよ
うになっている。本実施例における判別手段は、2次元
のデータシンボルの輪郭を検出できたか否かの判断と、
マージン区間を2つ以上検出することができたか否かの
判断とを行うもので、制御手段15により達成される。The data symbol reader 1a has a discriminating means for discriminating whether the imaged data symbol is a bar code (one-dimensional data symbol) or a two-dimensional data symbol. The reading is performed according to the dimension of the read data symbol. The determining means in the present embodiment determines whether or not the contour of the two-dimensional data symbol has been detected,
The control means 15 determines whether or not two or more margin sections can be detected.
【0060】図7に示すように、データシンボル読み取
り装置1aの構成は、切換スイッチ18が設けられてい
ない他は、前述したデータシンボル読み取り装置1と同
様であるので説明を省略する。As shown in FIG. 7, the configuration of the data symbol reading device 1a is the same as that of the data symbol reading device 1 described above except that the changeover switch 18 is not provided, and therefore the description thereof is omitted.
【0061】次に、データシンボル読み取り装置1aの
制御手段15の制御動作について説明する。図8は、デ
ータシンボル読み取り装置1aの制御手段15の動作を
示すフローチャートである。以下、このフローチャート
に基づいて説明する。Next, the control operation of the control means 15 of the data symbol reading device 1a will be described. FIG. 8 is a flowchart showing the operation of the control means 15 of the data symbol reading device 1a. Hereinafter, description will be made based on this flowchart.
【0062】トリガースイッチ14がオンすると、第1
のモードに設定し、ラインセンサー48により撮像を行
う(ステップ301)。次いで、ラインセンサー48か
らの画像データ(画像信号)を2値化し、この2値化デ
ータ(2値化信号)をメモリー12に書き込む(ステッ
プ302)。When the trigger switch 14 is turned on, the first
Then, the line sensor 48 captures an image (step 301). Next, the image data (image signal) from the line sensor 48 is binarized, and this binarized data (binarized signal) is written in the memory 12 (step 302).
【0063】次いで、前記2値化データに対して、マー
ジン区間検出を行う(ステップ303)。次いで、マー
ジン区間が2つ以上存在しているか否か、すなわち、マ
ージン区間が2つ以上検出されたか否かを判断する(ス
テップ304)。Then, a margin section is detected for the binarized data (step 303). Next, it is determined whether there are two or more margin sections, that is, whether two or more margin sections are detected (step 304).
【0064】ステップ304において、マージン区間が
2つ以上検出されたと判断した場合には、マージン区間
とマージン区間とに挟まれた画像データ領域をデコード
領域と認識し、そのデコード領域内の2値化データに対
してデコード(バーコード35が表わす情報の解読)を
行う(ステップ305)。If it is determined in step 304 that two or more margin sections have been detected, the image data area sandwiched between the margin sections is recognized as a decoding area, and the binarization in the decoding area is performed. The data is decoded (the information represented by the barcode 35 is decoded) (step 305).
【0065】次いで、デコードOKか否かを判断する
(ステップ306)。また、ステップ304において、
マージン区間が2つ以上検出されないと判断した場合、
すなわち、検出されたマージン区間の数が1つ以下であ
り、デコード領域を認識することができない場合、また
は、ステップ306においてデコードエラーと判断した
場合には、第2のモードに設定し、エリアセンサー43
により撮像を行う(ステップ307)。Then, it is judged whether or not the decoding is OK (step 306). Also, in step 304,
If it is determined that two or more margin sections are not detected,
That is, when the number of detected margin sections is one or less and the decoding area cannot be recognized, or when it is determined that there is a decoding error in step 306, the second mode is set and the area sensor is set. 43
The image is picked up by (step 307).
【0066】次いで、エリアセンサー43からの画像デ
ータ(画像信号)を2値化し、この2値化データ(2値
化信号)をメモリー12に書き込む(ステップ30
8)。次いで、前記2値化データに対して、前述した輪
郭検出等の所定の画像処理を行う(ステップ309)。Next, the image data (image signal) from the area sensor 43 is binarized, and this binarized data (binarized signal) is written in the memory 12 (step 30).
8). Next, the predetermined image processing such as the above-described contour detection is performed on the binarized data (step 309).
【0067】次いで、2次元の切り出しOKか否かを判
断する(ステップ310)。ステップ310では、例え
ば、シンボル読み取り領域36にデータシンボル38が
包含された状態で撮像した場合には、2次元の切り出し
OKと判断され、シンボル読み取り領域36からデータ
シンボル38がはみ出した状態およびシンボル読み取り
領域36内にデータシンボル38が全くない状態で撮像
した場合には、2次元の切り出しエラーと判断される。Then, it is judged whether or not the two-dimensional cut-out is OK (step 310). In step 310, for example, when the image is taken in a state where the data symbol 38 is included in the symbol reading area 36, it is determined that the two-dimensional cutout is OK, and the state where the data symbol 38 protrudes from the symbol reading area 36 and the symbol reading are performed. If an image is captured with no data symbol 38 in the area 36, it is determined as a two-dimensional cutout error.
【0068】前記ステップ310において2次元の切り
出しOKと判断した場合には、切り出されたデコード領
域内の2値化データに対してデコード(データシンボル
38が表わす情報の解読)を行う(ステップ311)。When it is judged in step 310 that the two-dimensional cut-out is OK, the binarized data in the cut-out decode area is decoded (the information represented by the data symbol 38 is decoded) (step 311). .
【0069】次いで、デコードOKか否かを判断する
(ステップ312)。また、前記ステップ310におい
て2次元の切り出しエラーと判断した場合、または、前
記ステップ312においてデコードエラーと判断した場
合には、所定のエラー処理を行う(ステップ313)。Next, it is judged whether the decoding is OK (step 312). If it is determined in step 310 that there is a two-dimensional cutout error, or if it is determined in step 312 that it is a decode error, a predetermined error process is performed (step 313).
【0070】また、前記ステップ306においてデコー
ドOKと判断した場合、または、前記ステップ312に
おいてデコードOKと判断した場合には、デコードデー
タを通信用ドライバー16を介してホストコンピュータ
17へ送信(出力)する(ステップ314)。以上でこ
のプログラムは終了する。When it is determined that the decoding is OK in step 306 or when the decoding is determined to be OK in step 312, the decoded data is transmitted (output) to the host computer 17 via the communication driver 16. (Step 314). This is the end of this program.
【0071】このように、データシンボル読み取り装置
1aによれば、前述したデータシンボル読み取り装置1
と同様に、画素数が比較的少ないエリアセンサー43お
よびラインセンサー48を用いて、データシンボル38
と、バーコード35とを読み取ることができ、また、ラ
インセンサーのみを用いたデータシンボル読み取り装置
に比べ、構成が簡易であり、装置を小型化することがで
きるとともに、耐衝撃性が高い。As described above, according to the data symbol reading device 1a, the data symbol reading device 1 described above is used.
Similarly, the area sensor 43 and the line sensor 48 having a relatively small number of pixels are used to generate the data symbol 38.
And the barcode 35 can be read, and the configuration is simple as compared with the data symbol reading device using only the line sensor, the device can be downsized, and the shock resistance is high.
【0072】また、データシンボル読み取り装置1a
は、データシンボル38と、バーコード35とを判別す
る機能を有しており、その判別結果に基づいて自動的に
モードを切り換えて読み取りを行うので、手動でモード
の切り換えを行うデータシンボル読み取り装置に比べ、
操作が簡略化するとともに、適正かつ確実にデータシン
ボル38やバーコード35を読み取ることができる。Further, the data symbol reading device 1a
Has a function of discriminating between the data symbol 38 and the bar code 35, and the mode is automatically switched and read based on the discrimination result. Therefore, the data symbol reader for manually switching the mode compared to,
The operation is simplified, and the data symbol 38 and the barcode 35 can be read properly and reliably.
【0073】次に、本発明のデータシンボル読み取り装
置の第3実施例を説明する。なお、前述したデータシン
ボル読み取り装置1との共通点については説明を省略
し、相違点を説明する。Next, a third embodiment of the data symbol reading apparatus of the present invention will be described. The description of common points with the above-described data symbol reading device 1 will be omitted, and the differences will be described.
【0074】図9は、本発明のデータシンボル読み取り
装置の第3実施例を示す断面側面図である。同図に示す
ように、データシンボル読み取り装置1bでは、ハーフ
ミラー49とラインセンサー48の間の光路上に、レン
ズ93と、このレンズ93を透過した光の光路をほぼ直
角方向に屈曲するミラー94とが設けられている。ま
た、ハーフミラー49とエリアセンサー43の間の光路
上に、レンズ92が設けられている。FIG. 9 is a sectional side view showing a third embodiment of the data symbol reading apparatus of the present invention. As shown in the figure, in the data symbol reading device 1b, on the optical path between the half mirror 49 and the line sensor 48, a lens 93 and a mirror 94 that bends the optical path of the light transmitted through the lens 93 in a substantially right-angled direction. And are provided. A lens 92 is provided on the optical path between the half mirror 49 and the area sensor 43.
【0075】この場合、レンズ91および93により、
バーコード35の像をラインセンサー48の受光面へ結
像させるとともに、ラインセンサー48に結像する像の
倍率(像倍率)を設定する第1の結像光学系が構成され
る。また、レンズ91および92により、データシンボ
ル38の像をエリアセンサー43の受光面へ結像させる
とともに、エリアセンサー43に結像する像の倍率を設
定する第2の結像光学系が構成される。In this case, by the lenses 91 and 93,
A first image forming optical system is formed which forms the image of the barcode 35 on the light receiving surface of the line sensor 48 and sets the magnification of the image formed on the line sensor 48 (image magnification). Further, the lenses 91 and 92 form a second image forming optical system that forms an image of the data symbol 38 on the light receiving surface of the area sensor 43 and sets the magnification of the image formed on the area sensor 43. .
【0076】なお、レンズ91、92および93は、そ
れぞれ、エリアセンサー43およびラインセンサー48
に結像する像の倍率が所定値になるように予め設定され
ている。The lenses 91, 92 and 93 are respectively provided in the area sensor 43 and the line sensor 48.
It is set in advance so that the magnification of the image formed on is a predetermined value.
【0077】ここで、前記「倍率」とは、「横倍率」、
すなわち、「像の寸法/物体(被写体)の寸法」をい
い、倍率を焦点距離で表わすと、倍率=焦点距離/(撮
影距離−焦点距離)となる。Here, the "magnification" means "lateral magnification",
That is, it refers to "image size / object (subject) size", and when the magnification is represented by the focal length, the magnification = focal length / (shooting distance-focal length).
【0078】このデータシンボル読み取り装置1bで
は、被写体が読み取り面37上に位置しているので、前
記撮影距離は一定となる。従って、データシンボル読み
取り装置1bにおける倍率設定は、第1の結像光学系お
よび第2の結像光学系それぞれの焦点距離(レンズ91
とレンズ93の合成焦点距離と、レンズ91とレンズ9
2の合成焦点距離)を適宜設定することである。In the data symbol reading device 1b, since the subject is located on the reading surface 37, the photographing distance is constant. Therefore, the magnification setting in the data symbol reading device 1b is performed by setting the focal length (lens 91) of each of the first image forming optical system and the second image forming optical system.
And the combined focal length of the lens 93, the lens 91 and the lens 9
2 composite focal length).
【0079】なお、レンズ91は、第1および第2の結
像光学系における共通のレンズであるので、このレンズ
91の焦点距離および焦点位置を考慮し、最終的に、ラ
インセンサー48およびエリアセンサー43に結像する
それぞれの像の倍率が所定の倍率となるようなレンズ9
2および93をそれぞれ選定、配置する。Since the lens 91 is a lens common to the first and second image forming optical systems, the line sensor 48 and the area sensor are finally taken into consideration in consideration of the focal length and the focal position of the lens 91. A lens 9 that allows the magnification of each image formed on the lens 43 to be a predetermined magnification.
2 and 93 are selected and arranged respectively.
【0080】以下、データシンボル読み取り装置1bの
構成およびその動作(制御手段15の制御動作等)は、
前述したデータシンボル読み取り装置1または1aと同
様であるので説明を省略する。Hereinafter, the configuration and operation of the data symbol reading device 1b (control operation of the control means 15, etc.) will be described.
Since it is the same as the data symbol reading device 1 or 1a described above, description thereof will be omitted.
【0081】データシンボル読み取り装置1bによれ
ば、前述したデータシンボル読み取り装置1および1a
と同様に、必要十分な画素数のエリアセンサー43およ
びラインセンサー48を用いて、データシンボル38
と、バーコード35とを読み取ることができ、装置を小
型化することができる。また、手動でモードの切り換え
を行うデータシンボル読み取り装置に比べ、操作が簡略
化し、適正かつ確実にデータシンボル38やバーコード
35を読み取ることができる。According to the data symbol reader 1b, the data symbol readers 1 and 1a described above are used.
In the same manner as above, by using the area sensor 43 and the line sensor 48 having a necessary and sufficient number of pixels, the data symbol 38
And the barcode 35 can be read, and the device can be downsized. In addition, the operation is simplified and the data symbol 38 and the barcode 35 can be read properly and surely as compared with the data symbol reading device that manually switches the mode.
【0082】また、データシンボル読み取り装置1bで
は、ラインセンサー48に結像する像の倍率を設定する
第1の結像光学系(レンズ91および93)と、エリア
センサー43に結像する像の倍率を設定する第2の結像
光学系(レンズ91および92)とが設けられているの
で、ラインセンサー48に結像する像、すなわちバーコ
ード35の像の倍率と、エリアセンサー43に結像する
像、すなわちデータシンボル38の像の倍率とをそれぞ
れ独立に設定することができる。In the data symbol reading device 1b, the first imaging optical system (lenses 91 and 93) for setting the magnification of the image formed on the line sensor 48 and the magnification of the image formed on the area sensor 43. Since the second image forming optical system (lenses 91 and 92) for setting is set, the image formed on the line sensor 48, that is, the magnification of the image of the barcode 35 and the area sensor 43 are formed. The image, that is, the magnification of the image of the data symbol 38 can be set independently of each other.
【0083】このため、例えば、シンボル読み取り領域
36および34の広さや長さ、すなわち、読み取りが可
能なデータシンボル38およびバーコード35の最大寸
法と、解像度との組み合わせを、エリアセンサー43お
よびラインセンサー48の寸法等も考慮して、データシ
ンボル38の読み取りと、バーコード35の読み取りと
でそれぞれ最適になるよう独立に設定することができ
る。Therefore, for example, the width and length of the symbol reading areas 36 and 34, that is, the maximum size of the readable data symbol 38 and the barcode 35 and the combination of the resolution and the area sensor 43 and the line sensor are used. In consideration of the size and the like of 48, the reading of the data symbol 38 and the reading of the barcode 35 can be set independently so as to be optimum.
【0084】また、例えば、レンズ93の倍率を比較的
小さく設定することにより、比較的画素数が少ないライ
ンセンサー48(寸法の小さいラインセンサー)を用い
ることができ、これにより、さらに装置を小型化するこ
とができる。以上、本発明のデータシンボル読み取り装
置を、図示の各実施例に基づいて説明したが、本発明は
これらに限定されるものではない。Further, for example, by setting the magnification of the lens 93 to a relatively small value, it is possible to use the line sensor 48 having a relatively small number of pixels (a line sensor having a small size), which further downsizes the apparatus. can do. The data symbol reading apparatus of the present invention has been described above based on the illustrated embodiments, but the present invention is not limited to these.
【0085】[0085]
【発明の効果】以上説明したように、本発明のデータシ
ンボル読み取り装置によれば、画素数が比較的少ない第
1の撮像素子(ラインセンサー)および第2の撮像素子
(エリアセンサー)を用いて、1次元のデータシンボル
(バーコード)と、2次元のデータシンボルとを読み取
ることができる。As described above, according to the data symbol reading apparatus of the present invention, the first image sensor (line sensor) and the second image sensor (area sensor) having a relatively small number of pixels are used. It is possible to read a one-dimensional data symbol (bar code) and a two-dimensional data symbol.
【0086】また、本発明のデータシンボル読み取り装
置は構成が簡易である。また、撮像されたデータシンボ
ルが1次元のデータシンボルまたは2次元のデータシン
ボルのいずれであるかを判別する判別手段を有し、この
判別手段により撮像されたデータシンボルの次元に応じ
てデータシンボルが表わす情報の解読を行う場合には、
第1のモードと、第2のモードとの切り換えを手動で行
うデータシンボル読み取り装置に比べ、操作が簡略化す
るとともに、適正かつ確実に読み取りを行うことができ
る。The data symbol reading apparatus of the present invention has a simple structure. The data symbol has a discriminating unit that discriminates whether the imaged data symbol is a one-dimensional data symbol or a two-dimensional data symbol, and the data symbol is determined according to the dimension of the data symbol imaged by the discriminating unit. When deciphering the information to represent,
Compared to a data symbol reading device that manually switches between the first mode and the second mode, the operation is simplified and proper and reliable reading can be performed.
【0087】また、1次元または2次元のデータシンボ
ルの像を第1の撮像素子の受光面へ結像させるととも
に、第1の撮像素子に結像する像の倍率を設定する第1
の結像光学系と、第1の結像光学系と一部を共有し、1
次元または2次元のデータシンボルの像を第2の撮像素
子の受光面へ結像させるとともに、第2の撮像素子に結
像する像の倍率を設定する第2の結像光学系とを有する
場合には、第1の撮像素子に結像する像、すなわち1次
元のデータシンボルの像の倍率と、第2の撮像素子に結
像する像、すなわち2次元のデータシンボルの像の倍率
とをそれぞれ独立に設定することができる。これによ
り、設計の幅が広がる。In addition, a first or two-dimensional data symbol image is formed on the light receiving surface of the first image sensor and the magnification of the image formed on the first image sensor is set.
Part of the first imaging optical system and the imaging optical system of
A two-dimensional or two-dimensional data symbol image is formed on the light receiving surface of the second image sensor, and a second imaging optical system for setting the magnification of the image formed on the second image sensor Is the magnification of the image formed on the first image sensor, that is, the magnification of the image of the one-dimensional data symbol, and the image formed on the second image sensor, that is, the magnification of the image of the two-dimensional data symbol. Can be set independently. This widens the range of design.
【図1】本発明のデータシンボル読み取り装置の第1実
施例を示す斜視図である。FIG. 1 is a perspective view showing a first embodiment of a data symbol reading device of the present invention.
【図2】図1に示すデータシンボル読み取り装置の断面
側面図である。FIG. 2 is a sectional side view of the data symbol reading device shown in FIG.
【図3】図1に示すデータシンボル読み取り装置におけ
る筐体の底面図である。FIG. 3 is a bottom view of a housing of the data symbol reading device shown in FIG.
【図4】図1に示すデータシンボル読み取り装置におけ
る筐体の底面図である。FIG. 4 is a bottom view of the housing of the data symbol reading device shown in FIG.
【図5】図1に示すデータシンボル読み取り装置の回路
構成を示すブロック図である。5 is a block diagram showing a circuit configuration of the data symbol reading device shown in FIG. 1. FIG.
【図6】本発明における制御手段の動作を示すフローチ
ャートである。FIG. 6 is a flowchart showing the operation of the control means in the present invention.
【図7】本発明のデータシンボル読み取り装置の第2実
施例の回路構成を示すブロック図である。FIG. 7 is a block diagram showing a circuit configuration of a second embodiment of the data symbol reading device of the present invention.
【図8】本発明における制御手段の動作を示すフローチ
ャートである。FIG. 8 is a flowchart showing the operation of the control means in the present invention.
【図9】本発明のデータシンボル読み取り装置の第3実
施例を示す断面側面図である。FIG. 9 is a sectional side view showing a third embodiment of the data symbol reading apparatus of the present invention.
1、1a、1b データシンボル読み取り装置 2 ケーシング 21 把持部 22 ヘッド部 3 筐体 31 先端開口 34 シンボル読み取り領域 35 バーコード(1次元のデータシンボ
ル) 351 スタートシンボル 352 黒色バー 353 ストップシンボル 354 黒色バー 36 シンボル読み取り領域 37 読み取り面 38 データシンボル(2次元のデータシ
ンボル) 4 読み取り部 41 光源 42 光源駆動回路 43 エリアセンサー(CCD) 44 光学系 45 ミラー 46 レンズ 47 光路 48 ラインセンサー(CCD) 49 ハーフミラー 5 信号処理回路 6、7 CCD駆動回路 8 増幅回路 91〜93 レンズ 94 ミラー 10 2値化回路 12 メモリー 13 スイッチ回路 14 トリガースイッチ 15 制御手段(CPU) 16 通信用ドライバー 17 ホストコンピュータ 18 切換スイッチ 201〜216 ステップ 301〜314 ステップ1, 1a, 1b Data symbol reading device 2 Casing 21 Gripping portion 22 Head portion 3 Housing 31 Tip opening 34 Symbol reading area 35 Bar code (one-dimensional data symbol) 351 Start symbol 352 Black bar 353 Stop symbol 354 Black bar 36 Symbol reading area 37 Reading surface 38 Data symbol (two-dimensional data symbol) 4 Reading unit 41 Light source 42 Light source driving circuit 43 Area sensor (CCD) 44 Optical system 45 Mirror 46 Lens 47 Optical path 48 Line sensor (CCD) 49 Half mirror 5 Signal processing circuit 6, 7 CCD drive circuit 8 Amplification circuit 91-93 Lens 94 Mirror 10 Binarization circuit 12 Memory 13 Switch circuit 14 Trigger switch 15 Control means (CPU) 16 Communication Driver 17 host computer 18 change-over switch 201 to 216 step 301-314 step
───────────────────────────────────────────────────── フロントページの続き (72)発明者 貫井 誠 東京都板橋区前野町2丁目36番9号 旭光 学工業株式会社内 (72)発明者 石塚 之宏 東京都板橋区前野町2丁目36番9号 旭光 学工業株式会社内 ─────────────────────────────────────────────────── ─── Continuation of front page (72) Inventor Makoto Nakai 2-36-9 Maenocho, Itabashi-ku, Tokyo Asahi Kogaku Kogyo Co., Ltd. (72) Inventor Nobuhiro Ishizuka 2-36- Maenocho, Itabashi-ku, Tokyo No. 9 Asahi Kogaku Industry Co., Ltd.
Claims (6)
データシンボルを読み取ることが可能なデータシンボル
読み取り装置であって、 前記1次元のデータシンボルを読み取るための第1の撮
像素子と、 前記2次元のデータシンボルを読み取るための第2の撮
像素子と、 前記1次元または2次元のデータシンボルの像を前記第
1および第2の撮像素子の受光面へ結像させる光学系と
を有することを特徴とするデータシンボル読み取り装
置。1. A data symbol reading device capable of reading a one-dimensional data symbol and a two-dimensional data symbol, comprising: a first image sensor for reading the one-dimensional data symbol; A second image sensor for reading the data symbol of 1., and an optical system for forming an image of the one-dimensional or two-dimensional data symbol on the light receiving surfaces of the first and second image sensors. And a data symbol reader.
光路と、前記第2の撮像素子への光路とに分割する光学
部品を有する請求項1に記載のデータシンボル読み取り
装置。2. The data symbol reading device according to claim 1, wherein the optical system has an optical component that divides an optical path to the first image sensor and an optical path to the second image sensor.
のデータシンボルの像を前記第1の撮像素子の受光面へ
結像させるとともに、該第1の撮像素子に結像する像の
倍率を設定する第1の結像光学系と、 前記第1の結像光学系と一部を共有し、前記1次元また
は2次元のデータシンボルの像を前記第2の撮像素子の
受光面へ結像させるとともに、該第2の撮像素子に結像
する像の倍率を設定する第2の結像光学系とを有する請
求項2に記載のデータシンボル読み取り装置。3. The optical system forms an image of the one-dimensional or two-dimensional data symbol on a light-receiving surface of the first image sensor, and a magnification of the image formed on the first image sensor. And a part of the first image-forming optical system for setting the image forming device, which forms a part of the image data of the one-dimensional or two-dimensional data symbol on the light-receiving surface of the second image sensor. The data symbol reading apparatus according to claim 2, further comprising: a second image forming optical system configured to form an image and set a magnification of an image formed on the second image sensor.
あり、前記第2の撮像素子はエリアセンサーである請求
項1ないし3のいずれかに記載のデータシンボル読み取
り装置。4. The data symbol reading device according to claim 1, wherein the first image sensor is a line sensor, and the second image sensor is an area sensor.
を行う第1のモードまたは前記2次元のデータシンボル
の読み取りを行う第2のモードのいずれかを設定するモ
ード設定手段を有し、前記モード設定手段により設定さ
れたモードに従って、前記1次元または2次元のデータ
シンボルの読み取りを行う請求項1ないし4のいずれか
に記載のデータシンボル読み取り装置。5. A mode setting means for setting either a first mode for reading the one-dimensional data symbol or a second mode for reading the two-dimensional data symbol, the mode setting. 5. The data symbol reading device according to claim 1, wherein the one-dimensional or two-dimensional data symbol is read according to the mode set by the means.
のデータシンボルまたは前記2次元のデータシンボルの
いずれであるかを判別する判別手段と、 前記判別手段により判別されたデータシンボルの次元に
応じてデータシンボルが表わす情報の解読動作を切り換
える切換手段とを有する請求項1ないし5のいずれかに
記載のデータシンボル読み取り装置。6. A discriminating means for discriminating whether the imaged data symbol is the one-dimensional data symbol or the two-dimensional data symbol, and a dimension of the data symbol discriminated by the discriminating means. 6. The data symbol reading device according to claim 1, further comprising a switching unit that switches a decoding operation of information represented by the data symbol.
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP7199054A JPH0927005A (en) | 1995-07-12 | 1995-07-12 | Data symbol reading device |
| US08/674,835 US5780831A (en) | 1995-07-12 | 1996-07-03 | One-dimensional and two-dimensional data symbol reader |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP7199054A JPH0927005A (en) | 1995-07-12 | 1995-07-12 | Data symbol reading device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0927005A true JPH0927005A (en) | 1997-01-28 |
Family
ID=16401346
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP7199054A Pending JPH0927005A (en) | 1995-07-12 | 1995-07-12 | Data symbol reading device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0927005A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2008065528A (en) * | 2006-09-06 | 2008-03-21 | Denso Wave Inc | Optical information reading device |
-
1995
- 1995-07-12 JP JP7199054A patent/JPH0927005A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2008065528A (en) * | 2006-09-06 | 2008-03-21 | Denso Wave Inc | Optical information reading device |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3187287B2 (en) | Data symbol reading device | |
| US5754670A (en) | Data symbol reading system | |
| US5780831A (en) | One-dimensional and two-dimensional data symbol reader | |
| EP1223535B1 (en) | Bioptics bar code reader | |
| US5428212A (en) | Encoded symbol reader | |
| US7137555B2 (en) | Multi-format bar code reader | |
| CA2288758C (en) | Optical scanner and image reader for reading images and decoding optical information including one and two dimensional symbologies at variable depth of field | |
| US20100096459A1 (en) | Electro-optical reader with extended working range | |
| JPH11514461A (en) | Data form reader and method | |
| US7475823B2 (en) | Hand held bar code reader with improved image capture | |
| JPH09326004A (en) | Data symbol reader | |
| JP3495410B2 (en) | Data symbol reading device | |
| JPH0927005A (en) | Data symbol reading device | |
| JPH0954810A (en) | Data symbol reader | |
| JPH0950472A (en) | Data symbol reader | |
| JPH0916702A (en) | Data symbol reading device | |
| JP3140184B2 (en) | Barcode symbol reader | |
| JPH06139398A (en) | 2D code scanner | |
| JPH07262302A (en) | Data symbol reader | |
| JP3523370B2 (en) | Data symbol reading device | |
| US20150161428A1 (en) | Vertical Optics for an Imaging Optical Code Scanner | |
| JP3510695B2 (en) | Data symbol reading device | |
| EP1916557B1 (en) | Optical scanner and image reader for reading images and decoding optical information including one and two dimensional symbologies at variable depth of field | |
| JPH10222599A (en) | Optical reader | |
| JPH07282180A (en) | Data symbol reader |