JP3638243B2 - Reflection type light modulation type detection device - Google Patents

Reflection type light modulation type detection device Download PDF

Info

Publication number
JP3638243B2
JP3638243B2 JP2000033928A JP2000033928A JP3638243B2 JP 3638243 B2 JP3638243 B2 JP 3638243B2 JP 2000033928 A JP2000033928 A JP 2000033928A JP 2000033928 A JP2000033928 A JP 2000033928A JP 3638243 B2 JP3638243 B2 JP 3638243B2
Authority
JP
Japan
Prior art keywords
light
signal
circuit
detection
detection circuit
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
JP2000033928A
Other languages
Japanese (ja)
Other versions
JP2001221859A (en
Inventor
雅樹 辻
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.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP2000033928A priority Critical patent/JP3638243B2/en
Publication of JP2001221859A publication Critical patent/JP2001221859A/en
Application granted granted Critical
Publication of JP3638243B2 publication Critical patent/JP3638243B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、発光素子からパルス変調された光を投射し、反射光を受光するか否かに従って、投射光を反射する物体の有無を検出する反射式光変調型検出装置に関する。
【0002】
【従来の技術】
従来から、物体の有無の検出などのためにホトインタラプタなどの光検出装置が広く用いられている。光検出装置は、発光素子と受光素子とを有し、発光素子からの光が受光素子に投射するように配置しておいて、発光素子と受光素子との間に物体が存在するときに、光を遮ることを利用して物体を検出する透過形と、発光素子からの光が通常は受光素子に受光しないように配置しておいて、物体が存在するときの反射光を受光素子で受光することによって物体を検出する反射型とに大別される。
【0003】
特開昭62−222130号公報や特開昭62−241383号公報には、パルス幅変調された光を受光する変調光受光型ホトセンサと、パルス幅変調された光を投射するパルス発光デバイスとについての先行技術がそれぞれ開示されている。また特開昭63−037713号公報には、パルス幅変調された光を受光するためのパルス変調光検出回路についての先行技術が開示されている。これらの先行技術では、光検出装置の発光素子を直流電力で発光させるよりも、パルス幅変調を行って周期的なパルスとして発光させる方が、外乱光ノイズの影響を受けにくくなり、かつ電力消費や小形化が可能なことが示されている。
【0004】
図4および図5は、特公平4−7958号公報に図1および図3として、それぞれ開示されている光変調型検出装置およびその一部の構成を示す。図4に示すように、光変調型検出装置は、発振回路1、発光素子駆動回路2、発光素子3、受光素子4、ACアンプ5、判定回路6、同期検出回路7および出力回路8で構成されている。図5は、図4の同期検出回路7の回路構成を示す。同期検出回路7は、2つのD型フリップフロップ(以下、「D−FF」と略称する)9,10と、2つのANDゲート11,12および1つのORゲート13を含むゲート回路14と、さらにD−FF15とから成る。
【0005】
図4に示すように、発光素子3は、発振回路1が周期的に発生するパルス信号に基づき、発光素子駆動回路2によって駆動される。発光素子3から投射される光が直接、あるいは物体などに反射して受光素子4に入射されると、受光素子4の受光出力はACアンプで増幅され、判定回路6でデジタル信号に変換されて、同期検出回路7に入力される。同期検出回路7は、発光素子3の発光パルスに同期し、かつタイミングの異なる2つの検出ポイントA,Bを有しており、発光素子3の非発光時の検出ポイントAで外乱光の有無を検知し、外乱光がある場合は直前の出力状態を保持し、外乱光がない場合のみ発光時の検出ポイントBでACアンプ5からの出力の取込みを行う。
【0006】
図5に示すように、同期検出回路7は、3つのD−FF9,10,15を有する。第1のD−FF9のクロック端子CLには、検出ポイントAのタイミングパルス信号が入力される。D−FF10のクロック端子CLには、検出ポイントBのタイミングパルス信号が入力される。検出ポイントAは発光素子3が発光するタイミングからずれたタイミングであり、検出ポイントBは発光素子3が発光するタイミングと合っているタイミングである。
【0007】
図6は、図4および図5に示す光変調型検出装置を反射型として動作させる場合を想定して、各部の信号のタイミングを示す。発光素子3は、(a)の発光信号に従って、一定の周期でパルス上に光を投射する。反射型であるので、反射物体がないときには発光素子3から投射される光は受光素子4に入射しない。しかしながら、図6(b)に示すように、外乱光がある場合もある。外乱光は、発光信号のタイミングに合う同期高周波と、発光信号の合わない非同期高周波とが考えられる。(C)に示すように、同期高周波および非同期高周波に対応してACアンプ5からの出力が得られ、判定回路6によって二値化されて同期検出回路7に与えられる。同期検出回路7内には、D−FF9によるノイズ検出回路と、D−FF10による信号検出回路とが形成される。信号検出回路であるD−FF10のクロック端子CLに図6(d)に示すような発光信号と同期した信号検出ゲート信号が与えられると、外乱光のうちの同期高周波に対して信号検出出力が得られる。D−FF9によるノイズ検出回路のクロック端子CLには、図6(f)に示すように、発光信号とはタイミングがずれたノイズ検出ゲート信号が与えられる。D−FF9からは、図6(g)に示すノイズ検出出力が外乱光のうちの非同期高周波に対応して得られる。単発的な同期高周波の外乱光によって図6(e)に示すように信号検出出力が得られるけれども、このような単発的な外乱光は、積分回路などを設ければ無視することができる。反射物体なしの場合には、図6(h)に示すように出力回路8の出力はLowレベルを保つ。反射物体がある場合には、図6(a)に示す発光信号が受光素子4に受光され、図6(c)に示すACアンプ5の出力も、発光信号に対応して得られる。ACアンプ出力が図6(d)に示す信号検出ゲート信号に同期しているので、図6(e)に示すように、信号検出出力が得られ、図6(h)に示す出力回路8の出力は、Highレベルとなる。
【0008】
光変調型検出装置に関連する先行技術は、特公平3−39640号公報、特公平4−53395号公報、特公平4−33397号公報および特公平4−70807号公報にも開示されている。特公平4−53395号公報、特公平4−33397号公報、特公平4−70807号公報の先行技術では、特公平4−7958号公報に開示されているような信号検出とノイズ検出とを別のタイミングで行い、それぞれの変化の判定を行う際に、ノイズの影響が受けにくくなるようにしている。特公平3−39640号公報に開示されている先行技術では、受光素子とACアンプとの間にスイッチング回路を設け、発光素子の発光タイミング以外のタイミングでは、受光出力が一定のレベルを保持するように構成している。
【0009】
図4および図5に示すような同期式光変調型検出装置は、受光素子4からの受光出力を検出する信号検出ゲート回路であるD−FF10のゲート信号のタイミング以外で入射される高周波の外乱光を、ノイズ信号検出ゲート回路としてのD−FF9で検出しているけれども、このノイズ信号検出ゲートの検出タイミングで受光素子4に光が入射したときは、D−FF15で信号検出ゲート回路の判定結果である出力値を保持している。ここで、近年の蛍光灯などはインバータ方式で発光させるものが多く使用されており、このインバータ型の蛍光灯では高周波の光を連続して発光する方式が取られている。このため、反射式光変調型検出装置にインバータ型蛍光灯などからの連続した高周波の光が入射すると、その光量が判定回路6の判定基準レベルを超えて、ノイズ信号検出ゲート回路であるD−FF9からノイズ検出出力が連続して得られ、同期検出回路7としての出力は、インバータ光の入射する以前の出力を維持することとなる。
【0010】
【発明が解決しようとする課題】
図6に示すように、反射物体ありの状態で出力がHighとなっている間に、連続した高周波が外乱光として入射されると、反射物体がなくなっても、反射物体ありに対応するHighレベルの出力が継続して導出されることになる。たとえば、インバータ光などの連続した高周波の光がない場合に、反射式光変調型検出装置の前に紙などの検出物体を通過させると、通過中は検出物体によって発光素子3からの光が反射し、受光素子4に反射光が入射されて検知状態となる。検出物体が通過した後は、発光素子3からの光は反射されずに、受光素子4には入射されなくなって非検知状態となる。しかしながら、インバータ光などの連続した高周波の光が外乱光として受光素子4に入射している状態では、その外乱光と反射式光変調型検出装置との間に紙などの検出物体を通過させたとき、通過中は検出物体によって発光素子3からの光が反射して受光素子4にその光が入射し、検知状態となる。検出物体が通過した後は、発光素子3からの光は反射されず、その光は受光素子4には入射されなくなるけれども、外乱光が受光素子4に入射される。この外乱光がノイズ検出ゲート回路であるD−FF9によって検出され、同期検出回路7としての出力は、検知状態を維持してしまうことになる。
【0011】
このような検出物体がなくても検知状態を保持し続ける問題は、特公平4−7958号公報、特公平4−53395号公報、特公平4−33397号公報および特公平4−70807号公報に開示されている先行技術では、同様に生じ得る。また、特公平3−39640号公報の先行技術では、連続した高周波の外乱光が、発光素子の発光タイミングに合わせても受光素子に入射される場合に、反射物体がなくても反射物体ありと誤判断してしまうおそれがある。
【0012】
本発明の目的は、インバータ式蛍光灯などの連続した高周波の外乱光が入射しても、誤判断を生じない反射式光変調型検出装置を提供することである。
【0013】
【課題を解決するための手段】
本発明は、発光素子から周期的に発光強度が変化するように変調した光を投射し、反射光を受光素子が受光することによって、投射光を反射する物体の有無を検出する反射式光変調型検出装置において、
受光素子の受光出力を、発光素子の発光強度が高いタイミングと合うように同期してサンプリングし、検出信号としてサンプリング結果を導出する信号検出回路と、
受光素子の受光出力を、発光素子の発光強度が高いタイミングと重ならないように同期してサンプリングし、サンプリング結果をノイズ信号として導出するノイズ検出回路と、
信号検出回路からの検出信号に基づいて物体の検出の判定を行い、ノイズ検出回路からのノイズ検出信号に基づいて物体非検出の判定を行う判定回路とを含み、
前記判定回路は、前記ノイズ検出回路からのノイズ検出信号が前記受光素子への反射光の受光を表すとき、前記信号検出回路からの検出信号が受光素子への反射光の受光を表すときでも、前記物体の非検出の判定を行うことを特徴とする反射式光変調型検出装置である。
【0014】
本発明に従えば、反射式光変調型検出装置は、発光素子から周期的に発光強度が変化するように変調した光を投射し、受光素子が反射光を受光することによって投射光を反射する物体の有無を検出する。反射式光変調型検出装置には、信号検出回路と、ノイズ検出回路と、判定回路とが含まれる。信号検出回路は、発光素子の受光出力を、発光素子の発光強度が高いタイミングと合うように同期してサンプリングし、サンプリング結果を検出信号として導出する。ノイズ検出回路は、受光素子の受光出力を発光素子の発光強度が高いタイミングと重ならないように同期してサンプリングし、サンプリング結果をノイズ信号として導出する。判定回路は、信号検出回路からの検出信号に基づいて物体の検出の判定を行い、ノイズ検出回路からのノイズ検出信号に基づいて物体の非検出の判定を行う。反射式で物体の検出を行うので、物体が存在すれば受光素子には光が入射しなくなり、連続した高周波の外乱光が存在しても、受光素子からの受光出力には現れない。物体がなくなれば、高周波ノイズが発光素子の発光強度が高くなるタイミングや、そのタイミングとはずれたタイミングで検出される。すなわち、ノイズ検出回路によってノイズが検出されるときには、物体がないと判断することができ、インバータ蛍光灯などからの高周波ノイズが連続して入射されても、物体がないことについて誤判定を行わないようにすることができる。
【0016】
また、ノイズ検出回路からのノイズ検出信号によって物体が存在しないと判定することを、信号検出回路からの検出信号に優先して物体の非検出の判定を行うので、物体がないことを迅速に判定して判定結果を変更することができる。
【0017】
また本発明で前記判定回路は、前記信号検出回路からの検出信号が、予め設定される回数以上連続して同一のサンプリング結果を表すときにのみ、判定結果の変更に反映させることを特徴とする。
【0018】
本発明に従えば、信号検出回路で検出信号が予め設定される回数以上連続して同一のサンプリング結果を表すときに判定結果の変更に反映させるので、ノイズなどによる単発的な検出の影響を除去して確実な判定を行うことができる。
【0019】
また本発明で前記判定回路は、前記ノイズ検出回路からのノイズ信号が、予め設定される回数以上連続して同一のサンプリング結果を表すときにのみ、判定結果の変更に反映させることを特徴とする。
【0020】
本発明に従えば、ノイズ検出回路からのノイズ検出信号が予め設定される回数以上連続して同一のサンプリング結果を表すときのみ判定結果の変更に反映させるので、ノイズ検出を確実に行うことができる。
【0021】
また本発明は、前記発光素子を予め設定されるパルス幅で発光強度が高くなるように変調して駆動するための駆動信号を発生する駆動信号発生回路と、
駆動信号発生回路からの駆動信号に同期させ、該発光素子で発光強度が高くなるタイミングと同一のタイミングもしくは信号遅延時間分だけ遅らせたタイミングで、前記受光素子の受光出力をサンプリングするように、ゲート信号を前記信号検出回路に与えるゲート信号発生回路をさらに含むことを特徴とする。
【0022】
本発明に従えば、発光素子を予め設定されるパルス幅で発光強度が高くなるように変調して駆動し、発光素子で発光強度が高くなるタイミングと同一のタイミングもしくは信号遅延時間分でだけ遅らせたタイミングで、受光素子の受光出力を信号検出回路でサンプリングして検出することができる。
【0023】
また本発明で前記ゲート信号発生回路は、前記ノイズ検出回路が前記受光素子の受光出力をサンプリングするためのゲート信号を、前記信号検出回路に与えるゲート信号とは異なるタイミングで発生し、該ノイズ検出回路に与えることを特徴とする。
【0024】
本発明に従えば、ノイズ検出回路で、発光素子の発光強度が高くなるタイミングとずれたタイミングでノイズを確実に検出することができる。
【0025】
また本発明で前記駆動信号発生回路は、前記発光素子の発光強度を高くするパルス幅と、パルス周期との比率を調整可能であることを特徴とする。
【0026】
本発明に従えば、発光素子で発光素子を高くするパルス幅とパルス周期との比率が調整可能であるので、外乱光の状態などに応じてノイズの影響を受けにくくするような比率に調整することができる。
【0027】
また本発明は、前記受光素子の受光出力を予め設定される基準レベルと比較し、受光出力が基準レベル以下のときには、前記信号検出回路およびノイズ検出回路へは該受光出力を入力させない比較回路をさらに含むことを特徴とする。
【0028】
本発明に従えば、受光素子の受光出力は比較回路によって予め設定される基準レベルと比較して、基準レベル以下のときには信号検出回路およびノイズ検出回路へは入力させないので、弱い外乱光が受光素子に入射しても、その影響を受けないようにすることができる。
【0029】
また本発明で前記比較回路は、前記信号検出回路と前記ノイズ検出回路とへ前記受光出力を入力させない基準レベルを、別個に調整可能であることを特徴とする。
【0030】
本発明に従えば、比較回路が受光出力を比較する基準レベルを信号検出回路とノイズ検出回路とで別個に調整可能であるので、信号検出とノイズ検出とに適した基準レベルを設定して、物体の検出を確実に行わせることができる。
【0031】
また本発明は、前記受光素子の受光出力を、前記発光素子の発光強度が変化する周波数に一致する通過周波数帯域特性を有して濾波するバンドパスフィルタをさらに含むことを特徴とする。
【0032】
本発明に従えば、受光素子の受光出力を、発光素子の発光強度が変化する周波数に一致する通過周波数帯域特性を有するバンドパスフィルタで濾波するので、低周波の外乱光などの影響を受けにくくすることができる。
【0033】
【発明の実施の形態】
図1は、本発明の実施の一形態としての反射式光変調型検出装置20の概略的な構成を示す。本実施形態の反射式光変調型検出装置20は、駆動信号発生回路である発振回路21が発振するパルス信号に基づいて発光素子駆動回路22が、LEDと略称される発光ダイオードなどの発光素子23を電気的に駆動し、パルス変調された光を投射する。発光素子23からの光の投射方向からずれた位置に、ホトダイオードやホトトランジスタなどの受光素子24が配置される。受光素子24に光が入射すると、光の強度に応じた受光出力が電気的に導出され、ACアンプ25で増幅され、コンパレータ26に入力される。比較回路であるコンパレータ26では、予め設定される基準レベルとACアンプ25で増幅された受光信号の入力レベルとを比較し、基準レベル以下の受光出力は無視して、基準レベルを超える受光出力のみ信号処理回路27に与える二値化を行う。信号処理回路27では、コンパレータ26からの比較結果を、発振回路21の発振出力に基づいて処理する。信号処理回路27の出力は、出力回路28を介して外部に導出され、発光素子23と受光素子24との間に光を反射する物体29が存在しているか否かを表す。
【0034】
信号処理回路27内には、判定回路30、信号検出回路31、ノイズ検出回路32およびゲート信号発生回路33が含まれる。判定回路30は、物体29の有無について判定を行う。信号検出回路31は、発光素子23がパルス変調によって駆動され、発光強度が高くなるタイミングで受光素子24からの受光出力をサンプリングして、サンプリング結果を検出信号として導出する。ノイズ検出回路32は、発光素子23からの発光強度が高くなるタイミングとはずれたタイミングで受光素子24からの受光出力をサンプリングし、サンプリング結果をノイズ検出信号として導出する。ゲート信号発生回路33は、発振回路21からのパルス信号に基づいて、信号検出回路31およびノイズ検出回路32でサンプリングを行うためのゲート信号を発生し、信号検出回路31およびノイズ検出回路32にそれぞれ与える。判定回路30は、信号検出回路31およびノイズ検出回路32からの検出信号およびノイズ信号に基づいて、物体29の有無の判定を行う。判定回路30からの判定結果を表す信号は、出力回路28に与えられるとともに、コンパレータ26に与えられる。
【0035】
コンパレータ26は、基準レベルにヒステリシス特性を有し、検出信号がない状態からある状態に変化した後、検出信号がないと判定する基準レベルを低くして、発光素子23と受光素子24との間の光路を通過する物体29の微小振動に起因する出力チャタリングの防止を行う。また、受光素子24とACアンプ25との間にはバイパスフィルタ(以下、「BPF」と略称する)34を挿入する。BPF34の通過周波数帯域は、発振回路21から発生するパルス信号の周波数に合わせ、通過周波数帯域外の信号成分を除去し、外乱ノイズの影響を受けにくくする。発振回路21では、パルス信号のパルス幅と周期とを、調整器35で調整することができる。調整器35でパルス幅とパルス周期との比率を調整することによって、外乱光などの影響を受けにくい状態で物体29の検出を行わせることができる。なお、パルス幅はたとえば8μS(周波数125kHz)程度とし、パルス周期はたとえば130μS(周波数7.7kHz)程度とすることができる。これは、現行の光変調型検出装置と同程度である。現在のインバータ蛍光灯の周波数は30kHz〜60kHzのものがほとんどとなっているので、この周波数の領域を避ければ、インバータ蛍光灯の影響を受け難くすることができる。特にパルス幅は、信号検出のパルス周期となるので、BPF34の通過周波数帯域をインバータ蛍光灯の周波数帯域を避けた周波数に設定することができ、外乱光の影響を小さくすることができる。
【0036】
図2は、図1に示す信号検出回路31とノイズ検出回路32の構成を示す。信号検出回路31およびノイズ検出回路32には、ANDゲート40、シフトレジスタ41、回数設定レジスタ42および比較回路43が含まれる。シフトレジスタ41は、コンパレータ26からの受光出力を、ゲート信号発生回路33から与えられるゲート信号に従って取込み、順次シフトする。回数設定レジスタ42には、受光出力が連続して同一のサンプリング結果となるときに、状態を変更するかについての回数が設定される。比較回路43は、シフトレジスタ41への入力状態と回数設定レジスタ42の設定値とを比較する。比較結果が一致すれば、シフトレジスタ41はクリア信号でクリアされる。以下、回数設定レジスタ42に、信号検出回路31では3が設定され、ノイズ検出回路32では2が設定されている場合を想定して説明する。
【0037】
図3は、図1および図2に示す実施形態の反射式光変調型検出装置20で、外乱光がある状態での物体29の通過に対応する動作での各部の信号間の関係を示す。図3(a)は、発光素子23からの発光信号を示す。発光素子23は、発振回路21が周期的に発生するパルス信号に基づいて、発光素子駆動回路22によって駆動され、発振回路21のパルス信号に対応した光をパルス上に投射する。図3(b)に示すような外乱光が反射物体なしの状態で入射しても、低周波の外乱光はACアンプ25で除去され、図3(c)に示すACアンプ出力には現れない。また、低いレベルで現れたとしても、コンパレータ26の基準レベル以下であれば、コンパレータ26で除去することもできる。低周波の外乱光は、図3(d)および図3(f)に示す信号検出ゲート信号およびノイズ検出ゲート信号によっては検出されず、図3(e)に示す信号検出出力および図3(g)に示すノイズ検出出力としては出力されず、判定回路30の出力である図3(h)の出力は、非検知状態を示すLowレベルを保つ。
【0038】
図3(b)に示すような外乱光が図3(a)に示す発光信号のHighレベルのタイミングにあって同期高周波として受光素子24に入射すると、BPF34やACアンプ25およびコンパレータ26では除去することができず、図3(c)に示すACアンプ出力として信号検出回路31およびノイズ検出回路32に入力される。このACアンプ出力は、図3(d)に示す信号検出ゲート信号とはタイミングが合っているので、信号検出回路31からは図3(e)に示す信号検出出力が導出される。図3(f)に示すノイズ検出ゲート信号とはタイミングが合っていないので、ノイズ検出回路32からは図3(g)に示すノイズ検出出力は導出されない。しかしながら、図3(e)に示す信号検出出力は1回しか連続しないので、図3(h)に示す出力は、Lowレベルが維持される。
【0039】
図3(b)に示す非同期高周波が外乱光として受光素子24に入射されると、図3(c)に示すACアンプ出力として信号検出回路31およびノイズ検出回路32に入力される。このACアンプ出力のタイミングは、図3(d)に示す信号検出ゲート信号のタイミングとはずれているので、図3(e)に示す信号検出出力は現れない。ACアンプ出力は、図3(f)に示すノイズ検出ゲート信号とはタイミングが合っているので、図3(g)に示すように、ノイズ検出出力が導出される。ノイズ検出出力が導出されても、図3(h)に示す出力はLowレベルで物体29が検出されていないことを示しているので、出力は変化しない。しかも、この場合ノイズ検出出力は2回続けて入力されないと、判定結果を変化させないので、いずれにしても図3(h)に示す出力はLowレベルを維持する。
【0040】
次に反射物体がある場合に、外乱光は反射物体によって遮られて受光素子24には入射されなくなり、図3(a)に示す発光信号のパルス光が物体29に反射して受光素子24に入射する。このパルス光は、図3(c)に示すACアンプ出力に図3(d)に示す信号検出ゲート信号によってサンプリングされて図3(e)に示す信号検出出力として得られる。また、物体29によって外乱光は阻止されるので、図3(f)に示すノイズ検出ゲート信号のタイミングでサンプリングされる図3(g)のノイズ検出出力はLowレベルを維持する。この場合、信号検出出力が3回続けて入力されると、図3(h)に示す出力は、LowレベルからHighレベルに変化し、物体29が検出される。図3(b)に示す外乱光がなければ、物体29が発光素子23と受光素子24との間の光路からずれて、物体29による反射光が受光素子24に受光されなくなる状態が3回以上連続して続けば、図3(h)に示す出力はHighからLowに変化し、物体29が非検出状態となる。
【0041】
図3の反射物体ありの状態で、さらに連続した高周波の外乱光が入射している状態では、連続した高周波の外乱光は、反射物体が発光素子23と受光素子24との間の光路に存在しているときには受光素子24に入射しないけれども、反射物体がなくなると受光素子24に入射する。連続した高周波に対応する受光出力は、BPF34やACアンプ25、コンパレータ26では除去することができず、また、BPF34により、通過周波数帯域を持たせているので、影響は受けにくくなるが、すべて除去することができないため、信号検出回路31およびノイズ検出回路32に入力される。このACアンプ出力は、図3(d)に示す信号検出ゲート信号と図3(f)に示すノイズ検出ゲート信号とにタイミングが合うので、図3(e)に示す信号検出出力と図3(g)に示すノイズ検出出力とが連続して得られる。図3(g)に示すノイズ検出出力が2回連続して得られるので、図3(h)に示す出力は、Highレベルから非検出状態を示すLowレベルに変化する。これによって、図6に示したように、出力がHighレベルのまま継続するような誤動作を避けることができる。本実施形態の反射式光変調型検出装置20は、たとえば複写機やプリンタなどで紙の有無などを検出する用途に好適に用いることができる。従来の反射型ホトインタラプタなどを使用していると、複写機などを直接インバータ式蛍光灯などの外乱光が入射しやすい場所に設置すると、紙の有無等を誤検出してしまう可能性があるのに対し、本実施形態の反射式光変調型検出装置20を用いれば、確実に紙の有無等を検出することができる。
【0042】
本実施形態の反射式光変調型検出装置20では、BPF34を受光素子24の出力側とACアンプ25の入力側との間に挿入しているけれども、ACアンプ25の出力側など他の位置に挿入することもできる。また、BPF34を用いず、ACアンプ25の入力側で直流分をカットするだけでもある程度低周波の外乱光の影響を除去することができる。また、コンパレータ26は、信号検出回路31とノイズ検出回路32とで共通に用いているけれども、信号検出回路31とノイズ検出回路32とで別個に設け、それぞれ基準レベルを調整可能にすれば、外乱光の入力状態などに応じ、物体29をより確実に検出可能な条件に調整することができる。
【0043】
また、信号検出回路31もノイズ検出回路32も図2に示すような構成で、連続して複数回の入力があるときに判定結果に反映させるようにしているけれども、1回の入力で結果を反映させるようにすれば、ANDゲート40のみを用いて、回路構成を簡略化することができる。また、信号処理回路27は、マイクロコンピュータのプログラム動作で実現することもできる。
【0044】
【発明の効果】
以上のように、本発明によれば、反射光によって物体を検出しているときに連続的な高周波の外乱光が入射しても、物体がなくなった後でノイズとして検出され、ノイズの検出結果で物体がないと判定するので、誤判定の少ない反射式光変調型検出装置を実現することができる。これによって、複写機、プリンタなどの紙の有無などを検出する反射型ホトインタラプタとして使用し、複写機などで直接インバータ形蛍光灯などの外乱光の入射しやすい場所に設置しても、紙の有無等を検出する際に、誤判定などを起こしにくくすることができる。
【0045】
また、ノイズ検出結果を優先して物体の非検出の判定を行うので、反射式光検出装置として光を反射する物体を検出した後で、物体がなくなってからのノイズ影響による誤判定を防ぐことができる。
【0046】
また本発明によれば、検出信号が予め設定される回数以上連続して同一のサンプリング結果を表すときのみ判定結果の変更に反映させるので、ノイズなどが単発的に検出信号として入力されてもその影響を防ぐことができる。
【0047】
また本発明によれば、ノイズ検出信号が予め設定される回数以上連続して同一のサンプリング結果を表すときにのみ判定結果の変更に反映させるので、外乱などによって単発的なノイズ検出信号が入力されても、その結果で判定結果が変更されることはなく確実なノイズ検出を行うことができる。
【0048】
また本発明によれば、発光素子を光変調して発光強度が高くなるタイミングに合わせて信号検出回路にゲート信号を与えることができるので、確実な信号検出を行わせることができる。
【0049】
また本発明によれば、ノイズ検出回路に発光素子の発光強度が高くなるタイミングと異なるタイミングでゲート信号を与えるので、ノイズの検出を確実に行うことができる。
【0050】
また本発明によれば、発光素子が発光強度を高くするパルス幅とパルス周期との比率が調整可能であるので、外乱光の影響などを受けない状態にすることができる。
【0051】
また本発明によれば、受光素子の受光出力を予め設定される基準レベルと比較して、基準レベル以下では受光出力を信号検出回路およびノイズ検出回路には与えないので、外乱などによって小さなレベルの入力があっても、無視することができる。
【0052】
また本発明によれば、信号検出回路とノイズ検出回路とに受光素子の受光出力を与えない基準レベルを別個に調整可能であるので、効率よく物体の検出が可能で、ノイズの影響を受けにくくするように調整することができる。
【0053】
また本発明によれば、バンドパスフィルタを用いて受光素子の受光出力を濾波するので、発光素子の発光強度が高くなる周波数から外れる成分のノイズを容易に除去することができる。
【図面の簡単な説明】
【図1】本発明の実施の一形態の反射式光変調型検出装置の概略的な電気的構成を示すブロック図である。
【図2】図1の信号検出回路31およびノイズ検出回路32の構成を示すブロック図である。
【図3】図1の反射式光変調型検出装置20の各部の動作タイミングを示すタイムチャートである。
【図4】従来からの光変調型検出装置の概略的な電気的構成を示すブロック図である。
【図5】図4の信号処理回路27の構成を示すブロック図である。
【図6】図5の光変調型検出装置の各部の動作タイミングを示すタイムチャートである。
【符号の説明】
20 反射式光変調型検出装置
21 発振回路
23 発光素子
24 受光素子
25 ACアンプ
26 コンパレータ
27 信号処理回路
29 物体
30 判定回路
31 信号検出回路
32 ノイズ検出回路
33 ゲート信号発生回路
34 BPF
35 調整器
42 回数設定レジスタ
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a reflective light modulation type detection device that projects pulse-modulated light from a light emitting element and detects the presence or absence of an object that reflects the projected light according to whether or not the reflected light is received.
[0002]
[Prior art]
Conventionally, a photodetection device such as a photo interrupter has been widely used to detect the presence or absence of an object. The light detection device has a light emitting element and a light receiving element, and is arranged so that light from the light emitting element is projected onto the light receiving element, and when an object exists between the light emitting element and the light receiving element, The transmission type that detects the object by blocking the light and the light from the light emitting element are usually arranged so that the light receiving element does not receive the light, and the reflected light when the object is present is received by the light receiving element. By doing so, it is roughly classified into a reflection type that detects an object.
[0003]
Japanese Patent Application Laid-Open Nos. 62-222130 and 62-241383 disclose a modulated light receiving photosensor that receives pulse-width-modulated light and a pulse light-emitting device that projects pulse-width-modulated light. Each of the prior arts is disclosed. Japanese Patent Application Laid-Open No. 63-037713 discloses a prior art regarding a pulse modulated light detection circuit for receiving pulse width modulated light. In these prior arts, rather than making the light emitting element of the light detection device emit light with direct current power, it is less affected by disturbance light noise and emits light as a periodic pulse by performing pulse width modulation and consumes power. It is shown that it can be downsized.
[0004]
FIGS. 4 and 5 show a configuration of a light modulation type detection apparatus and a part thereof disclosed in Japanese Patent Publication No. 4-7958 as FIGS. 1 and 3, respectively. As shown in FIG. 4, the light modulation type detection device includes an oscillation circuit 1, a light emitting element driving circuit 2, a light emitting element 3, a light receiving element 4, an AC amplifier 5, a determination circuit 6, a synchronization detection circuit 7, and an output circuit 8. Has been. FIG. 5 shows a circuit configuration of the synchronization detection circuit 7 of FIG. The synchronization detection circuit 7 includes two D-type flip-flops (hereinafter abbreviated as “D-FF”) 9 and 10, a gate circuit 14 including two AND gates 11 and 12, and one OR gate 13, and And D-FF15.
[0005]
As shown in FIG. 4, the light emitting element 3 is driven by the light emitting element driving circuit 2 based on a pulse signal periodically generated by the oscillation circuit 1. When the light projected from the light emitting element 3 is reflected directly or reflected on an object or the like and enters the light receiving element 4, the light receiving output of the light receiving element 4 is amplified by an AC amplifier and converted into a digital signal by the determination circuit 6. Are input to the synchronization detection circuit 7. The synchronization detection circuit 7 has two detection points A and B that are synchronized with the light emission pulse of the light emitting element 3 and have different timings. The presence or absence of disturbance light is detected at the detection point A when the light emitting element 3 is not emitting light. When there is disturbance light, the previous output state is maintained, and the output from the AC amplifier 5 is taken in at the detection point B at the time of light emission only when there is no disturbance light.
[0006]
As shown in FIG. 5, the synchronization detection circuit 7 includes three D-FFs 9, 10, and 15. The timing pulse signal at the detection point A is input to the clock terminal CL of the first D-FF 9. The timing pulse signal at the detection point B is input to the clock terminal CL of the D-FF 10. The detection point A is a timing that deviates from the timing at which the light emitting element 3 emits light, and the detection point B is a timing that matches the timing at which the light emitting element 3 emits light.
[0007]
FIG. 6 shows the signal timing of each part assuming that the light modulation type detection device shown in FIGS. 4 and 5 is operated as a reflection type. The light emitting element 3 projects light onto the pulse at a constant cycle according to the light emission signal of (a). Since it is a reflection type, the light projected from the light emitting element 3 does not enter the light receiving element 4 when there is no reflecting object. However, there may be disturbance light as shown in FIG. The disturbance light is considered to have a synchronous high frequency that matches the timing of the light emission signal and an asynchronous high frequency that does not match the light emission signal. As shown in (C), an output from the AC amplifier 5 is obtained corresponding to the synchronous high frequency and the asynchronous high frequency, and is binarized by the determination circuit 6 and supplied to the synchronization detection circuit 7. In the synchronization detection circuit 7, a noise detection circuit by the D-FF 9 and a signal detection circuit by the D-FF 10 are formed. When a signal detection gate signal synchronized with the light emission signal as shown in FIG. 6D is given to the clock terminal CL of the D-FF 10 which is a signal detection circuit, a signal detection output is generated with respect to the synchronous high frequency of the disturbance light. can get. As shown in FIG. 6F, a noise detection gate signal having a timing shifted from the light emission signal is applied to the clock terminal CL of the noise detection circuit by the D-FF 9. From the D-FF 9, the noise detection output shown in FIG. 6G is obtained corresponding to the asynchronous high frequency in the disturbance light. Although a signal detection output is obtained as shown in FIG. 6E by a single synchronous high-frequency disturbance light, such a single disturbance light can be ignored if an integration circuit or the like is provided. When there is no reflecting object, the output of the output circuit 8 maintains a low level as shown in FIG. When there is a reflecting object, the light emission signal shown in FIG. 6A is received by the light receiving element 4, and the output of the AC amplifier 5 shown in FIG. 6C is also obtained corresponding to the light emission signal. Since the AC amplifier output is synchronized with the signal detection gate signal shown in FIG. 6D, a signal detection output is obtained as shown in FIG. 6E, and the output circuit 8 shown in FIG. The output is at a high level.
[0008]
Prior art related to the light modulation type detection apparatus is also disclosed in Japanese Patent Publication No. 3-39640, Japanese Patent Publication No. 4-53395, Japanese Patent Publication No. 4-33397, and Japanese Patent Publication No. 4-70807. In the prior arts of Japanese Patent Publication No. 4-53395, Japanese Patent Publication No. 4-33397, and Japanese Patent Publication No. 4-70807, signal detection and noise detection as disclosed in Japanese Patent Publication No. 4-7958 are separated. This is performed at the timing, and it is made difficult to be affected by noise when each change is determined. In the prior art disclosed in Japanese Examined Patent Publication No. 3-39640, a switching circuit is provided between the light receiving element and the AC amplifier so that the light reception output is maintained at a constant level at a timing other than the light emission timing of the light emitting element. It is configured.
[0009]
The synchronous light modulation type detection apparatus as shown in FIG. 4 and FIG. 5 is a high-frequency disturbance that is incident at a timing other than the timing of the gate signal of the D-FF 10 that is a signal detection gate circuit that detects the light reception output from the light receiving element 4. Although the light is detected by the D-FF 9 as the noise signal detection gate circuit, when the light is incident on the light receiving element 4 at the detection timing of the noise signal detection gate, the signal detection gate circuit is determined by the D-FF 15. Holds the resulting output value. Here, in recent years, many fluorescent lamps that emit light by an inverter method are used, and this inverter type fluorescent lamp has a method of continuously emitting high-frequency light. For this reason, when continuous high frequency light from an inverter type fluorescent lamp or the like is incident on the reflection type light modulation type detection device, the amount of light exceeds the determination reference level of the determination circuit 6, and D− which is a noise signal detection gate circuit. The noise detection output is continuously obtained from the FF 9, and the output as the synchronization detection circuit 7 maintains the output before the inverter light enters.
[0010]
[Problems to be solved by the invention]
As shown in FIG. 6, when a continuous high frequency is incident as disturbance light while the output is High in the presence of a reflecting object, even if the reflecting object disappears, the High level corresponding to the presence of the reflecting object. Will continue to be derived. For example, when there is no continuous high-frequency light such as inverter light, when a detection object such as paper is passed in front of the reflection type light modulation type detection device, light from the light emitting element 3 is reflected by the detection object during the passage. Then, the reflected light enters the light receiving element 4 to enter the detection state. After the detection object passes, the light from the light emitting element 3 is not reflected and is not incident on the light receiving element 4 and enters a non-detection state. However, in a state where continuous high-frequency light such as inverter light is incident on the light receiving element 4 as disturbance light, a detection object such as paper is passed between the disturbance light and the reflective light modulation type detection device. At this time, the light from the light emitting element 3 is reflected by the detection object during the passage, and the light enters the light receiving element 4 to enter a detection state. After the detection object passes, the light from the light emitting element 3 is not reflected and the light is not incident on the light receiving element 4, but disturbance light is incident on the light receiving element 4. This disturbance light is detected by the D-FF 9 which is a noise detection gate circuit, and the output as the synchronization detection circuit 7 maintains the detection state.
[0011]
The problem of maintaining the detection state without such a detection object is disclosed in Japanese Patent Publication No. 4-7958, Japanese Patent Publication No. 4-53395, Japanese Patent Publication No. 4-33397 and Japanese Patent Publication No. 4-70807. In the prior art disclosed, this can occur as well. Further, in the prior art disclosed in Japanese Patent Publication No. 3-39640, when continuous high-frequency disturbance light is incident on the light receiving element even in accordance with the light emission timing of the light emitting element, there is no reflecting object even if there is no reflecting object. There is a risk of misjudgment.
[0012]
An object of the present invention is to provide a reflection type light modulation type detection device that does not cause erroneous judgment even when continuous high frequency disturbance light such as an inverter type fluorescent lamp is incident.
[0013]
[Means for Solving the Problems]
The present invention is a reflective light modulation that detects the presence or absence of an object that reflects projected light by projecting light modulated so that the light emission intensity periodically changes from the light emitting element and receiving the reflected light by the light receiving element. In the type detection device,
A signal detection circuit that samples the light reception output of the light receiving element in synchronization with the timing at which the light emission intensity of the light emitting element is high, and derives a sampling result as a detection signal;
A noise detection circuit that samples the light reception output of the light receiving element in synchronization with the timing at which the light emission intensity of the light emitting element is high, and derives the sampling result as a noise signal;
A determination circuit that determines whether an object is detected based on a detection signal from the signal detection circuit, and that determines whether an object is not detected based on a noise detection signal from the noise detection circuit;
The determination circuit, when the noise detection signal from the noise detection circuit represents reception of reflected light to the light receiving element, even when the detection signal from the signal detection circuit represents reception of reflected light to the light receiving element, It is a reflection type light modulation type detection device which judges non-detection of the object.
[0014]
According to the present invention, the reflection type light modulation type detection device projects light modulated so that the light emission intensity periodically changes from the light emitting element, and the light receiving element receives the reflected light to reflect the projection light. Detects the presence of an object. The reflection type light modulation type detection device includes a signal detection circuit, a noise detection circuit, and a determination circuit. The signal detection circuit samples the light reception output of the light emitting element in synchronization with the timing when the light emission intensity of the light emitting element is high, and derives the sampling result as a detection signal. The noise detection circuit samples the light reception output of the light receiving element synchronously so as not to overlap with the timing when the light emission intensity of the light emitting element is high, and derives the sampling result as a noise signal. The determination circuit determines whether an object is detected based on a detection signal from the signal detection circuit, and determines whether no object is detected based on a noise detection signal from the noise detection circuit. Since the object is detected by the reflection method, light does not enter the light receiving element if the object is present, and even if disturbance light having a continuous high frequency exists, it does not appear in the light receiving output from the light receiving element. If the object disappears, high-frequency noise is detected at a timing when the light emission intensity of the light emitting element increases or at a timing deviating from the timing. That is, when noise is detected by the noise detection circuit, it can be determined that there is no object, and even if high frequency noise from an inverter fluorescent lamp or the like is continuously incident, no erroneous determination is made regarding the absence of an object. Can be.
[0016]
In addition, it is determined that the object is not present based on the noise detection signal from the noise detection circuit, and the non-detection of the object is determined in preference to the detection signal from the signal detection circuit. Thus, the determination result can be changed.
[0017]
Further, in the present invention, the determination circuit reflects the change in the determination result only when the detection signal from the signal detection circuit represents the same sampling result continuously for a preset number of times. .
[0018]
According to the present invention, the detection signal is reflected in the change of the determination result when the signal detection circuit continuously represents the same sampling result for a preset number of times or more, thereby eliminating the influence of single detection due to noise or the like. Thus, a reliable determination can be made.
[0019]
Also, in the present invention, the determination circuit reflects the change in the determination result only when the noise signal from the noise detection circuit represents the same sampling result continuously for a preset number of times. .
[0020]
According to the present invention, since the noise detection signal from the noise detection circuit is reflected in the change of the determination result only when the same sampling result is expressed continuously for a preset number of times or more, noise detection can be performed reliably. .
[0021]
According to another aspect of the present invention, there is provided a drive signal generating circuit for generating a drive signal for modulating and driving the light emitting element so as to increase the light emission intensity with a preset pulse width;
In synchronization with the drive signal from the drive signal generation circuit, the gate is configured to sample the light reception output of the light receiving element at the same timing as the timing when the light emission intensity increases at the light emitting element or at a timing delayed by the signal delay time. It further includes a gate signal generation circuit for supplying a signal to the signal detection circuit.
[0022]
According to the present invention, the light emitting element is modulated and driven so as to increase the light emission intensity with a preset pulse width, and is delayed by the same timing or the signal delay time as the light emission element increases the light emission intensity. The received light output of the light receiving element can be sampled and detected by the signal detection circuit at the same timing.
[0023]
In the present invention, the gate signal generation circuit generates a gate signal for the noise detection circuit to sample the light reception output of the light receiving element at a timing different from the gate signal applied to the signal detection circuit, and detects the noise. It is given to a circuit.
[0024]
According to the present invention, the noise detection circuit can reliably detect noise at a timing that deviates from the timing at which the light emission intensity of the light emitting element increases.
[0025]
According to the present invention, the drive signal generation circuit is capable of adjusting a ratio between a pulse width for increasing the light emission intensity of the light emitting element and a pulse period.
[0026]
According to the present invention, since the ratio between the pulse width and the pulse period for raising the light emitting element in the light emitting element can be adjusted, the ratio is adjusted so as to be less susceptible to noise depending on the state of ambient light. be able to.
[0027]
Further, the present invention compares a light receiving output of the light receiving element with a preset reference level, and when the light receiving output is below the reference level, a comparison circuit that does not input the light receiving output to the signal detection circuit and the noise detection circuit. It is further characterized by including.
[0028]
According to the present invention, since the light reception output of the light receiving element is not input to the signal detection circuit and the noise detection circuit when compared with the reference level set in advance by the comparison circuit, weak disturbance light is not input to the light receiving element. Even if it is incident on the light beam, it can be prevented from being affected.
[0029]
According to the present invention, the comparison circuit is capable of separately adjusting a reference level at which the light reception output is not input to the signal detection circuit and the noise detection circuit.
[0030]
According to the present invention, the reference level with which the comparison circuit compares the received light output can be adjusted separately in the signal detection circuit and the noise detection circuit. Therefore, by setting a reference level suitable for signal detection and noise detection, An object can be detected reliably.
[0031]
The present invention is further characterized in that it further includes a band-pass filter that filters the light reception output of the light receiving element with a pass frequency band characteristic that matches the frequency at which the light emission intensity of the light emitting element changes.
[0032]
According to the present invention, the light reception output of the light receiving element is filtered by a band-pass filter having a pass frequency band characteristic that matches the frequency at which the light emission intensity of the light emitting element changes, and thus is not easily affected by low-frequency disturbance light or the like. can do.
[0033]
DETAILED DESCRIPTION OF THE INVENTION
FIG. 1 shows a schematic configuration of a reflection type light modulation type detection apparatus 20 as an embodiment of the present invention. In the reflection type light modulation type detection device 20 of the present embodiment, a light emitting element drive circuit 22 is based on a pulse signal oscillated by an oscillation circuit 21 that is a drive signal generation circuit. Is electrically driven to project pulse-modulated light. A light receiving element 24 such as a photodiode or a phototransistor is disposed at a position shifted from the direction in which the light from the light emitting element 23 is projected. When light enters the light receiving element 24, a light receiving output corresponding to the light intensity is electrically derived, amplified by the AC amplifier 25, and input to the comparator 26. The comparator 26, which is a comparison circuit, compares the preset reference level with the input level of the light reception signal amplified by the AC amplifier 25, ignores the light reception output below the reference level, and only the light reception output exceeding the reference level. Binarization is given to the signal processing circuit 27. In the signal processing circuit 27, the comparison result from the comparator 26 is processed based on the oscillation output of the oscillation circuit 21. The output of the signal processing circuit 27 is derived to the outside via the output circuit 28 and indicates whether or not an object 29 that reflects light exists between the light emitting element 23 and the light receiving element 24.
[0034]
The signal processing circuit 27 includes a determination circuit 30, a signal detection circuit 31, a noise detection circuit 32, and a gate signal generation circuit 33. The determination circuit 30 determines whether or not the object 29 is present. The signal detection circuit 31 samples the light reception output from the light receiving element 24 at the timing when the light emitting element 23 is driven by pulse modulation and the light emission intensity becomes high, and derives the sampling result as a detection signal. The noise detection circuit 32 samples the light reception output from the light receiving element 24 at a timing different from the timing at which the light emission intensity from the light emitting element 23 increases, and derives the sampling result as a noise detection signal. The gate signal generation circuit 33 generates a gate signal for sampling by the signal detection circuit 31 and the noise detection circuit 32 based on the pulse signal from the oscillation circuit 21, and supplies the gate signal generation circuit 33 to the signal detection circuit 31 and the noise detection circuit 32, respectively. give. The determination circuit 30 determines the presence / absence of the object 29 based on the detection signal and the noise signal from the signal detection circuit 31 and the noise detection circuit 32. A signal representing the determination result from the determination circuit 30 is supplied to the output circuit 28 and also to the comparator 26.
[0035]
The comparator 26 has a hysteresis characteristic at the reference level, and after changing from a state where there is no detection signal to a state, the reference level for determining that there is no detection signal is lowered to reduce the reference level between the light emitting element 23 and the light receiving element 24. The output chattering caused by the minute vibration of the object 29 passing through the optical path is prevented. Further, a bypass filter (hereinafter abbreviated as “BPF”) 34 is inserted between the light receiving element 24 and the AC amplifier 25. The pass frequency band of the BPF 34 is adjusted to the frequency of the pulse signal generated from the oscillation circuit 21, and signal components outside the pass frequency band are removed to make it less susceptible to disturbance noise. In the oscillation circuit 21, the pulse width and period of the pulse signal can be adjusted by the adjuster 35. By adjusting the ratio between the pulse width and the pulse period with the adjuster 35, the object 29 can be detected in a state in which it is hardly affected by ambient light or the like. The pulse width can be set to about 8 μS (frequency 125 kHz), for example, and the pulse period can be set to about 130 μS (frequency 7.7 kHz), for example. This is the same level as the current light modulation type detection apparatus. Since the frequency of the current inverter fluorescent lamp is almost 30 kHz to 60 kHz, it can be made difficult to be affected by the inverter fluorescent lamp by avoiding this frequency range. In particular, since the pulse width is a signal detection pulse period, the pass frequency band of the BPF 34 can be set to a frequency that avoids the frequency band of the inverter fluorescent lamp, and the influence of disturbance light can be reduced.
[0036]
FIG. 2 shows the configuration of the signal detection circuit 31 and the noise detection circuit 32 shown in FIG. The signal detection circuit 31 and the noise detection circuit 32 include an AND gate 40, a shift register 41, a number setting register 42, and a comparison circuit 43. The shift register 41 takes the light reception output from the comparator 26 in accordance with the gate signal supplied from the gate signal generation circuit 33 and sequentially shifts it. The number-of-times setting register 42 sets the number of times to change the state when the received light output continuously has the same sampling result. The comparison circuit 43 compares the input state to the shift register 41 with the set value of the number setting register 42. If the comparison results match, the shift register 41 is cleared by a clear signal. In the following description, it is assumed that the number setting register 42 is set to 3 in the signal detection circuit 31 and 2 is set in the noise detection circuit 32.
[0037]
FIG. 3 shows the relationship between the signals of the respective parts in the operation corresponding to the passage of the object 29 in the presence of disturbance light in the reflective light modulation type detection apparatus 20 of the embodiment shown in FIGS. 1 and 2. FIG. 3A shows a light emission signal from the light emitting element 23. The light emitting element 23 is driven by the light emitting element driving circuit 22 based on a pulse signal periodically generated by the oscillation circuit 21, and projects light corresponding to the pulse signal of the oscillation circuit 21 onto the pulse. Even if disturbance light as shown in FIG. 3B is incident without a reflecting object, the low-frequency disturbance light is removed by the AC amplifier 25 and does not appear in the AC amplifier output shown in FIG. . Even if it appears at a low level, it can be removed by the comparator 26 if it is below the reference level of the comparator 26. The low-frequency disturbance light is not detected by the signal detection gate signal and the noise detection gate signal shown in FIGS. 3D and 3F, but the signal detection output shown in FIG. The output of FIG. 3 (h), which is the output of the determination circuit 30, is kept at a low level indicating a non-detection state.
[0038]
When disturbance light as shown in FIG. 3B enters the light receiving element 24 as a synchronous high frequency at the high level timing of the light emission signal shown in FIG. 3A, it is removed by the BPF 34, the AC amplifier 25 and the comparator 26. Cannot be input to the signal detection circuit 31 and the noise detection circuit 32 as the AC amplifier output shown in FIG. Since this AC amplifier output is in timing with the signal detection gate signal shown in FIG. 3D, the signal detection output shown in FIG. Since the timing of the noise detection gate signal shown in FIG. 3F does not match, the noise detection output shown in FIG. 3G is not derived from the noise detection circuit 32. However, since the signal detection output shown in FIG. 3E continues only once, the output shown in FIG. 3H is maintained at the low level.
[0039]
When the asynchronous high frequency shown in FIG. 3B is incident on the light receiving element 24 as disturbance light, it is input to the signal detection circuit 31 and the noise detection circuit 32 as an AC amplifier output shown in FIG. Since the timing of this AC amplifier output deviates from the timing of the signal detection gate signal shown in FIG. 3 (d), the signal detection output shown in FIG. 3 (e) does not appear. Since the AC amplifier output is in timing with the noise detection gate signal shown in FIG. 3F, the noise detection output is derived as shown in FIG. Even if the noise detection output is derived, the output shown in FIG. 3H indicates that the object 29 is not detected at the low level, and therefore the output does not change. In addition, in this case, if the noise detection output is not input twice in succession, the determination result is not changed. In any case, the output shown in FIG. 3 (h) maintains the low level.
[0040]
Next, when there is a reflecting object, disturbance light is blocked by the reflecting object and is not incident on the light receiving element 24, and the pulsed light of the light emission signal shown in FIG. Incident. This pulsed light is sampled by the signal detection gate signal shown in FIG. 3 (d) into the AC amplifier output shown in FIG. 3 (c) and obtained as the signal detection output shown in FIG. 3 (e). Further, since disturbance light is blocked by the object 29, the noise detection output of FIG. 3 (g) sampled at the timing of the noise detection gate signal shown in FIG. 3 (f) maintains the low level. In this case, when the signal detection output is continuously input three times, the output shown in FIG. 3H changes from the Low level to the High level, and the object 29 is detected. If there is no disturbance light shown in FIG. 3B, the state in which the object 29 is displaced from the optical path between the light emitting element 23 and the light receiving element 24 and the light reflected by the object 29 is not received by the light receiving element 24 is three times or more. If it continues continuously, the output shown in FIG. 3H will change from High to Low, and the object 29 will be in a non-detection state.
[0041]
In the state where there is a reflecting object in FIG. 3 and a state in which continuous high-frequency disturbance light is incident, continuous high-frequency disturbance light is present in the optical path between the light-emitting element 23 and the light-receiving element 24. In this case, the light does not enter the light receiving element 24, but enters the light receiving element 24 when the reflection object disappears. The received light output corresponding to the continuous high frequency cannot be removed by the BPF 34, the AC amplifier 25, and the comparator 26. Further, since the BPF 34 has a pass frequency band, it is less affected, but is completely removed. Therefore, the signal is input to the signal detection circuit 31 and the noise detection circuit 32. Since this AC amplifier output matches the timing of the signal detection gate signal shown in FIG. 3D and the noise detection gate signal shown in FIG. 3F, the signal detection output shown in FIG. The noise detection output shown in g) is continuously obtained. Since the noise detection output shown in FIG. 3G is obtained twice in succession, the output shown in FIG. 3H changes from the high level to the low level indicating the non-detection state. As a result, as shown in FIG. 6, it is possible to avoid a malfunction in which the output continues at the high level. The reflection type light modulation type detection device 20 of the present embodiment can be suitably used for the purpose of detecting the presence or absence of paper, for example, with a copying machine or a printer. If a conventional reflection type photo interrupter is used, the presence of paper may be erroneously detected if a copier or the like is installed in a place where direct disturbance light such as an inverter fluorescent lamp is likely to be incident. On the other hand, if the reflection type light modulation type detection device 20 of the present embodiment is used, the presence or absence of paper can be detected reliably.
[0042]
In the reflection type light modulation type detection device 20 of the present embodiment, the BPF 34 is inserted between the output side of the light receiving element 24 and the input side of the AC amplifier 25, but at another position such as the output side of the AC amplifier 25. It can also be inserted. Further, the influence of disturbance light having a low frequency can be removed to some extent by simply cutting the DC component on the input side of the AC amplifier 25 without using the BPF 34. Further, although the comparator 26 is commonly used by the signal detection circuit 31 and the noise detection circuit 32, if the signal detection circuit 31 and the noise detection circuit 32 are provided separately and the reference level can be adjusted respectively, the disturbance 26 The object 29 can be adjusted to a condition that allows more reliable detection according to the light input state.
[0043]
Further, both the signal detection circuit 31 and the noise detection circuit 32 are configured as shown in FIG. 2 and are reflected in the determination result when there are a plurality of continuous inputs. If reflected, the circuit configuration can be simplified using only the AND gate 40. The signal processing circuit 27 can also be realized by a program operation of a microcomputer.
[0044]
【The invention's effect】
As described above, according to the present invention, even when continuous high-frequency disturbance light is incident when an object is detected by reflected light, it is detected as noise after the object disappears, and the noise detection result Therefore, it is possible to realize a reflection type light modulation type detection device with few erroneous determinations. As a result, it can be used as a reflection type photo interrupter for detecting the presence or absence of paper such as copying machines and printers. When detecting the presence / absence or the like, it is possible to make it difficult to make an erroneous determination.
[0045]
In addition, since the object detection is prioritized in the noise detection result, it is possible to prevent erroneous determination due to the influence of noise after the object disappears after detecting an object that reflects light as a reflective photodetection device. Can do.
[0046]
In addition, according to the present invention, only when the detection signal represents the same sampling result continuously for a predetermined number of times or more, it is reflected in the change of the determination result. The effect can be prevented.
[0047]
In addition, according to the present invention, only when the noise detection signal represents the same sampling result continuously for a preset number of times, it is reflected in the change of the determination result, so that a single noise detection signal is input due to disturbance or the like. However, the determination result is not changed by the result, and reliable noise detection can be performed.
[0048]
In addition, according to the present invention, since the gate signal can be given to the signal detection circuit in accordance with the timing when the light emitting element is optically modulated and the light emission intensity is increased, reliable signal detection can be performed.
[0049]
According to the present invention, since the gate signal is given to the noise detection circuit at a timing different from the timing at which the light emission intensity of the light emitting element is increased, noise can be reliably detected.
[0050]
Further, according to the present invention, since the ratio between the pulse width and the pulse period at which the light emitting element increases the light emission intensity can be adjusted, it is possible to prevent the light from being affected by disturbance light.
[0051]
Further, according to the present invention, the light reception output of the light receiving element is compared with a preset reference level, and the light reception output is not given to the signal detection circuit and the noise detection circuit below the reference level. Any input can be ignored.
[0052]
Further, according to the present invention, the reference level that does not give the light receiving output of the light receiving element to the signal detecting circuit and the noise detecting circuit can be adjusted separately, so that the object can be detected efficiently and is not easily affected by noise. Can be adjusted to.
[0053]
In addition, according to the present invention, since the light reception output of the light receiving element is filtered using the band-pass filter, it is possible to easily remove noise that is out of the frequency at which the light emission intensity of the light emitting element increases.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a schematic electrical configuration of a reflective light modulation type detection apparatus according to an embodiment of the present invention.
2 is a block diagram showing a configuration of a signal detection circuit 31 and a noise detection circuit 32 of FIG.
3 is a time chart showing the operation timing of each part of the reflection type light modulation type detection device 20 of FIG. 1; FIG.
FIG. 4 is a block diagram showing a schematic electrical configuration of a conventional light modulation type detection apparatus.
5 is a block diagram showing a configuration of a signal processing circuit 27 in FIG. 4. FIG.
6 is a time chart showing the operation timing of each part of the light modulation type detection apparatus of FIG. 5. FIG.
[Explanation of symbols]
20 Reflection type light modulation type detection device
21 Oscillator circuit
23 Light Emitting Element
24 Light receiving element
25 AC amplifier
26 Comparator
27 Signal processing circuit
29 objects
30 judgment circuit
31 Signal detection circuit
32 Noise detection circuit
33 Gate signal generation circuit
34 BPF
35 Regulator
42 Count setting register

Claims (9)

発光素子から周期的に発光強度が変化するように変調した光を投射し、反射光を受光素子が受光することによって、投射光を反射する物体の有無を検出する反射式光変調型検出装置において、
受光素子の受光出力を、発光素子の発光強度が高いタイミングと合うように同期してサンプリングし、検出信号としてサンプリング結果を導出する信号検出回路と、
受光素子の受光出力を、発光素子の発光強度が高いタイミングと重ならないように同期してサンプリングし、サンプリング結果をノイズ信号として導出するノイズ検出回路と、
信号検出回路からの検出信号に基づいて物体の検出の判定を行い、ノイズ検出回路からのノイズ検出信号に基づいて物体非検出の判定を行う判定回路とを含み、
前記判定回路は、前記ノイズ検出回路からのノイズ検出信号が前記受光素子への反射光の受光を表すとき、前記信号検出回路からの検出信号が受光素子への反射光の受光を表すときでも、前記物体の非検出の判定を行うことを特徴とする反射式光変調型検出装置。
In a reflective light modulation type detection device that projects light modulated so that the light emission intensity periodically changes from a light emitting element, and the light receiving element receives reflected light to detect the presence or absence of an object that reflects the projected light. ,
A signal detection circuit that samples the light reception output of the light receiving element in synchronization with the timing at which the light emission intensity of the light emitting element is high, and derives a sampling result as a detection signal;
A noise detection circuit that samples the light reception output of the light receiving element in synchronization with the timing at which the light emission intensity of the light emitting element is high, and derives the sampling result as a noise signal;
A determination circuit that determines whether an object is detected based on a detection signal from the signal detection circuit, and that determines whether an object is not detected based on a noise detection signal from the noise detection circuit;
The determination circuit, when the noise detection signal from the noise detection circuit represents reception of reflected light to the light receiving element, even when the detection signal from the signal detection circuit represents reception of reflected light to the light receiving element, A reflection type light modulation type detection apparatus, wherein the non-detection of the object is determined.
前記判定回路は、前記信号検出回路からの検出信号が、予め設定される回数以上連続して同一のサンプリング結果を表すときにのみ、判定結果の変更に反映させることを特徴とする請求項1記載の反射式光変調型検出装置。  2. The determination circuit according to claim 1, wherein the determination circuit reflects the change in the determination result only when the detection signal from the signal detection circuit represents the same sampling result continuously for a preset number of times. Reflective light modulation type detection device. 前記判定回路は、前記ノイズ検出回路からのノイズ信号が、予め設定される回数以上連続して同一のサンプリング結果を表すときにのみ、判定結果の変更に反映させることを特徴とする請求項1または2記載の反射式光変調型検出装置。  The determination circuit reflects the change in the determination result only when the noise signal from the noise detection circuit represents the same sampling result continuously for a predetermined number of times or more. 3. The reflection type light modulation type detection device according to 2. 前記発光素子を予め設定されるパルス幅で発光強度が高くなるように変調して駆動するための駆動信号を発生する駆動信号発生回路と、
駆動信号発生回路からの駆動信号に同期させ、該発光素子で発光強度が高くなるタイミングと同一のタイミングもしくは信号遅延時間分だけ遅らせたタイミングで、前記受光素子の受光出力をサンプリングするように、ゲート信号を前記信号検出回路に与えるゲート信号発生回路をさらに含むことを特徴とする請求項1〜3のいずれかに記載の反射式光変調型検出装置。
A drive signal generating circuit for generating a drive signal for modulating and driving the light emitting element so as to increase the light emission intensity with a preset pulse width;
In synchronization with the drive signal from the drive signal generation circuit, the gate is configured to sample the light reception output of the light receiving element at the same timing as the timing when the light emission intensity increases at the light emitting element or at a timing delayed by the signal delay time. 4. The reflection type light modulation type detection device according to claim 1, further comprising a gate signal generation circuit for supplying a signal to the signal detection circuit.
前記ゲート信号発生回路は、前記ノイズ検出回路が前記受光素子の受光出力をサンプリングするためのゲート信号を、前記信号検出回路に与えるゲート信号とは異なるタイミングで発生し、該ノイズ検出回路に与えることを特徴とする請求項4記載の反射式光変調型検出装置。  The gate signal generation circuit generates a gate signal for sampling the light reception output of the light receiving element by the noise detection circuit at a timing different from a gate signal applied to the signal detection circuit, and supplies the gate signal to the noise detection circuit. The reflection type light modulation type detection apparatus according to claim 4. 前記駆動信号発生回路は、前記発光素子の発光強度を高くするパルス幅と、パルス周期との比率を調整可能であることを特徴とする請求項4または5記載の反射式光変調型検出装置。  6. The reflective light modulation type detection device according to claim 4, wherein the drive signal generation circuit is capable of adjusting a ratio between a pulse width for increasing the light emission intensity of the light emitting element and a pulse period. 前記受光素子の受光出力を予め設定される基準レベルと比較し、受光出力が基準レベル以下のときには、前記信号検出回路およびノイズ検出回路へは該受光出力を入力させない比較回路をさらに含むことを特徴とする請求項1〜6のいずれかに記載の反射式光変調型検出装置。  A light receiving output of the light receiving element is compared with a reference level set in advance, and further includes a comparison circuit that does not input the light receiving output to the signal detection circuit and the noise detection circuit when the light reception output is below the reference level The reflection type light modulation type detection device according to claim 1. 前記比較回路は、前記信号検出回路と前記ノイズ検出回路とへ前記受光出力を入力させない基準レベルを、別個に調整可能であることを特徴とする請求項7記載の反射式光変調型検出装置。  8. The reflection type light modulation type detection apparatus according to claim 7, wherein the comparison circuit is capable of separately adjusting a reference level at which the light reception output is not input to the signal detection circuit and the noise detection circuit. 前記受光素子の受光出力を、前記発光素子の発光強度が変化する周波数に一致する通過周波数帯域特性を有して濾波するバンドパスフィルタをさらに含むことを特徴とする請求項1〜8のいずれかに記載の反射式光変調型検出装置。  9. A band-pass filter that further filters a light reception output of the light receiving element with a pass frequency band characteristic that matches a frequency at which the light emission intensity of the light emitting element changes. A reflection type light modulation type detection device as described in 1.
JP2000033928A 2000-02-10 2000-02-10 Reflection type light modulation type detection device Expired - Fee Related JP3638243B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000033928A JP3638243B2 (en) 2000-02-10 2000-02-10 Reflection type light modulation type detection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000033928A JP3638243B2 (en) 2000-02-10 2000-02-10 Reflection type light modulation type detection device

Publications (2)

Publication Number Publication Date
JP2001221859A JP2001221859A (en) 2001-08-17
JP3638243B2 true JP3638243B2 (en) 2005-04-13

Family

ID=18558344

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000033928A Expired - Fee Related JP3638243B2 (en) 2000-02-10 2000-02-10 Reflection type light modulation type detection device

Country Status (1)

Country Link
JP (1) JP3638243B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006162482A (en) 2004-12-08 2006-06-22 Sharp Corp Light modulation type photo-interrupter
JP4614184B2 (en) * 2006-03-17 2011-01-19 Toto株式会社 Human body detection device and faucet control device having the same
JP4644732B2 (en) 2008-09-18 2011-03-02 シャープ株式会社 Light modulation type detection apparatus and electronic apparatus

Also Published As

Publication number Publication date
JP2001221859A (en) 2001-08-17

Similar Documents

Publication Publication Date Title
JP2003023347A (en) Photoelectric sensor
JP2002148353A (en) Photo detector
JP3638243B2 (en) Reflection type light modulation type detection device
US5243181A (en) Noise-insensitive, photoelectric transceiver including a digital stability indicator
JP4994929B2 (en) Object detection circuit
US6600146B2 (en) Photoelectric switches
JP2007205775A (en) Photoelectric sensor
JP2876387B2 (en) Seating detection device
JP2761702B2 (en) Photodetector
JPH0656360B2 (en) Optical detection device
JP3833929B2 (en) Multi-axis photoelectric sensor
JPH11120451A (en) Detector
JPH1038751A (en) Optical fiber breakage detector
JP4777538B2 (en) Photoelectric sensor
JPH0571957A (en) Active range finder
JP3654356B2 (en) Photoelectric switch
JPH04271613A (en) Photoelectric switch
JPH08184680A (en) Device and method for detecting light
JP2555674B2 (en) Photoelectric switch
JP3354210B2 (en) Photoelectric switch
JPH04147085A (en) Photo sensor
JP3372328B2 (en) Photoelectric sensor
JPH0964713A (en) Touch key
JP3198528B2 (en) Optical sensor and operation method thereof
JPS63250215A (en) Photoelectric switch

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040301

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040713

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040913

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: 20050105

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050107

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20080121

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20090121

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees