JPH11120283A - Optical information reader - Google Patents

Optical information reader

Info

Publication number
JPH11120283A
JPH11120283A JP9278951A JP27895197A JPH11120283A JP H11120283 A JPH11120283 A JP H11120283A JP 9278951 A JP9278951 A JP 9278951A JP 27895197 A JP27895197 A JP 27895197A JP H11120283 A JPH11120283 A JP H11120283A
Authority
JP
Japan
Prior art keywords
light
control value
optical information
reading
light receiving
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP9278951A
Other languages
Japanese (ja)
Inventor
Kunihiko Ito
邦彦 伊藤
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.)
Denso Corp
Original Assignee
Denso Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Denso Corp filed Critical Denso Corp
Priority to JP9278951A priority Critical patent/JPH11120283A/en
Publication of JPH11120283A publication Critical patent/JPH11120283A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To adequately read optical information at various depth (distance between a read opening and an object to be read) by a large-depth optical information reader which can accurately read out optical information larger than the diameter of the read opening. SOLUTION: The light receiving element 26a and 26d of an optical sensor 36 which correspond to the peripheral part can accumulate light a time T1-T2 longer than light receiving elements 26b and 26c corresponding to the center part under such control that two red light emitting diodes 26b and 26c for emitting the control part of a bar card 8 are turned on for a specific illumination time T2 in the exposure time T1 of the light receiving elements of the optical sensor 36 and then turned off, so an illuminance distribution along the width of the read opening can be made proper by adjusting the illumination time T2. Consequently, the amplitude of waveform data inputted after the illumination point T2 is set is analyzed to find and set an illumination time T2 with which proper waveform is obtained.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、例えばバーコード
などの読み取り対象に光を照射し、その反射光から読取
対象の画像を読み取るものであり、特に読取口から離れ
た位置の読み取り対象も読み取り可能な光学情報読取装
置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method of irradiating an object to be read such as a bar code with light and reading an image of the object to be read from its reflected light. It relates to a possible optical information reader.

【0002】[0002]

【従来の技術】発光ダイオード等の発光手段から、商品
などに付着されているバーコードに照射した光の反射光
を、受光素子が配列された受光手段に結像し、該受光手
段にて前記バーコードの画像を読み取る光学情報読取装
置が知られている。
2. Description of the Related Art A reflected light of light emitted from a light emitting means such as a light emitting diode onto a bar code attached to a product or the like is imaged on a light receiving means in which light receiving elements are arranged. 2. Description of the Related Art An optical information reading device that reads an image of a barcode is known.

【0003】通常、このような光学情報読取装置は、光
学情報読取装置のケースに設けられた読取口をバーコー
ドにほぼ接触させた状態で、発光手段からの光を読取口
を介してバーコードに照射し、このバーコードから反射
された光を、同じ読取口から光学情報読取装置のケース
内に導いて、受光手段に結像している。
Usually, such an optical information reading apparatus transmits light from a light emitting means through a reading port while a reading port provided in a case of the optical information reading apparatus is almost in contact with the bar code. , And the light reflected from the bar code is guided into the case of the optical information reading device from the same reading port, and forms an image on the light receiving means.

【0004】このような光学情報読取装置では、光学情
報読取装置を、バーコードが付着されている商品のとこ
ろまで持って行く必要があるので、読み取り作業が面倒
であるという問題があった。この問題点を解決するもの
として、光学情報読取装置の読取口の近傍に存在するバ
ーコードのみでなく、読取口近傍から数10cm(例え
ば、30〜50cm)離れたバーコードまでを、受光手
段に結像して読み取らせることにより、読み取り毎に光
学情報読取装置を商品に近づける動作を行うことなく、
効率的にバーコードを読み取らせるいわゆる大深度光学
情報読取装置が考えられる。
In such an optical information reading apparatus, it is necessary to bring the optical information reading apparatus to a product to which a bar code is attached, so that there is a problem that the reading operation is troublesome. In order to solve this problem, not only a bar code existing near the reading opening of the optical information reading device but also a bar code distant from the vicinity of the reading opening by several tens cm (for example, 30 to 50 cm) to the light receiving means. By imaging and reading, without having to perform the operation of bringing the optical information reading device closer to the product for each reading,
A so-called large-depth optical information reader that can efficiently read a barcode is conceivable.

【0005】但し、通常のバーコードにて使用されてい
る発光手段からの照射光は、読取口全体から照射される
ように、バーコード照射用レンズが設定されている。こ
れは、読取口にバーコードをほぼ接して読み取る場合に
は、光学情報読取装置のケースが死角となって、バーコ
ードが見にくくなるので、なるべく照射光を広げて、バ
ーコードに対して読取口が少々ずれていても光線がバー
コードに確実に当たるようにするためである。しかし、
このように読取口全体から照射されるようにバーコード
照射用レンズを照射光を広げるように設定すると、読取
口から離れたバーコードの位置には、極めて弱い光しか
到達せず、バーコードの読取口が読み取ろうとするバー
コードに向けられているのか否かが明確とならずに、読
み取りを間違えるおそれがあった。
However, a bar code irradiating lens is set so that the light emitted from the light emitting means used in a normal bar code is radiated from the entire reading opening. This is because when reading a bar code almost in contact with the reading port, the case of the optical information reading device becomes a blind spot and the bar code becomes difficult to see. This is to ensure that the light beam strikes the bar code even if it is slightly displaced. But,
When the barcode irradiating lens is set so as to spread the irradiation light so as to irradiate from the entire reading opening in this manner, only a very weak light reaches the position of the barcode far from the reading opening, and the barcode is not illuminated. It is not clear whether the reading port is directed to the bar code to be read or not, and there is a risk that reading may be mistaken.

【0006】そこで、例えば特開平6−236452号
公報に開示されているように、撮像手段に入射される反
射光強度を検出し、その検出結果に基づき撮像手段の露
光時間を制御することによって、撮像手段が映像情報を
電気信号に変換するための反射光量を常に安定させるよ
うにすることが考えられている。このようにすれば、読
取口を読取対象に接触させることなく光学的情報を読み
取ることができるようになり、しかも読取口と読取対象
とを離せば離すほど光学情報の読取可能範囲を増大でき
るので、読取口の口径に制限されることなく広範囲な光
学情報を読み取ることができるのである。
Accordingly, as disclosed in, for example, Japanese Patent Application Laid-Open No. 6-236452, the intensity of reflected light incident on the image pickup means is detected, and the exposure time of the image pickup means is controlled based on the detection result. It has been conceived to always stabilize the amount of reflected light for the imaging means to convert video information into electrical signals. With this configuration, the optical information can be read without bringing the reading opening into contact with the reading target, and the readable range of the optical information can be increased as the reading opening is separated from the reading target. In addition, a wide range of optical information can be read without being limited by the diameter of the reading port.

【0007】[0007]

【発明が解決しようとする課題】ところで、読取口と読
取対象とを離した場合の読取性能を低下させる原因とし
ては、上述の反射光強度の低下だけでなく、照度分布に
関する問題がある。つまり、図5(a)に示すように、
発光手段からの照射光の照度分布がいくらフラットであ
るとしても、反射光が結像レンズを通って受光素子に結
像される時点では、反射光波形の振幅は周辺にいくほど
低下することとなる。これは、結像レンズのCOS4
則やMTF特性等によるものである。
The causes of the deterioration of the reading performance when the reading port is separated from the reading object include not only the decrease in the intensity of the reflected light but also the problem of the illuminance distribution. That is, as shown in FIG.
No matter how flat the illuminance distribution of the irradiation light from the light emitting means is, when the reflected light is imaged on the light receiving element through the imaging lens, the amplitude of the reflected light waveform decreases as it goes to the periphery. Become. This is due to the COS 4 law and MTF characteristics of the imaging lens.

【0008】この点に関して従来は、例えば中央よりも
周辺の方が明るくなるような照射光の照度分布となるよ
うに発光手段の設計を行うようにしていた。例えば、発
光手段として4つの発光ダイオードを配置する場合を想
定すると、読取口の両端側を中央部に比べて密にした
り、あるいは4つの発光ダイオードの照射方向を読取口
の両端側に傾けるようにして、読取対象の周辺部の輝度
を大きくするような工夫も考えられている。
In this regard, conventionally, for example, the light emitting means has been designed so that the illuminance distribution of the irradiation light is brighter in the periphery than in the center. For example, assuming that four light emitting diodes are arranged as light emitting means, the both ends of the reading port are made denser than the central part, or the irradiation direction of the four light emitting diodes is inclined to both ends of the reading port. Accordingly, a device for increasing the luminance of the peripheral portion of the reading target has been considered.

【0009】しかしながら、これらはある特定の位置に
読取対象のバーコードが存在する場合にしか対応できな
い。つまり、上述した反射光波形の振幅が周辺にいくほ
ど低下する度合は、読取口とバーコードとの距離が変わ
ればそれに応じて変わってくるからである。したがっ
て、読取口とバーコードとの距離がL1である状態で適
切な照度分布となるように発光ダイオードの配置や光量
を調整したとしても、実際に読み取る場合に読取口とバ
ーコードとの距離がL2に変われば、その状態では適切
な照度分布とならない可能性がある。
[0009] However, these can only cope with a case where a bar code to be read exists at a certain specific position. That is, the degree to which the amplitude of the reflected light waveform decreases as it goes to the periphery changes according to the change in the distance between the reading port and the barcode. Therefore, even if the arrangement and the light amount of the light emitting diodes are adjusted so as to obtain an appropriate illuminance distribution in a state where the distance between the reading port and the barcode is L1, the distance between the reading port and the barcode is actually increased when reading. If it changes to L2, there is a possibility that the illuminance distribution may not be appropriate in that state.

【0010】本発明は、こうした問題に鑑みなされたも
ので、読取口の口径以上の光学情報を正確に読み取るこ
とのできる大深度光学情報読取装置において、様々な深
度(読取口から読取対象までの距離)にある光学情報を
適切に読み取ることのできる光学情報読取装置の提供を
目的とするものである。
SUMMARY OF THE INVENTION The present invention has been made in view of the above-described problems, and a large-depth optical information reading apparatus capable of accurately reading optical information having a diameter equal to or larger than the diameter of a reading port has various depths (from the reading port to the object to be read). It is an object of the present invention to provide an optical information reading apparatus capable of appropriately reading optical information at a distance).

【0011】[0011]

【課題を解決するための手段及び発明の効果】上記目的
を達成するためになされた請求項1に記載の光学情報読
取装置は、発光手段からの照射光をケースの読取口を介
してケース内部からケース外部の読み取り対象に照射す
ることで、読み取り対象からの反射光を前記読取口を介
してケース内部の受光手段に結像して、該受光手段にて
読み取り対象の画像を読み取る光学情報読取装置であっ
て、前記受光手段における結像状態が前記読取口の幅方
向における照度分布及び受光量の点で適切であるかどう
かを判定する判定手段と、前記照度分布の点で不適切で
ある場合には、所定の理想照度分布に近づくように前記
発光手段に対する光量制御を行い、前記受光量が少ない
ため不適切である場合には、前記受光手段の露光時間を
長くすることにより、受光量を増加させる処理を行う補
正手段と、を備えることを特徴とする。
In order to achieve the above object, the optical information reading apparatus according to the first aspect of the present invention is directed to an optical information reading apparatus, which irradiates light emitted from a light emitting means through a reading opening of the case. By irradiating the object to be read outside the case from, the reflected light from the object to be read forms an image on the light receiving means inside the case through the reading port, and the light receiving means reads the image of the object to be read. A determination unit for determining whether an image forming state of the light receiving unit is appropriate in terms of an illuminance distribution and a received light amount in a width direction of the reading opening, and being inappropriate in terms of the illuminance distribution. In this case, the light amount control for the light emitting unit is performed so as to approach a predetermined ideal illuminance distribution, and when the light receiving amount is small and inappropriate, the exposure time of the light receiving unit is increased. Characterized by comprising a correction means for performing a process of increasing the amount of light received.

【0012】受光手段における結像状態が理想の照度分
布となる場合とは、概略的に言えば読取口の幅方向にお
ける照度分布が均一(反射光波形の振幅が均一)になる
状態である。上述したように、発光手段からの照射光の
照度分布がいくらフラットであるとしても、反射光が結
像レンズを通って受光素子に結像される時点では、結像
レンズのCOS4 法則やMTF特性等によって反射光波
形の振幅は周辺にいくほど低下することとなる。したが
って、受光手段に結像する時点で照度分布が均一になる
ようにするには、概略的に言えば読取口の幅方向に見た
場合に中央よりも周辺の方が明るくなる照射光の照度分
布となるように発光手段を制御する必要がある。
The case where the image forming state of the light receiving means has an ideal illuminance distribution is a state in which the illuminance distribution in the width direction of the reading opening is uniform (the amplitude of the reflected light waveform is uniform). As described above, no matter how flat the illuminance distribution of the irradiation light from the light emitting unit is, when the reflected light passes through the imaging lens and forms an image on the light receiving element, the COS 4 law of the imaging lens and the MTF Due to the characteristics and the like, the amplitude of the reflected light waveform decreases as it goes closer to the periphery. Therefore, in order to make the illuminance distribution uniform at the time of image formation on the light receiving means, roughly speaking, when viewed in the width direction of the reading opening, the illuminance of the illuminating light becomes brighter at the periphery than at the center when viewed in the width direction of the reading opening. It is necessary to control the light emitting means so as to obtain a distribution.

【0013】但し、単に中央よりも周辺の方が明るくな
る照射光の照度分布となるように発光手段を固定的に設
定するだけでは、特定の位置に読取対象のバーコードが
存在する場合にしか対応できない。つまり、反射光波形
の振幅が周辺にいくほど低下する度合は、読取口とバー
コードとの距離が変わればそれに応じて変わってくるか
らである。これは、光学系の特性(回折や像のぼけ度合
など)や周囲環境などが原因である。したがって、読取
口とバーコードとの距離がL1である状態で適切な照度
分布となるように発光ダイオードの配置や光量を調整し
たとしても、実際に読み取る場合に読取口とバーコード
との距離がL2に変われば、その状態では適切な照度分
布とならない可能性がある。
However, simply setting the light-emitting means in a fixed manner so that the illuminance distribution of the illuminating light becomes brighter at the periphery than at the center only when the bar code to be read exists at a specific position. I can not cope. That is, the degree to which the amplitude of the reflected light waveform decreases as it goes to the periphery changes according to the change in the distance between the reading port and the barcode. This is due to the characteristics of the optical system (such as the degree of diffraction and image blur) and the surrounding environment. Therefore, even if the arrangement and the light amount of the light emitting diodes are adjusted so as to obtain an appropriate illuminance distribution in a state where the distance between the reading port and the barcode is L1, the distance between the reading port and the barcode is actually increased when reading. If it changes to L2, there is a possibility that the illuminance distribution may not be appropriate in that state.

【0014】また、受光手段における受光量もある程度
のレベルが確保されていないと正確な光学情報の読取が
できなくなる。そして、この受光量も読取口とバーコー
ドとの距離が変わることで変化する。そこで、本光学情
報読取装置によれば、判定手段が、受光手段における結
像状態が読取口の幅方向における照度分布及び受光量の
点で適切であるかどうかを判定する。つまり、読取対象
までの距離や周囲環境(特に周囲照度)を反映した実際
の読取状態下での受光手段における結像状態が適切であ
るかどうかを判定し、照度分布の点で不適切であれば理
想照度分布に近づくように発光手段に対する光量制御を
行い、受光量が少ないため不適切である場合には、受光
手段の露光時間を長くして受光量を増加させる。
Also, if the light receiving amount in the light receiving means does not have a certain level, accurate reading of optical information cannot be performed. The amount of received light also changes as the distance between the reading port and the bar code changes. Therefore, according to the present optical information reading apparatus, the determining means determines whether or not the imaging state of the light receiving means is appropriate in terms of the illuminance distribution and the amount of received light in the width direction of the reading opening. That is, it is determined whether or not the imaging state of the light receiving unit under the actual reading state reflecting the distance to the reading target and the surrounding environment (particularly, the surrounding illuminance) is appropriate. For example, the light amount control is performed on the light emitting means so as to approach the ideal illuminance distribution. If the light receiving amount is inappropriate because the light receiving amount is small, the exposure time of the light receiving means is lengthened to increase the light receiving amount.

【0015】このようにすることで、任意の深度(読取
口から読取対象までの距離)にある光学情報を適切に読
み取ることができる。なお、発光手段としては、例えば
発光ダイオードを3つ以上配列した点光源を挙げること
ができる。3つであれば読取口の幅方向における中央と
両端付近に1つずつ配置することが考えられ、中央の発
光ダイオードに比べて両端付近の発光ダイオードの光量
を大きくすることとなる。そして、上述したように読取
対象までの距離が変わるにしたがって、この中央の発光
ダイオードに比べて両端付近の発光ダイオードの光量を
大きくする度合も変更していくこととなる。
By doing so, it is possible to appropriately read optical information at an arbitrary depth (the distance from the reading port to the reading object). As the light emitting means, for example, a point light source in which three or more light emitting diodes are arranged can be cited. If the number is three, it is conceivable to arrange one at the center and near both ends in the width direction of the reading port, and the light amount of the light emitting diodes near both ends is larger than that at the center. Then, as described above, as the distance to the object to be read changes, the degree of increasing the light amount of the light emitting diodes near both ends as compared with the central light emitting diode also changes.

【0016】なお、補正手段による光量制御としては、
発光手段に供給するエネルギーを制御して行ってもよい
し、あるいは、受光手段が受光可能な状態にある時間帯
内での、発光手段の発光時間を長くすることにより行っ
てもよい。また、補正手段による受光手段の露光時間を
長くする処理に関しては、受光手段の露光時間がシャッ
タにより制限される構成であれば、そのシャッタを開く
時間を長くすることによって露光時間を長くさせること
もできる。
The light amount control by the correction means includes:
The control may be performed by controlling the energy supplied to the light emitting means, or by increasing the light emitting time of the light emitting means within a time zone in which the light receiving means can receive light. Regarding the process of increasing the exposure time of the light receiving means by the correction means, if the exposure time of the light receiving means is limited by the shutter, the exposure time may be increased by increasing the time for opening the shutter. it can.

【0017】また、判定手段が照度分布が適切であるか
どうかを判定する場合には、受光手段からの出力波形の
内、読取口の幅方向における中央部に対応する振幅と端
部に対応する振幅との比に基づいて行うことが考えられ
る。また、請求項7に示す光学情報読取装置は、発光手
段からの照射光をケースの読取口を介してケース内部か
らケース外部の読み取り対象に照射することで、読み取
り対象からの反射光を前記読取口を介してケース内部の
受光手段に結像して、該受光手段にて読み取り対象の画
像を読み取る光学情報読取装置であって、サンプリング
用の読み取り対象を用いた場合の前記受光手段での結像
状態が前記読取口の幅方向における適切な照度分布とな
る場合の前記発光手段に対する光量制御値を、前記読取
口からの距離を順次変えた複数のサンプリング位置に対
応して記憶している制御値記憶手段と、前記読取口から
前記読み取り対象までの距離を測定する距離センサと、
前記距離センサによって測定された読み取り対象までの
距離に対応する前記光量制御値を前記制御値記憶手段か
ら読み出し、当該光量制御値に基づいて前記発光手段に
対する光量制御を行う制御手段と、を備えることを特徴
とする。
When the determination means determines whether or not the illuminance distribution is appropriate, the output waveform from the light receiving means corresponds to the amplitude corresponding to the central portion in the width direction of the reading port and the end portion. It is conceivable to carry out based on the ratio with the amplitude. Further, the optical information reading device according to claim 7 irradiates the light from the light emitting means to the object to be read outside the case from the inside of the case through the reading opening of the case, thereby reading the reflected light from the object to be read. An optical information reading device that forms an image on a light receiving unit inside a case through an opening and reads an image to be read by the light receiving unit, and forms an image with the light receiving unit when a reading target for sampling is used. A control in which a light amount control value for the light emitting unit when the image state has an appropriate illuminance distribution in the width direction of the reading port is stored in correspondence with a plurality of sampling positions at which the distance from the reading port is sequentially changed. Value storage means, a distance sensor that measures a distance from the reading port to the reading target,
Control means for reading the light quantity control value corresponding to the distance to the object to be read measured by the distance sensor from the control value storage means, and performing light quantity control on the light emitting means based on the light quantity control value. It is characterized by.

【0018】本光学情報読取装置によれば、制御値記憶
手段が、サンプリング用の読み取り対象を用いた場合の
受光手段での結像状態が読取口の幅方向における適切な
照度分布となる場合の発光手段に対する光量制御値を、
読取口からの距離を順次変えた複数のサンプリング位置
に対応して記憶している。上述したように、照射光の照
度分布が読取口の幅方向における中央部よりも周辺部の
方が明るくなるように発光手段を設定するのであるが、
反射光波形の振幅が周辺にいくほど低下する度合は、読
取口とバーコードとの距離が変わればそれに応じて変わ
ってくる。したがって、読取口にサンプリング用の読み
取り対象がある場合の受光手段での結像状態が読取口の
幅方向において適切となる場合の発光手段に対する光量
制御値、読取口から距離L1(>0)の位置にサンプリ
ング用の読み取り対象がある場合の光量制御値、読取口
から距離L2(>L1)の位置にサンプリング用の読み
取り対象がある場合の光量制御値、というように、読取
口からの距離を順次変えた複数のサンプリング位置に対
応して光量制御値を記憶しておく。
According to the optical information reading apparatus of the present invention, the control value storage means is provided so that the image forming state of the light receiving means when the reading object for sampling is used has an appropriate illuminance distribution in the width direction of the reading opening. Light amount control value for the light emitting means,
It is stored corresponding to a plurality of sampling positions where the distance from the reading port is sequentially changed. As described above, the light emitting means is set so that the illuminance distribution of the irradiation light is brighter in the peripheral portion than in the central portion in the width direction of the reading opening.
The degree to which the amplitude of the reflected light waveform decreases as it goes to the periphery changes according to the change in the distance between the reading port and the barcode. Therefore, the light amount control value for the light emitting unit when the image forming state of the light receiving unit is appropriate in the width direction of the reading opening when the reading opening has a reading target for sampling, and the light amount control value of the distance L1 (> 0) from the reading opening. The distance from the reading port, such as the light quantity control value when there is a sampling reading target at the position, the light quantity control value when the sampling reading target is at a distance L2 (> L1) from the reading port, and so on. Light amount control values are stored in correspondence with the plurality of sampling positions that are sequentially changed.

【0019】そして、実際の読取動作時においては、距
離センサが読取口から読み取り対象までの距離を測定
し、制御手段が、その測定された読み取り対象までの距
離に対応する光量制御値を制御値記憶手段から読み出
し、その光量制御値に基づいて発光手段に対する光量制
御を行う。なお、実際の読取動作時においては、読取口
から読み取り対象までの距離hが丁度L1やL2になら
ないことの方が多いと想定されるが、例えば0<h≦L
1の場合にはL1での光量制御値を用い、L1<h≦L
2の場合にはL2での光量制御値を用いればよい。ま
た、距離0,L1,L2での光量制御値を用いて、それ
以外の距離における光量制御値を補間により求めてもよ
い。
During the actual reading operation, the distance sensor measures the distance from the reading opening to the object to be read, and the control means controls the light amount control value corresponding to the measured distance to the object to be read by the control value. The light quantity is read from the storage means, and the light quantity control for the light emitting means is performed based on the light quantity control value. In the actual reading operation, it is assumed that the distance h from the reading port to the reading target is not exactly L1 or L2, but for example, 0 <h ≦ L
In the case of 1, the light amount control value at L1 is used, and L1 <h ≦ L
In the case of 2, the light amount control value at L2 may be used. Further, the light amount control values at other distances may be obtained by interpolation using the light amount control values at distances 0, L1, and L2.

【0020】本請求項7に記載の光学情報読取装置(第
2の光学情報読取装置とも称す)においても、様々な深
度(読取口から読取対象までの距離)にある光学情報を
適切に読み取ることができるのであるが、上述した請求
項1に記載の光学情報読取装置(第1の光学情報読取装
置とも称す)と比較すると、それぞれ次のような得失が
ある。 第1の光学情報読取装置の場合には、照度分布及び受
光量の点で適切であるかどうかを判定し、照度分布の点
で不適切であれば理想照度分布に近づくように発光手段
に対する光量制御を行い、受光量が少ないため不適切で
ある場合には、受光手段の露光時間を長くして受光量を
増加させるというフィードバック制御を行う方式である
ため、制御時間が相対的に長くなり読取速度を低下させ
る要因となる。これに対して、第2の光学情報読取装置
の場合には、検出した距離に基づいて一意的に制御でき
るため、フィードバック制御を用いる第1の光学情報読
取装置に比べて読取速度の向上が期待できる。 逆に、第1の光学情報読取装置では距離センサが不要
であり、また第2の光学情報読取装置で必要であった
「読取口からの距離を順次変えた複数のサンプリング位
置に対応して光量制御値を記憶させておく」処理が不要
である。そして、第1の光学情報読取装置は、読取時点
での結像状態に基づいて制御しているため、距離以外の
要因にも対応でき、より適切な制御が実現できる。つま
り、同じ距離であっても、例えば読取対象がバーコード
である場合のそのバーの幅や、周囲照度(読取対象の半
分にだけ外乱光が当たっている場合など)、あるいは回
折やベストフォーカスからのずれに基づくボケなどによ
って結像状態は変わってくる。そのような状況において
も、第1の光学情報読取装置では読取時点での結像状態
に基づいて制御するので、適切な制御が実現できる。
In the optical information reading device according to the present invention (also referred to as a second optical information reading device), it is possible to appropriately read optical information at various depths (distances from a reading opening to a reading target). However, when compared with the above-described optical information reading device according to claim 1 (also referred to as a first optical information reading device), there are the following advantages and disadvantages, respectively. In the case of the first optical information reading device, it is determined whether or not it is appropriate in terms of the illuminance distribution and the amount of received light. If the control is performed and the amount of light received is small, and it is inappropriate, feedback control is performed to increase the amount of light received by increasing the exposure time of the light receiving means. It causes a reduction in speed. On the other hand, in the case of the second optical information reading device, since it can be uniquely controlled based on the detected distance, the reading speed is expected to be improved as compared with the first optical information reading device using feedback control. it can. Conversely, the first optical information reading device does not require a distance sensor, and the second optical information reading device requires a “light amount corresponding to a plurality of sampling positions where the distance from the reading port is sequentially changed. The process of “storing the control value” is unnecessary. Further, since the first optical information reading apparatus performs control based on the image forming state at the time of reading, it can cope with factors other than the distance, and more appropriate control can be realized. In other words, even at the same distance, for example, the bar width when the object to be read is a barcode, the ambient illuminance (when only half of the object to be read is exposed to disturbance light, etc.), or the diffraction or best focus The imaging state changes due to blur or the like based on the deviation. Even in such a situation, since the first optical information reading device controls based on the imaging state at the time of reading, appropriate control can be realized.

【0021】なお、制御値記憶手段に記憶されている光
量制御値は、発光手段に供給するエネルギーの制御値と
して記憶しておいてもよいし、あるいは、受光手段が受
光可能な状態にある時間帯内での、発光手段の発光時間
の制御値として記憶しておいてもよい。
The light quantity control value stored in the control value storage means may be stored as a control value of the energy supplied to the light emitting means, or may be a time period during which the light receiving means can receive light. It may be stored as a control value of the light emitting time of the light emitting means within the band.

【0022】また、光量制御に加えて受光手段に対する
露光時間制御も行うようにする場合には、制御値記憶手
段が、サンプリング用の読み取り対象を用いた場合の受
光手段での結像状態が適切な受光量にて実現される場合
の受光手段に対する露光時間制御値も、複数のサンプリ
ング位置に対応して記憶しておけばよい。こうすれば、
制御手段が、読み取り対象までの距離に対応する光量制
御値と露光時間制御値を制御値記憶手段から読み出し、
光量制御値に基づいて発光手段に対する光量制御を行う
と共に、露光時間制御値に基づいて露光時間制御を行う
ことができる。
In the case where the exposure time control for the light receiving means is performed in addition to the light quantity control, the control value storage means may appropriately control the image forming state of the light receiving means when using a reading object for sampling. Exposure time control values for the light receiving means in the case of realizing a large amount of received light may be stored corresponding to a plurality of sampling positions. This way,
The control unit reads a light amount control value and an exposure time control value corresponding to the distance to the reading target from the control value storage unit,
The light amount control for the light emitting means can be performed based on the light amount control value, and the exposure time control can be performed based on the exposure time control value.

【0023】なお、受光手段の露光時間がシャッタによ
り制限されている場合には、制御値記憶手段に、シャッ
タを開く時間の制御値を露光時間制御値として記憶して
おけばよい。一方、請求項12に示す光学情報読取装置
は、発光手段からの照射光をケースの読取口を介してケ
ース内部からケース外部の読み取り対象に照射すること
で、読み取り対象からの反射光を前記読取口を介してケ
ース内部の受光手段に結像して、該受光手段にて読み取
り対象の画像を読み取る光学情報読取装置であって、前
記受光手段の出力波形を所定の増幅率にて増幅する増幅
手段と、サンプリング用の読み取り対象を用いた場合の
前記受光手段での結像状態が前記読取口の幅方向におけ
る適切な照度分布となる場合の前記発光手段に対する光
量制御値、前記受光手段での結像状態が適切な受光量に
て実現される場合の前記受光手段に対する露光時間制御
値、及び前記増幅手段からの増幅出力が適切なレベルに
て実現される場合の前記増幅率を、前記読取口からの距
離及び周囲照度を順次変えた複数のサンプリング状態に
対応してセットで記憶している制御値記憶手段と、前記
制御値記憶手段から1セット分の制御値を読み出し、読
み出した前記光量制御値に基づいて前記発光手段に対す
る光量制御を行い、読み出した前記露光時間制御値に基
づいて前記受光手段に対する露光時間制御を行い、読み
出した前記増幅率となるよう前記増幅手段を制御し、そ
の制御後に読み取り対象の画像を正常に読み取れなかっ
た場合には、別の1セット分の制御値を読み出して同様
の制御を実行する制御手段と、を備えることを特徴とす
る。
When the exposure time of the light receiving means is limited by the shutter, the control value of the shutter opening time may be stored in the control value storage means as the exposure time control value. On the other hand, in the optical information reading apparatus according to the twelfth aspect, the reflected light from the reading target is read by irradiating the irradiation light from the light emitting means from the inside of the case to the reading target outside the case through the reading port of the case. An optical information reading device that forms an image on a light receiving unit inside a case through an opening and reads an image to be read by the light receiving unit, wherein the amplification unit amplifies an output waveform of the light receiving unit at a predetermined amplification factor. Means, a light amount control value for the light emitting means when the imaging state of the light receiving means when using a reading object for sampling is an appropriate illuminance distribution in the width direction of the reading opening, An exposure time control value for the light receiving means when the imaging state is realized with an appropriate amount of received light, and the amplification factor when the amplified output from the amplifying means is realized at an appropriate level A control value storage means storing a set corresponding to a plurality of sampling states in which the distance from the reading port and the surrounding illuminance are sequentially changed; and reading and reading one set of control values from the control value storage means. Controlling the light amount of the light emitting unit based on the light amount control value, controlling the exposure time of the light receiving unit based on the read exposure time control value, and controlling the amplifying unit to be the read amplification factor. If the image to be read cannot be read normally after the control, a control means for reading another set of control values and performing the same control is provided.

【0024】本光学情報読取装置によれば、制御値記憶
手段が、サンプリング用の読み取り対象を用いた場合の
受光手段での結像状態が読取口の幅方向における適切な
照度分布となる場合の発光手段に対する光量制御値、受
光手段での結像状態が適切な受光量にて実現される場合
の受光手段に対する露光時間制御値、及び増幅手段から
の増幅出力が適切なレベルにて実現される場合の増幅率
を、読取口からの距離及び周囲照度を順次変えた複数の
サンプリング状態に対応してセットで記憶している。そ
して、制御手段は、制御値記憶手段から1セット分の制
御値を読み出し、読み出した光量制御値に基づいて発光
手段に対する光量制御を行い、読み出した露光時間制御
値に基づいて受光手段に対する露光時間制御を行い、読
み出した増幅率となるよう増幅手段を制御し、その制御
後に読み取り対象の画像を正常に読み取れなかった場合
には、別の1セット分の制御値を読み出して同様の制御
を実行する。
According to the present optical information reading apparatus, the control value storage means is provided for controlling the case where the image formation state of the light receiving means when the reading object for sampling is used has an appropriate illuminance distribution in the width direction of the reading opening. The light amount control value for the light emitting unit, the exposure time control value for the light receiving unit when the imaging state of the light receiving unit is realized with an appropriate light receiving amount, and the amplified output from the amplifying unit are realized at appropriate levels. The amplification factor in the case is stored as a set corresponding to a plurality of sampling states in which the distance from the reading port and the surrounding illuminance are sequentially changed. The control means reads one set of control values from the control value storage means, performs light amount control on the light emitting means based on the read light amount control value, and performs exposure time control on the light receiving means based on the read exposure time control value. Control is performed to control the amplification means so that the read amplification factor is obtained. If the image to be read cannot be read normally after the control, another control value for another set is read and similar control is executed. I do.

【0025】本光学情報読取装置(第3の光学情報読取
装置とも称す)においても、第2の光学情報読取装置の
場合と同様に、読取口からの距離及び周囲照度を順次変
えた複数のサンプリング状態に対応して制御値を記憶す
るのであるが、光量制御値、露光時間制御値及び増幅率
をセットで記憶する。そして、実際の読取動作において
上述の第2の光学情報読取装置では距離センサにて測定
した距離に基づいて対応する制御値を読み出すようにし
ていたが、本第3の光学情報読取装置の場合には距離測
定を行わない。つまり、1セット分の制御値を読み出し
て光量制御、露光時間制御及び増幅手段に対する増幅率
の制御を行い、その制御後に読み取り対象の画像を正常
に読み取れなかった場合には、別の1セット分の制御値
を読み出して同様の制御を実行するというフィードバッ
ク制御を行う。
In the present optical information reading apparatus (also referred to as a third optical information reading apparatus), as in the case of the second optical information reading apparatus, a plurality of samplings in which the distance from the reading port and the ambient illuminance are sequentially changed. The control values are stored according to the state, and the light amount control value, the exposure time control value, and the amplification factor are stored as a set. In the actual reading operation, the second optical information reading device reads the corresponding control value based on the distance measured by the distance sensor. However, in the case of the third optical information reading device, Does not measure distance. That is, the control value for one set is read to control the light amount, the exposure time, and the amplification factor for the amplifying means. If the image to be read cannot be read normally after the control, another set of control values is read. Is performed, and the same control is executed and the feedback control is performed.

【0026】この第3の光学情報読取装置の場合には、
距離センサまで不要となるという利点があるが、読取対
象はある程度限定される。例えば郵便物に貼付されるバ
ーコードなどのように同一規格の読み取り対象の場合に
は、その大きさや色のコントラストなどがほぼ同じであ
り、サンプリング時と実際の読取時での整合が取れるた
め、いずれか1セットの制御値(光量制御値、露光時間
制御値及び増幅率)を用いれば、読み取り対象の画像を
正常に読み取れることとなる。
In the case of the third optical information reading device,
Although there is an advantage that the distance sensor is unnecessary, the reading target is limited to some extent. For example, in the case of reading objects of the same standard, such as a bar code attached to a mail, the size and color contrast are almost the same, and matching between sampling and actual reading can be obtained. If any one set of control values (light amount control value, exposure time control value, and amplification factor) is used, the image to be read can be read normally.

【0027】なお、制御値記憶手段に記憶されている光
量制御値は、発光手段に供給するエネルギーの制御値と
して記憶しておいてもよいし、あるいは、受光手段が受
光可能な状態にある時間帯内での、発光手段の発光時間
の制御値として記憶しておいてもよい。また、受光手段
の露光時間がシャッタにより制限されている場合には、
制御値記憶手段に、シャッタを開く時間の制御値を露光
時間制御値として記憶しておけばよい。
The light amount control value stored in the control value storage means may be stored as a control value of the energy supplied to the light emitting means, or may be a time period during which the light receiving means can receive light. It may be stored as a control value of the light emitting time of the light emitting means within the band. When the exposure time of the light receiving means is limited by the shutter,
The control value of the shutter opening time may be stored as the exposure time control value in the control value storage means.

【0028】なお、上述した光学情報読取装置の読み取
り対象としては、例えばバーコードが考えられるが、そ
れに限られず例えば2次元コードなどでもよい。
The object to be read by the above-described optical information reading apparatus may be, for example, a bar code, but is not limited thereto, and may be, for example, a two-dimensional code.

【0029】[0029]

【発明の実施の形態】BEST MODE FOR CARRYING OUT THE INVENTION

[実施の形態1]図1は、上述した発明が適用された実
施の形態1としての光学情報読取装置4の概略構成図で
ある。
[First Embodiment] FIG. 1 is a schematic configuration diagram of an optical information reading apparatus 4 as a first embodiment to which the above-described invention is applied.

【0030】本実施の形態において、光学情報読取装置
4は、いわゆるバーコードリーダハンディターミナルと
して構成されているものである。図1は光学情報読取装
置4の概略断面図であり、図2はその制御系統のブロッ
ク図である。光学情報読取装置4は、ケース12、読取
部14、データ処理出力部16、および電源部18を備
えている。
In the present embodiment, the optical information reading device 4 is configured as a so-called bar code reader handy terminal. FIG. 1 is a schematic sectional view of the optical information reading device 4, and FIG. 2 is a block diagram of a control system thereof. The optical information reading device 4 includes a case 12, a reading unit 14, a data processing output unit 16, and a power supply unit 18.

【0031】ケース12の前方部の内部には読取部14
が配置され、また、ケース12の後方部は操作者が手で
握るための把持部20を形成している。ケース12の前
方部の下部には、左右(図1では紙面に垂直方向)に長
い、すなわち幅方向に長い読取口22が設けられ、読取
口22の奥には、防塵プレート24が配置されて、読取
口22を閉塞している。このことにより、塵が読取口2
2からケース12内部に侵入するのを防止している。ま
た、防塵プレート24は、少なくとも下に述べる読み取
り光としての赤色の光は通過可能である。
A reading unit 14 is provided inside the front part of the case 12.
Are arranged, and a rear portion of the case 12 forms a grip portion 20 for an operator to grip with a hand. In the lower part of the front part of the case 12, a reading port 22 which is long in the left and right (in the direction perpendicular to the paper surface in FIG. 1), that is, is long in the width direction, is provided. , The reading port 22 is closed. As a result, the dust is
2 to prevent it from entering the inside of the case 12. Further, the dustproof plate 24 can pass at least red light as reading light described below.

【0032】読取部14は、照明用赤色発光ダイオード
26(発光手段に該当)、発光駆動回路28、バーコー
ド照射用レンズ30、反射鏡32、結像レンズ部34お
よび光学的センサ36(受光手段に該当)を備えてい
る。発光駆動回路28により照明用赤色発光ダイオード
26が発光すると、その赤色光は防塵プレート24を通
過して、ケース12外部のバーコード8を照射する。図
1では、バーコード8のバー配列方向と読取口22の幅
方向とを合わせて、図1中に実線で示すようにバーコー
ド8を読取口22にほぼ接触した状態にて、赤色光でバ
ーコード8を照射している場合を示している。もちろ
ん、図1中に破線で示すように、バーコード8から読取
口を離した状態で読み取らせても良い。
The reading section 14 includes an illumination red light emitting diode 26 (corresponding to a light emitting means), a light emission driving circuit 28, a bar code irradiation lens 30, a reflecting mirror 32, an imaging lens section 34, and an optical sensor 36 (light receiving means). Applicable). When the illumination red light emitting diode 26 emits light by the light emission drive circuit 28, the red light passes through the dustproof plate 24 and irradiates the bar code 8 outside the case 12. In FIG. 1, the bar arrangement direction of the bar code 8 and the width direction of the reading port 22 are aligned, and the bar code 8 is almost in contact with the reading port 22 as shown by a solid line in FIG. The case where the bar code 8 is irradiated is shown. Of course, as shown by the broken line in FIG. 1, the reading may be performed with the reading opening separated from the barcode 8.

【0033】バーコード8により反射された赤色光は、
再度、防塵プレート24からケース12内に入り、反射
鏡32で反射されて、図3(a)の斜視拡大図および図
3(b)の側面断面拡大図にて示す縦長絞り34aを内
蔵する結像レンズ部34に入射し、縦長絞り34a、結
像レンズ34b,34cを介して、受光素子がリニアに
一列配列された光学的センサ36にバーコード8の像
を、その各バーの配列方向と光学的センサ36の受光素
子の配列方向とが同じ方向で結像させる。このバーコー
ド8の像を光電変換して読み取った光学的センサ36
は、像のパターンを表す電気信号としてデータ処理出力
部16側に出力する。
The red light reflected by the bar code 8 is
Again, the dust enters the case 12 from the dust-proof plate 24, is reflected by the reflecting mirror 32, and incorporates a vertically elongated aperture 34a shown in the enlarged perspective view of FIG. 3A and the enlarged sectional side view of FIG. 3B. The image of the bar code 8 is incident on the image lens unit 34, and passes through the vertically long aperture 34 a and the imaging lenses 34 b and 34 c, and the image of the bar code 8 is applied to the optical sensor 36 in which the light receiving elements are linearly arranged in a line. An image is formed in the same direction in which the light receiving elements of the optical sensor 36 are arranged. An optical sensor 36 that reads the image of the barcode 8 by photoelectric conversion.
Is output to the data processing output unit 16 as an electric signal representing an image pattern.

【0034】尚、結像レンズ部34に内蔵されている縦
長絞り34aは、結像レンズ34b,34cよりも読取
口22側に配置されて、その長手方向がバーコード8の
バーの長手方向と一致した状態でバーコード8を読み取
るように設定してある。また、反射鏡32および結像レ
ンズ部34からなる結像系は、少なくとも読取口22の
位置と、その読取口22の位置から数10cm(例え
ば、30〜50cm)離れた位置までのバーコード8に
ついて読み取ることができるように大深度の結像系とし
て構成されている。
The longitudinal aperture 34a built in the imaging lens unit 34 is disposed closer to the reading port 22 than the imaging lenses 34b and 34c, and its longitudinal direction is the same as the longitudinal direction of the bar of the bar code 8. The barcode 8 is set to be read in a state where the barcodes match. The image forming system including the reflecting mirror 32 and the image forming lens unit 34 includes at least the position of the reading opening 22 and the bar code 8 extending from the position of the reading opening 22 to a position several tens of cm (for example, 30 to 50 cm) away. Is configured as an imaging system with a large depth so that the image can be read.

【0035】また、光学的センサ36は、受光素子が一
列に配列されその各受光素子のアスペクト比がほぼ
「1」であるファクシミリ装置の原稿読み取り用撮像素
子を用いている。ケース12内部のデータ処理出力部1
6には、基板38上に、増幅回路41(増幅手段に該
当)、メモリ42(制御値記憶手段に該当)、2値化回
路43、マイクロコンピュータ44(判定手段、補正手
段及び制御手段に該当)、ピークホールド回路45およ
びレジスタやホストコンピュータ等の本体装置への出力
回路46が備えられている。データ処理出力部16は、
読取部14からバーコード8の読み取りデータを、増幅
回路41及び2値化回路43を介して入力すると、マイ
クロコンピュータ44の処理により、そのデータをデコ
ード(解読)して、バーコード8が表している情報を
得、その情報をメモリ42に一旦記憶する。次に、この
メモリ42内に記憶された情報を出力回路46により、
シリアル信号として本体装置へ送信する。なお、本実施
形態では有線通信としているが、光や電波による無線通
信としてもよい。
The optical sensor 36 uses an image sensor for reading a document of a facsimile apparatus in which light receiving elements are arranged in a line and each light receiving element has an aspect ratio of approximately "1". Data processing output unit 1 inside case 12
6 includes an amplification circuit 41 (corresponding to amplification means), a memory 42 (corresponding to control value storage means), a binarization circuit 43, and a microcomputer 44 (corresponding to judgment means, correction means and control means) on a substrate 38. ), A peak hold circuit 45, and an output circuit 46 to a main unit such as a register or a host computer. The data processing output unit 16
When read data of the bar code 8 is input from the reading unit 14 via the amplifier circuit 41 and the binarization circuit 43, the data is decoded (decoded) by the processing of the microcomputer 44, and the bar code 8 is displayed. Information is obtained, and the information is temporarily stored in the memory 42. Next, the information stored in the memory 42 is output by the output circuit 46.
It is transmitted to the main unit as a serial signal. In this embodiment, wired communication is used, but wireless communication using light or radio waves may be used.

【0036】また読取部14が収納されている部分の、
光路に影響しない位置に、ブザー装置48が設けられ、
マイクロコンピュータ44にてバーコード8のデコード
に成功した場合に、ブザー装置48を鳴動させるように
している。また、電源部18は、電池18aが電源とし
て収納されている。
In the portion where the reading section 14 is stored,
A buzzer device 48 is provided at a position not affecting the optical path,
When the microcomputer 44 succeeds in decoding the bar code 8, the buzzer device 48 sounds. In the power supply section 18, a battery 18a is housed as a power supply.

【0037】マイクロコンピュータ44は、周知のCP
U,ROM,RAM,I/O等を備えて、上述したデー
タ処理出力部16として必要な処理を実行している。こ
こで、光学的な配置状態を図4に模式的に示す。図1に
おいて説明した照明用赤色発光ダイオード26は、実際
には図4に示すように4個の照明用赤色発光ダイオード
26a,26b,26c,26dから構成されており、
これらからの照射光は集光レンズ30を介して読取口2
2から、ケース12の外部に存在するバーコード8を照
射する。
The microcomputer 44 has a well-known CP.
U, ROM, RAM, I / O, and the like are provided to execute necessary processing as the data processing output unit 16 described above. Here, the optical arrangement state is schematically shown in FIG. The illumination red light emitting diode 26 described in FIG. 1 is actually composed of four illumination red light emitting diodes 26a, 26b, 26c, 26d as shown in FIG.
Irradiation light from these is passed through the condenser lens 30 to the reading port 2.
From 2, the bar code 8 existing outside the case 12 is irradiated.

【0038】照明用赤色発光ダイオード26a,26
b,26c,26dは読取口の幅方向に横並びで配置さ
れているのであるが、読取口22の両端側を中央部に比
べて密にしてある。これは、照明用赤色発光ダイオード
26a,26b,26c,26dからの照射光が読み取
り対象となるバーコード8上で中央部よりも周辺部の照
度を大きくするためである。なお、図4(b)に示すよ
うに、照明用赤色発光ダイオード26a,26b,26
c,26dの照射方向を読取口22の両端側に傾けるよ
うにして、読取対象の周辺部での照度を大きくするよう
な工夫も考えられる。
The red light emitting diodes 26a, 26 for illumination
Although b, 26c and 26d are arranged side by side in the width direction of the reading opening, both end sides of the reading opening 22 are made denser than the central portion. This is because the illumination light from the illumination red light emitting diodes 26a, 26b, 26c, 26d makes the illuminance at the peripheral portion larger than at the central portion on the bar code 8 to be read. In addition, as shown in FIG. 4B, the red light emitting diodes 26a, 26b, 26 for illumination are used.
It is also conceivable to incline the irradiation directions of c and 26d toward both ends of the reading port 22 so as to increase the illuminance in the peripheral portion of the reading target.

【0039】このように、照明用赤色発光ダイオード2
6a,26b,26c,26dからの照射光が読み取り
対象となるバーコード8上で中央部よりも周辺部の照度
を大きくするのは、照射光の照度分布がいくらフラット
であるとしても、反射光が結像レンズ部34を通って光
学的センサ36に結像される時点では、結像レンズ部3
4のCOS4 法則やMTF特性等により、図5(a)に
示すように、反射光波形の振幅が周辺にいくほど低下す
ることに対応するためである。
As described above, the red light emitting diode 2 for illumination
The reason that the illuminance of the irradiation light from 6a, 26b, 26c, and 26d on the bar code 8 to be read is higher in the peripheral portion than in the center portion is that the reflected light is no matter how flat the illuminance distribution of the irradiation light is. Is formed on the optical sensor 36 through the imaging lens unit 34, the imaging lens unit 3
This is to cope with the fact that the amplitude of the reflected light waveform decreases toward the periphery as shown in FIG. 5A due to the COS 4 law, MTF characteristics, etc.

【0040】しかしながら、これらはある特定の位置に
読取対象のバーコードが存在する場合にしか対応できな
い。つまり、上述した反射光波形の振幅が周辺にいくほ
ど低下する度合は、読取口22とバーコード8との距離
が変わればそれに応じて変わってくるからである。した
がって、例えば図1中に実線で示すようにバーコード8
を読取口22にほぼ接触した状態にてバーコード8を照
射した場合を基準として調整したとしても、図1中に破
線で示すようにバーコード8から読取口22を離した状
態においては不適切となる。そのため、バーコード8か
ら読取口22を離した状態においてはその離れた距離に
応じた適切な照明光の照度分布となるようにしなくては
ならない。
However, these methods can only cope with a case where a bar code to be read exists at a specific position. That is, the degree to which the amplitude of the reflected light waveform decreases as it goes to the periphery changes according to the change in the distance between the reading port 22 and the barcode 8. Therefore, for example, as shown by a solid line in FIG.
Even if the adjustment is made based on the case where the bar code 8 is irradiated in a state where the reading port 22 is almost in contact with the reading port 22, it is inappropriate when the reading port 22 is separated from the bar code 8 as shown by a broken line in FIG. Becomes Therefore, when the reading port 22 is separated from the barcode 8, the illumination intensity distribution of the illumination light must be appropriately adjusted according to the distance.

【0041】この点に鑑みて本実施形態では、各照明用
赤色発光ダイオード26a,26b,26c,26dの
光量を制御できるように発光駆動回路28を構成してあ
る。この発光駆動回路28は、例えば図6に示すごとく
であり、ここでは、照明用赤色発光ダイオード26a
(26b,26c,26d)と電源Vccとの間に、制
限抵抗Rを設け、照明用赤色発光ダイオード26a(2
6b,26c,26d)の低電位側にはトランジスタT
Rが接続されている。これら制限抵抗Rおよびトランジ
スタTRが発光駆動回路28に該当する。照明用赤色発
光ダイオード26a(26b,26c,26d)を発光
させる場合は、マイクロコンピュータ44がトランジス
タTRに発光信号Pを出力することにより、照明用赤色
発光ダイオード26a(26b,26c,26d)に電
流が流れて発光する。
In view of this point, in the present embodiment, the light emission drive circuit 28 is configured so as to be able to control the light amount of each of the illumination red light emitting diodes 26a, 26b, 26c, 26d. This light emission drive circuit 28 is, for example, as shown in FIG.
(26b, 26c, 26d) and a power supply Vcc, a limiting resistor R is provided, and a red light emitting diode 26a (2
6b, 26c, 26d), the transistor T
R is connected. The limiting resistor R and the transistor TR correspond to the light emission drive circuit 28. When the illumination red light emitting diode 26a (26b, 26c, 26d) emits light, the microcomputer 44 outputs an emission signal P to the transistor TR, so that the current is supplied to the illumination red light emitting diode 26a (26b, 26c, 26d). Flows to emit light.

【0042】また、適切な照明光の照度分布となってい
るかどうかは、最終的には光学的センサ36からの出力
に基づいて判断する必要がある。これを行うため、本実
施形態では光学的センサ36からの出力波形がどのよう
な波形であるかをピークホールド回路45にて波形のピ
ークを見つけ出し、マイクロコンピュータ44にて出力
波形の振幅を比較している。
It is necessary to finally determine whether or not the illuminance distribution of the illumination light is appropriate based on the output from the optical sensor 36. In order to do this, in the present embodiment, the peak of the waveform is found by the peak hold circuit 45 to determine what the output waveform from the optical sensor 36 is, and the microcomputer 44 compares the amplitude of the output waveform. ing.

【0043】ここで、ピークホールド回路45について
図7を参照して説明する。OPアンプ45aの正転入力
には所定の基準電圧が印加され、反転入力には増幅回路
41からの出力が直列に配置されたコンデンサC1及び
抵抗R1を順に介して印加され、OPアンプ45aの出
力はダイオードD1を介してマイクロコンピュータ44
に入力される。また、コンデンサC1及び抵抗R1の間
とOPアンプ45aの出力との間にはダイオードD2が
並列に接続されており、一方、ダイオードD1及びマイ
クロコンピュータ44の間とOPアンプ45aの反転入
力との間には抵抗R2が並列に接続されている。なお、
ダイオードD1及びマイクロコンピュータ44の間に
は、コンデンサC2を介して基準電圧が印加されてい
る。
Here, the peak hold circuit 45 will be described with reference to FIG. A predetermined reference voltage is applied to the non-inverting input of the OP amplifier 45a, and the output from the amplifying circuit 41 is applied to the inverting input via a capacitor C1 and a resistor R1 arranged in series. Is a microcomputer 44 via a diode D1.
Is input to A diode D2 is connected in parallel between the capacitor C1 and the resistor R1 and the output of the OP amplifier 45a, while the diode D2 is connected between the diode D1 and the microcomputer 44 and the inverted input of the OP amplifier 45a. Is connected in parallel with a resistor R2. In addition,
A reference voltage is applied between the diode D1 and the microcomputer 44 via a capacitor C2.

【0044】以上説明した構成を有する本実施形態の光
学情報読取装置4は、光学的センサ36からの出力波形
を分析し、図5(a)に示すように、バーコード8から
の反射光が結像する領域D内において周辺部の出力V1
と中央部の出力V2との比が大きい場合には、照明用赤
色発光ダイオード26の光量を制御して、図5(b)に
示すように周辺部の出力V3が中央部の出力V4とほぼ
同じぐらいになるようにする。これは、光学的センサ3
6における受光素子の露光時間が図10(a)に示すT
1であるとすると、その露光時間T1内において、例え
ば図4においてバーコード8の中央部を照らすための2
個の照明用赤色発光ダイオード26b,26cを図10
(b)に示す点灯時間T2だけ点灯させた後、消灯す
る。このようにすると、光学的センサ36における受光
素子においては、中央部に対応する受光素子より周辺部
に対応する受光素子が時間T1−T2だけ長く光を蓄積
することができるため、この点灯時間T2を調整すれ
ば、図5(b)に示すように周辺部の出力V3が中央部
の出力V4とほぼ同じぐらいになるようにすることが可
能となる。
The optical information reading apparatus 4 of the present embodiment having the above-described configuration analyzes the output waveform from the optical sensor 36, and as shown in FIG. Output V1 of the peripheral part in the region D to be imaged
When the ratio between the output and the output V2 at the central portion is large, the light amount of the red LED 26 for illumination is controlled so that the output V3 at the peripheral portion is almost equal to the output V4 at the central portion as shown in FIG. Try to be about the same. This is the optical sensor 3
Exposure time of the light receiving element at 6 is shown by T in FIG.
If it is 1, for example, 2 for illuminating the central portion of the bar code 8 in FIG.
10 red light emitting diodes 26b and 26c
After turning on the light for the lighting time T2 shown in FIG. In this manner, in the light receiving element of the optical sensor 36, the light receiving element corresponding to the peripheral portion can store light longer than the light receiving element corresponding to the central portion by the time T1−T2, so that the lighting time T2 Is adjusted, it is possible to make the output V3 in the peripheral portion substantially the same as the output V4 in the central portion as shown in FIG. 5B.

【0045】また、光学的センサ36からの出力が小さ
すぎると2値化回路43にて適切に2値化されず、結果
としてバーコード8の情報を適切に読み取ることができ
なくなるため、光学的センサ36における露光時間T1
を長くするように制御する。この露光時間T1を長くす
ると、光学的センサ36の受光素子の受光時間が長くな
り、それだけ蓄積する電荷量が増加するため、光学的セ
ンサ36からの出力レベルが全体的に大きくなる。な
お、上述したように所定の露光時間T1内において、バ
ーコード8の中央部を照らすための2個の照明用赤色発
光ダイオード26b,26cを図10(b)に示す点灯
時間T2だけ点灯させることを前提としているので、露
光時間T1を長くしたら同じ割合で点灯時間T2も長く
する。
If the output from the optical sensor 36 is too small, the binarization circuit 43 does not properly binarize the data. As a result, the information of the bar code 8 cannot be read properly. Exposure time T1 in sensor 36
Is controlled to be longer. When the exposure time T1 is lengthened, the light receiving time of the light receiving element of the optical sensor 36 is lengthened, and the amount of accumulated charge is increased accordingly, so that the output level from the optical sensor 36 is increased as a whole. As described above, within the predetermined exposure time T1, the two illumination red light emitting diodes 26b and 26c for illuminating the central portion of the barcode 8 are turned on for the lighting time T2 shown in FIG. 10B. Therefore, if the exposure time T1 is increased, the lighting time T2 is also increased at the same rate.

【0046】これらの制御はマイクロコンピュータ44
が実行するので、その処理について図9のフローチャー
トを参照して説明する。処理が開始されると、まずデー
タ取込みが実行される(S110)。このデータ取込み
処理は、上述した露光時間T1及びバーコード8の中央
部を照らすための2個の照明用赤色発光ダイオード26
b,26cの点灯時間T2は初期値が設定された状態で
照明動作を行い、その反射光に基づく光学的センサ36
からの出力を増幅回路41にて増幅し、その増幅信号を
2値化回路43にて2値化し、その2値化信号をマイク
ロコンピュータ44にてデコードすることによって行わ
れる。
These controls are performed by the microcomputer 44
Is executed, so that processing will be described with reference to the flowchart of FIG. When the process is started, data acquisition is first performed (S110). This data capturing process is performed by the two illumination red light emitting diodes 26 for illuminating the central portion of the bar code 8 with the above-described exposure time T1.
The lighting operation is performed with the initial values set for the lighting times T2 of the b and 26c, and the optical sensor 36 based on the reflected light is used.
Is amplified by an amplifier circuit 41, the amplified signal is binarized by a binarization circuit 43, and the binarized signal is decoded by a microcomputer 44.

【0047】そして、デコードできれば(S120:Y
ES)、そのまま本処理を終了するが、デコードできな
かった場合には(S120:NO)、S130〜S18
0において点灯時間T2及び露光時間T1の制御を行
う。まず、S130では振幅データを取り込む。これ
は、上述したように、ピークホールド回路45にて出力
波形(ここでは増幅回路41からの出力波形)のピーク
を見つけ出し、そのピーク値を振幅データとして取り込
む。そして、続くS140では波形データの振幅解析を
行う。つまり、1枚のバーコード8に対する出力波形の
振幅データを取り込み、例えば図5(a)に示す周辺部
の振幅V1と中央部の振幅V2を比較して、それらの比
(V2/V1)が適切な範囲にあるかどうかを判定す
る。例えばその振幅比(V2/V1)が2とか3という
値であれば、中央部に対して周辺部の振幅がかなり小さ
い状況であり、照度分布が悪い状態である。したがっ
て、この照度分布の悪さがデコードできなかった原因の
一つでもあると思われるため、S150にて、LED点
灯制御を実行する。この制御は、上述したように、光学
的センサ36における受光素子の露光時間T1内におい
て、バーコード8の中央部を照らすための2個の照明用
赤色発光ダイオード26b,26cを図8(b)に示す
点灯時間T2だけ点灯させた後、消灯するという制御で
ある。この制御によって光学的センサ36における受光
素子においては、中央部に対応する受光素子より周辺部
に対応する受光素子が時間T1−T2だけ長く光を蓄積
することができるため、この点灯時間T2を調整すれ
ば、図5(b)に示すように周辺部の出力V3が中央部
の出力V4とほぼ同じぐらいになるようにすることが可
能である。
If decoding is possible (S120: Y
ES), this process is terminated as it is, but if decoding was not possible (S120: NO), S130 to S18
At 0, the lighting time T2 and the exposure time T1 are controlled. First, in S130, amplitude data is fetched. As described above, as described above, the peak of the output waveform (the output waveform from the amplifier 41) is found by the peak hold circuit 45, and the peak value is taken in as amplitude data. Then, in S140, the amplitude of the waveform data is analyzed. That is, the amplitude data of the output waveform for one barcode 8 is fetched, and the amplitude V1 of the peripheral portion and the amplitude V2 of the central portion shown in FIG. 5A are compared, and their ratio (V2 / V1) is obtained. Determine if it is in the proper range. For example, when the amplitude ratio (V2 / V1) is a value of 2 or 3, the amplitude of the peripheral portion is considerably smaller than that of the central portion, and the illuminance distribution is poor. Therefore, it is considered that this poor illuminance distribution is one of the reasons why decoding could not be performed, so that the LED lighting control is executed in S150. As described above, this control is performed by the two illumination red light emitting diodes 26b and 26c for illuminating the central portion of the bar code 8 within the exposure time T1 of the light receiving element in the optical sensor 36 as shown in FIG. Is turned on after turning on for the lighting time T2 shown in FIG. With this control, in the light receiving element of the optical sensor 36, the light receiving element corresponding to the peripheral portion can store light longer than the light receiving element corresponding to the central portion by the time T1-T2, so that the lighting time T2 is adjusted. Then, as shown in FIG. 5 (b), it is possible to make the output V3 at the peripheral portion substantially the same as the output V4 at the central portion.

【0048】このS150での点灯制御を行った後で取
り込んだ波形データについても振幅解析を行い、適切な
波形であるかどうかを判定する(S160)。この判定
はS140でも説明したのと同様に、出力波形の振幅デ
ータを取り込み、図5(a)に示す周辺部の振幅V1と
中央部の振幅V2の比(V2/V1)が適切な範囲にあ
るかどうかで行う。そして、適切な波形でなければ再度
S150にてLED点灯制御を行う。このLED点灯制
御は、具体的には点灯時間T2を初期値から順番に短く
していくことが考えられる。
The amplitude analysis is also performed on the waveform data acquired after the lighting control in S150, and it is determined whether or not the waveform is appropriate (S160). In this determination, as described in S140, the amplitude data of the output waveform is fetched, and the ratio (V2 / V1) of the amplitude V1 of the peripheral portion and the amplitude V2 of the central portion shown in FIG. It depends on whether there is. If the waveform is not appropriate, the LED lighting control is performed again in S150. Specifically, in this LED lighting control, it is conceivable that the lighting time T2 is sequentially shortened from the initial value.

【0049】このように点灯時間T2を変更制御してい
き、出力波形が適切な状態となった場合には(S16
0:YES)、S170へ移行して、振幅の最小値が所
定の判定値以上であるかどうかを判定する。これは、出
力波形全体が小さすぎると2値化回路43にて適切に2
値化されず、結果としてバーコード8の情報を適切に読
み取ることができなくなるため、適切に読み取ればため
の判定値以上であるかどうかを判定しているのである。
As described above, the lighting time T2 is changed and controlled, and when the output waveform is in an appropriate state (S16
0: YES), and proceeds to S170 to determine whether the minimum value of the amplitude is greater than or equal to a predetermined determination value. This is because if the entire output waveform is too small, the binarization circuit 43 appropriately selects
Since the information is not converted to a value and the information of the barcode 8 cannot be appropriately read as a result, it is determined whether or not the information is equal to or larger than a determination value for properly reading.

【0050】S170にて否定判断、つまり、振幅の最
小値が所定の判定値未満である場合には、S180にて
露光時間制御を行う。これは、上述したように、光学的
センサ36における露光時間T1を長くする制御であ
り、露光時間T1を長くしたら同じ割合で点灯時間T2
も長くする。この露光時間制御は、具体的には露光時間
T1を初期値から所定値ずつ長くしていき、それに伴っ
て点灯時間T2も同じ割合で長くしていくことが考えら
れる。
If a negative determination is made in S170, that is, if the minimum value of the amplitude is smaller than the predetermined determination value, exposure time control is performed in S180. This is, as described above, a control for increasing the exposure time T1 in the optical sensor 36. If the exposure time T1 is increased, the lighting time T2 is increased at the same rate.
Also lengthen. In this exposure time control, specifically, it is conceivable that the exposure time T1 is increased by a predetermined value from the initial value, and accordingly, the lighting time T2 is also increased at the same rate.

【0051】このS180での露光時間制御を行った後
で取り込んだ波形データについても振幅解析を行い、最
小値が判定値以上であるかどうか判定する(S17
0)。そして、肯定判断されると(S170:YE
S)、S120へ戻る。このように、本実施形態の光学
情報読取装置4によれば、光学的センサ36における結
像状態が読取口22の幅方向における照度分布及び受光
量の点で適切であるかどうかを判定し(S160,S1
70)、照度分布の点で不適切であれば理想照度分布に
近づくように、光学的センサ36における受光素子の露
光時間T1内において、バーコード8の中央部を照らす
ための2個の照明用赤色発光ダイオード26b,26c
に対する点灯時間T2の制御を行い(S150)、受光
量が少ないため不適切である場合には、露光時間T1を
長くして受光量を増加させる。
The amplitude analysis is also performed on the waveform data acquired after the exposure time control in S180, and it is determined whether or not the minimum value is equal to or larger than the determination value (S17).
0). If an affirmative determination is made (S170: YE
S), and return to S120. As described above, according to the optical information reading device 4 of the present embodiment, it is determined whether or not the imaging state of the optical sensor 36 is appropriate in terms of the illuminance distribution and the amount of received light in the width direction of the reading port 22 ( S160, S1
70) two illuminations for illuminating the central portion of the bar code 8 within the exposure time T1 of the light receiving element in the optical sensor 36 so as to approach the ideal illuminance distribution if the illuminance distribution is inappropriate. Red light emitting diodes 26b, 26c
(S150), and if the received light amount is small and inappropriate, the exposure time T1 is lengthened to increase the received light amount.

【0052】このようにすることで、任意の深度(読取
口22から読取対象であるバーコード8までの距離)に
ある光学情報を適切に読み取ることができる。また、本
実施形態の場合には、実際の読取時点における光学的セ
ンサ36での結像状態に基づいて制御しているため、結
果的には深度以外の要因にも対応でき、より適切な制御
が実現できる。つまり、同じ深度であっても、例えばバ
ーコード8のバーの幅や、周囲照度(バーコード8の半
分にだけ外乱光が当たっている場合など)、あるいは回
折やベストフォーカスからのずれに基づくボケなどによ
って結像状態は変わってくる。そのような状況において
も、本光学情報読取装置4では読取時点での結像状態に
基づいて制御するので、適切な制御が実現できる。
In this manner, optical information at an arbitrary depth (the distance from the reading port 22 to the bar code 8 to be read) can be appropriately read. Further, in the case of the present embodiment, since the control is performed based on the image formation state of the optical sensor 36 at the time of actual reading, it is possible to cope with factors other than the depth as a result, and more appropriate control is performed. Can be realized. That is, even if the depth is the same, for example, the blur based on the width of the bar of the bar code 8, the ambient illuminance (for example, when only half of the bar code 8 is disturbed), or the deviation from the diffraction or the best focus. The imaging state changes depending on the conditions. Even in such a situation, the optical information reading device 4 performs control based on the image forming state at the time of reading, so that appropriate control can be realized.

【0053】さらに、その他の波及効果として次の点も
挙げられる。 例えば、点灯時間T2の制御として、上述の説明では
バーコード8の中央部を照らすための2個の照明用赤色
発光ダイオード26b,26cを点灯時間T2だけ点灯
させた後に消灯すると説明した。つまり、中央部を照ら
すための2個の照明用赤色発光ダイオード26b,26
cの点灯時間はT2であり、周辺部を照らすための残り
の2個の照明用赤色発光ダイオード26a,26dの点
灯時間は露光時間と同じT1というように、中央部の2
つと周辺部の2つという2種類の点灯時間とした。しか
し、4個の照明用赤色発光ダイオード26a,26b,
26c,26dに対する点灯時間を個別に制御してもよ
い。このようにすれば、例えば元々4個の照明用赤色発
光ダイオード26a,26b,26c,26d同士で輝
度などのハード的なばらつきがあったとしても、そのば
らつきによる影響を吸収することができる。
Further, other ripple effects include the following. For example, as the control of the lighting time T2, in the above description, it has been described that the two illumination red light emitting diodes 26b and 26c for illuminating the central portion of the barcode 8 are turned on for the lighting time T2 and then turned off. That is, two red light emitting diodes 26b and 26 for illumination for illuminating the central portion.
The lighting time of c is T2, and the lighting time of the remaining two illumination red light emitting diodes 26a and 26d for illuminating the peripheral portion is T2, which is the same as the exposure time.
And two peripheral times. However, four red light emitting diodes 26a, 26b,
The lighting time for 26c and 26d may be individually controlled. In this way, even if, for example, there is a hardware variation in luminance among the four red light emitting diodes for illumination 26a, 26b, 26c, 26d, the influence of the variation can be absorbed.

【0054】鏡面反射の影響の軽減ができる。例え
ば、上述したピークホールド回路45にて鏡面反射を察
知した後、照明用赤色発光ダイオード26a,26b,
26c,26dを消灯している時間を長くしたり、ある
いは減光制御をするなどして、周囲の明るさを利用した
読取を行うようにすれば、通常の読取動作では鏡面反射
によって読取ができない状況においても読取が可能とな
る。
The effect of specular reflection can be reduced. For example, after the specular reflection is detected by the peak hold circuit 45 described above, the illumination red light emitting diodes 26a, 26b,
If reading using the surrounding brightness is performed by extending the time during which the lights 26c and 26d are turned off or by performing dimming control, reading cannot be performed due to specular reflection in a normal reading operation. Reading is possible even in the situation.

【0055】なお、本実施の形態1においては、図9の
フローチャートにおけるステップS160,S170が
判定手段としての処理に該当し、ステップS150,S
180が補正手段としての処理に該当する。 [実施の形態2]前記実施の形態1における光学情報読
取装置4の場合には、読取時点での結像状態に基づくフ
ィードバック制御を行う方式であるため、制御時間に関
しては相対的に長くなり読取速度を低下させる傾向があ
る。そこで、特に読取速度の向上を重視した実施の形態
2の光学情報読取装置について説明する。
In the first embodiment, steps S160 and S170 in the flowchart of FIG. 9 correspond to the processing as the determination means, and steps S150 and S170
180 corresponds to the processing as the correction means. [Embodiment 2] In the case of the optical information reading apparatus 4 according to Embodiment 1, since the feedback control based on the imaging state at the time of reading is performed, the control time becomes relatively long and the reading is performed. Tends to reduce speed. Thus, an optical information reading apparatus according to the second embodiment, which particularly emphasizes the reading speed, will be described.

【0056】この実施の形態2の光学情報読取装置は、
上述した実施の形態1の光学情報読取装置4が備えてい
た構成に、距離センサ150(図10参照)を加えたも
のである。この距離センサ150としては、例えばアク
ティブ方式三角測量や焦電形赤外線センサなどを採用す
ればよい。例えば三角測量の手法を用いた距離センサと
しては、発光用のLEDと受光用の複数個のフォトダイ
オードを横並びに配置し、LEDから照射された光が物
体に反射した光の強度を複数個のフォトダイオードにて
検出することで測距するものが知られている。つまり、
相対的に近い距離にある場合には反射角が大きいので、
LEDから遠い側のフォトダイオードの出力が大きくな
り、相対的に遠い距離にある場合には反射角が小さいの
で、LEDに近い側のフォトダイオードの出力が大きく
なる。この原理に基づいて測距を行うのである。もちろ
ん、これらに限られず読み取り対象であるバーコード8
までの距離を測定できるものであればその他の方式のも
のでも構わない。
The optical information reading apparatus according to the second embodiment
A configuration in which a distance sensor 150 (see FIG. 10) is added to the configuration provided in the optical information reading device 4 according to the first embodiment described above. As the distance sensor 150, for example, an active triangulation or a pyroelectric infrared sensor may be used. For example, as a distance sensor using a triangulation method, an LED for light emission and a plurality of photodiodes for light reception are arranged side by side, and the intensity of light reflected from the LED by light emitted from the LED is reflected by a plurality of light emitting diodes. It is known that the distance is measured by detecting with a photodiode. That is,
When the distance is relatively close, the reflection angle is large,
The output of the photodiode on the side farther from the LED increases, and the output of the photodiode on the side closer to the LED increases because the reflection angle is small when the photodiode is relatively far away. Distance measurement is performed based on this principle. Of course, the bar code 8 to be read is not limited to these.
Any other method may be used as long as it can measure the distance to it.

【0057】なお、これ以外の構成は、基本的に実施の
形態1の光学情報読取装置4の構成と同じであるので、
詳しくは説明しない。本実施の形態2の光学情報読取装
置は、サンプリング用バーコードを用いた場合の光学的
センサ36での結像状態が読取口22の幅方向における
適切な照度分布となる場合の照明用赤色発光ダイオード
26a,26b,26c,26dに対する光量制御値
(この場合には点灯時間T2)を、読取口22からの距
離Lを順次変えた複数のサンプリング位置に対応してメ
モリ42に記憶しておき、実際の読取動作時において
は、距離センサ150が読取口22からバーコード8ま
での距離を測定し、その測定されたバーコード8までの
距離に対応する点灯時間T2をメモリ42から読み出
し、その制御値に基づく制御を行うものである。
The remaining structure is basically the same as the structure of the optical information reading device 4 of the first embodiment.
It will not be described in detail. The optical information reading apparatus according to the second embodiment emits red light for illumination when the imaging state of the optical sensor 36 when the sampling barcode is used has an appropriate illuminance distribution in the width direction of the reading port 22. Light amount control values (the lighting time T2 in this case) for the diodes 26a, 26b, 26c, and 26d are stored in the memory 42 corresponding to a plurality of sampling positions where the distance L from the reading port 22 is sequentially changed. At the time of the actual reading operation, the distance sensor 150 measures the distance from the reading port 22 to the barcode 8, reads the lighting time T2 corresponding to the measured distance from the barcode 8 from the memory 42, and controls the lighting time T2. The control based on the value is performed.

【0058】まず、制御値である点灯時間T2を記憶さ
せる処理について説明する。この制御値の記憶処理は例
えば工場出荷時等において行うことが考えられる。これ
はマイクロコンピュータ44が実行するので、その処理
について図11のフローチャートを参照して説明する。
First, a process for storing the lighting time T2 as a control value will be described. It is conceivable that this control value storage processing is performed, for example, at the time of factory shipment. Since this is executed by the microcomputer 44, its processing will be described with reference to the flowchart of FIG.

【0059】処理が開始されると、所定のサンプリング
位置にサンプリング用ラベルが配置されたかどうかを判
定する(S210)。これは、例えば初期設定を行う操
作者が図示しない操作ボタンを押すなどして指示するこ
となどが考えられ、その場合には操作ボタンが押される
とセッティング完了となり(S210:YES)、S2
20へ移行する。
When the process is started, it is determined whether or not a sampling label is arranged at a predetermined sampling position (S210). For example, it is conceivable that the operator performing the initial setting gives an instruction by pressing an operation button (not shown). In this case, the setting is completed when the operation button is pressed (S210: YES), and S2 is performed.
Move to 20.

【0060】S220では、距離センサ150によって
上述したサンプリング位置にあるサンプリング用ラベル
までの距離を取得する。この距離は、読取口22からサ
ンプリング用ラベルまでの距離として測定される。S2
20にてサンプリング位置までの距離を取得した後は、
S230へ移行して、点灯時間T2の制御を行う。具体
的には、各照明用赤色発光ダイオード26a,26b,
26c,26dについて、いくつかの点灯時間T2の候
補を用意しておき、それぞれを組み合わせた設定を最終
的には行う。
In S220, the distance sensor 150 acquires the distance to the sampling label at the sampling position described above. This distance is measured as the distance from the reading port 22 to the sampling label. S2
After acquiring the distance to the sampling position at 20,
The process proceeds to S230 to control the lighting time T2. Specifically, each of the illumination red light emitting diodes 26a, 26b,
A number of lighting time T2 candidates are prepared for 26c and 26d, and a combination of these is finally set.

【0061】この設定が適切であるかどうかを判定する
必要があるので、S240にて適切な波形であるかどう
かを判定する。この判定は、ピークホールド回路45に
て出力波形(ここでは増幅回路41からの出力波形)の
ピークを見つけ出し、そのピーク値を振幅データとして
取り込む。そして、図5(a)に示す周辺部の振幅V1
と中央部の振幅V2の比(V2/V1)が適切な範囲に
あるかどうかで行う。そして、適切な波形でなければ
(S240:NO)、再度S230にて別の点灯時間T
2の設定を行う。一方、適切な波形であれば(S24
0:YES)、S250にて、サンプリング位置までの
距離と、対応する各照明用赤色発光ダイオード26a,
26b,26c,26dについての点灯時間T2という
各制御値がメモリ42に記憶される。
Since it is necessary to determine whether or not this setting is appropriate, it is determined in S240 whether or not the waveform is appropriate. In this determination, the peak of the output waveform (the output waveform from the amplification circuit 41 in this case) is found by the peak hold circuit 45, and the peak value is taken in as amplitude data. Then, the amplitude V1 of the peripheral portion shown in FIG.
The determination is made based on whether or not the ratio (V2 / V1) of the amplitude V2 at the center portion is within an appropriate range. If the waveform is not appropriate (S240: NO), another lighting time T is set again in S230.
2 is set. On the other hand, if the waveform is appropriate (S24
0: YES), at S250, the distance to the sampling position and the corresponding red LED 26a,
Each control value of the lighting time T2 for 26b, 26c, 26d is stored in the memory 42.

【0062】そして、続くS250では全てのサンプリ
ング位置に対応する制御値の記憶が終了したかどうか判
定し、終了していなければ(S250:NO)、S21
0へ戻り、別のサンプリング位置での制御値の記憶処理
(S220〜S240)を実行する。なお、本実施形態
においては、図12(a)に示すように、読取口22か
らの距離が0,a,b,cである4つのサンプリング位
置において制御値を記憶するものとする。これら4つの
距離0,a,b,cの大小関係は0<a<b<cであ
る。
Then, in the following S250, it is determined whether or not the storage of the control values corresponding to all the sampling positions has been completed. If the storage has not been completed (S250: NO), S21 is executed.
Returning to 0, the control value storage processing at another sampling position (S220 to S240) is executed. In the present embodiment, as shown in FIG. 12A, control values are stored at four sampling positions whose distance from the reading port 22 is 0, a, b, and c. The magnitude relation of these four distances 0, a, b, and c is 0 <a <b <c.

【0063】そして、4つのサンプリング位置全てので
の制御値の設定が終了すると(S250:YES)、図
12(b)の制御値テーブルが4つのサンプリング位置
の距離0,a,b,cに対応して設定され、本処理は終
了する。次に、実際の読取動作での処理について図13
のフローチャートを参照して説明する。
When the setting of the control values at all four sampling positions is completed (S250: YES), the control value table of FIG. 12B corresponds to the distances 0, a, b, and c of the four sampling positions. The processing is terminated. Next, the processing in the actual reading operation will be described with reference to FIG.
This will be described with reference to the flowchart of FIG.

【0064】まず、最初のステップS310において
は、距離センサ150によって実際の読み取り対象とな
るバーコード8までの距離hを取得する。そして、S3
20ではこの距離hを判定し、その判定結果に基づいて
S330〜S360のいずれかの処理を行う。
First, in the first step S310, the distance sensor 150 acquires the distance h to the barcode 8 to be actually read. And S3
In step 20, the distance h is determined, and any one of steps S330 to S360 is performed based on the determination result.

【0065】まず、h=0の場合には、図12(b)に
示す制御値テーブルから距離0に対応する点灯時間T2
を読み出す。また、0<h≦aの場合には、図12
(b)に示す制御値テーブルから距離aに対応する点灯
時間T2を読み出す。
First, when h = 0, the lighting time T2 corresponding to the distance 0 is obtained from the control value table shown in FIG.
Is read. When 0 <h ≦ a, FIG.
The lighting time T2 corresponding to the distance a is read from the control value table shown in FIG.

【0066】また、a<h≦bの場合には、図12
(b)に示す制御値テーブルから距離bに対応する点灯
時間T2を読み出す。そして、b<hの場合には、図1
2(b)に示す制御値テーブルから距離cに対応する点
灯時間T2を読み出す。
In the case of a <h ≦ b, FIG.
The lighting time T2 corresponding to the distance b is read from the control value table shown in FIG. When b <h, FIG.
The lighting time T2 corresponding to the distance c is read from the control value table shown in FIG.

【0067】このようにS330〜S360のいずれか
において点灯時間T2を読み出した後、S370に移行
して、露光時間T1の制御を行う。これは、上記実施の
形態1中においても説明したが、光学的センサ36にお
ける露光時間T1を長くする制御であり、露光時間T1
を長くしたら同じ割合で点灯時間T2も長くする。
After reading the lighting time T2 in any one of S330 to S360, the process proceeds to S370 to control the exposure time T1. As described in the first embodiment, this is a control for increasing the exposure time T1 in the optical sensor 36, and the exposure time T1
, The lighting time T2 is also lengthened at the same rate.

【0068】そして、このS370での露光時間制御を
行った後、S380にてデータを取り込み、デコードが
できたかどうかを判定する(S390)。そして、デコ
ードできなかった場合には(S390:NO)、S37
0へ戻って露光時間制御を繰り返す。この露光時間制御
は、具体的には露光時間T1を初期値から所定値ずつ長
くしていき、それに伴って点灯時間T2も同じ割合で長
くしていくことが考えられる。一方、デコードできた場
合には(S390:YES)、本処理を終了する。
After performing the exposure time control in S370, it is determined in S380 whether or not the data is fetched and decoded (S390). If the decoding has failed (S390: NO), S37
Returning to 0, the exposure time control is repeated. In this exposure time control, specifically, it is conceivable that the exposure time T1 is increased by a predetermined value from the initial value, and accordingly, the lighting time T2 is also increased at the same rate. On the other hand, if the decoding has been successful (S390: YES), this processing ends.

【0069】このように、本実施の形態2においては、
予め所定のサンプリング位置にサンプリング用バーコー
ドを配置した場合の光学的センサ36での結像状態が読
取口22の幅方向における適切な照度分布となる場合の
照明用赤色発光ダイオード26a,26b,26c,2
6dに対する光量制御値(この場合には点灯時間T2)
を、読取口22からの距離を順次変えた複数のサンプリ
ング位置に対応した制御値として図12(b)に示す制
御値テーブルとして記憶しておく。そして、実際の読取
動作時においては、距離センサ150にて測定した読取
口22からバーコード8までの距離hに対応する制御値
を制御値テーブルから読み出し、その制御値に基づいて
点灯時間T2の制御を行う。
As described above, in the second embodiment,
Illuminating red light emitting diodes 26a, 26b, 26c in a case where the imaging state of the optical sensor 36 when the sampling barcode is arranged at a predetermined sampling position in advance has an appropriate illuminance distribution in the width direction of the reading port 22. , 2
Light amount control value for 6d (lighting time T2 in this case)
Is stored as a control value table shown in FIG. 12B as control values corresponding to a plurality of sampling positions where the distance from the reading port 22 is sequentially changed. At the time of the actual reading operation, a control value corresponding to the distance h from the reading port 22 to the barcode 8 measured by the distance sensor 150 is read from the control value table, and based on the control value, the lighting time T2 is determined. Perform control.

【0070】本実施の形態2においても、上記実施の形
態1の場合と同様、様々な深度(読取口22からバーコ
ード8までの距離)にある光学情報を適切に読み取るこ
とができる。但し、実施の形態1の光学情報読取装置4
と比較すると、それぞれ次のような得失がある。 実施の形態1の光学情報読取装置4の場合には、照度
分布及び受光量の点で適切であるかどうかを実際に検出
してフィードバック制御しているので、制御時間が相対
的に長くなり読取速度を低下させる要因となる。これに
対して、実施の形態2の光学情報読取装置の場合には、
検出した距離hに基づいて一意的に制御できるため、フ
ィードバック制御を用いる実施の形態1の場合に比べて
読取速度の向上が期待できる。 逆に、実施の形態1の光学情報読取装置4では不要で
あった距離センサ150が必要となる。また、実施の形
態1の場合には、読取時点での結像状態に基づいて制御
しているため、距離以外の要因にも対応でき、より適切
な制御が実現できるが、実施の形態2の場合には、基本
的には距離による要因にしか対処はできない。したがっ
て、距離以外の要因の影響が少ない状況での使用を想定
すると、上記の読取速度の向上という利点が特に有効
に発揮される。 [実施の形態3]上記実施の形態2では、読取口22か
らの距離及び周囲照度を順次変えた複数のサンプリング
状態に対応した制御値を予め記憶しておき、実際の読取
時には距離センサ150にて測定した距離に対応する制
御値を読み出して制御に用いていたが、この距離センサ
150を用いないで制御することも可能である。つま
り、本実施の形態3では、読取口22からの距離及び周
囲照度を順次変えた複数のサンプリング状態に対応して
制御値を記憶するのであるが、距離自体は記憶せず、図
14の制御値テーブルに示すように、上述した照明用赤
色発光ダイオード26a,26b,26c,26dに対
する点灯時間T2、露光時間T1及び増幅回路41にお
ける増幅率をセットで記憶し、各セットのデータにN
O.1〜Nまで付しておく。そして、実際の読取動作に
おいては、上述の実施の形態2のように測定した距離に
基づいて対応する制御値を読み出すのではなく、図14
の制御値テーブルから1セット分の制御値を読み出し、
照明用赤色発光ダイオード26a,26b,26c,2
6dに対する点灯時間T2の制御、光学的センサ36に
対する露光時間T1の制御、増幅回路41における増幅
率の設定制御を行い、その制御後にデコードできたかど
うかを判定する。そして、適切にデコードできなかった
場合には、別の1セット分の制御値を読み出して同様の
制御を実行するというフィードバック制御を行う。
In the second embodiment, as in the first embodiment, optical information at various depths (distances from the reading port 22 to the barcode 8) can be appropriately read. However, the optical information reading device 4 of the first embodiment
Compared to, each has the following advantages and disadvantages. In the case of the optical information reading device 4 according to the first embodiment, since the feedback control is performed by actually detecting whether or not the light intensity is appropriate in terms of the illuminance distribution and the amount of received light, the control time becomes relatively long, and the reading time becomes longer. It causes a reduction in speed. On the other hand, in the case of the optical information reading device of the second embodiment,
Since the control can be performed uniquely based on the detected distance h, an improvement in the reading speed can be expected as compared with the case of the first embodiment using the feedback control. Conversely, a distance sensor 150 that is unnecessary in the optical information reading device 4 of the first embodiment is required. Further, in the case of the first embodiment, since the control is performed based on the image forming state at the time of reading, factors other than the distance can be dealt with, and more appropriate control can be realized. In such a case, it is basically possible to deal only with the factor based on the distance. Therefore, assuming use in a situation where the influence of factors other than the distance is small, the advantage of improving the reading speed is particularly effectively exhibited. [Third Embodiment] In the second embodiment, control values corresponding to a plurality of sampling states in which the distance from the reading port 22 and the surrounding illuminance are sequentially changed are stored in advance, and the distance sensor 150 is stored in the distance sensor 150 during actual reading. Although the control value corresponding to the measured distance is read out and used for control, it is also possible to perform control without using the distance sensor 150. That is, in the third embodiment, the control value is stored in correspondence with a plurality of sampling states in which the distance from the reading port 22 and the surrounding illuminance are sequentially changed. However, the distance itself is not stored, and the control value shown in FIG. As shown in the value table, the lighting time T2, the exposure time T1, and the amplification factor in the amplifier circuit 41 for the above-described illumination red light emitting diodes 26a, 26b, 26c, and 26d are stored as a set, and the data of each set includes N
O. 1 to N are attached. Then, in the actual reading operation, instead of reading out the corresponding control value based on the measured distance as in the above-described second embodiment, FIG.
Read out a set of control values from the control value table of
Red light emitting diodes 26a, 26b, 26c, 2 for illumination
The control of the lighting time T2 for 6d, the control of the exposure time T1 for the optical sensor 36, and the setting control of the amplification factor in the amplifier circuit 41 are performed, and after the control, it is determined whether or not the decoding was successful. If decoding is not properly performed, feedback control is performed to read another set of control values and execute the same control.

【0071】この実施の形態3の光学情報読取装置の場
合には、距離センサまで不要となるという利点がある
が、読取対象はある程度限定される。例えば郵便物に貼
付されるバーコードなどのように同一規格の読み取り対
象の場合には、その大きさや色のコントラストなどがほ
ぼ同じであり、サンプリング時と実際の読取時での整合
が取れるため、いずれか1セットの制御値(点灯時間T
2、露光時間T1及び増幅率)を用いれば、読み取り対
象の画像を正常に読み取れることとなる。 [その他]上述した実施の形態1〜3において、光学的
センサ36の受光量を増加する手段として、露光時間T
1を増加させる処理を行ったが、図15(a)の正面説
明図および図15(b)の側面説明図に示すごとく、結
像レンズ部34の縦長絞り34aの長手方向にて2枚の
遮蔽板50a,50bを上下するシャッタ50を設け、
このシャッタ50の開時間をマイクロコンピュータ44
が制御することで、受光量を増加させるようにしても良
い。すなわち、露光時間T1の代わりに、シャッタ50
の開時間を用いることにより、同様の処理が可能とな
る。
The optical information reading apparatus according to the third embodiment has an advantage that the distance sensor is unnecessary, but the object to be read is limited to some extent. For example, in the case of reading objects of the same standard, such as a bar code attached to a mail, the size and color contrast are almost the same, and matching between sampling and actual reading can be obtained. Any one set of control values (lighting time T
2, the exposure time T1 and the amplification factor), the image to be read can be read normally. [Others] In the above-described first to third embodiments, as a means for increasing the amount of light received by the optical sensor 36, the exposure time T
1 was increased, but as shown in the front view of FIG. 15A and the side view of FIG. 15B, two sheets were formed in the longitudinal direction of the longitudinal stop 34a of the imaging lens unit 34. A shutter 50 for raising and lowering the shielding plates 50a and 50b is provided.
The opening time of the shutter 50 is determined by the microcomputer 44.
May be controlled to increase the amount of received light. That is, instead of the exposure time T1, the shutter 50
By using the open time, the same processing can be performed.

【0072】また、上述した各実施の形態ではバーコー
ド8用のリーダとして説明したが、2次元コードについ
ても、同様に構成することができ、同様な効果を生じ
る。前述した各実施の形態において、読取口22は、ケ
ース12の前方部に開口部として設けられたものであっ
た。しかし、バーコード8に沿わせる部分が、ケース1
2に開口部とは別に存在すれば、その部分が実際の読取
口22の部分に相当する。
Further, in each of the embodiments described above, the reader for the bar code 8 has been described. However, a two-dimensional code can be similarly configured, and the same effect can be obtained. In each of the above-described embodiments, the reading port 22 is provided as an opening in the front part of the case 12. However, the part along the bar code 8 is the case 1
If there is an opening 2 in addition to the opening, that portion corresponds to the actual reading opening 22 portion.

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

【図1】 実施の形態1としての光学情報読取装置の概
略断面図である。
FIG. 1 is a schematic sectional view of an optical information reading device according to a first embodiment.

【図2】 実施の形態1としての制御系統のブロック図
である。
FIG. 2 is a block diagram of a control system according to the first embodiment.

【図3】 実施の形態1としての結像レンズ部の構成説
明図である。
FIG. 3 is an explanatory diagram illustrating a configuration of an imaging lens unit according to the first embodiment;

【図4】 実施の形態1としての照明用赤色発光ダイオ
ードの配置を示す説明図である。
FIG. 4 is an explanatory diagram showing an arrangement of a red light emitting diode for illumination as the first embodiment;

【図5】 光学的センサに結像された反射光波形の説明
図である。
FIG. 5 is an explanatory diagram of a reflected light waveform formed on an optical sensor.

【図6】 実施の形態1としての照明用赤色発光ダイオ
ードの輝度調節メカニズム示す回路図である。
FIG. 6 is a circuit diagram showing a luminance adjustment mechanism of the red light emitting diode for illumination as the first embodiment;

【図7】 実施の形態1としてのピークホールド回路を
示す回路図である。
FIG. 7 is a circuit diagram showing a peak hold circuit according to the first embodiment;

【図8】 実施の形態1としての光学的センサにおける
露光時間T1及び照明用赤色発光ダイオードの点灯時間
T2を示すタイムチャートである。
FIG. 8 is a time chart showing an exposure time T1 and a lighting time T2 of the illumination red light emitting diode in the optical sensor according to the first embodiment.

【図9】 実施の形態1における点灯時間制御及び露光
時間制御を含む読取時の制御処理を示すフローチャート
である。
FIG. 9 is a flowchart illustrating control processing during reading including lighting time control and exposure time control according to the first embodiment.

【図10】 実施の形態2としての制御系統のブロック
図である。
FIG. 10 is a block diagram of a control system according to a second embodiment.

【図11】 実施の形態2における制御値を記憶させる
処理を示すフローチャートである。
FIG. 11 is a flowchart illustrating a process of storing a control value according to the second embodiment.

【図12】 実施の形態2におけるサンプリング位置と
制御値テーブルの説明図である。
FIG. 12 is an explanatory diagram of a sampling position and a control value table according to the second embodiment.

【図13】 実施の形態2における読取時の制御処理を
示すフローチャートである。
FIG. 13 is a flowchart illustrating control processing during reading according to the second embodiment.

【図14】 実施の形態3における制御値テーブルの説
明図である。
FIG. 14 is an explanatory diagram of a control value table according to the third embodiment.

【図15】 その他の実施の形態としてのシャッタの構
成説明図である。
FIG. 15 is a diagram illustrating a configuration of a shutter according to another embodiment.

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

4…光学情報読取装置 8…バーコード 1
2…ケース 14…読取部 16…データ処理出力部
18…電源部 18a…電池 20…把持部
22…読取口 24…防塵プレート 26(26a,26b,26c,26d)…照明用赤色
発光ダイオード 28…発光駆動回路 30…バーコード照射用レンズ 32…反射鏡 34…結像レンズ部 34
a…縦長絞り 34b,34c…結像レンズ 36…光学的セ
ンサ 38…基板 41…増幅回路 4
2…メモリ 43…2値化回路 44…マイクロコンピュータ 45…ピークホールド回路 46…出力回路 4
8…ブザー装置 50…シャッタ 50a,50b…遮蔽板 15
0…距離センサ
4: Optical information reading device 8: Bar code 1
2 Case 14 Reading part 16 Data processing output part
18 power supply unit 18a battery 20 grip unit
Reference numeral 22: Reading port 24: Dust-proof plate 26 (26a, 26b, 26c, 26d): Red light emitting diode for illumination 28: Light emission drive circuit 30: Bar code irradiation lens 32: Reflecting mirror 34: Imaging lens unit 34
a: Vertical aperture 34b, 34c: Imaging lens 36: Optical sensor 38: Substrate 41: Amplifier circuit 4
DESCRIPTION OF SYMBOLS 2 ... Memory 43 ... Binarization circuit 44 ... Microcomputer 45 ... Peak hold circuit 46 ... Output circuit 4
8 buzzer device 50 shutter 50a, 50b shielding plate 15
0: Distance sensor

Claims (17)

【特許請求の範囲】[Claims] 【請求項1】発光手段からの照射光をケースの読取口を
介してケース内部からケース外部の読み取り対象に照射
することで、読み取り対象からの反射光を前記読取口を
介してケース内部の受光手段に結像して、該受光手段に
て読み取り対象の画像を読み取る光学情報読取装置であ
って、 前記受光手段における結像状態が前記読取口の幅方向に
おける照度分布及び受光量の点で適切であるかどうかを
判定する判定手段と、 前記照度分布の点で不適切である場合には、所定の理想
照度分布に近づくように前記発光手段に対する光量制御
を行い、前記受光量が少ないため不適切である場合に
は、前記受光手段の露光時間を長くすることにより受光
量を増加させる処理を行う補正手段と、 を備えることを特徴とする光学情報読取装置。
An illumination light from a light emitting means is irradiated from the inside of the case to a reading object outside the case through a reading port of the case, so that reflected light from the reading object is received inside the case through the reading port. An optical information reading device that forms an image on a unit and reads an image to be read by the light receiving unit, wherein an image forming state of the light receiving unit is appropriate in terms of an illuminance distribution and a received light amount in a width direction of the reading opening. Determination means for determining whether or not the light intensity distribution is unsuitable. If the light intensity distribution is inappropriate, light amount control is performed on the light emitting means so as to approach a predetermined ideal illumination distribution, and the light reception amount is small. An optical information reading apparatus, comprising: a correction unit that performs a process of increasing the amount of received light by increasing the exposure time of the light receiving unit if appropriate.
【請求項2】前記補正手段は、前記発光手段に供給する
エネルギーを制御して前記光量制御を行うことを特徴と
する請求項1に記載の光学情報読取装置。
2. An optical information reading apparatus according to claim 1, wherein said correction means controls said light amount by controlling energy supplied to said light emitting means.
【請求項3】前記補正手段は、前記受光手段が受光可能
な状態にある時間帯内での、前記発光手段の発光時間を
長くすることにより、前記光量制御を増加させる処理を
行うことを特徴とする請求項1に記載の光学情報読取装
置。
3. The method according to claim 1, wherein the correcting means performs a process of increasing the light quantity control by extending a light emitting time of the light emitting means within a time zone in which the light receiving means is in a light receiving state. The optical information reading device according to claim 1.
【請求項4】前記受光手段の露光時間がシャッタにより
制限されていると共に、前記補正手段は、該シャッタを
開く時間を長くすることによって露光時間を長くさせる
処理を行うことを特徴とする請求項1に記載の光学情報
読取装置。
4. An exposure time of said light receiving means is limited by a shutter, and said correction means performs a process of increasing an exposure time by increasing a time for opening said shutter. 2. The optical information reading device according to 1.
【請求項5】前記判定手段は、前記受光手段からの出力
波形の内、前記読取口の幅方向における中央部に対応す
る振幅と端部に対応する振幅との比に基づいて前記照度
分布が適切であるかどうかを判定することを特徴とする
請求項1〜4のいずれかに記載の光学情報読取装置。
5. The illuminance distribution is determined based on a ratio of an amplitude corresponding to a center portion in a width direction of the reading port and an amplitude corresponding to an end portion of an output waveform from the light receiving unit. The optical information reading device according to claim 1, wherein it is determined whether the optical information is appropriate.
【請求項6】前記判定手段は、前記受光手段からの出力
波形中で最小となる振幅を所定の判定用振幅と比較する
ことによって受光量が適切であるかどうかを判定するこ
とを特徴とする請求項1〜4のいずれかに記載の光学情
報読取装置。
6. A method according to claim 1, wherein said judging means judges whether the amount of received light is appropriate by comparing the minimum amplitude in the output waveform from said light receiving means with a predetermined judging amplitude. The optical information reading device according to claim 1.
【請求項7】発光手段からの照射光をケースの読取口を
介してケース内部からケース外部の読み取り対象に照射
することで、読み取り対象からの反射光を前記読取口を
介してケース内部の受光手段に結像して、該受光手段に
て読み取り対象の画像を読み取る光学情報読取装置であ
って、 サンプリング用の読み取り対象を用いた場合の前記受光
手段での結像状態が前記読取口の幅方向における適切な
照度分布となる場合の前記発光手段に対する光量制御値
を、前記読取口からの距離を順次変えた複数のサンプリ
ング位置に対応して記憶している制御値記憶手段と、 前記読取口から前記読み取り対象までの距離を測定する
距離センサと、 前記距離センサによって測定された読み取り対象までの
距離に対応する前記光量制御値を前記制御値記憶手段か
ら読み出し、当該光量制御値に基づいて前記発光手段に
対する光量制御を行う制御手段と、 を備えることを特徴とする光学情報読取装置。
7. Irradiation light from the light emitting means is radiated from the inside of the case to the object to be read outside through the reading opening of the case, so that reflected light from the object to be read is received inside the case through the reading opening. An optical information reading apparatus that forms an image on a unit and reads an image to be read by the light receiving unit, wherein an imaging state of the light receiving unit when a reading target for sampling is used is a width of the reading opening. Control value storage means for storing a light amount control value for the light emitting means in the case of an appropriate illuminance distribution in a direction corresponding to a plurality of sampling positions in which the distance from the reading port is sequentially changed; A distance sensor for measuring a distance from the object to the read object; and the control value storage means for storing the light amount control value corresponding to the distance to the read object measured by the distance sensor. From reading the optical information reading apparatus characterized by and a control means for performing light quantity control for said light emitting means based on the light amount control value.
【請求項8】前記制御値記憶手段に記憶されている前記
光量制御値は、前記発光手段に供給するエネルギーの制
御値であることを特徴とする請求項7に記載の光学情報
読取装置。
8. The optical information reading apparatus according to claim 7, wherein the light quantity control value stored in the control value storage means is a control value of energy supplied to the light emitting means.
【請求項9】前記制御値記憶手段に記憶されている前記
光量制御値は、前記受光手段が受光可能な状態にある時
間帯内での、前記発光手段の発光時間の制御値であるこ
とを特徴とする請求項7に記載の光学情報読取装置。
9. The light amount control value stored in the control value storage means is a control value of a light emission time of the light emitting means in a time zone in which the light receiving means can receive light. The optical information reading device according to claim 7, wherein:
【請求項10】前記制御値記憶手段は、前記サンプリン
グ用の読み取り対象を用いた場合の前記受光手段での結
像状態が適切な受光量にて実現される場合の前記受光手
段に対する露光時間制御値も、前記複数のサンプリング
位置に対応して記憶しており、 前記制御手段は、前記測定された読み取り対象までの距
離に対応する前記露光時間制御値も前記制御値記憶手段
から読み出し、当該露光時間制御値に基づいて前記受光
手段に対する露光時間制御を行うよう構成されているこ
とを特徴とする請求項7〜9のいずれかに記載の光学情
報読取装置。
10. An exposure time control for said light receiving means when said imaging value of said light receiving means is realized with an appropriate amount of received light when said reading object for sampling is used. The control unit also reads the exposure time control value corresponding to the measured distance to the read object from the control value storage unit, and stores the exposure time control value. 10. The optical information reading apparatus according to claim 7, wherein an exposure time control for the light receiving unit is performed based on a time control value.
【請求項11】前記受光手段の露光時間がシャッタによ
り制限されていると共に、前記制御値記憶手段に記憶さ
れている前記露光時間制御値は、前記シャッタを開く時
間の制御値であることを特徴とする請求項10に記載の
光学情報読取装置。
11. An exposure time of said light receiving means is limited by a shutter, and said exposure time control value stored in said control value storage means is a control value of a time for opening said shutter. The optical information reading device according to claim 10, wherein
【請求項12】発光手段からの照射光をケースの読取口
を介してケース内部からケース外部の読み取り対象に照
射することで、読み取り対象からの反射光を前記読取口
を介してケース内部の受光手段に結像して、該受光手段
にて読み取り対象の画像を読み取る光学情報読取装置で
あって、 前記受光手段の出力波形を所定の増幅率にて増幅する増
幅手段と、 サンプリング用の読み取り対象を用いた場合の前記受光
手段での結像状態が前記読取口の幅方向における適切な
照度分布となる場合の前記発光手段に対する光量制御
値、前記受光手段での結像状態が適切な受光量にて実現
される場合の前記受光手段に対する露光時間制御値、及
び前記増幅手段からの増幅出力が適切なレベルにて実現
される場合の前記増幅率を、前記読取口からの距離及び
周囲照度を順次変えた複数のサンプリング状態に対応し
てセットで記憶している制御値記憶手段と、 前記制御値記憶手段から1セット分の制御値を読み出
し、読み出した前記光量制御値に基づいて前記発光手段
に対する光量制御を行い、読み出した前記露光時間制御
値に基づいて前記受光手段に対する露光時間制御を行
い、読み出した前記増幅率となるよう前記増幅手段を制
御し、その制御後に読み取り対象の画像を正常に読み取
れなかった場合には、別の1セット分の制御値を読み出
して同様の制御を実行する制御手段と、 を備えることを特徴とする光学情報読取装置。
12. Irradiation light from the light emitting means is radiated from the inside of the case to a reading object outside the case through a reading port of the case, whereby reflected light from the reading object is received inside the case through the reading port. An optical information reading device that forms an image on a unit and reads an image to be read by the light receiving unit, wherein the amplification unit amplifies an output waveform of the light receiving unit at a predetermined amplification factor; The light amount control value for the light emitting unit when the image forming state of the light receiving unit is an appropriate illuminance distribution in the width direction of the reading port when using the light receiving unit. The exposure time control value for the light receiving means in the case where it is realized in, and the amplification factor in the case where the amplified output from the amplifying means is realized at an appropriate level. A control value storage unit storing a set of control values corresponding to a plurality of sampling states in which the ambient illuminance is sequentially changed; and a control value for one set is read from the control value storage unit, based on the read light amount control value. The light amount control is performed on the light emitting unit, the exposure time control is performed on the light receiving unit based on the read exposure time control value, and the amplifying unit is controlled to have the read amplification factor. An optical information reading apparatus comprising: a control unit that reads out another set of control values and executes the same control when an image cannot be read normally.
【請求項13】前記制御値記憶手段に記憶されている前
記光量制御値は、前記発光手段に供給するエネルギーの
制御値であることを特徴とする請求項12に記載の光学
情報読取装置。
13. The optical information reading apparatus according to claim 12, wherein the light quantity control value stored in the control value storage means is a control value of energy supplied to the light emitting means.
【請求項14】前記制御値記憶手段に記憶されている前
記光量制御値は、前記受光手段が受光可能な状態にある
時間帯内での、前記発光手段の発光時間の制御値である
ことを特徴とする請求項12に記載の光学情報読取装
置。
14. The light amount control value stored in the control value storage means is a control value of a light emission time of the light emitting means in a time zone in which the light receiving means is capable of receiving light. The optical information reading device according to claim 12, wherein:
【請求項15】前記受光手段の露光時間がシャッタによ
り制限されていると共に、前記制御値記憶手段に記憶さ
れている前記露光時間制御値は、前記シャッタを開く時
間の制御値であることを特徴とする請求項14に記載の
光学情報読取装置。
15. An exposure time of the light receiving means is limited by a shutter, and the exposure time control value stored in the control value storage means is a control value of a time for opening the shutter. The optical information reading device according to claim 14, wherein:
【請求項16】前記発光手段は、発光ダイオードを3つ
以上配列した点光源であることを特徴とする請求項1〜
15のいずれかに記載の光学情報読取装置。
16. A light source according to claim 1, wherein said light emitting means is a point light source in which three or more light emitting diodes are arranged.
16. The optical information reading device according to any one of 15.
【請求項17】前記読み取り対象は、バーコードである
ことを特徴とする請求項1〜16のいずれかに記載の光
学情報読取装置。
17. The optical information reading apparatus according to claim 1, wherein the object to be read is a barcode.
JP9278951A 1997-10-13 1997-10-13 Optical information reader Pending JPH11120283A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9278951A JPH11120283A (en) 1997-10-13 1997-10-13 Optical information reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9278951A JPH11120283A (en) 1997-10-13 1997-10-13 Optical information reader

Publications (1)

Publication Number Publication Date
JPH11120283A true JPH11120283A (en) 1999-04-30

Family

ID=17604343

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9278951A Pending JPH11120283A (en) 1997-10-13 1997-10-13 Optical information reader

Country Status (1)

Country Link
JP (1) JPH11120283A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007087005A (en) * 2005-09-21 2007-04-05 Denso Wave Inc Optical information reader
JP2007317059A (en) * 2006-05-29 2007-12-06 Denso Wave Inc Optical information reader

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007087005A (en) * 2005-09-21 2007-04-05 Denso Wave Inc Optical information reader
JP2007317059A (en) * 2006-05-29 2007-12-06 Denso Wave Inc Optical information reader
JP4572871B2 (en) * 2006-05-29 2010-11-04 株式会社デンソーウェーブ Optical information reader

Similar Documents

Publication Publication Date Title
EP0962880B1 (en) An apparatus and method for reading an optical code
US5473149A (en) Bar code reading apparatus with multifocal length optical system
JP3235249B2 (en) Optical information reader
US7815120B2 (en) Electronic shutter for a dual-mode imager
JPS61190673A (en) Optical information reading device
US20060196942A1 (en) Method and apparatus for optically reading information attached to a target
JPS6124747B2 (en)
US7545722B2 (en) Method and apparatus for optically reading information attached to a target
JP2012503933A (en) Optical code decoding method, imaging apparatus, and optical code reader
JP3629581B2 (en) Bar code reader
JPH04230589A (en) Optical scanning and reading apparatus
CN102216813B (en) High speed optical code reading
JP2012508927A5 (en)
JP3070484B2 (en) Optical information reading device and optical information reading method
JP4111216B2 (en) Optical information reader
EP0621970A1 (en) Portable optical reader system
JP3760594B2 (en) Optical information reader
JPH11120283A (en) Optical information reader
CN113758900B (en) Multispectral detection method, multispectral detection system and multispectral storage medium for content of soluble solids in liquid
JP2932815B2 (en) Optical information reader
JP3114546B2 (en) Optical information reader
JP2001092916A (en) Recognizing device for optical reflecting element and recognizing device for storage medium
JP3967861B2 (en) Bill identification method
JP3518032B2 (en) Barcode reader
JP3118500B2 (en) Code reader