Method for detecting insertion of aerosol-generating medium into aerosol-generating device, aerosol-generating device, storage medium and product
By using optical ranging sensors to detect the distance difference between the aerosol generating medium and the base, the problem of untimely start-up of aerosol generating equipment is solved, enabling timely start-up and accurate detection, and reducing costs.
Patent Information
- Application Number
- CN202410849964.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-27
- Publication Date
- 2025-12-30
AI Technical Summary
The problem of existing aerosol generation equipment failing to start promptly after the aerosol generation medium is due to factors such as the trigger delay and lifespan of the switch button.
The device continuously emits optical signals using an optical ranging sensor, receives and calculates the optical reflection signals between the aerosol generating medium and the base, and determines whether preset conditions are met by measuring the distance difference, thereby controlling the start-up of the aerosol generating equipment.
This technology enables the aerosol generation equipment to start up promptly after the aerosol generation medium is inserted, improving the equipment's response speed and detection accuracy, reducing the performance requirements of processing components, and lowering production costs.
Smart Images

Figure CN121220802A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of electronic atomization technology, specifically to a method for detecting the insertion of an aerosol generating medium into an aerosol generating device, an aerosol generating device, a storage medium, and a product. Background Technology
[0002] After the aerosol generating medium is inserted into the aerosol generating device, the heating element of the aerosol generating device heats the aerosol generating medium, causing the aerosol generating medium to generate aerosols.
[0003] In related technologies, after the aerosol generating medium is inserted into the aerosol generating device, the user needs to press and hold a switch button on the aerosol generating device to control its start-up or shutdown. However, controlling the start-up or shutdown of the aerosol generating device via the switch button is limited by factors such as the trigger delay and lifespan of the switch button, resulting in problems such as the device failing to start promptly after the aerosol generating medium is inserted. Summary of the Invention
[0004] This application provides a detection method for inserting an aerosol generating medium into an aerosol generating device, an aerosol generating device, a storage medium, and a product, aiming to solve the problem that the aerosol generating device does not start up in time when the aerosol generating medium is inserted into the aerosol generating device.
[0005] In a first aspect, this application provides a method for detecting the insertion of an aerosol generating medium into an aerosol generating device, comprising:
[0006] Control the optical ranging sensor to continuously emit optical signals for a pre-set first cycle;
[0007] The optical ranging sensing element is controlled to receive a first optical reflection signal, wherein the first optical reflection signal is generated by the aerosol generating medium reflecting the optical emission signal;
[0008] A first distance value is calculated based on the first optical reflection signal, wherein the first distance value is the distance between the aerosol generating medium and the optical ranging sensing element.
[0009] The optical ranging sensor element is controlled to receive a second optical reflection signal, wherein the second optical reflection signal is generated by the reflection of the optical emission signal by the base of the aerosol generating device, the base is used to place the aerosol generating medium, and the base is provided with at least one through hole for the optical emission signal to pass through and be emitted to the aerosol generating medium.
[0010] A second distance value is calculated based on the second optical reflection signal, wherein the second distance value is the distance between the base and the optical ranging sensing element;
[0011] The distance difference is calculated based on the first distance value and the second distance value;
[0012] Determine whether the distance difference meets a first preset condition, wherein the first preset condition is that the distance difference is less than or equal to a preset first distance threshold;
[0013] When the distance difference meets the first preset condition, the aerosol generating device is controlled to switch from a non-working state to a working state.
[0014] In another embodiment of this application, a method for detecting the insertion of an aerosol generating medium into an aerosol generating device includes:
[0015] Control the optical ranging sensor to continuously emit optical signals for a pre-set first cycle;
[0016] The optical ranging sensing element is controlled to receive a first optical reflection signal, wherein the first optical reflection signal is generated by the aerosol generating medium reflecting the optical emission signal;
[0017] A first distance value is calculated based on the first optical reflection signal, wherein the first distance value is the distance between the aerosol generating medium and the optical ranging sensing element.
[0018] Determine whether the first distance value meets a second preset condition, wherein the second preset condition is that the first distance value is less than or equal to a second distance threshold;
[0019] When the first distance value meets the second preset condition, the aerosol generating device is controlled to switch from a non-working state to a working state.
[0020] Secondly, this application also provides an aerosol generating apparatus, comprising:
[0021] The accommodating chamber has a first end that is the inlet for inserting the aerosol generating medium into the aerosol generating device, and a second end that is provided with a base for placing the aerosol generating medium. The base is provided with at least one through hole.
[0022] An optical ranging sensor element is disposed on the side of the base away from the first end. The optical ranging sensor element is configured to continuously emit optical emission signals and receive a first optical reflection signal and a second optical reflection signal at a preset first cycle. The first optical reflection signal is generated by the aerosol generating medium reflecting the optical emission signal, and the second optical reflection signal is generated by the base reflecting the optical emission signal.
[0023] The processing element is configured to calculate a first distance value based on the first optical reflection signal, calculate a second distance value based on the second optical reflection signal, determine whether the distance difference between the first distance value and the second distance value satisfies a first preset condition, and control the aerosol generating device to switch from a non-working state to a working state if the distance difference satisfies the first preset condition. The first distance value is the distance between the aerosol generating medium and the optical ranging sensing element, the second distance value is the distance between the base and the optical ranging sensing element, and the first preset condition is that the distance difference is less than or equal to a preset first distance threshold.
[0024] In another embodiment of this application, the aerosol generating apparatus includes:
[0025] The accommodating chamber has a first end that is the inlet for inserting the aerosol generating medium into the aerosol generating device, and a second end that is provided with a base for placing the aerosol generating medium. The base is provided with at least one through hole.
[0026] An optical ranging sensor element is disposed on the side of the base away from the first end. The optical ranging sensor element is configured to continuously emit an optical emission signal and receive a first optical reflection signal at a predetermined first cycle, wherein the first optical reflection signal is generated by the reflection of the optical emission signal by the aerosol generating medium.
[0027] The processing element is configured to calculate a first distance value based on the first optical reflection signal, determine whether the first distance value meets a second preset condition, and control the aerosol generating device to switch from a non-working state to a working state if the first distance value meets the second preset condition. The first distance value is the distance between the aerosol generating medium and the optical ranging sensing element, and the second preset condition is that the first distance value is less than or equal to a preset second distance threshold.
[0028] Thirdly, this application also provides a computer-readable storage medium including a computer program, wherein, when the computer program is run on an aerosol generating device, the computer program is configured to cause the aerosol generating device to perform the steps of any of the aforementioned detection methods.
[0029] Fourthly, this application also provides a computer program product, the computer program being stored in a computer-readable storage medium, wherein when the processor of the aerosol generating device reads the computer program from the computer-readable storage medium, the processor executes the computer program, causing the aerosol generating device to perform the steps of any of the aforementioned detection methods.
[0030] The detection method for inserting an aerosol generating medium into an aerosol generating device provided in this application first controls an optical ranging sensor to continuously emit an optical emission signal in a first cycle. Then, a first distance value is calculated based on the received first optical reflection signal, and a second distance value is calculated based on the received second optical reflection signal. Next, a distance difference is calculated based on the calculated first and second distance values. Finally, it is determined whether the distance difference meets a first preset condition. If the distance difference meets the first preset condition, the aerosol generating device is controlled to switch from a non-working state to a working state. Thus, by judging the relationship between the distance difference and the first distance threshold, it is determined whether the aerosol generating medium is inserted into the base. In turn, if the aerosol generating medium is inserted into the base, the aerosol generating device can be started in a timely manner. Attached Figure Description
[0031] Figure 1 A block diagram of an aerosol generating apparatus provided in one embodiment of this application;
[0032] Figure 2 A cross-sectional schematic diagram of an aerosol generating apparatus provided in an embodiment of this application;
[0033] Figure 3 A schematic diagram illustrating the steps of a detection method for inserting an aerosol generating medium into an aerosol generating device, as provided in an embodiment of this application;
[0034] Figure 4 A schematic diagram of the steps of a detection method for inserting an aerosol generating medium into an aerosol generating device, provided in another embodiment of this application;
[0035] Figure 5 A schematic diagram of the steps of a detection method for inserting an aerosol generating medium into an aerosol generating device, provided in another embodiment of this application;
[0036] Figure 6This is a schematic diagram illustrating the steps of a detection method for inserting an aerosol generating medium into an aerosol generating device, as provided in another embodiment of this application. Detailed Implementation
[0037] The technical solutions of the embodiments of this application will be described below with reference to the accompanying drawings. The described embodiments are only used to explain the ideas of the present invention and should not be regarded as limiting the scope of protection of this application.
[0038] In the description of the embodiments of this application, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the stated features. In the description of the embodiments of this application, "multiple" means two or more, unless otherwise explicitly specified.
[0039] Based on specific embodiments and accompanying drawings, the technical solutions of this application and how they solve the aforementioned technical problems will be described in detail below. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments.
[0040] In one embodiment provided in this application, such as Figure 1 As shown, the aerosol generating device 100 includes a accommodating chamber 10, an optical ranging sensor element 20, and a processing element 30.
[0041] Among them, such as Figure 2 As shown, the first end 10a of the accommodating chamber 10 is the inlet for inserting the aerosol generating medium 60 into the aerosol generating device 100. The second end 10b of the accommodating chamber 10 is provided with a base 11. The base 11 is used to place the aerosol generating medium 60.
[0042] The optical ranging sensor 20 is configured to continuously emit optical emission signals at a preset first cycle and receive a first optical reflection signal and a second optical reflection signal.
[0043] Specifically, such as Figure 2 As shown, the optical ranging sensor 20 is disposed on the side of the base 11 away from the first end 10a, and the base 11 is provided with at least one through hole 110. The optical ranging sensor 20 continuously emits optical emission signals within a preset emission angle range. At least a portion of the optical emission signals are emitted to the surface of the base 11 near the optical ranging sensor 20 to generate optical reflection signals, and at least a portion of the optical emission signals pass through the through hole 110 and are emitted into the accommodating chamber 10.
[0044] For an optical emission signal that passes through the through-hole 110 and exits into the accommodating chamber 10, if no aerosol generating medium 60 extends into the accommodating chamber 10 from the first end 10a, the optical emission signal will further pass through the accommodating chamber 10 and exit from the first end 10a to the outside of the aerosol generating device 100, thus no optical reflection signal is generated. Conversely, if an aerosol generating medium 60 is about to or has already extended into the accommodating chamber 10 from the first end 10a, the optical emission signal will exit into the aerosol generating medium 60, thus generating a first optical reflection signal.
[0045] It should be noted that "continuously transmitting optical signals in a pre-set first cycle" means that the time interval between the nth and (n-1th)th optical signals transmitted by the optical ranging sensor 20 is the same as the time interval between the (n+1th)th and nth optical signals transmitted. n is an integer greater than 1.
[0046] It should be noted that in this embodiment, the "second optical reflection signal" is generated by the optical emission signal reflected by the base 11.
[0047] It should be noted that in this embodiment, the "first optical reflection signal" is generated by the reflection of an optical emission signal by the aerosol generating medium 60. Specifically, the "first optical reflection signal" is generated by the reflection of an optical emission signal passing through the through-hole 110 by the aerosol generating medium 60. That is, the first optical reflection signal will only be generated if at least a portion of the aerosol generating medium 60 is about to or has already extended from the first end 10a into the accommodating chamber 10. In other words, if the aerosol generating medium 60 does not extend from the first end 10a into the accommodating chamber 10, no first optical reflection signal will be generated, and the optical ranging sensing element 20 will not receive the first optical reflection signal.
[0048] The processing element 30 is configured to calculate a first distance value based on a first optical reflection signal, calculate a second distance value based on a second optical reflection signal, determine whether the distance difference between the first distance value and the second distance value meets a first preset condition, and control the aerosol generating device 100 to switch from a non-working state to a working state, i.e., control the aerosol generating device 100 to start, when the distance difference meets the first preset condition.
[0049] For example, when the distance difference meets a first preset condition, the processing element 30 controls the heating element of the aerosol generating device 100. Figure 2 (Not shown) is in working condition, and the aerosol generating medium is heated by a heating element to generate aerosol.
[0050] It should be noted that the "first distance value" is the distance between the aerosol generating medium 60 and the optical ranging sensing element 20. The "second distance value" is the distance between the side of the base 11 closest to the optical ranging sensing element 20 and the optical ranging sensing element 20.
[0051] The first preset condition is that the distance difference is less than or equal to a preset first distance threshold. The specific value of the first distance threshold can be set according to actual needs; however, it is worth mentioning that, for example... Figure 2 As shown, the specific value of the first distance threshold should be greater than or equal to the thickness of the base 11 in the axial direction of the accommodating chamber 10.
[0052] For example, when the specific value of the first distance threshold is equal to the thickness of the base 11 in the axial direction of the receiving chamber 10, the specific value of the first distance is L1, which is the first distance between the bottom surface of the aerosol generating medium 60 and the optical ranging sensing element 20 in a direction parallel to the axial direction of the receiving chamber. The specific value of the second distance is L2, which is the second distance between the side of the base 11 near the optical ranging sensing element 20 and the optical ranging sensing element 20 in a direction parallel to the axial direction of the receiving chamber. Thus, when the aerosol generating medium 60 is inserted into the base 11, the thickness h, the first distance value L1, and the second distance value L2 satisfy a first preset relationship:
[0053] h = L1 - L2 (1).
[0054] When the aerosol generating medium 60 is not inserted into the base 11, the distance difference between the distance value L1 and the distance value L2 is greater than the thickness h, so the aforementioned first preset relationship (1) is not satisfied.
[0055] In the aerosol generating device 100 provided in this embodiment, a first optical reflection signal and a second optical reflection signal are received and processed by the processing element 30. The processing element 30 calculates the distance value between the aerosol generating medium 60 and the optical ranging sensing element 20 (i.e., the first distance value) based on the first optical reflection signal and the distance value between the base 11 and the optical ranging sensing element 20 (i.e., the second distance value) based on the second optical reflection signal. Thus, the actual distance between the aerosol generating medium 60 and the base 11 can be determined in real time based on the relationship between the distance difference between the first distance value and the second distance value and the first distance threshold. In other words, it is possible to determine whether the aerosol generating medium 60 is inserted into the base 11 based on the distance difference. Then, when the aerosol generating medium 60 is inserted into the base 11 (i.e., the distance difference meets the first preset condition), the aerosol generating device 100 is switched from a non-working state to a working state in a timely manner.
[0056] For example, the processing element 30 can calculate the first distance value based on the second time node t2 of receiving the first optical reflection signal, the first time node t1 of emitting the optical emission signal that generates the first optical reflection signal, and a second preset formula. The second preset formula is:
[0057] L=C*(△t / 2) (2);
[0058] In the second preset relationship (2), C is the propagation speed of the optical emission signal and / or optical reflection signal in a specific environment (aerosol generation device), Δt is the time difference between the second time node t2 and the first time node t1, and L is the first distance value.
[0059] For example, the processing element 30 can calculate the first distance value based on the energy value of the first optical reflection signal and a third preset formula. The third preset formula is:
[0060] L=(P / (K*d)) 3 (3);
[0061] To calculate the first distance value, in the third preset relationship (3), P is the energy value of the received first optical reflection signal, K is a preset constant determined by the transmission power and conversion efficiency of the optical ranging sensing element, and d is the reflectivity of the aerosol generating medium.
[0062] For example, the processing element 30 can calculate the second distance value based on the fourth time node t4 of receiving the second optical reflection signal, the third time node t3 of emitting the optical emission signal that generates the second optical reflection signal, and the second preset relationship (2).
[0063] In order to obtain the second distance value, in the second preset relationship (2), C is the propagation speed of the optical emission signal and / or optical reflection signal in a specific environment (aerosol generation device), Δt is the time difference between the fourth time node t4 and the third time node t3, and L is the second distance value.
[0064] For example, the processing element 30 can calculate the second distance value based on the energy value of the second optical reflection signal and the third preset formula (3).
[0065] In order to obtain the second distance value, in the third preset relationship (3), P is the energy value of the received second optical reflection signal, K is a preset constant determined by the transmission power and conversion efficiency of the optical ranging sensing element, and d is the reflectivity of the base.
[0066] Furthermore, in some embodiments provided in this application, the processing element 30 is also configured to output a feedback signal when the distance difference meets a first preset condition. The optical ranging sensing element 20 is also configured to stop emitting optical transmission signals based on the feedback signal.
[0067] In other words, when the processing element 30 detects that the aerosol generating medium has been inserted into the base, it promptly controls the optical ranging sensor element 20 to switch from the working state to the non-working state, thereby reducing the energy consumption of the aerosol generating device 100.
[0068] Furthermore, in some embodiments provided in this application, the optical ranging sensing element 20 is also configured to continue transmitting optical transmission signals when the distance difference does not meet a first preset condition.
[0069] If the distance difference does not meet the first preset condition, the optical ranging sensor 20 is controlled to continue to emit optical emission signals, so that the optical ranging sensor 20 can continue to receive the first optical reflection signal, and the processing element 30 can calculate another first distance value based on the received first optical reflection signal.
[0070] It is worth mentioning that, for the same aerosol generating device 100, the second distance value between the base 11 and the optical ranging element 20 is fixed, that is, the second distance value is a constant. However, since the insertion of the aerosol generating medium into the accommodating chamber 10 is a dynamic process, a relative displacement occurs between the aerosol generating medium and the base 11. Therefore, the multiple first distance values calculated by the processing element 30 over time are also in a dynamic process. Specifically, the m-th first distance value calculated by the processing element 30 in the m-th calculation is less than the m-1-th first distance value calculated in the (m-1)-th calculation. Based on this, the m-th distance difference calculated in the m-th calculation is less than the m-1-th distance difference calculated in the (m-1)-th calculation. The optical transmission signal is stopped when the distance difference between the first and second distance values is satisfied by a certain calculation.
[0071] Furthermore, in some embodiments provided in this application, when the optical ranging sensor 20 receives a first optical reflection signal, the optical ranging sensor is further configured to continuously emit optical emission signals at a preset second cycle. The duration of the second cycle is shorter than the duration of the first cycle.
[0072] Since the duration of the second cycle is shorter than that of the first cycle, the number of times optical emission signals are continuously emitted in the second cycle per unit time is higher than the number of times optical emission signals are continuously emitted in the first cycle. Therefore, the number of first optical reflection signals received by continuously emitting optical emission signals in the second cycle per unit time is higher than the number of first optical reflection signals received by continuously emitting optical emission signals in the first cycle. Thus, the processing element 30 can calculate multiple first distance values in real time based on more first optical reflection signals, thereby calculating multiple distance differences in real time. This improves the detection accuracy of the aerosol generating medium inserted into the aerosol generating device 100, and further improves the timeliness of the processing element 30 in controlling the start-up of the aerosol generating device 100.
[0073] Please continue reading. Figure 1 as well as Figure 2 In another embodiment provided in this application, the aerosol generating device 100 provided in this embodiment differs from the aerosol generating device 100 provided in any of the foregoing embodiments in that:
[0074] The optical ranging sensor 20 is configured to continuously emit optical emission signals and receive first optical reflection signals at a preset first cycle.
[0075] The processing element 30 is configured to calculate a first distance value based on a first optical reflection signal, determine whether the first distance value meets a second preset condition, and control the aerosol generating device to switch from a non-working state to a working state if the first distance value meets the second preset condition.
[0076] The second preset condition is that the first distance value is less than or equal to a preset second distance threshold.
[0077] It should be noted that the "second distance threshold" is the distance between the side of the base 11 away from the optical ranging sensor 20 and the optical ranging sensor 20. The specific value of the second distance threshold can be set according to actual needs; however, it is worth mentioning that, for example... Figure 2 As shown, the specific value of the second distance threshold E2 should be greater than or equal to the sum of the thickness h and the second distance value L2. For example, when the specific value of the second distance threshold is equal to the sum of the thickness h and the second distance value L2, and the aerosol generating medium is inserted into the base 11, the first distance value L1 and the second distance threshold E2 satisfy a fourth preset relationship:
[0078] L1 = E2.
[0079] It is worth mentioning that for aerosol generating equipment 100 of the same batch and with the same product model, since the optical ranging sensor 20 is located in the same position in the aerosol generating equipment 100 and the size and shape of the base 11 are the same, the second distance value L2 between the side of the base 11 close to the optical ranging sensor 20 and the optical ranging sensor 20 is a fixed value, and the thickness h of the base 11 is also a fixed value. Thus, the distance between the side of the base 11 away from the optical ranging sensor 20 and the optical ranging sensor 20 is a fixed value. Therefore, the distance value between the side of the base 11 away from the optical ranging sensor 20 and the optical ranging sensor 20 can be determined as the second distance threshold during the commissioning stage before the aerosol generating equipment 100 leaves the factory.
[0080] In this way, the aerosol generating device 100 continuously emits optical generation signals and receives first optical reflection signals in a first cycle through the optical ranging sensing element 20. Then, the processing element 30 calculates the first distance value and calls the pre-stored second distance threshold based on the first optical reflection signal. Thus, the actual distance between the aerosol generating medium and the base 11 can be determined in real time by comparing the magnitude of the first distance value and the second distance threshold. That is, the aerosol generating medium can be determined to be inserted into the base 11 based on the magnitude of the first distance value and the second distance threshold. Then, when the aerosol generating medium is inserted into the base 11 (i.e., the first distance value meets the second preset condition), the aerosol generating device 100 is promptly controlled to switch from the non-working state to the working state.
[0081] In the aerosol generating device 100 provided in this embodiment, since the processing element 30 only needs to calculate the first distance value, the computational load on the processing element 30 can be reduced. In other words, the performance requirements of the processing element 30 required by the aerosol generating device 100 provided in this embodiment are not as stringent as those required by the processing element 30 required by the aerosol generating device 100 provided in the previous embodiments. A processing chip with relatively lower cost can be selected as the processing element 30, thereby reducing the production cost of the aerosol generating device 100.
[0082] Furthermore, the processing element 30 is also configured to output a feedback signal when the first distance value meets a second preset condition. The optical ranging sensor element 20 is also configured to stop emitting optical transmission signals based on the feedback signal.
[0083] Furthermore, the optical ranging sensor 20 is also configured to continue transmitting optical transmission signals if the first distance value does not meet the second preset condition.
[0084] Furthermore, upon receiving the first first optical reflection signal, the optical ranging sensor 20 is also configured to continuously emit optical transmission signals at a preset second cycle. The duration of the second cycle is shorter than the duration of the first cycle.
[0085] Since the duration of the second cycle is shorter than that of the first cycle, the processing element 30 can calculate more first distance values in real time based on more first optical reflection signals. This allows for more comparisons between the first distance values and the second distance threshold, thereby improving the detection accuracy of the aerosol generating medium inserted into the aerosol generating device 100 and improving the timeliness of the processing element 30 in controlling the aerosol generating device 100 to start.
[0086] The following describes the specific process of the detection method (hereinafter referred to as the detection method) for the insertion of the aerosol generating medium into the aerosol generating device provided in the embodiments of this application.
[0087] In one embodiment provided in this application, such as Figure 3 As shown, the detection method 200 includes steps S201, S202, S203, S204, S205, S206, S207 and S208.
[0088] Step S201: Control the optical ranging sensor to continuously emit an optical emission signal for a preset first cycle.
[0089] Step S202: Control the optical ranging sensor to receive the first optical reflection signal.
[0090] In step S202, the first optical reflection signal is generated by the optical emission signal reflected by the aerosol generating medium.
[0091] Step S203: Calculate the first distance value based on the first optical reflection signal.
[0092] In step S203, the first distance value is the distance between the aerosol generating medium and the optical ranging sensing element.
[0093] Step S204: Control the optical ranging sensor to receive the second optical reflection signal.
[0094] In step S204, the second optical reflection signal is generated by the optical emission signal reflected by the base of the aerosol generating device.
[0095] The base is used to hold the aerosol generating medium. The base has at least one through-hole through which a portion of the optical reflected signal can exit to the aerosol generating medium. In other words, the base has at least one through-hole through which the optical emitted signal passes and exits to the aerosol generating medium.
[0096] Step S205: Calculate the second distance value based on the second optical reflection signal.
[0097] In step S205, the second distance value is the distance between the base and the optical ranging sensor. Specifically,
[0098] Step S206: Calculate the distance difference based on the first distance value and the second distance value.
[0099] It is worth mentioning that steps S202 and S204 can be executed simultaneously or sequentially, as long as steps S202 and S204 are executed after step S201 and before step S206. Steps S203 and S205 can also be executed simultaneously or sequentially, and this embodiment does not limit this, as long as step S203 is executed after step S202 and before step S206, and step S205 is executed after step S204 and before step S206.
[0100] Step S207: Determine whether the distance difference meets the first preset condition.
[0101] In step S207, the first preset condition is that the distance difference is less than or equal to a preset first distance threshold.
[0102] The specific value of the first distance threshold can be set according to actual needs. It is worth mentioning that, for example... Figure 2 As shown, the specific value of the first distance threshold should be greater than or equal to the thickness of the base in the axial direction of the accommodating chamber.
[0103] Step S208: When the distance difference meets the first preset condition, control the aerosol generating device to switch from non-working state to working state.
[0104] In the detection method 200 provided in this embodiment, the optical ranging sensing element is first controlled to continuously emit optical emission signals in a first cycle. Then, a first distance value is calculated based on the received first optical reflection signal and a second distance value is calculated based on the received second optical reflection signal. Then, a distance difference is calculated based on the calculated first distance value and the second distance value. Finally, it is determined whether the distance difference meets a first preset condition. If the distance difference meets the first preset condition, the aerosol generating device is controlled to switch from a non-working state to a working state. Thus, by judging the relationship between the distance difference and the first distance threshold, it is determined whether the aerosol generating medium is inserted into the base. In this way, when the aerosol generating medium is inserted into the base, the aerosol generating device can be started in time so that the aerosol generating device can perform heating and other treatments on the aerosol generating medium inserted into the base in a timely manner.
[0105] Furthermore, in the detection method 200 provided in this embodiment, since both the first distance value and the second distance value are calculated based on optical reflection signals (obtained from the first optical reflection signal and the second optical reflection signal), this detection method 200 can be applied to aerosol generating devices with different internal structures.
[0106] Furthermore, such as Figure 3 As shown, if the distance difference does not meet the first preset condition, the detection method 200 further includes: repeating step S201. That is, if the distance difference does not meet the first preset condition, the step of controlling the optical ranging sensor to continuously emit an optical emission signal for a preset first period is executed.
[0107] Furthermore, in some embodiments provided in this application, such as Figure 4 As shown, Figure 4 and Figure 3 The difference lies in that, upon receiving the first first optical reflection signal, the detection method 200 further includes:
[0108] In step S209, an optical emission signal is continuously emitted for a pre-set second period. In step S209, the duration of the second period is shorter than the duration of the first period.
[0109] The statement that "the duration of the second cycle is shorter than the duration of the first cycle" indicates that the number of times optical emission signals are continuously emitted in the second cycle per unit time is greater than the number of times optical emission signals are continuously emitted in the first cycle. Therefore, the number of first optical reflection signals received based on the continuous emission of optical emission signals in the second cycle per unit time is greater than the number of first optical reflection signals received based on the continuous emission of optical emission signals in the first cycle.
[0110] The receipt of the first optical reflection signal by the optical ranging sensor indicates that the aerosol-generating medium is about to, or has already, departed from... Figure 2 The first end shown extends into the accommodating cavity. Therefore, if the number of times the optical ranging sensing element emits optical emission signals per unit time is increased in this case, the number of times the optical ranging sensing element 20 receives the first optical reflection signal per unit time will also increase accordingly, thereby increasing the number of times the first distance value is detected. This, in turn, can improve the detection accuracy of detecting the aerosol generating medium inserted into the aerosol generating device, and further improve the timeliness of controlling the start-up of the aerosol generating device.
[0111] It is worth mentioning that step S209 is executed after step S202.
[0112] Another embodiment of this application also provides a detection method, such as Figure 5 As shown, the detection method 300 includes steps S301, S302, S303, S304 and S305.
[0113] Step S301: Control the optical ranging sensor to continuously emit optical emission signals for a preset first cycle.
[0114] Step S302: Control the optical ranging sensor to receive the first optical reflection signal.
[0115] In step S302, the first optical reflection signal is generated by the optical emission signal reflected by the aerosol generating medium.
[0116] Step S303: Calculate the first distance value based on the first optical reflection signal.
[0117] In step S303, the first distance value is the distance between the aerosol generating medium and the optical ranging sensing element.
[0118] Step S304: Determine whether the first distance value meets the second preset condition.
[0119] In step S304, the second preset condition is that the first distance value is less than or equal to the second distance threshold.
[0120] Step S305: When the first distance value meets the second preset condition, control the aerosol generating device to switch from non-working state to working state.
[0121] In the detection method 300 provided in this embodiment, an optical emission signal is continuously emitted by an optical ranging sensing element in a first cycle. Then, a first distance value is calculated based on the received first optical reflection signal. Finally, it is determined whether the first distance value meets a second preset condition. If the first distance value meets the second preset condition, the aerosol generating device is controlled to switch from a non-working state to a working state. The aerosol generating medium is determined by judging the relationship between the first distance value and a pre-stored second distance threshold. Thus, if the aerosol generating medium is inserted into the base, the aerosol generating device can be started in a timely manner so that the aerosol generating device can perform heating and other treatments on the aerosol generating medium inserted into the base in a timely manner.
[0122] Furthermore, such as Figure 5 As shown, if the first distance value does not meet the second preset condition, the detection method further includes: repeating step S301. That is, if the first distance value does not meet the second preset condition, the step of controlling the optical ranging sensor to continuously emit an optical emission signal for a preset first period is executed.
[0123] Furthermore, in some embodiments provided in this application, such as Figure 6 As shown, Figure 6 and Figure 5 The difference lies in that, upon receiving the first optical reflection signal, the detection method 300 further includes:
[0124] Step S306: Continuously transmit optical emission signals for a pre-set second cycle.
[0125] In step S306, the duration of the second cycle is shorter than the duration of the first cycle. It is worth noting that step S306 is executed after step S302.
[0126] In some embodiments of this application, a computer-readable storage medium is also provided. The computer-readable storage medium stores a computer program that, when executed by a processor, implements… Figures 3 to 6 The steps of any detection method are shown, and the same technical effect can be achieved. To avoid repetition, they will not be described in detail here.
[0127] The processor mentioned above refers to the processor in the electronic atomization device. Specifically, the processor involved in the various embodiments provided in this application can be a general-purpose processor, a central processing unit, a graphics processing unit, a digital signal processor, a programmable logic device, a quantum computing-based data processing logic device, etc., and is not limited to these. Computer-readable storage media include at least one of non-volatile and volatile memory. Non-volatile memory may include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory may include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM).
[0128] In some embodiments of this application, a computer program product is also provided, which includes a computer program that, when executed by a processor, implements... Figures 3 to 6 The steps of any detection method are shown, and the same technical effect can be achieved. To avoid repetition, they will not be described in detail here.
[0129] Of course, this application may have other various embodiments. Without departing from the spirit and essential points of this application, those skilled in the art can make various corresponding changes and modifications based on this application, but these corresponding changes and modifications should all fall within the protection scope of the appended claims.
Claims
1. A method of detecting insertion of an aerosol generating medium into an aerosol generating apparatus, the method comprising: The method comprises: controlling the optical ranging sensor element to continuously emit an optical emission signal at a first preset period; controlling the optical ranging sensor element to receive a first optical reflection signal, wherein the first optical reflection signal is generated by the aerosol generating medium reflecting the optical emission signal; calculating a first distance value according to the first optical reflection signal, wherein the first distance value is a distance value between the aerosol generating medium and the optical ranging sensor element; controlling the optical ranging sensor element to receive a second optical reflection signal, wherein the second optical reflection signal is generated by a base of the aerosol generating device reflecting the optical emission signal, the base being configured to place the aerosol generating medium, and the base being provided with at least one through hole for the optical emission signal to pass through and be emitted to the aerosol generating medium; calculating a second distance value according to the second optical reflection signal, wherein the second distance value is a distance value between the base and the optical ranging sensor element; calculating a distance difference value according to the first distance value and the second distance value; determining whether the distance difference value satisfies a first preset condition, wherein the first preset condition is that the distance difference value is less than or equal to a first preset distance threshold value; in a case where the distance difference value satisfies the first preset condition, controlling the aerosol generating device to switch from a non-working state to a working state.
2. The detection method according to claim 1, characterized in that, The detection method further comprises: in a case where the distance difference value does not satisfy the first preset condition, repeatedly performing the step of controlling the optical ranging sensor element to continuously emit an optical emission signal at a first preset period.
3. A method of detecting insertion of an aerosol generating medium into an aerosol generating apparatus, the method comprising: The detection method comprises: controlling the optical ranging sensor element to continuously emit an optical emission signal at a first preset period; controlling the optical ranging sensor element to receive a first optical reflection signal, wherein the first optical reflection signal is generated by the aerosol generating medium reflecting the optical emission signal; calculating a first distance value according to the first optical reflection signal, wherein the first distance value is a distance value between the aerosol generating medium and the optical ranging sensor element; determining whether the first distance value satisfies a second preset condition, wherein the second preset condition is that the first distance value is less than or equal to a second distance threshold value; in a case where the first distance value satisfies the second preset condition, controlling the aerosol generating device to switch from a non-working state to a working state.
4. The detection method according to claim 3, characterized in that, The detection method further comprises: in a case where the first distance value does not satisfy the second preset condition, repeatedly performing the step of controlling the optical ranging sensor element to continuously emit an optical emission signal at a first preset period.
5. The detection method according to claim 1 or 3, characterized by, In a case where the first optical reflection signal is received, the detection method further comprises: continuously emitting the optical emission signal at a second preset period, wherein a duration of the second period is shorter than a duration of the first period.
6. An aerosol-generating device comprising, comprises: An accommodating chamber, a first end of the accommodating chamber being an entrance for an aerosol generating medium to be inserted into the aerosol generating apparatus, a second end of the accommodating chamber being provided with a base for placing the aerosol generating medium, the base being provided with at least one through hole; An optical distance measuring sensing element, the optical distance measuring sensing element being provided on a side of the base away from the first end, the optical distance measuring sensing element being configured to continuously emit an optical emission signal and receive a first optical reflection signal and a second optical reflection signal at a first preset period, wherein the first optical reflection signal is generated by the aerosol generating medium reflecting the optical emission signal, and the second optical reflection signal is generated by the base reflecting the optical emission signal; A processing element, the processing element being configured to calculate a first distance value according to the first optical reflection signal, calculate a second distance value according to the second optical reflection signal, determine whether a distance difference value between the first distance value and the second distance value satisfies a first preset condition, and control the aerosol generating apparatus to switch from a non-working state to a working state in a case where the distance difference value satisfies the first preset condition, wherein the first distance value is a distance value between the aerosol generating medium and the optical distance measuring sensing element, the second distance value is a distance value between the base and the optical distance measuring sensing element, and the first preset condition is that the distance difference value is less than or equal to a first distance threshold value.
7. The aerosol-generating device of claim 6, wherein, The optical distance measuring sensing element is further configured to continue to emit the optical emission signal in a case where the distance difference value does not satisfy the first preset condition.
8. An aerosol-generating device comprising, An accommodating chamber, a first end of the accommodating chamber being an entrance for an aerosol generating medium to be inserted into the aerosol generating apparatus, a second end of the accommodating chamber being provided with a base for placing the aerosol generating medium, the base being provided with at least one through hole; An optical distance measuring sensing element, the optical distance measuring sensing element being provided on a side of the base away from the first end, the optical distance measuring sensing element being configured to continuously emit an optical emission signal and receive a first optical reflection signal at a first preset period, wherein the first optical reflection signal is generated by the aerosol generating medium reflecting the optical emission signal; A processing element, the processing element being configured to calculate a first distance value according to the first optical reflection signal, determine whether the first distance value satisfies a second preset condition, and control the aerosol generating apparatus to switch from a non-working state to a working state in a case where the first distance value satisfies the second preset condition, wherein the first distance value is a distance value between the aerosol generating medium and the optical distance measuring sensing element, and the second preset condition is that the first distance value is less than or equal to a second distance threshold value. The optical distance measuring sensing element is further configured to continue to emit the optical emission signal in a case where the first distance value does not satisfy the second preset condition.
9. The aerosol-generating device of claim 8, wherein, 10. The aerosol-generating device of claim 6 or 8, wherein, In the case that the optical distance measuring sensor element receives the first first optical reflection signal, the optical distance measuring sensor element is further configured to continuously emit the optical emission signal with a pre-set second period, wherein a duration of the second period is shorter than a duration of the first period.
11. A computer readable storage medium, characterized in that, A computer program comprising, in the case that the computer program is run on an aerosol generating device, the computer program is configured to cause the aerosol generating device to perform the steps of the detection method according to any one of claims 1 to 5.
12. A computer program product, characterised in that, A computer program comprising, in the case that a processor of an aerosol generating device reads the computer program from a computer readable storage medium, the processor executes the computer program so that the aerosol generating device performs the steps of the detection method according to any one of claims 1 to 5.
