JP2867779B2 - Barcode reader - Google Patents
Barcode readerInfo
- Publication number
- JP2867779B2 JP2867779B2 JP4043554A JP4355492A JP2867779B2 JP 2867779 B2 JP2867779 B2 JP 2867779B2 JP 4043554 A JP4043554 A JP 4043554A JP 4355492 A JP4355492 A JP 4355492A JP 2867779 B2 JP2867779 B2 JP 2867779B2
- Authority
- JP
- Japan
- Prior art keywords
- light
- scanning
- bar code
- count value
- counting
- 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
Description
【0001】[0001]
【産業上の利用分野】本発明は、往復運動する走査ミラ
ーにより光を往復走査し、バーコードが記載された読取
対象から反射してくる反射光に応じた電気信号を2値化
し、その2値化信号を所定のサンプリング間隔でカウン
トしたカウント値に基づいてバーコードデータを読み取
るバーコード読取装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a reciprocating scanning mirror which scans light reciprocally and binarizes an electric signal corresponding to reflected light reflected from an object to be read on which a bar code is written. The present invention relates to a bar code reader that reads bar code data based on a count value obtained by counting a digitized signal at a predetermined sampling interval.
【0002】[0002]
【従来の技術】従来より、光を投射する光源と、該光源
からの光を往復運動する走査ミラーにより往復走査する
走査手段と、該走査手段による光の走査によってバーコ
ードが記載された読取対象から反射してくる反射光を受
光し、その受光光量に応じた電気信号を発生する受光手
段と、該受光手段からの電気信号を2値化する2値化手
段と、該2値化信号を所定のサンプリング間隔でカウン
トするカウント手段と、該カウント手段からのカウント
値に基づいてバーコードデータを読み取る読取手段とを
備えたバーコード読取装置が知られている。2. Description of the Related Art Conventionally, a light source for projecting light, scanning means for reciprocatingly scanning light from the light source by a reciprocating scanning mirror, and an object to be read on which a bar code is written by scanning of light by the scanning means. Light receiving means for receiving the reflected light reflected from the light source and generating an electric signal corresponding to the amount of the received light; binarizing means for binarizing the electric signal from the light receiving means; 2. Description of the Related Art There is known a barcode reading apparatus including a counting unit that counts at a predetermined sampling interval, and a reading unit that reads barcode data based on a count value from the counting unit.
【0003】[0003]
【発明が解決しようとする課題】しかしながら、走査ミ
ラーは往復運動するため、その往復動の転換前後で加速
度が生じ、平面走査速度は一定ではない。一方、従来、
2値化信号をカウントする際のサンプリング間隔を決定
するのに用いるサンプリングクロックの周波数は一定で
ある。例えば、図6に示すように、等しいモジュール幅
のバーコードを走査した場合であっても、走査ミラーの
平面走査速度が異なると2値化信号のパルス幅が一定に
ならない。However, since the scanning mirror reciprocates, acceleration occurs before and after the reversal of the reciprocating motion, and the plane scanning speed is not constant. On the other hand,
The frequency of the sampling clock used to determine the sampling interval when counting the binarized signal is constant. For example, as shown in FIG. 6, even when bar codes having the same module width are scanned, the pulse width of the binarized signal is not constant if the scanning mirrors have different plane scanning speeds.
【0004】そのため、一定周期のサンプリングクロッ
クを用いてカウントすると、モジュール幅の等しいバー
コードを走査したにもかかわらず、図6に示す場合では
カウント値が順に6,4,3,4,6となって一定にな
らない。そのため、例えばナローバーであるのにワイド
バーであると判断してしまう可能性もある。従って、カ
ウント値のばらつき度合や平均値を算出し、それらに基
づいて各々のカウント値を補正する等のソフト処理が必
要であり、また、その平均値等を算出するためにはある
程度多くのデータを取り込んでからでないと適正な補正
ができず、応答性も悪くなる。For this reason, when counting is performed using a sampling clock having a constant period, in the case shown in FIG. 6, the count values are 6, 4, 3, 4, and 6 in sequence in spite of scanning bar codes having the same module width. It does not become constant. Therefore, for example, there is a possibility that a narrow bar is determined to be a wide bar even though it is a narrow bar. Therefore, it is necessary to perform software processing such as calculating the degree of dispersion and average value of the count values and correcting each count value based on the calculated values, and to calculate the average value or the like, a certain amount of data is required. Correction cannot be performed until the data is captured, and responsiveness deteriorates.
【0005】本発明は、こうした問題に鑑みなされたも
ので、走査ミラーの平面走査速度の違いにかかわらず、
読取手段においてバーコードデータを正しく読み取るこ
とができるバーコード読取装置を提供することを目的と
している。The present invention has been made in view of such a problem, and regardless of the difference in the plane scanning speed of the scanning mirror,
It is an object of the present invention to provide a bar code reader that can read bar code data correctly by a reading unit.
【0006】[0006]
【課題を解決するための手段】即ち、この目的を達成す
るためになされた本発明の請求項1に記載したバーコー
ド読取装置は、光を投射する光源と、該光源からの光を
往復運動する走査ミラーにより往復走査する走査手段
と、該走査手段による光の走査によってバーコードが記
載された読取対象から反射してくる反射光を受光し、そ
の受光光量に応じた電気信号を発生する受光手段と、該
受光手段からの電気信号を2値化する2値化手段と、該
2値化信号を所定のサンプリング間隔でカウントするカ
ウント手段と、該カウント手段からのカウント値に基づ
いて上記バーコードデータを読み取る読取手段とを備え
たバーコード読取装置において、上記走査ミラーの往復
運動に同期し、該往復運動の整数倍の周波数を有するサ
ンプリングクロックを発生させるクロック発生手段を備
え、上記カウント手段が、該クロック発生手段から発生
したサンプリングクロックに基づくサンプリング間隔
で、上記2値化信号をカウントすることを特徴とする。In order to achieve the above object, a bar code reader according to the present invention has a light source for projecting light and reciprocating light from the light source. Scanning means for reciprocating scanning by a scanning mirror, and receiving light reflected from a reading target on which a barcode is written by scanning of light by the scanning means, and generating an electric signal corresponding to the amount of received light Means, binarizing means for binarizing an electric signal from the light receiving means, counting means for counting the binarized signal at a predetermined sampling interval, and the bar based on the count value from the counting means. A barcode reader having a reading means for reading code data, wherein the sampling clock is synchronized with the reciprocating motion of the scanning mirror and has a frequency which is an integral multiple of the reciprocating motion. A clock generating means for generating, said counting means at a sampling interval based on the sampling clock generated from the clock generating means, characterized by counting the binarized signal.
【0007】また、請求項2記載のバーコード読取装置
は、光を投射する光源と、該光源からの光を往復運動す
る走査ミラーにより往復走査する走査手段と、該走査手
段による光の走査によってバーコードが記載された読取
対象から反射してくる反射光を受光し、その受光光量に
応じた電気信号を発生する受光手段と、該受光手段から
の電気信号を2値化する2値化手段と、該2値化信号を
所定のサンプリング間隔でカウントするカウント手段
と、該カウント手段からのカウント値に基づいてバーコ
ードデータを読み取る読取手段とを備えたバーコード読
取装置において、上記走査ミラーの往復運動を制御する
走査ミラー制御信号に基づき、該走査ミラー制御信号の
信号レベルに比例する乗算係数を生成する乗算係数生成
手段と、一定のサンプリング間隔でカウントされた2値
化信号のカウント値に、上記乗算係数を乗算して補正す
るカウント値補正手段とを備え、上記読取手段が、該補
正されたカウント値に基づいて上記バーコードデータを
読み取ることを特徴とする。According to a second aspect of the present invention, there is provided a bar code reader, comprising: a light source for projecting light; scanning means for reciprocally scanning light from the light source by a reciprocating scanning mirror; and light scanning by the scanning means. Light receiving means for receiving reflected light reflected from a reading target on which a barcode is written and generating an electric signal corresponding to the received light amount, and binarizing means for binarizing the electric signal from the light receiving means And a reading means for reading bar code data based on the count value from the counting means, and counting means for counting the binarized signal at a predetermined sampling interval. A multiplication coefficient generating means for generating a multiplication coefficient proportional to the signal level of the scanning mirror control signal based on the scanning mirror control signal for controlling the reciprocation; Count value correcting means for multiplying the count value of the binary signal counted at the ring interval by the multiplication coefficient to correct the value, wherein the reading means reads the bar code data based on the corrected count value. Is read.
【0008】[0008]
【作用】請求項1に記載されたバーコード読取装置によ
れば、走査手段が、往復運動する走査ミラーにより光源
からの光を走査する。そして、受光手段が、走査手段に
よる光の走査によってバーコードが記載された読取対象
から反射してくる反射光を受光して受光光量に応じた電
気信号を発生し、2値化手段が受光手段からの電気信号
を2値化する。According to the first aspect of the present invention, the scanning means scans the light from the light source by the reciprocating scanning mirror. The light receiving means receives the reflected light reflected from the reading target on which the bar code is written by scanning the light with the scanning means, and generates an electric signal corresponding to the received light amount. Is binarized.
【0009】一方、クロック発生手段は、走査ミラーの
往復運動に同期し、その往復運動の整数倍の周波数を有
するサンプリングクロックを発生させる。そして、カウ
ント手段が、2値化手段から出力される2値化信号を、
クロック発生手段から発生したサンプリングクロックに
基づくサンプリング間隔でカウントし、読取手段が、そ
のカウント値に基づいてバーコードデータを読み取る。On the other hand, the clock generating means generates a sampling clock synchronized with the reciprocating movement of the scanning mirror and having a frequency which is an integral multiple of the reciprocating movement. Then, the counting means converts the binarized signal output from the binarizing means to
The counting is performed at a sampling interval based on the sampling clock generated from the clock generating unit, and the reading unit reads the barcode data based on the count value.
【0010】このように、走査ミラーの往復運動に同期
し、その往復運動の整数倍の周波数を有するサンプリン
グクロックに基づくサンプリング間隔で2値化信号をカ
ウントするため、そのカウント値は、走査ミラーの平面
走査速度の違いにかかわらずバーコードに対応する適正
な値となり、読取手段においてバーコードデータを正し
く読み取ることができる。As described above, since the binarized signal is counted at the sampling interval based on the sampling clock having a frequency which is an integral multiple of the reciprocating motion in synchronization with the reciprocating motion of the scanning mirror, the count value of the scanning mirror is Regardless of the difference in the plane scanning speed, the value becomes an appropriate value corresponding to the bar code, and the bar code data can be read correctly by the reading means.
【0011】また、請求項2に記載されたバーコード読
取装置によれば、乗算係数生成手段が、走査ミラーの往
復運動を制御する走査ミラー制御信号に基づき、走査ミ
ラー制御信号の信号レベルに比例する乗算係数を生成
し、カウント値補正手段が、カウント手段において一定
のサンプリング間隔でカウントされた2値化信号のカウ
ント値に、乗算係数生成手段において生成された乗算係
数を乗算して補正する。そして、読取手段が、その補正
されたカウント値に基づいて上記バーコードデータを読
み取る。Further, according to the bar code reader of the present invention, the multiplication coefficient generating means is proportional to the signal level of the scanning mirror control signal based on the scanning mirror control signal for controlling the reciprocating movement of the scanning mirror. The multiplication coefficient generated by the multiplication coefficient generated by the multiplication coefficient generation means is corrected by the count value correction means by multiplying the count value of the binary signal counted by the counting means at a fixed sampling interval. Then, the reading means reads the barcode data based on the corrected count value.
【0012】生成された乗算係数は、走査ミラーの平面
走査速度に比例し、カウント手段において一定のサンプ
リング間隔でカウントされた2値化信号のカウント値は
走査ミラーの平面走査速度に反比例する。従って、補正
されたカウント値は、走査ミラーの平面走査速度の違い
にかかわらずバーコードに対応する適正な値となり、読
取手段においてバーコードデータを正しく読み取ること
ができる。The generated multiplication coefficient is proportional to the scanning speed of the scanning mirror, and the count value of the binarized signal counted at a constant sampling interval by the counting means is inversely proportional to the scanning speed of the scanning mirror. Therefore, the corrected count value becomes an appropriate value corresponding to the bar code regardless of the difference in the plane scanning speed of the scanning mirror, and the bar code data can be correctly read by the reading means.
【0013】[0013]
【実施例】以下に本発明の実施例を図面と共に説明す
る。まず図1は、本発明が適用された第1実施例のバー
コード読取装置全体の構成を表す概略構成図である。Embodiments of the present invention will be described below with reference to the drawings. First, FIG. 1 is a schematic configuration diagram illustrating a configuration of an entire barcode reading device according to a first embodiment to which the present invention is applied.
【0014】図に示す如く、本実施例のバーコード読取
装置の光学系は、レーザ光を発生するレーザ光源2と、
レーザ光源2からのレーザ光を平行光線にするコリメー
ティングレンズ4と、ステップモータ5によって図に示
す矢印方向に往復回動され、コリメーティングレンズ4
を透過してきたレーザ光を走査してバーコードBが印刷
されたバーコードラベル6に照射する走査ミラー8と、
入射光量に応じた電気信号を発生する受光手段としての
光検出器10と、バーコードラベル6から反射してくる
レーザ光(散乱光)を光検出器10に集光させる集光レ
ンズ12とから構成されている。As shown in FIG. 1, the optical system of the bar code reader according to the present embodiment includes a laser light source 2 for generating a laser beam,
A collimating lens 4 for converting the laser beam from the laser light source 2 into a parallel light beam;
A scanning mirror 8 that scans a laser beam transmitted through the bar code B to irradiate a bar code label 6 on which a bar code B is printed,
A photodetector 10 as a light receiving means for generating an electric signal corresponding to the amount of incident light, and a condenser lens 12 for condensing the laser light (scattered light) reflected from the barcode label 6 on the photodetector 10 It is configured.
【0015】ここでレーザ光源2は、レーザダイオー
ド,He−Neレーザ等からなる発光素子と、平凸レン
ズからなる合焦レンズと、開口絞りとから構成され、レ
ーザ光を走査ミラー8の中心位置に投射する。また光検
出器10は、フォトダイオード,フォトトランジスタ等
からなる受光素子と、レーザ光源2が発生するレーザ光
と同じ波長の光のみを透過させる光学フィルタと、によ
り構成されている。The laser light source 2 is composed of a light emitting element such as a laser diode, a He-Ne laser, a focusing lens formed of a plano-convex lens, and an aperture stop. Project. The light detector 10 includes a light receiving element including a photodiode, a phototransistor, and the like, and an optical filter that transmits only light having the same wavelength as the laser light generated by the laser light source 2.
【0016】次に本実施例のバーコード読取装置の信号
処理系には、光検出器10から出力される微弱な電気信
号を増幅する増幅手段31,2値化手段33,カウント
手段35,ECUの一処理として実現されるデコード部
37が備えられている。また駆動系は、ステップモータ
5を駆動するミラー駆動手段41,レーザ光源2を駆動
するレーザ駆動手段43等から構成され、制御系は、レ
ーザ駆動手段43を介してレーザ光源2からレーザ光を
発光させ、ミラー駆動手段41を介してステップモータ
5を駆動することにより走査ミラー8を所定周期で往復
回動させると共に、その回動に同期してデコード部37
を動作させる制御部39から構成されている。尚、一般
に、デコード部37及び制御部39は、CPU,RO
M,RAM等を中心とするマイクロコンピュータからな
る電子制御装置(ECU)の一処理として実現される。Next, the signal processing system of the bar code reader according to the present embodiment includes amplifying means 31 for amplifying a weak electric signal output from the photodetector 10, a binarizing means 33, a counting means 35, and an ECU. And a decoding unit 37 realized as one process. The drive system includes a mirror drive unit 41 for driving the step motor 5, a laser drive unit 43 for driving the laser light source 2, and the like. The control system emits laser light from the laser light source 2 via the laser drive unit 43. By driving the stepping motor 5 via the mirror driving means 41, the scanning mirror 8 is reciprocatedly rotated at a predetermined cycle, and the decoding unit 37 is synchronized with the rotation.
Is operated by the control unit 39. In general, the decoding unit 37 and the control unit 39 include a CPU, an RO,
The processing is realized as one process of an electronic control unit (ECU) including a microcomputer mainly including an M, a RAM, and the like.
【0017】また、上述したミラー駆動手段41は、基
準OSC51とPLL回路53とを備えたクロック発生
手段50により作られるミラー制御周波数fx に基づい
て駆動制御され、カウント手段35はクロック発生手段
50により作られるサンプリングクロック(周波数fos
c )に基づくサンプリング間隔でカウントするように構
成されている。なお、ミラー駆動手段41は、ミラー制
御周波数fx の周波数変化によりステップモータ5の振
動周期を制御したり、あるいは、周波数変化を電圧変化
に変換(FV変換)して制御する。The above-mentioned mirror driving means 41 is driven and controlled based on a mirror control frequency fx generated by a clock generating means 50 having a reference OSC 51 and a PLL circuit 53, and the counting means 35 is controlled by the clock generating means 50. Sampling clock to be made (frequency fos
It is configured to count at the sampling interval based on c). The mirror driving means 41 controls the oscillation cycle of the step motor 5 by changing the frequency of the mirror control frequency fx, or converts the frequency change into a voltage change (FV conversion).
【0018】クロック発生手段50を図2を参照して更
に詳しく説明する。PLL回路53は基準周波数fs を
N逓倍する回路と考えることができ、位相比較器54、
ローパスフィルタ(LPF)等を用いた積分器56、電
圧制御発振回路(以下VCOという。)58、1/N分
周器(以下単に分周器という。)60を基本的な構成要
素し、ループ状に接続されている位相比較器54は位相
検波回路で、位相差に比例したパルス出力が得られ、こ
れを積分器56で積分してVCO58の制御端子をコン
トロールする。VCO58は、制御電圧によって発振周
波数が変化し、これを分周器60でN分の1に分周し、
位相比較器54の一方の入力とする。基準OSC51か
らの基準周波数fs は位相比較器54に入力されてお
り、分周器60の設定値Nを変えることで、基準周波数
fs からVCO58の発振範囲内で設定数Nに応じた出
力周波数fosc のサンプリングクロックを得ることがで
きるようにされている。The clock generator 50 will be described in more detail with reference to FIG. The PLL circuit 53 can be considered as a circuit for multiplying the reference frequency fs by N.
An integrator 56 using a low-pass filter (LPF) or the like, a voltage controlled oscillator (hereinafter, referred to as VCO) 58, and a 1 / N frequency divider (hereinafter, simply referred to as a frequency divider) 60 are basic constituent elements, and a loop is formed. The phase comparator 54 connected like a phase detector is a phase detection circuit, and a pulse output proportional to the phase difference is obtained. The pulse output is integrated by an integrator 56 to control the control terminal of the VCO 58. The VCO 58 changes the oscillation frequency according to the control voltage, and divides the oscillation frequency into N times by the frequency divider 60.
One input of the phase comparator 54. The reference frequency fs from the reference OSC 51 is input to the phase comparator 54, and by changing the set value N of the frequency divider 60, the output frequency fosc according to the set number N within the oscillation range of the VCO 58 from the reference frequency fs Is obtained.
【0019】その動作について簡単に説明すると、VC
O58からの出力周波数fosc (=fs ×N)が分周器
60で(1/N)倍され、比較信号fx として位相比較
器54に入力する。そして、ループが、入力される基準
周波数fs と比較周波数fxとの位相差をなくす、若し
くは同位相を維持するように働く。このようにして、出
力周波数fosc は、基準周波数fs をN逓倍したものと
なる。The operation is briefly described below.
The output frequency fosc (= fs × N) from O58 is multiplied by (1 / N) by the frequency divider 60 and input to the phase comparator 54 as the comparison signal fx. Then, the loop acts to eliminate or maintain the phase difference between the input reference frequency fs and the comparison frequency fx. In this manner, the output frequency fosc is obtained by multiplying the reference frequency fs by N.
【0020】VCO58から出力される周波数fosc の
サンプリングクロックはカウント手段35に入力され、
分周器60からの比較周波数fx は、ミラー制御周波数
fxとしてミラー駆動手段41に入力する。ミラー駆動
手段41は、このミラー制御周波数fx に基づいて走査
ミラー8の振動周期を決定し、往復運動させる。The sampling clock of the frequency fosc output from the VCO 58 is input to the counting means 35.
The comparison frequency fx from the frequency divider 60 is input to the mirror driving unit 41 as a mirror control frequency fx. The mirror driving means 41 determines the oscillation cycle of the scanning mirror 8 based on the mirror control frequency fx and causes the scanning mirror 8 to reciprocate.
【0021】以上のように構成された本第1実施例のバ
ーコード読取装置においては、レーザ光源2からのレー
ザ光が走査ミラー8に投射され、バーコードラベル6に
高速で走査される。そしてバーコードラベル6からの反
射光は、集光レンズ12で集光された後、光検出器10
に入射する。すると光検出器10は、その入射光量に応
じた電気信号を発生し、この電気信号は増幅手段31で
増幅され、2値化手段33に入力される。In the bar code reader of the first embodiment configured as described above, the laser beam from the laser light source 2 is projected on the scanning mirror 8 and the bar code label 6 is scanned at a high speed. The reflected light from the bar code label 6 is condensed by the condenser lens 12 and then is
Incident on. Then, the photodetector 10 generates an electric signal corresponding to the amount of incident light, and the electric signal is amplified by the amplifying unit 31 and input to the binarizing unit 33.
【0022】この2値化手段33からの出力がカウント
手段35において、クロック発生手段50により作られ
るサンプリングクロック(周波数fosc )に基づくサン
プリング間隔でカウントされる。走査ミラー8の振動周
期を決定するミラー制御周波数fx は位相比較器54に
帰還され、基準周波数fs との位相差をなくすようにし
た結果、出力周波数fosc は基準周波数fs をN逓倍す
る。The output from the binarizing means 33 is counted by a counting means 35 at a sampling interval based on a sampling clock (frequency fosc) generated by a clock generating means 50. The mirror control frequency fx for determining the oscillation period of the scanning mirror 8 is fed back to the phase comparator 54 to eliminate the phase difference from the reference frequency fs. As a result, the output frequency fosc multiplies the reference frequency fs by N.
【0023】従って、図3に示すように、クロック発生
手段50からは、走査ミラー8の往復運動に同期し、そ
の往復運動のN倍の周波数を有するサンプリングクロッ
クが発生する。そして、カウント手段35が、2値化手
段33から出力される2値化信号を、サンプリングクロ
ックに基づくサンプリング間隔でカウントする。走査ミ
ラー8は往復運動するため、その往復動の転換前後で加
速度が生じ、平面走査速度は一定ではない。等しいモジ
ュール幅のバーコードBを走査した場合であっても、走
査ミラー8の平面走査速度が異なると2値化信号のパル
ス幅が一定にならない。Therefore, as shown in FIG. 3, the clock generating means 50 generates a sampling clock synchronized with the reciprocating movement of the scanning mirror 8 and having a frequency N times the reciprocating movement. Then, the counting unit 35 counts the binarized signal output from the binarizing unit 33 at a sampling interval based on the sampling clock. Since the scanning mirror 8 reciprocates, acceleration occurs before and after the reversal of the reciprocating motion, and the plane scanning speed is not constant. Even when the bar code B having the same module width is scanned, the pulse width of the binarized signal is not constant if the scanning speed of the scanning mirror 8 is different.
【0024】しかしながら、本実施例では、サンプリン
グクロックの周波数(以下クロック周波数という。)f
osc は基準周波数fs のN倍であり、走査ミラー8の平
面走査速度に同期し、比例するので、走査平面速度が小
さいときにはクロック周波数fosc も小さく、走査平面
速度が大きくなればクロック周波数fosc も大きくな
る。従って、等しいモジュール幅のバーコードBを走査
して2値化信号のパルス幅が一定にならない場合でも、
パルス幅が大きいときにはクロック周波数foscは小さ
くなる。However, in this embodiment, the frequency of the sampling clock (hereinafter referred to as clock frequency) f.
Since osc is N times the reference frequency fs and is synchronous with and proportional to the plane scanning speed of the scanning mirror 8, the clock frequency fosc is low when the scanning plane speed is low, and the clock frequency fosc increases when the scanning plane speed is high. Become. Therefore, even if the pulse width of the binarized signal is not constant by scanning the bar code B having the same module width,
When the pulse width is large, the clock frequency fosc decreases.
【0025】逆に、パルス幅が小さいときにはクロック
周波数fosc は大きくなる。図3にはクロック周波数f
osc を基準周波数fs の1倍とした場合を示したある
が、図からもわかるように、このサンプリングクロック
を用いてカウントすれば、そのカウント値は、走査ミラ
ー8が往復運動をするための平面走査速度の違いにかか
わらずバーコードBに対応する適正な値(この場合はす
べて3)となり、デコード部37においてバーコードデ
ータを正しく読み取ることができる。Conversely, when the pulse width is small, the clock frequency fosc increases. FIG. 3 shows the clock frequency f
Although the case where osc is set to one time of the reference frequency fs is shown, as can be seen from the figure, if counting is performed using this sampling clock, the count value becomes a plane for the scanning mirror 8 to reciprocate. Regardless of the difference in scanning speed, the barcode B has an appropriate value (all three in this case), so that the decoding unit 37 can read barcode data correctly.
【0026】次に第2実施例を図4を参照して説明す
る。第1実施例と同様の構成部分については同符号を付
し、詳しい説明を省略する。第1実施例と同様に、制御
部39により発振周波数を制御される基準OSC51か
らは、ステップモータ5の振動周期を決定する基準周波
数fs のクロックが発生している。ミラー駆動手段41
は、この基準周波数fs の周波数変化を電圧変化に変換
して走査ミラー制御信号とし、走査ミラー8の往復運動
を制御する。Next, a second embodiment will be described with reference to FIG. The same components as those in the first embodiment are denoted by the same reference numerals, and detailed description is omitted. Similarly to the first embodiment, the reference OSC 51 whose oscillation frequency is controlled by the control unit 39 generates a clock having the reference frequency fs for determining the oscillation cycle of the step motor 5. Mirror driving means 41
Converts the change in the frequency of the reference frequency fs into a change in voltage to generate a scanning mirror control signal, and controls the reciprocating movement of the scanning mirror 8.
【0027】この走査ミラー制御信号は、アナログ値を
ディジタル値に変換するAD変換手段81、乗算係数生
成手段83を介してカウント値補正手段85に入力され
るよう構成されている。AD変換手段81において、走
査ミラー制御信号の信号レベル(周波数、電圧値)と比
例するデータに変換され、そのデータに基づき、乗算係
数生成手段83において走査ミラー制御信号の信号レベ
ルに比例、即ち、走査ミラー8の平面走査速度に比例し
た乗算係数が生成される。This scanning mirror control signal is configured to be input to the count value correcting means 85 via the AD converting means 81 for converting an analog value into a digital value and the multiplication coefficient generating means 83. The AD conversion means 81 converts the data into data proportional to the signal level (frequency, voltage value) of the scanning mirror control signal, and based on the data, the multiplication coefficient generation means 83 uses the data in proportion to the signal level of the scanning mirror control signal, that is, A multiplication coefficient proportional to the plane scanning speed of the scanning mirror 8 is generated.
【0028】一方、2値化手段33で2値化されたバー
コードデータは、カウント手段35において、一定周期
のサンプリングクロックを用いてカウントされ、バーコ
ードデータカウント値とされる。このカウント値は図6
の従来例にも示したように、走査ミラー8の平面走査速
度に反比例しており、走査速度が小さいとカウント値が
大きくなり、走査速度が大きくなるにつれて小さくな
る。このカウント値はカウント値補正手段85に入力す
る。On the other hand, the bar code data binarized by the binarizing means 33 is counted by the counting means 35 using a sampling clock having a constant period, and is converted into a bar code data count value. This count value is shown in FIG.
As shown in the conventional example, the count value is inversely proportional to the plane scanning speed of the scanning mirror 8, and the count value increases as the scanning speed decreases, and decreases as the scanning speed increases. This count value is input to the count value correction means 85.
【0029】そして、このカウント値補正手段85にお
いて、上述のカウント値に乗算係数生成手段83から入
力された乗算係数が乗算されて補正が行われる。生成さ
れた乗算係数は、走査ミラー8の平面走査速度に比例
し、カウント手段35において一定のサンプリング間隔
でカウントされた2値化信号のカウント値は走査ミラー
8の平面走査速度に反比例する。従って、補正されたカ
ウント値は、走査ミラー8の平面走査速度の違いにかか
わらずバーコードBに対応する適正な値となり、デコー
ド部37においてバーコードデータを正しく読み取るこ
とができる。In the count value correcting means 85, the above-described count value is multiplied by the multiplication coefficient input from the multiplication coefficient generation means 83 to perform correction. The generated multiplication coefficient is proportional to the plane scanning speed of the scanning mirror 8, and the count value of the binarized signal counted at a constant sampling interval by the counting means 35 is inversely proportional to the plane scanning speed of the scanning mirror 8. Accordingly, the corrected count value becomes an appropriate value corresponding to the bar code B regardless of the difference in the plane scanning speed of the scanning mirror 8, and the bar code data can be read correctly by the decoding unit 37.
【0030】以上本発明はこの様な実施例に何等限定さ
れるものではなく、本発明の要旨を逸脱しない範囲にお
いて種々なる態様で実施し得る。As described above, the present invention is not limited to such embodiments at all, and can be implemented in various modes without departing from the gist of the present invention.
【0031】[0031]
【発明の効果】以上説明したように請求項1記載のバー
コード読取装置によれば、走査ミラーの往復運動に同期
し、その往復運動の整数倍の周波数を有するサンプリン
グクロックに基づくサンプリング間隔で2値化信号をカ
ウントするため、走査ミラーの平面走査速度の違いにか
かわらずバーコードに対応する適正な値となり、読取手
段においてバーコードデータを正しく読み取ることがで
きるという効果を奏する。As described above, according to the bar code reader according to the first aspect, the bar code reader is synchronized with the reciprocating movement of the scanning mirror and has a sampling interval based on a sampling clock having a frequency that is an integral multiple of the reciprocating movement. Since the digitized signal is counted, the value becomes an appropriate value corresponding to the bar code irrespective of the difference in the plane scanning speed of the scanning mirror, and the bar code data can be read correctly by the reading means.
【0032】また、請求項2記載のバーコード読取装置
によれば、生成された乗算係数は走査ミラーの平面走査
速度に比例し、カウント手段において一定のサンプリン
グ間隔でカウントされた2値化信号のカウント値は走査
ミラーの平面走査速度に反比例するため、補正されたカ
ウント値は、走査ミラーの平面走査速度の違いにかかわ
らずバーコードに対応する適正な値となり、読取手段に
おいてバーコードデータを正しく読み取ることができる
という効果を有する。According to the bar code reader of the present invention, the generated multiplication coefficient is proportional to the plane scanning speed of the scanning mirror, and the binarized signal counted by the counting means at a constant sampling interval. Since the count value is inversely proportional to the plane scanning speed of the scanning mirror, the corrected count value becomes an appropriate value corresponding to the bar code regardless of the difference in the plane scanning speed of the scanning mirror, and the bar code data is correctly read by the reading means. This has the effect of being able to read.
【図1】第1実施例のバーコード読取装置全体の構成を
表す概略構成図である。FIG. 1 is a schematic configuration diagram illustrating an entire configuration of a barcode reading device according to a first embodiment.
【図2】クロック発生手段のPLL回路等を示すブロッ
ク図である。FIG. 2 is a block diagram illustrating a PLL circuit and the like of a clock generation unit.
【図3】第1実施例における走査ミラーの平面走査速
度,サンプリングクロック,カウント値等を示すタイミ
ングチャートである。FIG. 3 is a timing chart showing a plane scanning speed of a scanning mirror, a sampling clock, a count value, and the like in the first embodiment.
【図4】第2実施例のバーコード読取装置全体の構成を
表す概略構成図である。FIG. 4 is a schematic configuration diagram illustrating an entire configuration of a barcode reading device according to a second embodiment.
【図5】第2実施例における走査ミラーの平面走査速
度,バーコードデータカウント値,乗算係数,補正され
たカウント値等を示すタイミングチャートである。FIG. 5 is a timing chart showing a planar scanning speed of a scanning mirror, a barcode data count value, a multiplication coefficient, a corrected count value, and the like in the second embodiment.
【図6】従来例における走査ミラーの平面走査速度,サ
ンプリングクロック,カウント値等を示すタイミングチ
ャートである。FIG. 6 is a timing chart showing a plane scanning speed of a scanning mirror, a sampling clock, a count value, and the like in a conventional example.
2…レーザ光源、 5…ステップモータ、 6…
バーコードラベル、8…走査ミラー、 10…光検出
器、 35…カウント手段、37…デコード部、
39…制御部、 41…ミラー駆動手段、
50…クロック発生手段、 53…PLL回路、 81
…AD変換手段、83…乗算係数生成手段、 85…カ
ウント値補正手段2 laser light source 5 step motor 6
Bar code label, 8 scanning mirror, 10 photodetector, 35 counting means, 37 decoding section,
39: control unit 41: mirror driving means
50 clock generating means 53 PLL circuit 81
... AD conversion means, 83 ... multiplication coefficient generation means, 85 ... count value correction means
Claims (2)
往復運動する走査ミラーにより往復走査する走査手段
と、該走査手段による光の走査によってバーコードが記
載された読取対象から反射してくる反射光を受光し、そ
の受光光量に応じた電気信号を発生する受光手段と、該
受光手段からの電気信号を2値化する2値化手段と、該
2値化信号を所定のサンプリング間隔でカウントするカ
ウント手段と、該カウント手段からのカウント値に基づ
いて上記バーコードデータを読み取る読取手段とを備え
たバーコード読取装置において、 上記走査ミラーの往復運動に同期し、該往復運動の整数
倍の周波数を有するサンプリングクロックを発生させる
クロック発生手段を備え、 上記カウント手段が、該クロック発生手段から発生した
サンプリングクロックに基づくサンプリング間隔で、上
記2値化信号をカウントすることを特徴とするバーコー
ド読取装置。1. A light source for projecting light, scanning means for reciprocally scanning light from the light source by a reciprocating scanning mirror, and light reflected by a bar code written by a scanning mirror by the scanning means. Receiving means for receiving the reflected light and generating an electric signal in accordance with the amount of received light; binarizing means for binarizing the electric signal from the light receiving means; A bar code reading device comprising: a counting means for counting at intervals; and a reading means for reading the bar code data based on the count value from the counting means. Clock generating means for generating a sampling clock having a frequency of an integral multiple, wherein the counting means includes a sampling clock generated by the clock generating means. Sampling interval based on the click bar code reader, characterized in that counting the binarized signal.
往復運動する走査ミラーにより往復走査する走査手段
と、該走査手段による光の走査によってバーコードが記
載された読取対象から反射してくる反射光を受光し、そ
の受光光量に応じた電気信号を発生する受光手段と、該
受光手段からの電気信号を2値化する2値化手段と、該
2値化信号を所定のサンプリング間隔でカウントするカ
ウント手段と、該カウント手段からのカウント値に基づ
いてバーコードデータを読み取る読取手段とを備えたバ
ーコード読取装置において、 上記走査ミラーの往復運動を制御する走査ミラー制御信
号に基づき、該走査ミラー制御信号の信号レベルに比例
する乗算係数を生成する乗算係数生成手段と、 一定のサンプリング間隔でカウントされた2値化信号の
カウント値に、上記乗算係数を乗算して補正するカウン
ト値補正手段とを備え、 上記読取手段が、該補正されたカウント値に基づいて上
記バーコードデータを読み取ることを特徴とするバーコ
ード読取装置。2. A light source for projecting light, scanning means for reciprocally scanning light from the light source by a reciprocating scanning mirror, and light reflected by a bar code written from a reading target on which a barcode is written by scanning of light by the scanning means. Receiving means for receiving the reflected light and generating an electric signal in accordance with the amount of received light; binarizing means for binarizing the electric signal from the light receiving means; In a bar code reader having a counting means for counting at intervals, and a reading means for reading bar code data based on the count value from the counting means, a bar code reader is provided based on a scanning mirror control signal for controlling a reciprocating movement of the scanning mirror. Multiplication coefficient generation means for generating a multiplication coefficient proportional to the signal level of the scanning mirror control signal, and a binarization signal counted at a predetermined sampling interval. A bar code reading device comprising: count value correcting means for correcting the count value by multiplying the count value by the multiplication coefficient; wherein the reading means reads the bar code data based on the corrected count value. .
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4043554A JP2867779B2 (en) | 1992-02-28 | 1992-02-28 | Barcode reader |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4043554A JP2867779B2 (en) | 1992-02-28 | 1992-02-28 | Barcode reader |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH05242285A JPH05242285A (en) | 1993-09-21 |
| JP2867779B2 true JP2867779B2 (en) | 1999-03-10 |
Family
ID=12666976
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP4043554A Expired - Fee Related JP2867779B2 (en) | 1992-02-28 | 1992-02-28 | Barcode reader |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2867779B2 (en) |
-
1992
- 1992-02-28 JP JP4043554A patent/JP2867779B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPH05242285A (en) | 1993-09-21 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6357659B1 (en) | Hands free optical scanner trigger | |
| US4528444A (en) | Optical reading apparatus with automatic gain control circuit | |
| JPH04286382A (en) | Life extending device of laser and method | |
| WO1999023598A1 (en) | Electronic edge detection system | |
| JP2815290B2 (en) | Binarization device in barcode reader | |
| JP2867779B2 (en) | Barcode reader | |
| JPH1038902A (en) | Detector for rotational speed | |
| JP2738108B2 (en) | Barcode reader | |
| JP4099854B2 (en) | Bar code reader | |
| JPH0675050A (en) | Range finder | |
| JP3225621B2 (en) | Portable optical information reader | |
| JP2967612B2 (en) | Optical information reader | |
| GB2159362A (en) | Rangefinder | |
| JP3104455B2 (en) | Optical information reader | |
| JP2004164393A (en) | Optical information reader | |
| US20250328740A1 (en) | Dual Mode Aimer for Long Range Barcode Scanning | |
| JP2783822B2 (en) | Method and apparatus for detecting unlock of PLL circuit | |
| JP2836297B2 (en) | Optical information reader | |
| WO2011034107A1 (en) | Optical information reader and control method therefor | |
| JPH03103994A (en) | barcode reader | |
| JP2000147395A (en) | Sampling clock generator | |
| JPH06131489A (en) | Portable optical information reader | |
| JPH09297810A (en) | Bar code reader | |
| JPH05127109A (en) | Device and method for controlling amplitude of vibrating optical element | |
| JP3640365B2 (en) | Optical beam recording device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20071225 Year of fee payment: 9 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20101225 Year of fee payment: 12 |
|
| LAPS | Cancellation because of no payment of annual fees |