JPH03129587A - Article detector - Google Patents

Article detector

Info

Publication number
JPH03129587A
JPH03129587A JP1268418A JP26841889A JPH03129587A JP H03129587 A JPH03129587 A JP H03129587A JP 1268418 A JP1268418 A JP 1268418A JP 26841889 A JP26841889 A JP 26841889A JP H03129587 A JPH03129587 A JP H03129587A
Authority
JP
Japan
Prior art keywords
article
light
reflected light
sample
output
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
JP1268418A
Other languages
Japanese (ja)
Inventor
Shinichi Sato
伸一 佐藤
Takeshi Ishii
石井 彪
Tamotsu Takahashi
保 高橋
Yoshihiro Oyama
大山 吉博
Tatsuo Sasaki
笹木 達男
Mitsuo Watanabe
光雄 渡辺
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.)
Nidec Copal Corp
Fujitsu Ltd
Original Assignee
Nidec Copal Corp
Fujitsu 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 Nidec Copal Corp, Fujitsu Ltd filed Critical Nidec Copal Corp
Priority to JP1268418A priority Critical patent/JPH03129587A/en
Priority to DE69021495T priority patent/DE69021495T2/en
Priority to US07/598,162 priority patent/US5095203A/en
Priority to EP90311327A priority patent/EP0424097B1/en
Priority to KR1019900016449A priority patent/KR930006797B1/en
Publication of JPH03129587A publication Critical patent/JPH03129587A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To accurately detect an article by subtracting the lower limit level of a previously obtained background from the quantity of reflected light, regarding less than the lower limit level as a fixed level having no change in the quantity of light to detect the article based on the change in the light quantity. CONSTITUTION:Although the characteristics of OPQ is conventionally plotted as to the relation between a distance L from an article detector and the output of reflected light, the reflection level Vth of the background with a fixed distance L1 is subtracted from the quantity of reflected light and the characteristics of O'P'Q' i.e. less than the lower limit level Vth of an original signal, is regarded as the same P'Q' level. Namely reflected light more than the distance L1 including the background is ignored. Thereby a change in the quantity of reflected light due to the rapid movement of the background can be prevented from being detected as an article and the article can be accurately detected.

Description

【発明の詳細な説明】 〔目次〕 概要 産業上の利用分野 従来の技術(第6図) 発明が解決しようとする課題 課題を解決するための手段(第1図) 作用 実施例 (a)  一実施例の説明(第2図乃至第5図)(b)
  他の実施例の説明 発明の効果 〔概要〕 検知空間に発光部から、検知光を出射し、検知空間から
の反射光を受光部で受光して、光量変化から物品を検出
する物品検出装置に関し、背景の速い変化を物品と誤検
出しないことを目的とし、 検知空間に検知光を出射する発光部と、検知空間からの
反射光を受光し、反射光量出力を出力する受光部と、該
反射光量出力から所望の下限レベルを差し引き、差し引
いたものの光量変化を求めて、物品を検出する物品検出
部とを有する。
[Detailed description of the invention] [Table of contents] Overview Industrial field of application Prior art (Figure 6) Means for solving the problem to be solved by the invention (Figure 1) Working example (a) 1 Description of Examples (Figures 2 to 5) (b)
Description of other embodiments Effects of the invention [Summary] Regarding an article detection device that emits detection light from a light emitting part into a detection space, receives reflected light from the detection space in a light receiving part, and detects an article from a change in the amount of light. , the purpose is to prevent rapid changes in the background from being mistakenly detected as objects, and includes a light emitting section that emits detection light into the detection space, a light receiving section that receives reflected light from the detection space and outputs a reflected light amount output, and a light receiving section that outputs the amount of reflected light. and an article detection section that detects an article by subtracting a desired lower limit level from the light output and determining a change in light amount after the subtraction.

〔産業上の利用分野〕[Industrial application field]

本発明は、検知空間に発光部から検知光を出射し、検知
空間からの反射光を受光部で受光して、光量変化から物
品を検出する物品検出装置に関する。
The present invention relates to an article detection device that emits detection light from a light emitting section into a detection space, receives reflected light from the detection space at a light receiving section, and detects an article from a change in the amount of light.

バーコードを付した物品を読θ取り空間に進入させ、物
品のバーコードを読み取る定置式バーコードリーダーが
盛んに利用されている。
2. Description of the Related Art Stationary barcode readers are widely used in which barcode-attached articles are entered into a reading space and the barcodes of the articles are read.

このようなバーコードリーダーでは、常時読み取り空間
に光走査パターンを出射するのは、光源の寿命を短くし
且つ電力消費も大となる。
In such a barcode reader, constantly emitting an optical scanning pattern into the reading space shortens the life of the light source and increases power consumption.

このため、バーコードリーダーに物品検出部(装置)を
設け、物品が読み取り空間に進入してきたことを検出し
たときに、光走査パターンを出射するようにしている。
For this reason, the barcode reader is provided with an article detection section (device), and when it is detected that an article has entered the reading space, it emits an optical scanning pattern.

このような物品検出装置では、物品を反射光変化から正
確に検出することが望まれている。
In such an article detection device, it is desired to accurately detect an article from changes in reflected light.

〔従来の技術〕[Conventional technology]

第6図は従来技術の説明図である。 FIG. 6 is an explanatory diagram of the prior art.

第6図(A)に示すように、バーコードリーダーBCR
は、デスク等に固定され、物品検出部ASUとバーコー
ド読取部SCRとを有し、物品検知部ASUで所定の物
品検知空間に検知光を出射し、反射光から物品の進入を
検知すると、バーコード読取部SCRが光走査パターン
を発生し、読み取り空間に出射し、物品のバーコードか
らの反射光を受光し、解析して、バーコードを読み取る
ものである。
As shown in FIG. 6(A), the barcode reader BCR
is fixed to a desk or the like and has an article detection unit ASU and a barcode reading unit SCR, and when the article detection unit ASU emits detection light into a predetermined article detection space and detects the entry of an article from the reflected light, The barcode reading section SCR generates a light scanning pattern, emits it into the reading space, receives reflected light from the barcode of the article, analyzes it, and reads the barcode.

従来の物品検出装置は、第6図(B)に示すように、発
光部1を駆動部1aでパルス変調駆動し、パルス変調さ
れた検知光を出射する。
In the conventional article detection device, as shown in FIG. 6(B), the light emitting section 1 is driven by a driving section 1a in a pulse modulation manner, and pulse modulated detection light is emitted.

受光部2は反射光を受光し、受光出力をバイパスフィル
タ3を通して直流分をカットし、交流アンプ4で交流増
幅した後、積分回路(平滑化回路)5で平滑化し、平滑
化出力DPSを反射光強度として光量変化検出部(物品
検出部)6へ入力し、反射光量変化から物品を検出せし
めるものであった。
The light receiving section 2 receives the reflected light, passes the received light output through a bypass filter 3 to cut off the DC component, amplifies the AC with the AC amplifier 4, smoothes it with the integrating circuit (smoothing circuit) 5, and reflects the smoothed output DPS. The light intensity is inputted to a light amount change detection section (article detection section) 6, and the article is detected from the change in reflected light amount.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

ところで、このような物品検出装置は、装置と背景との
間に挿入された物品を検出するものであり、物品を検出
するための光量変化検出部6は、背景の変化が物品の挿
入による変化よりも十分遅いという事を前提に、反射光
量の時間変化率によって背景の変化と物品の変化とを差
別し、背景の変化を物品と誤検出しないようにしていた
By the way, such an article detection device detects an article inserted between the device and the background, and the light amount change detection unit 6 for detecting the article detects whether the change in the background is due to the insertion of the article. Based on the premise that the rate of change in the amount of reflected light over time is sufficiently slower than that of the object, changes in the background and changes in the object are distinguished from each other to prevent changes in the background from being mistakenly detected as objects.

しかしながら、背景がオペレータの様な変化が速い場合
には、係る差別化ができず、背景の変化を物品の挿入と
誤検出するという問題があった。
However, when the background changes rapidly, such as an operator, such differentiation cannot be made, and there is a problem in that a change in the background is mistakenly detected as insertion of an article.

従って、本発明は、背景の速い変化を物品と誤検出する
ことのない物品検出装置を提供することを目的とする。
Therefore, an object of the present invention is to provide an article detection device that does not erroneously detect a rapid change in the background as an article.

〔課題を解決するための手段〕[Means to solve the problem]

第1図は本発明の原理図である。 FIG. 1 is a diagram showing the principle of the present invention.

本発明は、第1図に示すように、検知空間に検知光を出
射する発光部1と、検知空間からの反射光を受光し、反
射光量出力を出力する受光部2と、該反射光量出力から
所望の下限レベルを差し引き、差し引いたものの光量変
化を求めて、物品を検出する物品検出部6とを有するも
のである。
As shown in FIG. 1, the present invention includes a light emitting section 1 that emits detection light into a detection space, a light receiving section 2 that receives reflected light from the detection space and outputs a reflected light amount output, and a reflected light amount output. It has an article detecting section 6 that detects an article by subtracting a desired lower limit level from the subtracted value and determining a change in the amount of light after the subtraction.

〔作用〕[Effect]

本発明は、背景の反射光量は、物品の反射光量に比し、
低レベルであるから、物品検出のための反射光量変化の
検出において、低レベルの背景の反射光量変化を無視す
ればよいという考えに基づく。
In the present invention, the amount of reflected light of the background is compared to the amount of reflected light of the article,
This is based on the idea that since the level is low, it is sufficient to ignore changes in the amount of reflected light from the background when detecting changes in the amount of reflected light for object detection.

このため、本発明では、反射光量から予じめ得た背景の
下限レベルを差し引き、下限レベル以下は光量変化のな
い一定レベルとみなして物品検出するようにした。
Therefore, in the present invention, the lower limit level of the background obtained in advance is subtracted from the amount of reflected light, and objects below the lower limit level are regarded as a constant level with no change in the amount of light, and the object is detected.

これによって、第1図(B)に示すように、物品検出装
置からの距離りと反射光出力の関係は、従来OPQの特
性を描いたものに対し、一定の距離L1の背景の反射レ
ベルvthを差し引いて、0′P’Q’の特性、即ち原
信号の下限レベルvth以下のものは同一レベルのP’
Q’のレベルにあるものとして取扱い、このことは、背
景の存する距離L1以上の反射光は無視していることに
なる。
As a result, as shown in FIG. 1(B), the relationship between the distance from the article detection device and the reflected light output is different from that of the conventional OPQ characteristic, as shown in FIG. The characteristics of 0'P'Q', that is, those below the lower limit level vth of the original signal are at the same level P'
It is treated as being at the level of Q', and this means that reflected light at a distance L1 or more where the background exists is ignored.

従って、背景の速い動きによる反射光量変化を物品とし
て検出することを防止できる。
Therefore, it is possible to prevent a change in the amount of reflected light due to rapid movement of the background from being detected as an article.

〔実施例〕〔Example〕

(a)  一実施例の説明 第2図は本発明の一実施例ブロック図、第3図はその要
部波形図である。
(a) Description of an Embodiment FIG. 2 is a block diagram of an embodiment of the present invention, and FIG. 3 is a waveform diagram of its essential parts.

図中、第1図及び第6図で示したものと同一のものは、
同一の記号で示してあり、2aは光電変換部であり、フ
ォトダイオードで構成される受光部2の反射光強度を電
気信号としてバイパスフィルタ3に出力するものである
In the figure, the same parts as shown in Figures 1 and 6 are:
They are indicated by the same symbols, and 2a is a photoelectric conversion section, which outputs the intensity of reflected light from the light receiving section 2 constituted by a photodiode to the bypass filter 3 as an electric signal.

7aは最大値サンプルホールド回路であり、交流増幅部
4の交流出力■の最大値をサンプルホールド信号CTL
 1−DLYによりサンプルホールドするものであり、
7bは最小値サンプルホールド回路であり、交流出力■
の最大値をサンプルホールド信号CTL2−DLYによ
りサンプルホールドするもの、8は差動増幅部であり、
最大値サンプルホールド出力■と最小値サンプルホール
ド出力◎との差動をとり、増幅して差動増幅出力◎を発
生するものである。
7a is a maximum value sample and hold circuit, which samples and holds the maximum value of the AC output ■ of the AC amplifier 4 as a sample and hold signal CTL.
1-DLY is used to hold the sample,
7b is a minimum value sample hold circuit, and AC output ■
8 is a differential amplification section that samples and holds the maximum value of by using sample and hold signals CTL2-DLY;
The difference between the maximum value sample hold output ■ and the minimum value sample hold output ◎ is taken and amplified to generate a differential amplified output ◎.

物品検出部(以下制御部という〉6は以下のもので構成
される。
The article detection section (hereinafter referred to as control section) 6 is composed of the following.

9はサンプルホールド部であり、差動増幅器8の差動出
力[F]をサンプルホールド信号CTL3によりサンプ
ルホールドするもの、10aは差動増幅部であり、サン
プルホールド信号■と後述する下限レベルvthO差を
とるもの、10はA/D(アナログ/デジタル)変換部
であり、差動増幅部10aの出力をデジタル値に変換す
るもの、11aは第1のレジスタであり、サンプル信号
CTL4でA/D変換部10の出力をサンプルして取り
込むもの、11bは第2のレジスタであり、サンプル信
号CTL5でA/D変換部10の出力をサンプルして取
り込むもの、12aは第1のプレイ部であり3、後述す
るCPU14からの発光駆動パルスCTLIを遅延して
サンプルホールド信号CTL 1−DLYを出力するも
の、12bは第2のプレイ部であり、CPU14からの
発光駆動パルスCTLIの反転信号CTL2を遅延して
サンプルホールド信号CTL2−DLYを出力するもの
、13はA/D変換部であり、サンプルホールド部9の
サンプルホールド出力■をデジタル値に変換して、CP
U14へ出力するものであり、後述の下限レベル調整モ
ード時に使用されるもの、14はCPU (中央演算処
理部〉であり、発光駆動パルスCTLI、その反転信号
CTL2、サンプルホールド信号CTL3、サンプル信
号CTL4、CTL5を出力し、レジスタlla、ll
bの内容を読み出し、後述する第4図の処理により反射
光量変化を演算し、物品の進入/排出検知を行うもの、
15は下限レベル調整回路であり、抵抗r2と調整抵抗
r1とを有し、調整抵抗r1を調整して下限レベルvt
hを調整するもの、16はA/D変換部であり、下限レ
ベル調整回路15の下限レベルvthをデジタル値に変
換し、cpui4に入力するのであり、調整モード時に
使用されるものである。
Reference numeral 9 denotes a sample and hold section, which samples and holds the differential output [F] of the differential amplifier 8 using the sample and hold signal CTL3, and 10a indicates a differential amplifier section, which samples and holds the differential output [F] of the differential amplifier 8 using the sample and hold signal CTL3. 10 is an A/D (analog/digital) converter that converts the output of the differential amplifier 10a into a digital value, and 11a is a first register that converts the A/D with the sample signal CTL4. 11b is a second register that samples and takes in the output of the A/D converter 10 using a sample signal CTL5; 12a is a first play part 3; , which delays a light emission drive pulse CTLI from the CPU 14 to be described later and outputs a sample hold signal CTL1-DLY. 12b is a second play section which delays an inverted signal CTL2 of the light emission drive pulse CTLI from the CPU 14. 13 is an A/D converter that converts the sample and hold output ■ of the sample and hold unit 9 into a digital value, and outputs the sample and hold signal CTL2-DLY.
14 is a CPU (central processing unit) that outputs the light emission drive pulse CTLI, its inverted signal CTL2, sample hold signal CTL3, and sample signal CTL4. , CTL5 and registers lla, ll
A device that reads the contents of b and calculates changes in the amount of reflected light through the process shown in FIG.
15 is a lower limit level adjusting circuit, which has a resistor r2 and an adjusting resistor r1, and adjusts the adjusting resistor r1 to adjust the lower limit level vt.
16 is an A/D conversion unit that adjusts h, and converts the lower limit level vth of the lower limit level adjustment circuit 15 into a digital value and inputs it to the CPU 4, and is used in the adjustment mode.

先づ、第3図により第2図の受光動作を説明する。First, the light receiving operation shown in FIG. 2 will be explained with reference to FIG.

CPU14は、発光駆動パルスCTLIを出力し、駆動
部1aより発光部(LED)1をパルス変調発光させる
The CPU 14 outputs a light emission drive pulse CTLI, and causes the light emitting unit (LED) 1 to emit pulse modulated light from the drive unit 1a.

変調反射光は受光部2で受光され、光電変換部2aで電
気信号に変換され、バイパスフィルタ3で直流分がカッ
トされ、交流増幅部4で交流増幅され、交流出力■とな
る。
The modulated reflected light is received by the light receiving section 2, converted into an electrical signal by the photoelectric conversion section 2a, the DC component is cut by the bypass filter 3, and the AC amplified by the AC amplification section 4, resulting in an AC output (2).

発光駆動パルスCTL 1は第1のプレイ部12aで遅
延され、サンプルホールド信号CTL 1−DLYを作
成する。
The light emission drive pulse CTL 1 is delayed by the first play section 12a to create a sample hold signal CTL 1-DLY.

このサンプルホールド信号CTL 1−DLYは、発光
光と同期しており、発光光による反射光が最大となる時
間に発生するよう作成される。
This sample and hold signal CTL 1-DLY is synchronized with the emitted light and is generated so as to occur at the time when the reflected light from the emitted light is at its maximum.

同様に、CPU14から与えられる発光駆動パルスの反
転信号CTL2は、第2のプレイ部12bで遅延され、
サンプルホールド信号CTL 2−DLYを作成する。
Similarly, the inversion signal CTL2 of the light emission drive pulse given from the CPU 14 is delayed by the second play section 12b,
Create sample hold signal CTL 2-DLY.

このサンプルホールド信号CTL2−DLYは、反転信
号CTL2と同期しており、反射光が最小となる時間に
発生するよう作成される。
This sample hold signal CTL2-DLY is synchronized with the inverted signal CTL2, and is generated so as to occur at the time when the reflected light is at its minimum.

従って、最大値サンプルホールド部7aは、サンプルホ
ールド信号CTL 1−DLYによって交流出力■の最
大値をホールドし1.ホールド出力■を出力し、最小値
サンプルホールド部7bは、サンプルホールド信号CT
L2−DLYによって交流出力■の最小値をホールドし
、ホールド出力■を出力する。
Therefore, the maximum value sample and hold section 7a holds the maximum value of the AC output (1) using the sample and hold signal CTL1-DLY. The minimum value sample and hold section 7b outputs a hold output ■, and the minimum value sample and hold section 7b outputs a sample and hold signal CT.
The minimum value of AC output ■ is held by L2-DLY, and hold output ■ is output.

差動増幅部8は、両ホールド出力■、■の差動をとり、
増幅し、差動増幅出力■を出力する。
The differential amplifier section 8 takes the differential of both hold outputs ■ and ■,
Amplify and output differential amplified output ■.

従って、差動増幅出力のは、交流信号のpeak to
 peakを検出することになり、信号検出精度をS/
N比を劣化させずに向上させることができ、精度良い反
射光強度が得られる。
Therefore, the differential amplification output is the peak to
peak is detected, and the signal detection accuracy is reduced to S/
The N ratio can be improved without deteriorating, and reflected light intensity with high accuracy can be obtained.

差動増幅出力のは、サンプルホールド部9でサンプルホ
ールドされ、サンプルホールド出力■を出力し、差動増
幅部10aでサンプルホールド出力Oから下限レベルv
thが差し引かれた後A/D変換部10へ出力される。
The differential amplification output is sampled and held in the sample and hold section 9, outputs a sample and hold output ■, and is changed from the sample and hold output O to the lower limit level v in the differential amplification section 10a.
After th is subtracted, the signal is output to the A/D converter 10.

A/D変換部10では、差動増幅部10aの出力をデジ
タル値に変換し、レジスタlla、11bに出力する。
The A/D converter 10 converts the output of the differential amplifier 10a into a digital value and outputs it to registers lla and 11b.

次に、下限レベルvthの調整について説明する。Next, adjustment of the lower limit level vth will be explained.

先づ、CPUI 4に調整モードが指示されると、前述
のように発光部1をパルス発光させる。
First, when the adjustment mode is instructed to the CPU 4, the light emitting section 1 emits pulse light as described above.

この状態で、装置の背景となる位置(例えば、装置から
距離Ll−40(Jlの所)に、基準反射率(例えば、
反射率30%)の反射面を設け、受光部2で反射光を受
光させる。
In this state, the reference reflectance (for example,
A reflective surface with a reflectance of 30% is provided, and the light receiving section 2 receives the reflected light.

CPUI 4は、サンプルホールド部9の出力■をA/
D変換するA/D変換部13の出力を取り込み、図示し
ない表示部に表示する。
The CPUI 4 converts the output ■ of the sample hold section 9 into A/
The output of the A/D conversion section 13 that performs D conversion is taken in and displayed on a display section (not shown).

この表示を見て、調整者は、下限レベル調整回路15の
調整抵抗r1をボリューム操作し、下限レベルvthを
変える。
Seeing this display, the adjuster operates the adjustment resistor r1 of the lower limit level adjustment circuit 15 to change the lower limit level vth.

下限レベル調整回路15の下限レベルvthはA/D変
換部16よりCPUI 4に取り込まれ、表示部に表示
される。
The lower limit level vth of the lower limit level adjustment circuit 15 is taken into the CPUI 4 from the A/D converter 16 and displayed on the display section.

従って、調整者は、表示部のA/D変換部13の出力で
ある測定レベルに、表示部の調整下限レベルが合うよう
に、調整抵抗r!をボリューム調整し、調整モードを終
了とする。
Therefore, the adjuster must adjust the adjustment resistor r! so that the lower limit level of adjustment of the display unit matches the measurement level that is the output of the A/D converter 13 of the display unit. Adjust the volume and exit adjustment mode.

このようにして調整された下限レベルvthは、第1図
(B)のように、基準の背景の反射光レベルであり、差
動増幅部10aに出力される。
The lower limit level vth thus adjusted is the reference background reflected light level, as shown in FIG. 1(B), and is output to the differential amplification section 10a.

このようにして得た反射光強度を用いて物品を検知する
動作について第4図及び第5図により説明する。
The operation of detecting an article using the reflected light intensity obtained in this way will be explained with reference to FIGS. 4 and 5.

第4図は本発明の一実施例物品検出処理フロー図、第5
図はその動作説明図である。
FIG. 4 is a flowchart of article detection processing according to an embodiment of the present invention;
The figure is an explanatory diagram of the operation.

尚、CPUI 4は、予め定めた物品進入検知用しきい
値Vthxと、物品排出検知用しきい値vth2と、進
入サンプル回数01と、排出サンプル回数C2とを内蔵
するメモリに格納しているものとする。
It should be noted that the CPU 4 stores a predetermined threshold value Vthx for detecting article entry, threshold value Vth2 for detecting article ejection, the number of entry samples 01, and the number C2 of ejected samples in a built-in memory. shall be.

■ CPU14は、先づ各部をイニシャライズする。■ The CPU 14 first initializes each part.

■ 次に、CPU14は、M2サンプル数01をrOJ
にリセットし、レジスタllaにサンプル指示(Mlサ
ンプルという) M 1 (CTL 4)を与え、A/
D変換部10の出力をレジスタ11aに取り込む。
■ Next, the CPU 14 sets the number of M2 samples 01 to rOJ
, give a sample instruction (referred to as Ml sample) M 1 (CTL 4) to register lla, and
The output of the D converter 10 is taken into the register 11a.

■ 次に、CPU14は、レジスタllbにサンプル指
示(M2サンプルという)M2 (CTL5)を与え、
A/D変換部10の出力をレジスタllbに取り込む。
■ Next, the CPU 14 gives a sample instruction (referred to as M2 sample) M2 (CTL5) to register llb,
The output of the A/D converter 10 is taken into register llb.

そして、CPU14は、レジスタlla、11bのサン
プルデータMl、M2を読み込み、(Ml−M2)の演
算をし、更に(Ml−M2)の絶対値であるIMI−M
21を求め、進入検知用しきい値Vth1と比較する。
Then, the CPU 14 reads the sample data Ml and M2 in registers lla and 11b, calculates (Ml-M2), and further calculates IMI-M which is the absolute value of (Ml-M2).
21 is calculated and compared with the entry detection threshold value Vth1.

■ ステップ■で、比較結果により、CPU14は、l
 Ml−M21 >Vthsでないと判断すると、CP
UI 4は物品進入検知でないと判定し、M2サンプル
数01を(C1+1)に更新する。
■ In step ■, based on the comparison result, the CPU 14
If it is determined that Ml-M21 is not >Vths, CP
The UI 4 determines that the object entry is not detected, and updates the M2 sample number 01 to (C1+1).

そして、CPU14は、更新されたM2サンプル数01
が所定値X1に達したかを調べ、C1−Xlでなければ
、ステップ■に戻り、C1=X1であれば、ステップ■
に戻る。
Then, the CPU 14 updates the updated M2 sample number 01.
Check to see if has reached a predetermined value X1, and if not C1-Xl, return to step ■; if C1=X1, proceed to step ■
Return to

■ 一方、ステップ■で、比較結果により、絶対値IM
I−M2 l>Vthtと判断すると、cpU14は物
品進入検知と判断し、物品有り処理を行う。
■ On the other hand, in step ■, based on the comparison result, the absolute value IM
If it is determined that I-M2 l>Vtht, the CPU 14 determines that an article has been detected and performs article presence processing.

例えば前述のバーコードリーダーの例ではバーコード読
取部SCRを起動する。
For example, in the example of the barcode reader mentioned above, the barcode reading section SCR is activated.

■ 次にCPUI 4は、レジスタllbにM2サンプ
ルせしめ、A/D変換部10の出力をレジスタllbに
取り込む。
(2) Next, the CPU 4 stores M2 samples in the register llb, and takes in the output of the A/D converter 10 into the register llb.

そして、CPU14は、レジスタlla、11bのサン
プルデータM1、M2を読み込み、(Ml−’M2)の
演算をし、更に(Ml−M2)の絶対値であるIMI−
Ml1を求め、排出検知用しきい値Vth*と比較する
Then, the CPU 14 reads the sample data M1 and M2 in registers lla and 11b, calculates (Ml-'M2), and further calculates IMI-' which is the absolute value of (Ml-M2).
Ml1 is determined and compared with the discharge detection threshold Vth*.

■ ステップ■で、比較結果により、IMI−Ml1<
Vth!でなければ、物品は読み取り空間にあると判断
する。
■ In step ■, depending on the comparison result, IMI-Ml1<
Vth! Otherwise, it is determined that the object is in the reading space.

即ち、レジスタllaのサンプル値M1は、ステップ■
のように、物品無しの背景レベルのものであったので、
レジスタllbのサンプル値M2がそれに落ちないと、
物品無しとは検出されず、しきい値vth以上なら未だ
物品は読み取り空間にあると判断される。
That is, the sample value M1 of register lla is
As it was a background level thing without goods,
If the sample value M2 of register llb does not fall to it, then
It is not detected that the article is absent, and if the value is equal to or higher than the threshold value vth, it is determined that the article is still in the reading space.

そして、CPU14は、M2カウント数02を(C2+
1)と更新し、更新したM2カウント数C2を予定数X
2と比較する。
Then, the CPU 14 sets the M2 count number 02 to (C2+
1) and update the updated M2 count number C2 as the planned number
Compare with 2.

M2カウント数02が予定数x2に達していなければ、
ステップ■に戻り、予定数X2に達していれば、物品は
有るが、動かない状態にあるとして、ステップ■の物品
無しとしてしまう。
If the M2 count number 02 does not reach the planned number x2,
Returning to step (2), if the planned number X2 has been reached, it is assumed that there are articles but they are not moving, and step (2) is determined to be absent.

■ ステップ■で、CPU14は、IMI−Ml1<V
thtであればレジスタllbのサンプル(直M2が背
景レベルに落ちたとし、物品無しと判定し、M2カウン
ト数02を零にして、ステップ■へ戻る。
■ In step ■, the CPU 14 performs IMI-Ml1<V
If it is tht, it is assumed that the sample (direction M2) in register llb has fallen to the background level, it is determined that there is no article, the M2 count number 02 is set to zero, and the process returns to step (3).

このようにして、第5図のように、レジスタ1ibをレ
ジスタllaより短い周期でサンプルし、両レジスタl
la、llbの差(Ml−M2)をとることによりレジ
スタllaの背景レベルに対する変化を検出することが
できる。
In this way, as shown in FIG. 5, register 1ib is sampled at a shorter period than register lla, and both registers l
By taking the difference (Ml-M2) between la and llb, a change in register lla relative to the background level can be detected.

そして、その差を絶対値化して、しきい値と比較するこ
とにより、背景レベルの変化をノイズとして拾わず、誤
検出を避けることができる。
By converting the difference into an absolute value and comparing it with a threshold value, changes in the background level are not picked up as noise and false detection can be avoided.

このM1サンプルの周期は、物品無しの状態では、ステ
ップ■の「Xl」であり一定であるが、物品検出される
と、ステップ■の物品無し検出まで又はステップ■の「
Xl」の可変となる。
The period of this M1 sample is constant at "Xl" in step (2) when there is no article, but when the article is detected, it is until no article is detected in step (2) or "Xl" in step (2).
Xl" is variable.

又、この実施例では、2つのしきい値vtht、Vth
2を用いて、物品の進入と排出が検知でき、便利である
Further, in this embodiment, two threshold values vtht, Vth
2 can be used to conveniently detect the entry and exit of articles.

更に、一定時間X2物品有りと判定すると、物品が動か
ないものとして物品無しの処理をするので、無駄に物品
無しとなるまで処理を繰返すことがない。
Furthermore, if it is determined that the article is present for a certain period of time X2, it is assumed that the article does not move and a process is performed to determine that the article is absent, so that the process is not wasted and repeated until the article is found to be absent.

Qll)  他の実施例の説明 上述の実施例では、バーコードリーダーへノ適用を例に
説明しだか、他のものに適用することもできる。
Qll) Description of Other Embodiments In the above-described embodiments, the application to a barcode reader is explained as an example, but it can also be applied to other embodiments.

又、レジスタlla、llbはCPUのメモリの一部で
あってもよく、下限レベルの差し引きをCPUの演算で
行ってもよく、CPUの演算の一部を専用のハードウェ
アで構成してもよい。
Further, the registers lla and llb may be part of the memory of the CPU, the subtraction of the lower limit level may be performed by the CPU's calculation, or a part of the CPU's calculation may be configured by dedicated hardware. .

更に、物品検出部を実施例のものに限らず、他の光量変
化検出部で行うようにしてもよく、下限レベルの調整を
CPU14が自動的に行うようにしてもよい。
Furthermore, the article detecting section is not limited to the one in the embodiment, and other light amount change detecting sections may be used, and the lower limit level may be automatically adjusted by the CPU 14.

以上本発明を実施例により説明したが、本発明は本発明
の主旨に従い種々の変形が可能であり、本発明からこれ
らを排除するものではない。
Although the present invention has been described above using examples, the present invention can be modified in various ways according to the gist of the present invention, and these are not excluded from the present invention.

〔発明の効果〕〔Effect of the invention〕

以上説明した様に、本発明によれば、反射光量から予じ
め得た背景の下限レベルを差し引き、下限レベル以下は
光量変化のない一定レベルとみなして、光量変化による
物品検出を行うので、背景の速い変化を物品と誤検知す
ることを防止できるという効果を奏し、オペレータ等の
速い変化を物品と誤検出せず、正確に物品を検出できる
As explained above, according to the present invention, the lower limit level of the background obtained in advance is subtracted from the amount of reflected light, and anything below the lower limit level is regarded as a constant level with no change in light amount, and object detection is performed based on changes in light amount. This has the effect of preventing a rapid change in the background from being mistakenly detected as an article, and it is possible to accurately detect an article without erroneously detecting a rapid change in the operator or the like as an article.

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

第1図は本発明の原理図、 第2図は本発明の一実施例ブロック図、第3図は本発明
の一実施例要部波形図、第4図は本発明の一実施例物品
検出処理フロー図、 第5図は第4図の物品検出動作説明図、第6図は従来技
術の説明図である。 図中、1・−・発光部、 2・・−・受光部、6・・−
物品検出部。
Fig. 1 is a principle diagram of the present invention, Fig. 2 is a block diagram of an embodiment of the present invention, Fig. 3 is a waveform diagram of essential parts of an embodiment of the present invention, and Fig. 4 is an article detection embodiment of the present invention. FIG. 5 is an explanatory diagram of the article detection operation of FIG. 4, and FIG. 6 is an explanatory diagram of the prior art. In the figure, 1...- Light emitting part, 2... Light receiving part, 6...-
Article detection section.

Claims (1)

【特許請求の範囲】 検知空間に検知光を出射する発光部(1)と、検知空間
からの反射光を受光し、反射光量出力を出力する受光部
(2)と、 該反射光量出力から所望の下限レベルを差し引き、差し
引いたものの光量変化を求めて、物品を検出する物品検
出部(6)とを有することを特徴とする物品検出装置。
[Claims] A light emitting unit (1) that emits detection light into a detection space, a light receiving unit (2) that receives reflected light from the detection space and outputs a reflected light amount output, and a desired amount of reflected light from the reflected light amount output. An article detection device comprising: an article detecting section (6) that detects an article by subtracting a lower limit level of and determining a change in the amount of light after the subtraction.
JP1268418A 1989-10-16 1989-10-16 Article detector Pending JPH03129587A (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
JP1268418A JPH03129587A (en) 1989-10-16 1989-10-16 Article detector
DE69021495T DE69021495T2 (en) 1989-10-16 1990-10-16 Article sensing device and method for determining the article.
US07/598,162 US5095203A (en) 1989-10-16 1990-10-16 Article detection device and method with shift registers and sampling
EP90311327A EP0424097B1 (en) 1989-10-16 1990-10-16 Article detection device and method for detecting the article
KR1019900016449A KR930006797B1 (en) 1989-10-16 1990-10-16 Article detection method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1268418A JPH03129587A (en) 1989-10-16 1989-10-16 Article detector

Publications (1)

Publication Number Publication Date
JPH03129587A true JPH03129587A (en) 1991-06-03

Family

ID=17458211

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1268418A Pending JPH03129587A (en) 1989-10-16 1989-10-16 Article detector

Country Status (1)

Country Link
JP (1) JPH03129587A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5280162A (en) * 1991-12-23 1994-01-18 Symbol Technologies, Inc. Object sensing system for bar code laser scanners

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6425081A (en) * 1987-07-22 1989-01-27 Mitsubishi Electric Corp Optical radar apparatus

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6425081A (en) * 1987-07-22 1989-01-27 Mitsubishi Electric Corp Optical radar apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5280162A (en) * 1991-12-23 1994-01-18 Symbol Technologies, Inc. Object sensing system for bar code laser scanners

Similar Documents

Publication Publication Date Title
KR930006797B1 (en) Article detection method and device
JPS61190673A (en) Optical information reading device
US6310682B1 (en) System and method for laser range finder
US6357659B1 (en) Hands free optical scanner trigger
US5528022A (en) Symbol read device
EP0394888B1 (en) Object detection apparatus of the photoelectric reflection type
CN110940987A (en) Control device and method for photoelectric detection system and photoelectric detection system
JPH03129587A (en) Article detector
JP3885489B2 (en) Photoelectric sensor
US6600146B2 (en) Photoelectric switches
JPH03129588A (en) Article detector
JPH03129585A (en) Article detecting system
JPH10311703A (en) Photoelectron-sensor array provided with plurality of photosensitive elements arranged in row or in matrix
US10969477B2 (en) Method to detect a signal and optoelectronic sensor
US6607131B1 (en) Reading method and reader for an optical code
JPS6218029B2 (en)
JP2732915B2 (en) Article detection method
JPH05306906A (en) Traveling object detecting device
US5844224A (en) Electronic apparatus and method of controlling electronic apparatus
KR950012823A (en) Light quantity control device of laser diode and its method
JPH0381686A (en) Reflection type human body detecting circuit
JPS61265878A (en) Optical modulation type detecting device
JP2001050711A (en) Optical displacement meter
JPH05180953A (en) Photoelectric material detecting apparatus
JPS61176877A (en) Object detector