JP3882745B2 - Optical information reader - Google Patents
Optical information reader Download PDFInfo
- Publication number
- JP3882745B2 JP3882745B2 JP2002330624A JP2002330624A JP3882745B2 JP 3882745 B2 JP3882745 B2 JP 3882745B2 JP 2002330624 A JP2002330624 A JP 2002330624A JP 2002330624 A JP2002330624 A JP 2002330624A JP 3882745 B2 JP3882745 B2 JP 3882745B2
- Authority
- JP
- Japan
- Prior art keywords
- scanning
- angle
- angular velocity
- width data
- light
- 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
【0001】
【発明の属する技術分野】
本発明は、バーコード等の光の反射率を利用する標識に光を走査して該標識を復号する光学的情報読取装置に関する。
【0002】
【従来の技術】
従来、光学的情報読取装置例えばレーザスキャナでは、走査手段たる走査ミラーにより、光源からの光を偏向してバーコードに照射し、このバーコードの白/黒の反射率に応じた反射光の強さを受光センサによって電気信号に変換するようにしている。変換された電気信号(アナログ信号)は、バーコードの白/黒に対応して変化する。このアナログ信号をA/D変換してデジタル信号を生成し、このデジタル信号を処理してバーコードの幅データを求めて復号させる。
【0003】
上記構成において、アナログ信号をA/D変換する際には、等間隔のサンプリングクロックで、アナログ信号をサンプリングする。つまり、等間隔のサンプリングクロックにおいて、例えば黒の反射率の反射光に対応するアナログ信号が連続すれば、その連続期間のサンプリングクロックのカウント数、若しくはそのカウント数に1サンプリングクロック周期の幅データを乗じたものが、一つの黒の幅データとして認識される。
【0004】
ところが、1走査内での走査速度の変化が無い場合、または、その変化が小さい場合には問題はないが、1走査内で走査速度が大きく変化する場合にはその速度の変化によって、バーコードの幅データが変化してしまう。例えば、図7に示すように、バーコードの白/黒の各幅が同じであっても、走査速度が単振動的に変化する場合、走査中心P部分より走査周辺部分の速度が遅くなり、この結果、走査周辺部分でのサンプリングクロックカウント数が多く、デジタル信号から求められる幅データが実際より大きくなってしまう。
【0005】
【発明が解決しようとする課題】
これに対処するものとして、特開平5−242285号に示されるように、前記サンプリングクロックの発生タイミングを走査速度のn倍に制御する構成としたものがあるが、この場合、クロック発生手段として、基準クロック発生手段の他に、PLL回路、位相比較器、積分器、電圧制御発振回路、分周器などを要し、構成が複雑となる問題があった。
【0006】
本発明は上記事情に鑑みてなされたものであり、その目的は、比較的簡単な構成によりバーコードの幅データを正確に認識することができる光学的情報読取装置を提供するにある。
【0007】
【課題を解決するための手段】
【0008】
請求項1の光学的情報読取装置によれば、推定手段が光の走査位置を推定するから、その走査位置におけるデジタル信号により、バーコードにおける高反射率部分の走査位置と低反射率部分の走査位置とが判定可能となる。そして、復号手段は、走査位置と、デジタル信号とに基づいて標識の幅データを生成するから、実測値に近い幅データを得ることが可能となる。
また、前記検出手段からの信号をもとに、前記(1)式で使用する往復運動の角速度ωを前記走査手段の1周期ごとに計算し、前記推定手段及び前記復号手段が、前記(1)式により前記標識の幅データを求めるから、走査開始初期の過渡期などにおいても、正確な角速度ωを得ることができて、幅データを正確に得ることができる。
【0014】
前記検出手段は、走査の位置の2点を検出するものであって、前記検出手段からの信号をもとに、前記角速度ω及び前記全走査角の1/2の角度θ A を走査手段の往復運動の1周期ごとに計算するようにしても良く(請求項2の発明)、このようにすると、最新の正確な角速度ω及び全走査角の1/2の角度θ A を得ることができて、幅データを正確に得ることができる。
【0015】
また、記憶手段を有し、前記角速度ω及び前記全走査角の1/2の角度θAを定数として前記記憶手段に記憶させるようにしても良い(請求項3の発明)。これによれば、角速度ω及び全走査角の1/2の角度θAの測定の面倒はない。さらにこの記憶手段に、前記角速度ω及び前記全走査角の1/2の角度θAを補正するための補正値を記憶させるようにしても良い(請求項4の発明)。これによれば、装置個々に角速度ωや全走査角の1/2の角度θAについて誤差を調べておけば、これを補正値として記憶手段により記憶させておくことにより、定数としての角速度ωや全走査角の1/2の角度θAを補正できる。
【0016】
また、前記検出手段は光センサから構成しても良い(請求項12の発明)。また、走査手段への駆動力供給手段を有し、この駆動力供給手段を、前記検出手段を兼ねるようにしても良い(請求項13の発明)。走査手段を往復運動させるとき、その往復運動の駆動力たとえば駆動パルスはある周波数でしかもほぼ一定の走査位置で与えられるので、その駆動パルスのタイミングで走査の位置を検出することが可能となる。
【0017】
また、走査手段を、装置の中心線近傍を振動中心軸として振動し、走査の有効範囲がこの振動中心軸に対して略対称であるようにしても良い(請求項14の発明)。このようにすると、幅データの誤差無く生成できる。
【0018】
さらに、走査手段の走査が安定状態であるときにのみ前記推定手段を有効にするようにしても良く(請求項15の発明)、これによれば、走査不安定状態での幅データ取得をなくして幅データを精度良く生成できる。
【0019】
また、前記推定手段を有効にするかどうかを操作者が設定することができる設定手段を設けても良い(請求項16の発明)。
【0020】
前記目的を達成するために、請求項17の発明は、前記復号手段が、前記(1)式に近似する下記(2)式により前記標識の幅データを求めるようにしている。
【0021】
【数4】
ただし、W:標識の幅データ、ta、tb:デジタル信号が変化した時刻、
A、Bは定数、taveは(ta+tb)/2である。
これによれば、請求項1と同様の効果を得ることができる。
【0022】
【発明の実施の形態】
以下、本発明を手持ち式のバーコードリーダに適用した一実施例につき図面を参照して説明する。本実施例に係る光学的情報読取装置たるバーコードリーダは、図3に示すように、操作者(ユーザー)が片手でもって操作可能な大きさの縦長形状をなす装置ケースたるケース1内の先端側に、後述するように、読取対象2(図1参照)に記録されたバーコード(標識)3を読取るための、光学機構4を備えて構成されている。
【0023】
この光学機構4は、図1に示すように、光源たるレーザー光源5と、このレーザー光源5からのレーザー光を偏向して前記読取対称2を走査する走査手段たる走査ミラー6と、入射光量に応じた電気信号を発生する光電変換手段としての光電変換素子7と、前記読取対象2から反射したレーザー光(反射光)を光電変換素子7に集光させるレンズ8とを備えて構成されている。
【0024】
前記走査ミラー6は駆動力供給手段たる駆動力供給装置9によって、中心軸を中心としてある角度範囲で往復運動この場合振動運動により往復運動(揺動)するようになっている。上記駆動力供給装置9は、図2に示すように構成されている。走査ミラー6を回転軸10により回転可能に支持し、この回転軸10にはばね部材11の中央部が連結されている。そして、このばね部材11の両端部は動き可能にアーム部材12に支持されている。さらに回転軸10には駆動力付与部材13が連結されている。この駆動力付与部材13の先端部には磁石14が取り付けられており、この磁石14は電磁コイル15に駆動パルスが与えられることより吸引・解放されるようになっている。この場合、電磁コイル15の駆動力付与つまり電磁コイル15の駆動パルスはこの振動系の共振周波数と同期した周波数で与えられるものである。
【0025】
前記光電変換素子7は読取対象2のバーコード3の反射率に対応した電気信号(アナログ信号)を出力するものであり、その出力信号は増幅手段16により増幅され、そしてこの電気信号を量子化例えば二値化する二値化手段17により二値化される。
【0026】
この二値化信号(デジタル信号)は制御装置18に与えられる。この制御装置18は、基準クロック発生手段、CPU、ROM、RAMなどを備えて構成されており、推定手段及び復号手段として機能するものである。また、この制御装置18は前記駆動力供給装置9に前記共振周波数と同期する駆動パルスを出力するものである。
【0027】
また、前記レーザー光源5はレーザー駆動手段19により駆動されてレーザー光を出力するものであり、このレーザー駆動手段19は制御装置18により制御される。
【0028】
なお、前記ケース1の先端には、読取窓1a(図3参照)が形成されていて、この読取窓1aの中心線はケース1の中心線と合致する。そして、前記走査ミラー6の振動中心軸Pはこのケース1の中心線と合致し、走査の有効範囲がこの振動中心軸Pに対して略対称である。
【0029】
また、図4に示すように、上記振動中心軸Pに対して対象位置(つまり走査基準点Oから左右同じ角度θWの位置)には、検出手段たる第1の光センサ20及び第2の光センサ21が配置されている。各光センサ20、21は図5に示すように、レーザー光を受けて検出信号S1、S2を出力するものであり、この場合、例えば第1の光センサ20はレーザー光の走査に伴って検出信号S1を図5に示すように出力するものであり、これに基づいて走査光の1周期Tが分かるものである。従って角速度ωが検知される。
【0030】
角速度ω=2π/T
また、各検出信号S1、S2から有効走査範囲Sが分かるものである。
【0031】
さて、上記構成において、ユーザーがケース1の読取窓1aを、バーコードが記録された読取対象に対してほぼ平行となるように近接(例えば距離D)させた状態で、読取走査(トリガスイッチのオン操作)を行なうことにより、制御装置18がレーザー駆動装置19を制御して、レーザー光源5からレーザー光を出力させる。さらに、制御装置18は駆動力供給装置9を制御して操作ミラー6を振動させて、レーザー光を偏向して読取対象に当てる(走査する)。
【0032】
レーザー光は、読取対象でバーコードの白黒の反射率に応じた光強度で反射して、レンズ8を介して光電変換素子7に入射する。そして、この光電変換素子7は反射率に対応した入射光量に応じて電気信号(アナログ信号)を出力する。この出力は、増幅手段16を介して二値化手段17に与えられ、この二値化手段17は、バーコードの白黒に応じて(前記反射率に応じて)二値化信号を出力する。このとき、バーコードの白黒を同じ幅としたとき、走査速度が単振動的に変化するから、走査中心から遠ざかるに従って走査速度が遅く、基準クロックでデジタル化すると、走査中心から遠ざかるに従って二値化信号(例えば黒をハイレベル、白をロウレベルとする)のハイレベル領域及びロウレベル領域は広くなる。
【0033】
しかし、制御装置18は、上記基準クロックに基づいて走査光の反射率が変化する位置を検出している。すなわち、前記有効走査範囲Sの基準クロック数Nは計測できるものであり、走査往方向(図4の矢印R方向)の検出信号S1から、N/2の基準クロック数をカウントした時刻が時刻「t0」であり、この中心位置「t0」から矢印R方向へ基準クロックの1パルス時間分移った時刻が時刻「t1」、以下、矢印R方向へ順次、時刻「t2」、「t3」、・・・となる。逆に、上記時刻「t0」から、復方向(矢印L方向)へ順次時刻「−t1」、「−t2」、・・・となる。
【0034】
そして、制御装置18は、次のようにしてバーの幅である黒の幅及び白の幅データを生成する。図4に示すように走査基準点Oから読取対象2までの距離をDとすると、中心軸からの走査光の位置Xを次の式(6)のように推定する。
【0035】
X=D・tan(θA・sin(ω・t))・・・(6)
ここで、tは前記時刻「t1」、「t2」、・・・及び「−t1」、「−t2」、・・・のいずれかである。これにて、中心軸Pからの時刻(基準クロックによる時刻)における走査光の位置Xを推定できるのである。
【0036】
従って、反射率が変化した時刻つまり二値化信号が変化した時刻taの位置Xから次の二値化信号が変化した時刻tbの位置Xの差をとれば幅データWを生成することが可能である。
従って、幅データWは下記(3)式のようになる。
【数5】
なお、この場合全走査角の1/2の角度θAは予め定められた既知の値としており、角速度ωは測定されて判明している値であり、反射率が切り替わった時刻つまり二値化信号が変化した時刻ta、tbは検出されて判明している値であり、よって、Wが求められる。
【0037】
なお、上記式(3)を用いて、基準クロックの1周期における幅データの変化(中心軸から遠ざかるにつれての変化)の様子を表1に示している。
【表1】
【0038】
この場合、走査1周期で基準クロック数を4000とし、全走査角の1/2の角度θAを30°としている。この表1から分かることは、中心軸極近くの幅データ(時刻t0、時刻t1間の幅データ)を基準幅データ「1」としたとき、中心軸から遠ざかるにつれて幅データが小さくなる。つまり、実際の走査位置にあった幅データとなる。
【0039】
前記式(3)(式(1)と同じ)には、次の考え方が含まれている。すなわち、基準クロック周期に相当する幅データ(中心軸での時刻t0からt1への時間(例えば1ms)での幅データ)を基準幅データ「1」(これは実際の長さ例えば0.1mmとしてもよい)とし、二値化信号が変化した走査位置(推定値)の差分と、この基準幅データとに基づいて、バーコードの白黒の幅データが求められている。
【0040】
この結果、基準クロックを用いて二値化しながらも、簡単な構成によりバーコードの正確な幅データを得ることができる。
【0041】
また、走査ミラー6を、装置の中心線近傍を振動中心軸Pとして振動し、走査の有効範囲Sがこの振動中心軸Pに対して略対称であるようにしているから、幅データWを誤差無く生成できる。
【0042】
なお、上記全走査角の1/2の角度θAは、前記二つの光センサ20、21により推定しても良い。すなわち、
θW=θA・sin(ω・S/2)=θA・sin(π・S/T)
よって、θA=θW/sin(π・S/T)
となる。従って、測定されたS、Tと、既知のθWとから全走査角の1/2の角度θAを推定できる。
【0043】
またこのようにして、走査ミラー6の振動運動(往復運動)の1周期ごとに、全走査角の1/2の角度θAを求めると共に、光センサ20、21のいずれかにより角速度ωを求めた後に前記幅データWを求めるようにしても良い。これによれば、走査開始初期の過渡期などにおいても、正確な角速度ω及び全走査角の1/2の角度θAを得ることができて、幅データWを正確に得ることができる。
【0044】
このほか、全走査角の1/2の角度θAが既知の場合には、前記二つの光センサ20、21のいずれか一方を設けて、角速度ωを、走査ミラー6の振動運動(往復運動)の1周期ごとに、求めた後に前記幅データWを求めるようにしても良い。これによれば、走査開始初期の過渡期などにおいても、正確な角速度ωを得ることができて、幅データWを正確に得ることができる。
【0045】
また、前記角速度ω及び前記全走査角の1/2の角度θAは測定値ではなく、画一的な定数として例えばROMや不揮発性メモリなどの記憶手段に記憶させるようにしても良い。これによれば、角速度ω及び全走査角の1/2の角度θAの測定の面倒はない。さらにこの記憶手段に、前記角速度ω及び前記全走査角の1/2の角度θAを補正するための補正値を記憶させるようにしても良い。これによれば、装置個々に角速度ωや全走査角の1/2の角度θAについて誤差を調べておけば、これを補正値として記憶手段により記憶させておくことにより、定数としての角速度ωや全走査角の1/2の角度θAを補正できる。
【0046】
また、前記駆動力供給装置9を、検出手段を兼ねるようにしても良い。この場合、駆動力供給装置9の、走査ミラー6に対する往復運動の駆動力たとえば駆動パルスは、ある周波数でしかもほぼ一定の走査位置で与えられるので、その駆動パルスのタイミングで走査の位置を検出することが可能となる。
【0047】
さらに、走査ミラー6の走査が安定状態であるときにのみ走査の位置の推定を行なうように(推定手段を有効にするように)しても良く、これによれば、走査不安定状態での幅データ取得をなくして幅データWを精度良く生成できる。
また、前記推定手段を有効にするかどうかを操作者が設定することができる設定手段を設けても良い。
また幅データWを求める式として前記(1)式に近似する近似式でもよく、この場合、その近似式は下記(2)式としても良い。
【0048】
【数6】
ただし、W:標識の幅データ、ta、tb:二値化信号が変化した時刻、
A、Bは定数、taveは(ta+tb)/2である。
【0049】
例えば定数Aは、3.2×10−13、定数Bは、7.08×10−7である。前記ta、tbを適宜選択しての計算結果を表2に示す。この表2と前記表1との比較から分かるように、正確な幅データを得ることができる。
【表2】
【0050】
なお、本発明の光学的情報読取装置は、手持ち式のバーコードリーダに限られず、固定式のバーコードリーダに適用しても良い。また、走査手段に駆動力を供給する駆動力供給手段としてはパルスモータを用いたものでも良い。
【図面の簡単な説明】
【図1】光学機構及び電気的ブロック構成を示す図
【図2】駆動力供給装置の平面図
【図3】光学機構部分を示す平面図
【図4】走査光の範囲を示す図
【図5】(a)は第1の光センサの出力を示し、(b)は有効走査範囲を示す図
【図6】アナログ信号波形と基準クロックと二値化信号波形との関係を示す図
【図7】従来における二値化信号出力の様子を示す図
【符号の説明】
1はケース、2は読取対象、3はバーコード(標識)、4は光学機構、5はレーザー光源、6は走査ミラー(走査手段)、7は光電変換素子(光電変換手段)、9は駆動力供給装置(駆動力供給手段)、11はばね部材、14は磁石、15は電磁コイル、17は二値化手段、18は制御装置(推定手段、復号手段)を示す。[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an optical information reading apparatus that scans light to a sign that uses the reflectance of light such as a barcode and decodes the sign.
[0002]
[Prior art]
Conventionally, in an optical information reading apparatus such as a laser scanner, light from a light source is deflected by a scanning mirror serving as a scanning unit and applied to a barcode, and the intensity of reflected light corresponding to the white / black reflectance of the barcode is increased. The light is converted into an electric signal by the light receiving sensor. The converted electric signal (analog signal) changes corresponding to white / black of the barcode. The analog signal is A / D converted to generate a digital signal, and the digital signal is processed to obtain and decode barcode width data.
[0003]
In the above configuration, when an analog signal is A / D converted, the analog signal is sampled with a sampling clock at equal intervals. That is, for example, if an analog signal corresponding to reflected light having a black reflectance continues in an equally spaced sampling clock, the number of sampling clocks in the continuous period, or width data of one sampling clock period is added to the number of counts. The multiplication is recognized as one black width data.
[0004]
However, when there is no change in the scanning speed within one scan or when the change is small, there is no problem. However, when the scanning speed changes greatly within one scan, the bar code is changed depending on the change in the speed. The width data will change. For example, as shown in FIG. 7, even when the white / black widths of the barcode are the same, when the scanning speed changes in a simple vibration, the speed of the scanning peripheral part becomes slower than the scanning center P part, As a result, the sampling clock count number in the scanning peripheral portion is large, and the width data obtained from the digital signal becomes larger than the actual one.
[0005]
[Problems to be solved by the invention]
In order to cope with this, as disclosed in JP-A-5-242285, there is a configuration in which the generation timing of the sampling clock is controlled to n times the scanning speed. In this case, as clock generation means, In addition to the reference clock generating means, a PLL circuit, a phase comparator, an integrator, a voltage controlled oscillation circuit, a frequency divider, and the like are required, and there is a problem that the configuration becomes complicated.
[0006]
The present invention has been made in view of the above circumstances, and an object thereof is to provide an optical information reading apparatus capable of accurately recognizing barcode width data with a relatively simple configuration.
[0007]
[Means for Solving the Problems]
[0008]
According to the optical information reading apparatus of the first aspect, since the estimating means estimates the light scanning position, the scanning position of the high reflectance portion and the low reflectance portion of the barcode are scanned by the digital signal at the scanning position. The position can be determined. Then, the decoding means generates the width data of the sign based on the scanning position and the digital signal, so that it is possible to obtain the width data close to the actual measurement value.
Further, based on the signal from the detection means, the angular velocity ω of the reciprocating motion used in the equation (1) is calculated for each cycle of the scanning means, and the estimation means and the decoding means Since the width data of the marker is obtained by the equation (1), an accurate angular velocity ω can be obtained even in a transition period at the beginning of scanning, and the width data can be obtained accurately.
[0014]
The detection means detects two points of the scanning position. Based on a signal from the detection means, the angular velocity ω and an angle θ A that is ½ of the total scanning angle are detected by the scanning means. The calculation may be performed for each cycle of the reciprocating motion (the invention of claim 2), and in this way, the latest accurate angular velocity ω and the angle θ A that is ½ of the total scanning angle can be obtained. Thus, the width data can be obtained accurately.
[0015]
Further, the storage means may be configured to store the angular velocity ω and the angle θ A which is a half of the total scanning angle as constants in the storage means (invention of claim 3 ). According to this, there is no trouble of measuring the angular velocity ω and the angle θ A which is ½ of the entire scanning angle. Further, the storage means may store correction values for correcting the angular velocity ω and the angle θ A that is ½ of the total scanning angle (invention of claim 4 ). According to this, if an error is examined for each device, the angular velocity ω or the angle θ A which is ½ of the total scanning angle, by storing the error as a correction value by the storage means, the angular velocity ω as a constant is obtained. And an angle θ A that is ½ of the total scanning angle can be corrected.
[0016]
Further, the detection means may comprise an optical sensor (invention of claim 12). Further, a driving force supply means to the scanning means may be provided, and this driving force supply means may also serve as the detection means (the invention of claim 13). When the scanning means is reciprocated, the driving force of the reciprocating motion, such as a driving pulse, is applied at a certain frequency and at a substantially constant scanning position, so that the scanning position can be detected at the timing of the driving pulse.
[0017]
Further, the scanning means may be vibrated with the vicinity of the center line of the apparatus as a vibration center axis, and the effective scanning range may be substantially symmetric with respect to the vibration center axis. In this way, the width data can be generated without error.
[0018]
Further, the estimation means may be made effective only when the scanning of the scanning means is in a stable state (invention of claim 15), and according to this, width data acquisition in an unstable scanning state is eliminated. Width data can be generated with high accuracy.
[0019]
Further, a setting unit that allows an operator to set whether or not to enable the estimation unit may be provided (invention of claim 16).
[0020]
In order to achieve the above object, according to a seventeenth aspect of the present invention, the decoding means obtains the width data of the marker by the following equation (2) that approximates the equation (1).
[0021]
[Expression 4]
However, W: Mark width data, ta, tb: Time when digital signal changed,
A and B are constants, and tave is (ta + tb) / 2.
According to this, an effect similar to that of the first aspect can be obtained.
[0022]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, an embodiment in which the present invention is applied to a hand-held bar code reader will be described with reference to the drawings. As shown in FIG. 3, the bar code reader as an optical information reading apparatus according to the present embodiment is a front end in a
[0023]
As shown in FIG. 1, the
[0024]
The
[0025]
The
[0026]
This binarized signal (digital signal) is given to the
[0027]
The
[0028]
A reading
[0029]
As shown in FIG. 4, the first
[0030]
Angular velocity ω = 2π / T
Further, the effective scanning range S can be determined from the detection signals S1 and S2.
[0031]
Now, in the above configuration, the reading scan (trigger switch of the trigger switch) is performed in a state in which the user brings the reading
[0032]
The laser beam is reflected by the light intensity corresponding to the black and white reflectance of the barcode on the reading target, and enters the
[0033]
However, the
[0034]
Then, the
[0035]
X = D · tan (θ A · sin (ω · t)) (6)
Here, t is any one of the times “t1”, “t2”,..., “−t1”, “−t2”,. Thus, the position X of the scanning light at the time from the central axis P (time based on the reference clock) can be estimated.
[0036]
Therefore, the width data W can be generated by taking the difference between the position X at the time tb at which the next binarized signal changes from the position X at the time ta at which the reflectance changes, that is, the time ta at which the binarized signal changes. It is.
Accordingly, the width data W is expressed by the following equation (3).
[Equation 5]
In this case, the angle θ A that is ½ of the total scanning angle is a predetermined known value, the angular velocity ω is a value that has been measured and found, and the time when the reflectivity is switched, that is, binarization. The times ta and tb at which the signal changes are values that are detected and found, and thus W is obtained.
[0037]
Table 1 shows how the width data changes (changes away from the central axis) in one cycle of the reference clock using the above equation (3).
[Table 1]
[0038]
In this case, the number of reference clock 4000 in scanning one period, is set to 30 ° 1/2 of angle theta A total scan angle. As can be seen from Table 1, when the width data near the center axis pole (width data between time t0 and time t1) is set as the reference width data “1”, the width data decreases as the distance from the center axis increases. That is, the width data matches the actual scanning position.
[0039]
The formula (3) (same as formula (1)) includes the following concept. That is, the width data corresponding to the reference clock cycle (the width data at the time from the time t0 to the time t1 (for example, 1 ms) on the central axis) is set to the reference width data “1” (this is the actual length, for example, 0.1 mm). The black and white width data of the barcode is obtained based on the difference between the scanning positions (estimated values) at which the binarized signal has changed and the reference width data.
[0040]
As a result, it is possible to obtain accurate width data of the barcode with a simple configuration while binarizing using the reference clock.
[0041]
Further, since the
[0042]
Note that the angle θ A which is ½ of the total scanning angle may be estimated by the two
θ W = θ A · sin (ω · S / 2) = θ A · sin (π · S / T)
Therefore, θ A = θ W / sin (π · S / T)
It becomes. Therefore, an angle θ A that is ½ of the total scanning angle can be estimated from the measured S and T and the known θ W.
[0043]
Further, in this way, an angle θ A that is ½ of the total scanning angle is obtained for each cycle of the vibration motion (reciprocating motion) of the
[0044]
In addition, when the angle θ A which is a half of the entire scanning angle is known, either one of the two
[0045]
Further, the angular velocity ω and the angle θ A which is a half of the total scanning angle may be stored in a storage unit such as a ROM or a non-volatile memory as a uniform constant instead of a measured value. According to this, there is no trouble of measuring the angular velocity ω and the angle θ A which is ½ of the entire scanning angle. Further, the storage means may store correction values for correcting the angular velocity ω and the angle θ A that is ½ of the total scanning angle. According to this, if the error is checked for the angular velocity ω or the angle θ A which is ½ of the total scanning angle for each apparatus, the angular velocity ω as a constant can be obtained by storing this as a correction value by the storage means. And an angle θ A that is ½ of the total scanning angle can be corrected.
[0046]
Further, the driving
[0047]
Further, the position of the scan may be estimated only when the scanning of the
Moreover, you may provide the setting means which an operator can set whether the said estimation means is validated.
Further, as an expression for obtaining the width data W, an approximate expression approximate to the expression (1) may be used. In this case, the approximate expression may be the following expression (2).
[0048]
[Formula 6]
Where W: width data of the sign, ta, tb: time when the binarized signal changes,
A and B are constants, and tave is (ta + tb) / 2.
[0049]
For example, the constant A is 3.2 × 10 −13 and the constant B is 7.08 × 10 −7 . Table 2 shows the calculation results when ta and tb are appropriately selected. As can be seen from the comparison between Table 2 and Table 1, accurate width data can be obtained.
[Table 2]
[0050]
The optical information reader of the present invention is not limited to a hand-held bar code reader, and may be applied to a fixed bar code reader. Further, as the driving force supply means for supplying the driving force to the scanning means, a pulse motor may be used.
[Brief description of the drawings]
FIG. 1 is a diagram showing an optical mechanism and an electric block configuration. FIG. 2 is a plan view of a driving force supply device. FIG. 3 is a plan view showing an optical mechanism portion. (A) shows the output of the first optical sensor, (b) shows the effective scanning range. FIG. 6 shows the relationship between the analog signal waveform, the reference clock, and the binarized signal waveform. ] Figure showing the state of conventional binarized signal output [Explanation of symbols]
1 is a case, 2 is an object to be read, 3 is a barcode (label), 4 is an optical mechanism, 5 is a laser light source, 6 is a scanning mirror (scanning means), 7 is a photoelectric conversion element (photoelectric conversion means), and 9 is driven A force supply device (driving force supply means), 11 is a spring member, 14 is a magnet, 15 is an electromagnetic coil, 17 is a binarization means, and 18 is a control device (estimation means, decoding means).
Claims (4)
振動運動により往復運動する構成であって振動系の共振周波数で往復運動し、前記光源からの光をバーコード等の光の反射率を利用する標識に向けて偏向する走査手段と、
前記標識からの反射光を受光して反射率に対応したアナログ信号に変換する光電変換手段と、
前記アナログ信号を量子化してデジタル信号に変換するA/D変換手段と、
走査位置の少なくとも1点を検出する検出手段と、
前記光の走査位置を推定する推定手段と、
この推定手段によって推定された走査位置と前記デジタル信号に基づいて、前記標識の幅データを生成する復号手段とを備え、
前記検出手段からの信号をもとに、下記(1)式で使用する往復運動の角速度ωを前記走査手段の1周期ごとに計算し、前記推定手段及び前記復号手段が、下記(1)式により前記標識の幅データを求めることを特徴とする光学的情報読取装置。
ω:往復運動の角速度、 ta 、 tb :デジタル信号が変化した時刻である。 A light source that projects light;
A scanning means configured to reciprocate by a vibration motion, reciprocating at a resonance frequency of a vibration system, and deflecting light from the light source toward a label using light reflectance such as a barcode;
Photoelectric conversion means for receiving reflected light from the sign and converting it into an analog signal corresponding to the reflectance;
A / D conversion means for quantizing the analog signal and converting it into a digital signal;
Detecting means for detecting at least one point of the scanning position;
Estimating means for estimating a scanning position of the light;
A decoding means for generating width data of the marker based on the scanning position estimated by the estimation means and the digital signal;
Based on the signal from the detection means, the angular velocity ω of the reciprocating motion used in the following formula (1) is calculated for each period of the scanning means, and the estimation means and the decoding means have the following formula (1): An optical information reading apparatus characterized in that width data of the sign is obtained by the following.
ω: angular velocity of reciprocating motion, ta , tb : time when the digital signal changes.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2002330624A JP3882745B2 (en) | 2002-11-14 | 2002-11-14 | Optical information reader |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2002330624A JP3882745B2 (en) | 2002-11-14 | 2002-11-14 | Optical information reader |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2004164393A JP2004164393A (en) | 2004-06-10 |
| JP3882745B2 true JP3882745B2 (en) | 2007-02-21 |
Family
ID=32808272
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2002330624A Expired - Fee Related JP3882745B2 (en) | 2002-11-14 | 2002-11-14 | Optical information reader |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3882745B2 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP5430078B2 (en) * | 2008-04-30 | 2014-02-26 | 株式会社キーエンス | Bar code reading apparatus and bar code reading method |
| JPWO2011040492A1 (en) * | 2009-09-29 | 2013-02-28 | 株式会社オプトエレクトロニクス | Optical information reader |
-
2002
- 2002-11-14 JP JP2002330624A patent/JP3882745B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2004164393A (en) | 2004-06-10 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN100401013C (en) | Displacement gauge and displacement measurement method | |
| CA1154872A (en) | Portable laser scanning system and scanning methods | |
| KR100209781B1 (en) | Light emitting diode scanning apparatus | |
| US4496831A (en) | Portable laser scanning system and scanning methods | |
| US20100158055A1 (en) | Method and apparatus for controlling and monitoring laser power in barcode readers | |
| US8861059B2 (en) | Method and apparatus for controlling mirror motion in light scanning arrangements | |
| KR0179224B1 (en) | Distance measuring device | |
| EP1794702B1 (en) | Monitoring light beam position in electro-optical readers and image projectors | |
| EP0295863A2 (en) | Optical printer of scanning type | |
| TW416028B (en) | System for driving and controlling the motion of an oscillatory electromechanical system especially sutiable for use in an optical scanner | |
| US20030019937A1 (en) | Resonant motor driver system for data reading | |
| JP4347992B2 (en) | Electromagnetic actuator, electromagnetic actuator drive control apparatus and method, electromagnetic actuator resonance frequency signal generation apparatus and method | |
| JP3882745B2 (en) | Optical information reader | |
| JPH11160434A (en) | Distance measuring device | |
| JPH11338967A (en) | Optical type symbol reader | |
| JP3787877B2 (en) | Optical scanning device | |
| RU2006131301A (en) | DEVICE FOR IMAGE FORMATION AND METHOD OF MANAGEMENT FOR IT | |
| JP4099854B2 (en) | Bar code reader | |
| JP2010182262A (en) | Information reading apparatus | |
| JP2002350754A (en) | Vibration state detector | |
| JPH04245581A (en) | Scanning speed detecting device and symbol reader using it | |
| JPH08329184A (en) | Bar code symbol reader | |
| JPH1138338A (en) | Sampling signal generator and scanning optical microscope | |
| KR100239340B1 (en) | Laser scanning device of laser printer | |
| JPH0968666A (en) | Optical scanning device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20041116 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20060804 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20060808 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20060929 |
|
| 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: 20061024 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20061106 |
|
| R150 | Certificate of patent (=grant) or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121124 Year of fee payment: 6 |
|
| S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121124 Year of fee payment: 6 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121124 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121124 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131124 Year of fee payment: 7 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| LAPS | Cancellation because of no payment of annual fees |