JPH096890A - Light source adjustment method for barcode reader - Google Patents

Light source adjustment method for barcode reader

Info

Publication number
JPH096890A
JPH096890A JP7178280A JP17828095A JPH096890A JP H096890 A JPH096890 A JP H096890A JP 7178280 A JP7178280 A JP 7178280A JP 17828095 A JP17828095 A JP 17828095A JP H096890 A JPH096890 A JP H096890A
Authority
JP
Japan
Prior art keywords
light
light source
bar code
pattern
emission 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.)
Pending
Application number
JP7178280A
Other languages
Japanese (ja)
Inventor
Masao Goto
雅生 後藤
Kenji Amegai
健司 雨貝
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nippon Electric Industry Co Ltd
Original Assignee
Nippon Electric Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Electric Industry Co Ltd filed Critical Nippon Electric Industry Co Ltd
Priority to JP7178280A priority Critical patent/JPH096890A/en
Publication of JPH096890A publication Critical patent/JPH096890A/en
Pending legal-status Critical Current

Links

Abstract

(57)【要約】 【目的】 投光量の初期設定作業が容易であって、自動
化が可能。 【構成】 所定のパターンで情報が記録されたテストパ
ターン8に光源7からの光を出射させ、これを入射した
受光部4から出力される読取信号により得られる配向パ
ターンと予め設定された理想配向パターンとを比較・検
討し、これら双方のずれが一定値以下に収まるときの光
源発光時間を光源7における最良の発光時間として初期
設定する。
(57) [Summary] [Purpose] The initial setting of the light projection amount is easy and can be automated. [Structure] An alignment pattern obtained by emitting a light from a light source 7 to a test pattern 8 in which information is recorded in a predetermined pattern, and an alignment pattern obtained by a read signal output from the light receiving section 4 upon which the light is incident and a preset ideal orientation The pattern is compared and examined, and the light emission time of the light source when the difference between the two falls within a fixed value or less is initialized as the best light emission time in the light source 7.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は、バーコードシンボル
に向けて光源から読取光を出射し、そのバーコードシン
ボルに記録した情報を光学的に読取るバーコードリーダ
において、最良の投光状態を設定することができるバー
コードリーダの光源調整方法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention sets a best light projection state in a bar code reader which emits reading light from a light source toward a bar code symbol and optically reads information recorded in the bar code symbol. The present invention relates to a light source adjustment method for a bar code reader that can be used.

【0002】[0002]

【従来の技術】バーコードラベルに記載のバーコードシ
ンボルを読み取るため、バーコードリーダが各種開発さ
れ使用されている。例えばこのようなバーコードリーダ
の典型的なものとして、図3に示すように、バーコード
ラベル100に記載のバーコードシンボルに向けて所定
の読取光を出射する発光ダイオードなどの投光手段10
1と、この投光手段101から出射されそのバーコード
ラベル100で反射する反射光を結像レンズ102を介
してCCDイメージセンサなどの受光手段103に入射
し、所定の電気信号に変換して情報読取りを行う構成の
ものが知られている。
2. Description of the Related Art Various bar code readers have been developed and used for reading bar code symbols printed on bar code labels. For example, as a typical example of such a bar code reader, as shown in FIG. 3, a light projecting means 10 such as a light emitting diode that emits a predetermined reading light toward a bar code symbol described in a bar code label 100.
1 and the reflected light emitted from the light projecting means 101 and reflected by the bar code label 100 is incident on the light receiving means 103 such as a CCD image sensor through the imaging lens 102, converted into a predetermined electric signal, and information is obtained. A configuration for reading is known.

【0003】ところで、このような構成のバーコードリ
ーダにあっては、この各バーコードリーダに対して個別
に投光部等の初期設定を行うため、例えばボリューウム
等を使用して投光量の調整を行い、受光量がバーコード
ラベルの全体に均等に及ぶよう位置的なバランスの調整
を図っている。
By the way, in the bar code reader having such a structure, the light projecting section and the like are individually initialized for each bar code reader, so that the light projecting amount is adjusted using, for example, a volume. The position balance is adjusted so that the received light amount is evenly distributed over the entire bar code label.

【0004】[0004]

【発明が解決しようとする課題】ところが、通常このよ
うな初期調整作業は、手動等により一個づつ行う面倒な
作業であるから、作業性の低下をもたらしており、大き
な問題になっている。
However, since such an initial adjustment work is usually a troublesome work to be performed manually one by one, the workability is lowered, which is a serious problem.

【0005】そこで、この発明は、上記した事情に鑑
み、投光量の初期設定作業が容易であって、自動化が可
能なバーコードリーダの光源調整方法を提供することを
目的とするものである。
In view of the above circumstances, an object of the present invention is to provide a light source adjusting method for a bar code reader in which the initial setting operation of the light projection amount is easy and can be automated.

【0006】[0006]

【課題を解決するための手段】即ち、この発明は、バー
コードシンボルに向けて光源から読取光を出射し、前記
バーコードシンボルに記録した情報を光学的に読取るバ
ーコードリーダにおいて、所定のパターンで情報が記録
された記録媒体に光源からの光を出射させ、これを入射
した受光部から出力される読取信号により得られる配向
パターンと予め設定された設定配向パターンとを比較・
演算し、これら双方のずれが一定値以下に収まるときの
光源発光時間を前記光源における最良の発光時間として
初期設定するものである。
That is, the present invention provides a bar code reader which emits reading light from a light source toward a bar code symbol and optically reads the information recorded in the bar code symbol. The light emitted from the light source is emitted to the recording medium on which the information is recorded, and the alignment pattern obtained by the read signal output from the light receiving unit which entered the light is compared with the preset alignment pattern.
The light source emission time when the calculation is performed and the difference between the two is within a certain value or less is initially set as the best light emission time in the light source.

【0007】[0007]

【作用】この発明では、所定のパターンで情報が記録さ
れた記録媒体に光源からの光を出射させ、これを入射し
た受光部から出力される読取信号により得られる配向パ
ターンと予め設定された設定配向パターンとを比較・演
算し、これら双方のずれが一定値以下に収まるまで制御
部の制御で繰り返し点灯動作時間を適宜変更させて行
く。所定値以下にずれが収まったことを制御部が検出す
ると、そのときの光源発光時間をこの光源における最良
の発光時間として初期設定することができる。
According to the present invention, a recording medium on which information is recorded in a predetermined pattern is made to emit light from a light source, and an alignment pattern obtained by a read signal output from a light-receiving section which entered the light and a preset setting. The alignment pattern is compared and calculated, and the lighting operation time is repeatedly changed under the control of the control unit as appropriate until the deviation between the two falls below a certain value. When the control unit detects that the deviation has fallen below a predetermined value, the light source light emission time at that time can be initialized as the best light emission time in this light source.

【0008】[0008]

【実施例】以下、この発明について添付図面を参照しな
がら説明する。図1は、この発明にかかるバーコードリ
ーダの光源調整方法が適用される光源調整装置を示すも
のであり、この光源調整装置は、制御部1と、トランジ
スタ2と、結像レンズ3と、受光部4と、アンプ5と、
A/D変換部6とを備えている。なお、図中符号7はL
ED等を使用した光源、8は光源時間の調整専用に設け
たテストパターンを示すものである。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below with reference to the accompanying drawings. FIG. 1 shows a light source adjusting device to which a light source adjusting method for a bar code reader according to the present invention is applied. The light source adjusting device includes a control unit 1, a transistor 2, an imaging lens 3, and a light receiving device. Part 4, amplifier 5,
The A / D converter 6 is provided. In the figure, reference numeral 7 is L
A light source using an ED or the like, and 8 shows a test pattern provided exclusively for adjusting the light source time.

【0009】制御部1は、各光源7(7A・7B)を適
宜作動させてその点灯時間での配向パターンを算出する
ともに、この算出した配向パターン(以下これを算出パ
ターンとよぶ)と予め記憶設定されてある理想的な配向
パターン(以下これを理想パターンとよぶ)とを比較・
演算し、これら双方のずれが一定値以下であるか否かを
判断するものである。この実施例の制御部1は、入力が
A/D変換部6の出力に接続されているとともに、出力
が各トランジスタ2(2A・2B)と接続されており、
これらの各トランジスタ2(2A・2B)作動を制御し
て夫々各光源7(7A・7B)の点灯時間を変更・調整
するように構成されている。
The control unit 1 operates each of the light sources 7 (7A and 7B) to calculate the orientation pattern at the lighting time, and stores the calculated orientation pattern (hereinafter referred to as a calculation pattern) in advance. Compared with the set ideal orientation pattern (hereinafter referred to as the ideal pattern)
The calculation is performed to determine whether or not the difference between the two is less than a certain value. In the control unit 1 of this embodiment, the input is connected to the output of the A / D conversion unit 6, and the output is connected to each transistor 2 (2A / 2B),
The operation of each of these transistors 2 (2A and 2B) is controlled to change and adjust the lighting time of each light source 7 (7A and 7B).

【0010】各トランジスタ2A・2Bは、各光源7A
・7Bと夫々接続されており、スイッチング動作するこ
とによって各光源の点灯時間を行うようになっている。
Each of the transistors 2A and 2B corresponds to each of the light sources 7A.
7B is connected to each of them, and the light source is turned on by switching operation.

【0011】この実施例の受光部4には、例えばCCD
(電荷結合素子)イメージセンサが使用されており、光
源7(7A・7B)から出射されテストパターン8で反
射して戻る読取光を受光すると、その受光する読取光の
強度に応じた読取信号を出力するものであり、出力がア
ンプ5の入力に接続されている。
In the light receiving portion 4 of this embodiment, for example, a CCD
(Charge-coupled device) An image sensor is used, and when the reading light emitted from the light source 7 (7A, 7B) and reflected back by the test pattern 8 is received, a reading signal corresponding to the intensity of the received reading light is received. The output is connected to the input of the amplifier 5.

【0012】アンプ5は、受光部4のCCDイメージセ
ンサから出力される読取信号のS/N比を増加・拡大さ
せてその読取信号に含まれるノイズを識別・除去するよ
うに構成されており、出力がA/D変換部6の入力に接
続されている。
The amplifier 5 is configured to increase / enlarge the S / N ratio of the read signal output from the CCD image sensor of the light receiving section 4 to identify / remove noise contained in the read signal. The output is connected to the input of the A / D converter 6.

【0013】A/D変換部6は、アンプ5から出力され
るアナログ信号をデジタル信号に変換するためのもので
あり、出力が制御部1の入力に接続されている。
The A / D converter 6 is for converting the analog signal output from the amplifier 5 into a digital signal, and the output is connected to the input of the controller 1.

【0014】次にこの発明に係るバーコードリーダの光
源調整方法について、先の実施例の光源調整装置を用
い、図2を参照しながら説明する。
Next, a light source adjusting method for a bar code reader according to the present invention will be described with reference to FIG. 2 using the light source adjusting device of the previous embodiment.

【0015】制御部1の制御により、所定の制御信号が
特定時間だけ各トランジスタ2(2A・2B)に出力さ
れる。すると、この制御信号を入力した各トランジスタ
2(2A・2B)がその信号入力時間だけスイッチング
動作し、その時間だけ各光源7(7A・7B)が点灯動
作して読取光が出射される(第1ステップS1)。
Under the control of the control unit 1, a predetermined control signal is output to each transistor 2 (2A / 2B) for a specific time. Then, each of the transistors 2 (2A and 2B) that receives the control signal performs a switching operation for the signal input time, and each light source 7 (7A and 7B) performs a lighting operation for that time to emit the read light (first 1 step S1).

【0016】次に、その出射した読取光がテストパター
ン8の各部で同時に反射したのち、結像レンズ3を介し
て受光部4のCCDイメージセンサに入射する(第2ス
テップS2)。
Next, the emitted reading light is reflected at each part of the test pattern 8 at the same time, and then enters the CCD image sensor of the light receiving part 4 through the imaging lens 3 (second step S2).

【0017】この読取光を入射したCCDイメージセン
サは、各部に対応する画素からそこに入射した読取光の
光強度に応じた強さの読取信号をアンプ5及びA/D変
換部6を介して制御部1に出力するのである。そして、
この読取信号を入力した制御部1は、テストパターン8
の各部に対応する位置毎に光強度を分布させた算出パタ
ーンを演算・検出していく(第3ステップS3)。
The CCD image sensor on which the reading light is made incident, through the amplifier 5 and the A / D converter 6, a reading signal having an intensity corresponding to the light intensity of the reading light made incident on the pixel corresponding to each part. It is output to the control unit 1. And
The control unit 1 that receives this read signal receives the test pattern 8
The calculation pattern in which the light intensity is distributed is calculated and detected for each position corresponding to each part of (3rd step S3).

【0018】これとともに、理想パターンとの比較・演
算を行い、この算出パターンと理想パターンとについて
各対応する位置毎に光強度差を求める(第4ステップS
4)。
At the same time, comparison / calculation with the ideal pattern is performed, and a light intensity difference is obtained for each corresponding position between the calculated pattern and the ideal pattern (fourth step S).
4).

【0019】その差が一定値以内に収まっているなら
ば、先の光源7(7A・7B)の点灯時間を光源の発光
時間として数値的に決定し、これによって光源動作時間
の初期設定が完了する(第5ステップS5)。
If the difference is within a fixed value, the lighting time of the light source 7 (7A, 7B) is numerically determined as the light emitting time of the light source, and the initial setting of the light source operating time is completed. Yes (fifth step S5).

【0020】また、これら双方のパターンにおいて、対
応する位置での光強度に先の一定値を越える差が生じて
いる場合には、制御部1がこれを判断して再度第1ステ
ップS1から同様の操作を繰り返す。
Further, in both of these patterns, if there is a difference in the light intensity at the corresponding position that exceeds the above predetermined value, the control unit 1 judges this and repeats from the first step S1 again. Repeat the operation of.

【0021】このようにして、光源作動時間の初期設定
作業を、制御部1によって自動的に行うことができるの
である。
In this way, the initialization operation of the light source operating time can be automatically performed by the control unit 1.

【0022】[0022]

【発明の効果】以上説明してきたように、この発明によ
れば、所定のパターンで情報が記録された記録媒体に、
制御部からの制御信号によって光源を任意の時間点灯動
作させ、そのとき光源からの光を入射した受光部から出
力される読取信号により得られる配向パターンと予め設
定された設定配向パターンとを比較・演算し、これら双
方のずれが一定値以下に収まるまで制御部の制御で繰り
返し点灯動作時間を適宜変更させて行き、所定値以下に
ずれが収まったことを制御部が検出すると、そのときの
光源発光時間を光源における最良の発光時間として初期
設定することができるから、つまり制御部の制御で自動
的に初期設定することができるから、厄介で煩わしい設
定作業から解放される効果がある。
As described above, according to the present invention, a recording medium on which information is recorded in a predetermined pattern,
The light source is turned on for a desired time by the control signal from the control unit, and at that time, the alignment pattern obtained from the read signal output from the light receiving unit on which light from the light source is incident is compared with the preset alignment pattern. The lighting operation time is repeatedly changed under the control of the control unit until the difference between the two is less than a certain value, and when the control unit detects that the deviation is less than the predetermined value, the light source at that time is calculated. Since the light emission time can be initialized as the best light emission time in the light source, that is, the light emission time can be automatically initialized by the control of the control unit, there is an effect that the troublesome and troublesome setting work is released.

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

【図1】この発明にかかるバーコードリーダの光源調整
装置を示す構成図。
FIG. 1 is a configuration diagram showing a light source adjustment device of a bar code reader according to the present invention.

【図2】この発明にかかるバーコードリーダの光源調整
方法を示すフローチャート。
FIG. 2 is a flowchart showing a light source adjustment method for a barcode reader according to the present invention.

【図3】従来例を示す概略構成図。FIG. 3 is a schematic configuration diagram showing a conventional example.

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

1 制御部 2(2A・2B) トランジスタ 4 受光部 7(7A・7B) 光源(LED) 8 テストパターン 1 Control unit 2 (2A · 2B) Transistor 4 Light receiving unit 7 (7A · 7B) Light source (LED) 8 Test pattern

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 バーコードシンボルに向けて光源から読
取光を出射し、前記バーコードシンボルに記録した情報
を光学的に読取るバーコードリーダにおいて、 所定のパターンで情報が記録された記録媒体に光源から
の光を出射させ、 これを入射した受光部から出力される信号により得られ
る配向パターンと予め設定された設定配向パターンとを
比較・演算し、 これら双方のずれが一定値以下に収まるときの光源発光
時間を前記光源における最良の発光時間として初期設定
する、 ことを特徴とするバーコードリーダの光源調整方法。
1. A bar code reader which emits reading light from a light source toward a bar code symbol and optically reads information recorded on the bar code symbol, wherein the light source is on a recording medium on which information is recorded in a predetermined pattern. When the deviation between the two is less than a certain value, the alignment pattern obtained by the signal output from the light receiving unit that emits this light is compared and calculated. A light source adjustment method for a bar code reader, wherein a light source light emission time is initially set as a best light emission time of the light source.
JP7178280A 1995-06-21 1995-06-21 Light source adjustment method for barcode reader Pending JPH096890A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7178280A JPH096890A (en) 1995-06-21 1995-06-21 Light source adjustment method for barcode reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7178280A JPH096890A (en) 1995-06-21 1995-06-21 Light source adjustment method for barcode reader

Publications (1)

Publication Number Publication Date
JPH096890A true JPH096890A (en) 1997-01-10

Family

ID=16045715

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7178280A Pending JPH096890A (en) 1995-06-21 1995-06-21 Light source adjustment method for barcode reader

Country Status (1)

Country Link
JP (1) JPH096890A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015130032A (en) * 2014-01-07 2015-07-16 Necプラットフォームズ株式会社 Code reading apparatus, code reading method, and code reading program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015130032A (en) * 2014-01-07 2015-07-16 Necプラットフォームズ株式会社 Code reading apparatus, code reading method, and code reading program

Similar Documents

Publication Publication Date Title
US6010070A (en) Code reading device and method with variable light signal storage time
JPS61190673A (en) Optical information reading device
EP0606736A2 (en) A color image scanner having multiple LEDs and color image scanning method thereof
ATE542187T1 (en) HAND-HOLD IMAGING BASED BAR CODE SYMBOL READER SUPPORTING NARROW FIELD AND WIDE FIELD ILLUMINATION TYPES AND IMAGE CAPTURE
US6095417A (en) Apparatus and method for reading bar codes on a moving web
US5014332A (en) Image reader
US7064311B2 (en) Optical image detector and method for controlling illumination of the same
US5352879A (en) DX bar code reader
US20020139918A1 (en) Photo image detector and method of controlling luminous intensity therefor
CA2074653C (en) Bar code reader
JP2885361B2 (en) Information reading device
JP4094076B2 (en) Color sensor
JPH10108014A (en) Color image reader
JP2001309393A (en) Imaging device
KR960028784A (en) Component recognition lighting device with automatic brightness adjustment
JPS63247872A (en) Original reading device
JP3518014B2 (en) Barcode reader
JPH0730398A (en) Photo sensor circuit for medium detection
JPH0896068A (en) Information reader
JP2681388B2 (en) Automatic white balance adjustment device
JPH05145975A (en) Remote control transmitter
JPH076197A (en) Optical reader
JP2000312275A (en) Image reading device, image reading method, and storage medium
JP2961268B2 (en) Barcode reader
JPH0234081A (en) Picture reader