Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3169839B2 - Automatic sensor sensitivity adjustment device - Google Patents
[go: Go Back, main page]

JP3169839B2 - Automatic sensor sensitivity adjustment device - Google Patents

Automatic sensor sensitivity adjustment device

Info

Publication number
JP3169839B2
JP3169839B2 JP23346596A JP23346596A JP3169839B2 JP 3169839 B2 JP3169839 B2 JP 3169839B2 JP 23346596 A JP23346596 A JP 23346596A JP 23346596 A JP23346596 A JP 23346596A JP 3169839 B2 JP3169839 B2 JP 3169839B2
Authority
JP
Japan
Prior art keywords
range
value
determination
detection
saturation
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
Application number
JP23346596A
Other languages
Japanese (ja)
Other versions
JPH1078352A (en
Inventor
隆志 藤井
Original Assignee
サンクス株式会社
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 サンクス株式会社 filed Critical サンクス株式会社
Priority to JP23346596A priority Critical patent/JP3169839B2/en
Publication of JPH1078352A publication Critical patent/JPH1078352A/en
Application granted granted Critical
Publication of JP3169839B2 publication Critical patent/JP3169839B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Photometry And Measurement Of Optical Pulse Characteristics (AREA)
  • Geophysics And Detection Of Objects (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、センサに対する自
動感度調整装置に関する。
The present invention relates to an automatic sensitivity adjusting device for a sensor.

【0002】[0002]

【従来の技術】工場における自動搬送ラインには、各種
のセンサが設けられており、搬送物に対して様々な検出
が行われるようになっている。このようなセンサでは、
検出精度を上げるために予め感度調整をしておく必要が
あり、従来では、予め検出対象物のサンプルを用意して
おき、そのサンプルを用いて感度調整を行うようにして
いる。具体的には、サンプルを検出領域内にセットした
場合とセットしない場合とにおける各検出信号のレベル
を記憶しておき、例えば、両レベルの中間値を検出対象
物の有無を判断するための基準値として設定するのであ
る。
2. Description of the Related Art Various sensors are provided on an automatic conveyance line in a factory, and various detections are performed on a conveyed object. In such a sensor,
In order to increase the detection accuracy, it is necessary to adjust the sensitivity in advance. Conventionally, a sample of the detection target is prepared in advance, and the sensitivity is adjusted using the sample. Specifically, the level of each detection signal when the sample is set in the detection area and when the sample is not set are stored, and, for example, an intermediate value between both levels is used as a reference for determining the presence or absence of the detection target. It is set as a value.

【0003】[0003]

【発明が解決しようとする課題】ところが、上記方法で
あると、サンプルを検出領域内にセット或いはその取り
外し(以下、非セット)を手作業で行わなければならな
いため、面倒であるばかりか、検出領域が手の届かない
内部装置内に設けられている場合にはサンプルをそこに
セット等することができないため、調整不能とされた。
However, according to the above method, the sample must be manually set or removed (hereinafter, not set) in the detection area, which is not only troublesome but also troublesome. If the area is provided in an internal device that is out of reach, the sample cannot be set there or the like, so that adjustment is impossible.

【0004】検出領域が手の届かない内部装置内に設け
られている場合に、感度調整する方法として搬送ライン
を利用することが考えられる。即ち、搬送ラインを移動
させてサンプルを検出領域内にセット・非セットさせる
方法である。しかし、搬送ラインを微調整しながら移動
させることは難しいため、調整作業に多くの時間が費や
される。また、この方法では、検出領域にサンプルがセ
ットされたか否を確認しながら行わなければならないた
め、結局検出領域が視認できる位置になければサンプル
をその領域内にセットすることはできない。本発明は、
上記事情に鑑みてなされたもので、その目的は、簡単に
感度調整を行うことができるセンサの自動感度調整装置
を提供するところにある。
When the detection area is provided in an internal device that is out of reach, it is conceivable to use a transport line as a method of adjusting the sensitivity. That is, this is a method in which the transport line is moved to set or not set the sample in the detection area. However, since it is difficult to move the transport line while finely adjusting it, much time is spent on the adjustment operation. Further, in this method, since it is necessary to check whether a sample is set in the detection area, it is impossible to set the sample in the detection area unless the detection area is located at a visible position. The present invention
The present invention has been made in view of the above circumstances, and an object thereof is to provide an automatic sensitivity adjustment device for a sensor that can easily perform sensitivity adjustment.

【0005】[0005]

【課題を解決するための手段】上記目的を達成するため
に、請求項1のセンサの自動感度調整装置は、検出領域
を通過する被検出物に対して検出部から出力される計測
信号に基づいて各種の検出を行うセンサに対し、そのセ
ンサの検出感度を自動調整するものであって、被検出物
が検出領域を通過する前の状態における計測信号に応じ
た値を基準値として記憶する基準値記憶手段と、基準値
記憶手段に記憶された基準値と計測信号に応じた値とを
比較し、それらが異なった後に所定幅以上計測信号に応
じた値が変化しないことを条件に検出領域内に被検出物
が有ると判定する対象物判定手段と、対象物判定手段に
よって被検出物が検出領域内に有りと判定された後、計
測信号に応じた値から感度調整を行う感度調整手段とを
備えて構成されることに特徴を有する。
To achieve the above object, according to the Invention The automatic sensitivity adjustment apparatus according to claim 1 sensor, the measurement signal detected section or RaIzuru force against the object to be detected that passes through the detection region This is for automatically adjusting the detection sensitivity of a sensor that performs various types of detection based on the detection signal, and stores, as a reference value, a value corresponding to a measurement signal in a state before an object to be detected passes through a detection area. a reference value storing means for, comparing the reference value stored in the reference value <br/> storage means and a value corresponding to the measurement signal, does not change a value corresponding to the predetermined width or more measurement signals after they have different Object determination means for determining that an object is present in the detection area on the condition that the object is present in the detection area; and a sensitivity based on a value corresponding to the measurement signal after the object determination means determines that the object is present in the detection area. And sensitivity adjustment means for performing the adjustment. Rukoto to having the features.

【0006】[0006]

【本発明の作用・効果】請求項1記載の発明では、被検
出物が検査領域を通過する前に、その状態における計測
信号に応じた値が基準値として基準値記憶手段に記憶さ
れる。その後、対象物判定手段は、その基準値と計測信
号に応じた値とを比較するとともに、それらが異なった
後に所定幅以上計測信号に応じた値が変化しないことを
条件に被検出物が検出領域内に有ると判定する。そし
て、対象物判定手段で被検出物が検出領域内に有ると判
定されれば、感度調整手段が計測信号に応じた値から感
度調整を行う。従って、被検出物を検出領域に通過させ
るだけで感度調整を行うことができるから、検出領域が
手の届かない場所に設定されている場合でも簡単に感度
調整を行うことができる。しかも、単に基準値と計測信
号に応じた値とを比較して検出領域内に被検出物が有る
と判定するのではなく、それらが異なった後に所定幅以
上計測信号に応じた値が変化しないことを条件に被検出
物が検出領域内に有ると判定するようにしているから、
検出領域内における被検出物の有が確実となり、感度調
整をより正確に行うことができる。
According to the first aspect of the present invention, before the detected object passes through the inspection area, a value corresponding to the measurement signal in that state is stored in the reference value storage means as a reference value. Thereafter, the object determination means compares the reference value with the value corresponding to the measurement signal, and detects the object under the condition that the value corresponding to the measurement signal does not change beyond a predetermined width after the difference. It is determined that it is within the area. Then, if the object determining means determines that the object to be detected is within the detection area, the sensitivity adjusting means performs sensitivity adjustment from a value corresponding to the measurement signal. Therefore, the sensitivity can be adjusted simply by passing the detection object through the detection area, so that the sensitivity can be easily adjusted even when the detection area is set in a place where it cannot be reached. In addition, the value corresponding to the measurement signal does not change beyond a predetermined width after they differ from each other, instead of simply comparing the reference value and the value corresponding to the measurement signal to determine that there is an object in the detection area. Since the object is determined to be within the detection area on the condition that
The presence of the object in the detection area is ensured, and the sensitivity can be adjusted more accurately.

【0007】[0007]

【発明の実施の形態】BEST MODE FOR CARRYING OUT THE INVENTION

<第1実施形態>以下、本発明のセンサの自動感度調整
装置を具体化した第1実施形態について図1〜図8を参
照して説明する。本発明のセンサの自動感度調整装置
は、被検出物に対する色判定を行うカラーセンサに適用
されるものであり、そのハードウェア構成を図1に示す
ブロック図に基づいて説明する。
<First Embodiment> A first embodiment of a sensor automatic sensitivity adjusting device according to the present invention will be described below with reference to FIGS. The automatic sensitivity adjusting device for a sensor according to the present invention is applied to a color sensor that performs color judgment on an object to be detected, and the hardware configuration thereof will be described with reference to the block diagram shown in FIG.

【0008】(ハードウェア構成)図1中、1は、中央
演算処理装置(以下、CPU)であり、ここには、青
色、緑色、赤色に発光する投光素子2がそれぞれ駆動回
路3を介して接続されている。各投光素子2は、検出領
域を通過する被検出物に対して一定の周期で投光動作を
行うようになっている。
(Hardware Configuration) In FIG. 1, reference numeral 1 denotes a central processing unit (hereinafter referred to as a CPU), in which light emitting elements 2 emitting blue, green, and red light are respectively driven via a driving circuit 3. Connected. Each of the light projecting elements 2 performs a light projecting operation at a constant cycle on an object passing through the detection area.

【0009】また、各投光素子2に対応して受光素子4
が1つ設けられており、被検出物からの反射光を受光す
るようになっている。この受光素子4には増幅回路5が
接続されており、受光素子4から出力される受光信号
(本発明にいう計測信号に相当する)が増幅されるよう
になっている。なお、この増幅回路5は増幅率が可変可
能(6段階)となるように構成されており、その増幅率
はCPU1によって制御される。
A light receiving element 4 corresponding to each light emitting element 2
Are provided to receive the reflected light from the object to be detected. An amplifying circuit 5 is connected to the light receiving element 4 so that a light receiving signal (corresponding to a measurement signal in the present invention) output from the light receiving element 4 is amplified. The amplification circuit 5 is configured so that the amplification factor can be varied (six steps), and the amplification factor is controlled by the CPU 1.

【0010】増幅回路5の後段には、アナログスイッチ
6、サンプルホールド回路7、A/D変換回路8がそれ
ぞれ各発光色(赤色、緑色、青色)に対応して3個づつ
配設されている。そして、投光タイミングに同期して各
アナログスイッチ6を開閉させることにより、受光信号
が赤色、緑色、青色に基づく信号に分けられてそれぞれ
デジタル量に変換されるようになっている。デジタル量
に変換された受光信号(受光値)は、それぞれCPU1
によって読み取られる。なお、サンプルホールド回路7
におけるサンプリング周期は200μS〜300μSで
ある。
At the subsequent stage of the amplifier circuit 5, three analog switches 6, a sample-and-hold circuit 7, and an A / D conversion circuit 8 are provided for each of the emission colors (red, green, and blue). . Then, by opening and closing each analog switch 6 in synchronization with the light projection timing, the received light signal is divided into signals based on red, green, and blue, and each is converted into a digital amount. The light receiving signal (light receiving value) converted into the digital amount is transmitted to the CPU 1
Read by. The sample hold circuit 7
Is 200 μS to 300 μS.

【0011】さらに、CPU1には、記憶部9、出力部
10、表示部11が接続されている。記憶部9はROM
(読み出し専用メモリ)とRAM(ランダム・アクセス
・メモリ)とから構成され、ROMには被検出物に対す
る色判定を行うための色判定プログラムが書き込まれて
いる。また、RAMにはA/D変換回路8から読み取っ
た受光値や後述する背景色範囲設定ルーチンにおける背
景彩度範囲等が書き込まれるようになっている。このR
AMの一部が、本発明の基準値記憶手段に相当する。出
力部10は、色判定プログラムによる被検出物に対する
色判定の結果を検出信号として出力する回路である。表
示部11は、複数のLED等を備えて構成され、色判定
の実行中等の動作状況を表示するようになっている。
Further, a storage unit 9, an output unit 10, and a display unit 11 are connected to the CPU 1. The storage unit 9 is a ROM
(A read-only memory) and a RAM (random access memory), and a ROM is written with a color determination program for performing color determination on an object to be detected. In the RAM, the received light value read from the A / D conversion circuit 8, the background saturation range in a background color range setting routine described later, and the like are written. This R
Part of the AM corresponds to the reference value storage means of the present invention. The output unit 10 is a circuit that outputs, as a detection signal, a result of color determination on an object to be detected by the color determination program. The display unit 11 includes a plurality of LEDs and the like, and displays an operation state such as a state where color determination is being performed.

【0012】CPU1には、さらに、ティーチングスイ
ッチSW1、ロータリスイッチSW2、出力反転スイッ
チSW3が接続されている。ティーチングスイッチSW
1は、後述する自動感度設定ルーチンを実行させるため
のスイッチである。なお、このティーチングスイッチS
W1はプッシュスイッチであり、常にはオフ状態に保持
されており、押し操作によりオン状態が図示しないラッ
チ回路にラッチされるようになっている。ロータリスイ
ッチSW2は、色判定プログラムにおいて明度判定を行
うか否かの切り換えスイッチ(オンで明度判定モード)
であるとともに、後述する背景色範囲設定ルーチンにお
ける背景彩度範囲と背景明度範囲に対する許容値a2 ,
a3 を示すスイッチにもなっている。出力反転スイッチ
SW3は、出力部10から色判定結果に基づいて出力さ
れる検出信号の信号レベルを反転させるためのスイッチ
である。
The teaching switch SW1, the rotary switch SW2, and the output inversion switch SW3 are further connected to the CPU1. Teaching switch SW
Reference numeral 1 denotes a switch for executing an automatic sensitivity setting routine described later. The teaching switch S
W1 is a push switch, which is always kept in an off state, and the on state is latched by a latch circuit (not shown) by a pushing operation. A rotary switch SW2 is a switch for determining whether or not to perform brightness determination in the color determination program (brightness determination mode when on)
And allowable values a2 and a2 for the background saturation range and the background lightness range in the background color range setting routine described later.
It is also a switch indicating a3. The output inversion switch SW3 is a switch for inverting the signal level of the detection signal output from the output unit 10 based on the color determination result.

【0013】(色判定プログラム)色判定プログラムを
図2に示すフローチャートに基づいて説明する。まず、
ティーチングスイッチSW1がオンされているか否かの
判別を行い、オンされていない場合にはティーチングス
イッチSW1がオンされるまで判別を繰り返す(S
1)。ティーチングスイッチSW1がオンされていれ
ば、自動感度設定ルーチンを実行する(S2)。これに
よって、赤判定範囲(Xr-,Xr+)、緑判定範囲(Xg
ー,Xg+)、青判定範囲(Xbー,Xb+)、明度判定範囲
(Yー ,Y+ )が設定される。なお、Xr-は赤判定範囲
の下限値を示し、Xr+は赤判定範囲の上限値を示す。以
下、Xgー、Xg+、Xb-、Xb+についてもそれぞれ下限値
及び上限値を示す。なお、赤判定範囲、緑判定範囲、青
判定範囲を含めて彩度判定範囲という。
(Color Determination Program) The color determination program will be described with reference to the flowchart shown in FIG. First,
It is determined whether or not the teaching switch SW1 is turned on. If not, the determination is repeated until the teaching switch SW1 is turned on (S
1). If the teaching switch SW1 is turned on, an automatic sensitivity setting routine is executed (S2). Thus, the red judgment range (Xr-, Xr +) and the green judgment range (Xg
-, Xg +), a blue judgment range (Xb-, Xb +), and a lightness judgment range (Y-, Y +). Xr- indicates the lower limit of the red determination range, and Xr + indicates the upper limit of the red determination range. Hereinafter, the lower limit value and the upper limit value of Xg-, Xg +, Xb- and Xb + are also shown. Note that the saturation determination range includes the red determination range, the green determination range, and the blue determination range.

【0014】続いて、受光値を読み込む(S3)。即
ち、A/D変換回路8によってデジタル量に変換された
受光信号を読み取るのである。ここで、読み込まれた受
光値のうち、赤色に対応する受光値をR,緑色に対応す
る受光値をG、青色に対応する受光値をBとする。そし
て、この各受光値R,G,Bに基づいて被検出物の彩度
値(赤彩度値、緑彩度値、青彩度値)Sr ,Sg ,Sb
を求め、その各彩度値Sr ,Sg ,Sb が以下の範囲に
あるか否かの判定を行う(S4)。即ち、被検出物の各
彩度値が色サンプルと同じであるか否かの判定を行うの
である。 Xr-<Sr <Xr+ Xgー<Sg <Xg+ Xbー<Sb <Xb+
Subsequently, the received light value is read (S3). That is, the light receiving signal converted into a digital amount by the A / D conversion circuit 8 is read. Here, among the read light receiving values, the light receiving value corresponding to red is R, the light receiving value corresponding to green is G, and the light receiving value corresponding to blue is B. Then, based on the received light values R, G, B, the saturation values (red saturation value, green saturation value, blue saturation value) Sr, Sg, Sb of the object to be detected.
Is determined, and it is determined whether each of the saturation values Sr, Sg, Sb is in the following range (S4). That is, it is determined whether or not each saturation value of the detected object is the same as the color sample. Xr- <Sr <Xr + Xg- <Sg <Xg + Xb- <Sb <Xb +

【0015】赤彩度値Sr 、緑彩度値Sg 、青彩度値S
b は以下の計算によって求められる。なお、下記赤彩度
値S0r,S1r,S2r,緑彩度値S1g,S2g,S3g,青彩
度値S1b,S2b,S3bについても同様に対応する受光値
から以下の計算によって求められる。この各彩度値が本
発明にいう計測信号に応じた値に相当する。 Sr =R/(R+G+B) Sg =G/(R+G+B) Sb =B/(R+G+B)
Red saturation value Sr, green saturation value Sg, blue saturation value S
b is obtained by the following calculation. The following red saturation values S0r, S1r, S2r, green saturation values S1g, S2g, S3g, and blue saturation values S1b, S2b, S3b are similarly obtained from the corresponding light receiving values by the following calculation. Each of the saturation values corresponds to a value corresponding to the measurement signal according to the present invention. Sr = R / (R + G + B) Sg = G / (R + G + B) Sb = B / (R + G + B)

【0016】被検出物に対する赤彩度値Sr 、緑彩度値
Sg 、青彩度値Sb がそれぞれ赤判定範囲(Xr-,Xr
+)内、緑判定範囲(Xgー,Xg+)内、青判定範囲(Xb
ー,Xb+)内になければ、出力反転スイッチSW3がオ
ンされているか否かを判別し(S5)、出力反転スイッ
チSW3がオンされていれば、出力部10にハイレベル
の検出信号を出力させ(S6)、オフであればロウレベ
ルの検出信号を出力させる(S10)。
The red saturation value Sr, green saturation value Sg, and blue saturation value Sb of the object to be detected are respectively in the red determination range (Xr-, Xr
+), Green judgment range (Xg-, Xg +), blue judgment range (Xb
If it is not within (−, Xb +), it is determined whether or not the output inversion switch SW3 is turned on (S5). If the output inversion switch SW3 is on, the output unit 10 outputs a high-level detection signal. (S6) If it is off, a low-level detection signal is output (S10).

【0017】一方、S4で各彩度値Sr ,Sg ,Sb が
彩度判定範囲Xr ,Xg ,Xb 内になければ、ロータリ
スイッチSW2がオン(明度判定モード)されているこ
とを条件(S7)に明度値Mが以下に示すように明度判
定範囲(Yー ,Y+ )内にあるか否かの判定を行う(S
8)。 Yー <M<Y+
On the other hand, if the saturation values Sr, Sg, Sb are not within the saturation determination ranges Xr, Xg, Xb in S4, the condition is that the rotary switch SW2 is turned on (brightness determination mode) (S7). It is determined whether or not the brightness value M is within the brightness determination range (Y-, Y +) as shown below (S
8). Y- <M <Y +

【0018】被検出物に対する明度値Mは、受光値R,
G,Bから以下の計算によって求められる。なお、下記
明度M1 、M3 についても同様に対応する受光値から以
下の計算によって求められる。 M=R+G+B
The lightness value M for the object to be detected is represented by a light reception value R,
G and B are obtained by the following calculation. The following lightness values M1 and M3 are similarly obtained from the corresponding light receiving values by the following calculation. M = R + G + B

【0019】そして、明度値Mが明度判定範囲(Yー ,
Y+ )内にあれば、出力反転スイッチSW3がオンされ
ているか否かを判別し(S9)、オンされていれば出力
部10にロウレベルの検出信号を出力させ(S10)、
オフであればハイレベルの検出信号を出力させる(S
6)。また、S8において明度値Mが明度判定範囲(Y
ー ,Y+ )内になければ、上記S5にしたがって検出信
号を出力させる。即ち、彩度のみの判定では白と黒のよ
うに明度のみが異なる場合にはこれを判定することがで
きないため、このような場合にはロータリスイッチSW
2をオンして明度判定も行うようにしているのである。
Then, the brightness value M falls within the brightness determination range (Y-,
If it is within Y +), it is determined whether or not the output inversion switch SW3 is turned on (S9), and if it is on, the output unit 10 outputs a low-level detection signal (S10).
If it is off, a high-level detection signal is output (S
6). In S8, the lightness value M falls within the lightness determination range (Y
, Y +), a detection signal is output in accordance with S5. In other words, in the determination of only the saturation, when only the brightness is different, such as white and black, this cannot be determined. In such a case, the rotary switch SW is used.
2 is turned on to determine the brightness.

【0020】以下、判定結果と検出信号との関係を示
す。 彩度(赤、緑、青) 明度 SW2 SW3 検出信号 異 − − ON ハイ 異 − − OFF ロウ 同 − OFF ON ロウ 同 − OFF OFF ハイ 同 異 ON ON ハイ 同 異 ON OFF ロウ 同 同 ON ON ロウ 同 同 ON OFF ハイ
Hereinafter, the relationship between the determination result and the detection signal will be described. Saturation (red, green, blue) Lightness SW2 SW3 Detection signal difference--ON high difference--OFF low same-OFF ON low same-OFF OFF high same ON ON high same different ON OFF low Same as ON ON low same ON OFF High

【0021】判定結果に基づいて検出信号を出力した
後、さらにティーチングスイッチSW1がオンされてい
るか否を判別し、オンされている場合には、S2に戻り
再度自動感度設定ルーチンを実行してから、次の受光値
R,G,Bに対する色判定を行う。また、ティーチング
スイッチSW1がオフの場合には、自動感度設定ルーチ
ンの実行を繰り返すことなく、次の受光値R,G,Bに
対する色判定を行う。
After outputting the detection signal based on the determination result, it is further determined whether or not the teaching switch SW1 is turned on. If the teaching switch SW1 is turned on, the process returns to S2 to execute the automatic sensitivity setting routine again, and , Color determination for the next received light values R, G, B. When the teaching switch SW1 is turned off, the color determination for the next received light values R, G, B is performed without repeating the execution of the automatic sensitivity setting routine.

【0022】(自動感度設定ルーチン)自動感度設定ル
ーチンを図3に示すフローチャートに基づいて説明す
る。自動感度設定ルーチンは、上記彩度判定範囲、明度
判定範囲を設定するためのサブルーチンであり、彩度判
定範囲及び明度判定範囲を設定するためには被検出物と
して色サンプルが用いられる。ここで、ティーチングス
イッチSW1は色サンプルが検出領域内に搬送される前
に押されるため、まず色サンプルが検出領域にない状態
に基づいて、背景色範囲設定ルーチンが実行される(S
100)。そして、色サンプルが検出領域内にあるか否
かを判定するための対象物判定ルーチン(本発明の対象
物判定手段に相当する)が実行される(S200)。さ
らに、対象物判定ルーチンによって色サンプルが検出領
域内にあると判定されると感度調整ルーチン(本発明の
感度調整手段に相当する)(S300)が実行される。
(Automatic Sensitivity Setting Routine) The automatic sensitivity setting routine will be described with reference to the flowchart shown in FIG. The automatic sensitivity setting routine is a subroutine for setting the saturation judgment range and the lightness judgment range, and a color sample is used as an object to set the saturation judgment range and the lightness judgment range. Here, since the teaching switch SW1 is pressed before the color sample is conveyed into the detection area, the background color range setting routine is first executed based on the state where the color sample is not in the detection area (S
100). Then, an object determination routine (corresponding to the object determination means of the present invention) for determining whether or not the color sample is within the detection area is executed (S200). Further, when it is determined by the object determination routine that the color sample is within the detection area, a sensitivity adjustment routine (corresponding to the sensitivity adjustment unit of the present invention) (S300) is executed.

【0023】(背景色範囲設定ルーチン)背景色範囲設
定ルーチンを図4に示すフローチャートに基づいて説明
する。まず、増幅回路5に対する増幅率Aを最小にする
(S101)。そして、受光値R0 ,G0 ,B0 を読み
取り(S101)、その受光値R0 ,G0 ,B0 のうち
の少なくとも一つが所定レベル範囲内にあるか否かの判
別を行う(S102)。
(Background color range setting routine) The background color range setting routine will be described with reference to the flowchart shown in FIG. First, the amplification factor A for the amplifier circuit 5 is minimized (S101). Then, the received light values R0, G0, B0 are read (S101), and it is determined whether at least one of the received light values R0, G0, B0 is within a predetermined level range (S102).

【0024】受光値R0 ,G0 ,B0 の全てが所定レベ
ル範囲内にない場合には、増幅率Aが既に最大であるか
否かの判別を行い(S103)、最大でなければ、増幅
率Aを1づつ増やして受光値R0 ,G0 ,B0 の少なく
とも一つが所定レベル範囲内となるように調整する(S
104、S105)。即ち、背景に対する受光レベルが
環境等に応じて最適となるように増幅回路5の増幅率を
調整するのである。
If all of the received light values R0, G0, B0 are not within the predetermined level range, it is determined whether or not the amplification factor A is already maximum (S103). Is increased by one so that at least one of the received light values R0, G0, B0 is within a predetermined level range (S
104, S105). That is, the amplification factor of the amplifier circuit 5 is adjusted so that the light receiving level with respect to the background becomes optimal according to the environment and the like.

【0025】受光値R0 ,G0 ,B0 の少なくとも一つ
が所定レベル範囲内となるように調整されれば、その増
幅率Aをα0 に代入するとともに(S106)、α0 の
値に対応す許容値a1 を記憶部9内のテーブルから読み
取る。また、ロータリスイッチSW2から許容値a2 を
読み取る(S107)。そして、受光値R0 ,G0 ,B
0 と許容値a1,a2から背景赤範囲(Br-,Br+)、背
景緑範囲(Bgー,Bg+)、背景青範囲(Bbー,Bb+)が
以下のように計算され、その計算結果が記憶部9内に記
憶される(S108)。ここで、Br-は、背景赤色範囲
の下限値を示し、Br+は背景赤色範囲の上限値を示す。
以下、Bgー、Bg+、Bbー、Bb+についてもそれぞれの範
囲の下限値及び上限値を示す。なお、この背景赤範囲、
背景緑範囲、背景青範囲が本発明の基準値に相当する。
また、背景赤範囲、背景緑範囲、背景青範囲を含めて背
景彩度範囲という。 Br-=R0 /{(R0 +G0 +B0 )−(a1 +a2
)} Br+=R0 /{(R0 +G0 +B0 )+(a1 +a2
)} Bgー=G0 /{(R0 +G0 +B0 )−(a1 +a2
)} Bg+=G0 /{(R0 +G0 +B0 )+(a1 +a2
)} Bbー=B0 /{(R0 +G0 +B0 )−(a1 +a2
)} Bb+=B0 /{(R0 +G0 +B0 )+(a1 +a2
)} なお、ここで各範囲において許容値a1 、a2 を加減算
するのは、増幅率の変化に伴うホワイトノイズ等を考慮
するためである。
If at least one of the received light values R0, G0, B0 is adjusted to be within a predetermined level range, the amplification factor A is substituted for α0 (S106), and the allowable value a1 corresponding to the value of α0 is obtained. Is read from the table in the storage unit 9. Further, the permissible value a2 is read from the rotary switch SW2 (S107). Then, the received light values R0, G0, B
The background red range (Br-, Br +), the background green range (Bg-, Bg +), and the background blue range (Bb-, Bb +) are calculated from 0 and the allowable values a1, a2 as follows, and the calculation results are stored. It is stored in the unit 9 (S108). Here, Br- indicates the lower limit of the background red range, and Br + indicates the upper limit of the background red range.
Hereinafter, the lower limit and the upper limit of the respective ranges are also shown for Bg-, Bg +, Bb-, and Bb +. Note that this background red range,
The background green range and the background blue range correspond to the reference values of the present invention.
The background saturation range includes the background red range, the background green range, and the background blue range. Br− = R0 / {(R0 + G0 + B0) − (a1 + a2
)} Br + = R0 / {(R0 + G0 + B0) + (a1 + a2)
)} Bg− = G0 / {(R0 + G0 + B0)-(a1 + a2)
)} Bg + = G0 / {(R0 + G0 + B0) + (a1 + a2
)} Bb− = B0 / {(R0 + G0 + B0)-(a1 + a2)
)} Bb + = B0 / {(R0 + G0 + B0) + (a1 + a2)
Here, the reason why the allowable values a1 and a2 are added or subtracted in each range is to consider white noise and the like accompanying a change in the amplification factor.

【0026】さらに、ロータリスイッチSW2がオン
(明度判定モード)されているか否かの判別を行い(S
109)、オンされている場合には、ロータリスイッチ
SW2から許容値a3 を読み取り、受光値R0 ,G0 ,
B0 と許容値a1 ,a3 から背景明度範囲(C- ,C+
)を以下計算によって求め、その計算結果を記憶部9
に記憶する(S110)。C- は背景明度範囲の下限値
を示し、C+ は背景明度範囲の上限値を示す。 C- =R0 +G0 +B0 −(a1 +a3 ) C+ =R0 +G0 +B0 +(a1 +a3 )
Further, it is determined whether or not the rotary switch SW2 is turned on (brightness determination mode) (S2).
109) If it is turned on, the permissible value a3 is read from the rotary switch SW2, and the light receiving values R0, G0,
From B0 and the allowable values a1 and a3, the background lightness range (C-, C +
) Is calculated by the following calculation, and the calculation result is stored in the storage unit 9.
(S110). C- indicates the lower limit of the background lightness range, and C + indicates the upper limit of the background lightness range. C- = R0 + G0 + B0- (a1 + a3) C + = R0 + G0 + B0 + (a1 + a3)

【0027】(対象物判定ルーチン)対象物判定ルーチ
ンを図5及び図6に示すフローチャートに基づいて説明
する。受光値R1 ,G1 ,B1 を読み取る(S20
1)。各受光値R1 ,G1 ,B1に基づいて彩度値S1
r,S1g,S1bを求め、その彩度値S1r,S1g,S1bが
上記背景彩度範囲内にあるか否かを判別する(S20
2)。即ち、色サンプルが検出領域内に搬送されて来た
か否かの検出を行うのである。具体的には、以下の範囲
にあるか否かを判別する。 Br-<S1r<Br+ Bgー<S1g<Bg+ Bbー<S1b<Bb+
(Object Determination Routine) The object determination routine will be described with reference to the flowcharts shown in FIGS. The received light values R1, G1, and B1 are read (S20).
1). Saturation value S1 based on each received light value R1, G1, B1
r, S1g, and S1b are determined, and it is determined whether or not the saturation values S1r, S1g, and S1b are within the background saturation range (S20).
2). That is, it is detected whether or not the color sample has been conveyed into the detection area. Specifically, it is determined whether it is within the following range. Br- <S1r <Br + Bg- <S1g <Bg + Bb- <S1b <Bb +

【0028】そして、各彩度値S1r,S1g,S1bが背景
彩度範囲内にない場合には、色サンプルが検出領域内に
搬送されて来たと判断する。一方、彩度値S1r,S1g,
S1bが背景彩度範囲内にある場合には、ロータリスイッ
チSW2がオン(明度判定モード)されているか否かを
判別し(S203)、オンされている場合には受光値R
1 ,G1 ,B1 から明度M1 を求め、それが背景明度範
囲内にあるか否を判別する(S204)。即ち、彩度値
のみの判別では、白と黒のように異なる色でも同じと判
断されるため、これを判断するためにさらに明度に対す
る判別を行うのである。具体的には、以下の範囲にある
か否かを判別する。 C- <M1 <C+ そして、明度M1 が背景明度範囲(C- ,C+ )内にな
い場合にも、色サンプルが検出領域内に搬送されて来た
と判断する。
If each of the saturation values S1r, S1g, S1b is not within the background saturation range, it is determined that the color sample has been conveyed into the detection area. On the other hand, the saturation values S1r, S1g,
If S1b is within the background saturation range, it is determined whether or not the rotary switch SW2 is turned on (brightness determination mode) (S203).
Lightness M1 is determined from 1, G1, B1 and it is determined whether or not it is within the background lightness range (S204). That is, in the determination of only the saturation value, since different colors such as white and black are determined to be the same, the brightness is further determined to determine this. Specifically, it is determined whether it is within the following range. C- <M1 <C + Then, even when the lightness M1 is not within the background lightness range (C-, C +), it is determined that the color sample has been conveyed into the detection area.

【0029】続いて、色サンプルが検出領域内に搬送さ
れて来たと判断した後、その時の受光値R1 ,G1 ,B
1 のうち少なくとも一つが所定レベル範囲内にあるか否
かを判別する(S205)。受光値R1 ,G1 ,B1 の
全てが所定レベル範囲内にない場合には増幅率Aを調整
しつつ、新たに受光値R1 ,G1 ,B1 を読み取ってそ
の少なくとも一つが所定レベル範囲内となるように調整
する(S206、S207)。即ち、色サンプルに対す
る受光レベルが環境等に応じて最適となるように増幅率
を調整するのである。
Subsequently, after it is determined that the color sample has been conveyed into the detection area, the received light values R1, G1, B at that time are determined.
It is determined whether or not at least one of them is within a predetermined level range (S205). If all of the received light values R1, G1, and B1 are not within the predetermined level range, while adjusting the amplification factor A, newly read the received light values R1, G1, and B1 so that at least one of them is within the predetermined level range. (S206, S207). That is, the amplification factor is adjusted so that the light receiving level for the color sample becomes optimal according to the environment and the like.

【0030】受光値R1 ,G1 ,B1 の少なくとも一つ
が所定レベル範囲内となれば、その時の増幅率Aをα1
に代入するとともに(S208)、そのα1 の値に対応
する許容値a4 を記憶部9のテーブルから読み取り、
その各値から対象物赤確認範囲(Tr-,Tr+)、対象物
緑確認範囲(Tgー,Tg+)、対象物青確認範囲(Tbー,
Tb+)を求め、これを記憶部9に記憶する(209)。
ここで、このような範囲を設定するのは、この後さらに
色サンプルが検出領域内に搬送されて来たか否かを繰り
返し判別するためである。即ち、色サンプルのエッジ部
分では受光信号は極めて不安定な状態にあるため、上記
判別(S202、S204)だけでは信頼性に欠ける。
そこで、判定結果に対する信頼性を高めるため、対象物
赤確認範囲等を設定し、この後判別動作を繰り返すであ
る。なお、Trー は対象物赤確認範囲の下限値を示し、
Tr +は上限値を示す。以下、Tgー、Tg+、Tbー、Tb+
についてもそれぞれ上限値と下限値を示す。また、対象
物赤確認範囲、対象物緑確認範囲、対象物青確認範囲を
含めて対象物彩度確認範囲といい、この範囲が本発明に
いう「所定幅」に相当する。 Tr-=R1 /{(R1 +G1 +B1 )−a4 } Tr+=R1 /{(R1 +G1 +B1 )+a4 } Tgー=G1 /{(R1 +G1 +B1 )−a4 } Tg+=G1 /{(R1 +G1 +B1 )+a4 } Tbー=B1 /{(R1 +G1 +B1 )−a4 } Tb+=B1 /{(R1 +G1 +B1 )+a4 }
If at least one of the received light values R1, G1, B1 falls within a predetermined level range, the amplification factor A at that time is set to α1
(S208), and an allowable value a4 corresponding to the value of α1 is read from the table of the storage unit 9,
From these values, the object red confirmation range (Tr-, Tr +), the object green confirmation range (Tg-, Tg +), and the object blue confirmation range (Tb-,
Tb +) is obtained and stored in the storage unit 9 (209).
Here, the reason for setting such a range is to repeatedly determine whether or not a color sample has been further conveyed into the detection area thereafter. That is, since the light receiving signal is in an extremely unstable state at the edge portion of the color sample, the above-described determination alone (S202, S204) lacks reliability.
Therefore, in order to increase the reliability of the determination result, an object red confirmation range and the like are set, and thereafter, the determination operation is repeated. Here, Tr- indicates the lower limit of the object red confirmation range,
Tr + indicates the upper limit. Hereinafter, Tg-, Tg +, Tb-, Tb +
Also shows the upper and lower limits, respectively. The target object saturation check range including the target object red check range, the target object green check range, and the target object blue check range is equivalent to the “predetermined width” in the present invention. Tr− = R1 / (R1 + G1 + B1) −a4} Tr + = R1 / {(R1 + G1 + B1) + a4} Tg− = G1 / (R1 + G1 + B1) −a4} Tg + = G1 / G1 / {(R1) + A4} Tb- = B1 / (R1 + G1 + B1) -a4} Tb + = B1 / {(R1 + G1 + B1) + a4}

【0031】まず、受光値R2 ,G2 ,B2 を読み取り
(S210)、その受光値R2 ,G2 ,B2 に基づく彩
度値S2r,S2g,S2bが対象物確認範囲内にあるか否か
の判別を行う(S211)。具体的には、以下のように
判別する。 Tr −<S2r<Tr + Tgー<S2g<Tg+ Tr −<S2b<Tb+
First, the received light values R2, G2, B2 are read (S210), and it is determined whether or not the saturation values S2r, S2g, S2b based on the received light values R2, G2, B2 are within the object confirmation range. Perform (S211). Specifically, the determination is made as follows. Tr- <S2r <Tr + Tg- <S2g <Tg + Tr- <S2b <Tb +

【0032】さらに、彩度値S2r,S2g,S2bが対象物
確認範囲内にあれば、続けて受光値R3 ,G3 ,B3 を
読み取り(S212)、その受光値R3 ,G3 ,B3 に
基づく彩度値S3r,S3g,S3bが対象物確認範囲内にあ
るか否かの判別を行う(S213)。また、S211及
びS213において受光値R2 ,G2 ,B2 或い受光値
R3 ,G3 ,B3 が対象物彩度範囲外と判別されれば、
再度S201から上記動作を繰り返す。そして、受光値
が背景彩度範囲外とされた後、連続して対象物確認範囲
内とされれば、受光値R3 ,G3 ,B3 を記憶部9に格
納する(S214)。即ち、ここで初めて、色サンプル
が検出領域内にあると判定され、後述する感度調整に必
要な受光値が取り込まれるのである。
Further, if the saturation values S2r, S2g, S2b are within the object confirmation range, the received light values R3, G3, B3 are read continuously (S212), and the saturation based on the received light values R3, G3, B3 is obtained. It is determined whether the values S3r, S3g, S3b are within the object confirmation range (S213). If the light reception values R2, G2, B2 or the light reception values R3, G3, B3 are determined to be out of the target object saturation range in S211 and S213,
The above operation is repeated from S201 again. If the received light value is outside the background saturation range and then continuously within the object confirmation range, the received light values R3, G3, and B3 are stored in the storage unit 9 (S214). That is, for the first time, it is determined that the color sample is within the detection area, and a light reception value necessary for sensitivity adjustment described later is captured.

【0033】その後、背景に対する増幅率α0 と色サン
プルに対する増幅率α1 とを比較し(S215)、同じ
である場合には、上記S212で記憶した受光値R3 ,
G3,B3 に基づく彩度値S3r,S3g,S3bと明度値M3
が背景彩度範囲内或いは背景明度範囲内にあるか否か
の判別を行い(S216〜S218)、背景彩度範囲内
及び背景明度範囲内にない場合には対象物判定ルーチン
を終了する。即ち、ここでは再度、背景色との比較を行
うことにより、上記判断が間違っていないかの判断を行
うのである。
Thereafter, the amplification factor α0 for the background is compared with the amplification factor α1 for the color sample (S215). If they are the same, the received light values R3,
Saturation values S3r, S3g, S3b and lightness value M3 based on G3, B3
It is determined whether or not is within the background saturation range or the background lightness range (S216 to S218). If not within the background saturation range and the background lightness range, the object determination routine ends. That is, here, the comparison with the background color is performed again to determine whether the above determination is correct.

【0034】(感度調整ルーチン)感度調整ルーチンを
図7に示すフローチャートに基づいて説明する。上記対
象物判定ルーチンによって被検出物が検出領域にあると
判定されれば、上記記憶部9に記憶した受光値R3 ,G
3 ,B3 に基づいて以下のように赤判定範囲(Xr-,X
r+)、緑判定範囲(Xgー,Xg+)、青判定範囲(Xbー,
Xb+)及び明度判定範囲(Yー ,Y+ )の設定を行う
(S301、S302)。なお、この赤判定範囲、緑判
定範囲、青判定範囲、明度判定範囲が本発明の感度に相
当する。 Xr-=R3 /{(R3 +G3 +B3 )−a4 } Xr+=R3 /{(R3 +G3 +B3 )+a4 } Xgー=G3 /{(R3 +G3 +B3 )−a4 } Xg+=G3 /{(R3 +G3 +B3 )+a4 } Xbー=B3 /{(R3 +G3 +B3 )−a4 } Xb+=B3 /{(R3 +G3 +B3 )+a4 } Y+ =(R3 +G3 +B3 )−(a1 +a3 ) Yー =(R3 +G3 +B3 )+(a1 +a3 )
(Sensitivity Adjustment Routine) The sensitivity adjustment routine will be described with reference to the flowchart shown in FIG. If the object is determined to be in the detection area by the object determination routine, the received light values R3, G stored in the storage unit 9 are stored.
3 and B3, the red determination range (Xr-, Xr-
r +), green judgment range (Xg-, Xg +), blue judgment range (Xb-,
Xb +) and the brightness determination range (Y−, Y +) are set (S301, S302). The red judgment range, the green judgment range, the blue judgment range, and the lightness judgment range correspond to the sensitivity of the present invention. Xr− = R3 / {(R3 + G3 + B3) -a4} Xr + = R3 / {(R3 + G3 + B3) + a4} Xg− = G3 / {(R3 + G3 + B3) -a4} Xg + = G3 + {3 / {(R3) + A4} Xb- = B3 / {(R3 + G3 + B3) -a4} Xb + = B3 / {(R3 + G3 + B3) + a4} Y + = (R3 + G3 + B3)-(a1 + a3 + Y3) + (R3 + G3 + B3) (A1 + a3)

【0035】図8は、受光信号を示す波形図である。図
中、aは検査領域に色サンプルがない状態での受光信号
を示す。この状態での受光値に基づいて上記背景彩度範
囲及び背景明度範囲が設定される(S101〜S11
0)。
FIG. 8 is a waveform diagram showing a light receiving signal. In the figure, a indicates a light receiving signal in a state where no color sample exists in the inspection area. The background saturation range and the background lightness range are set based on the light receiving values in this state (S101 to S11).
0).

【0036】色サンプルが検査領域にさしかかると色サ
ンプルに応じて受光信号は変化する(図中、b)。する
と、この変化により、受光値が背景彩度範囲内から外れ
るため、色サンプルが検査領域にさしかかったことが判
別される(S201〜S204)。さらに、その後、増
幅率の調整がなされる(図中、c)(S205〜S20
7)。そして、対象物確認範囲が設定され、図中、dに
示すように、連続して彩度値が対象物確認範囲内となれ
ば、彩度判定範囲及び明度判定範囲の設定を行う(S3
01、S302)。
When the color sample approaches the inspection area, the light receiving signal changes according to the color sample (b in the figure). Then, this change causes the received light value to be out of the background saturation range, so that it is determined that the color sample is approaching the inspection area (S201 to S204). Thereafter, the amplification factor is adjusted (c in the figure) (S205 to S20).
7). Then, the object confirmation range is set, and as shown in d in the figure, if the saturation value is continuously within the object confirmation range, the saturation determination range and the lightness determination range are set (S3).
01, S302).

【0037】このように本実施形態では、被検出物(色
サンプル)を検出領域に通過させるだけで感度(彩度判
定範囲、明度判定範囲)の調整を行うことができるか
ら、従来のようにサンプル等を検出領域にセットする手
作業等が不要となり、検出領域に手の届かない場合でも
容易に感度調整を行うことができる。しかも、被検出物
が検出領域にさしかかったことを判別した後、さらに彩
度値が対象物確認範囲に連続してあることを条件に被検
出物が検出領域内にあると判定、即ち、彩度値が所定幅
以上変化しないことを条件に被検出物が検出領域内にあ
ると判定するようにしているから、検出領域内に被検出
物が有ることの判断が確実なものとなり、もって感度調
整をより正確に行うことができる。また、色サンプルを
検査領域に通過させると、感度調整が行われると同時
に、その調整された感度により色サンプルに対して色判
定が行われる。従って、感度調整後にその感度調整が適
切であるか否かを判断するために実際の被検出物を検査
領域に通過させる必要がなくなり、感度調整に対する迅
速な後処理が可能となる。
As described above, in this embodiment, the sensitivity (saturation determination range and lightness determination range) can be adjusted only by passing an object to be detected (color sample) through the detection area. This eliminates the need for manual work for setting a sample or the like in the detection area, and allows easy sensitivity adjustment even when the detection area is not reachable. Moreover, after determining that the object is approaching the detection area, it is further determined that the object is within the detection area on condition that the saturation value is further continuous in the object confirmation range, that is, Since the object is determined to be within the detection area on the condition that the degree value does not change by a predetermined width or more, the determination that the object is within the detection area can be determined with certainty. The adjustment can be performed more accurately. When the color sample is passed through the inspection area, sensitivity adjustment is performed, and at the same time, color determination is performed on the color sample based on the adjusted sensitivity. Therefore, there is no need to pass the actual object to the inspection area after the sensitivity adjustment to determine whether or not the sensitivity adjustment is appropriate, and quick post-processing for the sensitivity adjustment can be performed.

【0038】<第2実施形態>以下、本発明のセンサの
自動感度調整装置を具体化した第2実施形態について図
9〜図14を参照して説明する。本実施形態では本発明
のセンサの自動感度調整装置は、光電センサに適用され
る。そのハードウェア構成を図9に示すブロック図に基
づいて説明する。
<Second Embodiment> Hereinafter, a second embodiment of the sensor automatic sensitivity adjusting device according to the present invention will be described with reference to FIGS. In the present embodiment, the sensor automatic sensitivity adjustment device of the present invention is applied to a photoelectric sensor. The hardware configuration will be described based on the block diagram shown in FIG.

【0039】(ハードウェア構成)図9中、21はCP
Uであり、このCPU21には、被検出物に対して投光
動作を行う投光素子22が駆動回路23を介して接続さ
れている。また、被検出物からの反射光を受光するため
の受光素子24が設けられており、その受光素子24は
増幅回路25及びA/D変換回路26を介してCPU2
1に接続されている。さらに、CPU21には、被検出
物に対する物体検出を行う物体検出プログラム等が書き
込まれている記憶部27、検出結果に基づいて検出信号
を出力する出力部28、自動感度設定ルーチンを実行さ
せるためのティーチングスイッチSW1が接続されてい
る。なお、記憶部27が本発明の基準値記憶手段に相当
する。また、ティーチングスイッチSW1は第1実施形
態同様にプッシュスイッチである。
(Hardware Configuration) In FIG.
U, and a light projecting element 22 that performs a light projecting operation on an object to be detected is connected to the CPU 21 via a drive circuit 23. Further, a light receiving element 24 for receiving the reflected light from the detection object is provided, and the light receiving element 24 is connected to the CPU 2 via an amplifier circuit 25 and an A / D conversion circuit 26.
1 connected. Further, the CPU 21 has a storage unit 27 in which an object detection program for performing object detection on an object to be detected is written, an output unit 28 that outputs a detection signal based on the detection result, and an automatic sensitivity setting routine. The teaching switch SW1 is connected. Note that the storage unit 27 corresponds to a reference value storage unit of the present invention. The teaching switch SW1 is a push switch as in the first embodiment.

【0040】(物体検出プログラム)図10は、物体検
出プログラムのフローチャートを示す。まず、ティーチ
ングスイッチSW1がオンされているか否かの判別を行
う(Q1)。ティーチングスイッチSW1がオンされて
いる場合には後述する自動感度設定ルーチンを実行する
(Q2)。
(Object Detection Program) FIG. 10 shows a flowchart of the object detection program. First, it is determined whether or not the teaching switch SW1 is turned on (Q1). When the teaching switch SW1 is turned on, an automatic sensitivity setting routine described later is executed (Q2).

【0041】その後、受光値Dを読み取り(Q3)、そ
の受光値Dがしきい値X以上か否かを判断する(Q
4)。そして、しきい値X以上であれば、出力部28に
検出信号を出力させ(Q5)、しきい値Xより小さけれ
ば検出信号を出力させない(Q6)。即ち、受光値Dが
しきい値X以上であるか否かを判定することにより物体
の検出を行うのである。なお、本実施形態では受光値が
本発明にいう計測信号に応じた値に相当する。
Thereafter, the received light value D is read (Q3), and it is determined whether or not the received light value D is equal to or larger than the threshold value X (Q
4). If the threshold value X is exceeded, the output unit 28 outputs a detection signal (Q5), and if it is smaller than the threshold value X, the detection signal is not output (Q6). That is, the object is detected by determining whether or not the light receiving value D is equal to or more than the threshold value X. In the present embodiment, the received light value corresponds to a value corresponding to the measurement signal according to the present invention.

【0042】続いて、ティーチングスイッチSW1がオ
ンされているか否かを判別し(Q7)、オンされていれ
ば、再度自動感度設定ルーチンを実行してから次の受光
値Dの判定を行い、オンされていなければ、自動感度設
定ルーチンを実行することなく次の受光値Dの判定を行
う。
Subsequently, it is determined whether or not the teaching switch SW1 is turned on (Q7). If the teaching switch SW1 is turned on, the automatic sensitivity setting routine is executed again, and the next light reception value D is determined. If not, the next light reception value D is determined without executing the automatic sensitivity setting routine.

【0043】(自動感度設定ルーチン)自動感度設定ル
ーチンは、上記第1実施形態同様に被検出物としての基
準サンプルに基づいて実行される。まず、基準サンプル
が検査領域内にない状態に基づいて基準範囲の設定を行
うための基準範囲設定ルーチンを実行する(Q10
0)。続いて、上記基準範囲に基づいて基準サンプルが
検出領域内にあるか否かの判定を行う対象物判定ルーチ
ン(本発明の対象物判定手段に相当する)を実行する
(Q200)。そして、基準サンプルが検出領域内にあ
ると判定されれば、上記基準範囲設定ルーチンと対象物
判定ルーチンによって読み取られる受光値D0 と受光値
D1 からしきい値Xを以下のように求める(Q30
0)。 X=(D0 +D1 )/2 即ち、しきい値Xは検査領域に基準サンプルがない状態
における受光値D0 と検査領域に基準サンプルがある状
態における受光値D1 の中間に設定されるのである。こ
のしきい値Xの設定が本発明の感度調整手段に相当す
る。
(Automatic Sensitivity Setting Routine) The automatic sensitivity setting routine is executed based on a reference sample as an object to be detected, as in the first embodiment. First, a reference range setting routine for setting a reference range based on a state where the reference sample is not in the inspection area is executed (Q10).
0). Subsequently, an object determination routine (corresponding to the object determination means of the present invention) for determining whether or not the reference sample is within the detection area based on the reference range is executed (Q200). If it is determined that the reference sample is within the detection area, the threshold value X is obtained from the received light value D0 and the received light value D1 read by the reference range setting routine and the object determination routine as follows (Q30).
0). X = (D0 + D1) / 2 That is, the threshold value X is set between the light receiving value D0 when there is no reference sample in the inspection area and the light receiving value D1 when there is a reference sample in the inspection area. The setting of the threshold value X corresponds to the sensitivity adjusting means of the present invention.

【0044】(基準範囲設定ルーチン)基準サンプルが
検査領域内にない状態において受光値D0 を読み取り
(Q101)、その受光値D0 に対応する許容値aを記
憶部27内のテーブルから読み込む(Q102)。そし
て、基準範囲(B- ,B+ )を以下のように計算し、そ
の計算結果を記憶部28に記憶する(Q103)。な
お、B- は基準範囲の下限値を示し、B+ は基準範囲の
上限値を示す。また、この基準範囲が本発明にいう基準
値に相当する。 B- =D0 −a B+ =D0 +a
(Reference range setting routine) When the reference sample is not in the inspection area, the received light value D0 is read (Q101), and the allowable value a corresponding to the received light value D0 is read from the table in the storage unit 27 (Q102). . Then, the reference range (B−, B +) is calculated as follows, and the calculation result is stored in the storage unit 28 (Q103). B- indicates the lower limit of the reference range, and B + indicates the upper limit of the reference range. This reference range corresponds to the reference value according to the present invention. B− = D0−a B + = D0 + a

【0045】(対象物判定ルーチン)受光値D1 を読み
取る(Q201)。そして、その受光値D1 が基準範囲
(B- ,B+ )内であるか否かの判別を行う(Q20
2)。受光値D1 が基準範囲内になければ基準サンプル
が検査領域にさしかかったと判断するとともに、さらに
そのことを確認する判別動作を行うために対象物確認範
囲(T- ,T+ )を以下のように求め、これを記憶部2
7に記憶する(Q203)。なお、T- は対象物確認範
囲の下限値を示し、T+ は対象物確認範囲の上限値を示
す。 T- =D1 −a T+ =D1 +a
(Object determination routine) The received light value D1 is read (Q201). Then, it is determined whether or not the received light value D1 is within the reference range (B-, B +) (Q20).
2). If the received light value D1 is not within the reference range, it is determined that the reference sample has reached the inspection area, and the object confirmation range (T−, T +) is determined as follows in order to perform a discriminating operation for confirming that. Storage unit 2
7 (Q203). T- indicates the lower limit of the object confirmation range, and T + indicates the upper limit of the object confirmation range. T− = D1−a T + = D1 + a

【0046】続いて、受光値D2 を読み取り(Q20
4)、その受光値D2 が対象物確認範囲(T- ,T+ )
内にあるか否かの判別を行い(Q205)、受光値D2
が対象物確認範囲内になければQ201に戻り受光値D
1 の読み取りを行う。
Subsequently, the received light value D2 is read (Q20).
4) The received light value D2 is the object confirmation range (T-, T +).
It is determined whether it is within the range (Q205), and the received light value D2
If is not within the object confirmation range, the process returns to Q201 and the received light value
Read 1

【0047】受光値D2 が対象物確認範囲(T- ,T+
)内にあれば、さらに受光値D3 を読み取り(Q20
6)、その受光値D3 が対象物確認範囲(T- ,T+ )
内にあるか否かの判別を行う(Q207)。そして、受
光値D3 が対象物確認範囲内になければQ201に戻り
受光値D1 の読み取りを行う。また、受光値D3 が対象
物確認範囲内となれば、ここで初めて基準サンプルが検
出領域内にあると判定し、確認のための判別動作を終了
する。
The received light value D2 is within the object confirmation range (T−, T +).
), The received light value D3 is further read (Q20).
6) The received light value D3 is the object confirmation range (T-, T +).
It is determined whether or not it is within (Q207). If the received light value D3 is not within the object confirmation range, the process returns to Q201 to read the received light value D1. If the received light value D3 is within the object confirmation range, it is first determined that the reference sample is within the detection area, and the determination operation for confirmation is terminated.

【0048】図14は、受光信号等のタイミングチャー
トを示す。図中、aはサンプルが検出領域にない状態で
あり、bはサンプルが検出領域にさしかかった状態であ
り、cは基準サンプルが完全に検出領域内に入り込んだ
状態である。aの状態における受光値から上記基準範囲
が設定される(Q101〜Q103)。そして、t1で
は受光信号が変化するため、そのことから基準サンプル
が検査領域にさしかかったと判断されるとともに、その
後、対象物確認範囲(T- ,T+ )が設定される(Q2
01〜Q203)。
FIG. 14 shows a timing chart of the light receiving signal and the like. In the figure, a is a state where the sample is not in the detection area, b is a state where the sample is approaching the detection area, and c is a state where the reference sample has completely entered the detection area. The reference range is set from the received light value in the state a (Q101 to Q103). At t1, the light receiving signal changes, so that it is determined that the reference sample has approached the inspection area, and then the object confirmation range (T-, T +) is set (Q2).
01 to Q203).

【0049】t1 からt1 の間において受光値は対象物
確認範囲にはないから、対象物判定ルーチンにおいて受
光値は繰り返し読み取られる。そして、t3 ,t4 ,t
5 で受光値は連続して対象物確認範囲内となるため、こ
こで初めて検出感度であるしきい値Xが設定される(Q
300)。その後、t6 では設定されたしきい値Xに基
づいて受光値が判定され(Q4)、受光値がしきい値X
以上であれば検出信号が出力される(Q5)。
Since the light reception value is not within the object confirmation range from t1 to t1, the light reception value is repeatedly read in the object determination routine. And t3, t4, t
Since the received light value continuously falls within the object confirmation range in step 5, the threshold X, which is the detection sensitivity, is set here for the first time (Q
300). Thereafter, at t6, the received light value is determined based on the set threshold value X (Q4), and the received light value is
If so, a detection signal is output (Q5).

【0050】このように本実施形態では、被検出物(基
準サンプル)を検出領域に通過させるだけで感度(しき
い値X)の調整を行うことができるから、従来のように
サンプル等を検出領域にセットする手作業等が不要とな
り、検出領域に手の届かない場合でも容易に感度調整を
行うことができる。しかも、被検出物が検出領域にさし
かかったと判別した後、受光値が対象物確認範囲(T-
,T+ )内に連続してあることを条件に被検出物が検
出領域内にあると判定、即ち、受光値が所定幅以上変化
しないことを条件に被検出物が検出領域内にあると判定
するようにしているから、被検出物に対する有無の判定
が確実なものとなり、もって感度調整をより正確に行う
ことができる。また、基準サンプルを検査領域に通過さ
せると、感度調整が行われると同時に、その調整された
感度により基準サンプルに対して物体検出が行われる。
従って、感度調整後にその感度調整が適切であるか否か
を判断するために実際の被検出物を検査領域に通過させ
る必要がなくなり、感度調整に対する迅速な後処理が可
能となる。
As described above, in the present embodiment, the sensitivity (threshold value X) can be adjusted only by passing the object to be detected (reference sample) through the detection area. This eliminates the need for manual work or the like for setting in the area, so that the sensitivity can be easily adjusted even when the detection area cannot be reached. Moreover, after it is determined that the object is approaching the detection area, the received light value is changed to the object confirmation range (T-
, T +), it is determined that the object is within the detection region on condition that the object is within the detection region on condition that the received light value does not change more than a predetermined width. Since the determination is made, the determination of the presence or absence of the detection object can be made surely, so that the sensitivity adjustment can be performed more accurately. When the reference sample is passed through the inspection area, sensitivity adjustment is performed, and at the same time, object detection is performed on the reference sample based on the adjusted sensitivity.
Therefore, there is no need to pass the actual object to the inspection area after the sensitivity adjustment to determine whether or not the sensitivity adjustment is appropriate, and quick post-processing for the sensitivity adjustment can be performed.

【0051】なお、本発明は上記各実施形態に限定され
るものではなく、例えば次のように変形して実施するこ
とができ、これらの実施形態も本発明の技術的範囲に属
する。 (1) 上記各実施形態では、色サンプル或いは基準サ
ンプルが1回検出領域を通過すれば感度調整が行われる
ように構成されていたが、サンプルを複数個用意し、こ
れらを検出領域に通過させてその平均値或いは最大値と
最小値より感度調整を行うようにしてもよい。
It should be noted that the present invention is not limited to the above embodiments, but can be modified as follows, for example, and these embodiments also belong to the technical scope of the present invention. (1) In each of the above embodiments, the sensitivity adjustment is performed when the color sample or the reference sample passes through the detection region once. However, a plurality of samples are prepared and these are passed through the detection region. The sensitivity may be adjusted based on the average value or the maximum value and the minimum value.

【0052】(2) 上記第1実施形態に以下の機能を
備えてもよい。 即ち、ティーチングスイッチSW1を有効・無効にす
るためのスイッチを設け、搬送ラインの稼働状態ではテ
ィーチングスイッチSW1を無効にするようにしてもよ
い。これにより、搬送ラインの稼働中に誤ってティーチ
ングスイッチが押されることが防止される。 また、上記のように自動で感度調整を行うか、従来の
ように手動で感度調整を行うか否かの切換スイッチを設
け、必要に応じて感度調整手段を選択できるようにして
もよい。
(2) The first embodiment may have the following functions. That is, a switch for enabling / disabling the teaching switch SW1 may be provided, and the teaching switch SW1 may be disabled while the transport line is operating. This prevents the teaching switch from being erroneously pressed during the operation of the transport line. Further, a switch may be provided to determine whether the sensitivity adjustment is performed automatically as described above or manually, as in the related art, so that the sensitivity adjustment means can be selected as needed.

【0053】(3) 上記第1実施形態の背景色範囲設
定ルーチンでは、色サンプルが検出領域にない状態にお
いて1つの受光値に基づいて背景彩度範囲と背景明度範
囲を設定するようにしたが、色サンプルが検出領域にな
い状態において複数の受光値を読み取り、その平均値等
から背景彩度範囲及び背景明度範囲を設定するようにし
てもよい。また、第2実施形態の基準範囲設定ルーチン
においても同様に、基準サンプルが検出領域にない状態
において複数の受光値を読み取り、その平均値等から基
準範囲を設定するようにしてもよい。
(3) In the background color range setting routine of the first embodiment, the background saturation range and the background lightness range are set based on one received light value in a state where the color sample is not in the detection area. Alternatively, a plurality of light reception values may be read in a state where the color sample is not in the detection area, and the background saturation range and the background lightness range may be set from the average value or the like. Similarly, in the reference range setting routine of the second embodiment, a plurality of received light values may be read in a state where the reference sample is not in the detection area, and the reference range may be set from an average value or the like.

【0054】(4) 上記第2実施形態は、反射型の光
電センサに適用した構成であったが、もちろん透過型の
光電センサにも適用できる。この場合、受光素子から出
力される受光信号のレベルが反射型とは逆になるため、
物体検出プログラムにおいて被検出物の判定をする場合
にはしきい値以下と判定することになる。
(4) Although the second embodiment is applied to a reflection type photoelectric sensor, it can be applied to a transmission type photoelectric sensor. In this case, since the level of the light receiving signal output from the light receiving element is opposite to that of the reflection type,
When an object to be detected is determined in the object detection program, it is determined to be equal to or less than the threshold value.

【0055】(5) 上記各実施形態では、彩度値或い
は受光値等が対象物確認範囲内にあるか否かの判別等
は、ソフトウェアによって構成されたが、これを判別す
るためにコンパレータ等を用いた構成でもよい。
(5) In each of the above embodiments, the determination as to whether or not the saturation value or the received light value is within the object confirmation range, etc., is implemented by software. May be used.

【0056】(6) 上記各実施形態では、彩度値或い
は受光値が連続して対象物確認範囲内となる場合に、色
サンプル或いは基準サンプルが検出領域内にあると判定
したが、受光値の変化量から判断するようにしてもよ
い。
(6) In each of the above embodiments, when the saturation value or the received light value is continuously within the object confirmation range, it is determined that the color sample or the reference sample is within the detection area. May be determined based on the amount of change.

【0057】(7) 上記各実施形態では、カラーセン
サや光電センサに適用した例を示したが、圧力センサ、
温度センサ、近接センサ等に適用してもよい。
(7) In each of the above embodiments, an example in which the present invention is applied to a color sensor or a photoelectric sensor has been described.
You may apply to a temperature sensor, a proximity sensor, etc.

【0058】(8) 上記第1実施形態では、受光信号
に対するサンプリング周期は200μS〜300μSに
設定されていたが、これに限定されるものではなく、搬
送ラインの速度と被検出物の長さから適当な値に設定す
ればよい。
(8) In the first embodiment, the sampling period for the light receiving signal is set to 200 μS to 300 μS. However, the present invention is not limited to this. What is necessary is just to set to an appropriate value.

【0059】(9) 上記各実施形態では、感度調整と
して彩度判定範囲、明度判定範囲、しきい値を調整する
構成であったが、増幅回路における増幅率或いは投光素
子の投光量を調整するようにしてもよい。
(9) In the above embodiments, the sensitivity adjustment range, the brightness determination range, and the threshold value are adjusted as the sensitivity adjustment. However, the amplification rate in the amplifier circuit or the light projection amount of the light emitting element is adjusted. You may make it.

【0060】(10) 上記各実施形態では、3回連続
して彩度値或いは受光値が対象物確認範囲内となれば被
検出物が検出領域内にあると判定されたが、それ以外の
回数であってもよい。
(10) In each of the above embodiments, the object is determined to be within the detection area if the saturation value or the received light value falls within the object confirmation range three times in succession. It may be the number of times.

【0061】(11) 上記第1実施形態では、彩度値
が連続して対象物確認範囲内となれば、最後に読み取っ
た受光値R3 ,G3 ,B3 から感度(彩度判定範囲及び
明度判定範囲)の調整を行ったが、これに限らず、感度
調整は、対象物確認範囲内で連続する彩度値に係わる受
光値(R1 ,G1 ,B1 〜R3 ,G3 ,B3 )の平均値
を求めそれに基づいて行ってもよく、要するに対象物確
認範囲内で連続する彩度値に係わる受光値(R1 ,G1
,B1 〜R3 ,G3 ,B3 )のうちの少なくとも一つ
に基づいて感度を調整するものであればよい。
(11) In the first embodiment, if the saturation value is continuously within the object confirmation range, the sensitivity (saturation determination range and lightness determination) is determined from the last read light reception values R3, G3, B3. Range), but the sensitivity adjustment is not limited to this, and the sensitivity adjustment is performed by calculating the average value of the received light values (R1, G1, B1 to R3, G3, B3) related to the continuous saturation value within the object confirmation range. The light receiving values (R1, G1) related to the continuous saturation values within the object confirmation range may be obtained.
, B1 to R3, G3, B3) as long as the sensitivity is adjusted based on at least one of them.

【0062】(12) 上記第1実施形態では、対象物
確認範囲は、彩度値と背景彩度範囲とが異なった後の受
光値R1 ,G1 ,B1 に基づいて設定されたが、対象物
確認範囲を色サンプルが検出領域にない状態における受
光値R0 ,G0 ,B0 に基づいて設定するようにしても
よい。
(12) In the first embodiment, the object confirmation range is set based on the received light values R1, G1, and B1 after the saturation value and the background saturation range are different. The confirmation range may be set based on the received light values R0, G0, B0 when the color sample is not in the detection area.

【0063】(13) 上記第1実施形態では、対象物
検出手段(対象物検出ルーチン)は、彩度値と背景彩度
範囲等とを比較し、これらが異なった後、彩度値が対象
物確認範囲内にあるか否かを繰り返し判別することによ
り検出領域内における被検出物(色サンプル)の有無を
判定する構成であったが、受光信号に応じた値が基準値
と異なった後、所定の時間の間、受光信号に応じた値が
一定領域内にあるか否かによって検出領域内における被
検出物の有無を判定するようにした構成でもよい。ま
た、第2実施形態の対象物検出手段(対象物検出ルーチ
ン)についても同様である。
(13) In the first embodiment, the object detection means (object detection routine) compares the saturation value with the background saturation range and the like. In this configuration, the presence or absence of an object (color sample) in the detection area is determined by repeatedly determining whether or not the object is within the object confirmation range. However, after the value corresponding to the received light signal is different from the reference value. Alternatively, the configuration may be such that during a predetermined time, the presence or absence of an object to be detected in the detection area is determined based on whether or not a value corresponding to the light receiving signal is within a certain area. The same applies to the object detection means (object detection routine) of the second embodiment.

【0064】(14) 上記各実施形態では、ティーチ
ングスイッチSW1がオンされた場合に自動感度設定ル
ーチンが実行されるように構成されていたが、ティーチ
ングスイッチを設けずに、例えばタイマ手段を用いて電
源投入時或いはセンサのリセット時から所定時間経過後
に自動感度設定ルーチンを実行するようにしてもよい。
その他、本発明は要旨を逸脱しない範囲内で種々変更し
て実施することができる。
(14) In each of the above embodiments, the automatic sensitivity setting routine is configured to be executed when the teaching switch SW1 is turned on. However, the teaching switch is not provided, and, for example, a timer unit is used. The automatic sensitivity setting routine may be executed when a predetermined time elapses after the power is turned on or when the sensor is reset.
In addition, the present invention can be implemented with various modifications without departing from the scope.

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

【図1】第1実施形態の全体を示すブロック図である。FIG. 1 is a block diagram showing the entire first embodiment.

【図2】同実施形態の色判定プログラムのフローチャー
トである。
FIG. 2 is a flowchart of a color determination program of the embodiment.

【図3】同実施形態の自動感度設定ルーチンを示すフロ
ーチャートである。
FIG. 3 is a flowchart illustrating an automatic sensitivity setting routine of the embodiment.

【図4】同実施形態の背景色範囲設定ルーチンを示すフ
ローチャートである。
FIG. 4 is a flowchart showing a background color range setting routine of the embodiment.

【図5】同実施5態の対象物判定ルーチンの前段部分を
示すフローチャートである。
FIG. 5 is a flowchart illustrating a first part of an object determination routine according to the fifth embodiment.

【図6】同実施形態の対象物判定ルーチンの後段部分を
示すフローチャートである。
FIG. 6 is a flowchart showing a latter part of the object determination routine of the embodiment.

【図7】同実施形態の感度調整ルーチンを示すフローチ
ャートである。
FIG. 7 is a flowchart illustrating a sensitivity adjustment routine of the embodiment.

【図8】同実施形態の受光信号を示す波形図である。FIG. 8 is a waveform chart showing a light receiving signal of the embodiment.

【図9】第2実施形態の全体を示すブロック図である。FIG. 9 is a block diagram showing the entire second embodiment.

【図10】同実施形態の物体検出プログラムを示すフロ
ーチャートである。
FIG. 10 is a flowchart showing an object detection program of the embodiment.

【図11】同実施形態の自動感度設定ルーチンを示すフ
ローチャートである。
FIG. 11 is a flowchart showing an automatic sensitivity setting routine of the embodiment.

【図12】同実施形態の基準範囲設定ルーチンを示すフ
ローチャートである。
FIG. 12 is a flowchart showing a reference range setting routine of the embodiment.

【図13】同実施形態の対象物判定ルーチンを示すフロ
ーチャートである。
FIG. 13 is a flowchart illustrating an object determination routine of the embodiment.

【図14】同実施形態のタイミングチャートである。FIG. 14 is a timing chart of the embodiment.

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

4…受光素子(検出部) 9…記憶部(基準値記憶手段) 24…受光素子(検出部) 28…記憶部(基準値記憶手段) 4 ... Light receiving element (detection unit) 9 ... Storage unit (reference value storage unit) 24 ... Light receiving element (detection unit) 28 ... Storage unit (reference value storage unit)

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 検出領域を通過する被検出物に対して検
出部から出力される計測信号に基づいて各種の検出を行
うセンサに対し、そのセンサの検出感度を自動調整する
ものであって、 前記被検出物が検出領域を通過する前の状態における前
記計測信号に応じた値を基準値として記憶する基準値記
憶手段と、 前記基準値記憶手段に記憶された基準値と前記計測信号
に応じた値とを比較し、それらが異なった後に所定幅以
上計測信号に応じた値が変化しないことを条件に前記検
出領域内に被検出物が有ると判定する対象物判定手段
と、 前記対象物判定手段によって被検出物が前記検出領域内
に有りと判定された後、前記計測信号に応じた値から感
度調整を行う感度調整手段とを備えて構成されることを
特徴とするセンサの自動感度調整装置。
To 1. A sensor for various detection based on the measurement signal detector or RaIzuru force against the object to be detected that passes through the detection region, be one that automatically adjusts the detection sensitivity of the sensor A reference value storage unit that stores, as a reference value, a value corresponding to the measurement signal in a state before the object passes through the detection region; a reference value stored in the reference value storage unit and the measurement signal Object determination means that determines that there is an object in the detection area on the condition that the value corresponding to the measurement signal does not change by a predetermined width or more after they differ, and And a sensitivity adjusting unit configured to perform sensitivity adjustment from a value corresponding to the measurement signal after the object to be detected is determined to be present in the detection area by the object determining unit. Automatic sensitivity adjustment device.
JP23346596A 1996-09-03 1996-09-03 Automatic sensor sensitivity adjustment device Expired - Fee Related JP3169839B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP23346596A JP3169839B2 (en) 1996-09-03 1996-09-03 Automatic sensor sensitivity adjustment device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP23346596A JP3169839B2 (en) 1996-09-03 1996-09-03 Automatic sensor sensitivity adjustment device

Publications (2)

Publication Number Publication Date
JPH1078352A JPH1078352A (en) 1998-03-24
JP3169839B2 true JP3169839B2 (en) 2001-05-28

Family

ID=16955465

Family Applications (1)

Application Number Title Priority Date Filing Date
JP23346596A Expired - Fee Related JP3169839B2 (en) 1996-09-03 1996-09-03 Automatic sensor sensitivity adjustment device

Country Status (1)

Country Link
JP (1) JP3169839B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102628930A (en) * 2012-04-12 2012-08-08 山西省机电设计研究院 Automatic detection line for mutual inductor

Also Published As

Publication number Publication date
JPH1078352A (en) 1998-03-24

Similar Documents

Publication Publication Date Title
JPS62215848A (en) Sensing apparatus
JP3169839B2 (en) Automatic sensor sensitivity adjustment device
JP3548763B2 (en) Detecting device and its output setting method
JP3181250B2 (en) Photoelectric sensor and color sensor
JPH11325823A (en) Distance measuring device, object detecting device using the same, and light receiving signal processing circuit
JPH09287922A (en) Measuring device for strip material
JP3409108B2 (en) Full color photoelectric sensor
JP2597636Y2 (en) Optical object detector
JP3385043B2 (en) Image measurement device
JP2516092Y2 (en) Photoelectric switch
JP3632103B2 (en) Photoelectric switch
JPH05206821A (en) Photoelectric switch and controlling method thereof
JP3281986B2 (en) Image measurement device
JPH09167951A (en) Photoelectric switch
JPH0541414Y2 (en)
JP3482285B2 (en) Photoelectric switch
JPH0428070Y2 (en)
JPH08339746A (en) Photoelectric sensor
JPH0726692Y2 (en) Inspection device for thin film coating agent
JPS5995413A (en) Distance detector
JP2513359Y2 (en) Detection switch device
JPH0663843B2 (en) Article color identification device
JP2003229752A (en) Detection sensor
KR20040051769A (en) Method and apparatus scanning a image
JPH02297028A (en) Color identification device

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110316

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120316

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130316

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130316

Year of fee payment: 12

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130316

Year of fee payment: 12

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140316

Year of fee payment: 13

LAPS Cancellation because of no payment of annual fees