JP2012173124A - Optical information reading device - Google Patents
Optical information reading device Download PDFInfo
- Publication number
- JP2012173124A JP2012173124A JP2011035161A JP2011035161A JP2012173124A JP 2012173124 A JP2012173124 A JP 2012173124A JP 2011035161 A JP2011035161 A JP 2011035161A JP 2011035161 A JP2011035161 A JP 2011035161A JP 2012173124 A JP2012173124 A JP 2012173124A
- Authority
- JP
- Japan
- Prior art keywords
- distance
- pattern
- light
- distance measuring
- distance measurement
- 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.)
- Withdrawn
Links
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01C—MEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
- G01C3/00—Measuring distances in line of sight; Optical rangefinders
- G01C3/02—Details
- G01C3/06—Use of electric means to obtain final indication
- G01C3/08—Use of electric radiation detectors
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01S—RADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
- G01S17/00—Systems using the reflection or reradiation of electromagnetic waves other than radio waves, e.g. lidar systems
- G01S17/02—Systems using the reflection of electromagnetic waves other than radio waves
- G01S17/06—Systems determining position data of a target
- G01S17/08—Systems determining position data of a target for measuring distance only
-
- G—PHYSICS
- G02—OPTICS
- G02B—OPTICAL ELEMENTS, SYSTEMS OR APPARATUS
- G02B7/00—Mountings, adjusting means, or light-tight connections, for optical elements
- G02B7/28—Systems for automatic generation of focusing signals
- G02B7/30—Systems for automatic generation of focusing signals using parallactic triangle with a base line
- G02B7/32—Systems for automatic generation of focusing signals using parallactic triangle with a base line using active means, e.g. light emitter
-
- G—PHYSICS
- G03—PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
- G03B—APPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
- G03B13/00—Viewfinders; Focusing aids for cameras; Means for focusing for cameras; Autofocus systems for cameras
- G03B13/18—Focusing aids
- G03B13/20—Rangefinders coupled with focusing arrangements, e.g. adjustment of rangefinder automatically focusing camera
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K7/00—Methods or arrangements for sensing record carriers, e.g. for reading patterns
- G06K7/10—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
- G06K7/10544—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation by scanning of the records by radiation in the optical part of the electromagnetic spectrum
- G06K7/10792—Special measures in relation to the object to be scanned
- G06K7/10801—Multidistance reading
- G06K7/10811—Focalisation
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Electromagnetism (AREA)
- Remote Sensing (AREA)
- Radar, Positioning & Navigation (AREA)
- Health & Medical Sciences (AREA)
- Toxicology (AREA)
- Artificial Intelligence (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Theoretical Computer Science (AREA)
- General Health & Medical Sciences (AREA)
- Optics & Photonics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Measurement Of Optical Distance (AREA)
- Structure And Mechanism Of Cameras (AREA)
- Studio Devices (AREA)
- Optical Radar Systems And Details Thereof (AREA)
Abstract
Description
本発明は、可変焦点機能を有し、主にバーコード、2次元コード等のコード記号、風景や物品の画像を読み取ることを目的とした光学的情報読取装置に関する。 The present invention relates to an optical information reader having a variable focus function and mainly intended to read code symbols such as bar codes and two-dimensional codes, and images of landscapes and articles.
商品管理、在庫管理等を目的として1次元のコード情報であるバーコード、また、より情報密度の高いコードとして2次元コードが知られている。バーコードや2次元コード等のコード記号を読み取る装置として、CMOSイメージセンサやCCDイメージセンサ等の固体撮像素子でコード情報を撮影し、その画像に様々な処理を施した上で2値化し、デコードする方法が知られている。 For the purpose of merchandise management, inventory management, etc., a barcode which is one-dimensional code information and a two-dimensional code as a code having a higher information density are known. As a device for reading code symbols such as barcodes and two-dimensional codes, code information is photographed with a solid-state image sensor such as a CMOS image sensor or a CCD image sensor, the image is subjected to various processing, and then binarized and decoded. How to do is known.
このようなコード情報を読み取る装置に使用されるCMOSイメージセンサは、デジタルカメラ等に搭載されているものと機能的に何ら変わらないことから、普通に物体や風景などを撮影する写真機としての機能を併せ持つことが求められる。例えば、在庫管理等の場合、対象物品と共にその物品が格納されている位置を撮像し、コード情報と共にデータベースに記憶する場合に使用されるものである。 The CMOS image sensor used in such a device that reads code information is not functionally different from what is mounted on a digital camera or the like, so it functions as a photographer that normally shoots objects and landscapes. Is required. For example, in the case of inventory management or the like, it is used when an image of a position where the article is stored together with the target article is stored in a database together with code information.
また、携帯電話機には、上述したCMOSイメージセンサを使用した小型カメラが搭載さている。携帯電話機のカメラ機能には、通常のデジタルカメラのように、風景や人物を撮像する他に、バーコード/2次元コードスキャナ及びOCR(光学式文字読取装置)を内蔵しているものが大半である。即ち、コード記号撮像デコード機能を備えたデジタルカメラが広く求められている。 The mobile phone is equipped with a small camera using the above-described CMOS image sensor. Most of the camera functions of mobile phones include a barcode / two-dimensional code scanner and an OCR (optical character reader), as well as images of landscapes and people, like ordinary digital cameras. is there. That is, a digital camera having a code symbol imaging / decoding function is widely demanded.
さらに、上述した商品管理、在庫管理等の現場では、物品に貼付されたコード記号を次々に走査していく必要がある。その際に、オートフォーカス機能があるものが望ましく、オートフォーカスと撮像処理は高速である必要がある。 Furthermore, in the field of product management, inventory management, etc. described above, it is necessary to scan the code symbols attached to the articles one after another. At that time, it is desirable to have an autofocus function, and autofocus and imaging processing must be performed at high speed.
オートフォーカス機能を備えた光学的情報読取装置では、コード記号等の読取対象物までの距離を測定し、測定した距離に焦点位置が合うように光学系を制御する。読取対象物までの距離を測定する技術として、レーザを利用した測距技術が提案されている(例えば、特許文献1参照)。 In an optical information reading apparatus having an autofocus function, the distance to a reading object such as a code symbol is measured, and the optical system is controlled so that the focal position matches the measured distance. As a technique for measuring the distance to the reading object, a distance measuring technique using a laser has been proposed (for example, see Patent Document 1).
レーザを用いた三角法による測距技術では、読取対象物に光の強度の強いスポットを形成するためにビームを照射し、読取対象物上の検出スポット位置を計測する。読取対象物の距離は、検出スポット位置から決定される。 In the distance measuring technique based on trigonometry using a laser, a beam is irradiated to form a spot having a high light intensity on a reading object, and a detection spot position on the reading object is measured. The distance of the reading object is determined from the detected spot position.
一方、光学的情報読取装置では、コード記号が読取可能範囲に入っているかどうかを使用者が認識できれば、試行を繰り返す必要が無くなり、読取動作の高速化が図れる。そこで、読取可能範囲を表示する光源及び光学系を備えた技術が提案されている(例えば、特許文献2参照)。 On the other hand, in the optical information reading apparatus, if the user can recognize whether or not the code symbol is within the readable range, it is not necessary to repeat the trial, and the reading operation can be speeded up. Thus, a technique including a light source and an optical system for displaying a readable range has been proposed (see, for example, Patent Document 2).
レーザを用いた三角法による従来の測距技術では、スポット状の強度の強い信号のピークを検出し、スポットの位置を求めている。しかし、周辺光量等の影響で、露出が飽和すると、信号の強度のピークを検出することができず、測距に必要な信号を得ることができない場合がある。この場合、露出を補正して再撮像を行うことで、適正露出の画像を得ることができるが、露出の補正及び再撮像の処理が必要で、測距処理の高速化の妨げになる。 In a conventional distance measuring technique using a trigonometry using a laser, a spot-like signal peak having a strong intensity is detected, and a spot position is obtained. However, when the exposure is saturated due to the influence of the amount of ambient light or the like, the signal intensity peak cannot be detected, and a signal necessary for distance measurement may not be obtained. In this case, by correcting the exposure and performing re-imaging, an image with appropriate exposure can be obtained. However, exposure correction and re-imaging processing are necessary, which hinders speeding up of the distance measurement process.
また、スポットを可視光で形成し、スポットの形成位置と読取位置を合わせることで、使用者の読取動作を誘導できる。しかし、スポットは読取対象物上の一点を示すのみで、コード記号の全体が読取可能範囲に入っているかを示すことはできず、コード記号の全体が読取可能範囲に入っていなければ、再試行を繰り返すことになる。 Moreover, a user's reading operation | movement can be guide | induced by forming a spot with visible light and matching the formation position and reading position of a spot. However, the spot only indicates one point on the object to be read, it cannot indicate whether the entire code symbol is within the readable range, and if the entire code symbol is not within the readable range, retry. Will be repeated.
このようなオートフォーカス機能を備えた光学的情報読取装置に、読取可能範囲を表示する光源及び光学系を備える構成とすれば、オートフォーカス機能を実現し、かつ、読取可能範囲を示すことができる。しかし、測距と読取可能範囲を示すために独立した光源と光学系が必要で、装置の小型化及び低コストが困難になる。 If such an optical information reader having an autofocus function is provided with a light source and an optical system for displaying a readable range, the autofocus function can be realized and the readable range can be shown. . However, an independent light source and an optical system are required to indicate the distance measurement and the readable range, which makes it difficult to reduce the size and cost of the apparatus.
更に、測距用のレーザによる照射範囲を、読取可能範囲を示す大きさに広げることで、読取可能範囲を示すことは可能になるが、読み取ったコード記号のデコードで必要とされる測距の精度を得ることができず、確実な測距を行うことができない。 Furthermore, it is possible to indicate the readable range by expanding the irradiation range of the distance measuring laser to a size indicating the readable range, but the distance measurement required for decoding the read code symbol is possible. Accuracy cannot be obtained, and reliable distance measurement cannot be performed.
本発明は、このような課題を解決するためになされたもので、測距処理の高速化を図り、確実に測距を行うことができる光学的情報読取装置を提供することを目的とする。 The present invention has been made to solve such a problem, and an object of the present invention is to provide an optical information reading apparatus capable of speeding up a distance measurement process and reliably performing distance measurement.
上述した課題を解決するため、本発明は、可変焦点光学系を有した撮像光学手段と、読取対象物を撮像する撮像手段と、読取対象物との距離を測距する測距手段と、測距手段を用いて読取対象物までの距離を算出し、算出された距離情報に基づき撮像光学手段を制御して、撮像手段で読取対象物の撮像を行う制御手段とを備え、測距手段は、光の照射領域と非照射領域が組み合わせられた測距パターンを読取対象物に形成する測距光を出射し、制御手段は、読取対象物に形成された測距パターンを撮像手段で撮像して測距パターンの画像を取得し、撮像手段に入射する光の強度に応じて信号が落ち込む部分を検出して、測距パターンの非照射領域の座標に基づき測距を行う光学的情報読取装置である。 In order to solve the above-described problems, the present invention provides an imaging optical means having a variable focus optical system, an imaging means for imaging a reading object, a distance measuring means for measuring a distance from the reading object, and a measurement. The distance measuring means comprises a control means for calculating the distance to the reading object using the distance means, controlling the imaging optical means based on the calculated distance information, and imaging the reading object by the imaging means, The distance measuring light for forming a distance measuring pattern in which the light irradiation area and the non-irradiation area are combined is formed on the reading object, and the control means images the distance measuring pattern formed on the reading object by the imaging means. An optical information reading device that obtains an image of a distance measurement pattern, detects a portion where the signal falls according to the intensity of light incident on the imaging means, and performs distance measurement based on the coordinates of the non-irradiated area of the distance measurement pattern It is.
本発明では、測距光を照射して、光の照射領域と非照射領域が組み合わせられた測距パターンを読取対象物に形成し、読取対象物に形成された測距パターンを撮像して測距パターンの画像を取得し、画像信号で信号が落ち込む部分を検出して、測距パターンの非照射領域の座標に基づき読取対象物までの距離を求める。 In the present invention, a distance measurement light is irradiated, a distance measurement pattern in which a light irradiation area and a non-irradiation area are combined is formed on a reading object, and the distance measurement pattern formed on the reading object is imaged and measured. A distance pattern image is acquired, a portion where the signal falls in the image signal is detected, and the distance to the reading object is obtained based on the coordinates of the non-irradiation area of the distance measurement pattern.
本発明によれば、周辺光量の変化や、読取対象物の大きさ等によらず、処理の高速化を図り、確実に測距を行うことができる。また、測距光を可視光とすれば、測距パターンの照射領域を利用して、測距に用いる単一の光源及び光学系で、読取可能範囲の表示を行うことができる。 According to the present invention, it is possible to increase the processing speed and reliably perform distance measurement regardless of changes in the amount of peripheral light, the size of an object to be read, and the like. If the distance measuring light is visible light, the readable range can be displayed with a single light source and optical system used for distance measuring using the irradiation area of the distance measuring pattern.
以下、図面を参照して、本発明の光学的情報読取装置の実施の形態について説明する。 Embodiments of the optical information reading apparatus of the present invention will be described below with reference to the drawings.
<本実施の形態の光学的情報読取装置の構成例>
図1は、本実施の形態の光学的情報読取装置の一例を示す機能ブロック図、図2及び図3は、本実施の形態の光学的情報読取装置の実装例を示す斜視図である。また、図4は、本実施の形態の光学的情報読取装置を構成する測距光出射部の一例を示す構成図、図5は、本実施の形態の光学的情報読取装置を構成する測距光出射部の他の例を示す構成図である。
<Example of Configuration of Optical Information Reading Device of the Present Embodiment>
FIG. 1 is a functional block diagram illustrating an example of an optical information reading apparatus according to the present embodiment, and FIGS. 2 and 3 are perspective views illustrating an implementation example of the optical information reading apparatus according to the present embodiment. FIG. 4 is a block diagram showing an example of a distance measuring light emitting unit constituting the optical information reading apparatus of the present embodiment, and FIG. 5 shows distance measuring constituting the optical information reading apparatus of the present embodiment. It is a block diagram which shows the other example of a light-projection part.
本実施の形態の光学的情報読取装置1Aは、読取対象物であるコード記号100を撮像するカメラ部10と、カメラ部10で行われる撮像、フォーカス調整、デコード、データ転送等の制御を行うデコード部11を備える。
The optical
光学的情報読取装置1Aはコードスキャナと称され、物品に貼り付けられたラベルに表記されたコード記号100、または、物品に直接表記されたコード記号100等の撮像が可能な構成である。
The optical
図2に示す光学的情報読取装置1Aは、マニュアルトリガと称されるコードスキャナで、例えば、把持部200を有した筺体201に、カメラ部10とデコード部11等の構成要素が実装され、使用者が把持部200を手に持ち、カメラ部10を物品300に表記されたコード記号100に向けることで、コード記号100の撮像が可能な構成である。
An optical
図3に示す光学的情報読取装置1Aは、オートトリガと称されるコードスキャナで、例えば、載置部202を有して載置される筺体203に、カメラ部10とデコード部11等の構成要素が実装され、物品301に表記された図3では図示しないコード記号100をカメラ部10に向けることで、コード記号100の撮像が可能な構成である。
An optical
次に、カメラ部10の全体構成について説明する。カメラ部10は、読取対象物であるコード記号100の検知と、読取対象物までの距離の測距のために、読取対象物に図4に示すような測距パターン101aを形成する測距光Sa、または、読取対象物に図5に示すような測距パターン101bを形成する測距光Sbの照射を行う測距光出射部2を備える。
Next, the overall configuration of the
また、カメラ部10は、読取対象物に形成された測距パターン101aまたは測距パターン101bの撮像、及びコード記号100を含む読取対象物の撮像を行う固体撮像素子3を備える。
In addition, the
更に、カメラ部10は、照明光を出射する照明光出射部4と、コード記号100で反射した自然光または照明光を固体撮像素子3に結像させるオートフォーカス(可変焦点)機能を有し、コード記号100を構成するパターンの例えば白部分と黒部分の反射率の違いにより、コード記号100のパターンに応じた像を形成させる撮像光学部5を備える。また、カメラ部10は、測距光出射部2、照明光出射部4及び撮像光学部5を駆動するドライバ6を備える。
Further, the
図6は、読取対象物までの距離の算出に必要なパラメータの説明図で、次に、本実施の形態の光学的情報読取装置1Aにおける測距の概要について説明する。
FIG. 6 is an explanatory diagram of parameters necessary for calculating the distance to the reading object. Next, an outline of distance measurement in the optical
任意の位置WD1〜WD3にある読取対象物までの距離Xについては、図6中の次のパラメータと以下の(1)式とに基づいて算出することができる。 The distance X to the reading object at any position WD1 to WD3 can be calculated based on the next parameter in FIG. 6 and the following equation (1).
X:撮像光学部5の主点を通る原点平面Oから読取対象物までの距離
a:測距光出射部2と撮像光学部5の光軸の原点平面Oでの距離
θ:撮像光学部5の半画角
N:半画角により張られる固体撮像素子3の中心から短点までの距離
n:固体撮像素子3の撮像エリアにおいて測距光が映り込んだ位置
φ:測距光出射部2と撮像光学部5の光軸の原点平面Oでのなす角
X: distance from the origin plane O passing through the principal point of the imaging
読取対象物に測距光を照射し、読取対象物を照射した測距光を固体撮像素子3で撮像すると、読取対象物までの距離が、測距光を撮像した固体撮像素子3の画素の座標で示され、測距光を撮像した固体撮像素子3の画素の座標を検出することで、上述したパラメータと(1)式から、読取対象物までの距離を算出できる。
When the distance measuring light is irradiated to the reading object and the distance measuring light irradiated to the reading object is imaged by the solid-
そして、精度の高い測距を行うためには、測距光を撮像した固体撮像素子3の画素の座標を画像処理で検出できる信号が、測距光が照射される測距位置Pに存在することが条件になる。
In order to perform distance measurement with high accuracy, a signal that can detect the coordinates of the pixels of the solid-
そこで、光学的情報読取装置1Aでは、図4に示すように、測距光出射部2で出射される測距光Saで、光の照射領域102aと非照射領域103aが組み合わせられた測距パターン101aを読取対象物に形成する。または、図5に示すように、測距光出射部2で出射される測距光Sbで、光の照射領域102bと非照射領域103bが組み合わせられた測距パターン101bを読取対象物に形成する。
Therefore, in the optical
図4に示す測距パターン101aは、照射領域102aが一の方向である水平方向に広がりを持ち、少なくとも水平方向に所定の幅を持つパターンで形成される。また、測距パターン101aは、照射領域102aの間の少なくとも1箇所、本例では、照射領域102aの中心部分に、固体撮像素子3で信号の立ち下がりと立ち上がりが検出可能なパターンで非照射領域103aを設けて、測距パターン101aに少なくとも1つの信号の落ち込み部分を存在させる。
A
これにより、測距パターン101aを水平方向の一方向から見た場合に、測距パターン101aを撮像して固体撮像素子3から出力される信号から、立ち下がり信号と、この立ち下がり信号に対して所定の幅で近接した立ち上がり信号が得られ、立ち下り信号と立ち上がり信号の画像信号により測距処理を可能とする。
Thereby, when the
図5に示す測距パターン101aも同様に、照射領域102bが一の方向である水平方向に広がりを持ち、少なくとも水平方向に所定の幅を持つパターンで形成される。また、測距パターン101bは、照射領域102bの間の少なくとも1箇所、本例では、照射領域102bの中心部分に、固体撮像素子3で信号の立ち下がりと立ち上がりが検出可能なパターンで非照射領域103bを設けて、測距パターン101bに少なくとも1つの信号の落ち込み部分を存在させる。
Similarly, the
これにより、測距パターン101bを水平方向の一方向から見た場合に、測距パターン101bを撮像して固体撮像素子3から出力される信号から、立ち下がり信号と、この立ち下がり信号に対して所定の幅で近接した立ち上がり信号が得られ、立ち下り信号と立ち上がり信号の画像信号により測距処理を可能とする。
Thereby, when the
図7は、読取対象物までの距離と固体撮像素子に入射する測距パターンによる信号強度の関係を示すグラフで、図7では、距離別に固体撮像素子3で撮像した測距パターン101aまたは測距パターン101bを、固体撮像素子3の画素の水平方向にスキャンした信号強度分布を示す。
FIG. 7 is a graph showing the relationship between the distance to the reading object and the signal intensity according to the distance measurement pattern incident on the solid-state image sensor. In FIG. 7, the
光学的情報読取装置1Aでは、固体撮像素子3の撮像エリアにおいて、読取対象物で反射した測距光が入射する位置が、読取対象物までの距離に応じて変化する。このため、読取対象物に形成された図4に示す測距パターン101a、または、図5に示す測距パターン101bを固体撮像素子3で撮像すると、固体撮像素子3の撮像エリアにおいて測距パターン101a、または、測距パターン101bが入射する位置が、読取対象物までの距離に応じて変化する。
In the optical
そして、光学的情報読取装置1Aでは、非照射領域103aを有した測距パターン101a、または、非照射領域103bを有した測距パターン101bを固体撮像素子3で撮像すると、固体撮像素子3の撮像エリアにおける測距パターン101aの非照射領域103a、または、測距パターン101bの非照射領域103bの位置が、読取対象物までの距離に応じて変化する。
In the optical
これにより、図7に示すように、固体撮像素子3の撮像エリアに入射する光の強度に応じたレベルで固体撮像素子3から出力される信号が落ち込む部分が、読取対象物までの距離に応じて変化する。
As a result, as shown in FIG. 7, the portion where the signal output from the solid-
そこで、光学的情報読取装置1Aでは、固体撮像素子3から出力される信号が落ち込む部分を検出して、この信号の落ち込む部分を測距信号部SgDとし、測距パターン101aの非照射領域103a、または、測距パターン101bの非照射領域103bを撮像した固体撮像素子3の画素の座標を検出することで、上述したパラメータと(1)式から、読取対象物までの距離を算出する。
Therefore, in the optical
これにより、読取対象物に形成される測距パターン101aまたは測距パターン101bは、非照射領域103aまたは非照射領域103bを示す信号が、信号が落ち込む部分として存在し、非照射領域103aまたは非照射領域103bを撮像した固体撮像素子3の画素の座標を画像処理で検出できる信号が、測距光Saまたは測距光Sbが照射される測距位置Pに存在することになり、精度の高い測距を行うことができる。
Thereby, the
また、測距光Saまたは測距光Sbを可視光とすることで、測距パターン101aの照射領域102a、または、測距パターン101bの照射領域102bを利用して、読取範囲を視認可能とする。
Further, by making the distance measuring light Sa or the distance measuring light Sb visible light, the reading range can be visually recognized using the
図8は、測距パターンの形状の一例を示す構成図である。なお、図8では、図4に示す光学系で形成される測距パターンを例に説明するが、図5に示す光学系で形成される測距パターンも同様である。 FIG. 8 is a configuration diagram showing an example of the shape of the distance measurement pattern. In FIG. 8, the distance measurement pattern formed by the optical system shown in FIG. 4 will be described as an example, but the same applies to the distance measurement pattern formed by the optical system shown in FIG.
測距パターン101aにおける測距位置Pである非照射領域103aは、測距パターン101aの中心部に設けられることが望ましい。これは、図8(a)に示すように、読取対象物が測距パターン101aより小さいコード記号100aの場合、通常、測距パターン101aの中心にコード記号100aの位置が合わせられる可能性が高いためで、コード記号100a上に、測距位置Pである非照射領域103aが形成されるようにして、測距の精度を向上させるためある。
The
また、図8(b)に示すように、幅の広いコード記号100bを読み取る場合、測距パターン101aで読取可能範囲を示すことにより、読取深度が容易に判断でき、操作性を向上させることができる。そのため、測距パターン101aを中心部分のみに照射するより、少なくも水平方向に幅のある測距パターン101aを形成することが望ましい。
As shown in FIG. 8B, when a
次に、上述した測距パターンを形成する測距光出射部の詳細について、各図を参照にして説明する。測距光出射部2は測距手段の一例で、光を出射する光源20と、光源20から出射した光を、測距パターン101aを形成する測距光Sa、または、測距パターン101bを形成する測距光Sbに変換するパターン形成レンズ21を備える。
Next, details of the distance measuring light emitting unit that forms the distance measuring pattern described above will be described with reference to the drawings. The distance measuring
光源20は、図4に示す例では、可視領域の波長の光を出射する発光ダイオード(LED)で構成される。また、図5に示す例では、可視領域の波長の光を出射する半導体レーザ(LD)で構成される。
In the example illustrated in FIG. 4, the
測距光出射部2で出射される測距光Saまたは測距光Sbで形成される測距パターン101aまたは測距パターン101bでは、画像信号の大部分である照射領域102aまたは照射領域102bを固体撮像素子3で検出できるようにするため、光源20として、上述したように、パルスで強度の強いLED光源もしくはレーザ光源が好ましい。
In the
図9は、パターン形成レンズの一例を示す斜視図、図10は、パターン形成レンズによる測距光の光路の一例を示す光路説明図、図11は、パターン形成レンズによる照射領域と非照射領域の形成原理を示す光路説明図であり、次に、測距パターン101aまたは測距パターン101bを形成する光学系の一例について、各図を参照して説明する。
FIG. 9 is a perspective view showing an example of a pattern forming lens, FIG. 10 is an optical path explanatory view showing an example of an optical path of distance measuring light by the pattern forming lens, and FIG. 11 is an irradiation region and a non-irradiation region by the pattern forming lens. It is an optical path explanatory drawing which shows a formation principle, and next, an example of the optical system which forms the ranging
測距光出射部2では、図4に示す測距パターン101aの非照射領域103a、または、図5に示す測距パターン101bの非照射領域103bが、固体撮像素子3で検出可能な幅となる所定の角度αとなるような光学系が構成される。
In the distance measuring
また、測距光出射部2では、測距パターン101aまたは測距パターン101bを可視光で構成し、測距パターン101aの照射領域102a、または、測距パターン101bの照射領域102bが、撮像光学部5の画角と固体撮像素子3の撮像エリアの大きさで決められ、読取対象物との距離に応じて変化する読取可能範囲となるように、光学系が構成される。
In the distance measuring
測距光出射部2では、光源20から出射された光は、一の方向である水平方向と、他の方向である垂直方向に、それぞれ所定の放射角で広がる。そこで、測距光出射部2では、光源20から出射された光の水平方向の広がりを利用して、測距パターン101aの照射領域102aまたは測距パターン101bの照射領域102bを形成する。本例では、光源20から出射された光の水平方向の放射角と読取可能範囲が合わせられる
In the distance measuring
また、測距光出射部2では、光源20から出射された光の水平方向の一部に、測距パターン101aの非照射領域103aまたは測距パターン101bの非照射領域103bを形成する。
In the distance measuring
このため、パターン形成レンズ21は、光源20から出射されて水平方向に広がる光は、読取可能範囲に合わせた放射角を保って透過させ、垂直方向に広がる光は、屈折させて例えば平行光化する形状、例えば、入射面21aが平面で構成され、出射面21bが水平方向に沿って平面で、垂直方向に沿って凸状に湾曲した曲面で構成されるシリンドリカルレンズである。
For this reason, the
また、パターン形成レンズ21は、光の屈折または反射を利用して、光源20から出射される一部の光の光路を変更し、測距パターン101aの非照射領域103aまたは測距パターン101bの非照射領域103bを形成するため、出射面21bの一部に、垂直方向に沿ってプリズム状のスリット21cが形成される。スリット21cは、パターン形成レンズ21の出射面21bの水平方向に沿った中心部分に、断面形状がV状の溝を設けて形成される。
Further, the
図11において、パターン形成レンズ21の屈折率をn1、空気中の屈折率をn2とする。光源20から出射し、パターン形成レンズ21に入射した光で、スリット21cの形成部位以外の出射面21bに入射した光は、出射面21bと空気との境界面に対して垂直に入射する光と見なすことができる。
In FIG. 11, the refractive index of the
これにより、光源20から出射されて水平方向に広がる光で、スリット21cの形成部位以外の出射面21bに入射した光は、図11の光路L1に示すように、出射面21bと空気との境界面で水平方向には実質的に屈折せず、光源20における放射角を保ってパターン形成レンズ21を透過する。
As a result, the light that is emitted from the
一方、スリット21cに入射した光は、出射面21bと空気との境界面への入射角をβとすると、パターン形成レンズ21と空気の屈折率に応じた屈折角γで屈折する。また、出射面21bと空気との境界面で反射する。
On the other hand, the light incident on the
これにより、光源20から出射されて水平方向に広がる光で、スリット21cに入射した光は、図11の光路L2、L3に示すように、出射面21bと空気との境界面で屈折または反射し、光路が変換される。
As a result, the light that is emitted from the
従って、パターン形成レンズ21は、図10に示すように、スリット21cの形成部位を中心として、光が放射しない角度を生成することができる。よって、測距光出射部2では光源20から出射されて水平方向に広がる光が、パターン形成レンズ21を透過することで、水平方向における中心部分を避けて放射され、図4に示すように、照射領域102aの中心部分に非照射領域103aが形成された測距パターン101aを形成する測距光Saが出射される。または、図5に示すように、照射領域102bの中心部分に非照射領域103bが形成された測距パターン101bを形成する測距光Sbが出射される。
Therefore, as shown in FIG. 10, the
なお、パターン形成レンズ21は、出射面21bの水平方向の中心部分に反射膜を形成する、あるいは、スリット21cに反射膜を形成する等により、光の全反射を利用して光を透過させない角度を生成することも可能である。
The
次に、カメラ部10の他の構成要素について説明する。固体撮像素子3は撮像手段の一例で、本例では、CMOS(相補性金属酸化膜半導体)イメージセンサで構成される。固体撮像素子3は、撮像光学部5を通して入射する光を撮像素子により検出し、その各撮像素子による検出信号をデジタル画像データとしてデコード部11へ出力することにより、測距パターン及び読取対象物の画像を撮像する。
Next, other components of the
上述したように、図4に示す測距パターン101a、または、図5に示す測距パターン101bを形成する測距光出射部2の光源20として、パルスで強度の強いLED光源またはレーザ光源を用いる構成では、固体撮像素子3は、全画素同時にシャッタを切れるグローバルシャッタが望ましい。また、測距パターンに関する処理速度を高速化するために、測距パターンの画像をサブサンプリング(ROI機能:Region of Interest)して処理することができる固体撮像素子3が望ましい。
As described above, a pulsed and strong LED light source or laser light source is used as the
図12は、固体撮像素子の一例を示す機能ブロック図であり、次に、図12を参照しながら固体撮像素子3の一例であるCMOSイメージセンサについて詳細に説明する。固体撮像素子3に設けられた撮像エリア30は、画素部31の各画素が、フォトダイオードと、FD(flouting diffusion:フロー浮遊拡散)領域と、フォトダイオードからFD領域に電荷を転送するための転送トランジスタと、FD領域を所定の電位にリセットするためのリセットトランジスタとを有し、複数の画素がマトリックス状に形成される。
FIG. 12 is a functional block diagram illustrating an example of a solid-state image sensor. Next, a CMOS image sensor that is an example of the solid-
撮像エリア30は、画素がマトリックス状に形成された画素マトリックスの側部に、垂直信号の制御をする垂直シフトレジスタ32が配置され、画素マトリックスの下部に、水平信号の制御をする水平シフトレジスタ33が配置されている。
In the
垂直シフトレジスタ32と水平シフトレジスタ33は、画素駆動に必要な電圧を発生させるアナログ回路である。垂直シフトレジスタ32と水平シフトレジスタ33からの信号は、アナログプロセッサ34、A/Dコンバータ35、デジタルプロセッサ36を順次経由して外部へ出力される。
The
またアナログプロセッサ34は、電圧増幅、ゲイン調整等の機能を含み、所定のアナログ信号処理を行う。A/Dコンバータ35は、アナログプロセッサ34のアナログ画像信号をデジタル画像信号に変換する。デジタルプロセッサ36は、ノイズキャンセル、データ圧縮等の機能を含み、A/Dコンバータ125からのデジタル画像信号に対してデジタル処理を施し、処理後のデジタル画像信号を外部へ出力する。
The
コントロールレジスタ37は、外部の信号を入出力させ、タイミングコントローラ38によってアナログプロセッサ34及びデジタルプロセッサ36のクロックタイミングを合わせて、画素部31の各画素からの信号を所定の順番で画像データを出力させる。
The control register 37 inputs / outputs external signals, causes the
更に、固体撮像素子3においては、各画素における受光量に応じた電荷の蓄積開始及び蓄積停止を全画素において略同時に制御するグローバルシャッタが採用される。そのために、各画素における蓄積電荷に相当する値を共通の基準値と個別に比較する複数の比較器、それらの出力信号の論理和信号を出力するための端子等を備えている。画素部31の複数の比較器の出力の少なくとも1つが、基準値より蓄積電荷が大きくなったことを示したときに、グローバルシャッタを制御して各画素における電荷の蓄積停止を実行する。
Furthermore, in the solid-
図1に戻り、照明光出射部4は照明手段の一例で、デコード部11からの制御により読取対象物に照明光Scを照射して照明する。照明光Scの照射は、固体撮像素子3の撮像フレームに同期したパルス光の照射によって行われ、照射時間を調整することによって、1フレームの撮像期間内に読取対象物からの反射光により固体撮像素子3の各フォトダイオードに蓄積される電荷量を調整することができる。すなわち、照明時間を長くすれば、固体撮像素子3が撮像により得る画像は明るい画像となるし、短くすれば、暗い画像となる。
Returning to FIG. 1, the illumination light emitting unit 4 is an example of an illuminating unit, and illuminates the reading object with illumination light Sc under the control of the decoding unit 11. Irradiation of the illumination light Sc is performed by irradiation of pulsed light synchronized with the imaging frame of the solid-
撮像光学部5は撮像光学手段の一例で、撮像レンズ50と可変焦点レンズ51を備える。撮像レンズ50は、本例では、単数または複数のガラス製若しくはプラスチック製の光学レンズで構成される固定焦点レンズである。
The imaging
可変焦点レンズ51は、例えば、単数または複数の光学レンズを、光軸に沿って機械的に移動させる機構を備えて、オートフォーカス機能を実現しても良い。これに対し、可変焦点レンズ51は、レンズを機械的に移動させる機構を用いることなくオートフォーカス機能を実現するものとして、印加電圧によって焦点距離を調整可能な液晶レンズ、または、液体レンズで構成しても良い。 The variable focus lens 51 may include, for example, a mechanism that mechanically moves one or a plurality of optical lenses along the optical axis to realize an autofocus function. On the other hand, the variable focus lens 51 is configured by a liquid crystal lens or a liquid lens capable of adjusting a focal length by an applied voltage, as an autofocus function without using a mechanism for mechanically moving the lens. May be.
図13は、液晶レンズの概念を示す構成図である。液晶レンズ51aは、ホモジニアス(ねじれのない)分子配列の液晶層53を、ガラス板54の間に封止した構成で、各ガラス板54には、金属酸化物の透明電極55a、55bが形成される。液晶レンズ51aは、透明電極55a、55bに電圧を印加し、印加する電圧を調整することで、液晶分子53aの配向状態が変化する。液晶レンズ51aは、液晶分子53aの配向状態を変化させることで、屈折率が変化し、屈折率が変化することで、焦点距離が変化する。これにより、液晶レンズ51aは、印加する電圧を調整することで焦点位置を動かし、合焦を行うことができる。
FIG. 13 is a configuration diagram showing the concept of the liquid crystal lens. The
図14は、液体レンズの概念を示す構成図である。液体レンズ51bは、導電性の高い水溶液56と絶縁体の油57が、光を透過する透明な窓部を対向する2面に有した容器58に封じ込められる。液体レンズ51bには、水溶液56と接する電極59aと、絶縁部を介して水溶液56と油57の両方と接する電極59bが備えられる。
FIG. 14 is a configuration diagram showing the concept of the liquid lens. In the
液体レンズ51bは、電極59a及び電極59bから電気を流し、水溶液56に電圧を印加すると、水溶液56と油57との境界面56aの形状を変化させることができる。このような現象をエレクトロウエッティング現象と称す。水溶液56と油57との境界面56aの曲率を変えることで焦点位置を動かし、合焦を行うことができる。
The
ここで、可変焦点レンズ51として液晶レンズ51aまたは液体レンズ51bを用いた構成では、温度変動による焦点位置のずれを補正するため、温度補償が必要となる。このため、光学的情報読取装置1Aは、液晶レンズ51aまたは液体レンズ51bで構成される可変焦点レンズ51及び可変焦点レンズ51の近傍の温度を検知する温度検知手段として、図1に示すように、温度センサ7をカメラ部10に備える。
Here, in the configuration in which the
光学的情報読取装置1Aは、測距光出射部2で測距光を出射して求めたコード記号100までの距離情報から導き出される液晶レンズ51aまたは液体レンズ51bの焦点位置を、温度センサ7で検知される温度情報で補正して、正確なオートフォーカスを実現する。
The
次に、デコード部11について説明すると、デコード部11は制御手段の一例で、CPU12と、CPU12が実行するプログラムとテーブルを記憶したROM13と、CPU12が各種の処理を実行する際の作業領域として使用するRAM14を備えている。
Next, the decoding unit 11 will be described. The decoding unit 11 is an example of a control unit. The decoding unit 11 is used as a work area when the
CPU12としては、例えば、エーシック(Application Specific Integrated Circuit:ASIC)を用いることができる。また、ROM13としては、フラッシュロム(FROM)を用いることができ、RAM14としては、SDRAM(Synchronous Dynamic Random Access Memory)を用いることができる。
For example, an ASIC (Application Specific Integrated Circuit: ASIC) can be used as the
CPU12は、RAM14を作業領域としてROM13に記憶されたプログラムを実行することにより、光学的情報読取装置1A全体の動作を制御すると共に、固体撮像素子3が撮像したデジタル画像データに基づく、読取対象物の検知、読取対象物までの距離の測距、求めた距離に基づく合焦点制御、コード記号100のデコード、デコード結果の外部への出力あるいは蓄積等に必要な処理を行う。
The
<本実施の形態の光学的情報読取装置の動作例>
図15及び図16は、本実施の形態の光学的情報読取装置におけるコード記号の読取動作を示すフローチャートで、次に、各図を参照して、本実施の形態の光学的情報読取装置1Aの動作について説明する。
<Example of Operation of Optical Information Reading Device of Present Embodiment>
FIG. 15 and FIG. 16 are flowcharts showing the code symbol reading operation in the optical information reading apparatus of the present embodiment. Next, referring to the drawings, the optical
ここで、図15は、図2に示すマニュアルトリガと称されるコードスキャナによる読取動作を示し、図16は、図3に示すオートトリガと称されるコードスキャナによる読取動作を示す。 Here, FIG. 15 shows a reading operation by a code scanner called a manual trigger shown in FIG. 2, and FIG. 16 shows a reading operation by a code scanner called an auto trigger shown in FIG.
まず、マニュアルトリガのコードスキャナによる読取動作について説明する。図15のステップSA1で、図示しない操作ボタンの操作等により、マニュアルトリガがONとなると、ステップSA2で、CPU12は、測距光出射部2を制御して測距光Saまたは測距光Sbの照射を開始すると共に、固体撮像素子3を制御して読取対象物に形成される図4に示す測距パターン101aまたは図5に示す測距パターン101bの撮像を開始する。
First, the reading operation by the manual trigger code scanner will be described. When the manual trigger is turned on by operating an operation button (not shown) or the like in step SA1 in FIG. 15, the
図15のステップSA3で、CPU12は、固体撮像素子3で測距パターン101aまたは測距パターン101bを撮像して取得した画像から、露出を計算する。また、上述したように、信号の立ち下がりと信号の立ち上がりで測距位置である非照射領域103aまたは非照射領域103bを検出する。そして、非照射領域103aまたは非照射領域103bの座標から、読取対象物との距離を計算する。
In step SA3 in FIG. 15, the
図15のステップSA4で、CPU12は、照明光出射部4による照明光Scの照射時間を制御して露出を合わせると共に、撮像光学部5を制御して読取対象物であるコード記号100にフォーカスを合わせる。なお、撮像光学部5を構成する可変焦点レンズ51が液晶レンズ51aまたは液体レンズ51bである構成では、読取対象物までの距離と、温度センサ7で検出した温度に基づき、図示しない距離−電圧テーブルを参照して印加電圧を設定し、フォーカスを行う。
In step SA4 of FIG. 15, the
図15のステップSA5で、CPU12は、固体撮像素子3を制御して、デコードを行う読取対象物であるコード記号100の撮像を開始し、ステップSA6で、固体撮像素子3からコード記号100を含む読取対象物の画像をデコード部11に転送する。
In step SA5 of FIG. 15, the
図15のステップSA7で、CPU12は、固体撮像素子3から転送された画像が、デコード可能な画像であるか判断する。固体撮像素子3から転送された画像が、デコード可能な画像ではないと判断すると、ステップSA2に戻り、測距光の照射、測距、及び読取対象物の撮像を行う。
In step SA7 in FIG. 15, the
固体撮像素子3から転送された画像が、デコード可能な画像であると判断すると、図15のステップSA8で、CPU12は、デコード処理を開始し、ステップSA9で、デコード処理が可能であると判断すると、コード記号100のデコード処理を行って、読取処理を終了する。また、ステップSA9で、デコード処理が可能ではないと判断すると、ステップSA2に戻り、測距光の照射、測距、及び読取対象物の撮像を行う。
If it is determined that the image transferred from the solid-
次に、オートトリガのコードスキャナによる読取動作について説明する。図16のステップSB1で、物品がかざされる等によりオートトリガがONとなると、ステップSB2で、CPU12は、測距光出射部2を制御して測距光Saまたは測距光Sbの照射を開始すると共に、固体撮像素子3を制御して読取対象物に形成される図4に示す測距パターン101aまたは図5に示す測距パターン101bの撮像を開始する。
Next, the reading operation by the auto trigger code scanner will be described. When the auto-trigger is turned on in step SB1 in FIG. 16 due to an article being held over or the like, in step SB2, the
図16のステップSB3で、CPU12は、固体撮像素子3の出力から、読取対象物からの画像信号があるか判断し、読取対象物からの画像信号が無いと判断すると、ステップSB2に戻り、測距光の照射及び撮像を行う。
In step SB3 of FIG. 16, the
読取対象物からの画像信号が有ると判断すると、図16のステップSB4で、CPU12は、固体撮像素子3で測距パターン101aまたは測距パターン101bを撮像して取得した画像から、露出を計算する。また、非照射領域103aまたは非照射領域103bを検出して、非照射領域103aまたは非照射領域103bの座標から、読取対象物との距離を計算する。
If it is determined that there is an image signal from the reading object, in step SB4 in FIG. 16, the
図16のステップSB5で、CPU12は、照明光出射部4による照明光Scの照射時間を制御して露出を合わせると共に、撮像光学部5を制御して読取対象物であるコード記号100にフォーカスを合わせる。
In step SB5 of FIG. 16, the
図16のステップSB6で、CPU12は、固体撮像素子3を制御して、デコードを行う読取対象物であるコード記号100の撮像を開始し、ステップSB7で、固体撮像素子3からコード記号100を含む読取対象物の画像をデコード部11に転送する。
In step SB6 of FIG. 16, the
図16のステップSB8で、CPU12は、固体撮像素子3から転送された画像が、デコード可能な画像であるか判断する。固体撮像素子3から転送された画像が、デコード可能な画像ではないと判断すると、ステップSB5に戻り、露出調整、フォーカス調整、及び読取対象物の撮像を行う。
In step SB8 in FIG. 16, the
固体撮像素子3から転送された画像が、デコード可能な画像であると判断すると、図16のステップSB9で、CPU12は、デコード処理を開始し、ステップSB10で、デコード処理が可能であると判断すると、コード記号100のデコード処理を行って、読取処理を終了する。また、ステップSB10で、デコード処理が可能ではないと判断すると、ステップSB5に戻り、露出調整、フォーカス調整、及び読取対象物の撮像を行う。
If it is determined that the image transferred from the solid-
図17は、本実施の形態の光学的情報読取装置における測距動作の一例を示すフローチャート、図18は、測距パターンと取り込むエリアの関係を示す説明図、図19は、測距パターンを撮像して得られる画像信号の一例を示す説明図で、次に、各図を参照して、図15に示すフローチャートのステップSA2、SA3、図16に示すフローチャートのステップSB2、SB4で説明した測距光の照射、測距パターンの撮像、及び距離計算の詳細について説明する。 FIG. 17 is a flowchart showing an example of a distance measuring operation in the optical information reading apparatus of this embodiment, FIG. 18 is an explanatory diagram showing the relationship between the distance measuring pattern and the area to be captured, and FIG. 19 is an image of the distance measuring pattern. FIG. 15 is an explanatory diagram illustrating an example of an image signal obtained in this manner. Next, with reference to each drawing, the distance measurement described in steps SA2 and SA3 of the flowchart shown in FIG. 15 and steps SB2 and SB4 of the flowchart shown in FIG. Details of light irradiation, imaging of a distance measurement pattern, and distance calculation will be described.
図17のステップSC1で、CPU12は、測距光出射部2を制御して測距光Saまたは測距光Sbの照射を開始し、ステップSC2で、固体撮像素子3を制御して、読取対象物に形成される測距パターン101aまたは測距パターン101bの撮像を開始する。測距パターン101aまたは測距パターン101bの撮像が終了すると、ステップSC3で、測距光Saまたは測距光Sbの照射を終了し、ステップSC4で、測距パターン101aまたは測距パターン101bの画像を取り込む。
In step SC1 of FIG. 17, the
測距パターン101aまたは測距パターン101bの画像を取り込むと、CPU12は、図17のステップSC5で、図18に示すように予め定められた測距用画像のサンプリングエリアE1をスキャンする。
When the image of the
測距パターン101aまたは測距パターン101bは、水平方向に幅をもつ信号であり、図18に示すように、測距パターン101aまたは測距パターン101bの形状に合わせてサンプリングエリアE1を設定する。そして、例えば、固体撮像素子3で取得した画像の中心付近から、非照射領域103aまたは非照射領域103bを検出できるまで、すなわち、図19に示す測距信号部SgDである信号の落ち込み部分を検出できるまで、順次スキャンを行う。
The
これにより、図18に示すように、測距パターンの画像を取り込む測距用画像のサンプリングエリアE1を設定すれば、全画素分の画像をスキャンする必要はなく、測距に要する時間を短縮できる。 Thus, as shown in FIG. 18, if the sampling area E1 of the distance measurement image for capturing the distance measurement pattern image is set, it is not necessary to scan the image for all pixels, and the time required for distance measurement can be shortened. .
測距用画像のサンプリングエリアE1をスキャンすると、図17のステップSC6で、CPU12は、取り込んだ画像に測距パターン101aまたは測距パターン101bの信号があるか判断する。測距パターン101aまたは測距パターン101bの信号が無いと判断すると、処理を終了する。
When the distance measurement image sampling area E1 is scanned, in step SC6 in FIG. 17, the
取り込んだ画像に測距パターン101aまたは測距パターン101bの信号があると判断すると、図17のステップSC7で、CPU12は、図19に示す測距信号部SgDである信号の落ち込み部分の画素の座標を計算する。
If it is determined that there is a signal of the
信号の落ち込み部分の画素の座標を計算すると、図17のステップSC8で、CPU12は、上述したパラメータと(1)式に基づき予め設定された測距テーブルを参照して、読取対象物であるコード記号100までの距離を求め、ステップSC9で、撮像光学部5を制御してフォーカスを合わせる。
When the coordinates of the pixel of the signal drop portion are calculated, in step SC8 in FIG. 17, the
<本実施の形態の光学的情報読取装置の効果例>
本実施の形態の光学的情報読取装置1Aでは、測距光Sa(Sb)を照射して、光の照射領域102a(102b)の間に非照射領域103a(103b)が設けられる測距パターン101a(101b)を読取対象物に形成し、測距パターン101a(101b)を撮像した画像信号から、信号の落ち込む部分を検出して測距に必要な信号を取得し、読取対象物までの距離を求めるので、周辺光量の変化や、読取対象物の大きさ等によらず、処理速度の高速化を図り、確実に測距を行うことができる。
<Example of effects of optical information reading apparatus of this embodiment>
In the optical
また、測距光Sa(Sb)を可視光とし、照射領域102a(102b)を、撮像光学部5の画角、固体撮像素子3の撮像エリアの画素部の大きさ等に応じた読取可能範囲に合わせることで、測距に用いる単一の光源及び光学系で、読取可能範囲の表示を行うことができる。
The range-finding light Sa (Sb) is visible light, and the
これにより、読取可能範囲を表示するための別の光源、及び光源から出射した光を読取可能範囲に合わせる光学系を備える必要がなく、装置の小型化、及び低コスト化を図ることができる。また、読取可能範囲を表示することで、コード記号100が読取可能範囲に入っていないことに起因する読取動作の試行を繰り返す必要が無くなり、読取動作の高速化が図れる。
Accordingly, it is not necessary to provide another light source for displaying the readable range and an optical system for matching the light emitted from the light source to the readable range, and the apparatus can be reduced in size and cost. In addition, by displaying the readable range, it is not necessary to repeat the trial of the reading operation due to the
更に、シリンドリカルレンズ等の光学レンズを用いて測距パターン101a(101b)を形成できることから、回折格子やホログラムを使用するような光学系と比較して、コストを抑えることができる。
Furthermore, since the
図20は、本実施の形態の光学的情報読取装置の効果の一例を示す説明図、図21は、比較例として従来の測距方法の課題を示す説明図であり、次に、信号の落ち込む部分を利用して測距を行う効果の詳細について説明する。 FIG. 20 is an explanatory diagram showing an example of the effect of the optical information reading apparatus according to the present embodiment. FIG. 21 is an explanatory diagram showing a problem of a conventional distance measuring method as a comparative example. Details of the effect of distance measurement using the portion will be described.
上述した図15のフローチャートのステップSA2、または、図16のフローチャートのステップSB2で、測距パターン101aまたは測距パターン101bの画像を取得する動作では、読取対象物が近くに存在する場合や、周辺光量が大きい場合等に、1回目の撮像で露出が飽和する場合がある。
In the operation of acquiring the image of the
そこで、図15のステップSA3、または、図16のステップSB4で、固体撮像素子3で測距パターン101aまたは測距パターン101bを撮像して取得した画像から、露出を計算し、露出が飽和して測距か可能な信号ではないような場合に、露出を補正して、測距が可能な信号を得るようにしている。
Therefore, in step SA3 in FIG. 15 or step SB4 in FIG. 16, the exposure is calculated from the image acquired by imaging the
図21(a)に示すように、測距用に設定したスポット状の強度の強い信号Sp4を検出する従来の測距方法では、露出が飽和すると、図21(b)に示すように、信号の強度のピークを検出することができず、測距に必要な信号を得ることができない。信号の強度のピークを検出する場合、許容露出値が狭く、露出の補正が必要で、測距処理の高速化の妨げになる。 As shown in FIG. 21A, in the conventional distance measuring method for detecting a spot-like strong signal Sp4 set for distance measurement, when exposure is saturated, as shown in FIG. It is impossible to detect the intensity peak and to obtain a signal necessary for distance measurement. When detecting a signal intensity peak, the allowable exposure value is narrow and exposure correction is required, which hinders speeding up of the distance measurement process.
これに対して、図20(a)に示すように、信号の落ち込む部分を利用して測距を行う本願発明の光学的情報読取装置1Aでは、露出が飽和しても、図20(b)に示すように、信号の立ち下がりと信号の立ち上がりから測距信号部SgDを検出することができ、信号の落ち込み部分の座標を一意に求めることができる。
On the other hand, as shown in FIG. 20 (a), in the optical
これにより、信号の落ち込みを検出する本実施の形態の測距方法は、従来の信号強度レベルのピークを検出する方法と比較して、測距可能な信号の許容露出値が広くなり、画像の露出補正の回数を少なくし、測距処理の高速化を図ることができる。 As a result, the distance measuring method according to the present embodiment for detecting the drop of the signal has a wider allowable exposure value of the signal that can be measured, compared to the conventional method for detecting the peak of the signal intensity level, and The number of exposure corrections can be reduced to speed up the distance measurement process.
図22は、本実施の形態の光学的情報読取装置の効果の他の例を示す説明図、図23、図24は、比較例として従来の測距方法の課題を示す説明図であり、次に、放射角を持つ光源で、読取可能範囲を示す照射領域の間に非照射領域を形成し、信号の落ち込む部分を利用して測距を行う効果について説明する。 FIG. 22 is an explanatory view showing another example of the effect of the optical information reading apparatus of the present embodiment, and FIGS. 23 and 24 are explanatory views showing problems of a conventional distance measuring method as a comparative example. Next, the effect of performing distance measurement using a light source having a radiation angle, forming a non-irradiation region between irradiation regions indicating a readable range, and using a portion where a signal falls will be described.
可変焦点機能を持つバーコードスキャナによる従来の測距方法としては、レーザ光源から出射される光で読取対象物に形成したスポットを固体撮像素子で撮像し、スポットの座標で測距を行う技術が知られている。一方、図23(a)に示すように、放射角を持った光源でも、強度の強いスポット部Spを測距点にすることが可能である。 As a conventional distance measuring method using a barcode scanner having a variable focus function, there is a technique in which a spot formed on an object to be read with light emitted from a laser light source is imaged with a solid-state image sensor, and distance measurement is performed using the coordinates of the spot. Are known. On the other hand, as shown in FIG. 23A, even with a light source having a radiation angle, a spot portion Sp having a high intensity can be used as a distance measuring point.
すなわち、放射角を持った光源から出射される測距光Sdで、強度の強いスポット部Spを中心に持つパターンを形成し、このパターンを固体撮像素子で撮像すると、図24(a)に示すように、中心部分にスポットに対応した信号Sp1を確認できる。これにより、この信号の座標を求めることで、測距を行うことができる。 That is, when ranging light Sd emitted from a light source having a radiation angle is used to form a pattern having a spot portion Sp having a high intensity as a center, and this pattern is imaged by a solid-state imaging device, FIG. Thus, the signal Sp1 corresponding to the spot can be confirmed at the central portion. Thus, distance measurement can be performed by obtaining the coordinates of this signal.
しかし、図23(b)に示すように、コード記号100が形成された読取対象物105が、光源の放射角に比較して小さい場合、読取対象物105に測距光Sdで照射される部分と照射されない部分が存在し、測距光Sdが反射しない部分が発生する。
However, as shown in FIG. 23B, when the
このため、図24(b)に示すように、放射角を持つ測距光Sdで形成されるパターンを固体撮像素子で撮像した画像中に、信号の欠ける部分が存在すると、測距用に設定した強度の強い信号Sp1以外に、信号の立ち上がりと立ち下がりが近接することで、測距用に設定した強度の強い信号Sp2と同形状の信号Sp3が発生することがある。 For this reason, as shown in FIG. 24B, if a portion lacking a signal is present in an image obtained by picking up a pattern formed by distance measuring light Sd having a radiation angle with a solid-state imaging device, it is set for distance measurement. In addition to the strong signal Sp1, the signal Sp3 having the same shape as the strong signal Sp2 set for distance measurement may be generated due to the close rise and fall of the signal.
従って、測距用に設定した強度の強い信号と同形状の信号が他にあると、信号の強度のピークを検出して座標を一意に求めることができず、測距を行うことができない。 Therefore, if there is another signal having the same shape as the strong signal set for distance measurement, the signal intensity peak cannot be detected to uniquely determine the coordinates, and distance measurement cannot be performed.
これに対して、本願発明の光学的情報読取装置1Aでは、図22(a)に示すように、コード記号100が形成された読取対象物105が、測距パターン101aまたは測距パターン101bに比較して小さく、測距パターン101aまたは測距パターン101bが反射しない部分が発生しても、図22(b)に示すように、測距信号部SgDである信号の落ち込み部分は、複数個所に存在することはない。
On the other hand, in the optical
従って、本実施の形態の光学的情報読取装置1Aでは、信号の立ち下がりと信号の立ち上がりを検出することで、信号の落ち込み部分の座標を一意に求めることができ、読取対象物の大きさ等の条件によらず、測距を確実に行うことができる。
Therefore, in the optical
本発明は、バーコードリーダや二次元コードリーダ等に利用することができ、測距精度の高いオートフォーカスを実現できる。 The present invention can be used for a barcode reader, a two-dimensional code reader, and the like, and can realize autofocus with high ranging accuracy.
1A・・・光学的情報読取装置、2・・・測距光出射部、3・・・固体撮像素子、4・・・照明光出射部、5・・・撮像光学部、10・・・カメラ部、11・・・デコード部、100・・・コード記号、101a,101b・・・測距パターン、102a,102b・・・照射領域、103a,103b・・・非照射領域
DESCRIPTION OF
Claims (5)
読取対象物を撮像する撮像手段と、
読取対象物との距離を測距する測距手段と、
前記測距手段を用いて読取対象物までの距離を算出し、算出された距離情報に基づき前記撮像光学手段を制御して、前記撮像手段で読取対象物の撮像を行う制御手段とを備え、
前記測距手段は、光の照射領域と非照射領域が組み合わせられた測距パターンを読取対象物に形成する測距光を出射し、
前記制御手段は、読取対象物に形成された前記測距パターンを前記撮像手段で撮像して前記測距パターンの画像を取得し、前記撮像手段に入射する光の強度に応じて信号が落ち込む部分を検出して、前記測距パターンの前記非照射領域の座標に基づき測距を行う
ことを特徴とする光学的情報読取装置。 Imaging optical means having a variable focus optical system;
An imaging means for imaging a reading object;
Distance measuring means for measuring the distance to the reading object;
Control means for calculating the distance to the reading object using the distance measuring means, controlling the imaging optical means based on the calculated distance information, and imaging the reading object by the imaging means;
The distance measuring means emits distance measuring light that forms a distance measuring pattern in which a light irradiation area and a non-irradiation area are combined on a reading object,
The control means obtains an image of the distance measurement pattern by imaging the distance measurement pattern formed on the object to be read by the imaging means, and a portion in which the signal falls according to the intensity of light incident on the image pickup means The optical information reading apparatus is characterized in that the distance is measured based on the coordinates of the non-irradiation area of the distance measurement pattern.
ことを特徴とする請求項1記載の光学的情報読取装置。 2. The optical information reading apparatus according to claim 1, wherein the distance measurement pattern has one non-irradiation region formed in a central portion of the irradiation region.
ことを特徴とする請求項1または2記載の光学的情報読取装置。 The optical information reading apparatus according to claim 1, wherein the distance measuring pattern is formed by irradiating a reading object with distance measuring light in a visible region.
ことを特徴とする請求項3記載の光学的情報読取装置。 The optical information reading device according to claim 3, wherein the distance measurement pattern indicates a readable range in the irradiation area that spreads in one direction.
前記光源から出射された光の一部を屈折または反射、あるいは屈折と反射で光路を変更して、前記測距領域の間に前記非照射領域が設けられる前記測距パターンを形成するパターン形成レンズを備えた
ことを特徴とする請求項1から請求項4のいずれか1項に記載の光学的情報読取装置。 The distance measuring means includes a light source that emits light at a predetermined radiation angle in at least one direction;
A pattern forming lens that forms the distance measuring pattern in which the non-irradiation area is provided between the distance measuring areas by refraction or reflection of a part of the light emitted from the light source or changing the optical path by refraction and reflection. The optical information reader according to any one of claims 1 to 4, further comprising:
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011035161A JP2012173124A (en) | 2011-02-21 | 2011-02-21 | Optical information reading device |
PCT/JP2012/053991 WO2012115045A1 (en) | 2011-02-21 | 2012-02-20 | Optical information reading device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011035161A JP2012173124A (en) | 2011-02-21 | 2011-02-21 | Optical information reading device |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2012173124A true JP2012173124A (en) | 2012-09-10 |
Family
ID=46720822
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2011035161A Withdrawn JP2012173124A (en) | 2011-02-21 | 2011-02-21 | Optical information reading device |
Country Status (2)
Country | Link |
---|---|
JP (1) | JP2012173124A (en) |
WO (1) | WO2012115045A1 (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2016042642A1 (en) * | 2014-09-18 | 2016-03-24 | 富士通フロンテック株式会社 | Distance measuring light generating device |
JP2018106126A (en) * | 2016-12-28 | 2018-07-05 | 株式会社ミツトヨ | Focal distance variable lens device |
JP2018112521A (en) * | 2017-01-13 | 2018-07-19 | 株式会社オプトエレクトロニクス | Dimension measurement device, information reading device with measurement function, and dimension measurement method |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH08339498A (en) * | 1995-06-09 | 1996-12-24 | Yazaki Corp | Vehicle periphery monitor device |
JP2002056348A (en) * | 2000-08-07 | 2002-02-20 | Tohken Co Ltd | Hand readout device with autofocus function, autofocus method, and distance measuring method |
JP2003050111A (en) * | 2001-08-07 | 2003-02-21 | Minolta Co Ltd | Three-dimensional shape input device and projector |
JP4186915B2 (en) * | 2003-12-18 | 2008-11-26 | 株式会社デンソーウェーブ | Optical information reader |
JP4473337B1 (en) * | 2009-07-31 | 2010-06-02 | 株式会社オプトエレクトロニクス | Optical information reading apparatus and optical information reading method |
-
2011
- 2011-02-21 JP JP2011035161A patent/JP2012173124A/en not_active Withdrawn
-
2012
- 2012-02-20 WO PCT/JP2012/053991 patent/WO2012115045A1/en active Application Filing
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2016042642A1 (en) * | 2014-09-18 | 2016-03-24 | 富士通フロンテック株式会社 | Distance measuring light generating device |
JP2018106126A (en) * | 2016-12-28 | 2018-07-05 | 株式会社ミツトヨ | Focal distance variable lens device |
CN108254814A (en) * | 2016-12-28 | 2018-07-06 | 株式会社三丰 | Lens of variable focal length equipment |
CN108254814B (en) * | 2016-12-28 | 2021-08-20 | 株式会社三丰 | Variable focal length lens apparatus |
JP2018112521A (en) * | 2017-01-13 | 2018-07-19 | 株式会社オプトエレクトロニクス | Dimension measurement device, information reading device with measurement function, and dimension measurement method |
Also Published As
Publication number | Publication date |
---|---|
WO2012115045A1 (en) | 2012-08-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4473337B1 (en) | Optical information reading apparatus and optical information reading method | |
US6689998B1 (en) | Apparatus for optical distancing autofocus and imaging and method of using the same | |
US7303131B2 (en) | Automatic focusing system for imaging-based bar code reader | |
JP4380663B2 (en) | Three-dimensional shape measurement method, apparatus, and focus adjustment method | |
US20080290169A1 (en) | Compact autofocus bar code reader with moving mirror | |
US20110317156A1 (en) | Inspection device for defect inspection | |
US20190228195A1 (en) | Dual-imaging vision system camera, aimer and method for using the same | |
EP0516837A1 (en) | Bar code scanner with a large depth of field. | |
US9234648B2 (en) | Illumination apparatus and method for the generation of an illumination field | |
JP2011530722A (en) | Liquid lens with temperature compensated focusing time | |
JP7350027B2 (en) | Acquisition of image data of moving objects | |
CA2524828C (en) | Dual laser targeting system | |
JP2011504247A (en) | Optical code scanner with autofocus | |
JP7192022B2 (en) | Camera and image data acquisition method | |
US8028919B2 (en) | Imaging bar code reader with single prism focus adjustment | |
JP2012508927A5 (en) | ||
WO2012115045A1 (en) | Optical information reading device | |
US9225893B2 (en) | Information display device and display driving method | |
CN100517198C (en) | Pointing device | |
JP6273109B2 (en) | Optical interference measurement device | |
CN109154974A (en) | Determine the arrangement and method of target range and the reading parameter based on target range adjustment imaging reader | |
KR100950590B1 (en) | Moire measurement method using concentrate light | |
WO2017051074A1 (en) | Method and apparatus for measuring the height of a surface | |
WO2019123869A1 (en) | Image acquisition device and image acquisition method | |
JP2009042128A (en) | Height measuring device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A300 | Withdrawal of application because of no request for examination |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20140513 |