JPS62280978A - Bar code detecting device - Google Patents

Bar code detecting device

Info

Publication number
JPS62280978A
JPS62280978A JP61123942A JP12394286A JPS62280978A JP S62280978 A JPS62280978 A JP S62280978A JP 61123942 A JP61123942 A JP 61123942A JP 12394286 A JP12394286 A JP 12394286A JP S62280978 A JPS62280978 A JP S62280978A
Authority
JP
Japan
Prior art keywords
barcode
bar code
distance
image sensor
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.)
Pending
Application number
JP61123942A
Other languages
Japanese (ja)
Inventor
Naotsugu Tokumura
徳村 直継
Seiichiro Tamai
誠一郎 玉井
Keiichi Kobayashi
圭一 小林
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP61123942A priority Critical patent/JPS62280978A/en
Publication of JPS62280978A publication Critical patent/JPS62280978A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To stably detect a bar code even if a bar code detection distance varies by permitting an automatic focussing means to adjust a distance between a light converging means and an image sensor and forming the image of reflected light from the bar code on an image sensor. CONSTITUTION:Assuming that the bar code 2 lies in a position (distance from the light converging means 3) X 240mm, the distance (y) between the image sensor 4 and the light converging means 3 is set to 34.0mm. Since the field depth (x) equals 240+ or -30mm (A'), the bar code can be detected. If the bar code is shifted to a position x=58mm (B), it is out of the field depth A, and therefore the bar code 2 cannot be detected. However, a distance measuring part detects the position of the bar code 2, and shifts the position of the light converging means 3, thereby y=46.5mm can be obtained. The field depth changes to x=128+ or -30mm (B'), and the bar code can be detected.

Description

【発明の詳細な説明】 3、発明の詳細な説明 産業上の利用分野 本発明は、pos・物流・生産管理等で利用されるバー
コード検出装置に関するものである。
Detailed Description of the Invention 3. Detailed Description of the Invention Field of Industrial Application The present invention relates to a barcode detection device used in POS, logistics, production management, etc.

従来の技術 従来のこの種のバーコード検出装置においては、第3図
に示すように、照明手段31により、バーコード32を
照明し、バーコード32からの反射光を集光手段33を
介してイメージセンサ34上に集光し、イメージセンサ
34の出力である受光信号を、受光信号処理回路36に
よってノイズ成分を除去したり、2値化し、その出力を
マイクロコンピュータ36に取込み、デコードしていた
2. Description of the Related Art In a conventional barcode detection device of this type, as shown in FIG. The light is focused on the image sensor 34, and the received light signal, which is the output of the image sensor 34, is subjected to noise component removal and binarization by the received light signal processing circuit 36, and the output is taken into the microcomputer 36 and decoded. .

発明が解決しようとする問題点 しかし、バーコード32とバーコード検出装置との距離
(以後、検出距離と呼ぶ)は、前記集光手段33の被写
界深度から、固定的な領域に限定されていた。
Problems to be Solved by the Invention However, the distance between the barcode 32 and the barcode detection device (hereinafter referred to as detection distance) is limited to a fixed area due to the depth of field of the light condensing means 33. was.

その為、バーコード検出を行う際には、バーコードラベ
ルを前記固定領域内に持1てくる必要があった。例えば
、コンベアの上を流れる品物に貼られたバーコードを検
出する場合、バーコードが前記領域内に入るように、コ
ンベア上で位置決めをしなければならなかった。また品
物の種類が変化して、バーコードを前記領域内に位置さ
せることができない場合には、前記集光手段33を適轟
なものに交換しなければならなかった。生産性の向上と
いう目的で、パーコードンステムを用いる上で、前記位
置決めの設備が必要なことや、フレキシブル生産におい
て、前記集光手段33の交換やそれに伴う調整が必要な
ことは問題であった。
Therefore, when detecting a barcode, it is necessary to bring the barcode label within the fixed area. For example, when detecting a barcode affixed to an item flowing on a conveyor, the barcode had to be positioned on the conveyor so that it fell within the area. Furthermore, if the type of item changes and the barcode cannot be positioned within the area, the light condensing means 33 must be replaced with a more suitable one. When using a parcordon stem for the purpose of improving productivity, there are problems in that the above-mentioned positioning equipment is required, and in flexible production, the above-mentioned light condensing means 33 needs to be replaced and adjustments are made accordingly. .

問題点を解決するための手段 本発明は、上記問題点を解決するためのバーコードを照
明するための照明手段と、前記バーコードからの反射光
を集光するための集光手段と、イメージセンサと、前記
集光手段と前記イメージセンサとの距離を調節して、前
記バーコードからの反射光を前記イメージセンサ上に結
像する自動焦点調整手段を具備してなるものである。
Means for Solving the Problems The present invention solves the above problems by providing an illumination means for illuminating a barcode, a condensing means for condensing light reflected from the barcode, and an image The apparatus includes a sensor, and automatic focus adjustment means for adjusting the distance between the light condensing means and the image sensor and focusing the reflected light from the barcode on the image sensor.

作用 上記構成により、バーコードの検出距離が変化しても、
自動焦点調整手段により集光手段とイメージセンサとの
距離を調節してバーコードからの反射光をイメージセン
サ上に結像する。
Effect With the above configuration, even if the barcode detection distance changes,
The automatic focus adjustment means adjusts the distance between the condensing means and the image sensor to form an image of the reflected light from the barcode on the image sensor.

実施例 第1図は、本発明のバーコード検出装置の一実施例を示
すものである。照明手段1から出た光は、バーコード2
に反射し、この反射光は集光手段3を介してイメージセ
ンサ4上に結像される。この受光信号は、受光信号処理
回路5によりバー巾信号に変換され、マイクロコンピュ
ータ6によってデコード処理される。本実施例において
は、照明手段1として100Wのハロゲンランプ、集光
手段3として焦点距離f=30朋、有効径D=11咽の
3枚組合せレンズ、イメーセンサ4としては、2 o 
4s bitのC0D−次元センナを用いた。
Embodiment FIG. 1 shows an embodiment of the barcode detection device of the present invention. The light emitted from the illumination means 1 is the barcode 2
This reflected light is imaged on the image sensor 4 via the condensing means 3. This light reception signal is converted into a bar width signal by the light reception signal processing circuit 5, and decoded by the microcomputer 6. In this embodiment, the illumination means 1 is a 100 W halogen lamp, the condensing means 3 is a three-piece combination lens with a focal length f = 30 mm and an effective diameter D = 11 mm, and the image sensor 4 is a 2 o
A 4s bit C0D-dimensional sensor was used.

自動焦点調整手段7はバーコード2の位置を検出する測
距部8と集光手段駆動部9とから構成されている。前記
測距部8では、波長λ=880nm。
The automatic focus adjustment means 7 is composed of a distance measuring section 8 that detects the position of the barcode 2 and a focusing means driving section 9. In the distance measuring section 8, the wavelength λ=880 nm.

出力Po=smWの赤外!、KD10の光を、焦点距離
f=20rtanの投光レンズ11で集光し、前記バー
コード2を照射し、この反射光を焦点距離f=20mの
受光レンズ12を介して、受光面の長さが10mの一次
元PSD13上に結像している。
Infrared output Po=smW! , KD10 is condensed by a light projecting lens 11 with a focal length f = 20 rtan, irradiates the barcode 2, and the reflected light is passed through a light receiving lens 12 with a focal length f = 20 m to a light receiving surface with a length of the light receiving surface. The image is formed on a one-dimensional PSD 13 with a length of 10 m.

前記バーコード上に照射された前記赤外LED10のス
ポット光は、バーコード2との距離に対応して、PSD
13上に結像するので、PSD出力電流から、三角測量
の原理で測距信号処理回路14より距離情報を得ること
ができる。前記集光手段駆動部9は、集光手段駆動回路
15と、パルスモータ及びスライドユニットとから構成
された集光手段駆動機構部16とからなり、本実施例で
は、スライド可動巾13ffil++、可動速度30m
m/ S6C+最小位置決め精度0.5mのものを採用
した。前記マイクロコンピュータ6は、測距部8からの
距離情報をもとに、バーコード2が集光手段3の被写界
深度に入るように、集光手段3の繰り出し量を計算し、
集光手段駆動機構部1らに移動方向信号と、移動量を示
すパルス信号とを送り、集光手段3を移動させる。従っ
て、バーコード2は常に集光手段3の被写界深度内に入
る。
The spot light of the infrared LED 10 irradiated onto the barcode is irradiated onto the PSD in accordance with the distance from the barcode 2.
Since the image is formed on the PSD output current, distance information can be obtained from the distance measurement signal processing circuit 14 based on the principle of triangulation. The condensing means driving section 9 includes a condensing means driving circuit 15 and a condensing means driving mechanism section 16 composed of a pulse motor and a slide unit. 30m
m/ S6C + minimum positioning accuracy of 0.5 m was adopted. The microcomputer 6 calculates the amount of extension of the condensing means 3 based on the distance information from the distance measuring section 8 so that the barcode 2 enters the depth of field of the condensing means 3,
A moving direction signal and a pulse signal indicating the amount of movement are sent to the condensing means driving mechanism 1 and the like to move the condensing means 3. Therefore, the barcode 2 always falls within the depth of field of the light collecting means 3.

第2図に、バーコード検出距離が変化した時の、動作例
を示す。まず第2図aではバーコード2が集光手段3か
らの距離(以後rx」で示す)240頭の位置内にある
とする。この時、イメージセンサ4と集光手段3との距
離(以後「y」で示す)は34.0mmに設定されてい
る。被写界深度はX=240±30圏(A′)であるの
で、バーコードは検出可能である。次に、バーコードが
x==58++o++の位置(B)に変化したとする。
FIG. 2 shows an example of operation when the barcode detection distance changes. First, in FIG. 2a, it is assumed that the barcode 2 is located within a distance of 240 animals (hereinafter referred to as "rx") from the condensing means 3. At this time, the distance (hereinafter referred to as "y") between the image sensor 4 and the condensing means 3 is set to 34.0 mm. Since the depth of field is X=240±30 area (A'), the barcode can be detected. Next, assume that the barcode changes to position (B) at x==58++o++.

これは、第2図乙の時の被写界深度A′外にあるので、
第2図乙の状態ではバーコード2を検出することができ
ない。従って、従来例のようにイメージセンサ4と集光
手段3の位置が固定で、被写界深度が一定のバーコード
検出装置では検出不可能である。しかし、本実施例では
、測距部8がバーコード2の位置を検出し、集光手段3
の位置を移動させる。その結果、7=46.5mとなり
、被写界深度もx=128±3o ran (B’)と
変化する。従って、バーコード検出が可能となる。本実
施例においては、検出距離X=98〜27ommの範囲
で、バーコード検出が可能であった。
This is outside the depth of field A' at point B in Figure 2, so
Barcode 2 cannot be detected in the state shown in Figure 2B. Therefore, it cannot be detected by a conventional barcode detection device in which the positions of the image sensor 4 and the condensing means 3 are fixed and the depth of field is constant. However, in this embodiment, the distance measuring section 8 detects the position of the barcode 2, and the focusing means 3
Move the position of. As a result, 7=46.5 m, and the depth of field also changes to x=128±3o ran (B'). Therefore, barcode detection becomes possible. In this example, barcode detection was possible within the range of detection distance X=98 to 27 om.

本実施例においては、自動焦点調整手段7として、集光
手段3を移動させるものについて説明したが、イメージ
センサ4を移動させるものでも同様の効果が得られる。
In this embodiment, the automatic focus adjustment means 7 that moves the condensing means 3 has been described, but the same effect can be obtained by moving the image sensor 4.

また、自動焦点調整方式としても、上記した測距方式だ
けでなく、ピント検出方式などを利用しても有効である
Furthermore, as an automatic focus adjustment method, it is effective to use not only the distance measurement method described above but also a focus detection method.

発明の効果 以上のように本発明によれば、バーコード検出距離が変
化しても、安定してバーコードの検出が可能なので、多
品種少量生産における工程管理等にきわめて有用である
Effects of the Invention As described above, according to the present invention, it is possible to stably detect a barcode even if the barcode detection distance changes, so it is extremely useful for process control in high-mix, low-volume production.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の一実施例を示すバーコード検出装置の
ブロック構成図、第2図は同装置におけるバーコード検
出距離が変化した場合の動作例を示す要部平面図、第3
図は従来のバーコード検出装置のブロック構成図である
。 1・・・・・・照明手段、2・・・・・・バーコード、
3・・・・・・集光手段、4・・・・・・イメージセン
サ、6・・・・・・マイクロコンピュータ、7・・・・
・・自動焦点調整手段、8・・・・・・測距部、9・・
・・・集光手段駆動部、15・・・・・・集光手段駆動
回路、16・・・・・集光手段駆動機構部。 第1図 第 2 図 ■ (α)(b) 第3図 32バ一コード
FIG. 1 is a block configuration diagram of a barcode detection device showing an embodiment of the present invention, FIG. 2 is a plan view of essential parts showing an example of the operation when the barcode detection distance of the device changes,
The figure is a block diagram of a conventional barcode detection device. 1...Lighting means, 2...Barcode,
3... Light collecting means, 4... Image sensor, 6... Microcomputer, 7...
...Automatic focus adjustment means, 8...Distance measuring section, 9...
. . . Concentrating means driving section, 15 . . . Concentrating means driving circuit, 16 . . . Concentrating means driving mechanism section. Figure 1 Figure 2 ■ (α) (b) Figure 3 32 barcode

Claims (2)

【特許請求の範囲】[Claims] (1)バーコードを照明するための照明手段と、前記バ
ーコードからの反射光を集光するための集光手段と、イ
メージセンサと、前記集光手段と前記イメージセンサと
の距離を調節して、前記バーコードからの反射光を前記
イメージセンサ上に結像する自動焦点調整手段を具備し
たバーコード検出装置。
(1) An illumination means for illuminating the barcode, a condensing means for concentrating reflected light from the barcode, an image sensor, and a distance between the condensing means and the image sensor is adjusted. A barcode detection device comprising automatic focus adjustment means for forming an image of reflected light from the barcode on the image sensor.
(2)自動焦点調整手段はバーコードの位置を検出する
測距部と、前記測距部からの距離情報によりマイクロコ
ンピュータを介して集光手段を移動させる集光手段駆動
部を具備した特許請求の範囲第1項記載のバーコード検
出装置。
(2) A patent claim in which the automatic focus adjustment means includes a distance measuring section that detects the position of the barcode, and a focusing means driving section that moves the focusing means via a microcomputer based on distance information from the distance measuring section. The barcode detection device according to item 1.
JP61123942A 1986-05-29 1986-05-29 Bar code detecting device Pending JPS62280978A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61123942A JPS62280978A (en) 1986-05-29 1986-05-29 Bar code detecting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61123942A JPS62280978A (en) 1986-05-29 1986-05-29 Bar code detecting device

Publications (1)

Publication Number Publication Date
JPS62280978A true JPS62280978A (en) 1987-12-05

Family

ID=14873163

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61123942A Pending JPS62280978A (en) 1986-05-29 1986-05-29 Bar code detecting device

Country Status (1)

Country Link
JP (1) JPS62280978A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01175686A (en) * 1987-12-29 1989-07-12 Matsushita Electric Ind Co Ltd Bar code reader
JPH02278483A (en) * 1989-04-20 1990-11-14 Pfu Ltd Bar code reader with gap adjusting mechanism

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01175686A (en) * 1987-12-29 1989-07-12 Matsushita Electric Ind Co Ltd Bar code reader
JPH02278483A (en) * 1989-04-20 1990-11-14 Pfu Ltd Bar code reader with gap adjusting mechanism

Similar Documents

Publication Publication Date Title
JPS6383886A (en) Bar code detector
US7548274B2 (en) Coplanar camera scanning system
JP2003528410A (en) Coplanar camera scanning system
JPS59164973A (en) Pair type measuring head for robot
JPH11326040A (en) Sensor having wide divergence optical system and detector
JPS62280978A (en) Bar code detecting device
JPS5979805A (en) Distance sensor
WO2002093567A3 (en) Focus error correction method and apparatus
JPS6391791A (en) Bar code detecting device
JP2002340711A (en) Wire electrode tension sensor and wire discharge machine
JP2633718B2 (en) Shape recognition device
JPS6379342A (en) Alignment apparatus
JPS633204A (en) Optical detector
JPS59164910A (en) Distance measuring apparatus
JP3092328B2 (en) Light source module, optical mark reader and optical sensor device equipped with the module
JPS6180212A (en) Automatic focus detecting mechanism
JPH10153405A (en) Measuring device and measuring method
JPS61283805A (en) Apparatus for detecting two-dimensional position
JP4142596B2 (en) Optical distance sensor
JPH07280554A (en) Object image fixing apparatus
JPH07110234A (en) Distance detection
JP3810154B2 (en) Optical symbol reader
JPS57100742A (en) Measuring and recording device
JPH10335431A (en) Wafer carrying device
JPS62261910A (en) Displacement measuring instrument