JP2024020890A - detection device - Google Patents

detection device Download PDF

Info

Publication number
JP2024020890A
JP2024020890A JP2022123427A JP2022123427A JP2024020890A JP 2024020890 A JP2024020890 A JP 2024020890A JP 2022123427 A JP2022123427 A JP 2022123427A JP 2022123427 A JP2022123427 A JP 2022123427A JP 2024020890 A JP2024020890 A JP 2024020890A
Authority
JP
Japan
Prior art keywords
detection
light
section
unit
state
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2022123427A
Other languages
Japanese (ja)
Inventor
公丈 佐々木
Kimitake Sasaki
祥平 小寺
Shohei Kodera
禄憲 岩城
Yoshinori Iwaki
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.)
Hosiden Corp
Original Assignee
Hosiden 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 Hosiden Corp filed Critical Hosiden Corp
Priority to JP2022123427A priority Critical patent/JP2024020890A/en
Publication of JP2024020890A publication Critical patent/JP2024020890A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Geophysics And Detection Of Objects (AREA)
  • Photo Coupler, Interrupter, Optical-To-Optical Conversion Devices (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a detection device capable of appropriately detecting the presence or absence of a detection object.
SOLUTION: A detection device 1 includes: an irradiation part 20 for irradiating a predetermined area 12 with light; a reflected light detection part 30 for detecting light reflected by a detection object 2 when the detection object 2 exists in an area 12; a transmitted light detection part 40 for detecting the light when the detection object 2 does not exist in the area 12; and a determination part 60 for determining that the detection object 2 is present in the area 12 when at least one of a case where the reflected light detection part 30 detects the light and a case where the transmitted light detection part 40 does not detect the light.
SELECTED DRAWING: Figure 1
COPYRIGHT: (C)2024,JPO&INPIT

Description

本発明は、物体を検出する検出装置に関する。 The present invention relates to a detection device that detects an object.

従来、物体を検出する検出装置が利用されてきた。このような検出装置として、光を利用して検出物対象物を検出するものがある(例えば特許文献1)。 Conventionally, detection devices for detecting objects have been used. As such a detection device, there is one that detects a target object using light (for example, Patent Document 1).

特許文献1には光結合装置が記載されている。この光結合装置は、検出対象物が通る通路に対して発光する発光素子と、通路における検出対象物を透過した発光素子の光を受光する透過用受光素子と、通路における検出対象物によって反射された発光素子の光を受光する反射用受光素子とを備え、透過用受光素子及び反射用受光素子の夫々の受光量に基づいて検出対象物を識別する。 Patent Document 1 describes an optical coupling device. This optical coupling device includes a light-emitting element that emits light toward a passage through which an object to be detected passes, a light-receiving element for transmission that receives light from the light-emitting element that has passed through the object to be detected in the passage, and a light-receiving element for transmitting light that is reflected by the object to be detected in the passage. The detection target object is identified based on the amount of light received by each of the transmission light receiving element and the reflection light receiving element.

特開平11-168234号公報Japanese Patent Application Publication No. 11-168234

特許文献1に記載の光結合装置は、透過用受光素子の受光量に応じた出力電圧と、反射用受光素子の受光量に応じた出力電圧とに基づいて、通路を通る白紙と光沢用紙と透明用紙とを識別している。すなわち、特許文献1に記載の光結合装置では、透過用受光素子の受光量に応じた出力電圧と、反射用受光素子の受光量に応じた出力電圧とのうちの一方により識別(判定)している。例えば、光結合装置の構成や設置場所等によっては、検出対象物を識別(検出)する場所に、発光素子以外からの光が照射されている場合があり、透過用受光素子の受光量に応じた出力電圧と、反射用受光素子の受光量に応じた出力電圧とのうちの一方による識別(判定)では、検出対象物の有無を適切に検出することができない可能性がある。 The optical coupling device described in Patent Document 1 connects blank paper and glossy paper passing through a path based on an output voltage corresponding to the amount of light received by a transmission light receiving element and an output voltage corresponding to the amount of light received by a reflection light receiving element. It is distinguished from transparent paper. That is, in the optical coupling device described in Patent Document 1, identification (judgment) is performed based on one of the output voltage according to the amount of light received by the transmission light receiving element and the output voltage according to the amount of light received by the reflection light receiving element. ing. For example, depending on the configuration and installation location of the optical coupling device, the location where the object to be detected may be identified (detected) may be illuminated with light from sources other than the light emitting element. The presence or absence of the object to be detected may not be appropriately detected by identification (judgment) based on one of the output voltage that corresponds to the amount of light received by the reflection light receiving element and the output voltage that corresponds to the amount of light received by the reflection light receiving element.

そこで、検出対象物の有無を適切に検出することが可能な検出装置が求められる。 Therefore, there is a need for a detection device that can appropriately detect the presence or absence of a detection target.

本発明に係る検出装置の特徴構成は、所定のエリアに向けて光を照射する照射部と、前記エリアに検出対象物が存在している場合に、当該検出対象物で反射された前記光を検出する反射光検出部と、前記エリアに前記検出対象物が存在していない場合に、前記光を検出する透過光検出部と、前記反射光検出部が前記光を検出した場合、及び、前記透過光検出部が前記光を検出していない場合のうち、少なくともいずれか一方が成立した場合に前記エリアに前記検出対象物が存在していると判定する判定部と、を備えている点にある。 The characteristic configuration of the detection device according to the present invention includes: an irradiation unit that irradiates light toward a predetermined area; and when a detection target exists in the area, the detection device emits the light reflected by the detection target. a reflected light detector that detects the light; a transmitted light detector that detects the light when the detection target is not present in the area; and a transmitted light detector that detects the light when the reflected light detector detects the light; A determination unit that determines that the object to be detected is present in the area when at least one of the cases in which the transmitted light detection unit does not detect the light is satisfied. be.

このような特徴構成とすれば、反射光検出部及び透過光検出部の少なくともいずれか一方の検出結果によって所定のエリアに検出対象物が存在しているか否かを判定することができる。このため、反射光検出部の検出結果のみによって所定のエリアに検出対象物が存在していることが判定可能である場合や、透過光検出部の検出結果のみによって所定のエリアに検出対象物が存在していることが判定可能である場合はもちろん、例えば外乱光が存在するような状況においては、反射光検出部及び透過光検出部の双方の検出結果によって所定のエリアに検出対象物が存在しているか否かを判定することができる。したがって、適切に検出対象物の有無を検出することが可能となる。 With such a characteristic configuration, it is possible to determine whether or not a detection target exists in a predetermined area based on the detection result of at least one of the reflected light detection section and the transmitted light detection section. For this reason, there are cases where it is possible to determine the presence of a detection target in a predetermined area based only on the detection results of the reflected light detector, and cases where it is possible to determine that a detection target exists in a predetermined area based only on the detection results of the transmitted light detector. Not only in cases where it is possible to determine that the object exists, but also in situations where there is ambient light, for example, the detection results of both the reflected light detection unit and the transmitted light detection unit indicate that the detection target exists in a predetermined area. It is possible to determine whether or not the Therefore, it is possible to appropriately detect the presence or absence of the object to be detected.

また、前記判定部は、前記反射光検出部が前記光を検出し、且つ、前記透過光検出部が前記光を検出していない場合に前記エリアに前記検出対象物が存在していると判定すると好適である。 Further, the determination unit determines that the detection target object is present in the area when the reflected light detection unit detects the light and the transmitted light detection unit does not detect the light. Then, it is suitable.

このような構成とすれば、反射光検出部及び透過光検出部の双方の検出結果によって所定のエリアに検出対象物が存在しているか否かを判定することができる。したがって、例えば外乱光が存在するような状況であっても、適切に検出対象物の有無を検出することが可能となる。 With this configuration, it is possible to determine whether or not a detection target exists in a predetermined area based on the detection results of both the reflected light detection section and the transmitted light detection section. Therefore, even in a situation where there is ambient light, for example, it is possible to appropriately detect the presence or absence of the object to be detected.

また、前記検出装置は、所定時間内に、前記反射光検出部が前記光の検出を行うと共に前記透過光検出部が前記光の検出を停止する第1状態と、前記反射光検出部が前記光の検出を停止すると共に前記透過光検出部が前記光の検出を行う第2状態とが含まれるように、前記反射光検出部及び前記透過光検出部の状態を切り替える状態切替部を更に備え、前記判定部は、最新の前記第1状態における前記反射光検出部の検出結果及び前記第2状態における前記透過光検出部の検出結果のうちの一方と、直前の前記第1状態における前記反射光検出部の検出結果及び前記第2状態における前記透過光検出部の検出結果のうちの他方とに基づいて判定すると好適である。 Further, the detection device is configured to have a first state in which the reflected light detection unit detects the light and the transmitted light detection unit stops detecting the light, and a first state in which the reflected light detection unit detects the light and the transmitted light detection unit stops detecting the light within a predetermined time. The apparatus further includes a state switching section that switches states of the reflected light detection section and the transmitted light detection section so as to include a second state in which light detection is stopped and the transmitted light detection section detects the light. , the determination unit includes one of the detection result of the reflected light detection unit in the latest first state and the detection result of the transmitted light detection unit in the second state, and the detection result of the reflection light detection unit in the immediately preceding first state. It is preferable to make the determination based on the detection result of the light detection section and the other of the detection results of the transmitted light detection section in the second state.

このような構成とすれば、反射光検出部及び透過光検出部の双方を、同時に光を検出することが可能な状態とする必要がないので、検出装置の消費電力を低減することが可能となる。 With this configuration, it is not necessary to put both the reflected light detection section and the transmitted light detection section into a state where they can detect light at the same time, so it is possible to reduce the power consumption of the detection device. Become.

また、前記判定部は、前記エリアに前記検出対象物が存在していると判定している状態が継続している場合において、前記反射光検出部の検出結果及び前記透過光検出部の検出結果のうちの一方が変わったときは、当該変わった時点における前記検出対象物の量が、前記存在していると判定した時点における前記検出対象物の量よりも減少していると判定するように構成することが可能である。 In addition, when the determination unit continues to determine that the detection target exists in the area, the determination unit determines the detection result of the reflected light detection unit and the detection result of the transmitted light detection unit. When one of them changes, it is determined that the amount of the detection target at the time of the change is smaller than the amount of the detection target at the time when it is determined that it exists. It is possible to configure

このような構成とすれば、検出対象物の残量の判定を行うことが可能となる。したがって、検出対象物が補充を要するようなものである場合には、検出対象物が空になる前に補充を行うことが可能となる。 With such a configuration, it becomes possible to determine the remaining amount of the object to be detected. Therefore, if the object to be detected requires replenishment, it is possible to replenish the object before it becomes empty.

また、前記照射部は、前記エリアからの高さが前記反射光検出部及び前記透過光検出部の夫々の前記エリアからの高さとは異なるように設けられていると好適である。 Further, it is preferable that the irradiation section is provided so that its height from the area is different from the height of each of the reflected light detection section and the transmitted light detection section from the area.

このような構成とすれば、照射部から照射された光を検出対象物が反射し易いように照射部を配置することで、反射光検出部の検出精度を高めることが可能なる。また、照射部から照射された光を検出対象物が遮り易いように照射部を配置することで、透過光検出部の検出精度を高めることが可能となる。 With such a configuration, the detection accuracy of the reflected light detection section can be improved by arranging the irradiation section so that the detection target object easily reflects the light irradiated from the irradiation section. Further, by arranging the irradiation section so that the detection target object easily blocks the light irradiated from the irradiation section, it is possible to improve the detection accuracy of the transmitted light detection section.

第1の実施形態の検出装置を備えたディスペンサの透過斜視図である。FIG. 2 is a transparent perspective view of a dispenser equipped with the detection device of the first embodiment. 図1のII-II線の断面図である。2 is a sectional view taken along line II-II in FIG. 1. FIG. 第2の実施形態の検出装置の構成を示す模式図である。FIG. 2 is a schematic diagram showing the configuration of a detection device according to a second embodiment. 第2の実施形態の検出装置による検出対象物の一例である。It is an example of the detection target object by the detection apparatus of 2nd Embodiment. 反射光検出部及び透過光検出部の動作を説明する図である。FIG. 3 is a diagram illustrating operations of a reflected light detection section and a transmitted light detection section. 判定部による判定を説明する図である。It is a figure explaining the judgment by a judgment part. 残量が少なくなった場合の判定を説明する図である。FIG. 6 is a diagram illustrating determination when the remaining amount is low. 判定部による判定を説明する図である。It is a figure explaining the judgment by a judgment part. その他の実施形態に係る照射部、反射光検出部、及び透過光検出部の配置について示した図である。FIG. 7 is a diagram showing the arrangement of an irradiation section, a reflected light detection section, and a transmitted light detection section according to another embodiment. その他の実施形態に係る判定部による判定を示す図である。It is a figure showing the judgment by the judgment part concerning other embodiments.

1.第1の実施形態
本発明に係る検出装置は、所定のエリアにおける検出対象物の有無を検出することが可能である。以下、本実施形態の検出装置1について説明する。
1. First Embodiment A detection device according to the present invention is capable of detecting the presence or absence of a detection target in a predetermined area. The detection device 1 of this embodiment will be described below.

図1は本実施形態の検出装置1を備えたディスペンサ101の斜視図である。図2は図1の検出装置1のII-II線の断面図である(検出装置1以外の部分は平面図である)。本実施形態の検出装置1は、検出対象物2として、歯ブラシ2Aを検出する。このため、以下の説明では、検出対象物2を歯ブラシ2Aとして説明する。なお、図1では、理解を容易にするために、ディスペンサ101は筐体100を透かした状態で示している。 FIG. 1 is a perspective view of a dispenser 101 equipped with a detection device 1 of this embodiment. FIG. 2 is a sectional view taken along line II-II of the detection device 1 in FIG. 1 (portions other than the detection device 1 are plan views). The detection device 1 of this embodiment detects a toothbrush 2A as the detection target object 2. Therefore, in the following description, the detection target object 2 will be described as a toothbrush 2A. Note that, in FIG. 1, the dispenser 101 is shown with the housing 100 shown through for easy understanding.

図1及び図2に示されるように、検出装置1は、照射部20、反射光検出部30、透過光検出部40、及び判定部60を備えて構成され、各機能部は、歯ブラシ2Aの有無の検出に係る処理を行うために、CPUを中核部材としてハードウェア又はソフトウェア或いはその両方で構築されている。本実施形態では、判定部60は、基板3に実装される。 As shown in FIGS. 1 and 2, the detection device 1 includes an irradiation section 20, a reflected light detection section 30, a transmitted light detection section 40, and a determination section 60, and each functional section is a component of the toothbrush 2A. In order to perform processing related to presence/absence detection, it is constructed of hardware, software, or both, with a CPU as the core component. In this embodiment, the determination unit 60 is mounted on the substrate 3.

照射部20は、所定のエリア12に向けて光を照射する。所定のエリア12とは、検出装置1における歯ブラシ2Aの存在を検出するために設けられた空間(検出空間)にあたる。照射部20は、例えば赤外線LED(light-emitting diode)を用いて構成するとよい。照射部20は、このようなエリア12に向けて光を照射する。照射部20から照射される光(本実施形態では、赤外線)は、エリア12において集光された状態になると好適である。これにより、エリア12に向けて強度が大きい光を照射することができるので、後述する反射光検出部30及び透過光検出部40での誤検出を防止することが可能となる。 The irradiation unit 20 irradiates light toward a predetermined area 12 . The predetermined area 12 corresponds to a space (detection space) provided for detecting the presence of the toothbrush 2A in the detection device 1. The irradiation unit 20 may be configured using, for example, an infrared LED (light-emitting diode). The irradiation unit 20 irradiates light toward such an area 12. It is preferable that the light (infrared rays in this embodiment) emitted from the irradiation unit 20 be condensed in the area 12 . This makes it possible to irradiate light with high intensity toward the area 12, thereby making it possible to prevent erroneous detection by the reflected light detection section 30 and the transmitted light detection section 40, which will be described later.

反射光検出部30は、エリア12に歯ブラシ2Aが存在している場合に、当該歯ブラシ2Aで反射された光を検出する。上述したように、照射部20は、エリア12に向けて光を照射する。反射光検出部30は、エリア12に、上述した歯ブラシ2Aが存在している場合には、照射部20から照射された後、歯ブラシ2Aで反射された光を検出する位置であって、エリア12に歯ブラシ2Aが存在していない場合には、照射部20から照射された光を検出しない位置に設けられる。なお、反射光検出部30は、エリア12に歯ブラシ2Aが存在していない場合には、歯ブラシ2Aで反射された光の強度よりも低い強度の光(外乱光)が入力されていてもよい。これにより、エリア12に歯ブラシ2Aが存在している状態と、エリア12に歯ブラシ2Aが存在していない状態とで、反射光検出部30に、互いに異なる検出結果を出力させることが可能となる。このような反射光検出部30は、例えば、フォトディテクタを用いて構成するとよい。 The reflected light detection unit 30 detects the light reflected by the toothbrush 2A when the toothbrush 2A is present in the area 12. As described above, the irradiation unit 20 irradiates the area 12 with light. When the above-mentioned toothbrush 2A is present in the area 12, the reflected light detection unit 30 is located at a position to detect the light reflected by the toothbrush 2A after being irradiated by the irradiation unit 20, and is located in the area 12. When the toothbrush 2A is not present in the toothbrush 2A, the toothbrush 2A is provided at a position where the light emitted from the irradiation unit 20 is not detected. Note that when the toothbrush 2A is not present in the area 12, the reflected light detection unit 30 may receive light (disturbance light) having an intensity lower than the intensity of the light reflected by the toothbrush 2A. This allows the reflected light detection unit 30 to output different detection results depending on the state where the toothbrush 2A is present in the area 12 and the state where the toothbrush 2A is not present in the area 12. Such a reflected light detection section 30 may be configured using, for example, a photodetector.

本実施形態では、反射光検出部30は、検出した光の強度に応じた電圧値の電圧を出力するように構成される。すなわち、反射光検出部30は、歯ブラシ2Aで反射された光が入力されていない場合には予め設定された値以下の電圧値(例えば0V)の電圧を出力し、歯ブラシ2Aで反射された光が入力された場合にはその強度に比例した電圧値の電圧を出力するように構成される。 In this embodiment, the reflected light detection section 30 is configured to output a voltage having a voltage value corresponding to the intensity of the detected light. That is, when the light reflected by the toothbrush 2A is not input, the reflected light detection unit 30 outputs a voltage of a voltage value (for example, 0V) that is less than or equal to a preset value, and detects the light reflected by the toothbrush 2A. is configured to output a voltage proportional to the intensity of the input.

透過光検出部40は、エリア12に歯ブラシ2Aが存在していない場合に、光を検出する。透過光検出部40は、エリア12に、上述した歯ブラシ2Aが存在していない場合には、照射部20から照射された光を検出する位置であって、エリア12に歯ブラシ2Aが存在している場合には、照射部20から照射された光が歯ブラシ2Aで遮られ、透過光検出部40に入力されない位置に設けられる。なお、透過光検出部40は、エリア12に歯ブラシ2Aが存在している場合には、エリア12に歯ブラシ2Aが存在していない場合における照射部20から照射された光の強度よりも低い強度の光(外乱光)が入力されていてもよい。これにより、エリア12に歯ブラシ2Aが存在している状態と、エリア12に歯ブラシ2Aが存在してない状態とで、透過光検出部40に、互いに異なる検出結果を出力させることが可能となる。このような透過光検出部40も、反射光検出部30と同様に、例えば、フォトディテクタを用いて構成するとよい。 The transmitted light detection unit 40 detects light when the toothbrush 2A is not present in the area 12. The transmitted light detection unit 40 is located at a position where the light emitted from the irradiation unit 20 is detected when the above-mentioned toothbrush 2A is not present in the area 12, and the toothbrush 2A is present in the area 12. In this case, the toothbrush 2A is provided at a position where the light emitted from the irradiation section 20 is blocked by the toothbrush 2A and is not input to the transmitted light detection section 40. Note that, when the toothbrush 2A is present in the area 12, the transmitted light detection unit 40 detects a light emitted from the irradiation unit 20 with a lower intensity than the intensity of the light emitted from the irradiation unit 20 when the toothbrush 2A is not present in the area 12. Light (disturbance light) may be input. This allows the transmitted light detection unit 40 to output different detection results depending on the state where the toothbrush 2A is present in the area 12 and the state where the toothbrush 2A is not present in the area 12. Like the reflected light detection section 30, the transmitted light detection section 40 may also be configured using, for example, a photodetector.

本実施形態では、透過光検出部40は、検出した光の強度に応じた電圧値の電圧を出力するように構成される。すなわち、透過光検出部40は、歯ブラシ2Aがエリア12に存在している場合には予め設定された値以下の電圧値(例えば0V)の電圧を出力し、歯ブラシ2Aがエリア12に存在していない場合にはその強度に比例した電圧値の電圧を出力するように構成される。 In this embodiment, the transmitted light detection section 40 is configured to output a voltage having a voltage value corresponding to the intensity of the detected light. That is, when the toothbrush 2A is present in the area 12, the transmitted light detection unit 40 outputs a voltage that is less than or equal to a preset value (for example, 0V); If not, the configuration is configured to output a voltage with a voltage value proportional to the intensity.

判定部60は、反射光検出部30が光を検出した場合、及び、透過光検出部40が光を検出していない場合のうち、少なくともいずれか一方が成立した場合にエリア12に歯ブラシ2Aが存在していると判定する。反射光検出部30が光を検出した場合とは、照射部20から照射された光が歯ブラシ2Aで反射され、その反射された光を反射光検出部30が検出した場合である。透過光検出部40が光を検出していない場合とは、照射部20から照射された光が歯ブラシ2Aで遮られて、照射部20から照射された光を透過光検出部40が検出していない場合である。したがって、判定部60は、照射部20から照射された光が歯ブラシ2Aで反射され、その反射された光を反射光検出部30が検出した場合にエリア12に歯ブラシ2Aが存在していると判定し、また、照射部20から照射された光が歯ブラシ2Aで遮られて、照射部20から照射された光を透過光検出部40が検出していない場合にエリア12に歯ブラシ2Aが存在していると判定する。 The determination unit 60 determines that the toothbrush 2A is in the area 12 when at least one of the cases where the reflected light detection unit 30 detects light and the case where the transmitted light detection unit 40 does not detect light is established. It is determined that it exists. The case where the reflected light detection section 30 detects light is the case where the light emitted from the irradiation section 20 is reflected by the toothbrush 2A, and the reflected light detection section 30 detects the reflected light. The case where the transmitted light detection unit 40 is not detecting light means that the light emitted from the irradiation unit 20 is blocked by the toothbrush 2A, and the transmitted light detection unit 40 is not detecting the light irradiated from the irradiation unit 20. This is the case where there is no. Therefore, the determination unit 60 determines that the toothbrush 2A is present in the area 12 when the light emitted from the irradiation unit 20 is reflected by the toothbrush 2A and the reflected light detection unit 30 detects the reflected light. However, if the light emitted from the irradiation section 20 is blocked by the toothbrush 2A and the transmitted light detection section 40 does not detect the light emitted from the irradiation section 20, the toothbrush 2A is present in the area 12. It is determined that there is.

これにより、歯ブラシ2Aを構成する材料の光の反射特性にかかわらず(すなわち、光を反射する材料を用いて歯ブラシ2Aが作製されている場合でも、光を透過する材料を用いて歯ブラシ2Aが作製されている場合でも)、検出装置1のエリア12における歯ブラシ2Aの存在を検出することが可能となる。 As a result, regardless of the light reflection characteristics of the materials constituting the toothbrush 2A (i.e., even if the toothbrush 2A is made using a material that reflects light, the toothbrush 2A may be made using a material that transmits light). Even if the toothbrush 2A is present in the area 12 of the detection device 1, the presence of the toothbrush 2A can be detected.

ここで、本実施形態では、検出装置1は、泡状歯磨きを吐出するディスペンサ101に組み込まれている。ディスペンサ101は、液体歯磨きが貯留されるボトル102と、ボトル102から液体歯磨きを吸い込み、吸い込んだ液体歯磨きを吐出すると共に所定の圧力の空気を吐出するポンプ103と、泡状歯磨きを吐出する吐出口104とを備えている。 Here, in this embodiment, the detection device 1 is incorporated into a dispenser 101 that dispenses foamy toothpaste. The dispenser 101 includes a bottle 102 in which liquid toothpaste is stored, a pump 103 that sucks the liquid toothpaste from the bottle 102, discharges the sucked liquid toothpaste and also discharges air at a predetermined pressure, and a discharge port that discharges the foam toothpaste. 104.

上述したように、検出装置1によりエリア12において、歯ブラシ2Aの存在が検出されると、ポンプ103が吸込管105を介して所定量の液体歯磨きをボトル102から吸い込む。ポンプ103は、吸い込んだ液体歯磨きを、吐出管106に吐出すると共に、吐出管106に連通する空気吐出管107に所定の圧力の空気を吐出する。これにより、吐出管106に吐出された液体歯磨きが吐出管106における空気吐出管107との合流部108において泡状にされる。泡状歯磨き(泡状にされた液体歯磨き)は、吐出口104から吐出される。 As described above, when the detection device 1 detects the presence of the toothbrush 2A in the area 12, the pump 103 sucks a predetermined amount of liquid toothpaste from the bottle 102 via the suction pipe 105. The pump 103 discharges the sucked liquid toothpaste into a discharge pipe 106, and also discharges air at a predetermined pressure into an air discharge pipe 107 communicating with the discharge pipe 106. As a result, the liquid toothpaste discharged into the discharge pipe 106 is turned into a foam at the confluence portion 108 of the discharge pipe 106 with the air discharge pipe 107. Foamy toothpaste (liquid toothpaste made into foam) is discharged from the discharge port 104 .

このように検出装置1は、当該検出装置1が検出対象物2の存在を検出した場合に所定の物体(例えば泡状歯磨き)を吐出するディスペンサ101に組み込んで構成すること可能である。また、ディスペンサ101は、泡状歯磨きだけでなく、例えばハンドソープを吐出する装置であってもよいし、例えばアルコールなどの消毒用液体を吐出する装置であってもよい。もちろん、ディスペンサ101は、液体だけでなく、固体を吐出する装置であってもよいし、気体を吐出する装置であってもよい。 In this way, the detection device 1 can be configured by being incorporated into a dispenser 101 that dispenses a predetermined object (for example, foam toothpaste) when the detection device 1 detects the presence of the detection target 2. Further, the dispenser 101 may be a device that dispenses not only foam toothpaste, but also, for example, hand soap, or a device that dispenses a disinfectant liquid such as alcohol. Of course, the dispenser 101 may be a device that dispenses not only a liquid but also a solid or a gas.

ここで、検出装置1が備えられる場所によっては、照射部20による光とは異なる光(外乱光)が存在する場合がある。このような場所においては、検出装置1は、照射部20が光を照射している時と光を照射していない時との夫々において、定期的に反射光検出部30及び透過光検出部40が光を検出しておき、これらの検出結果に基づいて判定するとよい。 Here, depending on the location where the detection device 1 is provided, light (disturbance light) different from the light emitted by the irradiation unit 20 may exist. In such a place, the detection device 1 periodically detects the reflected light detection section 30 and the transmitted light detection section 40 when the irradiation section 20 is emitting light and when it is not emitting light. It is preferable to detect light in advance and make a determination based on these detection results.

具体的には、反射光検出部30は、照射部20が光を照射している時と、照射部20が光を照射してない時との双方において光を検出する。ここでは、照射部20が光を照射している時の反射光検出部30の検出結果をV1ONとし、照射部20が光を照射していない時の反射光検出部30の検出結果をV1OFFとする。 Specifically, the reflected light detection section 30 detects light both when the irradiation section 20 is emitting light and when the irradiation section 20 is not emitting light. Here, the detection result of the reflected light detection section 30 when the irradiation section 20 is emitting light is V1ON, and the detection result of the reflected light detection section 30 when the irradiation section 20 is not emitting light is V1OFF. do.

同様に、透過光検出部40も、照射部20が光を照射している時と、照射部20が光を照射してない時との双方において光を検出する。ここでは、照射部20が光を照射している時の透過光検出部40の検出結果をV2ONとし、照射部20が光を照射していない時の透過光検出部40の検出結果をV2OFFとする。 Similarly, the transmitted light detection section 40 also detects light both when the irradiation section 20 is emitting light and when the irradiation section 20 is not emitting light. Here, the detection result of the transmitted light detector 40 when the irradiator 20 is emitting light is V2ON, and the detection result of the transmitted light detector 40 when the irradiator 20 is not emitting light is V2OFF. do.

判定部60は、反射光検出部30及び透過光検出部40から検出結果を取得し、V10FFとV10Nとの差(すなわち、V10FF-V10N)をD1として算定し、V20FFとV20Nとの差(すなわち、V20FF-V20N)をD2として算定する。 The determination unit 60 acquires the detection results from the reflected light detection unit 30 and the transmitted light detection unit 40, calculates the difference between V10FF and V10N (i.e., V10FF-V10N) as D1, and calculates the difference between V20FF and V20N (i.e., , V20FF-V20N) as D2.

反射光検出部30により歯ブラシ2Aの検出を行う際、歯ブラシ2Aがエリア12に存在していないときは照射部20による光の照射の有無にかかわらず、反射光検出部30には外乱光のみが入射されるため、D1の値は零に近くなる(略零となる)。一方、歯ブラシ2Aがエリア12に存在しているときは照射部20による光の照射時に、反射光検出部30に光が入射されるため、D1の値は大きくなる。したがって、D1の値が所定の閾値を超えると、歯ブラシ2Aが存在していると判定することが可能となる。 When the toothbrush 2A is detected by the reflected light detection section 30, if the toothbrush 2A is not present in the area 12, the reflected light detection section 30 receives only ambient light regardless of whether or not the irradiation section 20 is irradiating light. Since the light is incident, the value of D1 becomes close to zero (substantially zero). On the other hand, when the toothbrush 2A is present in the area 12, the value of D1 becomes large because the light is incident on the reflected light detection section 30 when the irradiation section 20 irradiates the light. Therefore, when the value of D1 exceeds a predetermined threshold value, it can be determined that the toothbrush 2A is present.

一方、透過光検出部40により歯ブラシ2Aの検出を行う際、歯ブラシ2Aがエリア12に存在していないときは照射部20が光を照射した時のみ、透過光検出部40に光が入射されるため、D2の値は大きくなる。一方、歯ブラシ2Aがエリア12に存在しているときは照射部20による光の照射の有無にかかわらず、透過光検出部40には外乱光のみが入射されるため、D2の値は零に近くなる(略零となる)。したがって、D2の値が所定の閾値を下回ると、歯ブラシ2Aが存在していると判定することが可能となる。 On the other hand, when the toothbrush 2A is detected by the transmitted light detection section 40, when the toothbrush 2A is not present in the area 12, light is incident on the transmitted light detection section 40 only when the irradiation section 20 irradiates light. Therefore, the value of D2 becomes large. On the other hand, when the toothbrush 2A is present in the area 12, regardless of whether or not the irradiation unit 20 is irradiating light, only ambient light is incident on the transmitted light detection unit 40, so the value of D2 is close to zero. (approximately zero). Therefore, when the value of D2 is less than a predetermined threshold value, it can be determined that the toothbrush 2A is present.

このように、本実施形態の検出装置1によれば、反射光による検出及び透過光による検出のうちの一方、又は、双方で歯ブラシ2Aを検出した場合に、エリア12に歯ブラシ2Aが存在していると判定することが可能である。また、透過光による検出が困難なもの(例えば透明な物体等、光を透過するもの)は反射光を用いて検出し、反射光による検出が困難なもの(例えば不透明で黒系色の物体等)は透過光を用いて検出することが可能である。すなわち、検出装置1は、反射光検出部30及び透過光検出部40の双方を備えて構成されているため、反射光検出部30及び透過光検出部40のうちの一方が検出し難い物体を、反射光検出部30及び透過光検出部40のうちの他方が検出することができ、また、外乱光が存在するような環境においても適切に検出することが可能となる。 As described above, according to the detection device 1 of the present embodiment, when the toothbrush 2A is detected by one or both of the detection using reflected light and the detection using transmitted light, it is possible to detect that the toothbrush 2A is present in the area 12. It is possible to determine that there is a In addition, objects that are difficult to detect using transmitted light (such as objects that transmit light, such as transparent objects) are detected using reflected light, and objects that are difficult to detect using reflected light (such as opaque, black objects, etc.) ) can be detected using transmitted light. That is, since the detection device 1 is configured to include both the reflected light detection section 30 and the transmitted light detection section 40, one of the reflected light detection section 30 and the transmitted light detection section 40 detects an object that is difficult to detect. , the other of the reflected light detection section 30 and the transmitted light detection section 40 can perform detection, and it is also possible to perform appropriate detection even in an environment where there is ambient light.

なお、検出装置1の生産(製造)時に、特定の条件下で照射部20が照射する光の強度(発光強度)を変化させて検出限界を確認し、予め調整する(キャリブレーションを行う)ことで、検出装置1にアセンブリされた照射部20と、反射光検出部30及び透過光検出部40との組み合わせによるばらつきを吸収し、安定した検出確度(検出精度)を維持することが可能となる。 Note that when producing (manufacturing) the detection device 1, the detection limit may be checked and adjusted in advance (calibration is performed) by changing the intensity of light emitted by the irradiation unit 20 (emission intensity) under specific conditions. This makes it possible to absorb variations caused by the combination of the irradiation section 20 assembled in the detection device 1, the reflected light detection section 30, and the transmitted light detection section 40, and maintain stable detection accuracy (detection accuracy). .

2.第2の実施形態
次に、検出装置1の第2の実施形態について説明する。図3は、第2の実施形態の検出装置1の構成を模式的に示した模式図である。図3に示されるように、本実施形態の検出装置1は、ステージ10、照射部20、反射光検出部30、透過光検出部40、状態切替部50、判定部60、及び報知部70を備えて構成され、各機能部は、検出対象物2の有無の検出に係る処理を行うために、CPUを中核部材としてハードウェア又はソフトウェア或いはその両方で構築されている。
2. Second Embodiment Next, a second embodiment of the detection device 1 will be described. FIG. 3 is a schematic diagram schematically showing the configuration of the detection device 1 of the second embodiment. As shown in FIG. 3, the detection device 1 of this embodiment includes a stage 10, an irradiation section 20, a reflected light detection section 30, a transmitted light detection section 40, a state switching section 50, a determination section 60, and a notification section 70. Each functional unit is constructed of hardware, software, or both, with the CPU as the core component, in order to perform processing related to detecting the presence or absence of the detection target object 2.

ステージ10は、検出対象物2を載置可能に構成されている。検出対象物2とは、検出装置1によって、有無を検出する対象とされている物体である。図4には、検出装置1によって検出可能な検出対象物2の一例が示される。図4に示されるように、検出装置1では、検出対象物2として、ミルクコーヒーが入ったペットボトル、ミルクティーが入ったペットボトル、紙コップ、白色のアルミ缶、赤色の油性ペンで描いた白い紙、厚さが5mm程度の段ボール、厚さが11μm程度のアルミホイル、持ち手が不透明な材料で構成されている歯ブラシ、人の指の有無を検出可能である。本実施形態では、検出対象物2として、紙コップ2Bを例に挙げて説明する。 The stage 10 is configured such that the detection target object 2 can be placed thereon. The detection target object 2 is an object whose presence or absence is detected by the detection device 1. FIG. 4 shows an example of a detection target object 2 that can be detected by the detection device 1. As shown in FIG. 4, in the detection device 1, the objects 2 to be detected are a plastic bottle containing milk coffee, a plastic bottle containing milk tea, a paper cup, a white aluminum can, and an object drawn with a red oil-based pen. It is possible to detect the presence or absence of white paper, cardboard with a thickness of about 5 mm, aluminum foil with a thickness of about 11 μm, a toothbrush whose handle is made of opaque material, and human fingers. In this embodiment, a paper cup 2B will be described as an example of the detection target object 2.

図3では、ステージ10は、土台部11上に設けられ、この土台部11よりも小型に構成されている。ステージ10と土台部11とは、一体的に成形されていてもよいし、互いに別体で成形され、土台部11上にステージ10を固定するように構成してもよい。また、ステージ10と土台部11は平面視が同じサイズであってもよいが、この場合、土台部11を設けずに構成してもよい。 In FIG. 3, the stage 10 is provided on a base 11 and is configured to be smaller than the base 11. The stage 10 and the base part 11 may be integrally molded, or may be molded separately from each other, and the stage 10 may be fixed on the base part 11. Moreover, the stage 10 and the base part 11 may have the same size in plan view, but in this case, the stage 10 and the base part 11 may be configured without providing the base part 11.

照射部20は、所定のエリア12に向けて光を照射する。本実施形態では、エリア12は、ステージ10の上方に設定される。したがって、照射部20は、ステージ10の上方に設定されたエリア12に向けて光を照射する。照射部20は、例えば赤外線LED(light-emitting diode)を用いて構成するとよい。また、照射部20から照射される光(本実施形態では、赤外線)は、エリア12において集光された状態になると好適である。これにより、エリア12に向けて強度が大きい光を照射することができるので、後述する反射光検出部30及び透過光検出部40での誤検出を防止することが可能となる。 The irradiation unit 20 irradiates light toward a predetermined area 12 . In this embodiment, the area 12 is set above the stage 10. Therefore, the irradiation unit 20 irradiates light toward the area 12 set above the stage 10. The irradiation unit 20 may be configured using, for example, an infrared LED (light-emitting diode). Further, it is preferable that the light (infrared rays in this embodiment) emitted from the irradiation unit 20 be condensed in the area 12 . This makes it possible to irradiate light with high intensity toward the area 12, thereby making it possible to prevent erroneous detection by the reflected light detection section 30 and the transmitted light detection section 40, which will be described later.

反射光検出部30は、エリア12に紙コップ2Bが存在している場合に、当該紙コップ2Bで反射された光を検出する。上述したように、照射部20は、エリア12に向けて光を照射する。反射光検出部30は、エリア12に、上述した検出対象物2が存在している場合には、照射部20から照射された後、紙コップ2Bで反射された光を検出する位置であって、エリア12に検出対象物2が存在していない場合には、照射部20から照射された光を検出しない位置に設けられる。なお、反射光検出部30は、エリア12に紙コップ2Bが存在していない場合には、紙コップ2Bで反射された光の強度よりも低い強度の光(外乱光)が入力されていてもよい。これにより、エリア12に紙コップ2Bが存在している状態と、エリア12に紙コップ2Bが存在していない状態とで、反射光検出部30に、互いに異なる検出結果を出力させることが可能となる。このような反射光検出部30は、例えば、フォトディテクタを用いて構成するとよい。 The reflected light detection unit 30 detects the light reflected by the paper cup 2B when the paper cup 2B is present in the area 12. As described above, the irradiation unit 20 irradiates the area 12 with light. The reflected light detection unit 30 is located at a position to detect the light reflected by the paper cup 2B after being irradiated from the irradiation unit 20 when the detection target 2 described above is present in the area 12. , when the detection target object 2 does not exist in the area 12, it is provided at a position where the light emitted from the irradiation unit 20 is not detected. Note that, when the paper cup 2B is not present in the area 12, the reflected light detection unit 30 detects light even if light (disturbance light) with an intensity lower than the intensity of the light reflected by the paper cup 2B is input. good. As a result, it is possible to cause the reflected light detection unit 30 to output different detection results depending on the state where the paper cup 2B exists in the area 12 and the state where the paper cup 2B does not exist in the area 12. Become. Such a reflected light detection section 30 may be configured using, for example, a photodetector.

本実施形態では、反射光検出部30は、検出した光の強度に応じた電圧値の電圧を出力するように構成される。すなわち、反射光検出部30は、紙コップ2Bで反射された光が入力されていない場合には予め設定された値以下の電圧値(例えば0V)の電圧を出力し、紙コップ2Bで反射された光が入力された場合にはその強度に比例した電圧値の電圧を出力するように構成される。 In this embodiment, the reflected light detection section 30 is configured to output a voltage having a voltage value corresponding to the intensity of the detected light. That is, when the light reflected by the paper cup 2B is not input, the reflected light detection unit 30 outputs a voltage of a voltage value (for example, 0V) that is less than or equal to a preset value, and detects the light reflected by the paper cup 2B. When light is input, a voltage having a voltage value proportional to the intensity of the light is output.

透過光検出部40は、エリア12に紙コップ2Bが存在していない場合に、光を検出する。透過光検出部40は、エリア12に、上述した紙コップ2Bが存在していない場合には、照射部20から照射された光を検出する位置であって、エリア12に紙コップ2Bが存在している場合には、照射部20から照射された光が紙コップ2Bで遮られ、透過光検出部40に入力されない位置に設けられる。なお、透過光検出部40は、エリア12に紙コップ2Bが存在している場合には、エリア12に紙コップ2Bが存在していない場合における照射部20から照射された光の強度よりも低い強度の光(外乱光)が入力されていてもよい。これにより、エリア12に紙コップ2Bが存在している状態と、エリア12に紙コップ2Bが存在していない状態とで、透過光検出部40に、互いに異なる検出結果を出力させることが可能となる。このような透過光検出部40も、反射光検出部30と同様に、例えば、フォトディテクタを用いて構成するとよい。 The transmitted light detection unit 40 detects light when the paper cup 2B is not present in the area 12. The transmitted light detection unit 40 is located at a position where the light emitted from the irradiation unit 20 is detected when the above-mentioned paper cup 2B is not present in the area 12. In this case, the light emitted from the irradiation section 20 is blocked by the paper cup 2B and is provided at a position where it is not input to the transmitted light detection section 40. Note that the transmitted light detection section 40 detects that when the paper cup 2B is present in the area 12, the intensity of the light emitted from the irradiation section 20 is lower than when the paper cup 2B is not present in the area 12. Intense light (disturbance light) may be input. This allows the transmitted light detection unit 40 to output different detection results depending on the state where the paper cup 2B exists in the area 12 and the state where the paper cup 2B does not exist in the area 12. Become. Like the reflected light detection section 30, the transmitted light detection section 40 may also be configured using, for example, a photodetector.

本実施形態では、透過光検出部40は、検出した光の強度に応じた電圧値の電圧を出力するように構成される。すなわち、透過光検出部40は、紙コップ2Bがエリア12に存在している場合には予め設定された値以下の電圧値(例えば0V)の電圧を出力し、紙コップ2Bがエリア12に存在していない場合にはその強度に比例した電圧値の電圧を出力するように構成される。 In this embodiment, the transmitted light detection section 40 is configured to output a voltage having a voltage value corresponding to the intensity of the detected light. That is, when the paper cup 2B exists in the area 12, the transmitted light detection unit 40 outputs a voltage that is less than or equal to a preset value (for example, 0V), and when the paper cup 2B exists in the area 12, If not, the configuration is configured to output a voltage with a voltage value proportional to the intensity.

状態切替部50は、所定時間内に、第1状態と第2状態とが含まれるように、反射光検出部30及び透過光検出部40の状態を切り替える。反射光検出部30及び透過光検出部40の状態とは、反射光検出部30及び透過光検出部40の駆動状態であって、具体的には、光を検出することが可能な状態と光の検出を停止している状態とが相当する。第1状態とは、反射光検出部30が光の検出を行うと共に透過光検出部40が光の検出を停止する状態である。このため、第1状態では、反射光検出部30及び透過光検出部40のうち、反射光検出部30のみが光を検出することが可能な状態とされる。第2状態とは、反射光検出部30が光の検出を停止すると共に透過光検出部40が光の検出を行う状態である。このため、第2状態では、反射光検出部30及び透過光検出部40のうち、透過光検出部40のみが光を検出することが可能な状態とされる。 The state switching section 50 switches the states of the reflected light detection section 30 and the transmitted light detection section 40 so that the first state and the second state are included within a predetermined period of time. The states of the reflected light detection section 30 and the transmitted light detection section 40 are the driving states of the reflected light detection section 30 and the transmitted light detection section 40, and specifically, the states in which light can be detected and the state in which light can be detected. This corresponds to a state in which detection of is stopped. The first state is a state in which the reflected light detection section 30 detects light and the transmitted light detection section 40 stops detecting light. Therefore, in the first state, only the reflected light detecting section 30 of the reflected light detecting section 30 and the transmitted light detecting section 40 is allowed to detect light. The second state is a state in which the reflected light detection section 30 stops detecting light and the transmitted light detection section 40 detects light. Therefore, in the second state, out of the reflected light detection section 30 and the transmitted light detection section 40, only the transmitted light detection section 40 is allowed to detect light.

所定時間内に、第1状態と第2状態とが含まれるとは、1つの第1状態と1つの第2状態とが含まれる状態を、1つの状態とした場合に、このような1つの状態が周期的に繰り返されることを意味する。この周期は、例えば数十μ秒~数百m秒程度とするとよい。したがって、状態切替部50は、所定時間内に、このような第1状態と第2状態とが含まれる状態を、周期的に繰り返すように、反射光検出部30及び透過光検出部40の状態を切り替える。 A first state and a second state are included within a predetermined period of time, when a state including one first state and one second state is defined as one state. It means that the state is repeated periodically. This period may be, for example, about several tens of microseconds to several hundred milliseconds. Therefore, the state switching section 50 changes the states of the reflected light detection section 30 and the transmitted light detection section 40 so as to periodically repeat a state including the first state and the second state within a predetermined period of time. Switch.

図5には、検出装置1における処理を示すタイミングチャートが示される。図5では、横軸が時間軸として示される。図5の(A)に示されるように、照射部20がt0でエリア12に向けて光の照射を開始する。光の照射の開始に伴い、状態切替部50がt0からt1までの間に、反射光検出部30及び透過光検出部40の状態を第1状態(図5では、第1状態を「X」として示している)にする。すなわち、t0からt1までの間は、図5の(B)に示されるように、反射光検出部30が光を検出することが可能な状態とされ、図5の(C)に示されるように、透過光検出部40が光の検出を停止している状態とされる。このとき、エリア12に紙コップ2Bが存在していなければ、照射部20から照射された光は紙コップ2Bで反射されないことから、反射光検出部30には光(外乱光を除く)が入力されない。したがって、図5の(E)に示されるように、反射光検出部30の出力(電圧)は、予め設定された値以下(以下「0」とする)となる。なお、このとき、上述したように、透過光検出部40は光の検出を停止している状態となるため、図5の(F)に示されるように、透過光検出部40の出力(電圧)は、予め設定された値以下(以下「0」とする)となる。 FIG. 5 shows a timing chart showing the processing in the detection device 1. In FIG. 5, the horizontal axis is shown as a time axis. As shown in FIG. 5A, the irradiation unit 20 starts irradiating light toward the area 12 at t0. With the start of light irradiation, the state switching section 50 changes the state of the reflected light detection section 30 and the transmitted light detection section 40 to the first state (in FIG. 5, the first state is "X") between t0 and t1. ). That is, from t0 to t1, as shown in FIG. 5(B), the reflected light detection unit 30 is in a state where it can detect light, and as shown in FIG. 5(C), In this case, the transmitted light detection section 40 is in a state where it stops detecting light. At this time, if the paper cup 2B does not exist in the area 12, the light emitted from the irradiation unit 20 will not be reflected by the paper cup 2B, so light (excluding ambient light) will be input to the reflected light detection unit 30. Not done. Therefore, as shown in (E) of FIG. 5, the output (voltage) of the reflected light detection section 30 becomes equal to or less than a preset value (hereinafter referred to as "0"). At this time, as described above, the transmitted light detection section 40 is in a state where it stops detecting light, so as shown in FIG. 5(F), the output (voltage) of the transmitted light detection section 40 is ) is less than or equal to a preset value (hereinafter referred to as "0").

続いて、状態切替部50はt1からt2までの間に、反射光検出部30及び透過光検出部40の状態を第2状態(図5では、第2状態を「Y」として示している)にする。すなわち、t1からt2までの間は、図5の(B)に示されるように、反射光検出部30が光の検出を停止している状態とされ、図5の(C)に示されるように、透過光検出部40が光を検出することが可能な状態とされる。このとき、照射部20から照射された光は紙コップ2Bで遮られないことから、透過光検出部40には照射部20から照射された光が入力される。したがって、図5の(F)に示されるように、透過光検出部40の出力(電圧)は、予め設定された値より大きくなる(以下「1」とする)。なお、このとき、上述したように、反射光検出部30は光の検出を停止している状態となるため、図5の(E)に示されるように、反射光検出部30の出力(電圧)は、0となる。 Subsequently, the state switching section 50 changes the state of the reflected light detection section 30 and the transmitted light detection section 40 to the second state (the second state is shown as "Y" in FIG. 5) between t1 and t2. Make it. That is, from t1 to t2, as shown in FIG. 5(B), the reflected light detection unit 30 is in a state where it stops detecting light, and as shown in FIG. 5(C), Then, the transmitted light detection section 40 is brought into a state in which it can detect light. At this time, since the light emitted from the irradiation section 20 is not blocked by the paper cup 2B, the light emitted from the irradiation section 20 is input to the transmitted light detection section 40. Therefore, as shown in FIG. 5F, the output (voltage) of the transmitted light detection section 40 becomes larger than the preset value (hereinafter referred to as "1"). Note that at this time, as described above, the reflected light detection section 30 is in a state where it stops detecting light, so the output (voltage) of the reflected light detection section 30 is changed as shown in (E) of FIG. ) becomes 0.

本実施形態では、状態切替部50は、反射光検出部30及び透過光検出部40の状態を第2状態に切り替えてから、次に第1状態に切り替えるまでの間に、待機期間が設けられる。図5の例では、待機期間は反射光検出部30及び透過光検出部40の双方が光の検出を停止している状態とされる。この状態は待機状態であって、図5では、この状態を「Z」として示している。すなわち、t2からt3までの間は、図5の(B)に示されるように、反射光検出部30が光の検出を停止している状態とされ、図5の(C)に示されるように、透過光検出部40が光の検出を停止している状態とされる。したがって、図5の(F)に示されるように、透過光検出部40の出力(電圧)及び反射光検出部30の出力(電圧)は、0となる。以下同様に、照射部20が光を照射している間、状態切替部50は、反射光検出部30及び透過光検出部40の状態を、第1状態と第2状態と待機状態とに、順次、切り替える。 In the present embodiment, the state switching section 50 provides a waiting period between switching the states of the reflected light detection section 30 and the transmitted light detection section 40 to the second state and then switching them to the first state. . In the example of FIG. 5, during the standby period, both the reflected light detector 30 and the transmitted light detector 40 stop detecting light. This state is a standby state, and this state is shown as "Z" in FIG. That is, from t2 to t3, as shown in FIG. 5(B), the reflected light detection unit 30 is in a state where it stops detecting light, and as shown in FIG. 5(C), In this case, the transmitted light detection section 40 is in a state where it stops detecting light. Therefore, as shown in FIG. 5F, the output (voltage) of the transmitted light detection section 40 and the output (voltage) of the reflected light detection section 30 are zero. Similarly, while the irradiation section 20 is emitting light, the state switching section 50 changes the states of the reflected light detection section 30 and the transmitted light detection section 40 into the first state, the second state, and the standby state. Switch sequentially.

図3に戻り、判定部60は、反射光検出部30が光を検出し、且つ、透過光検出部40が光を検出していない場合にエリア12に紙コップ2Bが存在していると判定する。反射光検出部30が光を検出し、且つ、透過光検出部40が光を検出していない場合とは、照射部20から照射された光が紙コップ2Bで反射され、その反射された光を反射光検出部30が検出した場合であって、且つ、照射部20から照射された光が紙コップ2Bで遮られて、照射部20から照射された光を透過光検出部40が検出していない場合である。したがって、判定部60は、照射部20から照射された光が紙コップ2Bで反射され、その反射された光を反射光検出部30が検出した場合であって、且つ、照射部20から照射された光が紙コップ2Bで遮られて、照射部20から照射された光を透過光検出部40が検出していない場合に、エリア12に紙コップ2Bが存在していると判定する。 Returning to FIG. 3, the determination unit 60 determines that the paper cup 2B exists in the area 12 when the reflected light detection unit 30 detects light and the transmitted light detection unit 40 does not detect light. do. When the reflected light detection unit 30 detects light and the transmitted light detection unit 40 does not detect light, the light emitted from the irradiation unit 20 is reflected by the paper cup 2B, and the reflected light is detected by the reflected light detection unit 30, and the light emitted from the irradiation unit 20 is blocked by the paper cup 2B, and the transmitted light detection unit 40 detects the light irradiated from the irradiation unit 20. If not. Therefore, the determination unit 60 determines that when the light emitted from the irradiation unit 20 is reflected by the paper cup 2B and the reflected light detection unit 30 detects the reflected light, and the light irradiated from the irradiation unit 20 is If the transmitted light is blocked by the paper cup 2B and the transmitted light detection unit 40 does not detect the light emitted from the irradiation unit 20, it is determined that the paper cup 2B exists in the area 12.

ここで、上述したように、本実施形態では、反射光検出部30及び透過光検出部40の状態は、状態切替部50によって第1状態と第2状態と待機状態とに切り替えられる。このため、反射光検出部30及び透過光検出部40とは、同時に光を検出することが可能な状態となることはない。そこで、本実施形態では、判定部60は、最新の第1状態における反射光検出部30の検出結果及び第2状態における透過光検出部40の検出結果のうちの一方と、直前の第1状態における反射光検出部30の検出結果及び第2状態における透過光検出部40の検出結果のうちの他方とに基づいて、エリア12に紙コップ2Bが存在しているか否かを判定する。 Here, as described above, in this embodiment, the states of the reflected light detection section 30 and the transmitted light detection section 40 are switched by the state switching section 50 between the first state, the second state, and the standby state. Therefore, the reflected light detection section 30 and the transmitted light detection section 40 are never in a state where they can detect light at the same time. Therefore, in the present embodiment, the determination unit 60 selects one of the detection result of the reflected light detection unit 30 in the latest first state and the detection result of the transmitted light detection unit 40 in the second state, and the detection result of the most recent first state. Based on the other of the detection result of the reflected light detection unit 30 in the second state and the detection result of the transmitted light detection unit 40 in the second state, it is determined whether the paper cup 2B exists in the area 12.

最新の第1状態における反射光検出部30の検出結果及び第2状態における透過光検出部40の検出結果のうちの一方とは、反射光検出部30及び透過光検出部40の現在の状態が、状態切替部50によって第1状態に切り替えられている場合には、反射光検出部30の検出結果が相当し、反射光検出部30及び透過光検出部40の現在の状態が、状態切替部50によって第2状態に切り替えられている場合には、透過光検出部40の検出結果が相当する。直前の第1状態における反射光検出部30の検出結果及び第2状態における透過光検出部40の検出結果のうちの他方とは、反射光検出部30及び透過光検出部40の現在の状態が、状態切替部50によって第1状態に切り替えられている場合には、直前の第2状態における透過光検出部40の検出結果が相当し、反射光検出部30及び透過光検出部40の現在の状態が、状態切替部50によって第2状態に切り替えられている場合には、直前の第1状態における反射光検出部30の検出結果が相当する。したがって、上述したように、1つの第1状態と1つの第2状態とを1つの状態とした場合に、判定部60は、当該1つの状態における反射光検出部30及び透過光検出部40の夫々の検出結果に基づいて、エリア12に紙コップ2Bが存在しているか否かを判定する。 One of the latest detection result of the reflected light detection section 30 in the first state and the detection result of the transmitted light detection section 40 in the second state is the current state of the reflected light detection section 30 and the transmitted light detection section 40. , when the state switching unit 50 switches to the first state, the detection result of the reflected light detection unit 30 corresponds to the state switching unit 50, and the current state of the reflected light detection unit 30 and the transmitted light detection unit 40 corresponds to the state switching unit 50. 50, the detection result of the transmitted light detector 40 corresponds. The other of the detection result of the reflected light detection section 30 in the immediately previous first state and the detection result of the transmitted light detection section 40 in the second state is the current state of the reflected light detection section 30 and the transmitted light detection section 40. , when the state switching unit 50 switches to the first state, the detection result of the transmitted light detection unit 40 in the immediately previous second state corresponds to the current state of the reflected light detection unit 30 and the transmitted light detection unit 40. When the state has been switched to the second state by the state switching unit 50, the detection result of the reflected light detection unit 30 in the immediately previous first state corresponds to the state. Therefore, as described above, when one first state and one second state are one state, the determination section 60 determines whether the reflected light detection section 30 and the transmitted light detection section 40 in the one state are Based on each detection result, it is determined whether or not the paper cup 2B exists in the area 12.

例えば、図5の(D)に示されるように、t5でエリア12に紙コップ2Bが置かれたとする。t6からt7の間は、反射光検出部30は光を検出し、透過光検出部40は光の検出を停止している第1状態であるので、図5の(E)に示されるように、t6からt7の間において、紙コップ2Bによって反射された光が反射光検出部30によって検出される。このとき、上述したように、透過光検出部40は光の検出を停止している状態となるため、図5の(F)に示されるように、透過光検出部40の出力(電圧)は、0となる。この場合、t6からt7の間の第1状態の直前のt4からt5の間の第2状態では、透過光検出部40に照射部20から照射された光が入力され、光を検出している。したがって、判定部60は、図5の(G)に示されるように、t7において、紙コップ2Bがエリア12に存在していないと判定する。 For example, as shown in FIG. 5(D), assume that the paper cup 2B is placed in the area 12 at t5. Between t6 and t7, the reflected light detection section 30 detects light and the transmitted light detection section 40 is in the first state in which it stops detecting light, so as shown in (E) of FIG. , t6 to t7, the light reflected by the paper cup 2B is detected by the reflected light detection section 30. At this time, as described above, the transmitted light detection section 40 is in a state where it stops detecting light, so as shown in (F) of FIG. 5, the output (voltage) of the transmitted light detection section 40 is , becomes 0. In this case, in the second state between t4 and t5 immediately before the first state between t6 and t7, the light emitted from the irradiation unit 20 is input to the transmitted light detection unit 40, and the light is detected. . Therefore, the determination unit 60 determines that the paper cup 2B is not present in the area 12 at t7, as shown in FIG. 5(G).

続いて、t7からt8の間は、反射光検出部30は光の検出を停止している状態とされ、透過光検出部40は光を検出することが可能な状態とされる第2状態にある。このとき、照射部20から照射された光は、紙コップ2Bで遮られる。したがって、図5の(F)に示されるように、t7からt8の間における透過光検出部40の出力は0となる。この場合、t7からt8の間の第2状態の直前のt6からt7の間の第1状態では、上述したように、反射光検出部30が、紙コップ2Bで反射された光を検出している。したがって、判定部60は、図5の(G)に示されるように、t8において、紙コップ2Bがエリア12に存在していると判定する。 Subsequently, from t7 to t8, the reflected light detection section 30 is in a state where it stops detecting light, and the transmitted light detection section 40 is in a second state in which it is possible to detect light. be. At this time, the light emitted from the irradiation section 20 is blocked by the paper cup 2B. Therefore, as shown in FIG. 5(F), the output of the transmitted light detection section 40 becomes 0 between t7 and t8. In this case, in the first state between t6 and t7 immediately before the second state between t7 and t8, as described above, the reflected light detection section 30 detects the light reflected by the paper cup 2B. There is. Therefore, the determination unit 60 determines that the paper cup 2B is present in the area 12 at t8, as shown in FIG. 5(G).

更に、t8からt9の間の待機状態の後、t9からt10の間は、図5の(E)に示されるように、紙コップ2Bによって反射された光が反射光検出部30によって検出される。また、直前の第2状態である、t7からt8の間は、上述したように、照射部20から照射された光は紙コップ2Bで遮られ、透過光検出部40の出力は0となっている。したがって、判定部60は、図5の(G)に示されるように、t10において、紙コップ2Bがエリア12に存在していると判定する。判定部60は、以下同様に判定する。 Furthermore, after the standby state between t8 and t9, the light reflected by the paper cup 2B is detected by the reflected light detection unit 30 between t9 and t10, as shown in (E) of FIG. . In addition, during the immediately preceding second state from t7 to t8, as described above, the light emitted from the irradiation section 20 is blocked by the paper cup 2B, and the output of the transmitted light detection section 40 becomes 0. There is. Therefore, the determination unit 60 determines that the paper cup 2B exists in the area 12 at t10, as shown in FIG. 5(G). The determination unit 60 makes determinations in the same manner below.

図6には、反射光検出部30の検出結果、及び透過光検出部40の検出結果に応じた判定部60による判定結果が示される。図6では、反射光検出部30が反射光を検出したときの検出結果を「検出」として示され、反射光検出部30が反射光を検出していないときの検出結果を「非検出」として示される。また、透過光検出部40が照射部20から照射された光を検出しているときの検出結果が「検出」として示され、照射部20から照射された光が遮られ、透過光検出部40が光を検出していないときの検出結果が「非検出」として示される。 FIG. 6 shows the determination result by the determination section 60 according to the detection result of the reflected light detection section 30 and the detection result of the transmitted light detection section 40. In FIG. 6, the detection result when the reflected light detection unit 30 detects reflected light is indicated as “detection”, and the detection result when the reflected light detection unit 30 does not detect reflected light is indicated as “non-detection”. shown. Further, the detection result when the transmitted light detection unit 40 is detecting the light irradiated from the irradiation unit 20 is indicated as “detection”, and the light irradiated from the irradiation unit 20 is blocked, and the transmitted light detection unit 40 The detection result when the light is not detected is indicated as "non-detection".

図6に示されるように、判定部60は、反射光検出部30の検出結果が「検出」であり、透過光検出部40の検出結果が「非検出」である場合にのみ、エリア12に紙コップ2Bが存在していると判定する。判定部60は、反射光検出部30の検出結果が「非検出」であるか、又は、透過光検出部40の検出結果が「検出」である場合には、エリア12に紙コップ2Bが存在していないと判定する。判定部60の判定結果は、後述する報知部70に伝達される。なお、本実施形態では、上述したように、反射光検出部30及び透過光検出部40は、同時に光を検出するのではなく、状態切替部50により光を検出する状態が交互に切り替えられている。したがって、上述した反射光検出部30の検出結果が「検出」であり、透過光検出部40の検出結果が「非検出」である場合とは、互いに連続する第1状態及び第2状態において、反射光検出部30の検出結果が「検出」であり、且つ、透過光検出部40の検出結果が「非検出」であることを意味する。 As shown in FIG. 6, the determination unit 60 determines whether the area 12 It is determined that the paper cup 2B exists. If the detection result of the reflected light detection unit 30 is “non-detected” or the detection result of the transmitted light detection unit 40 is “detected,” the determination unit 60 determines that the paper cup 2B exists in the area 12. It is determined that it has not been done. The determination result of the determination unit 60 is transmitted to the notification unit 70, which will be described later. Note that in this embodiment, as described above, the reflected light detection section 30 and the transmitted light detection section 40 do not detect light at the same time, but the state of detecting light is alternately switched by the state switching section 50. There is. Therefore, the above-described case where the detection result of the reflected light detection section 30 is "detection" and the detection result of the transmitted light detection section 40 is "non-detection" means that in the first and second states that are continuous with each other, This means that the detection result of the reflected light detection section 30 is "detection" and the detection result of the transmitted light detection section 40 is "non-detection."

図3に戻り、報知部70は、判定部60がエリア12に紙コップ2Bが存在していると判定した場合に報知する。報知部70は、例えばライトを点灯あるいは点滅させて報知するように構成してもよいし、スピーカから音声を出力して報知するように構成してもよい。また、表示装置を備えている場合には、表示装置の画面にエリア12に紙コップ2Bが存在していることを示す表示を行ってもよい。 Returning to FIG. 3, the notification unit 70 provides notification when the determination unit 60 determines that the paper cup 2B is present in the area 12. The notification unit 70 may be configured to provide notification by, for example, turning on or blinking a light, or may be configured to provide notification by outputting audio from a speaker. Further, if a display device is provided, a display indicating that the paper cup 2B exists in the area 12 may be displayed on the screen of the display device.

ここで、本実施形態では、検出対象物2が紙コップ2Bを例に挙げて説明したが、検出対象物2が、例えばミルクコーヒーが入ったペットボトル2Cや、ミルクティーが入ったペットボトル2Cである場合に、判定部60はペットボトル2Cに入っているミルクコーヒーやミルクティーの量が減少しているか否かを判定することが可能である。 Here, in the present embodiment, the detection target object 2 is a paper cup 2B as an example, but the detection target object 2 is, for example, a plastic bottle 2C containing milk coffee or a plastic bottle 2C containing milk tea. In this case, the determining unit 60 can determine whether the amount of milk coffee or milk tea contained in the plastic bottle 2C is decreasing.

判定部60は、エリア12に検出対象物2が存在していると判定している状態が継続している場合において、反射光検出部30の検出結果及び透過光検出部40の検出結果のうちの一方が変わったときは、当該変わった時点における検出対象物2の量が、存在していると判定した時点における検出対象物2の量よりも減少していると判定する。エリア12に検出対象物2が存在していると判定している状態が継続している場合とは、図7の(A)に示されるように、照射部20と反射光検出部30及び透過光検出部40との間の高さまで、ペットボトル2Cにミルクコーヒーやミルクティーが入っている状態である。この状態は、図6において、反射光検出部30の検出結果が「検出」であり、透過光検出部40の検出結果が「非検出」である場合にあたり、具体的には、反射光検出部30が検出対象物2で反射された光を検出し、且つ、透過光検出部40が照射部20から照射された光を検出していない場合にあたる。なお、図7の例では、照射部20における光を照射する部分の土台部11からの高さH1と、透過光検出部40における光を検出する部分の土台部11からの高さH2とは、互いに等しく構成されている。 When the determination unit 60 continues to determine that the detection target object 2 exists in the area 12, the determination unit 60 selects one of the detection results of the reflected light detection unit 30 and the transmitted light detection unit 40. When one of these changes, it is determined that the amount of the detection target 2 at the time of the change is smaller than the amount of the detection target 2 at the time when it is determined that it exists. When the state in which it is determined that the detection target object 2 exists in the area 12 continues, as shown in FIG. The PET bottle 2C is filled with milk coffee or milk tea up to the height between it and the photodetector 40. In FIG. 6, this state corresponds to the case where the detection result of the reflected light detection section 30 is "detection" and the detection result of the transmitted light detection section 40 is "non-detection". 30 corresponds to the case where the light reflected by the detection target object 2 is detected, and the transmitted light detection section 40 does not detect the light irradiated from the irradiation section 20. In addition, in the example of FIG. 7, the height H1 from the base part 11 of the part of the irradiation part 20 that irradiates light, and the height H2 of the part of the transmitted light detection part 40 from the base part 11 that detects light. , are configured equally to each other.

反射光検出部30の検出結果及び透過光検出部40の検出結果のうちの一方が変わったときとは、図7の(B)に示されるように、照射部20と反射光検出部30及び透過光検出部40との間の高さより低い位置に、ペットボトル2Cに入っているミルクコーヒーやミルクティーの液面が低下した状態である。この状態では、反射光検出部30の検出結果が「検出」であり、透過光検出部40の検出結果が「検出」に変わる。具体的には、反射光検出部30が反射光を検出し、且つ、透過光検出部40がペットボトル2Cを透過した照射部20から照射された光を検出する。また、検出対象物2によっては、反射光検出部30の検出結果が「非検出」に変わり、且つ、透過光検出部40の検出結果が「非検出」のままとなることもある。具体的には、反射光検出部30が反射光を検出しなくなり、且つ、透過光検出部40がペットボトル2Cを透過した照射部20から照射された光を検出しない状態となる。 When one of the detection result of the reflected light detection section 30 and the detection result of the transmitted light detection section 40 changes, as shown in FIG. This is a state in which the liquid level of milk coffee or milk tea contained in the plastic bottle 2C has dropped to a position lower than the height between the bottle 2C and the transmitted light detection unit 40. In this state, the detection result of the reflected light detection section 30 is "detection", and the detection result of the transmitted light detection section 40 changes to "detection". Specifically, the reflected light detection section 30 detects the reflected light, and the transmitted light detection section 40 detects the light emitted from the irradiation section 20 that has passed through the plastic bottle 2C. Furthermore, depending on the object to be detected 2, the detection result of the reflected light detection section 30 may change to "non-detection", and the detection result of the transmitted light detection section 40 may remain "non-detection". Specifically, the reflected light detection unit 30 no longer detects reflected light, and the transmitted light detection unit 40 does not detect the light irradiated from the irradiation unit 20 that has passed through the plastic bottle 2C.

判定部60は、このような反射光検出部30が反射光を検出したまま、且つ、透過光検出部40がペットボトル2Cを透過した照射部20から照射された光を検出するようになったとき、或いは、反射光検出部30が反射光を検出しなくなり、且つ、透過光検出部40がペットボトル2Cを透過した照射部20から照射された光を検出しないままのときのペットボトル2Cに入っているミルクコーヒーやミルクティーの量が、反射光検出部30が検出対象物2で反射された光を検出し、且つ、透過光検出部40が照射部20から照射された光を検出していないときのペットボトル2Cに入っているミルクコーヒーやミルクティーの量よりも減少していると判定する。 The determination unit 60 is configured such that the reflected light detection unit 30 continues to detect reflected light, and the transmitted light detection unit 40 detects the light irradiated from the irradiation unit 20 that has passed through the plastic bottle 2C. Or, when the reflected light detection section 30 stops detecting the reflected light and the transmitted light detection section 40 does not detect the light emitted from the irradiation section 20 that has passed through the PET bottle 2C. The amount of milk coffee or milk tea contained is determined by the reflected light detection section 30 detecting the light reflected by the detection object 2 and the transmitted light detection section 40 detecting the light irradiated from the irradiation section 20. It is determined that the amount of milk coffee or milk tea contained in the plastic bottle 2C is smaller than the amount when the bottle 2C is not used.

図8には、反射光検出部30の検出結果、及び透過光検出部40の検出結果に応じた判定部60による残量の判定結果が示される。図8でも図6と同様に、反射光検出部30が反射光を検出しているときの検出結果が「検出」として示され、反射光検出部30が反射光を検出していないときの検出結果が「非検出」として示される。また、透過光検出部40が検出対象物2を透過した光を検出しているときの検出結果が「検出」として示され、透過光検出部40が光を検出していないときの検出結果が「非検出」として示される。 FIG. 8 shows the determination result of the remaining amount by the determination section 60 according to the detection result of the reflected light detection section 30 and the detection result of the transmitted light detection section 40. In FIG. 8, similarly to FIG. 6, the detection result when the reflected light detection section 30 is detecting reflected light is shown as "detection", and the detection result when the reflected light detection section 30 is not detecting reflected light is shown as "detection". The result is indicated as "not detected". Further, the detection result when the transmitted light detection section 40 is detecting the light transmitted through the detection target object 2 is indicated as "detection", and the detection result when the transmitted light detection section 40 is not detecting light is indicated as "detection". Indicated as "not detected".

図8に示されるように、判定部60は、反射光検出部30の検出結果が「検出」であり、透過光検出部40の検出結果が「非検出」である状態から、反射光検出部30及び透過光検出部40のいずれか一方の検出結果が変わった場合、すなわち、反射光検出部30の検出結果が「検出」のままであり、且つ、透過光検出部40の検出結果が「非検出」である状態から「検出」に変わったときに、ペットボトル2Cに入っているミルクコーヒーやミルクティーの残量が少なくなったと判定する。また、判定部60は、反射光検出部30の検出結果が「検出」である状態から「非検出」に変わり、且つ、透過光検出部40の検出結果が「非検出」のままである状態に変わったときに、ペットボトル2Cに入っているミルクコーヒーやミルクティーの残量が少なくなったと判定する。 As shown in FIG. 8, the determination unit 60 determines whether the reflected light detection unit 30 and the transmitted light detection unit 40 change, that is, the detection result of the reflected light detection unit 30 remains “detection” and the detection result of the transmitted light detection unit 40 changes to “detection”. When the state changes from "non-detection" to "detection", it is determined that the remaining amount of milk coffee or milk tea in the plastic bottle 2C has become small. Further, the determination unit 60 detects a state in which the detection result of the reflected light detection unit 30 changes from “detection” to “non-detection” and the detection result of the transmitted light detection unit 40 remains “non-detection”. When the amount changes to , it is determined that the remaining amount of milk coffee or milk tea in the plastic bottle 2C is low.

なお、図8に示されるように、判定部60は、反射光検出部30の検出結果が「検出」であり、透過光検出部40の検出結果が「非検出」である状態が継続している場合には、ペットボトル2Cに入っているミルクコーヒーやミルクティーの残量が少なくなっていないと判定する。また、判定部60は、反射光検出部30の検出結果が「検出」であり、透過光検出部40の検出結果が「非検出」である状態から、反射光検出部30の検出結果が「非検出」に変わり、透過光検出部40の検出結果が「検出」に変わったときは、ミルクコーヒーやミルクティーが入っているペットボトル2Cがエリア12から取り除かれたと判定する。 As shown in FIG. 8, the determination unit 60 determines whether the detection result of the reflected light detection unit 30 is “detection” and the detection result of the transmitted light detection unit 40 is “non-detection” continues. If so, it is determined that the remaining amount of milk coffee or milk tea in the plastic bottle 2C is not low. Further, the determination unit 60 determines that the detection result of the reflected light detection unit 30 is “detected” from the state where the detection result of the reflected light detection unit 30 is “detection” and the detection result of the transmitted light detection unit 40 is “non-detection”. When the detection result of the transmitted light detection unit 40 changes to "detected", it is determined that the PET bottle 2C containing milk coffee or milk tea has been removed from the area 12.

図5では、t15からt16の間において、反射光検出部30が光を検出し、t16からt17の間において透過光検出部40が照射部20から照射された光を検出している。このため、判定部60は、t17において、それまでの残量に比べて減少していると判定する。図5の(G)では、理解を容易にするために、判定結果の波高値を、t17以前の波高値よりも低い波高値で示している。 In FIG. 5, the reflected light detection section 30 detects light between t15 and t16, and the transmitted light detection section 40 detects the light emitted from the irradiation section 20 between t16 and t17. Therefore, at t17, the determining unit 60 determines that the remaining amount has decreased compared to the remaining amount up to that point. In (G) of FIG. 5, in order to facilitate understanding, the wave height value of the determination result is shown as a wave height value lower than the wave height value before t17.

3.その他の実施形態
上記第1の実施形態では、検出対象物2として歯ブラシ2Aを挙げ、第2の実施形態では、検出対象物2として紙コップ2Bを挙げて説明した。しかしながら、歯ブラシ2Aや紙コップ2Bは、検出対象物2の一例であって、検出装置1が検出対象物2として歯ブラシ2Aや紙コップ2Bとは異なる物を検出するように構成することも可能である。
3. Other Embodiments In the first embodiment, the toothbrush 2A was used as the detection object 2, and in the second embodiment, the paper cup 2B was used as the detection object 2. However, the toothbrush 2A and the paper cup 2B are examples of the detection object 2, and the detection device 1 can also be configured to detect an object different from the toothbrush 2A and the paper cup 2B as the detection object 2. be.

上記実施形態では、検出装置1が、1つの照射部20を備えている場合の例を挙げて説明したが、検出装置1は2つの照射部20を備えて構成することも可能である。この場合には、2つの照射部20のうちの一方を、検出対象物2で反射させる光を照射するために用い、2つの照射部20のうちの他方を、検出対象物2を透過させる光を照射するために用いるとよい。 In the embodiment described above, the detection device 1 has been described using an example in which the detection device 1 includes one irradiation section 20, but the detection device 1 can also be configured to include two irradiation sections 20. In this case, one of the two irradiators 20 is used to irradiate light that is reflected by the detection target 2, and the other of the two irradiators 20 is used to irradiate light that is transmitted through the detection target 2. It is recommended to use it to irradiate.

上記実施形態では、照射部20が赤外線LEDを用いて構成されるとして説明したが、照射部20は可視光を照射するLEDを用いて構成することも可能である。この場合には、反射光検出部30及び透過光検出部40は、可視光を検出することができるものを用いるとよい。 In the embodiment described above, the irradiation section 20 has been described as being configured using an infrared LED, but the irradiation section 20 can also be configured using an LED that irradiates visible light. In this case, the reflected light detection section 30 and the transmitted light detection section 40 are preferably capable of detecting visible light.

上記実施形態では、検出装置1が、所定時間内に、第1状態と第2状態とが含まれるように、反射光検出部30及び透過光検出部40の状態を切り替える状態切替部50を備えているとして説明したが、検出装置1は状態切替部50を備えずに構成することも可能である。この場合には、反射光検出部30及び透過光検出部40は継続して光を検出するように構成し、同じタイミングで、反射光検出部30が反射光を検出し、且つ、透過光検出部40が照射部20から照射された光を検出していない場合に、判定部60がエリア12に検出対象物2が存在していると判定するとよい。 In the embodiment described above, the detection device 1 includes the state switching section 50 that switches the states of the reflected light detection section 30 and the transmitted light detection section 40 so that the first state and the second state are included within a predetermined time. Although the detection device 1 has been described as having the state switching unit 50, it is also possible to configure the detection device 1 without the state switching unit 50. In this case, the reflected light detection section 30 and the transmitted light detection section 40 are configured to continuously detect light, and at the same timing, the reflected light detection section 30 detects the reflected light and the transmitted light detection section 40 detects the reflected light. When the unit 40 does not detect the light emitted from the irradiation unit 20, the determination unit 60 may determine that the detection target object 2 is present in the area 12.

上記実施形態では、判定部60は、エリア12に検出対象物2が存在していると判定している状態が継続している場合において、反射光検出部30の検出結果及び透過光検出部40の検出結果のうちの一方が変わったときは、当該変わった時点における検出対象物2の量が、存在していると判定した時点における検出対象物2の量よりも減少していると判定するとして説明した。しかしながら、判定部60は、エリア12に検出対象物2が存在していると判定している状態が継続している場合において、反射光検出部30の検出結果及び透過光検出部40の検出結果のうちの一方が変わっても、当該変わった時点における検出対象物2の量が、存在していると判定した時点における検出対象物2の量よりも減少していると判定しなくてもよい。この場合、判定部60は、エリア12から検出対象物2が取り除かれたと判定してもよい。 In the embodiment described above, when the determination unit 60 continues to determine that the detection target 2 exists in the area 12, the determination unit 60 uses the detection result of the reflected light detection unit 30 and the transmitted light detection unit 40. When one of the detection results changes, it is determined that the amount of the detection target 2 at the time of the change is smaller than the amount of the detection target 2 at the time when it is determined that it exists. It was explained as follows. However, when the determination unit 60 continues to determine that the detection target 2 exists in the area 12, the detection result of the reflected light detection unit 30 and the detection result of the transmitted light detection unit 40 Even if one of them changes, it is not necessary to determine that the amount of the detection target 2 at the time of the change is smaller than the amount of the detection target 2 at the time when it is determined that it exists. . In this case, the determination unit 60 may determine that the detection target object 2 has been removed from the area 12.

上記実施形態では、図7において、照射部20、反射光検出部30、及び透過光検出部40の夫々のエリア12からの高さが一様である、すなわち、照射部20における光を照射する部分の土台部11からの高さH1と、透過光検出部40における光を検出する部分の土台部11からの高さH2とは、互いに等しく構成されているとして説明した。例えば、照射部20は、エリア12からの高さが反射光検出部30及び透過光検出部40の夫々のエリア12からの高さとは異なるように設けることも可能である。この場合、例えば図9の(A)に示されるように、照射部20における光を照射する部分の土台部11からの高さH1が、透過光検出部40における光を検出する部分の土台部11からの高さH2よりも高くなるように構成してもよいし、図9の(B)に示されるように、照射部20における光を照射する部分の土台部11からの高さH1が、透過光検出部40における光を検出する部分の土台部11からの高さH2よりも低くなるように構成してもよい。 In the above embodiment, in FIG. 7, the heights of the irradiation section 20, the reflected light detection section 30, and the transmitted light detection section 40 from the area 12 are uniform, that is, the light in the irradiation section 20 is irradiated. It has been explained that the height H1 of the part from the base part 11 and the height H2 of the part from the base part 11 that detects light in the transmitted light detection part 40 are configured to be equal to each other. For example, the irradiation unit 20 can be provided so that the height from the area 12 is different from the height of the reflected light detection unit 30 and the transmitted light detection unit 40 from the area 12. In this case, for example, as shown in FIG. 9A, the height H1 from the base part 11 of the part of the irradiation part 20 that irradiates light is higher than the base part of the part of the transmitted light detection part 40 that detects light. 11, or as shown in FIG. , the height H2 of the portion of the transmitted light detection section 40 that detects light from the base section 11 may be configured to be lower than the height H2.

上記実施形態では、図7の例において、判定部60は、反射光検出部30の検出結果が「検出」であり、透過光検出部40の検出結果が「非検出」である状態から、反射光検出部30の検出結果が「検出」のままであり、且つ、透過光検出部40の検出結果が「非検出」である状態から「検出」に変わったときに、ペットボトル2Cに入っているミルクコーヒーやミルクティーの残量が少なくなったと判定するとして説明した。例えば、検出対象物2を、ペットボトル2Cに代えて光を反射しない容器に貯留した場合であって、図10に示されるように、照射部20における光を照射する部分の土台部11からの高さH1が、透過光検出部40における光を検出する部分の土台部11からの高さH2よりも高くなるように構成する。このような構成において、照射部20から照射された光が、図10に示されるように検出対象物2の液面で反射する場合には、反射光検出部30の検出結果が「検出」であり、透過光検出部40の検出結果が「非検出」である状態から、判定部60は、反射光検出部30の検出結果が「検出」である状態から「非検出」に変わり、且つ、透過光検出部40の検出結果が「非検出」のままである状態に変わったとき、検出対象物2の残量が減少したと判定するように構成することも可能である。 In the above embodiment, in the example of FIG. 7, the determination unit 60 changes the state in which the detection result of the reflected light detection unit 30 is “detection” and the detection result of the transmitted light detection unit 40 is “non-detection” to When the detection result of the light detection section 30 remains "detection" and the detection result of the transmitted light detection section 40 changes from "non-detection" to "detection", when the detection result enters the plastic bottle 2C. It was explained that it is determined that the remaining amount of milk coffee or milk tea in the cup is running low. For example, when the object to be detected 2 is stored in a container that does not reflect light instead of the plastic bottle 2C, as shown in FIG. The height H1 is configured to be higher than the height H2 of the portion of the transmitted light detection section 40 that detects light from the base section 11. In such a configuration, when the light irradiated from the irradiation section 20 is reflected on the liquid surface of the detection target 2 as shown in FIG. 10, the detection result of the reflected light detection section 30 is "detection". The determination unit 60 changes from the state where the detection result of the transmitted light detection unit 40 is “non-detection” to the state where the detection result of the reflected light detection unit 30 is “detection” to “non-detection”, and It is also possible to configure such that when the detection result of the transmitted light detector 40 changes to a state where it remains "non-detected", it is determined that the remaining amount of the detection target object 2 has decreased.

本発明は、物体を検出する検出装置に用いることが可能である。 INDUSTRIAL APPLICATION This invention can be used for the detection apparatus which detects an object.

1:検出装置
2:検出対象物
2A:歯ブラシ
2B:紙コップ
2A:ペットボトル
12:エリア
20:照射部
30:反射光検出部
40:透過光検出部
50:状態切替部
60:判定部
1: Detection device 2: Detection target 2A: Toothbrush 2B: Paper cup 2A: Plastic bottle 12: Area 20: Irradiation section 30: Reflected light detection section 40: Transmitted light detection section 50: State switching section 60: Judgment section

Claims (5)

所定のエリアに向けて光を照射する照射部と、
前記エリアに検出対象物が存在している場合に、当該検出対象物で反射された前記光を検出する反射光検出部と、
前記エリアに前記検出対象物が存在していない場合に、前記光を検出する透過光検出部と、
前記反射光検出部が前記光を検出した場合、及び、前記透過光検出部が前記光を検出していない場合のうち、少なくともいずれか一方が成立した場合に前記エリアに前記検出対象物が存在していると判定する判定部と、
を備える検出装置。
an irradiation unit that irradiates light toward a predetermined area;
a reflected light detection unit that detects the light reflected by the detection target when the detection target exists in the area;
a transmitted light detection unit that detects the light when the detection target is not present in the area;
The object to be detected exists in the area when at least one of the cases where the reflected light detection section detects the light and the case where the transmitted light detection section does not detect the light is established. a determination unit that determines that the
A detection device comprising:
前記判定部は、前記反射光検出部が前記光を検出し、且つ、前記透過光検出部が前記光を検出していない場合に前記エリアに前記検出対象物が存在していると判定する請求項1に記載の検出装置。 The determination unit determines that the detection target exists in the area when the reflected light detection unit detects the light and the transmitted light detection unit does not detect the light. Detection device according to item 1. 所定時間内に、前記反射光検出部が前記光の検出を行うと共に前記透過光検出部が前記光の検出を停止する第1状態と、前記反射光検出部が前記光の検出を停止すると共に前記透過光検出部が前記光の検出を行う第2状態とが含まれるように、前記反射光検出部及び前記透過光検出部の状態を切り替える状態切替部を更に備え、
前記判定部は、最新の前記第1状態における前記反射光検出部の検出結果及び前記第2状態における前記透過光検出部の検出結果のうちの一方と、直前の前記第1状態における前記反射光検出部の検出結果及び前記第2状態における前記透過光検出部の検出結果のうちの他方とに基づいて判定する請求項1又は2に記載の検出装置。
a first state in which the reflected light detector detects the light and the transmitted light detector stops detecting the light within a predetermined time; and a first state in which the reflected light detector stops detecting the light and simultaneously further comprising a state switching section that switches the states of the reflected light detection section and the transmitted light detection section so that the transmitted light detection section includes a second state in which the transmitted light detection section detects the light;
The determination unit selects one of the detection result of the reflected light detection unit in the latest first state and the detection result of the transmitted light detection unit in the second state, and the reflected light in the immediately preceding first state. The detection device according to claim 1 or 2, wherein the determination is made based on the detection result of the detection unit and the other of the detection results of the transmitted light detection unit in the second state.
前記判定部は、前記エリアに前記検出対象物が存在していると判定している状態が継続している場合において、前記反射光検出部の検出結果及び前記透過光検出部の検出結果のうちの一方が変わったときは、当該変わった時点における前記検出対象物の量が、前記存在していると判定した時点における前記検出対象物の量よりも減少していると判定する請求項2に記載の検出装置。 When the determination unit continues to determine that the detection target exists in the area, the determination unit determines whether the detection result of the reflected light detection unit or the detection result of the transmitted light detection unit is According to claim 2, when one of the detection targets changes, it is determined that the amount of the detection target at the time of the change is smaller than the amount of the detection target at the time when it is determined that it exists. The detection device described. 前記照射部は、前記エリアからの高さが前記反射光検出部及び前記透過光検出部の夫々の前記エリアからの高さとは異なるように設けられている請求項4に記載の検出装置。 5. The detection device according to claim 4, wherein the irradiation section is provided so that its height from the area is different from the height of each of the reflected light detection section and the transmitted light detection section from the area.
JP2022123427A 2022-08-02 2022-08-02 detection device Pending JP2024020890A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2022123427A JP2024020890A (en) 2022-08-02 2022-08-02 detection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2022123427A JP2024020890A (en) 2022-08-02 2022-08-02 detection device

Publications (1)

Publication Number Publication Date
JP2024020890A true JP2024020890A (en) 2024-02-15

Family

ID=89854219

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2022123427A Pending JP2024020890A (en) 2022-08-02 2022-08-02 detection device

Country Status (1)

Country Link
JP (1) JP2024020890A (en)

Similar Documents

Publication Publication Date Title
KR101743770B1 (en) Apparatuses and methods for managing liquid volume in a container
US20230090963A1 (en) Fluid end of life sensors
JP5345767B2 (en) Surgical system, fluid level detection system, fluid level measurement method, and method for measuring the presence of fluid
JP5320289B2 (en) Method and apparatus for object learning and recognition based on optical parameters
US20100134303A1 (en) Fluid level detector for an infusion fluid container
US20140185277A1 (en) Beverage Container Illuminated and Controlled by Motion or Proximity Sensing Module Device
JP5950273B2 (en) Bubble detection device
US20230233034A1 (en) Dispenser for dispensing a hygiene product and associated method of operating
US8590741B2 (en) Dispenser for a flowable medium
EP0748455B1 (en) Triangular position detection method and apparatus
EP2572603A1 (en) Fluid dispensing device
JP2024020890A (en) detection device
WO2011071891A1 (en) Sensor activated storage compartment lighting
US20200237948A1 (en) Air freshener dispenser
EP3767300A1 (en) Automatic analysis device
JP7271552B2 (en) air conditioner
JP2010140914A (en) Photoelectric switch, and method of detecting object using the same
US11867498B2 (en) Sprayer comprising detection system for early power-off
JP2023083929A (en) Switching device for elevator
JP7228781B2 (en) Purification device and purification method
US20220305510A1 (en) Sprayer comprising detection system for early power-off
KR101636989B1 (en) Portable detector for remainder in tube
GB2608448A (en) Contactless conrtrol unit for a dispenser
CN107810661B (en) Attachable lighting system
JP2000329609A (en) Liquid detector

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220805

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20220805