JP6111098B2 - Optical sensor - Google Patents

Optical sensor Download PDF

Info

Publication number
JP6111098B2
JP6111098B2 JP2013049380A JP2013049380A JP6111098B2 JP 6111098 B2 JP6111098 B2 JP 6111098B2 JP 2013049380 A JP2013049380 A JP 2013049380A JP 2013049380 A JP2013049380 A JP 2013049380A JP 6111098 B2 JP6111098 B2 JP 6111098B2
Authority
JP
Japan
Prior art keywords
light
light receiving
monitor
disturbance
receiving element
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.)
Active
Application number
JP2013049380A
Other languages
Japanese (ja)
Other versions
JP2014175607A (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.)
Kodenshi Corp
Original Assignee
Kodenshi 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 Kodenshi Corp filed Critical Kodenshi Corp
Priority to JP2013049380A priority Critical patent/JP6111098B2/en
Publication of JP2014175607A publication Critical patent/JP2014175607A/en
Application granted granted Critical
Publication of JP6111098B2 publication Critical patent/JP6111098B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Photo Coupler, Interrupter, Optical-To-Optical Conversion Devices (AREA)

Description

本発明は、例えば発光素子から射出されて検出対象物により反射された光を受光素子により受光し、その受光素子の出力に基づいて前記検出対象物の有無を検知する光センサに関するものである。   The present invention relates to an optical sensor that receives, for example, light emitted from a light emitting element and reflected by a detection object by a light receiving element, and detects the presence or absence of the detection object based on an output of the light receiving element.

例えば、コピー機において原稿がセットされているかどうかを検出するために発光素子と受光素子からなる反射型光センサが用いられている。このものは、発光素子から投光された光のうち原稿において反射されて受光素子に入射する光の有無に基づいて原稿の有無を検出するように構成されているが、実際には蛍光灯等の発光素子以外の光が外乱光として受光素子に入射し、検知精度に悪影響を与えることがある。   For example, a reflection type optical sensor composed of a light emitting element and a light receiving element is used to detect whether a document is set in a copying machine. This is configured to detect the presence / absence of a document based on the presence / absence of light reflected from the document and incident on the light receiving element out of the light projected from the light emitting element. Light other than the light-emitting element may enter the light-receiving element as disturbance light and adversely affect detection accuracy.

このような外乱光による影響を無くし、原稿等の検出対象物の検知精度を向上させるために特許文献1に記載の反射型光センサでは、前記発光素子を発光させていないときの前記受光素子の出力から外乱光の有無を判定し、外乱光が有ると判定された場合には検出対象物が無いと判定するように構成されている。   In order to eliminate the influence of such disturbance light and improve the detection accuracy of a detection target such as a document, the reflection type optical sensor described in Patent Document 1 is configured so that the light receiving element does not emit light. The presence or absence of disturbance light is determined from the output, and when it is determined that there is disturbance light, it is determined that there is no detection target.

より具体的には、図7(a)に示すようにこの反射型光センサでは所定周期の受光クロックで前記受光素子からの出力を取得するとともに、前記受光クロックの2倍の周期を有し、当該受光クロックと位相が揃えられた発光クロックで前記発光素子をパルス発光させるよう構成されている。そして、前記発光素子が発光するタイミングでは検出対象物の有無を判定し、前記発光素子が発光していないタイミングでは外乱光の有無を判定する。   More specifically, as shown in FIG. 7 (a), the reflection type optical sensor acquires an output from the light receiving element with a light receiving clock having a predetermined period, and has a cycle twice that of the light receiving clock, The light emitting element is configured to emit pulses with a light emission clock whose phase is aligned with that of the light reception clock. And the presence or absence of a detection target is determined at the timing when the light emitting element emits light, and the presence or absence of disturbance light is determined at the timing when the light emitting element does not emit light.

このように構成されているので、図7(b)(c)のように前記発光素子が発光していないタイミングで受光素子からの出力がなく、外乱光が無いと判定されている場合には、前記発光素子が発光しているタイミングで前記受光素子からの出力がある場合のみ検出対象物が有ると判定される。また、図7(d)のように外乱光が有ると判定されている状態では、前記発光素子が発光しているタイミングで前記受光素子からの出力がある場合でも非検知の判定が下される。   Since it is configured in this manner, as shown in FIGS. 7B and 7C, when it is determined that there is no output from the light receiving element at the timing when the light emitting element is not emitting light and there is no disturbance light. Only when there is an output from the light receiving element at the timing when the light emitting element emits light, it is determined that there is an object to be detected. Further, in the state where it is determined that there is disturbance light as shown in FIG. 7D, the non-detection determination is made even when there is an output from the light receiving element at the timing when the light emitting element emits light. .

ところで、このような1つのクロックごとに検出対象物の有無の判定と外乱光の有無の判定を交互に繰り返すように構成していると、図7(e)に示すように発光クロックに同期する周波数の外乱光、例えば、インバータ蛍光灯等の光が受光素子で受光されている場合、検出対象物が無いにもかかわらず、受光素子からの出力パターンが図(b)のような検知パターンと一致してしまうことがある。すなわち、図7(e)のように検出対象物が無いにもかかわらず検知の判定が下される誤検出が発生する恐れがあり、特許文献1に記載の反射型光センサであっても外乱光に対する耐性は十分であるとは言えない。   By the way, if it is configured such that the determination of the presence / absence of the detection target and the determination of the presence / absence of disturbance light are repeated alternately for each one clock, as shown in FIG. When disturbance light of a frequency, for example, light from an inverter fluorescent lamp or the like is received by the light receiving element, the output pattern from the light receiving element is the detection pattern as shown in FIG. May match. That is, as shown in FIG. 7 (e), there is a risk of erroneous detection in which detection determination is made despite the absence of a detection target, and even the reflective optical sensor described in Patent Document 1 is a disturbance. It cannot be said that the resistance to light is sufficient.

また、図7(d)に示されるように外乱光が受光素子に入っている間は、たとえ前記発光素子が発光しているタイミングで前記受光素子からの出力があったとしても常に検出対象物はないという判定を出すように構成されているにもかかわらず、検出対象物の有無の判定は繰り返される。そして、外乱光の状態がごく短時間で変化することは少ないため、ほとんどの場合、非検知の結果がしばらく継続されることになる。すなわち、外乱光が有る場合等には所定期間の間は判定結果がほぼ確定しているにも関わらず、受光素子及び発光素子の動作が無意味に繰り返されて電力が無駄に消費されていることになる。   In addition, as shown in FIG. 7D, while disturbance light is entering the light receiving element, even if there is an output from the light receiving element at the timing when the light emitting element emits light, the detection target is always present. The determination of the presence or absence of the detection target is repeated, although the determination is made that there is no detection. And since the state of disturbance light rarely changes in a very short time, in most cases, the result of non-detection is continued for a while. That is, when there is disturbance light, etc., the determination result is almost fixed for a predetermined period, but the operation of the light receiving element and the light emitting element is meaninglessly repeated to waste power. It will be.

例えば、バッテリー容量の限られているスマートフォン等において通話モードとタッチ操作モードを切り替えるために近接センサとして反射型光センサを用いる場合、外乱光による誤作動は防ぎつつ、上述したような電力消費の無駄はできる限り抑えることが求められる。   For example, when a reflective optical sensor is used as a proximity sensor to switch between a call mode and a touch operation mode on a smartphone with limited battery capacity, the above-described waste of power consumption is avoided while preventing malfunction due to ambient light. Must be kept as low as possible.

特許3491868号公報Japanese Patent No. 3491868

本発明は上述したような問題を鑑みてなされたものであり、外乱光に対する耐性を高め、検出対象物の有無についての誤検知を防ぎつつ、消費電流を大幅に低減することができる光センサを提供することを目的とする。   The present invention has been made in view of the above-described problems, and is an optical sensor capable of significantly reducing current consumption while improving resistance to disturbance light and preventing erroneous detection of the presence or absence of a detection target. The purpose is to provide.

すなわち、請求項1に記載の本発明の光センサは、検出対象物へ光を投光する発光素子と、前記検出対象物からの光又は外乱光を受光する受光素子と、前記受光素子からの出力に基づいて検出対象物の有無の判定する判定部とを備え、前記判定部が、前記発光素子を発光させずに予め定められた受光クロックで前記受光素子から出力を1又は複数回取得し、それらの出力に基づいて外乱光の有無を判定する外乱光モニタを実行し、前記外乱光モニタ実行後に前記受光クロックと一致するタイミングの発光クロックで前記発光素子を1又は複数回パルス駆動させるとともに、各パルス発光時の前記受光素子の出力に基づいて前記検出対象物の有無を判定する自投光モニタを実行するよう構成されており、前記外乱光モニタにおいて外乱光が有ると判定された場合、又は、前記自投光モニタにおいて前記検出対象物が無いと判定された場合にはその時点以降の前記発光素子のパルス駆動を少なくとも休止する休止モードへ所定期間移行するように構成されており、前記判定部が、前記外乱光モニタ及び前記自投光モニタを一単位とするバーストを複数回繰り返し、各バーストの前記自投光モニタにおける前記検出対象物の有無の判定結果に基づいて最終判定結果を出力するように構成されており、あるバーストにおいて休止モードに移行した場合は、その後の所定回数のバーストについても休止モードを継続した後に前記検出対象物の有無の判定を実行するように構成されていることを特徴とする。 That is, the optical sensor according to the first aspect of the present invention includes a light emitting element that projects light onto a detection target, a light receiving element that receives light or disturbance light from the detection target, and a light receiving element from the light receiving element. A determination unit that determines the presence or absence of a detection target based on the output, and the determination unit acquires the output from the light receiving element one or more times with a predetermined light receiving clock without causing the light emitting element to emit light. Then, a disturbance light monitor that determines the presence or absence of disturbance light based on the output is executed, and after the disturbance light monitor is executed, the light emitting element is pulse-driven one or more times with a light emission clock that coincides with the light reception clock. The self-projection monitor that determines the presence / absence of the detection object based on the output of the light receiving element at the time of each pulse emission is configured to execute, and there is disturbance light in the disturbance light monitor When it is determined, or when it is determined that the detection target is not present in the self-projection monitor, it is configured to shift to a pause mode in which at least the pulse driving of the light emitting element after that point is stopped is shifted to a predetermined period. The determination unit repeats a burst having the disturbance light monitor and the self-projection monitor as a unit a plurality of times, and is based on a determination result of the presence or absence of the detection target in the self-projection monitor of each burst. When a transition is made to a pause mode in a certain burst, the presence / absence of the detection object is determined after the pause mode is continued for a predetermined number of bursts thereafter. It is comprised as follows.

このようなものであれば、前記外乱光モニタ実行時に外乱光が有ると判定された時点で、前記発光素子のパルス駆動を休止する休止モードに所定期間に移行するので、外乱光が有ることにより検出対象物の有無を正確に判定できない可能性が高い次の前記自投光モニタを実質的に実行しないようにすることができる。   In such a case, when it is determined that there is disturbance light when the disturbance light monitor is executed, the mode shifts to a pause mode in which the pulse driving of the light emitting element is stopped. The next self-projection monitor that has a high possibility that the presence or absence of the detection target cannot be accurately determined can be substantially prevented from being executed.

逆に言うと、前記自投光モニタが実行される直前の前記外乱光モニタにおいて外乱光がないと判定されて休止モードへの移行が行われないという条件が整わない限り、前記自投光モニタによる検出対象物の有無について判定が行われないので、常に外乱光が無い状態で検出対象物の有無を判定でき、外乱光に対する検知精度の耐性を高めることができる。   In other words, unless the condition that the ambient light monitor immediately before the self-projection monitor is executed is determined not to have ambient light and the transition to the sleep mode is not performed, the self-projection monitor is not established. Therefore, the presence / absence of the detection target can always be determined in the absence of disturbance light, and the tolerance of detection accuracy against disturbance light can be increased.

また、前記外乱光モニタにおいて外乱光が有ると判定された場合には、以降は所定期間の間は前記発光素子のパルス駆動が所定期間行われないので、外乱光が有るため不正確な判定しかできない状況での無駄な動作による消費電流を低減することができる。   In addition, when it is determined that there is disturbance light in the disturbance light monitor, since the pulse driving of the light emitting element is not performed for a predetermined period during the predetermined period thereafter, there is only an inaccurate determination because there is disturbance light. It is possible to reduce current consumption due to useless operation in situations where it is impossible.

さらに、前記自投光モニタ実行時においても、その途中段階で検出対象物が無いと判定された場合にも以降の発光素子のパルス駆動が休止されるので、さらに無駄なパルス発光を防ぎ消費電流を低減することができる。   Further, even when the self-projection monitor is executed, even if it is determined that there is no object to be detected in the middle of the operation, the subsequent pulse driving of the light emitting element is suspended, thereby further preventing unnecessary pulse emission and current consumption. Can be reduced.

前記外乱光モニタ実行時において、外乱光が有ると判定された時点以降、又は、前記自投光モニタ実行時において検出対象物が無いと判定された時点以降の無駄な動作をさらに無くし、消費電流をより低減するには、請求項2に記載の発明のように前記判定部が、前記休止モードにおいて少なくとも前記受光素子の動作も休止させるものであればよい。このようなものであれば、自投光モニタにおける消費電流だけでなく、前記発光素子がパルス駆動されない外乱光モニタにおける消費電流も低減することができるので、さらに省エネ効果を高めることができる。 After the time when it is determined that there is ambient light at the time of execution of the disturbance light monitor, or after the time when it is determined that there is no detection target at the time of execution of the self-projection light monitor, further wasteful operation is further eliminated, In order to further reduce the above, it is sufficient that the determination unit pauses at least the operation of the light receiving element in the pause mode as in the invention described in claim 2. In such a case, not only the current consumption in the self-projection monitor but also the current consumption in the disturbance light monitor in which the light emitting element is not pulse-driven can be reduced, so that the energy saving effect can be further enhanced.

消費電流をさらに低減できるようにするには、請求項3に記載の発明のように前記受光素子と、前記受光素子の出力のうち交流成分を増幅して出力する受光信号交流増幅器と、前記受光信号交流増幅器からの出力と予め定めた閾値との比較を行う比較器と、が受光部を構成し、前記判定部が、前記休止モードにおいて前記受光部も休止させればよい。 In order to further reduce the current consumption , the light receiving element, a light receiving signal AC amplifier that amplifies and outputs an AC component of the output of the light receiving element, and the light receiving element as in the invention of claim 3 a comparator for comparing the predetermined threshold with the output from the signal AC amplifier, constitutes a light receiving portion, the determination unit may be Re was also paused the light receiving portion in the dormant mode.

前記外乱光モニタ実行時において、外乱光の監視基準をより厳しくするとともに、当該外乱光モニタの途中から休止モードへ早期に移行する可能性を高くして、無駄な判定動作を無くし消費電流をさらに低減するには、請求項4に記載の発明のように前記判定部が、前記外乱光モニタ実行時に前記受光素子からの出力があった時点で外乱光が有ると判定し、その時点以降は前記休止モードへ移行するように構成されていればよい。   When the ambient light monitor is executed, the ambient light monitoring standard is made stricter, and the possibility of early transition to the sleep mode from the middle of the ambient light monitor is increased, thereby eliminating wasteful determination operations and further reducing current consumption. In order to reduce, as in the invention described in claim 4, the determination unit determines that there is disturbance light when there is an output from the light receiving element when the disturbance light monitor is executed, and after that point, What is necessary is just to be comprised so that it may transfer to hibernation mode.

前述したのと同様に前記自投光モニタ実行時において、検出対象物の有無の判定基準をより厳しくして、当該自投光モニタの途中から休止モードに移行する可能性を高くし、省エネ効果を高められるようにするには、請求項5に記載の発明のように前記判定部が、前記自投光モニタ実行時にある前記受光素子からの出力がなかった時点で前記検出対象物が無いと判定し、その時点以降は前記休止モードへ移行するように構成されていればよい。   As described above, when the self-projection monitor is executed, the criterion for the presence / absence of the detection target is made stricter, and the possibility of shifting to the sleep mode from the middle of the self-projection monitor is increased. In order to increase the power of the light receiving element, when the determination unit has no output from the light receiving element at the time of execution of the self-projection monitor as in the invention of claim 5, It is only necessary to be configured so as to make a determination and shift to the pause mode after that time.

外乱光モニタ実行時には外乱光が無いと判定されたが、自投光モニタ実行時から周期的に点灯する外乱光が前記受光素子に入射するようになった場合でも、当該外乱光の点灯周期と、前記受光クロックの一部がずれるようにして検出対象物が無い場合には前記受光素子から出力がされないようにし、誤検知が生じないようにするには、請求項6に記載の発明のように前記自投光モニタにおける前記発光クロック及び前記受光クロックの少なくとも一部が、前記外乱光モニタにおける前記受光クロックの周期から外れていればよい。   Although it is determined that there is no ambient light at the time of executing the ambient light monitor, even when ambient light that is periodically lit from the time of executing the self-projection monitor enters the light receiving element, The invention according to claim 6, wherein a part of the light receiving clock is deviated so that no output is detected from the light receiving element when there is no object to be detected and no erroneous detection occurs. In addition, it is only necessary that at least a part of the light emission clock and the light reception clock in the self-projection light monitor deviate from the period of the light reception clock in the disturbance light monitor.

このように本発明の光センサによれば、外乱光モニタ実行時において外乱光が有ると判定された場合には、休止モードに所定期間移行し、前記発光素子のパルス駆動が行われないので、外乱光が有る状態ではそもそも自投光モニタを実行して検出対象物の有無の判定が行われないようにすることができる。したがって、外乱光が確実に無い状態でしか自投光モニタが実行されないので、外乱光の影響を受けずに発光素子から射出された光が検出対象物により反射されるなどして前記受光素子に入射した場合の出力だけを得ることができる。このため、検出対象物の有無の判定精度を極めて高いものにすることができる。また、外乱光が有る状態では、不正確な判定結果が出る恐れがあり、実行する意味があまりない自投光モニタによる検出対象物の有無の判定が行われないので、無駄な動作を休止することができ消費電流を低減することができる。また、検出対象物が無いと判断された時点以降は、無駄な発光素子のパルス駆動が行われないので、このことによってもさらに消費電流を低減することができる。   As described above, according to the optical sensor of the present invention, when it is determined that there is disturbance light at the time of disturbance light monitor execution, the mode is shifted to the pause mode for a predetermined period, and the light emitting element is not pulse-driven. In the presence of ambient light, the self-projection monitor can be executed in the first place so that the presence / absence of the detection target is not determined. Therefore, since the self-projection monitor is executed only in a state where there is no disturbance light, the light emitted from the light emitting element without being influenced by the disturbance light is reflected by the detection target, and the light receiving element is reflected on the light receiving element. Only the output when incident can be obtained. For this reason, the determination accuracy of the presence or absence of the detection target can be made extremely high. In addition, in the presence of ambient light, an inaccurate determination result may be obtained, and the presence / absence of a detection target is not determined by a self-projection monitor that has little meaning to execute, so that useless operations are suspended. Current consumption can be reduced. In addition, since it is determined that there is no object to be detected, useless pulse driving of the light emitting element is not performed, so that the current consumption can be further reduced.

本発明の第1実施形態に係る光センサの構成を示す模式図。The schematic diagram which shows the structure of the optical sensor which concerns on 1st Embodiment of this invention. 第1実施形態における判定部の具体構成を示す模式的機能ブロック図。The typical functional block diagram which shows the specific structure of the determination part in 1st Embodiment. 第1実施形態における外乱光及び検出対象物の有無の検知に関する動作、及び、休止モードへの移行に関する動作を示す模式図。The schematic diagram which shows the operation | movement regarding the detection of the presence or absence of disturbance light in the 1st Embodiment, and the detection target object, and the operation | movement regarding transfer to a sleep mode. 第1実施形態における各種条件での受光素子の出力及び検出対象物の有無の判定結果について示す模式図。The schematic diagram shown about the determination result of the output of the light receiving element on the various conditions in 1st Embodiment, and the presence or absence of a detection target. 第1実施形態における消費電流の低減量に関するシミュレーション結果。The simulation result regarding the reduction amount of the consumption current in 1st Embodiment. 本発明の第2実施形態に係る外乱光及び検出対象物の有無の検知に関する動作、及び、休止モードへの移行に関する動作を示す模式図。The schematic diagram which shows the operation | movement regarding the detection of the presence or absence of the disturbance light which concerns on 2nd Embodiment of this invention, and a detection target, and the operation | movement regarding transfer to a sleep mode. 従来の光センサにおける外乱光及び検出対象物の有無の検知に関する動作を示す模式図。The schematic diagram which shows the operation | movement regarding the detection of the presence or absence of disturbance light and the detection target in the conventional optical sensor.

本発明の第1実施形態に係る反射型光センサ100について図1乃至5を参照しながら説明する。   A reflective optical sensor 100 according to a first embodiment of the present invention will be described with reference to FIGS.

第1実施形態の反射型光センサ100は、例えばスマートフォンにおいて通話モードとタッチパネル操作モードとを切り替えるための近接センサや、人感知センサ、コピー機等の原稿感知センサとしても用いられるものである。   The reflective optical sensor 100 according to the first embodiment is also used as a proximity sensor for switching between a call mode and a touch panel operation mode in a smartphone, and as a document sensor such as a human sensor or a copy machine.

図1及び2に示すようにこの反射型光センサ100は、所定の方向に光を投光する発光素子1と、前記発光素子1に近接して設けられた受光素子2と、前記受光素子2からの出力に基づいて当該受光素子2の近傍に検出対象物Pが有るかどうかを判定する判定部3とから構成してある。   As shown in FIGS. 1 and 2, the reflective optical sensor 100 includes a light emitting element 1 that projects light in a predetermined direction, a light receiving element 2 provided in the vicinity of the light emitting element 1, and the light receiving element 2. It is comprised from the determination part 3 which determines whether the detection target P exists in the vicinity of the said light receiving element 2 based on the output from.

前記発光素子1及び前記受光素子2は、図1に示すように概略鏡像対象状となるように近接させて設けてあり、前記受光素子2は検出対象物Pが有った場合に前記発光素子1から射出された光が検出対象物Pに反射されて当該受光素子2へと入射するように配置してある。   As shown in FIG. 1, the light emitting element 1 and the light receiving element 2 are provided close to each other so as to form a substantially mirror image object. When the detection target P is present, the light receiving element 2 is the light emitting element. The light emitted from 1 is reflected by the detection object P and is incident on the light receiving element 2.

前記判定部3は、前記発光素子1を発光させずに前記受光素子2の出力に基づいて外乱光の有無を判定する外乱光モニタと、前記発光素子1を発光させたときの前記受光素子2の出力に基づいて検出対象物Pの有無を判定する自投光モニタとを1単位とするバーストを複数回繰り返し、各バーストの自投光モニタにおいて検出対象物Pが有ると全て判定された場合に最終判定結果として検出対象物Pが有ると判定するように構成してある。また、各バーストでは、予め定められた所定周期を有する受光クロックで前記受光素子2からの出力を離散的に取得するようにしてあり、それらの出力ごとに外乱光の有無及び検出対象物Pの有無の判定が行われるようにしてある。第1実施形態では、前記判定部3は、前記受光素子2からの出力を1バーストあたりに最大で8回取得するように構成してあり、前記外乱光モニタで最大4回、前記自投光モニタで最大4回前記受光素子2からの出力を取得するようにしてある。なお、8回すべて取得された後は次のバーストが開始されるまでの間、前記受光素子2からの出力は取得されない。   The determination unit 3 includes a disturbance light monitor that determines the presence or absence of disturbance light based on the output of the light receiving element 2 without causing the light emitting element 1 to emit light, and the light receiving element 2 when the light emitting element 1 emits light. When the self-projection monitor that determines the presence or absence of the detection target P based on the output of the burst is repeated a plurality of times, and it is determined that there is the detection target P in the self-projection monitor of each burst. It is configured to determine that there is a detection object P as a final determination result. In each burst, the output from the light receiving element 2 is obtained discretely with a light receiving clock having a predetermined cycle, and the presence or absence of disturbance light and the detection object P are detected for each output. The presence / absence determination is performed. In the first embodiment, the determination unit 3 is configured to acquire the output from the light receiving element 2 at a maximum of 8 times per burst, and the self-projection is performed at a maximum of 4 times by the disturbance light monitor. The monitor outputs the output from the light receiving element 2 up to four times. It should be noted that after all eight acquisitions, the output from the light receiving element 2 is not acquired until the next burst is started.

さらに、第1実施形態の前記判定部3の特徴として、前記外乱光モニタにおいて外乱光が有ると判定された場合、又は、前記自投光モニタにおいて前記検出対象物Pが無いと判定された場合にはその時点以降の前記発光素子1と、前記受光素子2、後述する受光信号交流増幅器34、及び、比較器35を含む受光部R(図2に図示)と、その他の関連する部分の動作を休止する休止モードへ所定期間移行するように構成している。   Furthermore, as a feature of the determination unit 3 of the first embodiment, when it is determined that there is disturbance light in the disturbance light monitor, or when it is determined that there is no detection object P in the self-projection monitor The light-emitting element 1, the light-receiving element 2, the light-receiving signal AC amplifier 34, which will be described later, and the light-receiving unit R (shown in FIG. 2) including the comparator 35, and other related operations The system is configured to shift to a sleep mode for pausing a predetermined period.

前記各モニタにおける詳細な動作について説明する。   The detailed operation of each monitor will be described.

前記外乱光モニタにおいては、図3に示すように前記発光素子1を発光させない状態で予め定められた受光クロックで前記受光素子2からの出力が最大で4回取得されるようにしてあり、4回連続で前記受光素子2からの出力がなかった場合のみ、その外乱光モニタを実行した間には外乱光が存在しないと判定するようにしてある。逆に言うと、前記外乱光モニタでは、前記受光素子2からの出力があった時点で外乱光があると判定するようにしてあり、その時点から休止モードに移行することになる。   In the disturbance light monitor, as shown in FIG. 3, the output from the light receiving element 2 is acquired four times at maximum with a predetermined light receiving clock in a state where the light emitting element 1 does not emit light. Only when there is no output from the light receiving element 2 continuously, it is determined that there is no disturbance light while the disturbance light monitor is executed. In other words, in the disturbance light monitor, it is determined that there is disturbance light at the time when the output from the light receiving element 2 is received, and the mode is shifted to the sleep mode from that point.

前記自投光モニタは、前記外乱光モニタにおいて外乱光が無いと判定されて休止モードに移行しなかった場合にのみ実行されるものであり、前記外乱光モニタに引き続き同じ受光クロックで前記受光素子2からの出力を最大4回取得するように構成してある。そして、この自投光モニタでは、この受光クロックに同期するとともに位相が揃えられた発光クロックで前記発光素子1をパルス発光させている。前記自投光モニタでは、4回連続で前記受光素子2からの出力があった場合にのみ前記検出対象物Pが有ると判定するように構成してある。逆に言うと、前記自投光モニタでは前記受光素子2からの出力がなかった時点で前記検出対象物Pがないと判定するようにしてあり、その時点から休止モードに移行することになる。   The self-projection monitor is executed only when it is determined that there is no disturbing light in the disturbance light monitor and does not enter the sleep mode, and the light receiving element continues with the same light receiving clock as the disturbance light monitor. The output from 2 is acquired up to 4 times. In this self-projecting monitor, the light emitting element 1 is pulse-emitted with a light emission clock synchronized with the light reception clock and having the same phase. The self-projection monitor is configured to determine that the detection target P is present only when there is an output from the light receiving element 2 for four consecutive times. In other words, the self-projection monitor determines that there is no detection target P when there is no output from the light receiving element 2, and shifts to the pause mode from that point.

前記休止モードに移行すると、まず、第1実施形態ではそのバーストにおいてまだ実行されていない受光素子2からの出力の取得と、前記発光素子1のパルス発光を休止する。さらに、その後の所定回数のバーストについても少なくとも前記発光素子1及び前記受光部Rの動作を休止し、その後通常の判定動作に復帰するように構成してある。例えば、前記外乱光モニタにおいて外乱光が有ると判定された場合に休止するバーストの回数は外乱光が有る状態から無い状態へと変化するのに必要な時間に応じて適宜設定できるようにしてある。この時間については実験的に決めてもよい。なお、休止するバーストの回数である前記所定回数は、0回、1回、複数回を含む概念である。   When shifting to the pause mode, first, in the first embodiment, the acquisition of the output from the light receiving element 2 that has not yet been executed in the burst and the pulse emission of the light emitting element 1 are paused. Further, the operation of at least the light emitting element 1 and the light receiving unit R is paused for a predetermined number of subsequent bursts, and then the normal determination operation is resumed. For example, when the disturbance light monitor determines that there is disturbance light, the number of bursts to be paused can be appropriately set according to the time required to change from the presence of disturbance light to the absence of disturbance light. . This time may be determined experimentally. The predetermined number, which is the number of bursts to be paused, is a concept including 0 times, 1 time, and multiple times.

次に外乱光モニタ、自投光モニタ、休止モードを実行するための判定部3の具体的な構成について説明する。   Next, a specific configuration of the determination unit 3 for executing the disturbance light monitor, the self-projection monitor, and the pause mode will be described.

前記判定部3は、図2に示すように少なくとも発振回路31、パルス列発生回路32、発光素子駆動回路33、受光信号交流増幅器34、比較器35、信号処理回路36、出力回路37とから構成してある。   As shown in FIG. 2, the determination unit 3 includes at least an oscillation circuit 31, a pulse train generation circuit 32, a light emitting element drive circuit 33, a light receiving signal AC amplifier 34, a comparator 35, a signal processing circuit 36, and an output circuit 37. It is.

前記発振回路31は、受光クロック及び発光クロックの基準となるタイミングを生成するものであり、前記パルス列発生回路32は、この発振回路31からの信号に基づいて発光クロックを前記発光素子駆動回路33へと出力するようにしてある。前記発光素子駆動回路33は、入力された発光クロックの通りに前記発光素子1をパルス駆動させる。   The oscillation circuit 31 generates a reference timing for the light reception clock and the light emission clock, and the pulse train generation circuit 32 sends the light emission clock to the light emitting element drive circuit 33 based on the signal from the oscillation circuit 31. Is output. The light emitting element driving circuit 33 drives the light emitting element 1 in a pulse manner according to the input light emission clock.

前記受光信号交流増幅器34は、前記受光素子2からの出力のうち交流成分のみを増幅して出力するものである。このものは、直流成分の影響を無くし、例えば太陽光等の定常的な光が外乱光として判定されることによる誤検知を防ぐためのものである。   The light receiving signal AC amplifier 34 amplifies and outputs only the AC component of the output from the light receiving element 2. This is to eliminate the influence of the direct current component and prevent erroneous detection due to, for example, stationary light such as sunlight being determined as disturbance light.

前記比較器35は、前記受光信号交流増幅器34からの出力と予め定めた閾値との比較を行い、出力が閾値を超えた場合には1、越えなかった場合には0を前記信号処理回路36に出力する。   The comparator 35 compares the output from the light receiving signal AC amplifier 34 with a predetermined threshold value, and when the output exceeds the threshold value, 1 is set, and when the output does not exceed 0, the signal processing circuit 36 is set. Output to.

前記信号処理回路36は、図4に示すようにバーストの最初の4回の受光素子2からの出力G1〜G4、すなわち、前記外乱光モニタ実行時における受光素子2からの各出力についてはOR出力するものである。また、バーストの後半における4回の受光素子2からの出力J1〜J4、すなわち、前記自投光モニタ実行時における受光素子2からの各出力についてはAND出力するものである。このようにして、外乱光モニタにおいては受光素子2からの出力が全ての受光クロックでなかった場合にのみ外乱光が無いと判定し、自投光モニタにおいては受光素子2からの出力が全て受光クロックであった場合にのみ検出対象物Pが有ると判定するようにしてある。なお、休止モードでは前記信号処理回路36は、受光部Rが動作していない場合でも常に非検知判定を出力する。   As shown in FIG. 4, the signal processing circuit 36 outputs the outputs G1 to G4 from the light receiving element 2 in the first four bursts, that is, outputs OR from the light receiving element 2 when the disturbance light monitor is executed. To do. In addition, the outputs J1 to J4 from the light receiving element 2 in the latter half of the burst, that is, the outputs from the light receiving element 2 at the time of execution of the self-projection monitor are ANDed. In this way, in the disturbance light monitor, it is determined that there is no disturbance light only when the output from the light receiving element 2 is not all the light reception clocks, and in the self-projection monitor, all the outputs from the light receiving element 2 are received. Only when it is a clock, it is determined that the detection target P is present. In the pause mode, the signal processing circuit 36 always outputs a non-detection determination even when the light receiving unit R is not operating.

そして、前記信号処理回路36は各バーストの検知結果が連続し所定回数検出対象物Pを検知となった場合に、最終判定結果として検出対象物Pが有ると出力するように構成してある。また、前記出力回路37は前記信号処理回路36の判定結果を外部へ供給する駆動回路である。   The signal processing circuit 36 is configured to output that the detection target P is present as the final determination result when the detection results of the bursts are continuous and the detection target P is detected a predetermined number of times. The output circuit 37 is a drive circuit that supplies the determination result of the signal processing circuit 36 to the outside.

このような第1実施形態の反射型光センサ100の具体的動作例について図3のタイミングチャート及び図4の判定結果を参照しながら説明する。なお、図3(a)〜(f)の動作と図4(a)〜(f)の判定結果はそれぞれアルファベット同士が対応するように記載している。また、図3(a)〜(f)の受光出力において0は出力がないこと、1は出力があること、×は休止モードに移行しているため受光出力自体がない場合を示す。また、タイミングチャートの矩形状部分は前記発光素子1がパルス発光していることを示す。   A specific example of the operation of the reflective optical sensor 100 of the first embodiment will be described with reference to the timing chart of FIG. 3 and the determination result of FIG. The operations in FIGS. 3A to 3F and the determination results in FIGS. 4A to 4F are described so that the alphabets correspond to each other. 3A to 3F, 0 indicates that there is no output, 1 indicates that there is an output, and x indicates that there is no light reception output itself because the mode is shifted to the pause mode. The rectangular portion of the timing chart indicates that the light emitting element 1 emits pulse light.

前記判定部3は、外乱光がなく検出対象物Pが有る場合には図3(ST)に示すように基準の受光クロック及び発光クロックで前記発光素子1及び前記受光素子2を動作させることを想定している。実際には、外乱光が有る場合や検出対象物Pが無い場合には休止モードに移行するため図3(ST)の基準クロック通りには動作しない場合もある。   When there is no disturbance light and there is a detection target P, the determination unit 3 operates the light emitting element 1 and the light receiving element 2 with a reference light receiving clock and a light emitting clock as shown in FIG. Assumed. Actually, when there is disturbance light or when there is no detection target P, the operation shifts to the sleep mode, and the operation may not be performed according to the reference clock of FIG.

まず、外乱光が無く検出対象物Pが有る場合の動作について図3(a)を参照しながら説明する。この場合には図3(ST)の想定通りに動作することになり、休止モードに移行することなく、バーストが終了することになる。そして、判定部3から出力される検出対象物Pの有無に関する判定は、図4(a)に示すように検出対象物P有りとの判定結果が出力される。   First, the operation when there is no disturbance light and the detection target P is present will be described with reference to FIG. In this case, the operation is performed as expected in FIG. 3 (ST), and the burst ends without shifting to the sleep mode. And as for the determination regarding the presence or absence of the detection object P output from the determination part 3, the determination result that the detection object P exists is output as shown to Fig.4 (a).

次に外乱光が有る場合について説明する。図3(b)に示すように外乱光モニタの最初の受光クロックにおいて前記受光素子2からの出力があった場合には、その時点で外乱光が有ると判定され、その時点から休止モードに移行する。したがって、図3(b)の×で示されるように外乱光モニタの2番目以降の受光クロックにおける受光部Rの動作、及び、その次の自投光モニタにおける受光部R及び発光素子1のパルス発光も休止となる。この例では最初の受光クロックにおいて受光素子2の出力があったためこのような動作となるが、例えば外乱光モニタの2番目、3番目、4番目の受光クロックにおいて前記受光素子2から出力があった場合には図3(b)に示すのと同様に以降においては受光部R及び発光素子1の動作が休止される。   Next, a case where disturbance light is present will be described. As shown in FIG. 3B, when there is an output from the light receiving element 2 in the first light receiving clock of the disturbance light monitor, it is determined that there is disturbance light at that time, and the mode shifts to the sleep mode from that time. To do. Accordingly, as indicated by x in FIG. 3B, the operation of the light receiving unit R in the second and subsequent light receiving clocks of the disturbance light monitor, and the pulses of the light receiving unit R and the light emitting element 1 in the next self-projected light monitor. The light emission is also paused. In this example, since the output of the light receiving element 2 is output in the first light receiving clock, this operation is performed. For example, there is an output from the light receiving element 2 in the second, third, and fourth light receiving clocks of the disturbance light monitor. In this case, the operations of the light receiving unit R and the light emitting element 1 are suspended after that, as shown in FIG.

次に外乱光が無く、検出対象物Pが無いか、検出対象物Pが有っても検出対象物Pからの反射光が弱いため4回連続では受光素子2からの出力がない場合の動作例について図3(c)〜(f)及び図4(c)〜(f)を参照しながら説明する。   Next, when there is no disturbance light and there is no detection target P, or there is a detection target P, the reflected light from the detection target P is weak, so there is no output from the light receiving element 2 for four consecutive times. Examples will be described with reference to FIGS. 3C to 3F and FIGS. 4C to 4F.

この図3(c)〜(f)のような自投光モニタの動作は、前記外乱光モニタにおいて一度も受光素子2からの出力がなかった場合にのみ実行されるものであり、また、4回連続で受光素子2から出力がない限り、検出対象物Pが有るとは判定しないように構成してあるので、途中で受光素子2からの出力がなかった場合には休止モードへ移行する。すなわち、図3(c)〜(f)に示されるように発光素子1のパルス発光に対応して受光素子2からの出力がなかった場合にはそれ以降は受光部R及び発光素子1の動作を休止する。   The operation of the self-projection monitor as shown in FIGS. 3C to 3F is executed only when there is no output from the light receiving element 2 in the disturbance light monitor. As long as there is no output from the light receiving element 2 consecutively, it is determined that the detection target P is present. Therefore, when there is no output from the light receiving element 2 in the middle, the mode is shifted to the pause mode. That is, as shown in FIGS. 3C to 3F, when there is no output from the light receiving element 2 corresponding to the pulse light emission of the light emitting element 1, the operation of the light receiving unit R and the light emitting element 1 thereafter. To pause.

このように外乱光が有ると判定された場合及び検出対象物Pが無いと判定された場合に休止モードへ移行することによる消費電流の低減効果を図5のシミュレーション結果で示す。   Thus, the simulation result of FIG. 5 shows the effect of reducing current consumption by shifting to the sleep mode when it is determined that there is ambient light and when it is determined that there is no detection target P.

このシミュレーションでは、自投光モニタにおいて前記発光素子1を休止させることによる低減量を示しており、図5に示されるようにこれ以上受光素子2からの出力を取得しても判定結果に変化が生じない状態においてそれ以降の動作を休止することで最大で通常運転時の50%程度の消費電流を低減できることが分かる。 This simulation shows the amount of reduction caused by pausing the light emitting element 1 in the self-projection monitor. Even if the output from the light receiving element 2 is further acquired as shown in FIG. It can be seen that the current consumption can be reduced by up to about 50% during normal operation by pausing the subsequent operation in a state where it does not occur.

このように第1実施形態の反射型光センサ100によれば、前記判定部3が外乱光モニタを実行した際に外乱光が有ると判定された場合には、休止モードに移行し、次の自投光モニタを実行しないように構成されているので、自投光モニタでは必ず外乱光が無い状態で発光素子1から検出対象物Pへ投光された光の反射光が前記受光素子2により受光されるかどうかを検出し、検出対象物Pの有無を判定することができる。   As described above, according to the reflective optical sensor 100 of the first embodiment, when it is determined that the disturbance light is present when the determination unit 3 executes the disturbance light monitor, the mode shifts to the pause mode, and the following Since it is configured not to execute the self-projection monitor, the reflected light of the light projected from the light emitting element 1 to the detection target P in the absence of disturbance light is always reflected by the light receiving element 2 in the self-projection monitor. Whether or not light is received can be detected, and the presence or absence of the detection object P can be determined.

したがって、常に外乱光の影響が無い状態において検出対象物Pの有無の判定を行うことができるので、誤検知を無くしやすい。   Accordingly, since it is possible to determine whether or not the detection target P is present in a state where there is no influence of disturbance light, it is easy to eliminate erroneous detection.

また、図3等に示したように外乱光モニタ及び自投光モニタにおいて判定結果が非検知判定状態となった時点で、休止モードへと移行し、前記受光素子2を含む受光部R及び前記発光素子1の動作を休止させるので、外乱光に対する耐性を高めつつ、消費電流を低減することができる。   Further, as shown in FIG. 3 and the like, when the determination result in the disturbance light monitor and the self-projection monitor becomes the non-detection determination state, the mode shifts to the sleep mode, and the light receiving unit R including the light receiving element 2 and the light receiving unit 2 Since the operation of the light emitting element 1 is suspended, the current consumption can be reduced while enhancing the resistance to disturbance light.

次に本発明の第2実施形態の反射型光センサ100について説明する。   Next, a reflective photosensor 100 according to a second embodiment of the present invention will be described.

第1実施形態においては、外乱光モニタ及び自投光モニタのいずれにおいても常に固定された一定周期で受光クロック及び発光クロックを設定していたが、第2実施形態においては、図6に示すように自投光モニタにおける受光クロック及び発光クロックを一部ずらしてホッピングさせている。   In the first embodiment, the light reception clock and the light emission clock are always set at a fixed period in both the disturbance light monitor and the self-projection light monitor. In the second embodiment, as shown in FIG. In addition, the light receiving clock and the light emitting clock in the self-projecting monitor are partially hopped.

すなわち、第2実施形態の判定部3は、自投光モニタにおける前記発光クロック及び前記受光クロックの少なくとも一部が、前記外乱光モニタにおける前記受光クロックの周期から外れている部分が存在するようにしている。   That is, the determination unit 3 according to the second embodiment makes sure that at least a part of the light emission clock and the light reception clock in the self-projection monitor is out of the period of the light reception clock in the disturbance light monitor. ing.

図6(a)に示した第1実施形態のタイミングチャートと図6(b)に示した第2実施形態のタイミングチャートを比較すれば分かるように、第2実施形態では、自投光モニタにおける3番目の受光クロックのタイミングを固定周期であれば本来有るべきタイミングからずらしてある。   As can be seen by comparing the timing chart of the first embodiment shown in FIG. 6A and the timing chart of the second embodiment shown in FIG. 6B, the second embodiment uses a self-projection monitor. If the timing of the third light receiving clock is a fixed period, it is deviated from the timing that should originally exist.

このように構成することにより、図6(b)の最下段のタイミングチャートに示すように、検出対象物Pが無く、自投光モニタの最初と2番目の受光クロックの周期と同期した周期的外乱光が入射している場合には、三番目の受光クロックの直前で外乱光は受光素子2に入射しているため検出されず、三番目の受光クロックにおいては検出対象物Pからの反射光がなく、受光素子2からの出力がないことになる。   With this configuration, as shown in the bottom timing chart of FIG. 6B, there is no detection target P, and the period is synchronized with the period of the first and second light receiving clocks of the self-projection monitor. When disturbance light is incident, the disturbance light is not detected because it is incident on the light receiving element 2 immediately before the third light receiving clock, and reflected light from the detection object P is detected in the third light receiving clock. Therefore, there is no output from the light receiving element 2.

このように、受光クロックの一部の周期に同期する周期的外乱光が自投光モニタの開始された時点から入るような稀なケースであっても検出対象物Pが無い場合には、検出対象物Pが無いと判定され誤検知されることを防ぐことができる。   In this way, even in the rare case where periodic disturbance light synchronized with a part of the period of the light receiving clock enters from the time when the self-projection monitor is started, if there is no detection target P, the detection is performed. It can be determined that there is no object P and erroneous detection is prevented.

このように第2実施形態の反射型光センサ100によれば、さらに外乱光に対する耐性を高めて、誤検知を防ぐことができる。   As described above, according to the reflective optical sensor 100 of the second embodiment, it is possible to further increase resistance to disturbance light and prevent erroneous detection.

その他の実施形態について説明する。   Other embodiments will be described.

前記各実施形態では、休止モードにおいて前記受光部R及び前記発光素子1の両方を休止させていたが、例えば発光素子1のみを休止させるように構成しても構わない。また、前記受光部R及び前記発光素子1に関連する部位で、休止させても動作上問題がないものについても連動して休止させるようにしても構わない。また、前記実施形態では休止モードにおいては受光部Rの全てを休止させていたが、少なくとも受光素子2を休止させてもよい。このようなものであっても従来と比較して消費電流を低減することができる。 In each of the above-described embodiments, both the light receiving unit R and the light emitting element 1 are paused in the pause mode. However, for example, only the light emitting element 1 may be paused. In addition, the parts related to the light receiving unit R and the light emitting element 1 that do not cause any problem in operation may be stopped in conjunction with each other. In the embodiment, all of the light receiving units R are suspended in the pause mode, but at least the light receiving element 2 may be paused. Even in such a case, current consumption can be reduced as compared with the conventional case.

また、前記実施形態ではバースト単位で休止モードの期間を設定しているが、例えば休止モードの期間は時間により設定し、所定時間経過後に通常モードに復帰するようにしてもよい。より具体的には、休止モードの継続時間を例えば外乱光モニタの途中状態から開始されるように設定しても構わない。   In the embodiment, the pause mode period is set in units of bursts. However, for example, the pause mode period may be set according to time, and may return to the normal mode after a predetermined time has elapsed. More specifically, the duration time of the sleep mode may be set so as to start from the middle state of the ambient light monitor, for example.

さらに外乱光モニタ及び自投光モニタにおける受光素子2からの出力の取得回数は前記各実施形態に示した4回ずつに限られるものではなく、様々な取得回数に設定することができ、それぞれのモニタにおける取得回数も一致させる必要はない。求められる検知精度や検知にかけてよい時間等に応じて適宜設定することができる。また、最終判定結果を出力するのに必要なバーストの回数についても適宜設定してもよい。   Furthermore, the number of acquisitions of the output from the light receiving element 2 in the disturbance light monitor and the self-projection monitor is not limited to four times shown in each embodiment, and can be set to various acquisition times. It is not necessary to match the number of acquisitions in the monitor. It can be set as appropriate according to the required detection accuracy, the time required for detection, and the like. Further, the number of bursts necessary for outputting the final determination result may be set as appropriate.

前記各実施形態では、休止モードに移行する条件として外乱光モニタにおいては1度でも受光素子2からの出力があった場合としていたが、例えば、条件を緩和して外乱光モニタにおいて2回受光素子2からの出力があった場合には外乱光が有ると判定し、休止モードに移行するようにしてもよい。要するに、外乱光モニタにおいて外乱光が有ると判定され、これ以上サンプリングを続けても判定結果が変化しないような状態になったら休止モードに移行するようにすればよい。   In each of the above embodiments, the disturbance light monitor has output from the light receiving element 2 even once as a condition for shifting to the sleep mode. For example, the condition is relaxed and the light receiving element is doubled in the disturbance light monitor. If there is an output from 2, it may be determined that there is ambient light, and the mode may be shifted to the sleep mode. In short, when it is determined that there is disturbance light in the disturbance light monitor and the determination result does not change even if sampling is continued further, the mode may be shifted to the sleep mode.

前記実施形態においては反射型光センサ100を例として説明を行っているが、休止モードへの移行の仕方等については透過型光センサ100等に応用してもよい。   In the above embodiment, the reflection type optical sensor 100 has been described as an example. However, the method of shifting to the sleep mode may be applied to the transmission type optical sensor 100 and the like.

その他、本発明の趣旨に反しない限りにおいて様々な変形や実施形態の組み合わせを行っても構わない。   In addition, various modifications and combinations of embodiments may be performed without departing from the spirit of the present invention.

100・・・反射型光センサ
1 ・・・発光素子
2 ・・・受光素子
3 ・・・判定部
31 ・・・発振回路
32 ・・・パルス列発生回路
33 ・・・発光素子駆動回路
34 ・・・受光信号交流増幅器
35 ・・・比較器
36 ・・・信号処理回路
37 ・・・出力回路
R ・・・受光部
DESCRIPTION OF SYMBOLS 100 ... Reflection type optical sensor 1 ... Light emitting element 2 ... Light receiving element 3 ... Determination part 31 ... Oscillation circuit 32 ... Pulse train generation circuit 33 ... Light emitting element drive circuit 34 ...・ Reception signal AC amplifier 35 ・ ・ ・ Comparator 36 ・ ・ ・ Signal processing circuit 37 ・ ・ ・ Output circuit R ・ ・ ・ Reception unit

Claims (6)

検出対象物へ光を投光する発光素子と、
前記検出対象物からの光又は外乱光を受光する受光素子と、
前記受光素子からの出力に基づいて検出対象物の有無の判定する判定部とを備え、
前記判定部が、
前記発光素子を発光させずに予め定められた受光クロックで前記受光素子から出力を複数回取得し、それらの出力に基づいて外乱光の有無を判定する外乱光モニタを実行し、
前記外乱光モニタ実行後に前記受光クロックと一致するタイミングの発光クロックで前記発光素子を1又は複数回パルス駆動させるとともに、各パルス発光時の前記受光素子の出力に基づいて前記検出対象物の有無を判定する自投光モニタを実行するよう構成されており、
前記外乱光モニタにおいて外乱光が有ると判定された場合、又は、前記自投光モニタにおいて前記検出対象物が無いと判定された場合にはその時点以降の前記発光素子のパルス駆動を少なくとも休止する休止モードへ所定期間移行するように構成されており、
前記判定部が、前記外乱光モニタ及び前記自投光モニタを一単位とするバーストを複数回繰り返し、各バーストの前記自投光モニタにおける前記検出対象物の有無の判定結果に基づいて最終判定結果を出力するように構成されており、
あるバーストにおいて休止モードに移行した場合は、その後の所定回数のバーストについても休止モードを継続した後に前記検出対象物の有無の判定を実行するように構成されていることを特徴とする光センサ。
A light emitting element that projects light onto a detection object;
A light receiving element that receives light or disturbance light from the detection object;
A determination unit for determining the presence or absence of a detection object based on an output from the light receiving element,
The determination unit is
Obtain a plurality of outputs from the light receiving element with a predetermined light receiving clock without causing the light emitting element to emit light, and execute a disturbance light monitor that determines the presence or absence of disturbance light based on those outputs,
The light emitting element is pulse-driven one or more times with a light emission clock that coincides with the light reception clock after execution of the disturbance light monitor, and the presence or absence of the detection target is determined based on the output of the light reception element at the time of each pulse light emission. It is configured to run a self-projecting monitor to determine,
If the disturbance light monitor determines that there is disturbance light, or if the self-projection monitor determines that there is no detection object, at least the pulse driving of the light emitting element after that point is stopped. It is configured to enter the sleep mode for a predetermined period of time,
The determination unit repeats a burst having the disturbance light monitor and the self-projection monitor as a unit a plurality of times, and a final determination result based on the determination result of the detection target in the self-projection monitor of each burst Is configured to output
An optical sensor configured to perform the determination of the presence or absence of the detection target after continuing the pause mode for a predetermined number of bursts thereafter when the mode shifts to the pause mode in a certain burst .
前記判定部が、前記休止モードにおいて少なくとも前記受光素子の動作も休止させる請求項1記載の光センサ。 The optical sensor according to claim 1, wherein the determination unit pauses at least the operation of the light receiving element in the pause mode. 前記受光素子と、前記受光素子の出力のうち交流成分を増幅して出力する受光信号交流増幅器と、前記受光信号交流増幅器からの出力と予め定めた閾値との比較を行う比較器と、が受光部を構成し、  The light receiving element, a light receiving signal AC amplifier that amplifies and outputs an AC component of the output of the light receiving element, and a comparator that compares the output from the light receiving signal AC amplifier with a predetermined threshold value. Part
前記判定部が、前記休止モードにおいて前記受光部も休止させる請求項1記載の光センサ。  The optical sensor according to claim 1, wherein the determination unit also pauses the light receiving unit in the pause mode.
前記判定部が、前記外乱光モニタ実行時に前記受光素子からの出力があった時点で外乱光が有ると判定し、その時点以降は前記休止モードへ移行するように構成されている請求項1乃至3いずれかに記載の光センサ。   The determination unit is configured to determine that there is disturbance light when there is an output from the light receiving element at the time of execution of the disturbance light monitor, and to shift to the pause mode after that point. 3. The optical sensor according to any one of 3. 前記判定部が、前記自投光モニタ実行時にある前記受光素子からの出力がなかった時点で前記検出対象物が無いと判定し、その時点以降は前記休止モードへ移行するように構成されている請求項1乃至4いずれかに記載の光センサ。   The determination unit is configured to determine that there is no detection target at a time when there is no output from the light receiving element at the time of execution of the self-projection monitor, and to shift to the sleep mode after that time. The optical sensor according to claim 1. 前記自投光モニタにおける前記発光クロック及び前記受光クロックの少なくとも一部が、前記外乱光モニタにおける前記受光クロックの周期から外れている請求項1乃至5いずれかに記載の光センサ。
6. The optical sensor according to claim 1, wherein at least a part of the light emission clock and the light reception clock in the self-projection monitor deviates from a period of the light reception clock in the disturbance light monitor.
JP2013049380A 2013-03-12 2013-03-12 Optical sensor Active JP6111098B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013049380A JP6111098B2 (en) 2013-03-12 2013-03-12 Optical sensor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013049380A JP6111098B2 (en) 2013-03-12 2013-03-12 Optical sensor

Publications (2)

Publication Number Publication Date
JP2014175607A JP2014175607A (en) 2014-09-22
JP6111098B2 true JP6111098B2 (en) 2017-04-05

Family

ID=51696511

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013049380A Active JP6111098B2 (en) 2013-03-12 2013-03-12 Optical sensor

Country Status (1)

Country Link
JP (1) JP6111098B2 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3668124B2 (en) * 2000-11-13 2005-07-06 シャープ株式会社 Photodetector
JP2005114435A (en) * 2003-10-03 2005-04-28 Sony Corp Photodetector and photo-detection method
JP4644732B2 (en) * 2008-09-18 2011-03-02 シャープ株式会社 Light modulation type detection apparatus and electronic apparatus

Also Published As

Publication number Publication date
JP2014175607A (en) 2014-09-22

Similar Documents

Publication Publication Date Title
US6720545B2 (en) Photoelectric sensor, control method therefor and semiconductor integrated circuit therefor
JP6852481B2 (en) Photoelectric sensor
JP6590553B2 (en) Photoelectric sensor
US20060108514A1 (en) Pulse modulation light detection device, electronic apparatus, and pulse modulation light detection method
EP3211457A1 (en) Photoelectric sensor and control method thereof
US8504858B2 (en) Wireless input device with a power saving system
JP6111098B2 (en) Optical sensor
JP2019175307A (en) Operation device, position detection system, and control method of operation device
JP5432783B2 (en) Photoelectric switch with communication function and photoelectric switch system
US9356579B2 (en) Waveform generation
JP4922838B2 (en) Fluorescent lamp abnormality detection device
JP6359763B2 (en) Photodetector and electronic device
JP5383327B2 (en) Photon detector, quantum cryptography communication device using the same, and photon detection method
JP4726578B2 (en) LIGHTING CONTROL DEVICE AND LIGHTING DEVICE HAVING THE SAME
US20110221349A1 (en) Illuminating System and Method Thereof
JP5747582B2 (en) Multi-axis photoelectric sensor
JP6156743B2 (en) Lighting device
US20120105378A1 (en) Input apparatus and method of controlling the same
JP2021081992A (en) Alarm and control method therefor
JPH053640B2 (en)
JP2013090301A (en) Photoelectric switch
JPH07209420A (en) Photoelectric sensor
JP2013178129A (en) Photoelectronic sensor and information processing method of object to be detected using the same
JP2010091293A (en) Object detecting apparatus
US9626007B2 (en) Image sensing method, and image sensing apparatus, light source determining system utilizing the image sensing method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160202

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160831

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160908

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20161107

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170313

R150 Certificate of patent or registration of utility model

Ref document number: 6111098

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250