Suction device and control method
By using light detection technology and user action detection in the attraction device, combined with correction value calculation, the problem of insufficient state judgment accuracy of the storage unit in the prior art is solved, and higher accuracy of motion control and user experience are achieved.
Patent Information
- Application Number
- CN202280098100.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-14
- Publication Date
- 2025-02-28
AI Technical Summary
When the existing suction device determines the state of the storage unit, the accuracy of the operation control is insufficient, which affects the accuracy of the operation control.
By adopting the light detection technology, light is emitted into the internal space through the first detection unit and the intensity of reflected light is detected, combined with the second detection unit to detect the user's action and the opening and closing state of the cover part, and the correction value is calculated by the control unit and the storage unit to improve the judgment accuracy.
High-precision judgment of the state of the storage unit is realized, the accuracy of the operation control of the suction device is improved, and the user experience is improved.
Smart Images

Figure CN119546202A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to a suction device and a control method. Background Art
[0002] Suction devices such as electronic cigarettes and nebulizers that generate substances to be inhaled by users are becoming widely popular. For example, the suction device uses a base material including an aerosol source for generating aerosol and a flavor source for imparting a flavor component to the generated aerosol to generate an aerosol imparted with a flavor component. The user can enjoy the flavor by inhaling the aerosol imparted with a flavor component generated by the suction device.
[0003] Various technologies are being developed to further improve the quality of user experience when using such suction devices. For example, Patent Document 1 below discloses a technology that radiates light, detects phosphorescence properties of reflected light, and controls the operation of the suction device based on the detection result.
[0004] Prior art literature
[0005] Patent Literature
[0006] Patent Document 1: Japanese Patent Application No. 2019-528710 Summary of the invention
[0007] Problems to be solved by the invention
[0008] The user can use the suction device by accommodating the rod-shaped substrate including the aerosol source in the accommodating portion. Therefore, the suction device can appropriately control the operation of the suction device by determining the state of the accommodating portion. Therefore, it is required to improve the accuracy of determining the state of the accommodating portion.
[0009] Therefore, the present invention has been made in view of the above-mentioned problems, and an object of the present invention is to provide a novel and improved suction device and control method capable of determining the state of a storage unit with high accuracy.
[0010] Means for solving problems
[0011] In order to solve the above-mentioned problems, according to a certain aspect of the present invention, there is provided a suction device, which comprises: a receiving portion capable of receiving a rod-shaped substrate in an internal space; a first detection portion radiating light to the internal space and detecting the received reflected light; a second detection portion detecting the user's movement relative to the suction device; a control portion making a judgment related to the state of the receiving portion based on a first detection value corresponding to the intensity of the reflected light detected by the first detection portion; and a storage portion storing 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 portion, wherein the control portion controls the calculation of the correction value and causes the storage portion to store the correction value when a specified detection result is obtained by the second detection unit.
[0012] It may also be that the correction value is a difference value between the second detection value output from the first detection unit and a specified detection reference value, the first detection value is a value obtained by subtracting the correction value from the second detection value, and the control unit controls the process of calculating the first detection value when a specified detection result is obtained by the second detection unit.
[0013] The control unit may perform control to switch a mode of the first detection unit to an operation mode for detecting the reflected light or a sleep mode for stopping the detection of the reflected light, based on a detection result obtained by the second detection unit.
[0014] The suction device may further include a cover portion capable of opening and closing an opening communicating with the internal space of the storage portion, and the second detection portion may detect opening and closing of the opening by the cover portion.
[0015] Alternatively, when the second detection unit detects the opening of the opening by the cover unit, the control unit controls the mode of the first detection unit to be switched to the action mode, and when the second detection unit detects the closing of the opening by the cover unit, the control unit controls the mode of the first detection unit to be switched to the sleep mode.
[0016] The control unit may control a process of calculating the correction value when the second detection unit detects opening of the opening by the cover unit.
[0017] Alternatively, when the second detection unit detects the closing of the opening by the cover unit, the control unit controls the process of calculating the correction value and causing the storage unit to store the calculated correction value, and when the mode of the first detection unit is switched to the action mode after the storage, the control unit controls the process of correcting the second detection value using the correction value stored in the storage unit.
[0018] The attraction device may further include a power supply unit that stores electric power, and the second detection unit may detect connection and release of charging of the power supply unit by the user.
[0019] Alternatively, the control unit may control so that when the second detection unit detects that the charging of the power supply unit is released, the mode of the first detection unit is switched to the action mode, and when the second detection unit detects that the charging of the power supply unit is connected, the mode of the first detection unit is switched to the sleep mode.
[0020] The control unit may calculate the correction value when the second detection unit detects that charging of the power supply unit has been terminated.
[0021] Alternatively, if the second detection unit detects the connection of the charging to the power supply unit, the control unit controls the process of calculating the correction value and causing the storage unit to store the calculated correction value, and when the mode of the first detection unit is switched to the action mode after the storage, the control unit controls the process of correcting the second detection value using the correction value stored in the storage unit.
[0022] The control unit may determine whether the rod-shaped base material is accommodated in the internal space based on the first detection value.
[0023] The control unit may make a determination regarding the attached matter attached to the storage unit based on the first detection value.
[0024] The control unit may make a determination regarding the state of the storage unit based on the first detection value and a predetermined threshold value, and correct the threshold value based on a temporal change in the correction value.
[0025] In order to solve the above-mentioned problems, according to another aspect of the present invention, a control method is provided, which is a control method of an attraction device executed by a computer, wherein the attraction device comprises: a receiving portion capable of receiving a rod-shaped substrate in an internal space; a first detection portion radiating light to the internal space and detecting the received reflected light; a second detection portion detecting the user's movement relative to the attraction device; and a storage portion storing a correction value, the correction value being used to correct a second detection value representing the intensity of the reflected light detected by the first detection portion to calculate the first detection value, the first detection value corresponding to the intensity of the reflected light detected by the first detection portion, the control method comprising: making a judgment related to the state of the receiving portion based on the first detection value; and controlling the processing of calculating the correction value and storing it in the storage portion when a specified detection result is obtained by the second detection portion.
[0026] Effects of the Invention
[0027] As described above, according to the present invention, the state of the storage unit can be determined with high accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] Figure 1 It is a schematic diagram schematically showing an example of the internal structure of the suction device.
[0029] Figure 2 It is an overall perspective view of the suction device 100 according to the present embodiment.
[0030] Figure 3 It is an overall perspective view of the suction device 100 according to the present embodiment in a state where the rod-shaped substrate 150 is held.
[0031] Figure 4 1 is a schematic diagram showing the structure of the vicinity of the storage portion 140 of the suction device 100 according to the present embodiment and the structure of the rod-shaped base material 150 .
[0032] Figure 5 1 is a schematic diagram showing in detail the structure of the vicinity of the storage portion 140 of the suction device 100 according to the present embodiment.
[0033] Figure 6 This is a schematic diagram of the housing portion 140 of the suction device 100 according to the present embodiment as viewed from the opening 142 side.
[0034] Figure 7 It is a block diagram showing a functional configuration related to detection by the optical sensor unit 170 in the suction device 100 according to the present embodiment.
[0035] Figure 8 1 is a diagram showing a specific example of detection by the optical sensor unit 170 .
[0036] Fig. 9 This is an explanatory diagram of a specific example of correction of the second detection value by the detection control unit 179 .
[0037] Fig.10 This 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.
[0038] Fig.11 This is an explanatory diagram of a specific example of correction of the second detection value by the detection control unit 179 .
[0039] Fig.12 This 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.
[0040] Fig.13 This 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 .
[0041] Fig.14 This 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.
[0042] Fig.15 is used Fig.13 FIG. 1 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.
[0043] Fig.16 This 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.
[0044] Fig.17 1 is a flowchart showing the operation control of the suction device 100 based on the detection result of the optical sensor unit 170 .
[0045] Fig.18 1 is a flowchart showing the flow of correction of the second detection value by the detection control unit 179 . DETAILED DESCRIPTION
[0046] Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. In addition, in the present specification and the accompanying drawings, components having substantially the same functional configuration are given the same reference numerals to omit repeated descriptions.
[0047] <1. Example of the structure of the suction device>
[0048] (1) Internal structure example
[0049] Figure 1 Schematic diagram schematically showing an example of the internal structure of the suction device. Figure 1 As shown, the suction device 100 involved in this structural 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 insulation unit 144.
[0050] The power supply unit 111 stores electric power. Furthermore, the power supply unit 111 supplies electric power to each component of the suction device 100 based on the control of the control unit 116. The power supply unit 111 can be composed of a rechargeable battery such as a lithium ion secondary battery, for example.
[0051] The sensor unit 112 obtains various information related to the suction device 100. As an example, the sensor unit 112 is composed of a pressure sensor such as a condenser microphone, a flow sensor, or a temperature sensor, and obtains a value accompanying the suction performed by the user. As another example, the sensor unit 112 is composed of an input device such as a button or a switch that accepts input of information from the user. In addition, the sensor unit 112 can also detect the user's actions. For example, the sensor unit 112 can also detect the connection and release of charging of the power supply unit 111 by the user. The sensor unit 112 can also detect the opening and closing of the opening 142 based on the cover 14.
[0052] The notification unit 113 notifies the user of information and 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.
[0053] The storage unit 114 stores various information used for the operation of the suction device 100. The storage unit 114 is composed of a non-volatile storage medium such as a flash memory, for example.
[0054] The communication unit 115 is a communication interface capable of performing communication conforming to any wired or wireless communication standard. As the communication standard involved, for example, a standard using Wi-Fi (registered trademark), Bluetooth (registered trademark), BLE (Bluetooth Low Energy) (registered trademark), NFC (Near Field Communication), or LPWA (Low Power Wide Area) can be adopted.
[0055] The control unit 116 functions as a calculation processing device and a control device, and controls the entire operation in the suction device 100 according to various programs. The control unit 116 is implemented by an electronic circuit such as a CPU (Central Processing Unit) or a microprocessor, for example.
[0056] The housing portion 140 has an internal space 141, and holds the rod-shaped substrate 150 while accommodating a part of the rod-shaped substrate 150 in the internal space 141. The housing portion 140 has an opening 142 that communicates the internal space 141 with the outside, and accommodates the rod-shaped substrate 150 inserted into the internal space 141 from the opening 142. For example, the housing portion 140 is a cylindrical body with the opening 142 and the bottom 143 as the bottom surface, and defines the columnar internal space 141. The housing portion 140 is connected to an air flow path that supplies air to the internal space 141. An air inlet hole that is an inlet of air to the air flow path is, for example, arranged on the side of the suction device 100. An air outlet hole that is an outlet of air from the air flow path to the internal space 141 is, for example, arranged on the bottom 143.
[0057] The rod-shaped substrate 150 includes a substrate portion 151 and a mouthpiece 152. The substrate portion 151 includes an aerosol source. The aerosol source includes a flavor component derived from tobacco or not derived from tobacco. In the case where the suction device 100 is a medical inhaler such as a nebulizer, the aerosol source may also include a drug. The aerosol source may be, for example, a polyol such as glycerin and propylene glycol and a liquid such as water that includes a flavor component derived from tobacco or not derived from tobacco, or a solid that includes a flavor component derived from tobacco or not derived from tobacco. When the rod-shaped substrate 150 is held in the housing portion 140, at least a portion of the substrate portion 151 is accommodated in the internal space 141, and at least a portion of the mouthpiece 152 protrudes from the opening 142. Furthermore, if the user holds the mouthpiece 152 protruding from the opening 142 to inhale, air flows into the internal space 141 via an air flow path not shown, and reaches the user's mouth together with the aerosol generated from the substrate portion 151.
[0058] The heating unit 121 heats the aerosol source to atomize the aerosol source and generate aerosol. Figure 1 In the example shown, the heating portion 121 is configured in a film shape and is arranged to cover the periphery of the holding portion 140. Furthermore, when the heating portion 121 generates heat, the base portion 151 of the rod-shaped base 150 is heated from the periphery to generate aerosol. The heating portion 121 generates heat when power is supplied from the power supply portion 111. As an example, power may be supplied when the sensor portion 112 detects that the user has started suction and / or that predetermined information has been input. Furthermore, power supply may be stopped when the sensor portion 112 detects that the user has finished suction and / or that predetermined information has been input.
[0059] The heat insulating part 144 prevents heat conduction from the heating part 121 to other components. For example, the heat insulating part 144 is made of a vacuum heat insulating material or an aerogel heat insulating material.
[0060] The above is a description of a configuration example of the suction device 100. Of course, the suction device 100 is not limited to the above, and various configurations as exemplified below may be adopted.
[0061] As an example, the heating portion 121 may be configured in a blade shape and arranged to protrude from the bottom 143 of the receiving portion 140 to the internal space 141. In this case, the blade-shaped heating portion 121 is inserted into the base portion 151 of the rod-shaped base 150, and heats the base portion 151 of the rod-shaped base 150 from the inside. As another example, the heating portion 121 may be arranged to cover the bottom 143 of the receiving portion 140. In addition, the heating portion 121 may be configured as a combination of two or more of a first heating portion covering the periphery of the receiving portion 140, a blade-shaped second heating portion, and a third heating portion covering the bottom 143 of the receiving portion 140.
[0062] As another example, the housing 140 may include an opening and closing mechanism such as a hinge that opens and closes a portion of the outer shell that forms the internal space 141. Furthermore, the housing 140 may open and close the outer shell to hold and hold the rod-shaped substrate 150 inserted into the internal space 141. In this case, the heating unit 121 may be provided at the holding portion of the housing 140 to heat the rod-shaped substrate 150 while pressing it.
[0063] In addition, the method of atomizing the aerosol source is not limited to the heating by the heating unit 121. For example, the method of atomizing the aerosol source may be induction heating.
[0064] In addition, it can also be understood that the suction device 100 and the rod-shaped substrate 150 cooperate to generate aerosol to form an aerosol generating system. Alternatively, the suction device 100 can also be understood to include the rod-shaped substrate 150.
[0065] (2) Example of appearance structure
[0066] Figure 2 It is an overall perspective view of the suction device 100 according to the present embodiment. Figure 3 It is an overall perspective view of the suction device 100 according to the present embodiment in a state where the rod-shaped substrate 150 is held.
[0067] like Figure 2 as well as Figure 3As shown, the suction device 100 includes a top housing 11A, a bottom housing 11B, a cover 12, a switch 13, a cover 14, a vent 15, and a cover 16. The top housing 11A and the bottom housing 11B are connected to each other to form an outermost outer housing 11 of the suction device 100. The outer housing 11 is of a size that can be accommodated in the hand of the user. When the user uses the suction device 100, the user can hold the suction device 100 with his hand to inhale the fragrance.
[0068] The top housing 11A has an opening (not shown), and the cover 12 is coupled to the top housing 11A in a manner to close the opening. Figure 3 As shown, the cover 12 has an opening 142 into which the rod-shaped substrate 150 can be inserted. The lid 14 is configured to open and close the opening 142 of the cover 12.
[0069] The switch 13 is used to switch the action of the suction device 100 on or off. Figure 3 As shown in the figure, the switch 13 is operated in the state where the rod-shaped substrate 150 is inserted from the opening 142 into the internal space 141, so that the power supply unit 111 supplies power to the heating unit 121, and the rod-shaped substrate 150 can be heated without burning. When the rod-shaped substrate 150 is heated, an aerosol is generated from the aerosol source included in the rod-shaped substrate 150, and the fragrance of the fragrance source is added to the aerosol. The user sucks the portion of the rod-shaped substrate 150 protruding from the suction device 100 ( Figure 3 The portion shown in the figure, namely the mouthpiece 152), can absorb the aerosol containing the fragrance.
[0070] The vent 15 is a vent for introducing air into the internal space 141. The air sucked into the interior of the suction device 100 from the vent 15 is introduced into the internal space 141, for example, from the bottom 143 of the storage portion 140. The cover 16 is detachably formed on the bottom shell 11B. By attaching the cover 16 to the bottom shell 11B, the vent 15 is formed between the bottom shell 11B and the cover 16. The cover 16 may have, for example, a through hole or a cutout, which is not shown.
[0071] <2. Technical features>
[0072] (1) External structure of the suction device
[0073] Figure 4 Schematic diagram showing the structure of the vicinity of the storage unit 140 and the structure of the rod-shaped substrate 150 of the suction device 100 according to the present embodiment. Figure 4 , a state where the rod-shaped substrate 150 is accommodated in the accommodating portion 140 is schematically shown. Figure 4 As shown, the suction device 100 includes a cover portion 14 , a rod lower portion storage portion 140A, a guide portion 140B, an internal space 141 , an opening 142 , a bottom portion 143 , a light sensor portion 170 , and a circuit board 172 .
[0074] The rod lower portion storage part 140A is a bottomed cylindrical body constituting a portion of the storage part 140 on the bottom 143 side. The rod lower portion storage part 140A stores a portion of the rod-shaped substrate 150 inserted into the internal space 141 from the opening 142 on the bottom 143 side.
[0075] The guide portion 140B is a cylindrical body with both ends open and constituting a part of the opening 142 side of the housing portion 140. The guide portion 140B is a part of the rod-shaped substrate 150 inserted from the opening 142 into the internal space 141, which is accommodated in the housing portion 140 and is not accommodated in the rod lower housing portion 140A. Furthermore, the guide portion 140B functions as a guide for facilitating the insertion of the rod-shaped substrate 150 into the rod lower housing portion 140A. For example, the guide portion 140B may be configured with a larger diameter than the rod lower housing 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 rod lower housing portion 140A.
[0076] The optical sensor unit 170 is an example of a first detection unit in this embodiment that radiates light to the internal space 141 and detects the received reflected light. The optical sensor unit 170 is, for example, an IC (Integrated Circuit) equipped with an infrared proximity sensor. In this case, the optical sensor unit 170 radiates infrared light to the internal space 141 and detects infrared light reflected by an object contained in the internal space 141 or an inner wall of the containing unit 140 or other detected object.
[0077] The optical sensor unit 170 is arranged at a location where light can be radiated to the internal space 141. For example, the optical sensor unit 170 is arranged in the guide unit 140B. Specifically, the optical sensor unit 170 is embedded in the guide unit 140B. In addition, the optical sensor unit 170 detects light reflected by a detected object such as an object accommodated in the internal space 141 or an inner wall of the guide unit 140B.
[0078] Here, the heating unit 121 is arranged to cover the periphery of the rod lower housing portion 140A. On the other hand, the heating unit 121 is not arranged on the periphery of the guide portion 140B. Furthermore, the guide portion 140B can be composed of a material having a lower thermal conductivity than the material constituting the rod lower housing portion 140A. Therefore, by arranging the optical sensor unit 170 in the guide portion 140B, the optical sensor unit 170 can perform detection based on light without being affected by the heating of the rod-shaped substrate 150.
[0079] In addition, 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 light emitted from the optical sensor portion 170 .
[0080] The circuit board 172 is a base on which the optical sensor unit 170 is mounted. The circuit board 172 is, for example, an FPC (Flexible Printed Circuits) circuit. The circuit board 172 is connected to the control unit 116 via, for example, a connector or solder.
[0081] Figure 5 1 is a schematic diagram showing in detail the structure of the vicinity of the receiving portion 140 of the suction device 100 according to the present embodiment. Figure 5 As shown, the suction device 100 also includes a filter (translucent filter) 173 and a reinforcing plate 174. The filter 173 is a filter that transmits the light emitted by the optical sensor unit 170. The filter 173 is, for example, an infrared translucent filter (transparent infrared filter) when the optical sensor unit 170 is an infrared proximity sensor. The material of the filter 173 is not particularly limited, and it can be resin or glass, or a transparent resin can be subjected to a translucent coating. The filter 173 can also be colored. By making the filter 173 colored, the optical sensor unit 170 can be hidden in appearance. In addition, according to the filter 173, it is possible to maintain sealing so that sidestream smoke flowing in from the outside of the rod does not contact the optical sensor unit 170.
[0082] The reinforcing plate 174 is a structure for reinforcing the optical sensor unit 170 and the circuit board 172. The clearance 175 is a gap provided between the rod-shaped substrate 150 and the optical filter 173. The clearance 175 may be provided so that the distance between the rod-shaped substrate 150 and the optical filter 173 is 1 to 2 mm.
[0083] Figure 6 14 is a schematic diagram of the receiving portion 140 of the suction device 100 according to the present embodiment as viewed from the opening 142 side. Figure 6 As shown, the optical sensor unit 170 is arranged in the guide portion 140B. A plurality of optical sensor units 170 may be arranged so as to detect the internal space 141 from a plurality of angles. By arranging a plurality of optical sensor units 170, the state of the receiving portion 140 can be determined with higher accuracy. For example, even if dirt is attached to a part of the receiving portion 140 and one optical sensor unit 170 is arranged at a position where the dirt cannot be detected, the dirt can be detected by other optical sensor units 170.
[0084] Furthermore, when the plurality of light sensor units 170 are arranged to face each other, crosstalk may occur when the light sensor unit 170 detects light emitted from the facing light sensor unit 170. Therefore, the plurality of light sensor units 170 are preferably arranged so as not to face each other.
[0085] (2) Internal structure of the suction device
[0086] Next, refer to Figure 7 , a functional structure related to detection by the optical sensor unit 170 of the suction device 100 involved in this embodiment is described. Figure 7 It is a block diagram showing a functional configuration related to detection by the optical sensor unit 170 in the suction device 100 according to the present embodiment.
[0087] like Figure 7 As shown, the suction device 100 includes a control unit 116 and a light sensor unit 170. The light 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 radiates light to the internal space 141. The light emitting unit 176 is composed of light emitting elements such as LD (Laser Diode) or LED (Light Emitting Diode). In this embodiment, the light emitting unit 176 is an infrared LD that radiates infrared rays. The infrared rays radiated by the light emitting unit 176 can be VCSEL (Vertical Cavity Surface Emitting Laser). The light receiving unit 177 detects the reflected light of the light radiated by the light emitting unit 176.
[0088] 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 for calculating a corrected detection value corresponding to the amount of light received by the light receiving unit 177. Specifically, the detection control unit 179 calculates a corrected detection value (corresponding to the first detection value) by correcting the pre-correction detection value (corresponding to the second detection value) indicating the amount of light received by the reflected light detected by the light receiving unit 177. The correction process will be described in detail later. In addition, the detection control unit 179 stores the first detection value in the detection storage unit 178 described later.
[0089] In addition, the detection control unit 179 controls the operation cycle and the length of the intermittent operation time. Figure 8 , explain the action cycle and intermittent action time. Figure 8 1 is a diagram showing a specific example of detection by the optical sensor unit 170 . Figure 8The horizontal axis and vertical axis of represent the elapsed time from the start of detection by the optical sensor unit 170 and the intensity of light emitted by the light emitting unit 176, respectively. Figure 8 As shown, the light emitting unit 176 performs pulse light emission at a certain period. This period is called an action period. Moreover, after the light emitting unit 176 performs pulse light emission, the detection control unit 179 performs processing related to the detected reflected light. The time for performing this processing is called processing time. After the processing time, a time is set until pulse light emission is performed again. This time is called intermittent action time.
[0090] Back to Figure 7 As described above, the detection control unit 179 controls the intensity of infrared light emitted by the light emitting unit 176 by controlling the current value applied to the light emitting unit 176, namely, the LD current value.
[0091] Furthermore, when the first detection value is larger than the notification threshold stored in the detection storage unit 178 , the detection control unit 179 issues an interrupt notification indicating that the first detection value is larger than the notification threshold to the control unit 116 .
[0092] Here, refer to Figure 8 , a specific example of detection based on the optical sensor unit 170 is described. Figure 8 As shown, the detection control unit 179 performs processing related to the detected reflected light after causing the light emitting unit 176 to emit pulsed light a certain number of times. The detection control unit 179 performs processing related to the detected reflected light, for example, to correct the second detection value and calculate the first detection value. In addition, the detection control unit 179 performs processing to calculate the distance from the light sensor unit 170 to the detected object that radiated light. During the intermittent operation time after the processing time has passed, the detection control unit 179 controls the light emitting unit 176 so that it does not radiate light. After the intermittent operation time has passed, the detection control unit 179 controls the light emitting unit 176 so that it radiates light again.
[0093] In addition, Figure 8 , an example is shown in which the number of pulsed light emission by the light emitting unit 176 is three times, but the number of pulsed light emission is not particularly limited. In addition, when the number of pulsed light emission by the light emitting unit 176 is multiple times, the detection control unit 179 can use the multiple detection results by the light receiving unit 177 for processing, or can use a part of the multiple detection results by the light receiving unit 177 for processing.
[0094] Back to Figure 7As described above, the detection storage unit 178 stores programs and various data executed by the detection control unit 179. The detection storage unit 178 is an example of a storage unit in the present embodiment. The detection storage unit 178 is implemented by a register, for example. The detection storage unit 178 stores various set values such as the action cycle of the pulsed light emission of infrared rays, the intermittent action time, the notification threshold, and the LD current value, which are used when the detection control unit 179 is controlled. In addition, the detection storage unit 178 stores the first detection value and the correction value. The correction value is a value used to calculate the first detection value based on the second detection value.
[0095] The control unit 116 communicates with the detection control unit 179 . The control unit 116 and the detection control unit 179 communicate with each other through 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 through the detection control unit 179 .
[0096] The control unit 116 controls to switch the mode of the optical sensor unit 170 to an action mode for detecting reflected light or a sleep mode for stopping the detection of reflected light. Specifically, in the sleep mode, the control unit 116 controls the light emitting unit 176 to stop emitting light, and controls the light receiving unit 177 to stop detecting reflected light. In addition, in the action mode, the control unit 116 controls the light emitting unit 176 to emit light, and controls 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, power consumption can be reduced compared to the case where the detection of reflected light by the optical sensor unit 170 is always performed.
[0097] In addition, the control unit 116 stores various setting values used in the control based on the detection control unit 179 in the detection storage unit 178. Here, the detection storage unit 178 can be composed of a volatile storage medium or a non-volatile storage medium. In the case where the detection storage unit 178 is composed of a non-volatile storage medium, when the power supply to the optical sensor unit 170 is interrupted and then the power supply is resumed, the various setting values stored in the detection storage unit 178 are initialized. In the case where the various setting values are initialized, the control unit 116 may store the various setting values before the initialization in the detection storage unit 178 again.
[0098] In addition, the control unit 116 may control to enter the power-off mode in which the power supply to the optical sensor unit 170 is stopped, instead of the sleep mode. In the case where the detection storage unit 178 is composed of a volatile storage medium, when the control is performed in this way, when the mode of the optical sensor unit 170 is switched from the power-off mode to the operation mode, the control unit 116 stores various setting values before initialization in the detection storage unit 178 again. In addition, in the sleep mode, the control unit 116 may control to maintain the power supply to the detection storage unit 178 provided in the optical sensor unit 170. Thus, in the case where the detection storage unit 178 is composed of a volatile storage medium, it is no longer necessary to store various setting values before initialization in the detection storage unit 178 again every time the sleep mode is switched to the operation mode. In addition, in the sleep mode, the control unit 116 may control to maintain the power supply only to a part of the memory of the detection storage unit 178 provided in the optical sensor unit 170.
[0099] In addition, the control unit 116 reads various data such as the amount of reflected light detected by the light receiving unit 177 stored in the detection storage unit 178. Based on the first detection value, the control unit 116 performs a determination related to the state of the storage unit 140 and controls each component of the suction device 100, which will be described in detail later. In addition, the control unit 116 receives an interruption notification from the optical sensor unit 170.
[0100] (3) Determination of the state of the storage unit 140 based on the detection result of the optical sensor unit 170
[0101] Next, the determination of the state of the storage unit 140 based on the first detection value by the control unit 116 will be described in detail. The control unit 116 refers to the first detection value stored in the detection storage unit 178 and determines the state of the storage unit 140 based on the first detection value.
[0102] The control unit 116 may also determine whether the rod-shaped substrate 150 is accommodated in the internal space 141 based on the first detection value. For example, the control unit 116 compares the first detection value with a predetermined first threshold value to determine whether the rod-shaped substrate 150 is accommodated in the internal space 141. In addition, the control unit 116 refers to the first threshold value pre-stored in the storage unit 114.
[0103] Generally, the outer surface of the rod-shaped substrate 150 is white, and the inner wall of the guide portion 140B in this embodiment is black. Therefore, it is assumed that the amount of light received by the light reflected on the outer surface of the rod-shaped substrate 150 among the light emitted from the light emitting portion 176 is larger than the amount of light received by the light reflected on the inner wall of the guide portion 140B. Of course, the color of the outer surface of the rod-shaped substrate 150 and the color of 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 rod-shaped substrate 150 and the color of the inner wall of the guide portion 140B may be the same. The closer the object to be detected is to the optical sensor portion 170, the greater the amount of light received when detecting the object of the same color. Therefore, even if the rod-shaped substrate 150 and the inner wall of the guide portion 140B are the same color, the amount of light received by the light reflected on the outer surface of the rod-shaped substrate 150 among the light emitted from the light emitting portion 176 is larger than the amount of light received by the light reflected on the inner wall of the guide portion 140B.
[0104] Therefore, the first threshold value is set to a value that is smaller than the first detection value when the rod-shaped substrate 150 is accommodated in the internal space 141 and larger than the first detection value when nothing is accommodated in the rod-shaped substrate 150. In this case, the control unit 116 can appropriately determine whether the rod-shaped substrate 150 is accommodated in the internal space 141 by comparing the first detection value and the first threshold value. Specifically, when the first detection value is greater than the first threshold value, the control unit 116 determines that the rod-shaped substrate 150 is accommodated in the internal space 141. In addition, when the first detection value is less than the first threshold value, the control unit 116 determines that the rod-shaped substrate 150 is not accommodated in the internal space 141.
[0105] The control unit 116 may also make a determination related to the attachment attached to the receiving unit 140 based on the first detection value. The control unit 116 may also make a determination related to the attachment attached to the receiving unit 140 by comparing the first detection value with a predetermined second threshold value different from the first threshold value. The control unit 116 refers to the first threshold value and the second threshold value pre-stored in the storage unit 114 and makes a comparison with the first detection value.
[0106] When the rod-shaped substrate 150 is accommodated in the internal space 141, when there is attached matter such as dirt or foreign matter in the accommodation section 140, the reflectivity of the light emitted by the light emitting section 176 becomes lower than when there is no attached matter such as dirt or foreign matter in the accommodation section 140. Therefore, when the rod-shaped substrate 150 is accommodated in the internal space 141, the first detection value when the attached matter is attached becomes smaller than the first detection value when the attached matter is not attached. Therefore, the second threshold value is set to a value greater than the first threshold value. In this case, when the rod-shaped substrate 150 is accommodated in the internal space 141, the control section 116 can appropriately judge the presence or absence of attached matter in the accommodation section 140 by comparing the first detection value with the second threshold value. Specifically, when the first detection value is greater than the first threshold value and less than the second threshold value, the control section 116 judges that there is attached matter in the accommodation section 140. In addition, when the first detection value is greater than the second threshold value, the control section 116 judges that there is no attached matter in the accommodation section 140.
[0107] In addition, the control unit 116 may also determine the degree of attachment to the storage unit 140 based on the first detection value. The degree of attachment to the storage unit 140 refers to the thickness of the accumulation of attachments such as dirt and foreign matter and the uneven state of the accumulation. The higher the degree of attachment, the lower the reflectivity of the light emitted by the light emitting unit 176, and thus the smaller the first detection value.
[0108] In the case where the control unit 116 determines the degree of attachment to the storage unit 140, multiple second thresholds may be set in stages. For example, the second threshold A and the second threshold B as the second threshold are set to the first threshold < second threshold A < second threshold B. When the first detection value is above the first threshold and below the second threshold A, the control unit 116 determines that the degree of attachment to the storage unit 140 is high. In addition, when the first detection value is above the second threshold A and below the second threshold B, the control unit 116 determines that the degree of attachment to the storage unit 140 is low. In addition, when the first detection value is above the second threshold B, the control unit 116 determines that there is no attachment in the storage unit 140.
[0109] So far, an example in which the control unit 116 makes a judgment related to the attachment attached to the storage unit 140 based on the second threshold value has been described, but the method of making a judgment related to the attachment attached to the storage unit 140 by the control unit 116 is not limited to this example. It is considered that the attachment attached to the storage unit 140 increases with the passage of time, so it is considered that the first detection value when the rod-shaped substrate 150 is accommodated in the internal space 141 becomes smaller with the passage of time. Therefore, the control unit 116 may also make a judgment related to the attachment attached to the storage unit 140 based on the time change of the first detection value above the first threshold value among the first detection values detected at a plurality of timings. Whenever the first detection value is detected by the optical sensor unit 170, the control unit 116 stores the first detection value in the storage unit 114. Thus, the control unit 116 can make a judgment related to the attachment attached to the storage unit 140 based on the time change of the first detection value.
[0110] Alternatively, the control unit 116 may calculate the difference between the first detection value greater than or equal to the first threshold value among the first detection values detected at a plurality of timings and the first threshold value, and make a determination regarding the attachment to the storage unit 140 based on the temporal variation of the difference.
[0111] In addition, only when the interruption notification is received from the optical sensor unit 170, the control unit 116 may refer to the first detection value stored in the detection storage unit 178 and make a judgment based on the first detection value. The notification threshold value may be set to a value equal to the first threshold value, for example. When set in this way, the interruption notification indicates that the rod-shaped substrate 150 is inserted into the internal space 141. Therefore, when the interruption notification is received from the optical sensor unit 170, the control unit 116 may also judge that the rod-shaped substrate 150 is inserted. According to the structure involved, only when the rod-shaped substrate 150 is accommodated in the internal space 141, the state of the storage unit 140 can be judged by referring to the first detection value stored in the detection storage unit 178, so that the processing load of the control unit 116 can be reduced.
[0112] (4) Control of the suction device 100 based on the determination result of the state of the storage unit 140
[0113] So far, the determination of the state of the storage unit 140 based on the detection result of the optical sensor unit 170 according to this embodiment has been described. Next, the control of each component of the suction device 100 based on the determination result of the state of the storage unit 140 by the control unit 116 will be described.
[0114] The control unit 116 controls the process of urging the user to clean the storage unit 140 based on the result of the judgment related to the attachments attached to the storage unit 140. The so-called process of urging the user to clean the storage unit 140 refers to, for example, the control of the notification to the user performed by the notification unit 113. The notification unit 113 can urge the user to clean by light, sound or vibration, or it can display a screen urging the user to clean. In addition, the control unit 116 can also control the communication unit 115 to send a notification urging the user to clean the storage unit 140 to the user's smartphone, PC and other devices. According to the structure involved, the user can clean the storage unit 140 at an appropriate time.
[0115] In addition, the control unit 116 may control the process of urging the user to clean the storage unit 140 in stages based on the result of the judgment of the degree of the attachments attached to the storage unit 140. For example, the control unit 116 may control the process of urging the user to clean the storage unit 140 when it is judged that the degree of the attachments attached to the storage unit 140 is low, and control the process of more strongly urging the user to clean the storage unit 140 when it is judged that the degree of the attachments is high. According to the structure involved, the user can more clearly recognize the necessity of cleaning the storage unit 140.
[0116] In addition, the control unit 116 may control the timing of urging the user to clean the storage unit 140 based on the result of the judgment on the attachments attached to the storage unit 140. For example, the control unit 116 may control to urge the user to clean the storage unit 140 before or after the heating of the rod-shaped substrate 150 by the heating unit 121 based on the result of the judgment on the attachments attached to the storage unit 140. More specifically, the control unit 116 may control to urge the user to clean the storage unit 140 before allowing the heating of the rod-shaped substrate 150 by the heating unit 121 when it is judged that the degree of attachments attached to the storage unit 140 is high. On the other hand, the control unit 116 may control to urge the user to clean the storage unit 140 after allowing the heating of the rod-shaped substrate 150 by the heating unit 121 when it is judged that the degree of attachments attached to the storage unit 140 is low. It can be considered that the user has a need to use the suction device 100 before cleaning the storage section 140. According to the structure involved, only when it is assumed that the heating unit 121 cannot perform appropriate heating due to the influence of the attachment of the storage section 140, it can be urged to clean the storage section 140 first, so that the user's needs can be met.
[0117] In addition, the control unit 116 may control the heating of the rod-shaped substrate 150 by the heating unit 121 based on the result of the determination related to the attached matter attached to the storage unit 140. For example, the control unit 116 may allow or prohibit the heating by the heating unit 121 based on the result of the determination related to the attached matter attached to the storage unit 140.
[0118] More specifically, when it is determined that the degree of the deposited matter attached to the storage section 140 is high, the control section 116 may prohibit the heating of the rod-shaped base material 150 by the heating section 121. On the other hand, when it is determined that the degree of the deposited matter attached to the storage section 140 is low or when it is determined that no deposited matter is attached to the storage section 140, the control section 116 may allow the heating by the heating section 121. According to the above configuration, heating can be prohibited when the degree of the deposited matter attached to the storage section 140 is high, so that the user can reliably clean the storage section 140.
[0119] In addition, the control unit 116 may store the number of times the first detection value is above the second threshold value in the storage unit 114. When the first detection value above the second threshold value is obtained from the optical sensor unit 170, the control unit 116 updates the number stored in the storage unit 114. In addition, the control unit 116 may send the number stored in the storage unit 114 to the user's smartphone, PC, or other device through the communication unit 115. The number may also be sent from the user's device to the server.
[0120] (5) Switching the Mode of the Optical Sensor Unit 170
[0121] Next, the control of switching the mode of the optical sensor unit 170 performed by the control unit 116 is described in detail. The control unit 116 controls to switch the mode of the optical sensor unit 170 to an action mode for detecting reflected light or a sleep mode for stopping the detection of reflected light. The control unit 116 may also control to switch the mode of the optical sensor unit 170 based on the detection result obtained by the sensor unit 112. The sensor unit 112 is an example of a second detection unit in the present embodiment. In addition, the control unit 116 may also control to switch the mode of the optical sensor unit 170 to a power-off mode for stopping the power supply to the optical sensor unit 170 based on the detection result obtained by the sensor unit 112.
[0122] First, the case where the sensor unit 112 detects the opening and closing of the opening 142 based on the cover 14 is described. When the opening of the opening 142 based on the cover 14 is detected, the possibility that the suction device 100 is used by the user is high. Therefore, if the opening of the opening 142 based on the cover 14 is detected by the sensor unit 112, the control unit 116 controls to switch the mode of the light sensor unit 170 from the sleep mode to the action mode. In addition, when the closing of the opening 142 based on the cover 14 is detected, the suction device 100 is not used by the user. Therefore, if the closing of the opening 142 based on the cover 14 is detected by the sensor unit 112, the control unit 116 controls to switch the mode of the light sensor unit 170 from the action mode to the sleep mode. According to the structure involved, detection based on the light sensor unit 170 is performed only when the user uses the suction device 100, so that power consumption can be efficiently reduced. Furthermore, when the sensor unit 112 detects that the opening 142 of the cover 14 is closed, the control unit 116 may control to switch the mode of the optical sensor unit 170 from the operating mode to the power-off mode.
[0123] Next, the case where the sensor unit 112 detects the connection and release of the charging of the power supply unit 111 by the user is described. When the charging of the power supply unit 111 is released, the possibility that the user uses the suction device 100 is high. Therefore, if the release of the charging of the power supply unit 111 by the user is detected by the sensor unit 112, the control unit 116 controls to switch the mode of the optical sensor unit 170 from the sleep mode to the action mode. In addition, when the charging of the power supply unit 111 is connected, the possibility that the suction device 100 is not used by the user is high. Therefore, if the connection of the charging of the power supply unit 111 by the user is detected by the sensor unit 112, the control unit 116 controls to switch the mode of the optical sensor unit 170 from the action mode to the sleep mode. According to the structure involved, detection based on the optical sensor unit 170 is performed only when the user uses the suction device 100, so that power consumption can be efficiently reduced. In addition, when the sensor unit 112 detects that the power supply unit 111 is connected to a charger by a user, the control unit 116 may control to switch the mode of the optical sensor unit 170 from the operating mode to the power-off mode.
[0124] (6) Correction of each value
[0125] Next, correction of each value used in the present embodiment by the detection control unit 179 and the control unit 116 will be described in detail.
[0126] --Correction from the second detection value to the first detection value
[0127] First, the correction from the second detection value to the first detection value by the detection control unit 179 is described. When the reflected light detected by the light receiving unit 177 is detected, it is affected by the individual difference of the optical sensor unit 170, temperature, vibration, and attachments attached to the storage unit 140. Therefore, the detection control unit 179 corrects the second detection value and calculates the first detection value. According to the structure involved, the influence of the individual difference of the optical sensor unit 170, temperature, vibration, and attachments attached to the storage unit 140 can be excluded from the second detection value. As a result, the control unit 116 can appropriately determine the state of the storage unit 140.
[0128] The detection control unit 179 corrects the second detection value and calculates the first detection value. The detection control unit 179 calculates the correction value for correcting the second detection value and calculating 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 the detection reference value, which is a value that becomes the reference of the second detection value when the rod-shaped base material 150 is not accommodated 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 at the timing when the rod-shaped base material 150 is not accommodated in the internal space 141 when the intensity of the light emitted by the light emitting unit 176 does not decrease with the passage of use time. In this case, the detection control unit 179 calculates the correction value so as to correct the second detection value obtained when the rod-shaped base material 150 is not accommodated in the internal space 141 to a value that matches the detection reference value. That is, 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 from the light receiving unit 177 .
[0129] The detection control unit 179 calculates the correction value based on the second detection value detected by the light receiving unit 177 at the timing when the rod-shaped substrate 150 is not accommodated in the internal space 141. In addition, at the timing of the detection of the second detection value by the light receiving unit 177, it is desirable that the opening 142 is closed by the cover 14. When the opening 142 is closed, the light outside the suction device 100 is not received by the light receiving unit 177. In addition, when the second detection value is detected by the light receiving unit 177 when the rod-shaped substrate 150 is accommodated in the internal space 141, the light outside the suction device 100 is also not received by the light receiving unit 177. Therefore, by using the correction value calculated from the second detection value detected at the timing when the opening 142 is closed, the control unit 116 can eliminate the influence caused by the external light and appropriately determine the state of the accommodation unit 140. 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 opened is smaller than the first threshold value and the second threshold value. Therefore, the opening 142 may be opened at the timing based on the detection by the light receiving unit 177 .
[0130] The first detection value used for judgment when the control unit 116 judges the state of the storage unit 140 is a value corrected by the correction value calculated by the detection control unit 179. Here, in order for the control unit 116 to judge the state of the storage unit 140 with higher accuracy, it is desirable that the conditions such as temperature, vibration, and attachments attached to the storage unit 140 are consistent at the timing of calculating the correction value and the timing of judging the state of the storage unit 140. Therefore, it is desirable that the timing of calculating the correction value by the detection control unit 179 is close to the timing of storing the rod-shaped substrate 150 in the internal space 141. Therefore, when the sensor unit 112 obtains a predetermined detection result, the control unit 116 controls the processing of calculating the correction value and storing it in the detection storage unit 178 by the detection control unit 179.
[0131] For example, if the opening of the opening 142 of the cover 14 is detected by the sensor section 112, the control section 116 may control the calculation of the correction value by the detection control section 179. Immediately after the opening 142 is opened by the cover 14, it is highly likely that the rod-shaped substrate 150 is accommodated in the internal space 141. Therefore, according to the configuration, the timing of calculating the correction value can be brought close to the timing of accommodating the rod-shaped substrate 150 in the internal space 141, and as a result, the control section 116 can accurately determine the state of the accommodating section 140.
[0132] Furthermore, if the closing of the opening 142 of the cover 14 is detected by the sensor unit 112, the control unit 116 may control the process of calculating the correction value by the detection control unit 179 and storing it in the detection storage unit 178. When the control unit 116 switches the mode of the optical sensor unit 170 to the action mode after the storage, it controls the process of correcting the second detection value using the correction value stored in the detection storage unit 178. When the closing of the opening 142 of the cover 14 is detected by the sensor unit 112, it is highly likely that the user has finished the suction. Therefore, according to the above process, the detection control unit 179 can correct the influence of the attached matter attached by the suction before the closing of the opening 142 of the cover 14. Here, when the opening 142 of the cover 14 is opened by the user, the correction value is already calculated by the detection control unit 179. Therefore, when the opening 142 of the cover 14 is opened by the user, the control unit 116 can make a judgment related to the state of the storage unit 140 without controlling the execution of the process of calculating the correction value. That is, according to the configuration, the waiting time of the user can be shortened compared to a case where the control unit 116 calculates the correction value after the sensor unit 112 detects the opening of the opening 142 of the cover unit 14 .
[0133] When the closing of the opening 142 of the cover 14 is detected by the sensor unit 112 , the control unit 116 may switch the mode of the optical sensor unit 170 from the operating mode to the sleep mode after performing processing to store the correction value calculated in the detection storage unit 178 .
[0134] Furthermore, if the release of charging of the power supply unit 111 is detected by the sensor unit 112, the control unit 116 may control the calculation of the correction value by the detection control unit 179. The power supply unit 111 may be charged from a commercial power source or from a charging device such as a PCC (portable charging and refilling case) that can accommodate the suction device 100. Immediately after the release of charging is detected, the possibility that the rod-shaped substrate 150 is accommodated in the internal space 141 is high. Therefore, according to the structure involved, the timing of calculating the correction value can be close to the timing of accommodating the rod-shaped substrate 150 in the internal space 141, and as a result, the control unit 116 can accurately determine the state of the accommodating unit 140.
[0135] Furthermore, if the connection of charging to the power supply unit 111 is detected by the sensor unit 112, the control unit 116 may control the process of calculating the correction value by the detection control unit 179 and storing it in the detection storage unit 178. When the mode of the optical sensor unit 170 is switched to the action mode after the storage, the control unit 116 controls the process of correcting the second detection value using the correction value stored in the detection storage unit 178. When the connection of charging to the power supply unit 111 is detected by the sensor unit 112, it is highly likely that the user has finished the suction. Therefore, according to the above process, the detection control unit 179 can correct the second detection value that changes due to the influence of the attached matter attached by the suction before the opening 142 of the cover 14 is closed. By performing the process in this way, when the release of charging to the power supply unit 111 is detected, the correction value is already calculated by the detection control unit 179. Therefore, when the release of charging to the power supply unit 111 is detected, the control unit 116 can make a judgment related to the state of the storage unit 140 without controlling the execution of the process of calculating the correction value. That is, according to the configuration, the waiting time of the user can be shortened compared to the case where the control unit 116 calculates the correction value after the sensor unit 112 detects the termination of charging of the power supply unit 111 .
[0136] When the sensor unit 112 detects the connection of the charging 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 the process of storing the correction value calculated in the detection storage unit 178 .
[0137] Here, use Figures 9 to 12 , a specific example of correction of the second detection value based on the detection control unit 179 is described. Fig. 9 1 is an explanatory diagram of a specific example of the correction of the second detection value by the detection control unit 179. Here, a specific example is described in the case where the detection reference value is "510". In addition, the larger the value of the detected light amount, the larger the light received amount. In addition, here, the first threshold used in the judgment of whether the rod-shaped substrate 150 is accommodated in the internal space 141 is "2200", and the second threshold used in the judgment of the presence or absence of the attachment in the accommodating portion 140 is "3350".
[0138] Fig. 9 The left figure of FIG. 1 is a diagram showing an example of the second detection value obtained when the rod-shaped substrate 150 is not accommodated in the internal space 141 . Fig. 9 The right figure of FIG. 1 is a diagram showing an example of correcting the second detection value obtained when the rod-shaped substrate 150 is not accommodated in the internal space 141 to the detection reference value. The detection control unit 179 calculates the correction value to correct the second detection value obtained when the rod-shaped substrate 150 is not accommodated in the internal space 141 to 510 consistent with the detection reference value. Fig. 9 As shown in FIG. 1 , when the second detection value obtained when the rod-shaped substrate 150 is not accommodated in the internal space 141 is "1024", the detection control unit 179 calculates "514", which is the difference between "1024" as the second detection value and "510" as the detection reference value, as the correction value. The detection control unit 179 stores the calculated correction value in the detection storage unit 178.
[0139] use Fig.10 , for use Fig. 9 A specific example of determination of the state of the storage section 140 by the control section 116 when the light receiving section 177 newly outputs "4000" as the second detection value after the control of the processing of storing the correction value by the detection control section 179 has been described will be described.
[0140] Fig.10 1 is an explanatory diagram of a specific example of the judgment of the state of the storage unit 140 using the first detection value by the control unit 116. Here, the detection control unit 179 subtracts "514" as the correction value from "4000" as the second detection value, and calculates "3486" as the first detection value. The control unit 116 reads the first detection value from the detection storage unit 178 and compares it with the first threshold value and the second threshold value. Here, the first detection value is greater than the first threshold value and greater than the second threshold value. Therefore, the control unit 116 determines that the rod-shaped substrate 150 is stored in the internal space 141 and the attachment to the storage unit 140 is not attached.
[0141] Fig.11 1 is an explanatory diagram of a specific example of the correction of the second detection value by the detection control unit 179. Here, a specific example in which the detection reference value is "510" is described. In addition, here, the first threshold used in the judgment of whether the rod-shaped substrate 150 is accommodated in the internal space 141 is "2200", and the second threshold used in the judgment of the presence or absence of the attachment in the accommodating portion 140 is "3350".
[0142] Fig.11 The left figure of FIG. 1 is a diagram showing an example of the second detection value obtained when the rod-shaped substrate 150 is not accommodated in the internal space 141 . Fig.11 The right figure of FIG. 1 shows an example of correcting the second detection value obtained when the rod-shaped substrate 150 is not accommodated in the internal space 141 to the detection reference value. Fig.11 As shown, the second detection value obtained when the rod-shaped substrate 150 is not accommodated in the internal space 141 is Fig. 9The second detection value "1024" shown in the left figure is larger than "1124". When dirt is attached near the optical sensor unit 170 arranged in the storage unit 140, the attached dirt reflects light, so the amount of light received increases compared to the case where there is no dirt, and the second detection value becomes larger. The detection control unit 179 calculates a correction value to correct the second detection value obtained when the rod-shaped substrate 150 is not stored in the internal space 141 to "510" consistent with the detection reference value. Fig.11 As shown in FIG. 1 , when the second detection value obtained when the rod-shaped substrate 150 is not accommodated in the internal space 141 is "1124", the detection control unit 179 calculates "614", which is the difference between "1124" as the second detection value and "510" as the detection reference value, as the correction value. The detection control unit 179 stores the calculated correction value in the detection storage unit 178.
[0143] use Fig.12 , for use Fig.11 A specific example of the judgment of the state of the storage section 140 based on the control of the detection control section 179 when "3814" is newly output as the second detection value by the light receiving section 177 after the control of the storage processing of the correction value by the detection control section 179 has been described will be described.
[0144] Fig.12 1 is an explanatory diagram of a specific example of the judgment of the state of the storage unit 140 using the first detection value by the control unit 116. Here, the detection control unit 179 subtracts "614" as the correction value from "3814" as the second detection value, and calculates "3200" as the first detection value. The control unit 116 reads the first detection value from the detection storage unit 178 and compares it with the first threshold value and the second threshold value. Here, the first detection value is above the first threshold value and below the second threshold value. Therefore, the control unit 116 determines that the rod-shaped substrate 150 is stored in the internal space 141 and the attached matter is attached to the storage unit 140.
[0145] The suction device 100 may perform the determination on the attached matter without performing the correction of the detected value. However, when the correction of the detected value is performed, the accuracy of the determination on the attached matter can be improved compared with the case where the correction of the detected value is not performed.
[0146] Here, in the state where the attached matter is attached, sometimes the detection value is corrected, that is, the first detection value is calculated based on the second detection value. Even in this case, it is possible to improve the judgment accuracy related to the attached matter in the state where the rod-shaped substrate 150 is inserted. This point is described in detail below.
[0147] The amount of light received when calculating the correction value tends to increase as the number of attached objects increases. This is because the light emitted by the light sensor unit 170 is reflected by the attached object that is closer to the light sensor unit 170 than the inner wall of the storage unit 140. That is, when the correction of the second detection value is performed in the state where the attached object is attached, the correction value increases compared to the case where the correction of the second detection value is performed in the state where the attached object is not attached. As a result, the first detection value in the state where the rod-type substrate 150 is inserted decreases due to the influence of the increase in the correction value. On the other hand, the amount of light received when the rod-type substrate 150 is inserted tends to decrease as the number of attached objects increases. This is because the light emitted to the rod-type substrate 150 or the light reflected from the rod-type substrate 150 is blocked by the attached object. As a result, the first detection value in the state where the rod-type substrate 150 is inserted decreases due to the influence of the light blocked by the attached object. In this way, when the correction of the second detection value is performed in the state where the attached object is attached, the first detection value in the state where the rod-type substrate 150 is inserted decreases significantly due to the increase in the correction value and the influence of the light blocked by the attached object. As a result, the presence of deposited matter can be reliably determined based on the second threshold value set to a value larger than the first threshold value.
[0148] --Correction of the threshold used in determining the state of the storage unit 140
[0149] Next, the correction of the first threshold value and the second threshold value used in the judgment of the state of the storage section 140 by the control section 116 is described. The intensity of the light emitted by the light emitting section 176 decreases with the passage of time. In addition, as the intensity of the light emitted by the light emitting section 176 decreases, the intensity of the reflected light detected in the light receiving section 177 decreases. Therefore, if the first threshold value and the second threshold value are used without considering the decrease in the intensity of the light emitted by the light emitting section 176, the control section 116 may not be able to appropriately judge the state of the storage section 140. For example, even if the rod-shaped substrate 150 is stored in the storage section 140, the first detection value may be lower than the first threshold value, and the control section 116 may judge that the rod-shaped substrate 150 is not stored in the storage section 140.
[0150] The control unit 116 corrects the first threshold and the second threshold. According to the structure involved, it is possible to prevent the misjudgment of the state of the storage unit 140 based on the control unit 116 caused by the decrease in the intensity of the light emitted by the light emitting unit 176. For example, the control unit 116 corrects the first threshold and the second threshold based on the time change of the correction value. Specifically, the control unit 116 calculates the ratio of the second correction value to the difference between the correction value calculated in the past, that is, the first correction value, and the correction value newly calculated, that is, the second correction value, and multiplies the calculated ratio by the first threshold and the second threshold to perform correction. The control unit 116 can correct the first threshold and the second threshold by storing the first correction value in the storage unit 114.
[0151] Here, use Figures 13-16 , a specific example of correction of the first threshold value and the second threshold value based on the control unit 116 is described. Fig.13 This is an explanatory diagram of a specific example of the correction of the first threshold value and the second threshold value by the detection control unit 179. Here, a specific example of the case where the detection reference value is "510" is described. In addition, here, the first threshold value before correction used in the judgment of whether the rod-shaped substrate 150 is accommodated in the internal space 141 is "2200", and the second threshold value before correction used in the judgment of the presence or absence of the attachment in the accommodation part 140 is "3350". In addition, here, the first correction value, which is a correction value calculated in the past, is set to "450".
[0152] Fig.13 The left figure of FIG. 1 is a diagram showing an example of the second detection value obtained when the rod-shaped substrate 150 is not accommodated in the internal space 141 . Fig.13 The right figure of FIG. 1 is a diagram showing an example of correcting the second detection value obtained when the rod-shaped substrate 150 is not accommodated in the internal space 141 to the detection reference value. The detection control unit 179 calculates the correction value to correct the second detection value obtained when the rod-shaped substrate 150 is not accommodated in the internal space 141 to 510 consistent with the detection reference value. Fig.13 As shown, when the second detection value obtained when the rod-shaped substrate 150 is not accommodated in the internal space 141 is "800", the detection control unit 179 calculates the difference between "800" as the second detection value and "510" as the detection reference value, that is, "290" as the second correction value.
[0153] The control unit 116 reads the second correction value from the detection storage unit 178, and calculates the ratio of the second correction value to the first correction value stored in the storage unit 114. The control unit 116 corrects the thresholds by adding the calculated ratio, i.e., "0.64", to the first threshold and the second threshold. That is, the control unit 116 corrects the first threshold to "1408" and the second threshold to "2214", and updates the first threshold and the second threshold stored in the storage unit 114.
[0154] use Fig.14 , for use Fig.13 A specific example of the determination of the state of the storage unit 140 by the control unit 116 when "2560" is newly outputted as the second detection value by the light receiving unit 177 after the first threshold value and the second threshold value of the control unit 116 are updated will be described.
[0155] Fig.14 This is an explanatory diagram of a specific example of the judgment of the state of the storage unit 140 using the first detection value by the control unit 116. Here, the detection control unit 179 subtracts "290" as the second correction value from "2560" as the second detection value, and calculates "2270" as the first detection value. The control unit 116 reads the first detection value from the detection storage unit 178 and compares it with the corrected first threshold value and the corrected second threshold value. Here, the first detection value is greater than the corrected first threshold value and the corrected second threshold value. Therefore, the control unit 116 determines that the rod-shaped substrate 150 is stored in the internal space 141 and the attachment of the storage unit 140 is not attached.
[0156] Fig.15 is used Fig.13 FIG. 1 is an explanatory diagram of a specific example of the correction of the second detection value after the correction of the first threshold value and the second threshold value described above. Fig.13 Similarly, the specific example in which the detection reference value is "510" is described. Fig.13 As described above, the first threshold after correction is "1408", and the second threshold after correction is "2214".
[0157] Fig.15 The left figure of FIG. 1 is a diagram showing an example of the second detection value obtained when the rod-shaped substrate 150 is not accommodated in the internal space 141 . Fig.15 The right figure of FIG. 1 is a diagram showing an example of correcting the second detection value obtained when the rod-shaped substrate 150 is not accommodated in the internal space 141 to the detection reference value. The detection control unit 179 calculates the correction value to correct the second detection value obtained when the rod-shaped substrate 150 is not accommodated in the internal space 141 to "510" consistent with the detection reference value. Fig.15As shown in FIG. 1 , when the second detection value obtained when the rod-shaped substrate 150 is not accommodated in the internal space 141 is "900", the detection control unit 179 calculates "390", which is the difference between "900" as the second detection value and "510" as the detection reference value, as the correction value. The detection control unit 179 stores the calculated correction value in the detection storage unit 178.
[0158] use Fig.16 , for use Fig.15 A specific example of the judgment of the state of the storage section 140 by the control section 116 when "2441" is newly output as the second detection value by the light receiving section 177 after the control of the storage processing of the correction value by the detection control section 179 is described.
[0159] Fig.16 1 is an explanatory diagram of a specific example of the judgment of the state of the storage section 140 using the first detection value by the control section 116. Here, the detection control section 179 subtracts "390" as the correction value from "2441" as the second detection value, and calculates "2051" as the first detection value. The control section 116 reads the first detection value from the detection storage section 178, and compares it with the corrected first threshold value and the corrected second threshold value. Here, the first detection value is greater than the corrected first threshold value and less than the corrected second threshold value. Therefore, the control section 116 judges that the rod-shaped substrate 150 is stored in the internal space 141 and the attached matter is attached to the storage section 140.
[0160] In addition, the correction of the first threshold and the second threshold by the control unit 116 is preferably performed at a timing when the intensity of the light emitted by the light emitting unit 176 decreases due to use. For example, the control unit 116 may correct the first threshold and the second threshold when the number of times the correction value is calculated reaches a predetermined number of times. In this case, the control unit 116 stores the number of times the correction value is calculated in the storage unit 114, and updates the number each time the correction value is calculated.
[0161] Furthermore, the control unit 116 may calibrate the first threshold and the second threshold when the time during which the optical sensor unit 170 is in the operating 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 operating mode in the storage unit 114 .
[0162] In addition, the correction value decreases as the intensity of the light emitted by the light emitting unit 176 decreases. Therefore, the control unit 116 may also correct the first threshold and the second threshold when the correction value is lower than a specified correction reference value. Here, when calculating the correction value, the extent of the attachment attached to the storage unit 140 is unknown. Therefore, each time the correction value is calculated, the control unit 116 may also store the correction value in the storage unit 114, select a specified number of correction values from the stored correction values in the order of new storage, and calculate the average value of the selected multiple correction values. Moreover, the control unit 116 may also correct the first threshold and the second threshold when the average value is lower than a specified correction reference value. In addition, the control unit 116 may also correct the first threshold and the second threshold when the number of times the correction value is lower than the specified correction reference value exceeds a certain number of times.
[0163] In addition, a plurality of conditions related to the timing at which the control unit 116 performs correction of the first threshold and the second threshold have been described, but a plurality of conditions related to the timing at which the control unit 116 performs correction of the first threshold and the second threshold may be combined. For example, the control unit 116 may correct the first threshold and the second threshold when the number of times the correction value is calculated reaches a predetermined number of times and the correction value is lower than a predetermined correction reference value.
[0164] In addition, the example in which the second correction value used in the correction of the first threshold and the second threshold is calculated from one second detection value has been described so far. However, since the extent of the attached matter attached to the receiving portion 140 is unknown when calculating the correction value, the second correction value used in the correction of the first threshold and the second threshold is preferably an average value of multiple correction values stored in the storage unit 114.
[0165] In addition, the example in which the second detection value is larger than the detection reference value has been described above, but the second detection value may be smaller than the detection reference value due to the influence of temperature, vibration, etc. That is, the difference between the second detection value and the detection reference value may be a negative value.
[0166] <3. Operation of the suction device>
[0167] Next, refer to Fig.17 as well as Fig.18 , an operation example of the suction device 100 involved in this embodiment is described.
[0168] (3.1. Operation Control of Suction Device 100 Based on Detection Results of Optical Sensor Unit 170)
[0169] Fig.171 is a flowchart showing the operation control of the suction device 100 based on the detection result of the optical sensor unit 170. In this operation example, the first threshold is a threshold used for judging whether the rod-shaped substrate 150 is accommodated in the internal space 141, and the second threshold is a threshold used for judging whether there is an attached object in the accommodation portion 140.
[0170] First, when the reflected light is detected by the light receiving unit 177 of the optical sensor unit 170 (S104), the control unit 116 refers to the first detection value corresponding to the amount of light received of the reflected light stored in the detection storage unit 178. When the first detection value is lower than the first threshold value (S108 / No), the control unit 116 determines that the rod-shaped substrate 150 is not accommodated in the accommodating unit 140 (S112), and ends the process. On the other hand, when the first detection value is higher than the first threshold value (S108 / Yes), the control unit 116 determines that the rod-shaped substrate 150 is accommodated in the accommodating unit 140 (S116).
[0171] Next, the control unit 116 determines whether the first detection value is greater than or equal to the second threshold value (S120). When the first detection value is greater than or equal to the second threshold value (S120 / Yes), the control unit 116 determines that no adhering matter is attached to the storage unit 140 (S124). Then, the control unit 116 allows the heating unit 121 to heat the rod-shaped substrate 150 (S128).
[0172] On the other hand, when the first detection value is lower than the second threshold value (S120 / No), the control unit 116 determines that there is an adhering object in the storage unit 140 (S132). Then, the control unit 116 prohibits the heating of the rod-shaped substrate 150 by the heating unit 121 (S136), and controls the process of prompting the user to clean the storage unit 140 (S140).
[0173] (3.2. Correction of the second detection value)
[0174] Fig.18 1 is a flowchart showing the process of correction based on the second detection value of the detection control unit 179. In this operation example, the case where the mode of the optical sensor unit 170 is the sleep mode is described. First, the control unit 116 determines whether the opening of the opening 142 is detected by the sensor unit 112. If the opening of the opening 142 by the cover unit 14 is detected by the sensor unit 112 (S204 / Yes), the control unit 116 controls to switch the mode of the optical sensor unit 170 to the action mode (S208).
[0175] 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 in the detection storage unit 178 as a correction value (S216).
[0176] On the other hand, when the sensor unit 112 does not detect that the opening 142 is opened by the cover 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 cover 14 .
[0177] <4.Supplement>
[0178] The preferred embodiments of the present invention are described in detail with reference to the accompanying drawings, but the present invention is not limited to the examples involved. It is clear to those skilled in the art that various modifications or amendments can be conceived within the scope of the technical concept described in the claims, and these are also considered to belong to the technical scope of the present invention.
[0179] For example, the example in which the first threshold value and the second threshold value are set regardless of the type of the rod-shaped substrate 150 has been described above, but different first threshold values and second threshold values may be set according to the type of the rod-shaped substrate 150. In this case, the control unit 116 determines the type of the rod-shaped substrate 150 accommodated in the storage unit 140. Then, the control unit 116 performs determination regarding the state of the storage unit 140 using the first threshold value and the second threshold value suitable for the determined type of the rod-shaped substrate 150.
[0180] In addition, the example 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 opening and closing of the opening 142 of the cover unit 14 or the connection and release of the charging of the power supply unit 111 is detected by the sensor unit 112 has been described so far. However, the detection by the sensor unit 112 is not limited to this example.
[0181] For example, the sensor unit 112 may be a motion sensor that detects the lifting of the suction device 100 by the user. In this case, if the lifting of the suction device 100 by the user is detected by the sensor unit 112, the control unit 116 may switch the mode of the optical sensor unit 170 to the action mode. In addition, if the lifting of the suction device 100 by the user is detected by the sensor unit 112, the control unit 116 may control the correction of the second detection value. In addition, when the sensor unit 112 is a button, the control unit 116 may control each process according to the detection of the pressing of the button by the user.
[0182] In addition, the timing of 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 of obtaining the detection result by the sensor unit 112. For example, the control unit 116 may also perform each process according to the timing when the heating by the heating unit 121 ends. In addition, the control unit 116 may also control each process when the multiple conditions described so far are satisfied. For example, the control unit 116 may switch the mode of the optical sensor unit 170 to the action mode when the sensor unit 112 detects that the opening 142 of the cover unit 14 is opened and detects that the charging of the power supply unit 111 is released.
[0183] In addition, the series of processing based on each device described in this specification can also be implemented using any one of software, hardware, and a combination of software and hardware. The program constituting the software is, for example, pre-stored in a recording medium (non-transitory media) provided inside or outside each device. Moreover, each program is read into RAM, for example, when executed based on a computer, and is executed by a processor such as a CPU. The above-mentioned recording medium is, for example, a magnetic disk, an optical disk, a magneto-optical disk, and a flash memory. In addition, the above-mentioned computer program can also be distributed, for example, via a network without using a recording medium.
[0184] In addition, the processes described in this specification using flowcharts and timing diagrams do not necessarily need to be performed in the order shown in the diagrams. Some process steps may also be performed in parallel. In addition, additional process steps may be used, or some process steps may be omitted.
[0185] In addition, the following structures also belong to the technical scope of the present invention.
[0186] (1) A suction device comprising:
[0187] A receiving portion capable of receiving a rod-shaped substrate in an inner space;
[0188] a first detection unit, radiating light into the internal space and detecting received reflected light;
[0189] a second detection unit, detecting a user's movement relative to the attraction device;
[0190] a control unit that makes a determination regarding 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
[0191] a storage unit storing 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,
[0192] The control unit controls a process of calculating the correction value and causing the storage unit to store the correction value when a predetermined detection result is obtained by the second detection unit.
[0193] (2) A suction device as described in (1) above,
[0194] The correction value is a difference between the second detection value output from the first detection unit and a predetermined detection reference value.
[0195] The first detection value is a value obtained by subtracting the correction value from the second detection value.
[0196] The control unit controls a process of calculating the first detection value when a predetermined detection result is obtained by the second detection unit.
[0197] (3) A suction device as described in (1) or (2) above,
[0198] The control unit performs control so as to switch the mode of the first detection unit to an operation mode for detecting the reflected light or a sleep mode for stopping the detection of the reflected light, based on a detection result obtained by the second detection unit.
[0199] (4) A suction device as described in (3) above,
[0200] The suction device further includes a cover portion, and the cover portion is capable of opening and closing an opening communicating with the internal space of the storage portion.
[0201] The second detection unit detects opening and closing of the opening by the cover unit.
[0202] (5) A suction device as described in (4) above,
[0203] When the second detection unit detects the opening of the opening by the cover unit, the control unit controls the mode of the first detection unit to be switched to the action mode, and when the second detection unit detects the closing of the opening by the cover unit, the control unit controls the mode of the first detection unit to be switched to the sleep mode.
[0204] (6) A suction device as described in (4) or (5) above,
[0205] The control section controls a process of calculating the correction value when opening of the opening by the cover section is detected by the second detection section.
[0206] (7) A suction device as described in (4) or (5) above,
[0207] When the second detection unit detects the closing of the opening by the cover unit, the control unit controls the process of calculating the correction value and causing the storage unit to store the calculated correction value, and when the mode of the first detection unit is switched to the action mode after the storage, the control unit controls the process of correcting the second detection value using the correction value stored in the storage unit.
[0208] (8) A suction device as described in (3) above,
[0209] The suction device further includes a power supply unit for storing electric power.
[0210] The second detection unit detects connection and release of charging of the power supply unit by the user.
[0211] (9) A suction device as described in (8) above,
[0212] The control unit controls so that when the second detection unit detects that the charging of the power supply unit is released, the mode of the first detection unit is switched to the action mode, and when the second detection unit detects that the charging of the power supply unit is connected, the mode of the first detection unit is switched to the sleep mode.
[0213] (10) A suction device as described in (8) or (9) above,
[0214] The control unit calculates the correction value when the second detection unit detects that the charging of the power supply unit is released.
[0215] (11) A suction device as described in (8) or (9) above,
[0216] If the connection of charging to the power supply unit is detected by the second detection unit, the control unit controls the process of calculating the correction value and causing the storage unit to store the calculated correction value. When the mode of the first detection unit is switched to the action mode after the storage, the control unit controls the process of correcting the second detection value using the correction value stored in the storage unit.
[0217] (12) A suction device as described in any one of (1) to (11) above,
[0218] The control unit determines whether the rod-shaped substrate is accommodated in the internal space based on the first detection value.
[0219] (13) A suction device as described in any one of (1) to (11) above,
[0220] The control unit makes a determination regarding the attached matter attached to the storage unit based on the first detection value.
[0221] (14) A suction device as described in any one of (1) to (13) above,
[0222] The control unit makes a determination regarding the state of the storage unit based on the first detection value and a predetermined threshold value, and corrects the threshold value based on a temporal change in the correction value.
[0223] (15) A control method for an attraction device executed by a computer,
[0224] The suction device comprises:
[0225] A receiving portion capable of receiving a rod-shaped substrate in an inner space;
[0226] a first detection unit, radiating light into the internal space and detecting received reflected light;
[0227] a second detection unit, detecting a user's movement relative to the attraction device; and
[0228] a storage unit storing 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 first detection value corresponding to the intensity of the reflected light detected by the first detection unit,
[0229] The control method comprises:
[0230] Making a determination regarding the state of the storage unit based on the first detection value; and
[0231] The control unit controls a process of calculating the correction value and causing the storage unit to store the correction value when a predetermined detection result is obtained by the second detection unit.
[0232] Description of Reference Numerals
[0233] 100 suction device; 14 cover portion; 111 power supply portion; 112 sensor portion; 113 notification portion; 114 storage portion; 115 communication portion; 116 control portion; 121 heating portion; 140 storage portion; 140A rod lower portion storage portion; 140B guide portion; 141 internal space; 142 opening; 150 rod-shaped base material; 170 optical sensor portion; 172 circuit substrate; 173 filter; 174 reinforcing plate; 175 gap; 176 light emitting portion; 177 light receiving portion; 178 detection storage portion; 179 detection control portion.
Claims
1. A suction device, comprising: A receiving portion capable of receiving a rod-shaped substrate in an inner space; a first detection unit, radiating light into the internal space and detecting received reflected light; a second detection unit, detecting a user's movement relative to the attraction device; a control unit that makes a determination related to 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; as well as a storage unit storing 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 causing the storage unit to store the correction value when a predetermined detection result is obtained by the second detection unit.
2. The suction device according to claim 1, wherein: The correction value is a difference 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.
3. The suction device according to claim 1 or 2, wherein: The control unit performs control so as to switch the mode of the first detection unit to an operation mode for detecting the reflected light or a sleep mode for stopping the detection of the reflected light, based on a detection result obtained by the second detection unit.
4. The suction device according to claim 3, wherein: The suction device further includes a cover portion, and the cover portion is 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 cover unit.
5. The suction device according to claim 4, wherein: When the second detection unit detects the opening of the opening by the cover unit, the control unit controls the mode of the first detection unit to be switched to the action mode, and when the second detection unit detects the closing of the opening by the cover unit, the control unit controls the mode of the first detection unit to be switched to the sleep mode.
6. The suction device according to claim 4 or 5, wherein: The control section controls a process of calculating the correction value when opening of the opening by the cover section is detected by the second detection section.
7. The suction device according to claim 4 or 5, wherein: When the second detection unit detects the closing of the opening by the cover unit, the control unit controls the process of calculating the correction value and causing the storage unit to store the calculated correction value, and when the mode of the first detection unit is switched to the action mode after the storage, the control unit controls the process of correcting the second detection value using the correction value stored in the storage unit.
8. The suction device according to claim 3, wherein: The suction device further includes a power supply unit for storing electric power. The second detection unit detects connection and release of charging of the power supply unit by the user.
9. The suction device according to claim 8, wherein: The control unit controls so that when the second detection unit detects that the charging of the power supply unit is released, the mode of the first detection unit is switched to the action mode, and when the second detection unit detects that the charging of the power supply unit is connected, the mode of the first detection unit is switched to the sleep mode.
10. The suction device according to claim 8 or 9, wherein: The control unit calculates the correction value when the second detection unit detects that the charging of the power supply unit is released.
11. The suction device according to claim 8 or 9, wherein: If the connection of charging to the power supply unit is detected by the second detection unit, the control unit controls the process of calculating the correction value and causing the storage unit to store the calculated correction value. When the mode of the first detection unit is switched to the action mode after the storage, the control unit controls the process of correcting the second detection value using the correction value stored in the storage unit.
12. The suction device according to any one of claims 1 to 11, wherein: The control unit determines whether the rod-shaped substrate is accommodated in the internal space based on the first detection value.
13. The suction device according to any one of claims 1 to 11, wherein: The control unit makes a determination regarding the attached matter attached to the storage unit based on the first detection value.
14. The suction device according to any one of claims 1 to 13, wherein: The control unit makes a determination regarding the state of the storage unit based on the first detection value and a predetermined threshold value, and corrects the threshold value based on a temporal change in the correction value.
15. A control method for an attraction device executed by a computer, The suction device comprises: A receiving portion capable of receiving a rod-shaped substrate in an inner space; a first detection unit, radiating light into the internal space and detecting received reflected light; a second detection unit, detecting a user's movement relative to the attraction device; as well as a storage unit storing 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 first detection value corresponding to the intensity of the reflected light detected by the first detection unit, The control method comprises: making a determination related to the state of the receiving portion based on the first detection value; as well as The control unit controls a process of calculating the correction value and causing the storage unit to store the correction value when a predetermined detection result is obtained by the second detection unit.
Citation Information
Patent Citations
Aerosol generating systems and methods for controlling same
JP2019528710A