JP2004320372A - Photoelectric sensor device - Google Patents

Photoelectric sensor device Download PDF

Info

Publication number
JP2004320372A
JP2004320372A JP2003110677A JP2003110677A JP2004320372A JP 2004320372 A JP2004320372 A JP 2004320372A JP 2003110677 A JP2003110677 A JP 2003110677A JP 2003110677 A JP2003110677 A JP 2003110677A JP 2004320372 A JP2004320372 A JP 2004320372A
Authority
JP
Japan
Prior art keywords
light
photoelectric sensor
sensor device
level
light receiving
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.)
Granted
Application number
JP2003110677A
Other languages
Japanese (ja)
Other versions
JP4009951B2 (en
Inventor
Setsu Takeuchi
節 竹内
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.)
Azbil Corp
Original Assignee
Azbil Corp
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 Azbil Corp filed Critical Azbil Corp
Priority to JP2003110677A priority Critical patent/JP4009951B2/en
Publication of JP2004320372A publication Critical patent/JP2004320372A/en
Application granted granted Critical
Publication of JP4009951B2 publication Critical patent/JP4009951B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Electronic Switches (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a photoelectric sensor device having excellent handleability capable of simplifying a wiring work by realizing automatic regulation of a photodetecting sensitivity in response to an aging photodetecting level change, and eliminating the necessity of grasping an operating state and instructing a sensitivity regulation. <P>SOLUTION: The photoelectric sensor device includes a light emitting unit and a photodetector for forming a predetermined optical path. The photoelectric sensor device photodetects the light emitted from the light emitting unit or its reflected light by the photodetector, and detects the optical state in the optical path from the photodetecting level or more concretely the invasion of an object. The photoelectric sensor device further includes a comparator for comparing the photodetecting level of the photodetector with a predetermined threshold value to output a signal showing the presence or absence of the object, and a calibrating means for calibrating the threshold value according to the photodetecting level by the photodetector at timing of elapsing a predetermined time from the rise and/or fall timing of the signal output from this comparator. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
本発明は、投光器から発せられた光の受光器による受光レベルの変化から上記投光器と受光器との間に形成される光路内の光学的状態、具体的には光路内への物体の侵入等を検出する光電センサ装置に関する。
【0002】
【関連する背景技術】
投光器と受光器とを備えた光電センサ装置には、透過形のものと反射形のものとがある。透過形の光電センサ装置は、基本的には投光器(投光部)と受光器(受光部)とを所定の距離を隔てて対峙させ、これらの投光器と受光器との間に形成される光路内に物体が侵入したとき、これによって投光器から発せられた光の受光器による受光レベル(受光量)が変化することを利用して物体検出を行うものである。
【0003】
また反射形の光電センサ装置は、投光器(投光部)と受光器(受光部)とその光軸方向を揃えて並べて設け、投光器から発した光の物体による反射光を受光器にて検出することで物体検出を行うものである。即ち、この反射形の光電センサは、光軸上に物体が存在しないときには物体による反射光がなくなり、また光軸上に物体が存在する場合には、物体までの距離に応じた強度(受光量)の反射光が受光されることを利用して物体検出を行うように構成される(例えば特許文献1,2を参照)。
【0004】
このような投光器と受光器との間に形成される光路内の光学的状態を、上記受光器による受光量(受光レベル)の変化として検出する光電センサ装置は、物体検出や物体判定等の各種の用途に利用される。尚、光路内の光学的状態とは、検出対象物における光の反射率や透過率、更にはその形状のみならず、検出対象物までの距離に依存する光の伝達量(伝搬率)等を指す。
【0005】
【特許文献1】
特開平5−308268号公報
【特許文献2】
特開平9−116411号公報
【0006】
【発明が解決しようとする課題】
ところでこの種の光電センサ装置においては、例えば投光器や受光器の経時的な特性劣化や検出対象物の汚れに起因する光学的特性変化、更には背景の明るさ等に伴って、受光器による受光レベルが次第に低下してくることが否めない。このような現象は、一般的には光電センサの感度低下と称せられる。そこで従来一般的には、特許文献1,2に開示されるように、所定の条件下において光電センサの受光感度を校正することが行われている。この受光感度の校正は、具体的には物体が存在するか否かによって変化する受光レベルの判定閾値(スレシュホールド)を、そのときの受光レベルに応じて調整することによって行われる。尚、センシングアンプの利得(ゲイン)を調整したり、或いは投光器からの投光量を調整して、受光感度を調整することもある。
【0007】
ちなみに従来の光電センサ装置においては、専ら、リモートチューニングと称されるように感度調整(校正)の為の制御信号を外部から遠隔的に与えるものなっている。そしてこのようなリモートチューニングを実現するべく、光電センサ装置に対して、その動作電力を供給する一対の電源線と、物体検出信号を出力する出力線に加えて、リモート制御用の制御線とからなる4芯のケーブルを接続するようにしている。
【0008】
しかしながら工場等の各種の現場等において数多くの光電センサ装置が設けられるような場合、光電センサ装置1台当たりの結線数が4本と少なくても、全体的には数多くの結線を行う必要があり、その結線作業に多大な手間と時間が掛かることが否めない。また各光電センサ装置の動作状況を把握しながら適切なタイミングでオートチューニングの指令(制御信号)を個々に与える必要がある。しかも各光電センサ装置の動作状況を把握すること自体が非常に煩わしいと言う問題がある。
【0009】
本発明はこのような事情を考慮してなされたもので、その目的は、結線作業の簡素化を図ると共に、投光器や受光器の経時的な特性劣化等に応じてその受光感度を自動的に適正設定することで、その動作状況の把握と感度調整の指令とを不要にすることのできる取り扱い性に優れた光電センサ装置を提供することにある。
【0010】
【課題を解決するための手段】
上述した目的を達成するべく本発明に係る光電センサ装置は、所定の光路を形成する投光器および受光器を備え、上記投光器から発した光またはその反射光を前記受光器にて受光してその受光レベルから上記光路内の光学的状態を、具体的には光路内への物体の侵入等を検出するものであって、
前記受光器による受光レベルを所定の閾値と比較して前記物体の有無を示す信号を出力する比較器と、
この比較器から出力される信号の所定の変化を呈するタイミング、例えば立上りおよび/または立下りのタイミングから一定の時間が経過したタイミングにおいて前記受光器による受光レベルに従って前記閾値を校正する校正手段と
を具備したことを特徴としている。
【0011】
即ち、本発明に係る光電センサ装置は、受光器による受光レベルを所定の閾値と比較して前記物体の有無を示す信号を出力する比較器を備えること、そしてこの比較器の出力信号の立上りおよび/または立下りのタイミングから一定の時間が経過したタイミングにおいては前記受光器による受光レベルが安定していることに着目したもので、
前記比較器の出力信号の立上りおよび/または立下りのタイミングから一定の時間が経過したタイミングにおける前記受光器による受光レベルを検出し、この受光レベルに従って前記比較器に与える閾値(検出感度)を自動的に校正するようにしたことを特徴としている。具体的には比較器の出力信号の立上りおよび/または立下りのタイミングを一定時間遅延し、その遅延したタイミングにて受光器による受光レベルに基づく閾値(検出感度)の再設定処理を実行するようにしたことを特徴としている。
【0012】
このように構成された光電センサ装置によれば、該光電センサ装置の動作状況を外部にて把握する必要がなくなり、また外部から感度調整の指令を与える必要がなくなる。そして外部から感度調整の指令を与える必要がないので、光電センサ装置に接続すべき芯線数を、例えばその動作電力を供給する一対の電源線と、物体検出信号を出力する出力線との3本にすることができるので、結線作業の負担を軽減することが可能となる。尚、一対の電源線間のインピーダンスを変化させることで検出信号を出力するように構成し、電源線を信号出力線と兼用するようにすれば、更にその芯線数を少なくして結線作業の負担を更に軽減することが可能となる。
【0013】
尚、前記校正手段に前記受光器による受光レベルの安定状態を判定し、受光レベルが不安定なときには前記閾値の校正処理を禁止する校正制御手段を組み込んでおくことが好ましい。そして受光レベルが不安定な場合には閾値の校正(再調整)を中止し、既に設定されている閾値をそのまま用いて物体検出(受光レベルの判定)処理を行うようにすれば良い。
【0014】
【発明の実施の形態】
以下、図面を参照して本発明の一実施形態に係る光電センサ装置について説明する。
図1はこの実施形態に係る光電センサ装置の要部概略構成を示すもので、1は、例えば波長660nmのレーザ光を発光する発光ダイオード(LED)からなる投光器、2は上記レーザ光を、或いはその反射光を受光するフォトダイオード(PD)からなる受光器である。これらの投光器1および受光器2は、反射形の光電センサを構成するものであっても良く、或いは透過型の光電センサを構成するものであっても良い。
【0015】
尚、ここでは投光器1から所定の物体検出対象領域に対して光を直接を投射し、また受光器2は上記物体検出対象領域からの光を直接受光するものとして説明するが、図示しない光ファイバを介して所定の物体検出対象領域に光を投射し、物体検出対象領域からの光を図示しない光ファイバを介して受光するものであっても良い。
【0016】
さて受光器2は、受光した光の強度(受光量)に応じたレベルの信号を出力するものであり、その出力信号(受光レベル)は図示しない周波数選別フィルタ等を含む前置増幅回路(ヘッドアンプ)を介して増幅された後、AD変換器3を介してデジタル変換されてマイクロコンピュータ等からなる信号処理回路4に、例えば200μSec毎に取り込まれるようになっている。この信号処理回路4は、基本的にはメモリ5に設定された判定閾値Tと、前記AD変換器3から与えられる前記受光器2による受光レベルRとを比較して前記物体検出対象領域における物体の有無を示す判定信号を出力するレベル判定器(比較器)6を備えて構成される。このレベル判定器(比較器)6による判定信号が、光電センサ装置による検出信号として外部出力される。尚、設定手段9は、後述する遅延時間Tdや受光レベルRの安定性を判定するための時間等、光電センサ装置における動作条件を設定する役割を担う。
【0017】
ちなみにレベル判定器(比較器)6は、例えば受光レベルRが判定閾値Tを上回る場合に[L]レベルの信号を出力し、受光レベルRが判定閾値Tを下回る場合には[H]レベルの信号を出力する機能を備える。受光レベルRの安定性を重視する場合には、前記レベル判定器(比較器)6を、受光レベルRが所定時間に亘って判定閾値Tを上回る場合に[L]レベルの信号を出力し、受光レベルRが所定時間に亘って判定閾値Tを下回る場合には[H]レベルの信号を出力するように構成するようにしても良い。尚、逆に受光レベルRが判定閾値Tを上回る場合に[H]レベルの信号を出力し、受光レベルRが判定閾値Tを下回る場合には[L]レベルの信号を出力するようにレベル判定器(比較器)6を構成することも勿論可能である。
【0018】
このような基本的な機能を備えた光電センサ装置において、この発明(実施形態)が特徴とするところは、前記レベル判定器(比較器)6の出力の立上りタイミングまたは立ち下りタイミングを一定時間Tdに亘って遅延する遅延回路7を備え、その遅延出力を入力して判定閾値Tを再設定(校正)する校正回路8を備える点にある。遅延回路7については、ハードウェア的には前記レベル判定器(比較器)6の出力をそのまま一定時間Tdに亘って遅延するものであっても良いが、ソフトウェア的には、例えばレベル判定器(比較器)6の出力の立上りおよび/または立ち下りエッジを検出し、そのエッジ検出タイミングから一定時間Td後に前記校正回路8に対してトリガパルスを与えるようなものであれば良い。
【0019】
一方、前記校正回路8は、上述したトリガパルスが与えられたとき、そのときの前記受光器2による受光レベル(AD変換器3の出力値)Rに従って、例えばその75%のレベルを判定閾値Tとして設定し、これを前記メモリ5に登録することで判定閾値Tを更新する役割を担う。そして更新した判定閾値Tをその後の受光レベルRの判定に用いるように、自動的に判定閾値Tの校正を行うものとなっている(オートキャリブレーション)。
【0020】
具体的には図2に例示するように受光レベルの立ち上がりを検出したとき、その検出タイミングを一定時間Tdだけ遅延したタイミングで校正回路8がトリガがされて判定閾値Tを校正するものとなっている。この受光レベルRの立ち上がりタイミングから一定時間Tdを経過したタイミングは、受光レベルRが十分に立ち上がり、そのレベルが安定した状態である。換言すれば上記遅延時間Tdは、受光レベルRが立ち上がって十分に安定する状態に至る時間を見込んで設定される。そして校正回路8においては安定した状態での受光レベルRを検出し、この受光レベルRに従って判定閾値Tを校正している。この判定閾値Tの校正処理は、受光レベルの立ち上がりが検出される都度、繰り返し実行される。従って受光レベルRが経時的な変化に伴って徐々に低下するような場合には、その受光レベルRの低下に伴って判定閾値Tも徐々に低減補正されて行くことになる。
【0021】
但し、上記遅延時間Tdが経過する前に受光レベルRが、その判定閾値Tを跨いで変化してしまった場合には、遅延時間Tdを計時する遅延回路7は校正回路8をトリガすることなくリセットされる。これによって遅延回路7は計時待ちの状態に戻り、受光レベルRが判定閾値Tを上回る次のタイミングまで待機することになる。
【0022】
尚、受光器2による受光量が低いときの受光レベルRをも勘案して判定閾値Tを設定する必要がある場合には、例えば受光レベルの立ち下がりの検出タイミングを一定時間Tdだけ遅延したタイミングで検出される受光レベルRlowを記憶しておき、その後、受光レベルの立ち上がりの検出タイミングを一定時間Tdだけ遅延したタイミングで受光レベルRhighを検出した時点で、これらの受光レベルRhigh,Rlowに従って判定閾値Tを設定するようにすれば良い。
【0023】
かくしてこのような判定閾値Tの自動校正機能を備えた光電センサ装置によれば、物体有無を示す検出信号の出力タイミングを利用して、その時点で求められる受光レベルに従って自らその判定閾値Tを自動的に校正するので、外部からわざわざ判定閾値校正の為の制御信号を与える必要がない。従って外部から光電センサ装置に対して制御信号を与えるための制御線を接続する必要がないので、制御線を必要としない分、光電センサ装置に対して接続すべき芯線数を少なくすることができる。これ故、光電センサ装置に対する結線負担を軽減することができる。
【0024】
また上述した判定閾値Tの自動校正機能を備えているので、外部において光電センサ装置の動作状態を監視し、その動作状態に応じて光電センサ装置に対して感度調整(判定閾値の校正)の為の制御信号を与える必要もなくなる。従って光電センサ装置に対する監視負担を無くすことができる上、その都度、光電センサ装置に対して適切なタイミングで上記制御信号を与えると言う作業負担もなくなるので、その遣い勝手を格段に向上させることが可能となる。特に工場等の現場においては、この種の光電センサ装置が、例えば100台以上に亘って併設されることが多々あるので、このような使用環境における上述した自動校正機能が果たす結線作業負担の軽減等の効果は絶大である。特に一定速度で移動するベルトコンベア上に等間隔で並べられて搬送される複数の同一形状の製品を検出対象とするような場合、上述した自動校正機能を備えた光電センサ装置は極めて有用である。
【0025】
ところで、例えば投光器1と受光器2とが形成する光路内への物体の侵入の周期に比較して受光器2による受光レベルの検出周期が十分に短いような場合には、校正回路8において受光レベルの立ち上がりおよび/または立ち下がりの検出タイミングから所定時間経過後の一定期間に亘って該受光レベルの変動を監視するようにしても良い。そして図3に示すように受光レベルの変動量の判定し(ステップS1)、変動量が大きいときには前述した判定閾値Tの校正処理を禁止し(ステップS2)、変動量が少ないときにだけ判定閾値Tの校正処理の実行を許可する(ステップS3)、校正制御手段を備えることが好ましい。
【0026】
ちなみに上述した受光レベルの変動量の検出については、例えば前記受光レベルの立ち上がりおよび/または立ち下がりの検出タイミングから所定時間経過後の一定時間における受光レベルのピーク値とボトム値とをそれぞれ検出し、これらの検出値の差が大きいか否かを判定すれば良い。或いは上記一定期間における受光レベル平均値を求め、この平均値と上記一定期間における受光レベルのピーク値またはボトム値との差が大きいか否かを判定して変動量の大きさを判定するようにしても良い。具体的には、例えば200μSec程度の短いサンプリング周期で受光器2による受光レベルRを逐次検出しているような場合には、10〜20mSec程度の期間に亘って受光レベルRの平均値とその変動量を求めて該受光レベルの安定性を判定するようにすれば良い。
【0027】
このようにして判定閾値Tの校正処理の実行を制御手段を備えれば、受光器2による受光レベルRが不安定な状態であるとき、その不安定な受光レベルRに基づいて判定閾値Tを校正するような不具合を回避することができる。従って物体検出の要となる判定閾値Tの信頼性が損なわれることがなくなり、常に信頼性の高い物体検出を行うことが可能となる。
【0028】
尚、本発明は上述した実施形態に限定されるものではない。例えば物体検出に用いる光については、前述したLED光のみならずランプから発せられる可視光や赤外光等を用いることも可能である。またここでは受光器2による受光レベルをデジタル変換して信号処理したが、アナログ信号レベルでそのまま処理することも勿論可能である。また受光レベルの立上りまたは立下りタイミングからの遅延時間Tdについても、物体の検出使用に応じて定めれば良いものであり、光電センサ装置に対してプリセットし得るように構成しておけば十分である。その他、本発明はその要旨を逸脱しない範囲で種々変形して実施することができる。
【0029】
【発明の効果】
以上説明したように本発明に係る光電センサ装置よれば、受光レベルの所定の変化を呈するタイミング、具体的には受光レベルの立上りおよび/または立下りのタイミングを基準として、一定時間だけ遅延したタイミングでそのときの受光レベルを検出して物体検出の為の上記受光レベルに対する判定閾値を自動的に校正するので、即ち、検出感度を自動的に校正するので、受光レベルの経時的な変動に拘わることなく常に安定した物体検出を行い得る。しかも外部から検出感度調整の為の制御信号を与える必要がないので、光電センサ装置の動作状態を監視する必要がなくなることのみならず、光電センサ装置に接続すべき芯線数を減らすことができるので、その結線作業負担を大幅に軽減することができる等の実用上多大なる効果が奏せられる。
【図面の簡単な説明】
【図1】本発明の一実施形態に係る光電センサ装置の要部概略構成図。
【図2】図1に示す光電センサ装置における判定閾値の校正タイミングを示す図。
【図3】本発明に係る受光レベルの変動量に応じた閾値校正処理の実行/禁止制御の形態を示す図。
【符号の説明】
1 投光器
2 受光器
3 AD変換器
4 信号処理回路(マイクロコンピュータ)
5 メモリ(判定閾値)
6 レベル判定器(比較器)
7 遅延回路
8 校正回路
9 設定手段
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention is directed to an optical state in an optical path formed between the light emitting device and the light receiving device based on a change in a light receiving level of light emitted from the light emitting device by the light receiving device. The present invention relates to a photoelectric sensor device for detecting
[0002]
[Related background art]
The photoelectric sensor device including the light emitter and the light receiver includes a transmission type and a reflection type. The transmission type photoelectric sensor device basically has a light emitter (light emitter) and a light receiver (light receiver) facing each other at a predetermined distance, and an optical path formed between the light emitter and the light receiver. When an object enters the interior, the object detection is performed by utilizing the fact that the light reception level (light reception amount) of the light emitted from the light projector by the light receiver changes.
[0003]
In addition, the reflection type photoelectric sensor device is provided with a light emitter (light emitter) and a light receiver (light receiver) aligned with their optical axis directions, and detects light reflected from an object of light emitted from the light emitter with the light receiver. In this way, object detection is performed. That is, this reflection type photoelectric sensor has no intensity of light reflected by an object when there is no object on the optical axis, and when there is an object on the optical axis, the intensity (light reception amount) according to the distance to the object. ) Is configured to detect an object by using the reflected light of (1) (for example, see Patent Documents 1 and 2).
[0004]
Such a photoelectric sensor device that detects the optical state in the optical path formed between the light emitter and the light receiver as a change in the amount of light received by the light receiver (light reception level) can be used for various purposes such as object detection and object determination. Used for applications. Note that the optical state in the optical path refers to not only the reflectance and transmittance of light on the detection target, but also its shape, as well as the amount of light transmission (propagation) depending on the distance to the detection target. Point.
[0005]
[Patent Document 1]
JP-A-5-308268 [Patent Document 2]
Japanese Patent Application Laid-Open No. Hei 9-116411
[Problems to be solved by the invention]
By the way, in this type of photoelectric sensor device, for example, the light receiving by the light receiving device is caused by the deterioration of the characteristics of the light emitting device or the light receiving device over time, the change of the optical characteristics due to the contamination of the detection target, and the brightness of the background. It cannot be denied that the level gradually decreases. Such a phenomenon is generally referred to as a decrease in the sensitivity of the photoelectric sensor. Therefore, conventionally, as disclosed in Patent Documents 1 and 2, the light receiving sensitivity of the photoelectric sensor is calibrated under predetermined conditions. Specifically, the calibration of the light receiving sensitivity is performed by adjusting a light receiving level determination threshold (threshold) that changes depending on whether an object is present or not according to the light receiving level at that time. The light receiving sensitivity may be adjusted by adjusting the gain of the sensing amplifier or adjusting the amount of light emitted from the light projector.
[0007]
By the way, in the conventional photoelectric sensor device, a control signal for sensitivity adjustment (calibration) is provided from the outside remotely, exclusively called remote tuning. In order to realize such remote tuning, a pair of power supply lines for supplying operating power to the photoelectric sensor device, an output line for outputting an object detection signal, and a control line for remote control are provided. 4 core cables are connected.
[0008]
However, when a large number of photoelectric sensor devices are provided at various sites such as factories and the like, even if the number of connections per photoelectric sensor device is as small as four, it is necessary to perform many connections as a whole. It is unavoidable that the connection work takes a lot of trouble and time. In addition, it is necessary to individually give an auto-tuning command (control signal) at an appropriate timing while grasping the operation status of each photoelectric sensor device. In addition, there is a problem that it is very troublesome to grasp the operation status of each photoelectric sensor device.
[0009]
The present invention has been made in view of such circumstances, and its purpose is to simplify the connection work, and to automatically adjust the light receiving sensitivity according to the deterioration of the characteristics of the projector and the receiver over time. It is an object of the present invention to provide a photoelectric sensor device excellent in handleability, which can make it unnecessary to grasp the operation state and to issue a command for sensitivity adjustment by properly setting.
[0010]
[Means for Solving the Problems]
In order to achieve the above object, a photoelectric sensor device according to the present invention includes a light emitter and a light receiver that form a predetermined optical path, and receives light emitted from the light emitter or reflected light thereof by the light receiver and receives the light. The optical state in the optical path from the level, specifically, to detect the intrusion of an object into the optical path and the like,
A comparator that outputs a signal indicating the presence or absence of the object by comparing the light reception level of the light receiver with a predetermined threshold,
Calibration means for calibrating the threshold value in accordance with the light receiving level of the light receiver at a timing when a predetermined change of the signal output from the comparator is exhibited, for example, at a timing when a certain time has elapsed from the rising and / or falling timing. It is characterized by having.
[0011]
That is, the photoelectric sensor device according to the present invention includes a comparator that compares the light reception level of the light receiver with a predetermined threshold and outputs a signal indicating the presence or absence of the object, and the rising and falling of the output signal of the comparator. // Attention is paid to the fact that the light receiving level by the light receiver is stable at a timing when a certain time has elapsed from the falling timing.
A light receiving level of the light receiver is detected at a timing when a predetermined time has elapsed from a rising and / or falling timing of the output signal of the comparator, and a threshold (detection sensitivity) given to the comparator is automatically determined according to the light receiving level. It is characterized by being calibrated dynamically. Specifically, the rising and / or falling timing of the output signal of the comparator is delayed for a predetermined time, and the threshold (detection sensitivity) is reset at the delayed timing based on the light receiving level of the light receiver. It is characterized by having.
[0012]
According to the photoelectric sensor device configured as described above, it is not necessary to externally grasp the operation state of the photoelectric sensor device, and it is not necessary to externally issue a sensitivity adjustment command. Since there is no need to externally issue an instruction for sensitivity adjustment, the number of core wires to be connected to the photoelectric sensor device is determined by, for example, a pair of power lines for supplying the operating power and an output line for outputting an object detection signal. Therefore, it is possible to reduce the burden of the connection work. If the detection signal is output by changing the impedance between a pair of power supply lines, and the power supply line is also used as a signal output line, the number of core wires is further reduced to reduce the burden of connection work. Can be further reduced.
[0013]
It is preferable that the calibrating means include a calibration control means for judging a stable state of the light receiving level of the light receiver and prohibiting the threshold value calibrating process when the light receiving level is unstable. If the light reception level is unstable, calibration (readjustment) of the threshold is stopped, and the object detection (determination of the light reception level) may be performed using the threshold that has already been set.
[0014]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, a photoelectric sensor device according to an embodiment of the present invention will be described with reference to the drawings.
FIG. 1 shows a schematic configuration of a main part of a photoelectric sensor device according to this embodiment, wherein 1 is a light projector formed of a light emitting diode (LED) that emits laser light having a wavelength of 660 nm, for example, and 2 is the laser light or This is a light receiver including a photodiode (PD) that receives the reflected light. The light projector 1 and the light receiver 2 may constitute a reflection type photoelectric sensor, or may constitute a transmission type photoelectric sensor.
[0015]
Here, it is assumed that light is directly projected from the light projector 1 to a predetermined object detection target area, and that the light receiver 2 directly receives light from the object detection target area. Alternatively, the light may be projected onto a predetermined object detection target area via the optical disc, and the light from the object detection target area may be received via an optical fiber (not shown).
[0016]
The light receiver 2 outputs a signal of a level corresponding to the intensity (received light amount) of the received light, and the output signal (received light level) is a preamplifier circuit (head) including a frequency selection filter (not shown). After being amplified via an amplifier, the signal is converted into a digital signal via an AD converter 3 and is taken into a signal processing circuit 4 composed of a microcomputer or the like, for example, every 200 μsec. The signal processing circuit 4 basically compares the judgment threshold value T set in the memory 5 with the light receiving level R of the light receiving device 2 provided from the AD converter 3 and compares the object in the object detection target area. Is provided with a level determiner (comparator) 6 that outputs a determination signal indicating the presence or absence of. A determination signal from the level determiner (comparator) 6 is externally output as a detection signal from the photoelectric sensor device. The setting unit 9 has a role of setting operating conditions in the photoelectric sensor device, such as a delay time Td described later and a time for determining the stability of the light receiving level R.
[0017]
The level determiner (comparator) 6 outputs an [L] level signal when the received light level R exceeds the determination threshold T, and outputs an [H] level signal when the received light level R falls below the determination threshold T, for example. It has a function to output signals. When importance is placed on the stability of the light reception level R, the level judgment unit (comparator) 6 outputs a signal of the [L] level when the light reception level R exceeds the judgment threshold T for a predetermined time, When the light receiving level R is lower than the determination threshold T for a predetermined time, an [H] level signal may be output. Conversely, when the light reception level R is higher than the determination threshold T, a [H] level signal is output, and when the light reception level R is lower than the determination threshold T, a [L] level signal is output. Of course, it is also possible to configure the comparator (comparator) 6.
[0018]
In the photoelectric sensor device having such a basic function, the present invention (embodiment) is characterized in that the rising timing or the falling timing of the output of the level determiner (comparator) 6 is set to a predetermined time Td. And a calibration circuit 8 that receives the delay output and resets (calibrates) the determination threshold T. The delay circuit 7 may be such that the output of the level determiner (comparator) 6 is delayed as it is for a certain time Td in hardware, but in terms of software, for example, the level determiner ( Any circuit that detects the rising and / or falling edge of the output of the comparator 6 and applies a trigger pulse to the calibration circuit 8 after a predetermined time Td from the edge detection timing may be used.
[0019]
On the other hand, when the above-described trigger pulse is given, the calibration circuit 8 determines, for example, a level of 75% thereof according to the light receiving level (output value of the AD converter 3) R by the light receiving unit 2 at that time, and determines the determination threshold T. And registers it in the memory 5 to update the determination threshold T. Then, the determination threshold T is automatically calibrated so that the updated determination threshold T is used for the subsequent determination of the light reception level R (auto calibration).
[0020]
Specifically, as shown in FIG. 2, when the rise of the light receiving level is detected, the calibration circuit 8 is triggered at a timing delayed from the detection timing by a predetermined time Td to calibrate the determination threshold T. I have. The timing at which the predetermined time Td has elapsed from the rising timing of the light receiving level R is a state where the light receiving level R has sufficiently risen and the level is stable. In other words, the delay time Td is set in consideration of the time required for the light receiving level R to rise and reach a sufficiently stable state. Then, the calibration circuit 8 detects the light reception level R in a stable state, and calibrates the determination threshold T according to the light reception level R. The process of calibrating the determination threshold T is repeatedly performed each time a rising of the light receiving level is detected. Therefore, when the light receiving level R gradually decreases with a change over time, the determination threshold T is also gradually reduced and corrected as the light receiving level R decreases.
[0021]
However, if the light reception level R changes across the determination threshold T before the delay time Td elapses, the delay circuit 7 that measures the delay time Td does not trigger the calibration circuit 8 Reset. As a result, the delay circuit 7 returns to the time-waiting state, and waits until the next timing at which the light receiving level R exceeds the determination threshold T.
[0022]
When it is necessary to set the determination threshold T in consideration of the light receiving level R when the light receiving amount of the light receiving unit 2 is low, for example, the timing at which the detection timing of the falling of the light receiving level is delayed by a certain time Td The light receiving level Rlow detected in the step (1) is stored. Thereafter, when the light receiving level Rhigh is detected at a timing delayed by a predetermined time Td from the detection timing of the rise of the light receiving level, the determination threshold value is determined in accordance with the light receiving levels Rhigh and Rlow. T may be set.
[0023]
Thus, according to the photoelectric sensor device having such an automatic calibration function of the determination threshold T, the output threshold of the detection signal indicating the presence or absence of an object is used, and the determination threshold T is automatically adjusted according to the light receiving level obtained at that time. Since the calibration is performed dynamically, there is no need to externally provide a control signal for calibrating the determination threshold. Therefore, since it is not necessary to connect a control line for supplying a control signal to the photoelectric sensor device from the outside, the number of core wires to be connected to the photoelectric sensor device can be reduced because the control line is not required. . For this reason, the connection burden on the photoelectric sensor device can be reduced.
[0024]
In addition, since the above-described automatic calibration function of the determination threshold T is provided, the operation state of the photoelectric sensor device is externally monitored, and the sensitivity of the photoelectric sensor device is adjusted (calibration of the determination threshold) according to the operation state. Need not be provided. Therefore, the monitoring load on the photoelectric sensor device can be eliminated, and the work load of providing the control signal to the photoelectric sensor device at an appropriate timing is also eliminated each time, so that the ease of use can be significantly improved. It becomes possible. In particular, at a factory site or the like, since many such photoelectric sensor devices are often provided in parallel, for example, over 100 units, the burden of the connection work performed by the above-described automatic calibration function in such a use environment is reduced. The effect of this is enormous. The photoelectric sensor device having the automatic calibration function described above is extremely useful particularly when a plurality of products having the same shape are conveyed side by side at equal intervals and conveyed on a belt conveyor moving at a constant speed. .
[0025]
By the way, for example, when the detection cycle of the light reception level by the light receiver 2 is sufficiently shorter than the cycle of the intrusion of an object into the optical path formed by the light projector 1 and the light receiver 2, the light reception by the calibration circuit 8 is performed. The fluctuation of the light receiving level may be monitored for a certain period after a predetermined time has elapsed from the timing of detecting the rise and / or fall of the level. Then, as shown in FIG. 3, the fluctuation amount of the light receiving level is determined (step S1). If the fluctuation amount is large, the above-described calibration processing of the determination threshold T is prohibited (step S2). It is preferable to include a calibration control unit that permits execution of the calibration process for T (step S3).
[0026]
By the way, regarding the detection of the fluctuation amount of the light reception level described above, for example, the peak value and the bottom value of the light reception level are detected at a certain time after a lapse of a predetermined time from the detection timing of the rise and / or the fall of the light reception level, respectively. It may be determined whether or not the difference between these detection values is large. Alternatively, the average value of the light receiving level in the certain period is obtained, and it is determined whether or not the difference between this average value and the peak value or the bottom value of the light receiving level in the certain period is large to determine the magnitude of the amount of variation. May be. Specifically, for example, when the light receiving level R by the light receiver 2 is sequentially detected at a short sampling cycle of about 200 μSec, the average value of the light receiving level R and the variation thereof are obtained over a period of about 10 to 20 mSec. What is necessary is just to determine the stability of the light receiving level by obtaining the quantity.
[0027]
If control means is provided for executing the calibration process of the determination threshold T in this manner, when the light reception level R by the light receiver 2 is in an unstable state, the determination threshold T is set based on the unstable light reception level R. Problems such as calibration can be avoided. Therefore, the reliability of the determination threshold value T, which is necessary for the object detection, is not impaired, and it is possible to always perform highly reliable object detection.
[0028]
Note that the present invention is not limited to the above-described embodiment. For example, as light used for object detection, not only the above-described LED light but also visible light or infrared light emitted from a lamp can be used. Further, here, the light receiving level of the light receiver 2 is converted into a digital signal and the signal processing is performed. Also, the delay time Td from the rising or falling timing of the light receiving level may be determined according to the detection use of the object, and it is sufficient if the delay time Td can be preset in the photoelectric sensor device. is there. In addition, the present invention can be variously modified and implemented without departing from the gist thereof.
[0029]
【The invention's effect】
As described above, according to the photoelectric sensor device according to the present invention, the timing at which a predetermined change in the light receiving level is exhibited, specifically, the timing delayed by a certain time with reference to the rising and / or falling timing of the light receiving level Since the light receiving level at that time is detected and the determination threshold for the light receiving level for object detection is automatically calibrated, that is, the detection sensitivity is automatically calibrated, so that the light receiving level is not affected by the temporal variation. Without this, stable object detection can always be performed. Moreover, since there is no need to externally provide a control signal for adjusting the detection sensitivity, it is not necessary to monitor the operation state of the photoelectric sensor device, and the number of core wires to be connected to the photoelectric sensor device can be reduced. In addition, a great effect in practical use can be achieved, such as a great reduction in the connection work load.
[Brief description of the drawings]
FIG. 1 is a schematic configuration diagram of a main part of a photoelectric sensor device according to an embodiment of the present invention.
FIG. 2 is a diagram showing a calibration timing of a determination threshold in the photoelectric sensor device shown in FIG.
FIG. 3 is a diagram showing a form of execution / prohibition control of a threshold value calibration process according to the amount of fluctuation of the light receiving level according to the present invention.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 Projector 2 Receiver 3 AD converter 4 Signal processing circuit (microcomputer)
5 memory (judgment threshold)
6 level judgment device (comparator)
7 delay circuit 8 calibration circuit 9 setting means

Claims (2)

所定の光路を形成する投光器および受光器を備え、上記投光器から発した光またはその反射光を前記受光器にて受光してその受光レベルから上記光路内の光学的状態を検出する光電センサ装置であって、
前記受光器による受光レベルを所定の閾値と比較して前記物体の有無を示す信号を出力する比較器と、
この比較器から出力される信号の所定の変化を呈するタイミングから一定の時間が経過したタイミングにおいて前記受光器による受光レベルに従って前記閾値を校正する校正手段と
を具備したことを特徴とする光電センサ装置。
A photoelectric sensor device comprising a light emitter and a light receiver forming a predetermined optical path, and receiving light emitted from the light emitter or its reflected light by the light receiver and detecting an optical state in the optical path from a light receiving level thereof. So,
A comparator that outputs a signal indicating the presence or absence of the object by comparing the light reception level of the light receiver with a predetermined threshold,
A photoelectric sensor device comprising: a calibration unit configured to calibrate the threshold value according to a light receiving level of the light receiver at a timing when a predetermined time has elapsed from a timing at which a predetermined change of a signal output from the comparator is exhibited. .
前記校正手段は、前記受光器による受光レベルの安定状態を判定し、受光レベルが不安定なときには前記閾値の校正処理を禁止する校正制御手段を備えている請求項1に記載の光電センサ装置。2. The photoelectric sensor device according to claim 1, wherein the calibration unit includes a calibration control unit that determines a stable state of a light reception level of the light receiver and prohibits a calibration process of the threshold when the light reception level is unstable. 3.
JP2003110677A 2003-04-15 2003-04-15 Photoelectric sensor device Expired - Fee Related JP4009951B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003110677A JP4009951B2 (en) 2003-04-15 2003-04-15 Photoelectric sensor device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003110677A JP4009951B2 (en) 2003-04-15 2003-04-15 Photoelectric sensor device

Publications (2)

Publication Number Publication Date
JP2004320372A true JP2004320372A (en) 2004-11-11
JP4009951B2 JP4009951B2 (en) 2007-11-21

Family

ID=33471476

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003110677A Expired - Fee Related JP4009951B2 (en) 2003-04-15 2003-04-15 Photoelectric sensor device

Country Status (1)

Country Link
JP (1) JP4009951B2 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007139494A (en) * 2005-11-16 2007-06-07 Keyence Corp Photoelectric sensor
JP2009300111A (en) * 2008-06-10 2009-12-24 Omron Corp Photoelectric sensor
JP2013175851A (en) * 2012-02-24 2013-09-05 Kyocera Document Solutions Inc Image formation apparatus
KR20160139032A (en) 2014-06-06 2016-12-06 미쓰비시덴키 가부시키가이샤 Sensor system control method
JP2020145575A (en) * 2019-03-06 2020-09-10 オムロン株式会社 Photoelectronic sensor

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007139494A (en) * 2005-11-16 2007-06-07 Keyence Corp Photoelectric sensor
JP4730898B2 (en) * 2005-11-16 2011-07-20 株式会社キーエンス Photoelectric sensor
JP2009300111A (en) * 2008-06-10 2009-12-24 Omron Corp Photoelectric sensor
JP2013175851A (en) * 2012-02-24 2013-09-05 Kyocera Document Solutions Inc Image formation apparatus
KR20160139032A (en) 2014-06-06 2016-12-06 미쓰비시덴키 가부시키가이샤 Sensor system control method
DE112014006728B4 (en) 2014-06-06 2018-08-30 Mitsubishi Electric Corporation Method for controlling a sensor system
US10078153B2 (en) 2014-06-06 2018-09-18 Mitsubishi Electric Corporation Method of controlling sensor system
JP2020145575A (en) * 2019-03-06 2020-09-10 オムロン株式会社 Photoelectronic sensor
JP7066113B2 (en) 2019-03-06 2022-05-13 オムロン株式会社 Photoelectric sensor

Also Published As

Publication number Publication date
JP4009951B2 (en) 2007-11-21

Similar Documents

Publication Publication Date Title
JP5432271B2 (en) smoke detector
US6392214B1 (en) Optical unit photoelectric switch fiber-type photoelectric switch and color discrimination sensor
JP2004320372A (en) Photoelectric sensor device
EP2333738B1 (en) Separated-type smoke detector
TW200939628A (en) Photoelectric sensor
JP2003324239A (en) Drive circuit of light emitting element
JP3962342B2 (en) Photoelectric smoke detector
JP2008092218A (en) Photoelectric sensor
JP2008116212A (en) Multiple-optical-axis photoelectric switch
AU750314B2 (en) Light obstruction type smoke sensor
JPH0694843A (en) Photoelectric switch
JP7266195B2 (en) Lighting system and control method for lighting system
JP4103111B2 (en) Photoelectric sensor device
JPH11120451A (en) Detector
JP7037770B2 (en) Optical sensor
JP4579704B2 (en) Photoelectric sensor with interference prevention function
JP2019219956A (en) Fire detector
JP2003296848A (en) Flame detector
WO2013161101A1 (en) Fire detector
JP2001504228A (en) Detection system with improved noise tolerance
JP5877766B2 (en) Beam sensor signal processing circuit
JP2019175083A (en) Smoke sensor and smoke detection system
TWI668999B (en) Self-calibrating optical detector
JP2004215315A (en) Photo-electric sensor and sensitivity setting method therefor
JP2001141559A (en) Flame detector

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20051226

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20070822

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7426

Effective date: 20070823

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070823

R150 Certificate of patent or registration of utility model

Ref document number: 4009951

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20100914

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20100914

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20110914

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130914

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20130914

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20140914

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees