JP4181071B2 - Double line sensor camera and code reader using the camera - Google Patents

Double line sensor camera and code reader using the camera Download PDF

Info

Publication number
JP4181071B2
JP4181071B2 JP2004054544A JP2004054544A JP4181071B2 JP 4181071 B2 JP4181071 B2 JP 4181071B2 JP 2004054544 A JP2004054544 A JP 2004054544A JP 2004054544 A JP2004054544 A JP 2004054544A JP 4181071 B2 JP4181071 B2 JP 4181071B2
Authority
JP
Japan
Prior art keywords
code
light
line
article
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP2004054544A
Other languages
Japanese (ja)
Other versions
JP2005242884A (en
Inventor
和則 末永
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tohken Co Ltd
Original Assignee
Tohken Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tohken Co Ltd filed Critical Tohken Co Ltd
Priority to JP2004054544A priority Critical patent/JP4181071B2/en
Publication of JP2005242884A publication Critical patent/JP2005242884A/en
Application granted granted Critical
Publication of JP4181071B2 publication Critical patent/JP4181071B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Description

本発明は、異なる反射率又は正反射、拡散反射光の差で形成されるマークで表わされる1次元若しくは2次元のコードを読取対象として、シール状の媒体に印刷若しくは物体表面に直接形成されたコードを光学的に非接触で読取るコード読取装置に関し、特に、撮像形態が異なる2つのラインセンサを備えたセンサカメラ(ダブルラインセンサカメラ)、及びそのカメラを用いたコード読取装置に関する。   In the present invention, a one-dimensional or two-dimensional code represented by a mark formed by a difference in reflectance, specular reflection, or diffuse reflection light is printed on a seal-like medium or directly formed on an object surface. More particularly, the present invention relates to a sensor camera (double line sensor camera) including two line sensors having different imaging forms, and a code reader using the camera.

近年、製品や部品の管理情報を短時間で認識するために、製品や部品の番号、商品名、価格その他の情報を白黒等のしま模様で記号化した1次元又は2次元コードが広く用いられている。これらの異なる反射率又は正反射、拡散射光の差で形成されるコードで表わされる1次元コードや2次元コードなど、符号化された情報を有するコードは、例えば1次元コードにおいては、線の幅の比の組合せで一連の数字を表しており、製品や部品の番号等の各種の情報が上記数字に置き換えられている。このような1次元のバーから成る1次元コードや2次元のセルから成る2次コードを光学的に読取るコード読取装置は、操作者が装置を手に持って利用する手持ち式のタイプと、搬送路の所定の位置に固設される定置式のタイプがある。   In recent years, in order to recognize management information of products and parts in a short time, one-dimensional or two-dimensional codes in which product and part numbers, product names, prices, and other information are symbolized by black and white stripes are widely used. ing. A code having encoded information, such as a one-dimensional code or a two-dimensional code represented by a code formed by a difference between these different reflectances or specular reflections and diffused light, is, for example, a line width in a one-dimensional code. A series of numbers is represented by a combination of the ratios, and various information such as product and part numbers are replaced with the above numbers. Such a code reader that optically reads a one-dimensional code composed of a one-dimensional bar or a secondary code composed of a two-dimensional cell is a hand-held type that an operator uses while holding the device, There is a stationary type fixed at a predetermined position on the road.

定置式のコード読取装置は、物流配送センター等において使用されている。例えば、物流配送センターにおいては、届け先や種類がランダムに投入された物品をベルトコンベア等の搬送手段によって搬送し、搬送される物品の表面に付されたラベルの情報を撮像手段によって撮像し、その画像を処理してコードを読取り、その情報に基づいて各種の物品を仕分装置によって自動的に仕分けることが行われている。   Stationary code readers are used in distribution distribution centers and the like. For example, in a distribution center, an article with a random delivery destination and type is conveyed by a conveying means such as a belt conveyor, and information on a label attached to the surface of the conveyed article is imaged by an imaging means. A code is read by processing an image, and various articles are automatically sorted by a sorting device based on the information.

このように、ベルトコンベア等の搬送手段によって搬送される物品のコードを光学的に読取るコード読取装置では、例えば、CCD型ラインセンサ,撮像カメラ(2次元イメージセンサ)等から成る撮像手段を搬送路の所定の位置に設置しておき、搬送されてくる物品に対して光源からの光束を照射すると共に、コードが付されている物品の面を撮像手段によって撮像し、その画像を処理してコードを解読するという方式が採られている。このような定置式又は手持ち式のコード読取装置は、一般的に固定焦点の撮像手段を用いているが、近年では、オートフォーカス機能を有する手持ち式読取装置も提案されている(例えば本出願人による特許文献1参照)。
特開2002−56348号公報
As described above, in a code reading apparatus that optically reads a code of an article conveyed by a conveying means such as a belt conveyor, for example, an imaging means including a CCD type line sensor, an imaging camera (two-dimensional image sensor), etc. In addition to irradiating the article being conveyed with the light flux from the light source, the surface of the article to which the code is attached is imaged by the imaging means, the image is processed, and the code The method of deciphering is adopted. Such stationary or hand-held code readers generally use fixed-focus imaging means, but recently, hand-held readers having an autofocus function have also been proposed (for example, the present applicant). (See Patent Document 1).
JP 2002-56348 A

しかしながら、上述したような従来のコード読取装置においては、物品(被写体)の種類によっては、コード面の凹凸やコード面を覆う部材等からの光の正反射による影響でコード画像の一部が欠落し、コードが解読できないという問題(以下、「第1の問題」とする)があった。   However, in the conventional code reading apparatus as described above, a part of the code image is lost due to the influence of the regular reflection of light from the unevenness of the code surface or the member covering the code surface depending on the type of the object (subject). However, there is a problem that the code cannot be decoded (hereinafter referred to as “first problem”).

例えば、コード読取対象の物品が、ビニール製のカバーで被覆したアパレル製品の場合は、光源から照射した光束はカバーの表面で一部が正反射し、さらに、コード面からの反射光がカバーの内面で一部が正反射するため、これらの正反射の影響でコードの画像の一部が欠落し、コードが解読できなかった。また、コードが曲面部に付された物品においては、曲面からの正反射による影響でコード画像の一部が欠落し、解読できない状態が生じ易いという問題があった。さらに、コード読取対象の物品がタイヤの場合は、内側の周縁の傾斜部分にコード(ラベル)が付されているため、コード面から正反射した光の角度が直方体状の物品とは異なるため、直方体状の物品に合せた撮像角度で撮像した画像では、コードの解読ができなかった。   For example, if the article to be read is an apparel product covered with a vinyl cover, a part of the light beam emitted from the light source is regularly reflected on the surface of the cover, and the reflected light from the code surface is reflected on the cover. Since a part of the inner surface is specularly reflected, a part of the code image is lost due to the effect of the specular reflection, and the code cannot be decoded. Further, in the article with the code attached to the curved surface portion, there is a problem that a part of the code image is lost due to the influence of regular reflection from the curved surface, and an unreadable state is likely to occur. Furthermore, when the article to be read is a tire, since the code (label) is attached to the inclined portion of the inner peripheral edge, the angle of the light regularly reflected from the code surface is different from a rectangular parallelepiped article, The code could not be deciphered in an image captured at an imaging angle matched to a rectangular parallelepiped article.

このように、コード読取対象の物品の種類によって生じる問題としては、光源から照射した光の正反射による影響でコードが解読不能となる上記第1の問題の他に、撮像手段の被写界深度が起因してコードが解読できないという問題(以下、「第2の問題」とする)があった。   As described above, as a problem caused by the type of article to be read by the code, in addition to the first problem in which the code cannot be decoded due to the influence of regular reflection of light emitted from the light source, the depth of field of the imaging unit Has caused a problem that the code cannot be decoded (hereinafter referred to as “second problem”).

例えば、大きさ(特に、コードが付された面の高さ)が異なる複数種類の物品を対象とした場合、撮像手段の被写界深度を超えた物品のコードは解読できなかった。このような問題は、個々の高さが異なる物品を対象としたケースの他に、例えば、L字形のワークなど、段差を有する物品で且つ各段の上面部にそれぞれコードが付されている物品を対象としたケース、或いは、段差を有する物品で且つ各段のいずれか1つの上面部にコードが付されている物品を対象としたケースでも同様である。   For example, when a plurality of types of articles having different sizes (particularly, the height of the surface to which the code is attached) are targeted, the code of the article exceeding the depth of field of the imaging means cannot be decoded. In addition to cases targeting articles of different heights, such problems include articles having steps, such as L-shaped workpieces, and a code attached to the upper surface of each step. The same applies to a case that targets a case, or a case that is an article having a step and an article having a code attached to any one upper surface portion of each step.

これらの第1及び第2の問題は、2台以上のコード読取装置とそれらに接続される画像処理装置の制御や画像処理を変更することで解決できると考えられるが、コストがかかるという難点や設置空間が大きくなるなどの問題がある。   These first and second problems can be solved by changing the control and image processing of two or more code reading devices and the image processing devices connected to them, but they are costly. There are problems such as a large installation space.

本発明は上述のような問題に鑑みて成されたものであり、本発明の目的は、従来のコード読取装置では解読できなかった様々な種類の物品に付されたコードを、安価な構成で且つ高精度で解読可能とするセンサカメラ及びそのカメラを用いたコード読取装置を提供することにある。   The present invention has been made in view of the above-described problems, and an object of the present invention is to provide an inexpensive configuration for codes attached to various types of articles that cannot be decoded by a conventional code reader. Another object of the present invention is to provide a sensor camera capable of decoding with high accuracy and a code reader using the camera.

本発明は、ダブルラインセンサ及びそのカメラを用いたコード読取装置に関するものであり、本発明の上記目的は、ダブルラインセンサカメラに関しては、搬送される物品に付された1次元若しくは2次元のコードを光学的に読取るコード読取装置に適用され、撮像形態が異なる少なくとも2つのラインセンサを備えたダブルラインセンサカメラであって、光源からの光束の投射角に対して互いに異なる角度に受光面が配置された第1及び第2のラインセンサと、前記第1及び第2のラインセンサから得られる各々の画素データを合成して1つのラインデータとして出力するデータ合成手段とを備え、前記第1及び第2のラインセンサは各々が前記物品に付されたコード面全体を撮像するようになっていることによって達成される。 The present invention relates to a double line sensor and a code reader using the camera, and the above object of the present invention relates to a one-dimensional or two-dimensional code attached to an article to be conveyed with respect to the double line sensor camera. This is a double line sensor camera that is applied to a code reading device that optically reads light and has at least two line sensors with different imaging forms, and the light receiving surfaces are arranged at different angles with respect to the projection angle of the light beam from the light source. first and second line sensors, by combining each of the pixel data obtained from said first and second line sensors and a data synthesizing means for outputting as a single line data, said first and Each of the second line sensors is accomplished by imaging the entire code surface attached to the article .

或いは、搬送される物品に付された1次元若しくは2次元のコードを光学的に読取るコード読取装置に適用され、撮像形態が異なる少なくとも2つのラインセンサを備えたダブルラインセンサカメラであって、前記物品に付されたコード面から受光面までの光路長が互いに異なる反射光を各受光面で受光して前記物品を撮像する第1及び第2のラインセンサと、前記第1及び第2のラインセンサから得られる各々の画素データを合成して1つのラインデータとして出力するデータ合成手段とを備え、前記第1及び第2のラインセンサは各々が前記物品に付されたコード面全体を撮像するようになっていることによって達成される。 Alternatively, it is a double line sensor camera that is applied to a code reader that optically reads a one-dimensional or two-dimensional code attached to an article to be conveyed, and includes at least two line sensors having different imaging forms, First and second line sensors for picking up images of the article by receiving reflected light having different optical path lengths from the code surface to the light-receiving surface attached to the article on the respective light-receiving faces, and the first and second lines Data synthesizing means for synthesizing each pixel data obtained from the sensor and outputting it as one line data, and each of the first and second line sensors images the entire code surface attached to the article. is achieved by that is so.

更に、前記物品に付されたコード面からの反射光を異なる位置に配置された第1及び第2の反射面で反射してそれぞれの反射光を同一の光学レンズを通して前記第1及び第2のラインセンサの各受光面に対して入射させる反射手段を備え、該反射手段によって前記光路長が異なる反射光を形成する構成としていること、前記第1及び第2のラインセンサの受光面が前記物品に付されたコード面からそれぞれ異なる距離に配置されており、該配置によって前記光路長が異なる反射光を前記第1及び第2のラインセンサの各受光面で受光する構成としていること、前記データ合成手段は、前記第1及び第2のラインセンサの画素出力を1ライン上の前半部と後半部に配置して前記1つのラインデータとして出力すること、1つの光源からの光をそれぞれの鏡面部で反射して異なる角度で第1及び第2の光束を放射し、前記物品に対して異なる方向から前記第1及び第2の光束を照射する照射光分散手段を更に備えること、前記第1及び第2のラインセンサの各画素出力の転送開始画素位置とその位置からの転送画素数を有効画素出力範囲として設定する有効画素出力範囲設定手段を更に備え、前記データ合成手段は、前記有効画素出力範囲設定手段により設定された有効画素出力範囲の画素データを合成して前記1つのラインデータとして出力することによって、それぞれ一層効果的に達成される。 Further, the reflected light from the cord surface attached to the article is reflected by the first and second reflecting surfaces arranged at different positions, and the reflected light is passed through the same optical lens and the first and second reflected light. Reflecting means for entering each light receiving surface of the line sensor is provided, and the reflecting means forms reflected light having different optical path lengths. The light receiving surfaces of the first and second line sensors are the article. Are arranged at different distances from the code surface attached to each of the code surfaces , and reflected light having different optical path lengths depending on the arrangement is received by the light receiving surfaces of the first and second line sensors, and the data The synthesizing means arranges the pixel outputs of the first and second line sensors in the first half and the second half on one line and outputs them as the one line data, and outputs the light from one light source. Irradiation light dispersion means for irradiating the first and second light fluxes from different directions to the article, radiating the first and second light fluxes at different angles reflected by each mirror surface portion, is further provided. , Further comprising effective pixel output range setting means for setting the transfer start pixel position of each pixel output of the first and second line sensors and the number of transfer pixels from that position as an effective pixel output range, The pixel data of the effective pixel output range set by the effective pixel output range setting means are combined and output as the one line data, which is achieved more effectively.

また、コード読取装置に関しては、本発明の上記目的は、搬送される物品に付された1次元若しくは2次元のコードを光学的に読取るコード読取装置において、撮像形態が異なる少なくとも2つのラインセンサを備えたダブルラインセンサカメラと、前記撮像形態が異なる第1及び第2のラインセンサでそれぞれ撮像した前記コードの全体の画像を含む画像データを取込む画像取込手段と、前記画像取込手段で取込んだ画像データを処理して前記第1及び第2のラインセンサで撮像した同一のコードに対するそれぞれのコード画像を認識し、認識した各コード画像のいずれか一方の画像データ若しくは両方の画像データに基づいて前記コードを解読するコード解読手段とを備えることによって達成される。 Regarding the code reader, the object of the present invention is to provide at least two line sensors having different imaging forms in a code reader that optically reads a one-dimensional or two-dimensional code attached to an article to be conveyed. A double line sensor camera, an image capturing unit that captures image data including an entire image of the code respectively captured by the first and second line sensors having different imaging forms, and the image capturing unit. The captured image data is processed to recognize each code image for the same code imaged by the first and second line sensors, and either one of the recognized code images or both image data And a code decrypting means for decrypting the code based on the above.

更に、前記コード解読手段は、前記認識したコード画像が解読できなかった部分が存在する場合、前記解読できなかった部分の位置に対応する相手の画素のデータを用いて前記コード画像のデータを補正し、その画像データにより前記コードを解読する機能を有すること、前記ダブルラインセンサカメラは、光源からの光束の投射角に対して互いに異なる角度に前記第1及び第2のラインセンサの各受光面が配置されており、前記物品に付されたコード面からの反射光を前記第1及び第2のラインセンサの各受光面で受光して前記コードをそれぞれのラインセンサにより撮像する構成としていること、前記ダブルラインセンサカメラは、前記物品に付されたコード面から受光面までの光路長が互いに異なる反射光を前記第1及び第2のラインセンサの各受光面で受光して前記コードをそれぞれのラインセンサにより撮像する構成としていることによって、それぞれ一層効果的に達成される。 Further, when there is a portion where the recognized code image cannot be decoded , the code decoding means corrects the data of the code image using the data of the counterpart pixel corresponding to the position of the portion that could not be decoded. The double line sensor camera has a function of decoding the code based on the image data, and the light receiving surfaces of the first and second line sensors at different angles with respect to the projection angle of the light beam from the light source. Is arranged so that the reflected light from the code surface attached to the article is received by the light receiving surfaces of the first and second line sensors and the code is imaged by the respective line sensors. The double line sensor camera transmits reflected light having different optical path lengths from the code surface to the light receiving surface attached to the article from the first and second lines. By being configured to be captured by each of the line sensors of said code is received by the light receiving surface of the capacitors, each of which is more effectively achieved.

本発明によれば、撮像形態が異なる2つのラインセンサで撮像した2つのコード画像を用いてコードを解読し得るようにしているので、従来のコード読取装置では解読できなかった様々な種類の物品に付されたコードを解読することが可能となる。詳しくは、光源からの光束の投射角に対して互いに異なる角度で各ラインセンサの受光面が配置された第1及び第2のラインセンサをセンサカメラに備え、そのセンサカメラから得られる2つのコード画像を基に解読する形態とすることによって、コード面を覆う透明部材やコード面の凹凸などからの光の正反射による影響で、コード画像の一部が欠落し、従来は解読が不可能であった物品であっても、コードを解読することができる。例えば、ビニール製のカバーで被覆したアパレル製品や、内側の周縁の傾斜部分にコード(ラベル)が付されたタイヤなどを対象とした場合でも、1台のコード読取装置によってコードを解読することが可能となる。   According to the present invention, since the code can be decoded using two code images picked up by two line sensors having different image pickup forms, various kinds of articles that could not be read by a conventional code reader. It becomes possible to decipher the code attached to. Specifically, the sensor camera is provided with first and second line sensors in which the light receiving surfaces of the respective line sensors are arranged at different angles with respect to the projection angle of the light beam from the light source, and two codes obtained from the sensor camera are provided. By adopting a form that decodes based on the image, a part of the code image is lost due to the effect of regular reflection of light from the transparent member covering the code surface and the unevenness of the code surface, etc. Even if it is a good article, the code can be decoded. For example, even in the case of apparel products covered with a vinyl cover or tires with a code (label) attached to the inclined portion of the inner periphery, the code can be decoded by a single code reader. It becomes possible.

また、コード面から反射された光のセンサ受光面までの光路長が異なる第1及び第2のラインセンサをセンサカメラに備え、そのセンサカメラから得られる2つのコード画像を基に解読する形態とすることによって、コードが付された面の高さが異なる複数種類の物品を対象としたケース、段差を有する物品で且つ各段の上面部にそれぞれコードが付されている物品を対象としたケース、或いは、段差を有する物品で且つ各段のいずれか1つの上面部にコードが付されている物品を対象としたケースでも、1台のコード読取装置によってコードを解読することが可能となる。   In addition, the sensor camera is provided with first and second line sensors having different optical path lengths from the code surface to the sensor light-receiving surface, and is decoded based on two code images obtained from the sensor camera. A case for a plurality of types of articles with different heights on the surface to which the code is attached, a case for articles having a step and an article with a code on the upper surface of each step Alternatively, even in the case of an article having a step and an article having a code on any one upper surface portion of each step, the code can be decoded by one code reader.

さらに、2つのラインセンサの画素出力を1ラインのラインデータに合成し、合成したラインデータをセンサカメラから出力する構成とすることによって、回路間の省配線化、画像取込部のハードウェア(フレームグラバボード)及びバーコード解読部を共通化することによる装置全体の低価格化、及び省スペース化を図ることができる。また、1つの光源からの光をそれぞれの鏡面部で反射して異なる角度で第1及び第2の光束を放射し、物品に対して異なる方向から第1及び第2の光束を照射する照射光分散手段を備えることによって、照明の正反射ゾーンを減らし、正反射光の影響による読取精度の低下を回避することが可能になる。   Further, by combining the pixel outputs of the two line sensors into one line of line data and outputting the combined line data from the sensor camera, the wiring between the circuits can be reduced, and the hardware of the image capturing unit ( The frame grabber board) and the bar code decoding unit can be shared, so that the cost of the entire apparatus can be reduced and the space can be saved. Irradiation light that reflects light from one light source at each mirror surface portion, emits the first and second light fluxes at different angles, and irradiates the first and second light fluxes from different directions to the article. By providing the dispersing means, it is possible to reduce the regular reflection zone of illumination and to avoid a decrease in reading accuracy due to the influence of regular reflected light.

本発明に係るコード読取装置は、撮像形態が異なる2つのラインセンサでイメージセンサを構成し、その2つのラインセンサを搭載した「ダブルラインセンサカメラ」(以下、便宜上、単に「センサカメラ」という)を備え、そのセンサカメラで撮像した画像を用いてバーコード(2次元コードを含む)を解読することを主要な特徴としている。そして、コード読取装置のバーコード解読部では、一方のラインセンサで撮像したコード画像で解読が不能な場合には他方のラインセンサで撮像したバーコード画像で解読することによって、従来のコード読取装置では解読不能であった様々な種類の物品に付されたバーコードを解読することを可能としている。さらに、どちらの画像もバーコードの一部が正反射で欠落しており、バーコードの解読が完結しない場合は、欠落部分の位置に対応する相手の画素を用いて相互に画像データを補正し合うことにより、欠落の無いバーコード画像を生成し、その画像データを用いる方式とすることによって、前述の第1の問題で例示したような場合においても解読可能としている。   The code reading apparatus according to the present invention is an “double line sensor camera” (hereinafter simply referred to as “sensor camera” for convenience) in which an image sensor is configured by two line sensors having different imaging forms, and the two line sensors are mounted. The main feature is that a barcode (including a two-dimensional code) is decoded using an image captured by the sensor camera. In the barcode decoding unit of the code reading device, when the code image captured by one line sensor cannot be decoded, the code reading device decodes the barcode image captured by the other line sensor. Can decode barcodes attached to various types of articles that could not be decoded. Furthermore, in both images, if part of the barcode is missing due to specular reflection and the barcode is not completely decoded, the image data is corrected mutually using the other pixel corresponding to the position of the missing part. By matching, by generating a barcode image having no omission and using the image data, it is possible to decipher even in the case exemplified in the first problem.

また、本発明においては、センサカメラにおいて、2つのラインセンサの画素出力を1ラインのラインデータに合成する手段を備え、合成したラインデータ(例えば2つのラインデータを1ライン上の前半部と後半部に配置したラインデータ)を画像取込部へ転送する構成とすることにより、回路間の省配線化と、画像取込部のハードウェア(フレームグラバボード)及びバーコード解読部を共通化することによる装置全体の低価格化及び省スペース化を実現している。   In the present invention, the sensor camera includes means for synthesizing the pixel outputs of the two line sensors into one line of line data, and the synthesized line data (for example, two line data on the first half and the latter half on one line). (Line data arranged in the image capturing section) is transferred to the image capturing section, thereby reducing wiring between circuits and sharing the hardware (frame grabber board) and barcode decoding section of the image capturing section. This makes it possible to reduce the cost and space of the entire device.

なお、センサカメラの構成としては、(1)光源からの光束の投射角に対して互いに異なる角度に各ラインセンサの受光面を配置する構成としたものと、(2)コード面から反射された光の各ラインセンサの受光面までの光路長が異なる構成としたものがあり、前者のセンサカメラを備えたコード読取装置を実施例1、後者のセンサカメラを備えたコード読取装置を実施例2として説明する。   The configuration of the sensor camera includes (1) a configuration in which the light receiving surface of each line sensor is arranged at a different angle with respect to the projection angle of the light beam from the light source, and (2) the reflection from the code surface. There is a configuration in which the optical path lengths to the light receiving surfaces of the respective line sensors of light are different, and the code reader having the former sensor camera is the first embodiment, and the code reader having the latter sensor camera is the second embodiment. Will be described.

以下、本発明の好適な実施の形態について、図面を参照して詳細に説明する。   DESCRIPTION OF EXEMPLARY EMBODIMENTS Hereinafter, preferred embodiments of the invention will be described in detail with reference to the drawings.

先ず、本発明に係るコード読取装置の基本構成と概略の動作例について説明する。   First, the basic configuration and schematic operation example of the code reading apparatus according to the present invention will be described.

図1は、本発明に係るコード読取装置の全体構成の一例を示すブロック図であり、定置式のコード読取装置の場合、バーコードが付された物品(製品又はその収容体)1は、例えば図1中の矢印Aで示す方向を進行方向(搬送方向)として、コンベア等の搬送手段2によって連続的に若しくは間欠的に搬送されてくる。搬送路上を移動する物品1は、例えば搬送位置検出手段3(ロータリエンコーダ等)からの位置検出信号により検出する。コード読取装置100は、センサカメラ10と画像処理装置20とから構成され、搬送路の所定の位置に配置されたセンサカメラ10によって物品1を撮像する。   FIG. 1 is a block diagram showing an example of the overall configuration of a code reading device according to the present invention. In the case of a stationary code reading device, an article (product or a container thereof) 1 to which a barcode is attached is, for example, A direction indicated by an arrow A in FIG. 1 is a traveling direction (conveying direction), and is conveyed continuously or intermittently by a conveying means 2 such as a conveyor. The article 1 moving on the conveyance path is detected by, for example, a position detection signal from the conveyance position detection means 3 (rotary encoder or the like). The code reading device 100 includes a sensor camera 10 and an image processing device 20, and images the article 1 with the sensor camera 10 disposed at a predetermined position on the conveyance path.

本実施例において、センサカメラ10は、撮像形態が異なる2つのラインセンサ11(11a,11b)と1つの照明用の光源12とを具備しており、光源12から照射した光束は、センサカメラ10内の反射板13、光学レンズ14を通して2つのラインセンサ11の受光面にそれぞれ入射される。そして、センサカメラ10内の2つのラインセンサ11で撮像した物品1のラインデータが1つのラインデータとして合成され、その画像データが、通信ケーブル(若しくは無線通信手段)を介して画像処理装置20内の画像取込部(画像取込手段)21に転送される。バーコード解読部(コード解読手段)22では、画像取込部21で取込んだ画像データを処理してバーコードを認識し、一方のバーコード画像(若しくは2つのバーコード画像)の画像データを基に、バーコード解読部22による解読処理を実行する。ここで、一方のバーコード画像により解読できない場合は、他方のバーコード画像により解読処理を実行し、それでも解読できない場合は、両方のバーコード画像により解読処理を実行するが、その詳細については後述する。   In the present embodiment, the sensor camera 10 includes two line sensors 11 (11a, 11b) having different imaging forms and one light source 12 for illumination. The light is incident on the light receiving surfaces of the two line sensors 11 through the reflecting plate 13 and the optical lens 14. Then, the line data of the article 1 imaged by the two line sensors 11 in the sensor camera 10 is combined as one line data, and the image data is stored in the image processing apparatus 20 via a communication cable (or wireless communication means). Are transferred to the image capturing unit (image capturing means) 21. The barcode decoding unit (code decoding means) 22 processes the image data captured by the image capturing unit 21 to recognize the barcode, and converts the image data of one barcode image (or two barcode images). Based on this, the decoding process by the barcode decoding unit 22 is executed. Here, when it cannot be decoded with one barcode image, the decoding process is executed with the other barcode image. When it cannot be decoded with the other barcode image, the decoding process is executed with both barcode images. To do.

上述した画像処理装置20は、パーソナルコンピュータ等の汎用的なコンピュータであっても良く、例えば、画像処理装置20内の画像取込部21は、フレームグラバボードで構成し、バーコード解読部22は、CPUにより実行されるコンピュータ・プログラムで構成することによって実現することができる。但し、バーコード解読部の一部の処理をハードウェアにより処理する態様、センサカメラ10と画像処理装置20とを一体的に構成し、解読結果を上位コンピュータに送信する態様なども本発明に含まれる。   The above-described image processing apparatus 20 may be a general-purpose computer such as a personal computer. For example, the image capturing unit 21 in the image processing apparatus 20 is configured by a frame grabber board, and the barcode decoding unit 22 is This can be realized by a computer program executed by the CPU. However, the present invention also includes a mode in which a part of the processing of the bar code decoding unit is processed by hardware, a mode in which the sensor camera 10 and the image processing device 20 are integrally configured, and the decoding result is transmitted to a host computer. It is.

次に、後述する実施例1及び実施例2に用いるセンサカメラ10の構成について説明する。   Next, the configuration of the sensor camera 10 used in Example 1 and Example 2 described later will be described.

図2は、図1に示したセンサカメラ10の主要部の構成例を示す回路ブロック図である。センサカメラ10は、2系統のラインセンサ11(11a,11b)、CDS(Correlate Double Sampling:相関二重サンプリング回路)112、AMP(増幅器)113、及びA/D(AD変換器)114を備えている。   FIG. 2 is a circuit block diagram showing a configuration example of a main part of the sensor camera 10 shown in FIG. The sensor camera 10 includes two line sensors 11 (11a and 11b), a CDS (Correlate Double Sampling) 112, an AMP (amplifier) 113, and an A / D (AD converter) 114. Yes.

CDS112は、固体撮像素子がライン状に配列された画素部からの信号を処理する回路であり、CCD等の誘導雑音等を除去し、各CCDセルでの蓄積電荷量に対応する画像信号を送出する。CDS112からの画像信号はAMP113で増幅され、A/D114でデジタル信号に変換された画像データが、データ合成手段であるデータ合成回路115に送出される。   The CDS 112 is a circuit that processes a signal from a pixel unit in which solid-state image sensors are arranged in a line, removes induced noise such as a CCD, and transmits an image signal corresponding to the amount of charge accumulated in each CCD cell. To do. The image signal from the CDS 112 is amplified by the AMP 113, and the image data converted into a digital signal by the A / D 114 is sent to the data synthesis circuit 115 which is a data synthesis unit.

データ合成回路115は、2つのラインセンサ11a,11bからの画像データ(画素出力)を1ラインの画像データとして合成処理する回路であり、例えばラインセンサ11aのCH11〜CH1nの出力を1ライン上の前半に配置すると共に、ラインセンサ11bのCH21〜CH2の出力を1ライン上の後半に配置することによって、1ラインの画像データとして合成し、その合成したラインデータDATAをラインドライバ116から順次出力する。 The data synthesis circuit 115 is a circuit that synthesizes the image data (pixel output) from the two line sensors 11a and 11b as one line of image data. For example, the output of CH 11 to CH 1n of the line sensor 11a is one line. In addition to being arranged in the upper half of the upper part, the outputs of CH 21 to CH2 n of the line sensor 11b are arranged in the latter half of one line, thereby synthesizing as one line image data, and the synthesized line data DATA is line driver 116. Are output sequentially.

タイミング発生回路117は、外部(物品の搬送位置検出器:例えばロータリエンコーダ)から1ラインのサンプリング開始のトリガとなるトリガ信号TRIGを入力すると共に、発振器118からクロック信号を入力し、ラインセンサ11やA/D変換器114等を動作させるための各種のタイミング信号を発生する。本発明においては、タイミング発生回路117によって、ラインセンサ11aの最初の画素がラインデータの最初の画素、ラインセンサ11bの最後の画素がラインデータDATAの最後の画素となるように、有効画素の転送タイミングを調整し、データ合成回路115により合成されたラインデータDATAと共に、画素出力転送クロックPCLK,及び有効画素の範囲(ラインスタート/ラインストップ)を示すクロックDVALを出力する。   The timing generation circuit 117 receives a trigger signal TRIG as a trigger for starting sampling of one line from the outside (article conveyance position detector: for example, a rotary encoder), and also receives a clock signal from the oscillator 118, Various timing signals for operating the A / D converter 114 and the like are generated. In the present invention, the timing generation circuit 117 transfers effective pixels so that the first pixel of the line sensor 11a becomes the first pixel of the line data and the last pixel of the line sensor 11b becomes the last pixel of the line data DATA. The timing is adjusted, and together with the line data DATA synthesized by the data synthesis circuit 115, the pixel output transfer clock PCLK and the clock DVAL indicating the effective pixel range (line start / line stop) are output.

なお、タイミング発生回路117では、2つのラインセンサの同期を取るため、1つのクロック信号をそれぞれのラインセンサ11a,11bの駆動回路へ与えて画素出力の転送タイミングを同期させる。また、データ合成回路115にはFIFO(First−in,First−out)メモリがラインセンサ毎に設けられており、2つのラインセンサ11a,11bからデータ合成回路115へ転送された画素データは、各FIFOメモリに一時的に格納された後、2つのラインセンサ11a,11bの画素データが揃ったタイミングでFIFOメモリから読み出され、画像処理装置20内の画像取込部21へと転送される。上記のFIFOメモリから読み出すタイミングは、トリガ信号TRIGを遅延させた信号(例えば1スキャン分遅れたトリガ信号TRIG)をタイミング発生回路117がデータ合成回路115へ与えることで調整する。   In order to synchronize the two line sensors, the timing generation circuit 117 applies one clock signal to the drive circuits of the respective line sensors 11a and 11b to synchronize the transfer timing of the pixel output. The data synthesis circuit 115 is provided with a FIFO (First-in, First-out) memory for each line sensor, and the pixel data transferred from the two line sensors 11a and 11b to the data synthesis circuit 115 is stored in each data sensor. After being temporarily stored in the FIFO memory, the pixel data of the two line sensors 11a and 11b are read out from the FIFO memory at the timing when they are aligned and transferred to the image capturing unit 21 in the image processing apparatus 20. The timing for reading from the FIFO memory is adjusted by the timing generation circuit 117 providing the data synthesis circuit 115 with a signal obtained by delaying the trigger signal TRIG (for example, the trigger signal TRIG delayed by one scan).

設定コントローラ119は、ラインセンサ11aのCH11〜CH1nの画素出力範囲、及びラインセンサ11bのCH21〜CH2nの画素出力範囲をそれぞれ設定する機能を備えており、設定コントローラ(有効画素出力範囲設定手段)119の操作若しくは上位コンピュータからの指令により、ラインデータDATAの前半に配置される(CH11〜CH1n)の画素データの転送開始画素位置とその位置からの転送画素数、ラインデータDATAの後半に配置される(CH21〜CH2n)の画素データの転送開始画素位置とその位置からの転送画素数をm画素単位(例えばm=64)で有効画素出力範囲として設定可能としている。この有効画素出力範囲の設定機能により、必要に応じて画素数を減らせば、スキャンレートは、1個のラインセンサの時のスキャンレートと比較して、1/2より大きくすることができ、2つのラインセンサを用いることによるスキャンレートの低下を緩和することができる。 The setting controller 119 has a function of setting the pixel output ranges of CH 11 to CH 1n of the line sensor 11a and the pixel output ranges of CH 21 to CH 2n of the line sensor 11b. Setting means) By the operation of 119 or a command from the host computer, the transfer start pixel position of the pixel data (CH 11 to CH 1n ) arranged in the first half of the line data DATA, the number of transfer pixels from that position, the line data DATA The transfer start pixel position of the pixel data (CH 21 to CH 2n ) arranged in the latter half of the pixel and the number of transfer pixels from that position can be set as an effective pixel output range in m pixel units (for example, m = 64). With this effective pixel output range setting function, if the number of pixels is reduced as necessary, the scan rate can be made larger than ½ compared to the scan rate for one line sensor. A decrease in scan rate due to the use of two line sensors can be mitigated.

以下、センサカメラ10の構成として、光源からの光束の投射角に対して互いに異なる角度に各ラインセンサ11(11a,11b)の受光面を配置する構成としたものを実施例1、コード面から反射された光の各ラインセンサの受光面までの光路長が異なる構成としたものを実施例2として、それぞれ説明する。   Hereinafter, as the configuration of the sensor camera 10, the configuration in which the light receiving surfaces of the line sensors 11 (11 a and 11 b) are arranged at different angles with respect to the projection angle of the light beam from the light source is described in Example 1 and the code surface. A configuration in which the optical path length of the reflected light to the light receiving surface of each line sensor is different will be described as a second embodiment.

図3は、本発明に係るセンサカメラに搭載される光学系の配置構成の第1の実施例を示す模式図である。実施例1のセンサカメラ10は、1つの光源12(例えば直方体状のナトリウム管から成る光源)と、その光源12の上方に配置され、光源12からの光をそれぞれの鏡面部で反射して異なる角度で第1,第2の光束を放射し、同一の移動体1(本例では搬送路に沿って移動する物品)に対して異なる方向から、所定距離れた位置(例えば60cm離れた位置)で照射する照射光分散手段13A(本例では照射光分散用の反射板)とを備えている。照射光分散手段として用いる反射板13Aは、反射方向が異なる2枚の曲面を有するミラーで構成して各光線が平行な光束を発する形態とするのが好ましいが、1枚の半球状のミラーで構成しても良い。   FIG. 3 is a schematic diagram showing a first embodiment of an arrangement configuration of an optical system mounted on a sensor camera according to the present invention. The sensor camera 10 according to the first embodiment is arranged above one light source 12 (for example, a light source composed of a rectangular parallelepiped sodium tube) and the light source 12, and the light from the light source 12 is reflected by the respective mirror surface portions. A position that radiates the first and second light fluxes at an angle and is a predetermined distance (for example, a position 60 cm away) from a different direction with respect to the same moving body 1 (in this example, an article that moves along the transport path). Irradiating light dispersing means 13A (in this example, a reflecting plate for dispersing the irradiating light). The reflecting plate 13A used as the irradiation light dispersion means is preferably composed of two mirrors having curved surfaces with different reflection directions so that each light beam emits a parallel light beam, but it is a single hemispherical mirror. It may be configured.

ラインセンサ11(11a,11b)は、光源からの光束の投射角に対して互いに異なる角度(例えば、反射光のそれぞれの受光面への入射角の差が(5度〜10度)×2)で受光面が配置されており、バーコード面からの反射光を同一の光学レンズ14を通してそれぞれの受光面で受光して、バーコードを含む領域の画像をそれぞれのラインセンサ11によって撮像する。   The line sensor 11 (11a, 11b) has different angles with respect to the projection angle of the light beam from the light source (for example, the difference in the incident angle of the reflected light to each light receiving surface is (5 to 10 degrees) × 2). The light receiving surfaces are arranged, and the reflected light from the barcode surface is received by the respective light receiving surfaces through the same optical lens 14, and an image of the area including the barcode is taken by each line sensor 11.

このようなセンサカメラの構成において、搬送路に沿って移動する物品1に対して第1の光束が照射された物品1からの反射光が光学レンズ14を通してラインセンサ11aの受光面に入射され、バーコードを含む物品1の像が撮像される。続いて、ラインセンサ11bでの撮像位置に物品1が移動したタイミングで、物品1に対して第2の光束が照射された物品1からの反射光(上記反射光とは異なる反射角の光)が光学レンズ14を通してラインセンサ11aの受光面に入射され、バーコードを含む物品1の像が撮像される。   In such a configuration of the sensor camera, the reflected light from the article 1 irradiated with the first light beam on the article 1 moving along the conveyance path is incident on the light receiving surface of the line sensor 11a through the optical lens 14, An image of the article 1 including the barcode is taken. Subsequently, when the article 1 moves to the imaging position of the line sensor 11b, the reflected light from the article 1 irradiated with the second light flux on the article 1 (light having a reflection angle different from the reflected light). Is incident on the light receiving surface of the line sensor 11a through the optical lens 14, and an image of the article 1 including the barcode is taken.

図4は、センサカメラ10から出力される画像の一例を示しており、各ラインの前半部にラインセンサ11aから得た画像が配置され、後半部にラインセンサ11bから得た画像が配置された画像データがセンサカメラ10から出力され、同図に示すような画像が、画像処理装置20内の画像取込部21に取込まれる。本実施例では、2つのラインセンサ11a,11bで時間的に異なるタイミングで撮像しているため、離れた位置に2つのバーコード画像が存在する。   FIG. 4 shows an example of an image output from the sensor camera 10. An image obtained from the line sensor 11a is arranged in the first half of each line, and an image obtained from the line sensor 11b is arranged in the second half. Image data is output from the sensor camera 10, and an image as shown in the figure is captured by the image capturing unit 21 in the image processing apparatus 20. In this embodiment, since the two line sensors 11a and 11b are picked up at different timings, two barcode images exist at distant positions.

次に、図1に示したバーコード解読部22におけるバーコードの解読処理について、図5のフローチャートに沿って説明する。   Next, the barcode decoding process in the barcode decoding unit 22 shown in FIG. 1 will be described with reference to the flowchart of FIG.

バーコード解読部22では、センサカメラ10からの画像データを解析し(ステップS1)、ラインデータの前半部と後半部を並行して処理し、2つのバーコード画像を認識する(ステップS2)。本実施例では、図4に示したように、1つのバーコードの画像が離れた位置に2つ存在するので、次に搬送されてきた物品1のバーコードと混同しないように、同一バーコードの画像データか否かを、距離,エッジ,幅,ピッチ等をパラメータとして判定する(ステップS3)。そして、同一バーコードの画像データでないのであれば、後半の画像を次のバーコードと判断して記憶しておき(ステップS4)、同一バーコードの画像データであれば、ラインセンサ11aから得たバーコード画像で解読できたか否かを判定し(ステップS5,S6)、解読できなかったのであれば、ラインセンサ11bから得たバーコード画像で解読処理をする(ステップS7)。そして、いずれの画像でも解読できなかった場合は(ステップS8)、図6に示すように、コード(1次元コードのバー又は2次元コードのセル)の欠落部分Xの位置に対応する相手の画素のデータを用いて相互に画像データを画素単位で補填して補正し合うことにより欠落の無いバーコード画像を生成し(ステップS9)、その画像データにより解読する(ステップS10)。そして、当該バーコードの処理を終了したのであれば、ステップS1に戻り、次のバーコードの処理を続行する。なお、正反射の影響によりバーコードの一部が欠落し、解読が完結しない場合は、その欠落部分の位置が異なるので、この補填/補正処理により、バーコード解読することができる。すなわち、実施例1のコード読取装置によれば、発明が解決しようとする課題で述べた第1の問題を解消することができる。   The barcode decoding unit 22 analyzes the image data from the sensor camera 10 (step S1), processes the first half and the second half of the line data in parallel, and recognizes two barcode images (step S2). In this embodiment, as shown in FIG. 4, there are two images of one barcode at a distant position. Therefore, the same barcode is used so as not to be confused with the barcode of the article 1 conveyed next. It is determined whether the image data is a distance, an edge, a width, a pitch, or the like as parameters (step S3). If it is not the same barcode image data, the latter half of the image is judged and stored as the next barcode (step S4), and if it is the same barcode image data, it is obtained from the line sensor 11a. It is determined whether or not the barcode image can be decoded (steps S5 and S6). If the barcode image cannot be decoded, the barcode image obtained from the line sensor 11b is decoded (step S7). If neither image can be decoded (step S8), as shown in FIG. 6, the other pixel corresponding to the position of the missing portion X of the code (one-dimensional code bar or two-dimensional code cell) Using this data, the image data is mutually complemented and corrected in units of pixels, thereby generating a bar code image having no omission (step S9), and deciphering with the image data (step S10). If the barcode processing is completed, the process returns to step S1 to continue the next barcode processing. If a part of the barcode is lost due to the influence of regular reflection and the decoding is not completed, the position of the missing part is different, so that the barcode can be decoded by this compensation / correction processing. That is, according to the code reading apparatus of the first embodiment, the first problem described in the problem to be solved by the invention can be solved.

次に実施例2について説明する。図7は、本発明に係るセンサカメラに搭載される光学系の配置構成の第2の実施例を示す模式図である。実施例2では、1つの光源12と、コード面からの反射光が2つのラインセンサの受光面に入射されるまでのそれぞれの光路長を変えるための光路長変更手段13とを備えている。本例では、光路長変更手段13は、2つのミラー13B1,13B2で構成され、ミラー13B1,13B2は、ラインセンサ11a,11bの各受光面までの光路長が互いに異なるように、同図7に示すように、例えば、物品1の搬送面若しくは光学レンズ14からそれぞれ異なる距離に配置されている。すなわち、物品に付されたコード面からの反射光を異なる位置に配置された2つの反射面で反射して、それぞれの反射光を同一の光学レンズ14を通して2つのラインセンサ11a,11bの各受光面に対して入射させる反射手段(本例ではミラー13B1,13B2)を光路長変更手段13として備え、この光路長変更手段13によって光路長が互いに異なる反射光を形成する構成としている。本例では、図7中のXP+PQ=1700mm、XB+BC=1900mm、被写界深度L1=200mm、被写界深度L2=200mm(50mmオーバーラップ)としている。   Next, Example 2 will be described. FIG. 7 is a schematic view showing a second embodiment of the arrangement configuration of the optical system mounted on the sensor camera according to the present invention. The second embodiment includes one light source 12 and optical path length changing means 13 for changing the respective optical path lengths until the reflected light from the code surface enters the light receiving surfaces of the two line sensors. In this example, the optical path length changing means 13 is composed of two mirrors 13B1 and 13B2, and the mirrors 13B1 and 13B2 are shown in FIG. 7 so that the optical path lengths to the respective light receiving surfaces of the line sensors 11a and 11b are different from each other. As shown, for example, they are arranged at different distances from the conveyance surface of the article 1 or the optical lens 14. That is, the reflected light from the code surface attached to the article is reflected by two reflecting surfaces arranged at different positions, and each reflected light is received by each of the two line sensors 11a and 11b through the same optical lens 14. Reflecting means (mirrors 13B1 and 13B2 in this example) that are incident on the surface are provided as the optical path length changing means 13, and the optical path length changing means 13 forms reflected light having different optical path lengths. In this example, XP + PQ = 1700 mm, XB + BC = 1900 mm, depth of field L1 = 200 mm, and depth of field L2 = 200 mm (50 mm overlap) in FIG.

このようなセンサカメラの構成において、搬送路に沿って移動する物品1に対して第1の光束が照射された物品1からの反射光はミラー13B1で反射され、その反射光が光学レンズ14を通してラインセンサ11aの受光面に入射されると共に、ミラー13B2で反射された光(上記反射光とは光路長が異なる物品1からの反射光)が光学レンズ14を通してラインセンサ11bの受光面に入射され、バーコードを含む物品1の像がそれぞれのラインセンサ11a,11bで撮像される。   In such a sensor camera configuration, the reflected light from the article 1 irradiated with the first light beam on the article 1 moving along the conveyance path is reflected by the mirror 13B1, and the reflected light passes through the optical lens 14. Light incident on the light receiving surface of the line sensor 11a and reflected by the mirror 13B2 (reflected light from the article 1 having an optical path length different from that of the reflected light) is incident on the light receiving surface of the line sensor 11b through the optical lens 14. The image of the article 1 including the barcode is picked up by the respective line sensors 11a and 11b.

本実施例におけるセンサカメラでは、レンズ系の移動をすることなく、焦点距離及びピント位置が異なる2つの画像をほぼ同時に得ることができる。そのため、オートフォーカスカメラを用いなくても、両方のバーコード画像を用いることで、高さの異なる物品1に付されたバーコードを解読することができる。   In the sensor camera of the present embodiment, two images having different focal lengths and focus positions can be obtained almost simultaneously without moving the lens system. Therefore, it is possible to decode the barcodes attached to the articles 1 having different heights by using both barcode images without using an autofocus camera.

また、例えば図8に示すように、L字形のワーク1など、段差を有する物品のいずれかの面にラベル(A又はB)が付されている物品1を対象とした場合、従来のコード読取装置では、いずれかラベルA,Bの位置が被写界深度範囲を超えている場合は、ラベル(コードを解読することができない。また、オートフォーカス機能を備えたコード読取装置であっても、一般に一番高い面に焦点を合わせるので、低い位置にラベルが付されている場合、そのラベルAのコードを解読することができない。しかし、本発明においては、このような物品1を対象とした場合においても、確実に解読することができる。   For example, as shown in FIG. 8, when an object 1 having a label (A or B) attached to any surface of an article having a step, such as an L-shaped work 1, is read by a conventional code. In the apparatus, when the position of any one of the labels A and B exceeds the depth of field range, the label (the code cannot be decoded. In addition, even a code reading apparatus having an autofocus function, In general, since the focus is on the highest surface, when the label is attached to the lower position, the code of the label A cannot be decoded, but in the present invention, such an article 1 is targeted. Even in the case, it can be surely deciphered.

さらに、段差を有する物品の両方に対してそれぞれ異なるラベル(A及びB)が付されている物品1を対象とした場合においても、本実施例では1台のコード読取装置で、両方のラベルA,Bを解読することができる。すなわち、実施例2のコード読取装置によれば、発明が解決しようとする課題で述べた第2の問題を解消することができる。さらに、センサカメラの構成を実施例1の構成と組み合わせた構成とすることで、第1及び第2の問題を解消することが可能である。   Furthermore, even in the case where the article 1 having different labels (A and B) on both of the articles having steps is used as an object, in this embodiment, both labels A are used with one code reader. , B can be deciphered. That is, according to the code reader of the second embodiment, the second problem described in the problem to be solved by the invention can be solved. Furthermore, by combining the configuration of the sensor camera with the configuration of the first embodiment, the first and second problems can be solved.

実施例2の変形例としては、光路長の異なる反射光を受光するようにラインセンサ11a,11bの受光面を光学レンズ14からそれぞれ異なる距離に配置させ、2つのラインセンサ11a,11bの焦点位置を変える方式としても良い。この場合、図7に示したミラー13B1,13B2は光路を変えるための1つのミラーとしても良いが、ミラーを備えない構成としても良い。上記の変形例及び実施例2において、バーコードの解読処理は、実施例1と同様であるため、説明を省略する、但し、実施例1のように、光源からの光束の投射角に対して互いに異なる角度に各ラインセンサの受光面を配置する構成とした場合には、前述の画像データの補填処理が有効となるが、そうでない場合は、有効とならないため、画像データの補填処理(図5のステップS9,S10)は省いた処理となる。   As a modification of the second embodiment, the light receiving surfaces of the line sensors 11a and 11b are arranged at different distances from the optical lens 14 so as to receive reflected light having different optical path lengths, and the focal positions of the two line sensors 11a and 11b. It is also possible to change the method. In this case, the mirrors 13B1 and 13B2 shown in FIG. 7 may be a single mirror for changing the optical path, or may be configured without a mirror. In the above modification and the second embodiment, the barcode decoding process is the same as that in the first embodiment, and thus the description thereof will be omitted. However, as in the first embodiment, with respect to the projection angle of the light beam from the light source. When the light receiving surfaces of the respective line sensors are arranged at different angles, the above-described image data compensation processing is effective. Otherwise, the image data compensation processing is not effective. Steps S9 and S10 of 5 are omitted.

なお、上述した実施の形態においては、定置式のコード読取装置を例として説明したが、操作者が装置を手に持って利用する手持ち式のコード読取装置にも適用することができる。また、センサカメラにと搭載するイメージセンサは、2つのラインセンサを用いる場合を例として説明したが、例えば、第1,第2のラインセンサを実施例1の構成とすると共に第2,第3のラインセンサを実施例2の構成としたり、第3以降のラインセンサを他の撮像形態としたりするなど、3つ以上のラインセンサを用いても良く、ラインセンサの替わりに2次元エリアセンサを用いるようにしても良い。   In the above-described embodiment, the stationary code reading device has been described as an example. However, the present invention can also be applied to a hand-held code reading device in which an operator uses the device in his / her hand. The image sensor mounted on the sensor camera has been described as an example in which two line sensors are used. For example, the first and second line sensors are configured as in the first embodiment, and the second and third lines are used. 3 or more line sensors may be used, such as the configuration of the second embodiment or the third and subsequent line sensors in another imaging form. A two-dimensional area sensor may be used instead of the line sensor. It may be used.

本発明に係るコード読取装置の全体構成の一例を示すブロック図である。It is a block diagram which shows an example of the whole structure of the code reader which concerns on this invention. 本発明に係るセンサカメラの主要部の概略構成一例を示す回路ブロック図である。It is a circuit block diagram which shows an example of schematic structure of the principal part of the sensor camera which concerns on this invention. 本発明に係るセンサカメラに搭載される光学系の配置構成の第1の実施例を示す模式図である。It is a schematic diagram which shows the 1st Example of the arrangement configuration of the optical system mounted in the sensor camera which concerns on this invention. 本発明に係わるセンサカメラから出力される画像の一例を示す図である。It is a figure which shows an example of the image output from the sensor camera concerning this invention. バーコード解読部における解読処理を説明するためのフローチャートである。It is a flowchart for demonstrating the decoding process in a barcode decoding part. バーコード解読部における画像データの補填/補正処理を説明するための模式図である。It is a schematic diagram for demonstrating the compensation / correction process of the image data in a barcode decoding part. 本発明に係るセンサカメラに搭載される光学系の配置構成の第2の実施例を示す模式図である。It is a schematic diagram which shows the 2nd Example of the arrangement configuration of the optical system mounted in the sensor camera which concerns on this invention. バーコードラベルが付された物品の一例を示す模式図である。It is a schematic diagram which shows an example of the articles | goods with which the barcode label was attached | subjected.

符号の説明Explanation of symbols

1 物品
2 搬送手段
3 搬送位置検出手段
10 センサカメラ
11(11a,11b) ラインセンサ
112 CDS(相関二重サンプリング回路)
113 AMP(増幅器)
114 A/D(AD変換器)
115 データ合成回路
116 ラインドライバ
117 タイミング発生回路
118 発振器
119 設定コントローラ
12 光源
13 反射板
13A 照射光分散手段(反射板)
13B 光路長変更手段(ミラー)
14 光学レンズ
20 画像処理装置
21 画像取込部
22 バーコード解読部
100 コード読取装置
DESCRIPTION OF SYMBOLS 1 Article 2 Conveyance means 3 Conveyance position detection means 10 Sensor camera 11 (11a, 11b) Line sensor 112 CDS (correlated double sampling circuit)
113 AMP (Amplifier)
114 A / D (AD converter)
115 Data Synthesis Circuit 116 Line Driver 117 Timing Generation Circuit 118 Oscillator 119 Setting Controller 12 Light Source 13 Reflecting Plate 13A Irradiation Light Dispersing Means (Reflecting Plate)
13B Optical path length changing means (mirror)
14 Optical Lens 20 Image Processing Device 21 Image Capture Unit 22 Barcode Decoding Unit 100 Code Reading Device

Claims (11)

搬送される物品に付された1次元若しくは2次元のコードを光学的に読取るコード読取装置に適用され、撮像形態が異なる少なくとも2つのラインセンサを備えたダブルラインセンサカメラであって、
光源からの光束の投射角に対して互いに異なる角度に受光面が配置された第1及び第2のラインセンサと、前記第1及び第2のラインセンサから得られる各々の画素データを合成して1つのラインデータとして出力するデータ合成手段とを備え、
前記第1及び第2のラインセンサは各々が前記物品に付されたコード面全体を撮像するようになっていることを特徴とするダブルラインセンサカメラ。
A double line sensor camera that is applied to a code reader that optically reads a one-dimensional or two-dimensional code attached to an article to be conveyed, and includes at least two line sensors having different imaging forms,
The first and second line sensors having the light receiving surfaces arranged at different angles with respect to the projection angle of the light flux from the light source, and the respective pixel data obtained from the first and second line sensors are combined. Data synthesizing means for outputting as one line data,
Each of the first and second line sensors captures the entire code surface attached to the article, and is a double line sensor camera.
搬送される物品に付された1次元若しくは2次元のコードを光学的に読取るコード読取装置に適用され、撮像形態が異なる少なくとも2つのラインセンサを備えたダブルラインセンサカメラであって、
前記物品に付されたコード面から受光面までの光路長が互いに異なる反射光を各受光面で受光して前記物品を撮像する第1及び第2のラインセンサと、前記第1及び第2のラインセンサから得られる各々の画素データを合成して1つのラインデータとして出力するデータ合成手段とを備え、
前記第1及び第2のラインセンサは各々が前記物品に付されたコード面全体を撮像するようになっていることを特徴とするダブルラインセンサカメラ。
A double line sensor camera that is applied to a code reader that optically reads a one-dimensional or two-dimensional code attached to an article to be conveyed, and includes at least two line sensors having different imaging forms,
First and second line sensors for picking up images of the article by receiving reflected lights having different optical path lengths from the code surface to the light-receiving face attached to the article on the respective light-receiving faces; and the first and second line sensors Data combining means for combining each pixel data obtained from the line sensor and outputting as one line data;
Each of the first and second line sensors captures the entire code surface attached to the article, and is a double line sensor camera.
前記物品に付されたコード面からの反射光を異なる位置に配置された第1及び第2の反射面で反射してそれぞれの反射光を同一の光学レンズを通して前記第1及び第2のラインセンサの各受光面に対して入射させる反射手段を備え、該反射手段によって前記光路長が異なる反射光を形成する構成としている請求項2に記載のダブルラインセンサカメラ。 Reflected light from the code surface attached to the article is reflected by first and second reflecting surfaces arranged at different positions, and the reflected light passes through the same optical lens and the first and second line sensors. The double line sensor camera according to claim 2, further comprising a reflecting unit that is incident on each of the light receiving surfaces, wherein the reflecting unit forms reflected light having different optical path lengths. 前記第1及び第2のラインセンサの受光面が前記物品に付されたコード面からそれぞれ異なる距離に配置されており、該配置によって前記光路長が異なる反射光を前記第1及び第2のラインセンサの各受光面で受光する構成としている請求項2に記載のダブルラインセンサカメラ。 The light receiving surfaces of the first and second line sensors are arranged at different distances from the code surface attached to the article , and reflected light having different optical path lengths is sent to the first and second lines depending on the arrangement. The double line sensor camera according to claim 2, wherein each of the light receiving surfaces of the sensor receives light. 前記データ合成手段は、前記第1及び第2のラインセンサの画素出力を1ライン上の前半部と後半部に配置して前記1つのラインデータとして出力するようにしている請求項1乃至4に記載のダブルラインセンサカメラ。 5. The data synthesizing unit arranges the pixel outputs of the first and second line sensors in the first half and the second half on one line and outputs them as the one line data. 5 . The double line sensor camera described. 1つの光源からの光をそれぞれの鏡面部で反射して異なる角度で第1及び第2の光束を放射し、前記物品に対して異なる方向から前記第1及び第2の光束を照射する照射光分散手段を更に備えた請求項1乃至4に記載のダブルラインセンサカメラ。 Irradiation light that reflects light from one light source at each mirror surface portion, emits first and second light fluxes at different angles, and irradiates the first and second light fluxes from different directions to the article. Furthermore double line sensor camera according to claim 1 to 4 comprising a dispersing means. 前記第1及び第2のラインセンサの各画素出力の転送開始画素位置とその位置からの転送画素数を有効画素出力範囲として設定する有効画素出力範囲設定手段を更に備え、前記データ合成手段は、前記有効画素出力範囲設定手段により設定された有効画素出力範囲の画素データを合成して前記1つのラインデータとして出力するようにしている請求項1乃至4に記載のダブルラインセンサカメラ。 The apparatus further comprises effective pixel output range setting means for setting the transfer start pixel position of each pixel output of the first and second line sensors and the number of transfer pixels from that position as an effective pixel output range, the effective pixel double line sensor camera according to claim 1 to 4 so that outputs pixel data of the effective pixel output range set as a composite to the one line data by the output range setting means. 搬送される物品に付された1次元若しくは2次元のコードを光学的に読取るコード読取装置において、
撮像形態が異なる少なくとも2つのラインセンサを備えたダブルラインセンサカメラと、前記撮像形態が異なる第1及び第2のラインセンサでそれぞれ撮像した前記コードの全体の画像を含む画像データを取込む画像取込手段と、前記画像取込手段で取込んだ画像データを処理して前記第1及び第2のラインセンサで撮像した同一のコードに対するそれぞれのコード画像を認識し、認識した各コード画像のいずれか一方の画像データ若しくは両方の画像データに基づいて前記コードを解読するコード解読手段とを備えたことを特徴とするコード読取装置。
In a code reader that optically reads a one-dimensional or two-dimensional code attached to an article to be conveyed,
Image capture that captures image data including the entire image of the code imaged by a double line sensor camera having at least two line sensors with different imaging modes and the first and second line sensors with different imaging modes. And the image data captured by the image capturing means to recognize the respective code images for the same code imaged by the first and second line sensors, and any of the recognized code images A code reader comprising: code decoding means for decoding the code based on one of the image data or both of the image data.
前記コード解読手段は、前記認識したコード画像に解読できなかった部分が存在する場合、前記解読できなかった部分の位置に対応する相手の画素のデータを用いて前記コード画像のデータを補正し、その画像データにより前記コードを解読する機能を有する請求項8に記載のコード読取装置。 The code decoding means corrects the data of the code image by using data of the counterpart pixel corresponding to the position of the portion that could not be decoded when there is a portion that could not be decoded in the recognized code image, The code reader according to claim 8, which has a function of decoding the code based on the image data. 前記ダブルラインセンサカメラは、光源からの光束の投射角に対して互いに異なる角度に前記第1及び第2のラインセンサの各受光面が配置されており、前記物品に付されたコード面からの反射光を前記第1及び第2のラインセンサの各受光面で受光して前記コードをそれぞれのラインセンサにより撮像する構成としている請求項8又は9に記載のコード読取装置。 In the double line sensor camera, the respective light receiving surfaces of the first and second line sensors are arranged at different angles with respect to the projection angle of the light beam from the light source, and from the code surface attached to the article. The code reading device according to claim 8 or 9, wherein reflected light is received by each light receiving surface of the first and second line sensors, and the code is imaged by each line sensor. 前記ダブルラインセンサカメラは、前記物品に付されたコード面から受光面までの光路長が互いに異なる反射光を前記第1及び第2のラインセンサの各受光面で受光して前記コードをそれぞれのラインセンサにより撮像する構成としている請求項8又は9に記載のコード読取装置。 The double line sensor camera receives reflected lights having different optical path lengths from a code surface to a light receiving surface attached to the article on each light receiving surface of the first and second line sensors, and receives the code respectively. The code reading device according to claim 8 or 9, wherein imaging is performed by a line sensor.
JP2004054544A 2004-02-27 2004-02-27 Double line sensor camera and code reader using the camera Expired - Lifetime JP4181071B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004054544A JP4181071B2 (en) 2004-02-27 2004-02-27 Double line sensor camera and code reader using the camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004054544A JP4181071B2 (en) 2004-02-27 2004-02-27 Double line sensor camera and code reader using the camera

Publications (2)

Publication Number Publication Date
JP2005242884A JP2005242884A (en) 2005-09-08
JP4181071B2 true JP4181071B2 (en) 2008-11-12

Family

ID=35024535

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004054544A Expired - Lifetime JP4181071B2 (en) 2004-02-27 2004-02-27 Double line sensor camera and code reader using the camera

Country Status (1)

Country Link
JP (1) JP4181071B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109886672A (en) * 2019-02-17 2019-06-14 北京意锐新创科技有限公司 Two dimensional code method of payment and device based on dual camera

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4853214B2 (en) * 2006-10-04 2012-01-11 株式会社デンソーウェーブ Optical information reader
JP4915300B2 (en) * 2007-07-04 2012-04-11 株式会社デンソーウェーブ Optical information reader
DE102014105759A1 (en) * 2014-04-24 2015-10-29 Sick Ag Camera and method for detecting a moving stream of objects

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109886672A (en) * 2019-02-17 2019-06-14 北京意锐新创科技有限公司 Two dimensional code method of payment and device based on dual camera

Also Published As

Publication number Publication date
JP2005242884A (en) 2005-09-08

Similar Documents

Publication Publication Date Title
EP1223535B1 (en) Bioptics bar code reader
US5754670A (en) Data symbol reading system
CN101601047B (en) A system for image acquisition
EP3074915B1 (en) Optical code reading system with dynamic image regionalization
US7296744B2 (en) Swipe imager scan engine
EP0980537B1 (en) Optical scanner and image reader for reading images and decoding optical information including one and two dimensional symbologies at variable depth of field
US8496173B2 (en) Camera-based code reader and method for its adjusted manufacturing
US7705288B2 (en) Optical reading device with light blocking gasket
US20060163355A1 (en) Data reader and methods for imaging targets subject to specular reflection
US20080023560A1 (en) Swipe Imager Scan Engine
CN102197403A (en) Bar code reader with split field of view
EP3163858A1 (en) Image reading apparatus and sheet processing apparatus
CN110709853A (en) Image sensor with range and light level detection
JP4181071B2 (en) Double line sensor camera and code reader using the camera
JP2000337853A (en) Detecting device for record position of information code, and optical information reading device
JP4572871B2 (en) Optical information reader
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
JP2002150215A (en) Information reader
US20150161428A1 (en) Vertical Optics for an Imaging Optical Code Scanner
JP2000322507A (en) Bar code reader
JP2009069957A (en) Optical information reading device
JP2008265132A (en) Electronic white board
CA2577235A1 (en) Optical scanner and image reader for reading images and decoding optical information including one and two dimensional symbologies at variable depth of field

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070226

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080229

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080311

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080507

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20080819

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080828

R150 Certificate of patent or registration of utility model

Ref document number: 4181071

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110905

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140905

Year of fee payment: 6

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140905

Year of fee payment: 6

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140905

Year of fee payment: 6

R371 Transfer withdrawn

Free format text: JAPANESE INTERMEDIATE CODE: R371

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140905

Year of fee payment: 6

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140905

Year of fee payment: 6

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250