Inhalation device and control method

JPWO2024013927A5Active Publication Date: 2025-03-18JAPAN TOBACCO INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
JP2024533435
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2025-01-07
Publication Date
2025-03-18
Estimated Expiration
2042-07-14

AI Technical Summary

Technical Problem

Existing suction devices face challenges in accurately determining the state of the storage section, particularly in detecting the presence of a stick-shaped base material and deposits, which affects the device's operation and user experience.

Method used

The suction device incorporates a light-emitting unit that emits light into the internal space, a first detection section to detect reflected light, and a second detection section to monitor user interactions, with a control unit that calculates and corrects detection values to determine the storage section's state, switching between operation and sleep modes based on detected conditions.

Benefits of technology

This solution enables accurate judgment of the storage section's state, ensuring proper operation and user experience by accurately detecting the presence of the base material and deposits, thereby optimizing device performance and reducing power consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024013927000001
    Figure 2024013927000001
Patent Text Reader

Abstract

[Problem] To accurately determine the state of an accommodating part that can accommodate a stick-type base material in an inhalation device. [Solution] This inhalation device comprises: an accommodating part that can accommodate a stick-type base material in an internal space; a first detection unit that emits light into the internal space and detects received reflected light; a second detection unit that detects the motion of a user relative to the inhalation device; a control unit that makes a determination regarding the state of the accommodating part on the basis of a first detection value corresponding to the intensity of the reflected light detected by the first detection unit; and a storage unit that stores a correction value used to calculate the first detection value by correcting a second detection value indicating the intensity of the reflected light detected by the first detection unit. The control unit controls a process of calculating the correction value and storing the correction value in the storage unit when a prescribed detection result is obtained by the second detection unit.
Need to check novelty before this filing date? Find Prior Art

Description

Suction device and control method

[0001] The present invention relates to a suction device and a control method.

[0002] Inhalation devices, such as electronic cigarettes and nebulizers, that generate substances to be inhaled by users are widely used. For example, inhalation devices generate a flavored aerosol using a base material that includes an aerosol source for generating an aerosol and a flavor source for imparting a flavor component to the generated aerosol. A user can taste the flavor by inhaling the flavored aerosol generated by the inhalation device.

[0003] Various technologies have been developed with the aim of further improving the quality of the user experience when using such suction devices. For example, Patent Document 1 listed below discloses a technology that emits light, detects the phosphorescence characteristics of the reflected light, and controls the operation of the suction device based on the detection results.

[0004] Special table 2019-528710 publication

[0005] A user can use the inhalation device by placing a stick-shaped substrate containing an aerosol source in the container. Therefore, the inhalation device can appropriately control its operation by determining the state of the container. Therefore, there is a need for improved accuracy in determining the state of the container.

[0006] Therefore, the present invention has been made in consideration of the above problems, and an object of the present invention is to provide a new and improved suction device and control method that can accurately determine the state of the storage section.

[0007] In order to solve the above-described problems, according to one aspect of the present invention, there is provided a suction device comprising: a storage unit capable of storing a stick-shaped substrate in an internal space; a first detection unit that emits light into the internal space and detects the received reflected light; a second detection unit that detects a user's action with respect to the suction device; a control unit that makes a judgment regarding the state of the storage unit based on a first detection value corresponding to the intensity of the reflected light detected by the first detection unit; and a memory unit that stores a correction value used to correct the second detection value indicating the intensity of the reflected light detected by the first detection unit to calculate the first detection value, wherein the control unit controls a process of calculating the correction value and storing it in the memory when a predetermined detection result is obtained by the second detection unit.

[0008] The correction value may be a difference value between the second detection value output from the first detection unit and a predetermined detection standard value, and the first detection value may be a value obtained by subtracting the correction value from the second detection value, and the control unit may control a process for calculating the first detection value when a predetermined detection result is obtained by the second detection unit.

[0009] The control unit may control the mode of the first detection unit to switch between an operation mode in which the reflected light is detected and a sleep mode in which the detection of the reflected light is stopped, depending on the detection result obtained by the second detection unit.

[0010] The suction device may further include a lid portion capable of opening and closing an opening that communicates with the internal space of the storage portion, and the second detection portion may detect opening and closing of the opening by the lid portion.

[0011] The control unit may control the mode of the first detection unit to switch to the operation mode when the second detection unit detects that the opening has been opened by the lid unit, and may control the mode of the first detection unit to switch to the sleep mode when the second detection unit detects that the opening has been closed by the lid unit.

[0012] The control unit may control the process of calculating the correction value when the second detection unit detects that the lid unit has opened the opening.

[0013] When the second detection unit detects that the opening has been closed by the lid unit, the control unit controls a process of calculating the correction value and storing the calculated correction value in the memory unit, and when the mode of the first detection unit is switched to the operating mode after the storage, the control unit may control a process of correcting the second detection value using the correction value stored in the memory unit.

[0014] The suction device may further include a power supply unit that stores power, and the second detection unit may detect connection and disconnection of charging to the power supply unit by the user.

[0015] The control unit may control the first detection unit to switch the mode to the operating mode when the second detection unit detects that charging to the power supply unit has been disconnected, and may control the first detection unit to switch the mode to the sleep mode when the second detection unit detects that charging to the power supply unit has been connected.

[0016] The control unit may calculate the correction value when the second detection unit detects that charging of the power supply unit has been stopped.

[0017] When the second detection unit detects a connection for charging to the power supply unit, the control unit controls a process of calculating the correction value and storing the calculated correction value in the memory unit, and when the mode of the first detection unit is switched to the operating mode after the storage, the control unit may control a process of correcting the second detection value using the correction value stored in the memory unit.

[0018] The control unit may determine whether the stick-shaped substrate is accommodated in the internal space based on the first detection value.

[0019] The control unit may make a determination regarding matter adhering to the container unit based on the first detection value.

[0020] The control unit may determine the state of the container based on the first detection value and a predetermined threshold value, and correct the threshold value based on a change in the correction value over time.

[0021] Furthermore, according to another aspect of the present invention to solve the above-described problems, there is provided a control method for a suction device comprising: a storage unit capable of storing a stick-shaped substrate in an internal space; a first detection unit that emits light into the internal space and detects the received reflected light; a second detection unit that detects a user's action with respect to the suction device; and a memory unit that stores a correction value used to correct a second detection value indicating the intensity of the reflected light detected by the first detection unit and calculate a first detection value corresponding to the intensity of the reflected light detected by the first detection unit. The control method is executed by a computer and includes: making a determination regarding the state of the storage unit based on the first detection value; and, when a predetermined detection result is obtained by the second detection unit, controlling a process of calculating the correction value and storing it in the memory unit.

[0022] As described above, according to the present invention, it is possible to accurately determine the state of the storage section.

[0023] 1 is a schematic diagram showing an example of the internal configuration of a suction device. FIG. 1 is an overall perspective view of a suction device 100 according to the present embodiment. FIG. 2 is an overall perspective view of a suction device 100 according to the present embodiment in a state in which a stick-shaped substrate 150 is held. FIG. 3 is a schematic diagram showing the configuration in the vicinity of a storage unit 140 of a suction device 100 according to the present embodiment and the configuration of a stick-shaped substrate 150. FIG. 4 is a schematic diagram showing in detail the configuration in the vicinity of a storage unit 140 of a suction device 100 according to the present embodiment. FIG. 5 is a schematic diagram showing the storage unit 140 of a suction device 100 according to the present embodiment, as viewed from the opening 142 side. FIG. 6 is a block diagram showing the functional configuration related to detection by an optical sensor unit 170 in a suction device 100 according to the present embodiment. FIG. 7 is a diagram showing a specific example of detection by an optical sensor unit 170. FIG. 8 is an explanatory diagram of a specific example of correction of a second detection value by a detection control unit 179. FIG. 9 is an explanatory diagram of a specific example of determination of the state of a storage unit 140 by a control unit 116 using a first detection value. FIG. 10 is an explanatory diagram of a specific example of correction of a second detection value by a detection control unit 179. FIG. 11 is an explanatory diagram of a specific example of determination of the state of a storage unit 140 by a control unit 116 using a first detection value. 14 is an explanatory diagram of a specific example of correction of the first threshold value and the second threshold value by the detection control unit 179. FIG. 15 is an explanatory diagram of a specific example of determination of the state of the storage unit 140 by the control unit 116 using the first detection value. FIG. 16 is an explanatory diagram of a specific example of correction of the second detection value after the correction of the first threshold value and the second threshold value described using FIG. 13. FIG. 17 is an explanatory diagram of a specific example of determination of the state of the storage unit 140 by the control unit 116 using the first detection value. FIG. 18 is a flowchart showing operation control of the suction device 100 based on the detection result by the optical sensor unit 170. FIG. 19 is a flowchart showing the flow of correction of the second detection value by the detection control unit 179.

[0024] Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. In this specification and drawings, components having substantially the same functional configurations are designated by the same reference numerals, and redundant explanations will be omitted.

[0025] 1. Configuration Example of Suction Device (1) Internal Configuration Example Fig. 1 is a schematic diagram showing an internal configuration example of a suction device. As shown in Fig. 1, a suction device 100 according to this configuration example includes a power supply unit 111, a sensor unit 112, a notification unit 113, a storage unit 114, a communication unit 115, a control unit 116, a heating unit 121, a storage unit 140, and a heat insulating unit 144.

[0026] The power supply unit 111 stores electric power and supplies electric power to each component of the suction device 100 under the control of the control unit 116. The power supply unit 111 may be configured by, for example, a rechargeable battery such as a lithium ion secondary battery.

[0027] The sensor unit 112 acquires various information related to the suction device 100. As one example, the sensor unit 112 is configured with a pressure sensor such as a condenser microphone, a flow rate sensor, or a temperature sensor, and acquires values ​​associated with suction by the user. As another example, the sensor unit 112 is configured with an input device that accepts information input from the user, such as a button or a switch. The sensor unit 112 may also detect user actions. For example, the sensor unit 112 may detect connection and disconnection of charging to the power supply unit 111 by the user. The sensor unit 112 may also detect opening and closing of the opening 142 by the lid unit 14.

[0028] The notification unit 113 notifies the user of information. The notification unit 113 is configured by, for example, a light emitting device that emits light, a display device that displays an image, a sound output device that outputs sound, or a vibration device that vibrates.

[0029] The storage unit 114 stores various types of information for the operation of the suction device 100. The storage unit 114 is configured by a non-volatile storage medium such as a flash memory, for example.

[0030] The communication unit 115 is a communication interface capable of performing communication conforming to any wired or wireless communication standard, such as Wi-Fi (registered trademark), Bluetooth (registered trademark), BLE (Bluetooth Low Energy (registered trademark)), NFC (Near Field Communication), or LPWA (Low Power Wide Area).

[0031] The control unit 116 functions as an arithmetic processing unit and a control unit, and controls the overall operation of the suction device 100 in accordance with various programs. The control unit 116 is realized by an electronic circuit such as a CPU (Central Processing Unit) or a microprocessor.

[0032] The storage unit 140 has an internal space 141 and holds the stick-shaped substrate 150 while accommodating a portion of the stick-shaped substrate 150 in the internal space 141. The storage unit 140 has an opening 142 that connects the internal space 141 to the outside and accommodates the stick-shaped substrate 150 inserted into the internal space 141 through the opening 142. For example, the storage unit 140 is a cylindrical body with the opening 142 and a bottom 143 as its bottom surface, and defines a columnar internal space 141. An air flow path that supplies air to the internal space 141 is connected to the storage unit 140. An air inlet, which is an air inlet to the air flow path, is arranged, for example, on a side surface of the suction device 100. An air outlet, which is an air outlet from the air flow path to the internal space 141, is arranged, for example, on the bottom 143.

[0033] The stick-shaped substrate 150 includes a substrate portion 151 and a mouthpiece portion 152. The substrate portion 151 includes an aerosol source. The aerosol source includes a tobacco-derived or non-tobacco-derived flavor component. When the inhalation device 100 is a medical inhaler such as a nebulizer, the aerosol source may include a medicament. The aerosol source may be, for example, a liquid such as a polyhydric alcohol, such as glycerin or propylene glycol, or water, containing a tobacco-derived or non-tobacco-derived flavor component, or a solid containing a tobacco-derived or non-tobacco-derived flavor component. When the stick-shaped substrate 150 is held in the storage portion 140, at least a portion of the substrate portion 151 is housed in the internal space 141, and at least a portion of the mouthpiece portion 152 protrudes from the opening 142. When a user holds the mouthpiece portion 152 protruding from the opening 142 in their mouth and inhales, air flows into the internal space 141 via an air flow path (not shown) and reaches the user's mouth along with the aerosol generated from the substrate portion 151.

[0034] The heating unit 121 generates aerosol by heating the aerosol source and atomizing the aerosol source. In the example shown in FIG. 1 , the heating unit 121 is configured in a film shape and is arranged to cover the outer periphery of the storage unit 140. When the heating unit 121 generates heat, the substrate unit 151 of the stick-shaped substrate 150 is heated from the outer periphery, generating aerosol. The heating unit 121 generates heat when power is supplied from the power supply unit 111. As an example, power may be supplied when the sensor unit 112 detects that the user has started inhaling and / or that predetermined information has been input. Power supply may be stopped when the sensor unit 112 detects that the user has stopped inhaling and / or that predetermined information has been input.

[0035] The heat insulating section 144 prevents heat transfer from the heating section 121 to other components. For example, the heat insulating section 144 is made of a vacuum heat insulating material, an aerogel heat insulating material, or the like.

[0036] The above describes an example of the configuration of the suction device 100. Of course, the configuration of the suction device 100 is not limited to the above, and various configurations such as those exemplified below may be used.

[0037] As one example, the heating unit 121 may be configured in a blade shape and disposed so as to protrude from the bottom 143 of the storage unit 140 into the internal space 141. In this case, the blade-shaped heating unit 121 is inserted into the substrate 151 of the stick-shaped substrate 150 and heats the substrate 151 of the stick-shaped substrate 150 from the inside. As another example, the heating unit 121 may be disposed so as to cover the bottom 143 of the storage unit 140. Furthermore, the heating unit 121 may be configured as a combination of two or more of a first heating unit covering the outer periphery of the storage unit 140, a blade-shaped second heating unit, and a third heating unit covering the bottom 143 of the storage unit 140.

[0038] As another example, the storage unit 140 may include an opening / closing mechanism such as a hinge that opens and closes a portion of the outer shell that forms the internal space 141. The storage unit 140 may then open and close the outer shell to hold and store the stick-shaped substrate 150 inserted into the internal space 141. In this case, the heating unit 121 may be provided at the holding location in the storage unit 140, and may heat the stick-shaped substrate 150 while pressing it.

[0039] Furthermore, the means for atomizing the aerosol source is not limited to heating by the heating unit 121. For example, the means for atomizing the aerosol source may be induction heating.

[0040] The inhalation device 100 and the stick-shaped substrate 150 may be considered to cooperate with each other to form an aerosol generating system that generates an aerosol. Alternatively, the inhalation device 100 may be considered to include the stick-shaped substrate 150.

[0041] (2) Exterior Configuration Example Fig. 2 is an overall perspective view of the suction device 100 according to this embodiment. Fig. 3 is an overall perspective view of the suction device 100 according to this embodiment in a state in which a stick-shaped substrate 150 is held.

[0042] 2 and 3 , the inhalation device 100 includes a top housing 11A, a bottom housing 11B, a cover 12, a switch 13, a lid portion 14, a vent 15, and a cap 16. The top housing 11A and the bottom housing 11B are connected to each other to form the outermost housing 11 of the inhalation device 100. The outer housing 11 is sized to fit in a user's hand. When using the inhalation device 100, the user can hold the inhalation device 100 in their hand and inhale the flavor.

[0043] The top housing 11A has an opening (not shown), and the cover 12 is coupled to the top housing 11A to close the opening. As shown in Fig. 3, the cover 12 has an opening 142 into which the stick-shaped substrate 150 can be inserted. The lid portion 14 is configured to open and close the opening 142 of the cover 12.

[0044] The switch 13 is used to switch the operation of the inhalation device 100 on and off. For example, as shown in FIG. 3 , a user can insert the stick-shaped substrate 150 into the internal space 141 through the opening 142 and operate the switch 13 to supply power from the power supply unit 111 to the heating unit 121, thereby heating the stick-shaped substrate 150 without burning it. When the stick-shaped substrate 150 is heated, an aerosol is generated from the aerosol source contained in the stick-shaped substrate 150, and the flavor of the flavor source is absorbed into the aerosol. The user can inhale the aerosol containing the flavor by sucking on the portion of the stick-shaped substrate 150 protruding from the inhalation device 100 (the portion shown in FIG. 3 , i.e., the mouthpiece portion 152).

[0045] The vent 15 is a vent for introducing air into the internal space 141. The air taken into the interior of the suction device 100 through the vent 15 is introduced into the internal space 141, for example, from the bottom 143 of the storage section 140. The cap 16 is configured to be detachable from the bottom housing 11B. By attaching the cap 16 to the bottom housing 11B, the vent 15 is formed between the bottom housing 11B and the cap 16. The cap 16 may have, for example, a through-hole or a notch (not shown).

[0046] 2. Technical Features (1) External Configuration of Suction Device Fig. 4 is a schematic diagram showing the configuration of the vicinity of the storage section 140 of the suction device 100 according to this embodiment, and the configuration of the stick-shaped substrate 150. Fig. 4 schematically shows the state in which the stick-shaped substrate 150 is stored in the storage section 140. As shown in Fig. 4, the suction device 100 includes a lid section 14, a lower stick storage section 140A, a guide section 140B, an internal space 141, an opening 142, a bottom section 143, an optical sensor section 170, and a circuit board 172.

[0047] The stick lower storage section 140A is a cylindrical body with a bottom that constitutes a part of the bottom 143 side of the storage section 140. The stick lower storage section 140A stores a part of the bottom 143 side of the stick-shaped substrate 150 inserted into the internal space 141 from the opening 142.

[0048] The guide portion 140B is a cylindrical body with openings on both ends that constitutes a portion of the accommodation portion 140 on the opening 142 side. The guide portion 140B accommodates the portion of the stick-shaped substrate 150 that is inserted into the internal space 141 from the opening 142 and that is accommodated in the accommodation portion 140 but is not accommodated in the lower stick accommodation portion 140A. Furthermore, the guide portion 140B functions as a guide to facilitate the insertion of the stick-shaped substrate 150 into the lower stick accommodation portion 140A. For example, the guide portion 140B may be configured with a larger diameter than the lower stick accommodation portion 140A, or may be configured in a funnel shape so that the diameter gradually decreases from the opening 142 to the boundary portion with the lower stick accommodation portion 140A.

[0049] The optical sensor unit 170 is an example of a first detection unit in this embodiment, which emits light into the internal space 141 and detects the received reflected light. The optical sensor unit 170 is, for example, an integrated circuit (IC) equipped with an infrared proximity sensor. In this case, the optical sensor unit 170 emits infrared light into the internal space 141 and detects the infrared light reflected by a detected object such as an object contained in the internal space 141 or the inner wall of the storage unit 140.

[0050] The optical sensor unit 170 is disposed in a location where it can emit light into the internal space 141. For example, the optical sensor unit 170 is disposed in the guide unit 140B. Specifically, the optical sensor unit 170 is embedded in the guide unit 140B. The optical sensor unit 170 detects light reflected by an object housed in the internal space 141 or a detected object such as the inner wall of the guide unit 140B.

[0051] Here, the heating unit 121 is arranged so as to cover the outer periphery of the lower stick housing portion 140A. On the other hand, the heating unit 121 is not arranged on the outer periphery of the guide portion 140B. Furthermore, the guide portion 140B may be made of a material with lower thermal conductivity than the material that makes up the lower stick housing portion 140A. Therefore, by arranging the optical sensor unit 170 in the guide portion 140B, the optical sensor unit 170 can perform optical detection without being affected by the heating of the stick-shaped substrate 150.

[0052] The inner wall of the guide portion 140B may be black. By making the inner wall of the guide portion 140B black, it is possible to suppress reflection of the light emitted by the optical sensor portion 170.

[0053] The circuit board 172 is a board on which the optical sensor unit 170 is mounted. The circuit board 172 is, for example, a flexible printed circuit (FPC) circuit. The circuit board 172 is connected to the control unit 116 by, for example, a connector or solder.

[0054] FIG. 5 is a schematic diagram illustrating in detail the configuration of the vicinity of the housing unit 140 of the suction device 100 according to this embodiment. As shown in FIG. 5, the suction device 100 further includes a light-transmitting filter 173 and a reinforcing plate 174. The light-transmitting filter 173 is a filter that transmits light emitted by the optical sensor unit 170. For example, when the optical sensor unit 170 is an infrared proximity sensor, the light-transmitting filter 173 is an infrared-transmitting filter. The material of the light-transmitting filter 173 is not particularly limited and may be resin or glass, or a transparent resin coated with a light-transmitting coating. The light-transmitting filter 173 may be colored. By making the light-transmitting filter 173 colored, it is possible to conceal the optical sensor unit 170 from an external perspective. Furthermore, the light-transmitting filter 173 can maintain airtightness to prevent sidestream smoke and the like from entering from outside the stick from contacting the optical sensor unit 170.

[0055] The reinforcing plate 174 is a component for reinforcing the optical sensor unit 170 and the circuit board 172. The clearance 175 is a gap provided between the stick-shaped substrate 150 and the light transmission filter 173. The clearance 175 may be provided so that the distance between the stick-shaped substrate 150 and the light transmission filter 173 is 1 to 2 mm.

[0056] FIG. 6 is a schematic diagram of the storage unit 140 of the suction device 100 according to this embodiment, viewed from the opening 142 side. As shown in FIG. 6 , the optical sensor unit 170 is disposed in the guide unit 140B. A plurality of optical sensors 170 may be disposed so as to detect the internal space 141 from a plurality of angles. By disposing a plurality of optical sensors 170, it becomes possible to more accurately determine the state of the storage unit 140. For example, even if dirt adheres to a portion of the storage unit 140 and one optical sensor unit 170 is disposed in a position where it cannot detect the dirt, the other optical sensors 170 can still detect the dirt.

[0057] Note that when multiple optical sensor units 170 are arranged to face each other, crosstalk may occur when an optical sensor unit 170 detects light emitted from the opposing optical sensor unit 170. Therefore, it is preferable that the multiple optical sensor units 170 are arranged so that they do not face each other.

[0058] (2) Internal Configuration of Suction Device Next, a functional configuration related to detection by the optical sensor unit 170 of the suction device 100 according to this embodiment will be described with reference to Fig. 7. Fig. 7 is a block diagram showing a functional configuration related to detection by the optical sensor unit 170 in the suction device 100 according to this embodiment.

[0059] As shown in FIG. 7 , the suction device 100 includes a control unit 116 and an optical sensor unit 170. The optical sensor unit 170 includes a light-emitting unit 176, a light-receiving unit 177, a detection storage unit 178, and a detection control unit 179. The light-emitting unit 176 emits light into the internal space 141. The light-emitting unit 176 is configured with a light-emitting element such as an LD (Laser Diode) or an LED (Light Emitting Diode). In this embodiment, the light-emitting unit 176 is an infrared LD and emits infrared light. The infrared light emitted by the light-emitting unit 176 may be a VCSEL (Vertical Cavity Surface Emitting Laser). The light-receiving unit 177 detects reflected light of the light emitted by the light-emitting unit 176.

[0060] The detection control unit 179 controls the operation of each component of the optical sensor unit 170. The detection control unit 179 performs a correction process to calculate a corrected detection value corresponding to the amount of received reflected light detected by the light receiving unit 177. Specifically, the detection control unit 179 calculates a corrected detection value (corresponding to a first detection value) by correcting the uncorrected detection value (corresponding to a second detection value) indicating the amount of received reflected light detected by the light receiving unit 177. The correction process will be described in detail later. The detection control unit 179 also stores the first detection value in the detection storage unit 178, which will be described later.

[0061] The detection control unit 179 also controls the operation cycle and the length of the intermittent operation time. The operation cycle and intermittent operation time will now be described with reference to FIG. 8 . FIG. 8 is a diagram showing a specific example of detection by the optical sensor unit 170. The horizontal and vertical axes of FIG. 8 represent the elapsed time since detection by the optical sensor unit 170 began and the intensity of light emitted by the light-emitting unit 176, respectively. As shown in FIG. 8 , the light-emitting unit 176 emits pulsed light at a constant cycle. This cycle is called the operation cycle. After the light-emitting unit 176 emits pulsed light, the detection control unit 179 performs processing on the detected reflected light. The time required for this processing is called the processing time. After the processing time, a period of time is provided before pulsed light is emitted again. This period is called the intermittent operation time.

[0062] Returning to the explanation of FIG. 7, the detection control unit 179 controls the intensity of the infrared light emitted by the light emitting unit 176 by controlling the LD current value, which is the current value applied to the light emitting unit 176 .

[0063] In addition, if the first detection value is greater than the notification threshold stored in the detection memory unit 178, the detection control unit 179 sends an interrupt notification to the control unit 116, which is a notification indicating that the first detection value is greater than the notification threshold.

[0064] Here, a specific example of detection by the optical sensor unit 170 will be described with reference to FIG. 8 . As shown in FIG. 8 , the detection control unit 179 causes the light-emitting unit 176 to emit pulsed light a certain number of times, and then performs processing related to the detected reflected light. For example, the detection control unit 179 performs processing to correct the second detection value and calculate a first detection value. The detection control unit 179 also performs processing to calculate the distance to the detected object from which light is emitted from the optical sensor unit 170. During the intermittent operation time after the processing time has elapsed, the detection control unit 179 controls the light-emitting unit 176 not to emit light. After the intermittent operation time has elapsed, the detection control unit 179 controls the light-emitting unit 176 to emit light again.

[0065] 8 shows an example in which the light-emitting unit 176 emits pulsed light three times, but the number of pulsed light emissions is not particularly limited. Furthermore, if the light-emitting unit 176 emits pulsed light multiple times, the detection control unit 179 may perform processing using the detection results from the light-receiving unit 177 multiple times, or may perform processing using some of the detection results from the light-receiving unit 177 multiple times.

[0066] Returning to the description of FIG. 7 , the detection storage unit 178 stores programs executed by the detection control unit 179, various data, and the like. The detection storage unit 178 is an example of a storage unit in this embodiment. The detection storage unit 178 is realized, for example, by a register. The detection storage unit 178 stores various setting values ​​used during control by the detection control unit 179, such as the operating cycle of infrared pulse emission, intermittent operation time, notification threshold, and LD current value. The detection storage unit 178 also stores a first detection value and a correction value. The correction value is a value used to calculate the first detection value from the second detection value.

[0067] The control unit 116 and the detection control unit 179 communicate with each other via a serial communication interface such as I2C (Inter-Integrated Circuit) communication. The control unit 116 controls the operation of each component of the optical sensor unit 170 via the detection control unit 179.

[0068] The control unit 116 controls the optical sensor unit 170 to switch between an operation mode in which reflected light is detected and a sleep mode in which reflected light detection is stopped. Specifically, in the sleep mode, the control unit 116 controls the light-emitting unit 176 to stop emitting light and the light-receiving unit 177 to stop detecting reflected light. In addition, in the operation mode, the control unit 116 controls the light-emitting unit 176 to emit light and the light-receiving unit 177 to detect reflected light. By controlling the switching of the mode of the optical sensor unit 170 by the control unit 116, it is possible to reduce power consumption compared to when the optical sensor unit 170 constantly detects reflected light.

[0069] Furthermore, the control unit 116 stores various setting values ​​used during control by the detection control unit 179 in the detection storage unit 178. Here, the detection storage unit 178 may be configured with a volatile storage medium or a non-volatile storage medium. If the detection storage unit 178 is configured with a non-volatile storage medium, the various setting values ​​stored in the detection storage unit 178 are initialized when power supply to the optical sensor unit 170 is interrupted and then resumed. When the various setting values ​​are initialized, the control unit 116 may store the various setting values ​​before initialization again in the detection storage unit 178.

[0070] Instead of the sleep mode, the control unit 116 may control the optical sensor unit 170 to enter a power-off mode, in which power supply to the optical sensor unit 170 is stopped. When the detection storage unit 178 is configured as a volatile storage medium and this control is performed, the control unit 116 stores the various setting values ​​before initialization in the detection storage unit 178 again when switching the mode of the optical sensor unit 170 from the power-off mode to the operating mode. Furthermore, in the sleep mode, the control unit 116 may control the optical sensor unit 170 to maintain power supply to the detection storage unit 178 included in the optical sensor unit 170. This eliminates the need to store the various setting values ​​before initialization in the detection storage unit 178 again every time the mode is switched from the sleep mode to the operating mode, when the detection storage unit 178 is configured as a volatile storage medium. Furthermore, in the sleep mode, the control unit 116 may control the optical sensor unit 170 to maintain power supply only to a portion of the memory in the detection storage unit 178 included in the optical sensor unit 170.

[0071] Furthermore, the control unit 116 reads out various data stored in the detection storage unit 178, such as the amount of received reflected light detected by the light receiving unit 177. Based on the first detection value, the control unit 116 makes a determination regarding the state of the storage unit 140 and controls each component of the suction device 100, which will be described in detail later. The control unit 116 also receives an interrupt notification from the optical sensor unit 170.

[0072] (3) Determination of the state of the storage unit 140 based on the detection result of the optical sensor unit 170 Next, a detailed description will be given of the determination of the state of the storage unit 140 based on the first detection value by the control unit 116. The control unit 116 refers to the first detection value stored in the detection memory unit 178, and determines the state of the storage unit 140 based on the first detection value.

[0073] The control unit 116 may determine, based on the first detection value, whether or not the stick-shaped substrate 150 is housed in the internal space 141. For example, the control unit 116 compares the first detection value with a predetermined first threshold value to determine whether or not the stick-shaped substrate 150 is housed in the internal space 141. The control unit 116 refers to the first threshold value stored in advance in the storage unit 114.

[0074] In general, the outer surface of the stick-shaped substrate 150 is white, while the inner wall of the guide portion 140B in this embodiment is black. Therefore, it is assumed that the amount of light received that is reflected by the outer surface of the stick-shaped substrate 150, out of the light emitted from the light-emitting portion 176, is greater than the amount of light received that is reflected by the inner wall of the guide portion 140B. Of course, the colors of the outer surface of the stick-shaped substrate 150 and the inner wall of the guide portion 140B are not limited to the example described above. For example, the color of the outer surface of the stick-shaped substrate 150 and the color of the inner wall of the guide portion 140B may be the same. The amount of light received when detecting an object of the same color increases the closer the object is to the optical sensor portion 170. Therefore, even if the stick-shaped substrate 150 and the inner wall of the guide portion 140B are the same color, the amount of light received that is reflected by the outer surface of the stick-shaped substrate 150, out of the light emitted from the light-emitting portion 176, is greater than the amount of light received that is reflected by the inner wall of the guide portion 140B.

[0075] For this reason, the first threshold value is set to a value that is smaller than the first detection value when the stick-shaped substrate 150 is accommodated in the internal space 141 and greater than the first detection value when nothing is accommodated in the stick-shaped substrate 150. In this case, the control unit 116 can appropriately determine whether or not the stick-shaped substrate 150 is accommodated in the internal space 141 by comparing the first detection value with the first threshold value. Specifically, the control unit 116 determines that the stick-shaped substrate 150 is accommodated in the internal space 141 when the first detection value is equal to or greater than the first threshold value. Furthermore, the control unit 116 determines that the stick-shaped substrate 150 is not accommodated in the internal space 141 when the first detection value is less than the first threshold value.

[0076] The control unit 116 may make a determination regarding the adhesion attached to the storage unit 140 based on the first detection value. The control unit 116 may make a determination regarding the adhesion attached to the storage unit 140 by comparing the first detection value with a predetermined second threshold value different from the first threshold value. The control unit 116 makes a comparison with the first detection value by referring to the first threshold value and the second threshold value stored in advance in the memory unit 114.

[0077] When the stick-shaped substrate 150 is housed in the internal space 141, if dirt, foreign matter, or other attachments are attached to the housing unit 140, the reflectance of the light emitted by the light-emitting unit 176 is lower than when no dirt, foreign matter, or other attachments are attached to the housing unit 140. Therefore, when the stick-shaped substrate 150 is housed in the internal space 141, the first detection value when an attachment is attached is smaller than the first detection value when no attachment is attached. For this reason, the second threshold is set to a value greater than the first threshold. In this case, the control unit 116 can appropriately determine whether or not an attachment is present in the housing unit 140 by comparing the first detection value with the second threshold when the stick-shaped substrate 150 is housed in the internal space 141. Specifically, the control unit 116 determines that an attachment is present in the housing unit 140 when the first detection value is equal to or greater than the first threshold and less than the second threshold. Furthermore, when the first detection value is equal to or greater than the second threshold value, the control unit 116 determines that no matter is attached to the storage unit 140 .

[0078] Furthermore, the control unit 116 may determine the degree of adhesion to the storage unit 140 based on the first detection value. The degree of adhesion to the storage unit 140 includes the thickness of the accumulation of adhesions such as dirt and foreign matter, the unevenness of the accumulation, etc. The higher the degree of adhesion, the lower the reflectance of the light emitted by the light-emitting unit 176, and therefore the smaller the first detection value.

[0079] When the control unit 116 determines the level of adhesion to the storage unit 140, multiple second thresholds may be set in stages. For example, the second thresholds, second threshold A and second threshold B, are set so that the first threshold < second threshold A < second threshold B. When the first detection value is equal to or greater than the first threshold and less than the second threshold A, the control unit 116 determines that the level of adhesion to the storage unit 140 is high. When the first detection value is equal to or greater than the second threshold A and less than the second threshold B, the control unit 116 determines that the level of adhesion to the storage unit 140 is low. When the first detection value is equal to or greater than the second threshold B, the control unit 116 determines that no adhesion is present in the storage unit 140.

[0080] Up to this point, an example has been described in which the control unit 116 makes a determination regarding an attachment attached to the storage unit 140 based on the second threshold value. However, the method by which the control unit 116 makes a determination regarding an attachment attached to the storage unit 140 is not limited to this example. It is considered that the amount of attachment attached to the storage unit 140 increases over time, and therefore the first detection value when the stick-shaped substrate 150 is stored in the internal space 141 is considered to decrease over time. Therefore, the control unit 116 may make a determination regarding an attachment attached to the storage unit 140 based on the temporal change in the first detection value that is equal to or greater than the first threshold value, among the first detection values ​​detected at multiple times. The control unit 116 stores the first detection value in the memory unit 114 each time the optical sensor unit 170 detects the first detection value. This enables the control unit 116 to make a determination regarding an attachment attached to the storage unit 140 based on the temporal change in the first detection value.

[0081] In addition, the control unit 116 may calculate the difference between a first detection value that is equal to or greater than the first threshold value and the first threshold value among the first detection values ​​detected at multiple timings, and make a judgment regarding the adhesions attached to the storage unit 140 based on the change in this difference over time.

[0082] Note that the control unit 116 may refer to the first detection value stored in the detection memory unit 178 and make a determination based on the first detection value only when an interrupt notification is received from the optical sensor unit 170. The notification threshold may be set to, for example, a value equal to the first threshold. When set in this manner, the interrupt notification indicates that the stick-shaped substrate 150 has been inserted into the internal space 141. Therefore, when an interrupt notification is received from the optical sensor unit 170, the control unit 116 may determine that the stick-shaped substrate 150 has been inserted. With this configuration, it is only necessary to determine the state of the storage unit 140 by referring to the first detection value stored in the detection memory unit 178 when the stick-shaped substrate 150 is stored in the internal space 141, thereby reducing the processing load on the control unit 116.

[0083] (4) Control of the suction device 100 based on the determination result of the state of the storage unit 140 Up to this point, we have described how the state of the storage unit 140 is determined based on the detection result by the optical sensor unit 170 according to this embodiment. Next, we will describe how the control unit 116 controls each component of the suction device 100 based on the determination result of the state of the storage unit 140.

[0084] The control unit 116 controls a process for prompting the user to clean the storage unit 140 based on the result of the determination regarding the matter adhering to the storage unit 140. The process for prompting the user to clean the storage unit 140 is, for example, control of a notification to the user by the notification unit 113. The notification unit 113 may prompt the user to clean by emitting light, sound, or vibration, or may display a screen prompting the user to clean. The control unit 116 may also control the communication unit 115 to send a notification prompting the user to clean the storage unit 140 to a device such as the user's smartphone or PC. With this configuration, the user can clean the storage unit 140 at an appropriate time.

[0085] Furthermore, the control unit 116 may control a process that gradually prompts the user to clean the storage unit 140 based on the result of the determination of the level of adhesion to the storage unit 140. For example, when the control unit 116 determines that the level of adhesion to the storage unit 140 is low, the control unit 116 may control a process that prompts the user to clean the storage unit 140, and when the control unit 116 determines that the level of adhesion is high, the control unit 116 may control a process that more strongly prompts the user to clean the storage unit 140. With this configuration, the user can more clearly recognize the need to clean the storage unit 140.

[0086] Furthermore, the control unit 116 may control the timing of prompting the user to clean the storage unit 140 based on the result of the determination regarding the adhering matter adhering to the storage unit 140. For example, the control unit 116 may control the process to prompt the user to clean the storage unit 140 before or after heating the stick-shaped substrate 150 by the heating unit 121 based on the result of the determination regarding the adhering matter adhering to the storage unit 140. More specifically, if the control unit 116 determines that the level of adhering matter adhering to the storage unit 140 is high, the control unit 116 may control a process to prompt the user to clean the storage unit 140 before allowing the heating unit 121 to heat the stick-shaped substrate 150. On the other hand, if the control unit 116 determines that the level of adhering matter adhering to the storage unit 140 is low, the control unit 116 may control a process to prompt the user to clean the storage unit 140 after allowing the heating unit 121 to heat the stick-shaped substrate 150. It is thought that there is a need for users to use the suction device 100 before cleaning the storage unit 140. With this configuration, it is possible to prompt the user to prioritize cleaning the storage section 140 only when it is assumed that the heating section 121 is unable to heat properly due to the influence of deposits on the storage section 140, thereby meeting the user's needs.

[0087] Furthermore, the control unit 116 may control the heating of the stick-shaped substrate 150 by the heating unit 121 based on the result of the determination regarding the adhering matter adhering to the storage unit 140. For example, the control unit 116 may permit or prohibit heating by the heating unit 121 based on the result of the determination regarding the adhering matter adhering to the storage unit 140.

[0088] More specifically, if the control unit 116 determines that the level of attachments on the storage unit 140 is high, it may prohibit the heating unit 121 from heating the stick-shaped substrate 150. On the other hand, if the control unit 116 determines that the level of attachments on the storage unit 140 is low or if it determines that no attachments are attached to the storage unit 140, it may permit heating by the heating unit 121. With this configuration, it is possible to prohibit heating when the level of attachments on the storage unit 140 is high, and therefore it is possible to ensure that the user cleans the storage unit 140.

[0089] Furthermore, the control unit 116 may store the number of times that the first detection value is equal to or greater than the second threshold in the storage unit 114. When the control unit 116 acquires a first detection value that is equal to or greater than the second threshold from the optical sensor unit 170, the control unit 116 updates the number of times stored in the storage unit 114. Furthermore, the control unit 116 may transmit the number of times stored in the storage unit 114 to a device such as a smartphone or PC of the user via the communication unit 115. The number of times may be transmitted from the user's device to a server.

[0090] (5) Switching of Modes of Optical Sensor Unit 170 Next, the control of switching the mode of the optical sensor unit 170 by the control unit 116 will be described in detail. The control unit 116 controls the optical sensor unit 170 to switch between an operation mode in which reflected light is detected and a sleep mode in which detection of reflected light is stopped. The control unit 116 may also control the optical sensor unit 170 to switch between modes depending on the detection result obtained by the sensor unit 112. The sensor unit 112 is an example of a second detection unit in this embodiment. Note that the control unit 116 may also control the optical sensor unit 170 to switch between modes depending on the detection result obtained by the sensor unit 112, to a power-off mode in which power supply to the optical sensor unit 170 is stopped.

[0091] First, a case will be described in which the sensor unit 112 detects whether the opening 142 of the lid unit 14 is open or closed. When the opening of the opening 142 of the lid unit 14 is detected, there is a high possibility that the user will use the suction device 100. Therefore, when the sensor unit 112 detects that the opening 142 of the lid unit 14 is open, the control unit 116 controls the optical sensor unit 170 to switch from the sleep mode to the operating mode. Furthermore, when the sensor unit 112 detects that the opening 142 of the lid unit 14 is closed, the suction device 100 will not be used by the user. Therefore, when the sensor unit 112 detects that the opening 142 of the lid unit 14 is closed, the control unit 116 controls the optical sensor unit 170 to switch from the operating mode to the sleep mode. With this configuration, the optical sensor unit 170 performs detection only when the user uses the suction device 100, thereby enabling efficient reduction in power consumption. Note that the control unit 116 may control the optical sensor unit 170 to switch from the operation mode to the power-off mode when the sensor unit 112 detects that the opening 142 has been closed by the cover unit 14 .

[0092] Next, a case will be described in which the sensor unit 112 detects whether the user has connected or disconnected the power supply unit 111 to charge. When the power supply unit 111 is disconnected from charge, the user is likely to use the suction device 100. Therefore, when the sensor unit 112 detects that the user has disconnected the power supply unit 111 from charge, the control unit 116 controls the optical sensor unit 170 to switch from sleep mode to operating mode. Furthermore, when the power supply unit 111 is connected to charge, the user is likely not to use the suction device 100. Therefore, when the sensor unit 112 detects that the user has connected the power supply unit 111 to charge, the control unit 116 controls the optical sensor unit 170 to switch from operating mode to sleep mode. With this configuration, the optical sensor unit 170 performs detection only when the user uses the suction device 100, thereby enabling efficient reduction in power consumption. The control unit 116 may also control the optical sensor unit 170 to switch from operating mode to power-off mode when the sensor unit 112 detects that the user has connected the power supply unit 111 to charge.

[0093] (6) Correction of Each Value Next, correction of each value used in this embodiment by the detection control unit 179 and the control unit 116 will be described in detail.

[0094] Correction from the Second Detected Value to the First Detected Value First, the correction from the second detected value to the first detected value by the detection control unit 179 will be described. The reflected light detected by the light receiving unit 177 is affected by individual differences in the optical sensor unit 170, temperature, vibration, and attachments attached to the storage unit 140. Therefore, the detection control unit 179 corrects the second detected value to calculate the first detected value. This configuration makes it possible to eliminate the effects of individual differences in the optical sensor unit 170, temperature, vibration, and attachments attached to the storage unit 140 from the second detected value. As a result, the control unit 116 can appropriately determine the state of the storage unit 140.

[0095] The detection control unit 179 corrects the second detection value to calculate the first detection value. The detection control unit 179 calculates a correction value used to correct the second detection value to calculate the first detection value and stores the correction value in the detection storage unit 178. The detection control unit 179 may calculate the correction value using a detection reference value, which is a reference value for the second detection value acquired when the stick-shaped substrate 150 is not housed in the internal space 141. The detection reference value may be set to a value lower than the second detection value detected by the light-receiving unit 177 when the stick-shaped substrate 150 is not housed in the internal space 141, if there is no decrease in the intensity of the light emitted by the light-emitting unit 176 over time of use. In this case, the detection control unit 179 calculates a correction value to correct the second detection value acquired when the stick-shaped substrate 150 is not housed in the internal space 141 to a value that matches the detection reference value. In other words, the detection control unit 179 calculates the difference between the second detection value and the detection reference value as the correction value. The detection control unit 179 calculates the first detection value by subtracting the correction value from the second detection value newly output by the light receiving unit 177 .

[0096] The detection control unit 179 calculates the correction value based on the second detection value detected by the light receiving unit 177 when the stick-shaped substrate 150 is not housed in the internal space 141. It is desirable that the opening 142 be closed by the lid unit 14 when the light receiving unit 177 detects the second detection value. When the opening 142 is closed, light outside the suction device 100 is not received by the light receiving unit 177. Furthermore, even when the second detection value is detected by the light receiving unit 177 when the stick-shaped substrate 150 is housed in the internal space 141, light outside the suction device 100 is not received by the light receiving unit 177. Therefore, by using the correction value calculated using the second detection value detected when the opening 142 is closed, the control unit 116 can appropriately determine the state of the housing unit 140 while eliminating the influence of external light. However, the difference between the second detection value detected when the opening 142 is closed and the second detection value detected when the opening 142 is open is small compared to the first threshold and the second threshold, so the opening 142 may be open at the timing of detection by the light receiving unit 177.

[0097] The first detection value used by the control unit 116 when determining the state of the storage unit 140 is a value corrected by a correction value calculated by the detection control unit 179. Here, in order for the control unit 116 to more accurately determine the state of the storage unit 140, it is desirable that conditions such as temperature, vibration, and attachments on the storage unit 140 coincide at the timing when the correction value is calculated and the timing when the state of the storage unit 140 is determined. Therefore, it is desirable that the timing when the detection control unit 179 calculates the correction value be close to the timing when the stick-shaped substrate 150 is stored in the internal space 141. For this reason, when a predetermined detection result is obtained by the sensor unit 112, the control unit 116 controls the process of the detection control unit 179 to calculate a correction value and store it in the detection memory unit 178.

[0098] For example, when the sensor unit 112 detects that the lid unit 14 has opened the opening 142, the control unit 116 may control the detection control unit 179 to calculate the correction value. Immediately after the lid unit 14 has opened the opening 142, there is a high possibility that the stick-shaped substrate 150 will be accommodated in the internal space 141. Therefore, with this configuration, the timing of calculating the correction value can be brought closer to the timing when the stick-shaped substrate 150 is accommodated in the internal space 141, and as a result, the control unit 116 can accurately determine the state of the accommodation unit 140.

[0099] Furthermore, when the sensor unit 112 detects that the lid unit 14 has closed the opening 142, the control unit 116 may control a process in which the detection control unit 179 calculates a correction value and stores the correction value in the detection memory unit 178. When the control unit 116 switches the mode of the optical sensor unit 170 to the operating mode after the storage, the control unit 116 controls a process to correct the second detection value using the correction value stored in the detection memory unit 178. When the sensor unit 112 detects that the lid unit 14 has closed the opening 142, it is highly likely that the user has stopped suctioning. Therefore, according to the above process, the detection control unit 179 can correct the influence of the deposits that adhered due to suction before the lid unit 14 closed the opening 142. Here, when the user opens the opening 142 with the lid unit 14, the correction value has already been calculated by the detection control unit 179. Therefore, when the user opens the opening 142 with the lid unit 14, the control unit 116 can determine the state of the storage unit 140 without controlling the execution of the process to calculate the correction value. In other words, with this configuration, the user's waiting time is reduced compared to when the control unit 116 calculates the correction value after the sensor unit 112 detects that the lid unit 14 has opened the opening 142 .

[0100] When the sensor unit 112 detects that the opening 142 has been closed by the lid unit 14, the control unit 116 may switch the mode of the optical sensor unit 170 from the operating mode to the sleep mode after performing a process of storing the calculated correction value in the detection memory unit 178.

[0101] Furthermore, when the sensor unit 112 detects that charging of the power supply unit 111 has been stopped, the control unit 116 may control calculation of the correction value by the detection control unit 179. Charging of the power supply unit 111 may be from a commercial power source, or from a charging device capable of housing the suction device 100, such as a portable charging and refilling case (PCC). Immediately after the stopping of charging is detected, there is a high possibility that the stick-shaped substrate 150 will be housed in the internal space 141. Therefore, with this configuration, the timing of calculation of the correction value can be brought closer to the timing when the stick-shaped substrate 150 is housed in the internal space 141, and as a result, the control unit 116 can accurately determine the state of the housing unit 140.

[0102] Furthermore, when the sensor unit 112 detects that the power supply unit 111 is connected to a charger, the control unit 116 may control a process of causing the detection control unit 179 to calculate a correction value and store the correction value in the detection memory unit 178. When the control unit 116 switches the mode of the optical sensor unit 170 to the operating mode after the storage, the control unit 116 controls a process of correcting the second detection value using the correction value stored in the detection memory unit 178. When the sensor unit 112 detects that the power supply unit 111 is connected to a charger, it is highly likely that the user has stopped suctioning. Therefore, according to the above process, the detection control unit 179 can correct the second detection value that has changed due to the influence of the matter that adhered due to suction before the lid unit 14 closed the opening 142. By performing this process, the correction value has already been calculated by the detection control unit 179 when the power supply unit 111 is disconnected from the charger. Therefore, when the power supply unit 111 is disconnected from the charger, the control unit 116 can determine the state of the accommodation unit 140 without controlling the execution of the process of calculating the correction value. That is, with this configuration, the waiting time of the user is reduced compared to when the control unit 116 calculates the correction value after the sensor unit 112 detects that charging of the power supply unit 111 has been stopped.

[0103] When the sensor unit 112 detects a connection for charging to the power supply unit 111, the control unit 116 may switch the mode of the optical sensor unit 170 from the operating mode to the sleep mode after performing a process of storing the calculated correction value in the detection memory unit 178.

[0104] Here, specific examples of correction of the second detection value by the detection control unit 179 will be described with reference to FIGS. 9 to 12. FIG. 9 is an explanatory diagram of a specific example of correction of the second detection value by the detection control unit 179. Here, a specific example will be described in which the detection reference value is "510". Note that the larger the value of the detected light amount, the greater the amount of received light. Also, here, it is assumed that the first threshold value used to determine whether or not the stick-shaped substrate 150 is contained in the internal space 141 is "2200", and the second threshold value used to determine whether or not there is any attachment on the containing unit 140 is "3350".

[0105] The left diagram of FIG. 9 is a diagram showing an example of a second detection value acquired when the stick-shaped substrate 150 is not housed in the internal space 141. The right diagram of FIG. 9 is a diagram showing an example in which the second detection value acquired when the stick-shaped substrate 150 is not housed in the internal space 141 is corrected to the detection reference value. The detection control unit 179 calculates a correction value so as to correct the second detection value acquired when the stick-shaped substrate 150 is not housed in the internal space 141 to 510, which matches the detection reference value. As shown in FIG. 9 , if the second detection value acquired when the stick-shaped substrate 150 is not housed in the internal space 141 is "1024," the detection control unit 179 calculates "514," which is the difference between the second detection value "1024" and the detection reference value "510," as the correction value. The detection control unit 179 stores the calculated correction value in the detection storage unit 178.

[0106] FIG. 10 illustrates a specific example of how the control unit 116 determines the state of the storage unit 140 when the light receiving unit 177 newly outputs "4000" as the second detection value after the detection control unit 179 controls the process of storing the correction value, as explained using FIG. 9.

[0107] FIG. 10 is an explanatory diagram of a specific example of the control unit 116 determining the state of the storage unit 140 using the first detection value. Here, the detection control unit 179 subtracts the correction value "514" from the second detection value "4000" to calculate "3486" as the first detection value. The control unit 116 reads out the first detection value from the detection memory unit 178 and compares it with the first threshold and the second threshold. Here, the first detection value is equal to or greater than the first threshold and the second threshold. Therefore, the control unit 116 determines that the stick-shaped substrate 150 is stored in the internal space 141 and that no matter is attached to the storage unit 140.

[0108] 11 is an explanatory diagram of a specific example of correction of the second detection value by the detection control unit 179. Here, a specific example will be described in which the detection reference value is "510." Also, here, it is assumed that the first threshold value used to determine whether or not the stick-shaped substrate 150 is contained in the internal space 141 is "2200," and the second threshold value used to determine whether or not there is any attachment to the containing unit 140 is "3350."

[0109] The left diagram of FIG. 11 is a diagram showing an example of a second detection value acquired when the stick-shaped substrate 150 is not housed in the internal space 141. The right diagram of FIG. 11 is a diagram showing an example in which the second detection value acquired when the stick-shaped substrate 150 is not housed in the internal space 141 is corrected to the detection reference value. As shown in FIG. 11, the second detection value acquired when the stick-shaped substrate 150 is not housed in the internal space 141 is "1124," which is larger than the second detection value "1024" shown in the left diagram of FIG. 9. If dirt adheres near the optical sensor unit 170 arranged in the housing unit 140, the light is reflected by the adhered dirt, increasing the amount of light received compared to when there is no dirt, and the second detection value becomes larger. The detection control unit 179 calculates a correction value so as to correct the second detection value acquired when the stick-shaped substrate 150 is not housed in the internal space 141 to "510," which matches the detection reference value. 11 , if the second detection value acquired when the stick-shaped substrate 150 is not housed in the internal space 141 is "1124," the detection control unit 179 calculates, as a correction value, "614," which is the difference between the second detection value "1124" and the detection reference value "510." The detection control unit 179 stores the calculated correction value in the detection storage unit 178.

[0110] FIG. 12 illustrates a specific example of how the control unit 116 determines the state of the storage unit 140 when the light receiving unit 177 newly outputs "3814" as the second detection value after the detection control unit 179 controls the process of storing the correction value, as explained using FIG. 11.

[0111] FIG. 12 is an explanatory diagram of a specific example of the control unit 116 determining the state of the storage unit 140 using the first detection value. Here, the detection control unit 179 subtracts the correction value "614" from the second detection value "3814" to calculate "3200" as the first detection value. The control unit 116 reads out the first detection value from the detection memory unit 178 and compares it with the first threshold and the second threshold. Here, the first detection value is equal to or greater than the first threshold and less than the second threshold. Therefore, the control unit 116 determines that the stick-shaped substrate 150 is stored in the internal space 141 and that an attachment is attached to the storage unit 140.

[0112] The suction device 100 may make a determination regarding adhesion without correcting the detection value. However, when the detection value is corrected, the accuracy of the determination regarding adhesion can be improved compared to when the detection value is not corrected.

[0113] Here, there are cases where the detection value is corrected when an adhering substance is present, i.e., the first detection value is calculated from the second detection value. Even in such cases, it is possible to improve the accuracy of determining whether an adhering substance is present when the stick-shaped substrate 150 is inserted. This point will be described in detail below.

[0114] The amount of light received when calculating the correction value tends to increase as the amount of attached matter increases. This is because the light emitted by the optical sensor unit 170 is reflected by attached matter that is closer to the optical sensor unit 170 than the inner wall of the storage unit 140. That is, when the second detection value is corrected when there is attached matter, the correction value increases compared to when the second detection value is corrected when there is no attached matter. As a result, the first detection value when the stick-shaped substrate 150 is inserted decreases due to the increase in the correction value. On the other hand, the amount of light received when the stick-shaped substrate 150 is inserted tends to decrease as the amount of attached matter increases. This is because the light emitted to the stick-shaped substrate 150 or the light reflected from the stick-shaped substrate 150 is blocked by the attached matter. As a result, the first detection value when the stick-shaped substrate 150 is inserted decreases due to the effect of the attached matter blocking the light. In this way, when the second detection value is corrected when an object is attached, the first detection value when the stick-shaped substrate 150 is inserted drops significantly due to the increase in the correction value and the fact that the object blocks light. As a result, the presence of an object can be reliably determined by using the second threshold value, which is set to a value greater than the first threshold value.

[0115] Correction of the Threshold Values ​​Used to Determine the State of the Storage Unit 140 Next, correction of the first and second threshold values ​​used by the control unit 116 to determine the state of the storage unit 140 will be described. The intensity of the light emitted by the light-emitting unit 176 decreases over time. Furthermore, as the intensity of the light emitted by the light-emitting unit 176 decreases, the intensity of the reflected light detected by the light-receiving unit 177 decreases. Therefore, if the first and second threshold values ​​are used without taking into account the decrease in the intensity of the light emitted by the light-emitting unit 176, the control unit 116 may not be able to appropriately determine the state of the storage unit 140. For example, even if the stick-shaped substrate 150 is stored in the storage unit 140, the first detection value may fall below the first threshold value, and the control unit 116 may determine that the stick-shaped substrate 150 is not stored in the storage unit 140.

[0116] The control unit 116 corrects the first threshold value and the second threshold value. This configuration makes it possible to prevent the control unit 116 from erroneously determining the state of the accommodation unit 140 due to a decrease in the intensity of light emitted by the light-emitting unit 176. For example, the control unit 116 corrects the first threshold value and the second threshold value based on changes in the correction value over time. Specifically, the control unit 116 calculates the ratio of the second correction value to the difference between the first correction value, which is a correction value calculated in the past, and the second correction value, which is a correction value calculated recently, and performs the correction by multiplying the first threshold value and the second threshold value by the calculated ratio. The control unit 116 can correct the first threshold value and the second threshold value by storing the first correction value in the memory unit 114.

[0117] Specific examples of correction of the first threshold and the second threshold by the control unit 116 will now be described with reference to FIGS. 13 to 16. FIG. 13 is an explanatory diagram of a specific example of correction of the first threshold and the second threshold by the detection control unit 179. Here, a specific example will be described in which the detection reference value is "510." It is also assumed here that the pre-correction first threshold used to determine whether the stick-shaped substrate 150 is housed in the internal space 141 is "2200," and the pre-correction second threshold used to determine whether or not there is any attached matter on the housing unit 140 is "3350." It is also assumed here that the previously calculated first correction value is "450."

[0118] The left diagram of FIG. 13 is a diagram showing an example of a second detection value acquired when the stick-shaped substrate 150 is not housed in the internal space 141. The right diagram of FIG. 13 is a diagram showing an example in which the second detection value acquired when the stick-shaped substrate 150 is not housed in the internal space 141 is corrected to the detection reference value. The detection control unit 179 calculates a correction value so as to correct the second detection value acquired when the stick-shaped substrate 150 is not housed in the internal space 141 to 510, which matches the detection reference value. As shown in FIG. 13 , if the second detection value acquired when the stick-shaped substrate 150 is not housed in the internal space 141 is "800," the detection control unit 179 calculates "290," which is the difference between the second detection value "800" and the detection reference value "510," as the second correction value.

[0119] The control unit 116 reads the second correction value from the detection memory unit 178 and calculates the ratio of the second correction value to the first correction value stored in the memory unit 114. The control unit 116 corrects the first threshold value and the second threshold value by multiplying the calculated ratio, "0.64," by the threshold values. That is, the control unit 116 corrects the first threshold value to "1408" and the second threshold value to "2214," and updates the first threshold value and the second threshold value stored in the memory unit 114.

[0120] FIG. 14 will be used to explain a specific example of how the control unit 116 determines the state of the storage unit 140 when the light receiving unit 177 newly outputs "2560" as the second detection value after the control unit 116 updates the first and second threshold values, as explained using FIG. 13.

[0121] FIG. 14 is an explanatory diagram of a specific example of the control unit 116 determining the state of the storage unit 140 using the first detection value. Here, the detection control unit 179 subtracts the second correction value of "290" from the second detection value of "2560" to calculate "2270" as the first detection value. The control unit 116 reads out the first detection value from the detection memory unit 178 and compares it with the corrected first threshold value and the corrected second threshold value. Here, the first detection value is equal to or greater than the corrected first threshold value and the corrected second threshold value. Therefore, the control unit 116 determines that the stick-shaped substrate 150 is stored in the internal space 141 and that no matter is attached to the storage unit 140.

[0122] Fig. 15 is an explanatory diagram of a specific example of correction of the second detection value after correction of the first threshold value and the second threshold value described using Fig. 13. Here, a specific example will be described in which the detection reference value is "510", similar to the specific example described using Fig. 13. Also, here, as described using Fig. 13, the corrected first threshold value is "1408", and the corrected second threshold value is "2214".

[0123] The left diagram of FIG. 15 is a diagram showing an example of a second detection value acquired when the stick-shaped substrate 150 is not housed in the internal space 141. The right diagram of FIG. 15 is a diagram showing an example in which the second detection value acquired when the stick-shaped substrate 150 is not housed in the internal space 141 is corrected to the detection reference value. The detection control unit 179 calculates a correction value so as to correct the second detection value acquired when the stick-shaped substrate 150 is not housed in the internal space 141 to "510", which matches the detection reference value. As shown in FIG. 15, if the second detection value acquired when the stick-shaped substrate 150 is not housed in the internal space 141 is "900", the detection control unit 179 calculates "390", which is the difference value between the second detection value "900" and the detection reference value "510", as the correction value. The detection control unit 179 stores the calculated correction value in the detection storage unit 178.

[0124] FIG. 16 illustrates a specific example of how the control unit 116 determines the state of the storage unit 140 when the light receiving unit 177 newly outputs "2441" as the second detection value after the detection control unit 179 controls the process of storing the correction value, as explained using FIG. 15 .

[0125] FIG. 16 is an explanatory diagram of a specific example of the control unit 116 determining the state of the storage unit 140 using the first detection value. Here, the detection control unit 179 subtracts the correction value "390" from the second detection value "2441" to calculate "2051" as the first detection value. The control unit 116 reads out the first detection value from the detection memory unit 178 and compares it with the corrected first threshold and the corrected second threshold. Here, the first detection value is equal to or greater than the corrected first threshold and less than the corrected second threshold. Therefore, the control unit 116 determines that the stick-shaped substrate 150 is stored in the internal space 141 and that an attachment is attached to the storage unit 140.

[0126] Note that it is preferable that control unit 116 corrects the first threshold and the second threshold when the intensity of light emitted by light-emitting unit 176 decreases due to use. For example, control unit 116 may correct the first threshold and the second threshold when the number of times the correction values ​​have been calculated reaches a predetermined number. In this case, control unit 116 stores the number of times the correction values ​​have been calculated in storage unit 114 and updates the number each time a correction value is calculated.

[0127] Furthermore, the control unit 116 may correct the first threshold value and the second threshold value when the time during which the optical sensor unit 170 is in the operation mode reaches a predetermined time. In this case, the control unit 116 stores the time during which the optical sensor unit 170 is in the operation mode in the storage unit 114.

[0128] The correction value decreases as the intensity of light emitted by the light-emitting unit 176 decreases. Therefore, the control unit 116 may correct the first threshold value and the second threshold value when the correction value falls below a predetermined correction reference value. Here, the degree of adhesion of matter to the storage unit 140 is unknown when the correction value is calculated. Therefore, the control unit 116 may store the correction value in the memory unit 114 each time it calculates a correction value, select a predetermined number of the stored correction values ​​in the order of most recently stored, and calculate the average value of the selected correction values. Then, the control unit 116 may correct the first threshold value and the second threshold value when the average value falls below the predetermined correction reference value. Furthermore, the control unit 116 may correct the first threshold value and the second threshold value when the number of times the correction value falls below the predetermined correction reference value exceeds a certain number.

[0129] Although multiple conditions regarding the timing at which control unit 116 corrects the first threshold value and the second threshold value have been described, multiple conditions regarding the timing at which control unit 116 corrects the first threshold value and the second threshold value may be combined. For example, control unit 116 may correct the first threshold value and the second threshold value when the number of times the correction value has been calculated reaches a predetermined number and the correction value falls below a predetermined correction reference value.

[0130] In the above description, the second correction value used to correct the first threshold value and the second threshold value is calculated based on a single second detection value. However, since the amount of matter adhering to the storage unit 140 is unknown when the correction value is calculated, it is preferable to use the average value of multiple correction values ​​stored in the storage unit 114 as the second correction value used to correct the first threshold value and the second threshold value.

[0131] Furthermore, although the above description deals with an example in which the second detection value is greater than the detection reference value, the second detection value may be smaller than the detection reference value due to the influence of temperature, vibration, etc. In other words, the difference between the second detection value and the detection reference value may be a negative value.

[0132] 3. Operation of Suction Device Next, an example of the operation of the suction device 100 according to this embodiment will be described with reference to FIGS. 17 and 18. FIG.

[0133] 17 is a flowchart showing the operational control of the suction device 100 based on the detection results of the optical sensor unit 170. In this operational example, the first threshold value is a threshold value used to determine whether or not the stick-shaped substrate 150 is contained in the internal space 141, and the second threshold value is a threshold value used to determine whether or not there is any attached matter on the containing unit 140.

[0134] First, when reflected light is detected by the light receiving unit 177 of the optical sensor unit 170 (S104), the control unit 116 refers to a first detection value corresponding to the amount of received reflected light stored in the detection storage unit 178. If the first detection value is less than the first threshold value (S108 / No), the control unit 116 determines that no stick-shaped substrate 150 is stored in the storage unit 140 (S112) and ends the process. On the other hand, if the first detection value is equal to or greater than the first threshold value (S108 / Yes), the control unit 116 determines that a stick-shaped substrate 150 is stored in the storage unit 140 (S116).

[0135] Next, the control unit 116 determines whether the first detection value is equal to or greater than the second threshold value (S120). If the first detection value is equal to or greater than the second threshold value (S120 / Yes), the control unit 116 determines that no matter is attached to the storage unit 140 (S124). Then, the control unit 116 permits the heating unit 121 to heat the stick-shaped substrate 150 (S128).

[0136] On the other hand, if the first detection value is less than the second threshold value (S120 / No), the control unit 116 determines (S132) that a deposit is attached to the storage unit 140. Then, the control unit 116 prohibits the heating unit 121 from heating the stick-shaped substrate 150 (S136), and controls a process to prompt the user to clean the storage unit 140 (S140).

[0137] (3.2. Correction of Second Detection Value) FIG. 18 is a flowchart showing the flow of correction of the second detection value by the detection control unit 179. In this operation example, a case where the optical sensor unit 170 is in sleep mode will be described. First, the control unit 116 determines whether or not the sensor unit 112 has detected that the opening 142 has been opened. When the sensor unit 112 detects that the lid unit 14 has opened the opening 142 (S204 / Yes), the control unit 116 controls the optical sensor unit 170 to switch its mode to the operating mode (S208).

[0138] Next, the control unit 116 controls the processing by the detection control unit 179. The detection control unit 179 calculates the difference between the second detection value output from the light receiving unit 177 of the optical sensor unit 170 and the detection reference value (S212), and stores the difference value as a correction value in the detection storage unit 178 (S216).

[0139] On the other hand, if the sensor unit 112 does not detect that the opening 142 is opened by the lid unit 14 (S204 / No), the optical sensor unit 170 continues the sleep mode until the sensor unit 112 detects that the opening 142 is opened by the lid unit 14. <4. Supplementary Information>

[0140] Although the preferred embodiments of the present invention have been described in detail above with reference to the accompanying drawings, the present invention is not limited to these examples. It is clear that a person skilled in the art to which the present invention pertains can conceive of various modifications and alterations within the scope of the technical ideas set forth in the claims, and it is understood that these also naturally fall within the technical scope of the present invention.

[0141] For example, although examples have been described up to this point in which the first threshold value and the second threshold value are set regardless of the type of stick-shaped substrate 150, different first threshold values ​​and second threshold values ​​may be set depending on the type of stick-shaped substrate 150. In this case, the control unit 116 determines the type of stick-shaped substrate 150 stored in the storage unit 140. Then, the control unit 116 makes a determination regarding the state of the storage unit 140 using the first threshold value and second threshold value appropriate for the determined type of stick-shaped substrate 150.

[0142] Furthermore, up to this point, an example has been described in which the control unit 116 controls the switching of the mode of the optical sensor unit 170 or the correction of the second detection value when the sensor unit 112 detects the opening or closing of the opening 142 by the lid unit 14 or the connection or disconnection of charging to the power supply unit 111. However, the detection by the sensor unit 112 is not limited to this example.

[0143] For example, the sensor unit 112 may be a motion sensor that detects the user lifting the suction device 100. In this case, when the sensor unit 112 detects that the user has lifted the suction device 100, the control unit 116 may switch the mode of the optical sensor unit 170 to the operating mode. Furthermore, when the sensor unit 112 detects that the user has lifted the suction device 100, the control unit 116 may control correction of the second detection value. Furthermore, when the sensor unit 112 is a button, the control unit 116 may control each process in response to detection of the user pressing the button.

[0144] Furthermore, the timing for controlling the switching of the mode of the optical sensor unit 170 or the correction of the second detection value is not limited to the timing when the detection result is obtained by the sensor unit 112. For example, the control unit 116 may perform each process depending on the timing when heating by the heating unit 121 is completed. Furthermore, the control unit 116 may control each process when multiple conditions described above are satisfied. For example, the control unit 116 may switch the mode of the optical sensor unit 170 to the operating mode when the sensor unit 112 detects that the opening 142 of the lid unit 14 has been opened and that the charging of the power supply unit 111 has been released.

[0145] Furthermore, the series of processes performed by each device described in this specification may be realized using software, hardware, or a combination of software and hardware. The programs constituting the software may be stored in advance, for example, on a recording medium (non-transitory medium) provided inside or outside each device. Each program is then loaded into RAM when executed by a computer and executed by a processor such as a CPU. The recording medium may be, for example, a magnetic disk, an optical disk, a magneto-optical disk, or a flash memory. The computer program may also be distributed, for example, via a network, without using a recording medium.

[0146] Furthermore, the processes described herein using flowcharts and sequence diagrams do not necessarily have to be performed in the order shown. Some process steps may be performed in parallel. Furthermore, additional process steps may be employed, and some process steps may be omitted.

[0147] It should be noted that the following configurations also fall within the technical scope of the present invention. (1) A suction device comprising: a storage unit capable of storing a stick-shaped substrate in an internal space; a first detection unit that radiates light into the internal space and detects the received reflected light; a second detection unit that detects a user's action with respect to the suction device; a control unit that determines a state of the storage unit based on a first detection value corresponding to the intensity of the reflected light detected by the first detection unit; and a storage unit that stores a correction value used to calculate the first detection value by correcting the second detection value indicating the intensity of the reflected light detected by the first detection unit, wherein the control unit controls a process of calculating the correction value and storing it in the storage unit when a predetermined detection result is obtained by the second detection unit. (2) The suction device according to (1), wherein the correction value is a difference value between the second detection value output from the first detection unit and a predetermined detection reference value, and the first detection value is a value obtained by subtracting the correction value from the second detection value, and the control unit controls a process of calculating the first detection value when the predetermined detection result is obtained by the second detection unit. (3) The suction device according to (1) or (2), wherein the control unit controls the first detection unit to switch a mode between an operation mode in which the reflected light is detected and a sleep mode in which detection of the reflected light is stopped, depending on the detection result obtained by the second detection unit. (4) The suction device according to (3), wherein the suction device further includes a lid unit capable of opening and closing an opening communicating with the internal space of the storage unit, and the second detection unit detects opening and closing of the opening by the lid unit. (5) The suction device according to (4), wherein the control unit controls the mode of the first detection unit to switch to the operation mode when the second detection unit detects that the opening of the opening by the lid unit is opened, and controls the mode of the first detection unit to switch to the sleep mode when the second detection unit detects that the opening by the lid unit is closed. (6) The suction device according to (4) or (5), wherein the control unit controls processing to calculate the correction value when the second detection unit detects that the opening of the opening by the lid unit is opened.(7) The suction device according to (4) or (5), wherein, when the second detection unit detects that the opening is closed by the lid unit, the control unit controls a process of calculating the correction value and storing the calculated correction value in the storage unit, and when the mode of the first detection unit is switched to the operation mode after the storage, controls a process of correcting the second detection value using the correction value stored in the storage unit. (8) The suction device according to (3), further comprising a power supply unit that accumulates power, and the second detection unit detects connection and disconnection of charging to the power supply unit by the user. (9) The suction device according to (8), wherein, when the second detection unit detects disconnection of charging to the power supply unit, the control unit controls to switch the mode of the first detection unit to the operation mode, and when the second detection unit detects connection of charging to the power supply unit, the control unit controls to switch the mode of the first detection unit to the sleep mode. (10) The suction device according to (8) or (9), wherein the control unit calculates the correction value when the second detection unit detects that charging to the power supply unit is terminated. (11) The suction device according to (8) or (9), wherein the control unit, when the second detection unit detects that charging is connected to the power supply unit, controls a process of calculating the correction value and storing the calculated correction value in the memory unit, and, when the mode of the first detection unit is switched to the operation mode after the storage, controls a process of correcting the second detection value using the correction value stored in the memory unit. (12) The suction device according to any one of (1) to (11), wherein the control unit determines whether the stick-shaped substrate is contained in the internal space based on the first detection value. (13) The suction device according to any one of (1) to (11), wherein the control unit determines whether the stick-shaped substrate is contained in the storage unit based on the first detection value. (14) The suction device according to any one of (1) to (13), wherein the control unit determines a state of the storage unit based on the first detection value and a predetermined threshold value, and corrects the threshold value based on a change in the correction value over time.(15) A control method for a suction device comprising: a storage unit capable of storing a stick-shaped substrate in an internal space; a first detection unit that emits light into the internal space and detects the received reflected light; a second detection unit that detects a user's action with respect to the suction device; and a memory unit that stores a correction value used to correct a second detection value indicating the intensity of the reflected light detected by the first detection unit and calculate a first detection value corresponding to the intensity of the reflected light detected by the first detection unit, the control method being executed by a computer, the control method including: making a determination regarding a state of the storage unit based on the first detection value; and controlling a process of calculating the correction value and storing it in the memory unit when a predetermined detection result is obtained by the second detection unit.

[0148] 100 Suction device 14 Lid 111 Power supply 112 Sensor 113 Notification unit 114 Memory unit 115 Communication unit 116 Control unit 121 Heating unit 140 Storage unit 140A Stick lower storage unit 140B Guide unit 141 Internal space 142 Opening 150 Stick-shaped substrate 170 Optical sensor unit 172 Circuit board 173 Light transmission filter 174 Reinforcing plate 175 Clearance 176 Light-emitting unit 177 Light-receiving unit 178 Detection storage unit 179 Detection control unit

Claims

1. 1. A suction device comprising: A storage unit capable of storing the stick-shaped substrate in an internal space thereof; A first detection unit that emits light into the internal space and detects received reflected light; A second detection unit that detects a user's action with respect to the suction device; a control unit that determines a state of the container unit based on a first detection value corresponding to the intensity of the reflected light detected by the first detection unit; a storage unit that stores a correction value used to correct a second detection value indicating an intensity of the reflected light detected by the first detection unit and calculate the first detection value; Equipped with The control unit controls a process of calculating the correction value and storing the correction value in the storage unit when a predetermined detection result is obtained by the second detection unit. Suction device.

2. the correction value is a difference value between the second detection value output from the first detection unit and a predetermined detection reference value, the first detection value is a value obtained by subtracting the correction value from the second detection value, The control unit controls a process of calculating the first detection value when a predetermined detection result is obtained by the second detection unit.

2. The suction device of claim 1.

3. 2. The suction device according to claim 1, wherein the control unit controls the mode of the first detection unit to switch between an operation mode in which the reflected light is detected and a sleep mode in which the detection of the reflected light is stopped, depending on the detection result obtained by the second detection unit.

4. The suction device further includes a cover portion capable of opening and closing an opening communicating with the internal space of the storage portion, The second detection unit detects opening and closing of the opening by the lid unit.

4. The suction device according to claim 3.

5. 5. The suction device according to claim 4, wherein the control unit controls the mode of the first detection unit to switch to the operation mode when the second detection unit detects that the opening of the opening by the lid unit is opened, and controls the mode of the first detection unit to switch to the sleep mode when the second detection unit detects that the opening is closed by the lid unit.

6. The suction device according to claim 4 , wherein the control unit controls a process of calculating the correction value when the second detection unit detects that the lid has opened the opening.

7. The control unit, when the second detection unit detects that the opening has been closed by the lid unit, controls a process of calculating the correction value and storing the calculated correction value in the storage unit, and when the mode of the first detection unit is switched to the operation mode after the storage, controls a process of correcting the second detection value using the correction value stored in the storage unit.

6. A suction device according to claim 4 or 5.

8. The suction device further includes a power supply unit that stores power, The second detection unit detects connection and disconnection of charging to the power supply unit by the user.

4. The suction device according to claim 3.

9. 9. The suction device according to claim 8, wherein the control unit switches a mode of the first detection unit to the operation mode when the second detection unit detects that charging of the power supply unit is disconnected, and controls the control unit to switch a mode of the first detection unit to the sleep mode when the second detection unit detects that charging of the power supply unit is connected.

10. The suction device according to claim 8 , wherein the control unit calculates the correction value when the second detection unit detects that charging of the power supply unit is stopped.

11. When the second detection unit detects a connection for charging to the power supply unit, the control unit controls a process of calculating the correction value and storing the calculated correction value in the storage unit, and when the mode of the first detection unit is switched to the operation mode after the storage, controls a process of correcting the second detection value using the correction value stored in the storage unit.

10. A suction device according to claim 8 or 9.

12. The suction device according to claim 1 , wherein the control unit determines whether or not the stick-shaped substrate is contained in the internal space based on the first detection value.

13. The suction device according to claim 1 , wherein the control unit makes a determination regarding the matter adhering to the container unit based on the first detection value.

14. The suction device according to claim 1 , wherein the control unit determines a state of the container based on the first detection value and a predetermined threshold value, and corrects the threshold value based on a change over time of the correction value.

15. A method for controlling a suction device, comprising: A storage unit capable of storing the stick-shaped substrate in an internal space thereof; A first detection unit that emits light into the internal space and detects received reflected light; A second detection unit that detects a user's action with respect to the suction device; a storage unit that stores a correction value used to correct a second detection value indicating an intensity of the reflected light detected by the first detection unit and calculate a first detection value corresponding to the intensity of the reflected light detected by the first detection unit; A method for controlling a suction device comprising: making a determination regarding a state of the storage unit based on the first detection value; When a predetermined detection result is obtained by the second detection unit, controlling a process of calculating the correction value and storing the correction value in the storage unit; A control method implemented by a computer, comprising: