JP4622992B2 - Optical information reader - Google Patents
Optical information reader Download PDFInfo
- Publication number
- JP4622992B2 JP4622992B2 JP2006309796A JP2006309796A JP4622992B2 JP 4622992 B2 JP4622992 B2 JP 4622992B2 JP 2006309796 A JP2006309796 A JP 2006309796A JP 2006309796 A JP2006309796 A JP 2006309796A JP 4622992 B2 JP4622992 B2 JP 4622992B2
- Authority
- JP
- Japan
- Prior art keywords
- saturation
- optical information
- intensity
- output
- time
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Description
本発明は、商品等に印刷又は貼り付けられているバーコード等の光学情報を読み取る光学情報読取装置に関するものである。 The present invention relates to an optical information reading apparatus that reads optical information such as a barcode printed or pasted on a product or the like.
紙などの基材にバーコードなどの光学情報を印刷したものを物品や書類に取り付け、これを光学的に読み取り、物品の識別などを行う光学情報読取装置が知られている。係る光学情報読取装置は、ケース内部のLED等の光照射手段から読取口が向けられている光学情報を照明し、この照明により光学情報から反射される光を、読取口からケース内部に導きレンズでCCD等に結像させ、その像の明暗の分布から光学情報が表している情報を解読していた。ここで、特許文献1には、一次元センサの露光時間、増幅回路の増幅率を設定できるバーコード読取装置が開示されている。
光学情報読取装置は、高周囲照度環境下ではCCDセンサに入射する光が強くなり(例えば太陽光の入射)、センサ出力が飽和してしまうと、センサは光信号を正常に電気信号に変換できず、一般的には読み取りが不可能となるが、予期せぬ電気信号を出力することがあり、誤読の原因となることもある。例えば、片側からラベル面に強い光が当たったりすることで、ラベル面からの反射光強度が一部分のみ強く飽和してしまった場合、バーコードの一部分が欠落し、バーコードデータとは異なるデータでデコード出来てしまうことがある。具体的には、CODABARの桁数が欠けてしまう等の現象が発生する。或いは、センサの種類によっては、飽和した部分の波形が反転するような現象が発生し、白黒データが全く逆転するような場合がある。白と黒が反転することで、異なるデータとなるバーコードも存在するため、センサ出力が飽和すると、誤読の可能性が高くなることは避けられない。 Optical information readers can convert light signals into electrical signals normally when the light incident on the CCD sensor becomes strong (for example, sunlight) and the sensor output becomes saturated in a high ambient illuminance environment. In general, however, reading is impossible, but an unexpected electric signal may be output, which may cause misreading. For example, if the reflected light intensity from the label surface is strongly saturated due to strong light hitting the label surface from one side, a part of the barcode is lost and the data is different from the barcode data. Sometimes it can be decoded. Specifically, phenomena such as lack of the number of digits of CODABAR occur. Alternatively, depending on the type of sensor, a phenomenon may occur in which the waveform of the saturated portion is reversed, and the black and white data may be completely reversed. Since there are bar codes that have different data due to the inversion of white and black, if the sensor output is saturated, the possibility of misreading is unavoidable.
一般的に光学情報読取装置は、受光センサの露光時間を段階的に調整することで、高周囲照度環境下で受光センサの出力が飽和しないようにすると共に、逆に暗すぎる環境でも読み取りに必要な受光センサ出力電圧が得られるようにしている。具体的には、図10(A)に示すように露光時間を露光時間1→露光時間2→露光時間3→露光時間4と徐々に長くし、読取条件a(例えば、信号の増幅率a)、読取条件b(例えば、信号の2値化のシキイ値b)、読取条件c(例えば、デコード条件c)等を変えながらデコードを繰り返し、露光時間4でデコードが出来ないときには、露光時間1に戻るという処理を行っている。例えば、露光時間1の読取条件cで読み取れなかった場合には、露光時間2の読取条件dで読み取りを試み、ここでも読み取れなかったときに、露光時間2の読取条件eで読み取りを試みる。このため、読み取り可能な露光時間に移行するまでに時間がかかり、読み取りフィーリングの悪化にもつながっている。 In general, optical information readers adjust the exposure time of the light receiving sensor stepwise so that the output of the light receiving sensor does not saturate in a high ambient illuminance environment. A light receiving sensor output voltage can be obtained. Specifically, as shown in FIG. 10A, the exposure time is gradually increased as exposure time 1 → exposure time 2 → exposure time 3 → exposure time 4 and reading condition a (for example, signal amplification factor a) The decoding is repeated while changing the reading condition b (for example, the threshold value b for the binarization of the signal), the reading condition c (for example, the decoding condition c), etc. Processing to return. For example, when reading is not possible under the reading condition c of the exposure time 1, reading is attempted under the reading condition d of the exposure time 2, and when reading is not possible here, reading is attempted under the reading condition e of the exposure time 2. For this reason, it takes time to shift to a readable exposure time, which leads to deterioration in reading feeling.
なお、露光時間を短くすることで耐周囲照度性能を強化することは出来る。ただし、一般的に廉価なCCDセンサにはシャッター機能がなく、露光時間を短くすると、信号波形全体が短くなり、波形の分解能力が下がるので、露光時間を短くすることには限界がある。このため、最終的にスキャンデータが誤っている可能性がある場合は、バーコードデータをキャンセルする必要がある。 Note that the ambient illuminance resistance can be enhanced by shortening the exposure time. However, in general, an inexpensive CCD sensor does not have a shutter function, and shortening the exposure time has a limit in shortening the exposure time because the entire signal waveform is shortened and the waveform resolving ability is reduced. For this reason, if there is a possibility that the scan data is finally wrong, it is necessary to cancel the barcode data.
本発明は、上述した課題を解決するためになされたものであり、その目的とするところは、種々の周囲照度環境下において誤り無く短時間で情報コードを読み取ることができる光学情報読取装置を提供することにある。 The present invention has been made to solve the above-described problems, and an object of the present invention is to provide an optical information reader capable of reading an information code in a short time without error under various ambient illuminance environments. There is to do.
上記目的を達成するため、請求項1の発明は、受光センサ12で撮像された画像から情報コードをデコードする光学情報読取装置であって、
前記受光センサ12からの出力電圧を直接監視して受光センサ出力の飽和の有無を検出する飽和検出手段20と、
飽和が検出された時間を積算して飽和強度を推定する飽和強度推定手段38と、
飽和強度が所定以上で有る場合に、画像からの情報コードのデコードを行わないようにする明デコード中止手段(S20、S24)と、
飽和強度に応じて、次画像を撮像する際の露光条件を暗くするように設定する暗露光条件設定手段(S22、S26)とを備えることを技術的特徴とする。
In order to achieve the above object, the invention of claim 1 is an optical information reader for decoding an information code from an image captured by the
Saturation detecting means 20 for directly monitoring the output voltage from the
Saturation intensity estimation means 38 for estimating the saturation intensity by integrating the time when saturation is detected;
Bright decoding stop means (S20, S24) for preventing the decoding of the information code from the image when the saturation intensity is not less than a predetermined value;
Technical features include dark exposure condition setting means (S22, S26) for setting the exposure condition for capturing the next image to be dark according to the saturation intensity.
請求項1の光学情報読取装置では、受光センサからの出力電圧を直接監視して受光センサ出力の飽和の有無を検出し、飽和が検出された時間を積算して飽和強度を推定する。そして、飽和強度が所定以上で有る場合に、画像からの情報コードのデコードを行わないようにする。このため、受光センサの出力が飽和して、画像からの情報コードのデコードが困難な際に、デコードを行わないため、露光条件の適合しない過度に明るい周囲照度環境下においてデコードを試みる時間の無駄を無くすことができる。特に、飽和した際に出力が反転する受光センサを用いた際に、情報コードの誤読を防ぐことが可能となる。更に、デコードを行うこと無く、飽和強度に応じて、次画像を撮像する際の露光条件を暗くするように設定して、情報コードを読み取る。このため、種々の周囲照度環境下において短時間で情報コードを読み取ることができる。 In the optical information reader according to the first aspect, the output voltage from the light receiving sensor is directly monitored to detect the presence or absence of saturation of the light receiving sensor output, and the saturation intensity is estimated by integrating the time when the saturation is detected. Then, when the saturation intensity is greater than or equal to a predetermined value, the information code from the image is not decoded. Therefore, when the output of the light receiving sensor is saturated and it is difficult to decode the information code from the image, the decoding is not performed. Can be eliminated. In particular, when a light receiving sensor whose output is inverted when saturated, an information code can be prevented from being misread. Further, the information code is read by setting the exposure condition for capturing the next image to be dark according to the saturation intensity without decoding. For this reason, an information code can be read in a short time under various ambient illuminance environments.
請求項2の光学情報読取装置では、飽和強度の大きさに応じて、露光条件の暗い第1の露光条件と、該第1の露光条件よりも更に暗い第2の露光条件とを設定するため、周囲の明るさに応じた露光条件を迅速に設定でき、種々の周囲照度環境下において短時間で情報コードを読み取ることができる。 According to another aspect of the optical information reading apparatus of the present invention, in order to set a first exposure condition having a dark exposure condition and a second exposure condition that is darker than the first exposure condition in accordance with the magnitude of the saturation intensity. The exposure conditions according to the ambient brightness can be set quickly, and the information code can be read in a short time under various ambient illuminance environments.
請求項3の光学情報読取装置では、受光センサからの出力電圧を監視して読み取り可能電圧に達するかを検出し、読み取り可能電圧が検出された時間を積算して露光不足強度を推定し、露光不足強度に応じて、次画像を撮像する際の露光条件を明るくするように設定する。このため、露光が不足する際には露光不足強度に応じて、次画像を撮像する際の露光条件を明るくするように設定して、情報コードを読み取る。このため、種々の周囲照度環境下において短時間で情報コードを読み取ることができる。 According to another aspect of the optical information reading device of the present invention, the output voltage from the light receiving sensor is monitored to detect whether or not the readable voltage is reached, and the underexposure intensity is estimated by integrating the time when the readable voltage is detected. In accordance with the insufficient intensity, the exposure condition for capturing the next image is set to be brighter. For this reason, when the exposure is insufficient, the information code is read by setting the exposure condition for capturing the next image to be bright according to the underexposure intensity. For this reason, an information code can be read in a short time under various ambient illuminance environments.
請求項4の光学情報読取装置では、露光不足強度が所定以下で有る場合に、画像からの情報コードのデコードを行わないようにするため、露光条件の適合しない過度に暗い照度環境下においてデコードを試みる時間の無駄を無くすことができる。 In the optical information reading apparatus according to claim 4, in order to prevent the information code from being decoded from the image when the underexposure intensity is not more than a predetermined value, the decoding is performed in an excessively dark illuminance environment where the exposure condition is not suitable. You can eliminate wasted time trying.
[第1実施形態]
以下、本発明の光学情報読取装置を印刷されたバーコード用の光学情報読取装置に適用した第1実施形態について図を参照して説明する。まず、第1実施形態に係る光学情報読取装置10の構成概要を図1の説明図を参照して説明する。
発光ダイオード22a、22bでバーコードBを照明し、バーコード像を結像レンズ24を介してCCDセンサ12上に結像させ、CCDセンサ12で光学信号を電気信号へ変換し、その信号を増幅回路14で増幅して、二値化回路16で二値化した後、CPU30のデコード部32でデコードする。CPU30は、デコードが失敗した際、及び、CCDセンサの出力の飽和が検出された際に、センサ駆動制御部42によりCCDセンサの露光時間を調整し、また、増幅回路制御部36により増幅回路14の増幅率を調整し、二値化回路制御部34により二値化回路16での二値化のしきい値を調整する。
[First embodiment]
Hereinafter, a first embodiment in which an optical information reader of the present invention is applied to a printed barcode optical information reader will be described with reference to the drawings. First, an outline of the configuration of the optical information reading apparatus 10 according to the first embodiment will be described with reference to the explanatory diagram of FIG.
The barcode B is illuminated by the
第1実施形態では、CCDセンサ12の出力の飽和を監視している。このために、オペアンプ20の反転入力側にCCDセンサ12の出力信号を印加し、非反転入力側にCCDセンサ12の飽和出力の電圧が設定された分圧回路18の電圧を印加する。なお、分圧回路18は、片側が接地され、反対側に電源電圧の印加された2個の抵抗の中点の電位を出力する。これにより、オペアンプ20は、CCDセンサ12の出力信号の電圧レベルを分圧回路18の電圧と比較し二値化する。即ち、オペアンプ20は、CCDセンサ12の出力が飽和すると出力が反転する。そして、CPU30のタイマ38で、この出力が反転した時間を積算する。この積算時間からおおよそのCCDセンサ12の飽和強度を推測する。
In the first embodiment, saturation of the output of the
図4(A)、図4(B)は、周囲照度によるCCDセンサ12の出力波形の違いを示すグラフであり、図4(A)は周囲照度5000lxのときの出力波形を、図4(B)は周囲照度10000lxのときの出力波形を示している。図3(A)は周囲照度が明るいときのCCDセンサの出力波形を、図4(B)は周囲照度が非常に明るいときの出力波形を、図3(C)はCCDセンサ出力が飽和しない際の出力波形を示す説明図である。図4(A)、図4(B)に示すようにCCDセンサ12は、5Vの駆動電圧が印加され、照度が高い際には出力波形の電圧値が下がり、飽和した際に飽和電圧へ至る。第1実施形態では、飽和電圧若しくはこれよりも僅かに高い電圧を上記分圧回路18の電圧として設定することで、オペアンプ20は、CCDセンサ12の出力の飽和により出力が反転する。そして、CPU30のタイマ38で、この出力が反転した時間を積算する。
4A and 4B are graphs showing the difference in the output waveform of the
光学情報読取装置は通常、自己照明(第1実施形態では発光ダイオード22a、22bからの照明光)により周囲照度が0lxでも問題なく読み取りが出来る。このため、問題となるのは周囲照度が明る過ぎる場合である。第1実施形態の光学情報読取装置では、明るすぎる場合に対応するため、分圧回路18の電圧をCCDセンサ12の飽和電圧より僅か高い電圧に設定し、飽和電圧を超える時間をタイマ38で積算して、これをセンサ飽和時間とし、その積算時間から最適な露光時間を割り出し、明るすぎる周囲照度に適応する短い露光時間を新たに設定する。なお、飽和に達したと判断した場合、デコード成立、不成立に関わらずデコードデータ(画像データ)をキャンセルする。
The optical information reading device can normally read without problems even when the ambient illuminance is 0 lx by self-illumination (illumination light from the
この第1実施形態の光学情報読取装置による読取条件の切り換えについて、図5の説明図を参照して説明する。
第1実施形態の光学情報読取装置では、読み取り条件の設定は、周囲照度が明るすぎCCDセンサ12の出力が飽和しない限り、図10(A)を参照して上述した従来技術と同様にして、露光時間を露光時間1→露光時間2→露光時間3→露光時間4と徐々に長くし、読取条件a(信号の増幅率a)、読取条件b(信号の2値化のシキイ値b)、読取条件c(デコード条件c)等を変えながらデコードを繰り返し、露光時間4でデコードが出来ないときには、露光時間1に戻るという処理を行っている。例えば、露光時間1の読取条件c(デコード条件c)で読み取れなかった場合には、露光時間2の読取条件d(信号の増幅率d)で読み取りを試み、ここでも読み取れなかったときに、露光時間2の読取条件e(信号の2値化のシキイ値e)で読み取りを試みる。そして、読み取りが行えた際に、その読み取り条件を設定して次読み取りを行う。
Switching of reading conditions by the optical information reading apparatus of the first embodiment will be described with reference to the explanatory diagram of FIG.
In the optical information reading apparatus of the first embodiment, the reading condition is set in the same manner as in the prior art described above with reference to FIG. 10A unless the ambient illuminance is too bright and the output of the
他方、第1実施形態の光学情報読取装置では、上述したオペアンプ20の出力が反転した時間の積算値から周囲照明が明る過ぎる(CCDセンサ12の飽和)ことを検出すると、撮像した画像データのデコードをキャンセルし、露光時間を飽和強度に応じて調整する。例えば、露光時間4の読み取り条件j(信号の増幅率j)で、CCDセンサ12の飽和を検出すると、図3(A)に示すように飽和強度時間が短い際には露光時間2へ戻り、図3(B)に示すように飽和強度時間が長い際には露光時間1へ移行する。
On the other hand, in the optical information reading apparatus of the first embodiment, when it is detected that the ambient illumination is too bright (saturation of the CCD sensor 12) from the integrated value of the time when the output of the
この第1実施形態の光学情報読取装置による処理について図2のフローチャートを参照して説明する。
先ず、初期値を設定して(S12)、画像を取り込む(S13)。そして、タイマ38に蓄えられたセンサ飽和判定時間積算値Taを呼び出し(S14)、センサ飽和判定時間積算値Taが0か否か、即ち、CCDセンサ12の出力が飽和したか否かを判断する(S16)。ここで、CCDセンサ12の出力が飽和している際には(S16:Yes)、センサ飽和判定時間積算値Taがしきい値時間Tよりも長いか否かを判断する(S18)。図3(A)に示すようにしきい値時間Tよりも短く、飽和強度が相対的に低い場合には(S18:Yes)、取り込んだ画像データをクリアし(S20)、図5中に示す露光時間2の読取条件dへジャンプして(S22)、画像取り込みを行う(S13)。ここで、図3(B)に示すようにしきい値時間Tよりも長く、飽和強度が相対的に高い場合には(S18:No)、取り込んだ画像データをクリアし(S24)、露光時間1の読取条件aへジャンプして(S26)、画像取り込みを行う(S13)。
Processing by the optical information reading apparatus of the first embodiment will be described with reference to the flowchart of FIG.
First, initial values are set (S12), and an image is captured (S13). Then, the sensor saturation determination time integrated value Ta stored in the
他方、図3(C)に示すようにセンサ出力波形が飽和電圧に達しない場合には上述したS16の判断がYesとなり、取り込んだ画像データに基づきデコード処理を行う(S30)。ここで、デコードが成功した際には(S32:Yes)、処理を終了する。一方、デコードに失敗した場合には(S32:No)、読取条件が最終かを判断し(S34)、読取条件が最終の時、即ち、図10(A)に示す露光時間4の読取条件lに達した際には(S34)、露光時間3の読取条件gへジャンプして(S36)、画像取り込みを行う(S13)。また、読取条件が最終では無い場合には(S34:No)、図5中に示すルーチンで順送りに読取条件、露光時間を変えて行く(S38)。 On the other hand, if the sensor output waveform does not reach the saturation voltage as shown in FIG. 3C, the determination of S16 described above becomes Yes, and the decoding process is performed based on the captured image data (S30). Here, when the decoding is successful (S32: Yes), the process is terminated. On the other hand, if the decoding fails (S32: No), it is determined whether the reading condition is final (S34). When the reading condition is final, that is, the reading condition 1 at the exposure time 4 shown in FIG. (S34), the process jumps to the reading condition g for the exposure time 3 (S36), and performs image capture (S13). If the reading condition is not final (S34: No), the reading condition and the exposure time are changed in order in the routine shown in FIG. 5 (S38).
第1実施形態の光学情報読取装置では、CCDセンサ12からの出力電圧をオペアンプ20で直接監視してCCDセンサ12の出力の飽和の有無を検出し、飽和が検出された時間(センサ飽和判定時間積算値Ta)をタイマ38で積算して飽和強度を推定する。そして、出力の飽和が有った場合、もしくは、飽和強度が所定以上で有る場合に、画像からの情報コードのデコードを行わないようにする。このため、CCDセンサ12の出力が飽和して、画像からの情報コードのデコードが困難な際に、デコードを行わないため、露光条件の適合しない過度に明るい周囲照度環境下においてデコードを試みる時間の無駄を無くすことができる。更に、デコードを行うこと無く、飽和強度に応じて、次画像を撮像する際の露光条件を暗くするように設定して、情報コードを読み取る。このため、種々の周囲照度環境下において短時間で情報コードを読み取ることができる。
In the optical information reader of the first embodiment, the output voltage from the
また、第1実施形態の光学情報読取装置では、飽和強度の大きさに応じて、露光条件の暗い第1の露光条件(S22)と、該第1の露光条件よりも更に暗い第2の露光条件(S26)とを設定するため、周囲の明るさに応じた露光条件を迅速に設定でき、種々の周囲照度環境下において短時間で情報コードを読み取ることができる。 Further, in the optical information reading apparatus according to the first embodiment, the first exposure condition (S22) with dark exposure conditions and the second exposure that is darker than the first exposure conditions according to the magnitude of the saturation intensity. Since the condition (S26) is set, the exposure condition according to the ambient brightness can be quickly set, and the information code can be read in a short time under various ambient illuminance environments.
更に、CCDセンサ12からの出力電圧を増幅回路14を介することなく、オペアンプ20で直接監視してCCDセンサ12の出力の飽和の有無を検出している。第1実施形態では、CCDセンサ12の駆動電圧が5Vで、オペアンプ20の駆動電圧も5Vである。このため、5VのCCDセンサ12の出力を増幅回路14で増幅した後、オペアンプ20に入力すると、5V駆動のオペアンプ20ではCCDセンサ12の出力が飽和する前に出力が反転することになる。即ち、第1実施形態では、CCDセンサ12からの出力電圧を増幅せずオペアンプ20で直接監視することで、出力の飽和のタイミングを正確に検出することができる。
Further, the output voltage from the
[第2実施形態]
引き続き、本発明の第2実施形態に係る光学情報読取装置について、図6〜図9を参照して説明する。
上述した第1実施形態では、周囲照明が明る過ぎる(CCDセンサ12の飽和)ことを検出すると、露光時間を飽和強度に応じて調整する。これに対して、第2実施形態の光学情報読取装置は、周囲照明が明る過ぎる場合に加えて、照明が暗すぎる場合も露光時間を調整する。
[Second Embodiment]
Next, an optical information reading apparatus according to a second embodiment of the present invention will be described with reference to FIGS.
In the first embodiment described above, when it is detected that the ambient illumination is too bright (saturation of the CCD sensor 12), the exposure time is adjusted according to the saturation intensity. On the other hand, the optical information reading apparatus of the second embodiment adjusts the exposure time not only when the ambient illumination is too bright but also when the illumination is too dark.
図6は、第2実施形態の光学情報読取装置の構成を示すブロック図である。
図1を参照して上述した第1実施形態では、CCDセンサ12の出力をオペアンプ20により二値化し、CCDセンサ12の出力飽和を検出した。これに対して、第2実施形態では、CCDセンサ12の出力をA/D変換回路50により多値化(例えば、256階調)することで、所定の飽和しきい値レベルよりもデジタル化した信号レベルが高い場合にCCDセンサの出力飽和とし、所定の読取しきい値レベルよりもデジタル化した信号レベルが高い場合に、読取可能出力レベルとする。ここで、出力飽和時間をタイマ38で積算して露光時間を調整することに関しては第1実施形態と同様であるが、第2実施形態では、CCDセンサの読取可能出力レベルに達した時間をタイマで積算して、露光時間を調整する。
FIG. 6 is a block diagram illustrating a configuration of the optical information reading apparatus according to the second embodiment.
In the first embodiment described above with reference to FIG. 1, the output of the
図9は、第2実施形態の光学情報読取装置による読取条件の切り換えの説明図である。図9(A)は、第1実施形態と同様に、CCDセンサ12の出力が飽和した際の露光時間の切り換えを示している。図8(A)に示すように周囲照度が明るいCCDセンサの出力波形の場合に、露光時間2へジャンプし、図8(B)に示すように周囲照度が非常に明るいときの出力波形の場合に露光時間1を設定する。
FIG. 9 is an explanatory diagram of switching of reading conditions by the optical information reading apparatus of the second embodiment. FIG. 9A shows switching of the exposure time when the output of the
図9(B)は、CCDセンサ12の出力が読取可能電圧に達した1スキャン内の積算時間(読取可能電圧積算時間Tb)が設定以下の場合の露光時間の切り換えを示している。ここで、図8(C)に示すように読取可能電圧に達した1スキャン内の積算時間Tbがしきい値時間T1以下の場合には、図9(B)中に鎖線で示すCパターンで切り換える。即ち、露光時間1から露光時間3へジャンプして、露光時間3から露光時間4へ移行し、露光時間4から露光時間1へ戻る切り換えパターンである。なお、露光時間1から露光時間3へジャンプするのは、露光時間1では十分な照度が得られていないので、露光時間2でも露光不足が予想されるからである。
FIG. 9B shows switching of the exposure time when the integrated time (readable voltage integrated time Tb) within one scan when the output of the
他方、図8(D)に示すように読取可能電圧に達した1スキャン内の積算時間Tbがしきい値時間T1を超える場合には、図9(B)中に実線で示すDパターンで切り換える。即ち、露光時間1から露光時間2、露光時間2から露光時間3へ移行し、露光時間3から露光時間1へ戻る切り換えパターンである。積算時間Tbがしきい値時間T1を超える場合には、十分な明るさの照明光を得ているので、最長の露光時間4を設定しない。 On the other hand, as shown in FIG. 8D, when the integrated time Tb within one scan that has reached the readable voltage exceeds the threshold time T1, switching is performed with a D pattern indicated by a solid line in FIG. 9B. . That is, it is a switching pattern in which the exposure time 1 shifts to the exposure time 2, the exposure time 2 shifts to the exposure time 3, and the exposure time 3 returns to the exposure time 1. When the integration time Tb exceeds the threshold time T1, the illumination light with sufficient brightness is obtained, so the longest exposure time 4 is not set.
この第2実施形態の光学情報読取装置による処理について図7のフローチャートを参照して説明する。
ここで、S12〜S26までの処理は、図2を参照して上述した第1実施形態と同様であるため説明を省略する。
CCDセンサ12の出力の飽和が無い場合には(S16:Yes)、CCDセンサ12の出力が読取可能電圧に達した1スキャン内の積算時間(読取可能電圧積算時間Tb)を呼び出し(S54)、CCDセンサ12の出力が画像読取可能なレベルに達したか否かを、読取可能電圧積算時間Tbをしきい値時間T1と比較することで判断する(S56)。ここで、図8(C)を参照して上述したように読取可能電圧積算時間Tbがしきい値時間T1よりも短い場合、即ち、CCDセンサ12の出力が画像読取可能なレベルに達していない場合には(S56:No)、取り込んだ画像データをクリアし(S58)、図9(B)を参照して上述した移行パターンCに沿って露光時間を切り換え(S60)、画像取り込みを行う(S13)。
Processing by the optical information reading apparatus according to the second embodiment will be described with reference to the flowchart of FIG.
Here, the processing from S12 to S26 is the same as that of the first embodiment described above with reference to FIG.
If there is no saturation of the output of the CCD sensor 12 (S16: Yes), an integrated time (readable voltage integrated time Tb) within one scan when the output of the
一方、S56でのCCDセンサ12の出力が画像読取可能なレベルに達したか否かの判断で、図8(D)を参照して上述したように読取可能電圧積算時間Tbがしきい値時間T1よりも長い場合、即ち、CCDセンサ12の出力が画像読取可能なレベルに達した場合には(S56:Yes)、デコードを行い(S30)、デコードが成功したか否かを判断する(S32)。デコードが成功した際には(S32:Yes)、処理を終了する。他方、デコードに失敗した際には(S32:No)、図9(B)を参照して上述した移行パターンDに沿って露光時間を切り換え(S33)、画像取り込みを行う(S13)。
On the other hand, in the determination of whether or not the output of the
第2実施形態の光学情報読取装置では、CCDセンサ12からの出力電圧を監視して読み取り可能電圧に達するかを検出し(S54)、読み取り可能電圧が検出された時間を積算して露光不足強度を推定し、露光不足強度に応じて、次画像を撮像する際の露光条件を明るくするように設定する。このため、露光が不足する際には露光不足強度に応じて、次画像を撮像する際の露光条件を明るくするように設定して(S60、S33)、情報コードを読み取る。これにより、種々の周囲照度環境下において短時間で情報コードを読み取ることができる。
In the optical information reader according to the second embodiment, the output voltage from the
第2実施形態の光学情報読取装置では、露光不足強度が所定以下で有る場合(S56:No)、画像データをクリアして該画像データからの情報コードのデコードを行わないようにするため(S58)、露光条件の適合しない過度に暗い照度環境下においてデコードを試みる時間の無駄を無くすことができる。 In the optical information reading apparatus of the second embodiment, when the underexposure intensity is less than or equal to a predetermined value (S56: No), the image data is cleared so that the information code is not decoded from the image data (S58). ), It is possible to eliminate wasted time trying to decode in an excessively dark illuminance environment where the exposure conditions are not suitable.
図10(B)は、第2実施形態の改変例においてCCDセンサ12が飽和していない場合の露光時間の切り換えを示している。
露光時間1、露光時間2では暗すぎて撮像に適さないが、CCDセンサ12の出力が飽和していない場合には、露光時間1、露光時間2に行かず、露光時間3、露光時間4を切り換え、CCDセンサ12の出力飽和の時だけ露光時間1、露光時間2へ切り換えることも好適である。
FIG. 10B shows the switching of the exposure time when the
Although exposure time 1 and exposure time 2 are too dark to be suitable for imaging, but when the output of
上述した実施形態では、本発明の構成をバーコードを読み取る光学情報読取装置に適用した例を挙げたが、本発明の構成は、QRコード等の二次元コードを読み取る光学情報読取装置に適用可能であることは言うまでもない。 In the above-described embodiment, an example in which the configuration of the present invention is applied to an optical information reading device that reads a barcode is described. However, the configuration of the present invention can be applied to an optical information reading device that reads a two-dimensional code such as a QR code. Needless to say.
12 CCDセンサ(受光センサ)
14 増幅回路
16 二値化回路
18 分圧回路
20 オペアンプ(飽和検出手段)
30 CPU
38 タイマ(飽和強度推定手段)
40 タイマ値積算部
50 A/D変換回路
12 CCD sensor (light receiving sensor)
14
30 CPU
38 timer (saturation intensity estimation means)
40 Timer value integration unit 50 A / D conversion circuit
Claims (4)
前記受光センサからの出力電圧を直接監視して受光センサ出力の飽和の有無を検出する飽和検出手段と、
飽和が検出された時間を積算して飽和強度を推定する飽和強度推定手段と、
飽和強度が所定以上で有る場合に、画像からの情報コードのデコードを行わないようにする明デコード中止手段と、
飽和強度に応じて、次画像を撮像する際の露光条件を暗くするように設定する暗露光条件設定手段とを備えることを特徴とする光学情報読取装置。 An optical information reader that decodes an information code from an image captured by a light receiving sensor,
Saturation detecting means for directly monitoring the output voltage from the light receiving sensor and detecting the presence or absence of saturation of the light receiving sensor output,
A saturation intensity estimating means for estimating the saturation intensity by integrating the time when saturation is detected;
A bright decoding stop means for not decoding the information code from the image when the saturation intensity is equal to or higher than a predetermined value;
An optical information reading apparatus comprising: dark exposure condition setting means for setting an exposure condition for capturing the next image to be dark according to the saturation intensity.
読み取り可能電圧が検出された時間を積算して露光不足強度を推定する露光不足強度推定手段と、
露光不足強度に応じて、次画像を撮像する際の露光条件を明るくするように設定する明露光条件設定手段とを備えることを特徴とする請求項1又は請求項2の光学情報読取装置。 Underexposure detection means for monitoring the output voltage from the light receiving sensor and detecting underexposure depending on whether it reaches a readable voltage;
Underexposure intensity estimation means for estimating the underexposure intensity by integrating the time when the readable voltage is detected;
3. The optical information reading apparatus according to claim 1, further comprising: a bright exposure condition setting unit that sets an exposure condition for capturing the next image to be bright according to the underexposure intensity.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2006309796A JP4622992B2 (en) | 2006-11-16 | 2006-11-16 | Optical information reader |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2006309796A JP4622992B2 (en) | 2006-11-16 | 2006-11-16 | Optical information reader |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2008123465A JP2008123465A (en) | 2008-05-29 |
| JP4622992B2 true JP4622992B2 (en) | 2011-02-02 |
Family
ID=39508120
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2006309796A Expired - Fee Related JP4622992B2 (en) | 2006-11-16 | 2006-11-16 | Optical information reader |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4622992B2 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP6065516B2 (en) * | 2012-10-22 | 2017-01-25 | 株式会社デンソーウェーブ | Information code reader |
| JP6405988B2 (en) * | 2014-12-23 | 2018-10-17 | 株式会社デンソーウェーブ | Information code reader |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2748263B2 (en) * | 1995-09-04 | 1998-05-06 | 松下電器産業株式会社 | Barcode reader and image sensor used for it |
| JP3505323B2 (en) * | 1996-08-26 | 2004-03-08 | 三洋電機株式会社 | Automatic exposure adjustment device |
| JP4226895B2 (en) * | 2002-12-27 | 2009-02-18 | 株式会社オプトエレクトロニクス | Optical information reader |
-
2006
- 2006-11-16 JP JP2006309796A patent/JP4622992B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2008123465A (en) | 2008-05-29 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US20150161429A1 (en) | High dynamic-range indicia reading system | |
| US20160078267A1 (en) | Method and apparatus for optically reading out information stored in a barcode | |
| JP2013224909A5 (en) | Sheet transport device | |
| WO2003046803A1 (en) | Code reading apparatus | |
| JP4622992B2 (en) | Optical information reader | |
| JP2748263B2 (en) | Barcode reader and image sensor used for it | |
| JP4815423B2 (en) | Data code reading apparatus and method | |
| US20020056754A1 (en) | Device and method for reading coded information, and device for detecting a luminous signal diffused by a support containing coded information | |
| US9262665B2 (en) | Decoding method and decoding processing device | |
| CN101877046A (en) | Image sensing device and method for recognizing visual signs | |
| JP5232904B2 (en) | Data code reading apparatus and method | |
| US8403221B2 (en) | Method and apparatus for reading barcode information | |
| JP4728297B2 (en) | Two-dimensional code reading apparatus and method | |
| US7093763B1 (en) | Laser scanner having analog digitizer with increased noise immunity | |
| JP5195264B2 (en) | Bar code reading method and bar code reading apparatus | |
| JP5896488B2 (en) | Bar code reading apparatus, bar code reading method and bar code reading program | |
| JP3760594B2 (en) | Optical information reader | |
| JP2011159317A (en) | Device and method for reading two-dimensional code | |
| JP2011197856A (en) | Optical information reading device | |
| US8701999B2 (en) | Method and apparatus for reading optical indicia | |
| JP6083829B2 (en) | Bar code reading apparatus, bar code reading method and bar code reading program | |
| JP3918713B2 (en) | Optical information reader | |
| JP3890991B2 (en) | Information code existence estimation method, information code reader, and information code existence estimation program | |
| JP5895340B2 (en) | Optical information reader | |
| JP3971347B2 (en) | Optical information reading method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20081205 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20100831 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20101005 |
|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20101018 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 4622992 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131112 Year of fee payment: 3 |
|
| S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131112 Year of fee payment: 3 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131112 Year of fee payment: 3 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| LAPS | Cancellation because of no payment of annual fees |