Method and apparatus for counting number of puffs, and aerosol generating device
By amplifying and PID operations on the target parameters of the aerosol generator, tracking the average value in real time, solving the problem of insufficient sensitivity of the number of suction ports in traditional methods, achieving more accurate statistics and lower hardware costs.
Patent Information
- Application Number
- PCT/CN2024/094234
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-05-31
- Filing Date
- 2024-05-20
- Publication Date
- 2024-12-05
AI Technical Summary
Traditional suction port count statistics methods have insufficient sensitivity in electronic cigarette products, resulting in reduced user experience and increased hardware costs.
By obtaining the target parameter measurement value of the aerosol generator and amplifying it, combining PID calculation to determine the duty cycle data, tracking the average value in real time to accurately count the number of suction ports, improving the sensitivity of suction motion capture.
Accurate statistics on the number of suction ports is achieved, hardware costs are reduced, and user experience and equipment battery life are improved.
Smart Images

Figure CN2024094234_05122024_PF_FP_ABST
Abstract
Description
A puff counting method, device and aerosol generating device
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims priority to a Chinese patent application filed with the Patent Office of China on May 31, 2023, with application number 202310634492.9 and entitled “A method, device and aerosol generating device for counting the number of puffs,” the entire contents of which are incorporated herein by reference. Technical Field
[0003] The present application relates to the field of aerosol technology, and in particular to a method and device for counting the number of puffs, and an aerosol generating device. Background Art
[0004] In e-cigarette products, the active ingredients and aromatic substances in the cartridges are limited. As the number of puffs and duration of puffs increase, the smoke and aroma become increasingly bland. By limiting the number of puffs, the surface temperature of the device can be lowered, the user experience of each cartridge can be improved, and the battery life of the device can be increased.
[0005] Currently, traditional puff counting solutions generally add pressure flow sensors such as air pressure, airflow, NTC, microphone, or temperature sensors or microphone switches to the airway. When the user takes a puff, the sensors can directly detect the user's puffing action. However, this solution increases the cost of component hardware.
[0006] Application Contents
[0007] The embodiments of the present application aim to provide a puff counting method, device, and aerosol generating device, which can accurately count the puff count of the aerosol generating device.
[0008] To solve the above technical problems, the embodiments of the present application provide the following technical solutions:
[0009] In a first aspect, embodiments of the present application provide a puff counting method, which is applied to an aerosol generating device, and the method comprises:
[0010] obtaining a measured value of a target parameter of the aerosol generating device;
[0011] amplifying the measured value of the target parameter and its target value;
[0012] determining duty cycle data of the aerosol generating device according to the amplified measured value and the target value;
[0013] Obtaining the real-time value and current average value of the duty cycle data;
[0014] A change in the number of puffs is determined based on the real-time value and the average value.
[0015] In some embodiments, determining the change in the number of puffs based on the real-time value and the average value includes:
[0016] A first difference between the real-time value and the average value is obtained, and if an absolute value of the first difference is greater than a first preset threshold, the number of puffs of the aerosol generating device is increased by one.
[0017] In some embodiments, determining duty cycle data of the aerosol generating device based on the amplified measured value and the target value includes:
[0018] Acquire a second difference between the amplified measurement value and the target value;
[0019] An incremental PID operation is performed on the second difference to obtain the duty cycle data.
[0020] In some embodiments, the method further comprises:
[0021] Determining whether a preset buffer storing the duty cycle data is full;
[0022] If yes, determining the current average value according to the duty cycle data in the preset buffer, and clearing the data in the preset buffer;
[0023] If not, continue to store the real-time value of the duty cycle data in the preset buffer. In some embodiments, determining the current average value based on the duty cycle data in the preset buffer includes:
[0024] performing median filtering on the duty cycle data;
[0025] The average value of the filtered duty cycle data is updated as the current average value.
[0026] In some embodiments, after increasing the number of puffs of the aerosol generating device by one, the method further comprises:
[0027] synchronizing the average value with the real-time value for a first preset time;
[0028] Jump to the step of determining whether the preset buffer storing the duty cycle data is full.
[0029] In some embodiments, the update frequency of the average value is less than the update frequency of the real-time value.
[0030] In some embodiments, when the absolute value of the first difference is greater than a first preset threshold, the method further includes:
[0031] Continuously obtaining the first difference, and counting the number of times the absolute value of the first difference is greater than the first preset threshold;
[0032] If the number of times is greater than a second preset threshold, the number of puffs of the aerosol generating device is increased by one.
[0033] In some embodiments, when the first difference values are continuously obtained, the average value is the same average value.
[0034] In some embodiments, before the step of obtaining a measurement value of a target parameter of the aerosol generating device, the method further comprises:
[0035] heating the aerosol generating device according to a preset duty cycle during a second preset time period;
[0036] adjusting the output power of the aerosol generating device by an incremental PID;
[0037] The step of obtaining a measurement of a target parameter of the aerosol-generating device is initiated when the temperature of the aerosol-generating device is stabilized.
[0038] In a second aspect, an embodiment of the present application provides a puff counting device, which is applied to an aerosol generating device. The puff counting device includes:
[0039] a first acquisition module, configured to acquire a measured value of a target parameter of the aerosol generating device;
[0040] an amplification module, configured to amplify the measured value of the target parameter and its target value;
[0041] a first determining module, configured to determine duty cycle data of the aerosol generating device according to the amplified measurement value and the target value;
[0042] A second acquisition module is used for the real-time value and current average value of the duty cycle data;
[0043] The second determining module is configured to determine a change in the number of puffs according to the real-time value and the average value.
[0044] In a third aspect, embodiments of the present application provide an aerosol generating device, comprising: at least one processor; and
[0045] A memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform the puff counting method as described above.
[0046] In various embodiments of the present application, the puff counting method first obtains a measured value of a target parameter of the aerosol generating device, amplifies the measured value of the target parameter and its target value, then determines duty cycle data of the aerosol generating device based on the amplified measured value and target value, obtains a real-time value and a current average value of the duty cycle data, and finally determines a change in the number of puffs based on the real-time value and the average value. This puff counting method, which simultaneously amplifies the measured value of the target parameter and its target value and then determines the duty cycle data of the aerosol generating device based on the amplified measured value and target value, increases the change in duty cycle data caused by puffing, thereby improving the sensitivity of capturing puffing, thereby accurately determining whether the puff count has changed, and thus making the puff count more accurate. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] One or more embodiments are exemplarily illustrated by pictures in the corresponding drawings. These exemplifications do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings are represented as similar elements. Unless otherwise stated, the figures in the drawings do not constitute proportional limitations.
[0048] FIG1a is a schematic structural diagram of an aerosol generating device provided in an embodiment of the present application;
[0049] FIG1 b is a schematic diagram of the circuit structure of one of the aerosol generating devices provided in an embodiment of the present application;
[0050] FIG1c is a schematic diagram of the hardware structure of one of the controllers provided;
[0051] FIG2 is a flow chart of a method for counting puffs provided in an embodiment of the present application;
[0052] FIG3 is a schematic flow chart of step S23 in FIG2 ;
[0053] FIG4 is a schematic diagram of one type of duty cycle data provided in an embodiment of the present application;
[0054] FIG5 is a flow chart of a method for counting puffs provided in an embodiment of the present application;
[0055] FIG6 is a schematic diagram of one type of duty cycle data provided in an embodiment of the present application;
[0056] FIG7 is a flow chart of a method for counting puffs provided in an embodiment of the present application;
[0057] FIG8 is a schematic structural diagram of a puff counting device according to an embodiment of the present application. DETAILED DESCRIPTION
[0058] In order to make the purpose, technical solutions and advantages of this application more clear, the following further describes this application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain this application and are not intended to limit this application.
[0059] An aerosol-generating device is a device that heats an aerosol-generating article to form an inhalable aerosol without burning or igniting the aerosol-generating article. It may also be described as a "tobacco heating product" or "tobacco heating device" or "electronic cigarette device" or similar.
[0060] The term "aerosol-generating article" refers to a material that, when heated, provides a volatile component in the form of an aerosol. In some embodiments, the aerosol-generating article may comprise a tobacco component, wherein the tobacco component is any material comprising tobacco or its derivatives. The tobacco component may comprise one or more of shredded tobacco, tobacco fibers, shredded tobacco, pressed tobacco, tobacco stems, tobacco flakes, and / or tobacco extracts. In some embodiments, the aerosol-generating article may comprise a tobacco substitute.
[0061] Similarly, there are so-called electronic cigarette devices, which typically vaporize a liquid aerosol-generating article, which may or may not contain nicotine. In other embodiments, an aerosol-generating device provides an aerosol or vapor by heating a solid aerosol-generating article. In certain embodiments, the aerosol-generating device is a tobacco heating product.
[0062] Please refer to Figures 1a-1b. Figure 1a is a schematic diagram of the structure of an aerosol-generating device provided in an embodiment of the present application, and Figure 1b is a schematic diagram of the circuit structure of an aerosol-generating device provided in an embodiment of the present application. As shown in Figures 1a-1b, the aerosol-generating device 1 includes a power source 2, a heating element 3, a heating chamber 4, an aerosol-generating article 5, and a controller 6.
[0063] The heating element 3 is used to heat the aerosol-generating article 5 to generate an aerosol. The aerosol-generating article 5 can be stored in the heating chamber 4 so that the aerosol-generating article 5 can be heated in the heating chamber 4. For example, the heating chamber 4 can be positioned close to the heating element 3 so that the heat energy from the heating element 3 heats the aerosol-generating article 5 therein to volatilize the aerosol without burning the aerosol-generating article 5.
[0064] The heating element 3 may comprise a generally cylindrical, elongated heating element 3, and the heating cavity 4 is located around the circumferential longitudinal surface of the heating element 3. Thus, the heating cavity 4 and the aerosol-generating article 5 comprise a coaxial layer surrounding the heating element 3. However, in other embodiments, heating elements 3 and heating cavities 4 of other shapes and configurations may alternatively be used.
[0065] The heating element 3 may be a resistive heating element, meaning that when an electric current is applied to the heating element 3, the resistance in the heating element 3 converts electrical energy into thermal energy, which heats the aerosol-generating article 5. The heating element 3 may be in the form of a resistive wire, mesh, coil, and / or multiple wires. In some embodiments, the heating element 3 may be a thin film heater, such as a resistive thin film heater or an infrared thin film heater.
[0066] The heating element 3 can also be a conductor or a semiconductor, and can include a metal or a metal alloy. Metals are excellent conductors of electrical and thermal energy. Suitable metals include, but are not limited to, copper, aluminum, platinum, tungsten, gold, silver, and titanium. Suitable metal alloys include, but are not limited to, nickel-chromium alloys and stainless steel.
[0067] The heating element 3 may also be an electromagnet. A changing current flowing through the electromagnet generates a changing magnetic field. The changing magnetic field generates one or more eddy currents inside the heating element 3, so that the heating element 3 is heated.
[0068] The power source 2 is electrically connected to the heating element 3 for providing power to the heating element 3. It can be a power source for providing electricity to the heating element 3, such as a lithium-ion battery, a nickel battery, an alkaline battery and / or other batteries. When necessary, the power source 2 can provide electrical energy to the heating element 3.
[0069] The power source 2 is also electrically connected to a controller 6, allowing the controller 6 to adjust the power output by the power source 2. During the preheating phase, the controller 6 controls the power source 2 to supply power to the heating element 3 at a high power level, thereby enabling the heating element 3 to rapidly heat the aerosol-generating article 5 to a predetermined temperature, ensuring that aerosol is generated when the user takes a puff. For example, the controller 6 may control the power source 2 to supply power to the heating element 3 at full power during the preheating phase. After preheating is complete, the controller 6 maintains the temperature of the aerosol-generating article through PWM control to ensure that aerosol is generated when the user takes a puff. Specifically, the controller 6 adjusts the power output by the power source 2 by adjusting the PWM duty cycle, thereby maintaining the temperature of the aerosol-generating article 5. Therefore, by adjusting the power output by the power source 2 to the heating element 3, the controller 6 can control the temperature of the heating element 3, and thereby control aerosol generation. The controller can be configured at any suitable location in the aerosol-generating device 1.
[0070] In some embodiments, the controller 6 can be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), a single-chip microcomputer, an ARM (Acorn RISC Machine) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination of these components. In addition, the controller 6 can also be any traditional processor, controller, microcontroller, or state machine. The controller 6 can also be implemented as a combination of computing devices, such as a combination of a DSP and a microprocessor, multiple microprocessors, one or more microprocessors combined with a DSP, and / or any other such configuration. The controller 6 can also be a frequency converter board or main control board of a washing machine.
[0071] As shown in Figure 1c , the controller 6 includes at least one processor 61 and a memory 62 communicatively coupled to the at least one processor 61. Figure 1c illustrates one processor 61 as an example. The memory 62 stores instructions executable by the at least one processor 61. The instructions are executed by the at least one processor 61 to enable the at least one processor 61 to perform the puff counting method described in the following embodiments. The processor 61 and the memory 62 may be connected via a bus or other means; Figure 1c illustrates a bus connection as an example.
[0072] The processor 61 can be implemented by using at least one of the following: an application-specific integrated circuit (ASIC), a digital signal processor (DSP), a digital signal processing device (DSPD), a programmable logic device (PLD), a field programmable gate array (FPGA), a processor, a controller, a microcontroller, a microprocessor, or other electronic units that perform these functions.
[0073] The memory 62 includes high-speed random access memory and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other non-volatile solid-state memory device. In some embodiments, the memory 62 may optionally include a memory located remotely from the processor 61, and such remote memory may be connected to the aerosol-generating device via a network. Examples of such networks include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0074] The memory 62 is used to store non-volatile software programs, non-volatile computer-executable programs, and modules, such as the program instructions / units corresponding to the puff counting method / device described herein. The processor 61 executes the non-volatile software programs, instructions, and units stored in the memory 62 to perform various functional applications and data processing of the aerosol generating device, thereby implementing the puff counting method / device described in the following method embodiment.
[0075] The controller determines the PWM duty cycle based on the measured value and target value of the target parameter of the aerosol generating device to control the power output by the power source 2. The target parameter can be the temperature of the heating element or the resistance of the heating element, which can be set as needed.
[0076] For example, if the target parameter is the temperature of the heating element, when a user draws on an aerosol generating device, the temperature of the heating element will inevitably drop. At this point, the PWM duty cycle will change to regulate the temperature of the heating element. Therefore, capturing the changes in the PWM duty cycle can capture the user's puffing action and thus count the number of puffs.
[0077] However, the temperature change caused by the puffing action is relatively small, and thus the PWM duty cycle change is not sensitive, and the capture of the PWM duty cycle change is even less sensitive, resulting in the inability to accurately determine the change in the number of puffs and the inability to accurately count the number of puffs.
[0078] Based on the above reasons, an embodiment of the present application provides a puff count counting method, which is applied to an aerosol generating device to improve the accuracy of puff count counting.
[0079] Please refer to FIG. 2 , which is a flow chart of a puff counting method provided in an embodiment of the present application. As shown in FIG. 2 , the puff counting method S200 includes:
[0080] S21. Obtaining a measured value of a target parameter of the aerosol generating device;
[0081] S22, amplifying the measured value of the target parameter and its target value;
[0082] S23. Determine duty cycle data of the aerosol generating device according to the amplified measurement value and the target value;
[0083] Specifically, the target parameter can be the temperature of the heating element. For example, a thermocouple can be attached to the heating element, or the actual temperature of the heating element can be directly measured using a temperature measuring element such as an infrared thermometer. This actual temperature serves as the measured value of the heating element. Furthermore, a target value for the heating element temperature is pre-set in the controller. This target value is the temperature required for the heating element to heat the aerosol-generating article when the user inhales the aerosol-generating article, causing the article to volatilize and produce a suitable aerosol.
[0084] The controller is equipped with a PID control algorithm that amplifies both the measured and target values of the heating element's temperature by a preset multiple. The amplified measured and target values are then calculated using PID. The PID algorithm determines the duty cycle based on the change in the difference between the amplified target and measured values. Because the measured and target values are amplified, the duty cycle data determined by the PID algorithm is easier to capture. Therefore, when smoking causes temperature changes, the duty cycle data is determined based on the change in the difference between the amplified target and measured values. This facilitates capturing changes in the duty cycle data caused by smoking, thereby increasing the likelihood and sensitivity of capturing smoking motions and improving the accuracy of subsequent puff counts.
[0085] Alternatively, in some embodiments, according to the definition of TCR (temperature coefficient of resistance):
[0086] The temperature of the heating element can also be characterized by the resistance value of the heating element. Therefore, in some embodiments, the target parameter can also be the resistance value of the heating element, that is, the target value of the resistance of the heating element is the resistance value corresponding to the temperature required for the heating element to heat the aerosol-generating product to produce a suitable aerosol. The measured value of the resistance of the heating element is the real-time value of the heating element in actual work. The real-time value can be obtained by measuring the voltage and current of the heating element, and then the measured value and target value of the resistance of the heating element are amplified by a preset multiple at the same time, and the amplified measured value and target value are calculated using PID. The PID can determine the duty cycle data based on the change in the difference between the amplified measured value and the target value.
[0087] It should be noted that the aforementioned amplification may be performed by amplifying the measured value and the target value individually by a predetermined factor. For example, the measured value and the target value may be amplified by a factor of 10,000. The PID can then determine the duty cycle data based on the change in the difference between the measured value and the target value after amplification. Alternatively, in some embodiments, the aforementioned amplification may be performed by performing a related operation relationship on the measured value and the target value, respectively, and then amplifying the value. The related operation relationship may be obtained from a related formula, such as the TCR definition formula described above.
[0088] In some embodiments, the duty cycle data is determined using PID calculation. Specifically, as shown in FIG3 , step S23 includes:
[0089] S231, obtaining a second difference between the amplified measurement value and the target value;
[0090] S232: Perform an incremental PID operation on the second difference to obtain the duty cycle data.
[0091] When using incremental PID, the value obtained is the change relative to the previous value, so that the duty cycle data will not change suddenly and will be smoother.
[0092] S24, obtaining the real-time value and current average value of the duty cycle data;
[0093] The duty cycle data is stored in a preset buffer. The size of the preset buffer is preset and can be set as needed. In the embodiment of the present application, the preset buffer can store 50 duty cycle data.
[0094] Only when the preset buffer is full of data will the current average value be determined based on the duty cycle data in the preset buffer. Specifically, a determination is first made as to whether the preset buffer storing the duty cycle data is full. If so, the current average value is determined based on the duty cycle data in the preset buffer and the data in the preset buffer is cleared. If not, the real-time value of the duty cycle data continues to be stored in the preset buffer.
[0095] The average value is updated at a different frequency than the duty cycle data, and is less frequently updated than the real-time value. The specific update frequencies of the average value and the real-time value can be set as needed. In this embodiment, the real-time value is updated at a frequency of 20 milliseconds, while the average value is updated at a frequency of 1 second.
[0096] To prevent excessively large or small values from affecting the average, the duty cycle data can be subjected to a median filter before calculating the average. Specifically, the duty cycle data is first subjected to a median filter, and the average value of the filtered duty cycle data is then updated to the current average value. This step makes the average value obtained more accurate, reduces the influence of interference, and further improves the accuracy of subsequent puff count statistics.
[0097] S25. Determine a change in the number of puffs according to the real-time value and the average value.
[0098] If the aerosol generator has a puffing action, the real-time value of the duty cycle data will change significantly relative to the current average value. When the change in the duty cycle data is captured, it is determined that the number of puffs of the non-combustion appliance has changed.
[0099] Specifically, a first difference between the real-time value and the average value is obtained. If the absolute value of the first difference is greater than a first preset threshold, the number of puffs of the aerosol generating device is increased by one. The first preset threshold is set as needed and is related to the product characteristics of the aerosol generating device.
[0100] The absolute value of the first difference represents the degree of change in the real-time value relative to the average value. Only when the degree of change is it determined that the number of puffs has changed, will the puff count be increased by one to prevent some normal fluctuations from being mistaken for puffing, further improving the accuracy of the puff count.
[0101] In summary, the puff count counting method first obtains the measured value of the target parameter of the aerosol generating device, amplifies the measured value of the target parameter and its target value, then determines the duty cycle data of the aerosol generating device based on the amplified measured value and target value, obtains the real-time value and current average value of the duty cycle data, and finally determines the change in the puff count based on the real-time value and average value. This puff count counting method amplifies the measured value of the target parameter and its target value simultaneously, and then determines the duty cycle data of the aerosol generating device based on the amplified measured value and target value. This method increases the change in the duty cycle data caused by the puff action, improves the sensitivity of capturing the puff action, and can more accurately determine whether the puff count has changed, thereby making the puff count more accurate.
[0102] In some embodiments, after the number of puffs from the aerosol generating device is increased by one, the average value will track the real-time value for a period of time before proceeding to the next average value calculation step. Specifically, the average value will be synchronized with the real-time value for a first preset time, and then the process will proceed to the step of determining whether the preset buffer storing the duty cycle data is full. The first preset time can be set as needed; in this embodiment, it can be 2 seconds.
[0103] Taking the case of three puffs as an example, the duty cycle data is shown in FIG4 , where the hollow dots represent the real-time value of the duty cycle data, and the solid horizontal line represents the average value of the duty cycle data. A change in the number of puffs is determined before three peaks, and the number of puffs is incremented by one. Then, at the peak, the average value equals the real-time value (at this point, the average value is also represented by a hollow dot). The average value tracks the real-time value for a period of time before the next puff count process is started.
[0104] In some embodiments, before obtaining the measured value of the target parameter of the aerosol generating device, that is, before starting the puff counting process, the aerosol generating device needs to be preheated. Specifically, as shown in FIG5 , the puff counting method S500 further includes:
[0105] S51, heating the aerosol generating device according to a preset duty cycle during a second preset time period;
[0106] S52, adjusting the output power of the aerosol generating device through an incremental PID;
[0107] S53 . When the temperature of the aerosol generating device is stable, start the step of obtaining the measured value of the target parameter of the aerosol generating device.
[0108] At the initial startup stage, if the measured value differs significantly from the target value, the preset duty cycle is output to heat the aerosol generating device at high power. When it approaches the target value, the PID is used to adjust the output power and the duty cycle data is slowly reduced until the temperature of the aerosol generating device stabilizes. The duty cycle data is automatically adjusted within a small range.
[0109] The second preset time period and the preset duty cycle can be set as needed. In the preheating stage, the duty cycle data is shown in Figure 6. From t1 to t2, the duty cycle data is a fixed value, which is the preset duty cycle. From t2 to t3, the duty cycle data gradually decreases until it changes within a small range. Among them, the hollow dots represent the real-time value of the duty cycle data, and the horizontal solid line represents the average value of the duty cycle data.
[0110] In some embodiments, interference may also cause the absolute value of the first difference to be greater than a first preset threshold, resulting in errors in the puff count. Therefore, in order to more reliably determine changes in the puff count and improve the accuracy of the puff count, it is necessary to determine multiple times whether the absolute value of the first difference is greater than the first preset threshold. Only when the absolute value of the first difference is greater than the first preset threshold multiple times is it determined that the puff count has changed, and the puff count is increased by one.
[0111] Specifically, when the absolute value of the first difference is greater than a first preset threshold, as shown in FIG7 , the puff count counting method S700 further includes:
[0112] S71. Continuously obtain the first difference, and count the number of times the absolute value of the first difference is greater than the first preset threshold;
[0113] S72: If the number of times is greater than a second preset threshold, the number of puffs of the aerosol generating device is increased by one.
[0114] When the first difference value is continuously obtained, the average value is the same, that is, the average value stops updating. The second preset threshold value can be set as needed and is related to the product characteristics of the aerosol generating device.
[0115] Therefore, only when the absolute value of the first difference is greater than the first preset threshold multiple times will it be determined that the number of puffs has changed, and the number of puffs will be increased by one, thereby reducing the error caused by interference and further improving the reliability and accuracy of the puff count.
[0116] In summary, the puff count counting method amplifies the measured value of the target parameter and its target value, and then determines the duty cycle data of the aerosol generating device based on the amplified measured value and target value. The change in the duty cycle data caused by the puffing action is greater, which improves the sensitivity of capturing the puffing action, thereby being able to more accurately determine whether the number of puffs has changed, thereby making the puff count statistics more accurate.
[0117] As another aspect of an embodiment of the present application, an embodiment of the present application provides a puff counting device, which is applied to an aerosol generating device.
[0118] In this embodiment, the puff counting device is a software system stored in the memory illustrated in FIG1c . The puff counting device includes a plurality of instructions stored in the memory. The processor can access the memory and execute the instructions to implement the aforementioned puff counting control logic.
[0119] 8 , a puff counting device 800 includes a first acquisition module 81 , an amplification module 82 , a first determination module 83 , a second acquisition module 84 , and a second determination module 85 .
[0120] The first acquisition module 81 is used to obtain the measured value of the target parameter of the aerosol generating device;
[0121] The amplification module 82 is used to amplify the measured value of the target parameter and its target value;
[0122] The first determination module 83 is used to determine the duty cycle data of the aerosol generating device according to the amplified measurement value and the target value;
[0123] The second acquisition module 84 is used for the real-time value and current average value of the duty cycle data;
[0124] The second determining module 85 is configured to determine a change in the number of puffs based on the real-time value and the average value.
[0125] In summary, the puff counting device amplifies the measured value of the target parameter and its target value, and then determines the duty cycle data of the aerosol generating device based on the amplified measured value and target value. The change in the duty cycle data caused by the puffing action is greater, which improves the sensitivity of capturing the puffing action, thereby being able to more accurately determine whether the number of puffs has changed, thereby making the statistics of the number of puffs more accurate.
[0126] It should be noted that the puff counting device described above can execute the puff counting method provided in the embodiments of this application, and has the corresponding functional modules and beneficial effects of executing the method. For technical details not fully described in the puff counting device embodiments, please refer to the puff counting method provided in the embodiments of this application.
[0127] The present application also provides a non-volatile computer storage medium storing computer-executable instructions. The computer-executable instructions are executed by one or more processors, such as a processor 61 in FIG. 1c , to enable the one or more processors to execute the puff counting method of any of the above method embodiments.
[0128] An embodiment of the present application further provides a computer program product, comprising a computer program stored on a non-volatile computer-readable storage medium, wherein the computer program comprises program instructions. When the program instructions are executed by an aerosol generating device, the aerosol generating device executes any one of the puff counting methods described above.
[0129] Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a general hardware platform, or of course by hardware. Those skilled in the art can understand that all or part of the processes in the above embodiment methods can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above methods. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.
[0130] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Based on the concept of the present application, the technical features in the above embodiments or different embodiments can also be combined, the steps can be implemented in any order, and there are many other variations in different aspects of the present application as described above. For the sake of simplicity, they are not provided in detail. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.
Claims
1. A method for counting the number of puffs, applied to an aerosol generating device, characterized in that: The method comprises: obtaining a measured value of a target parameter of the aerosol generating device; amplifying the measured value of the target parameter and its target value; Determining duty cycle data of the aerosol generating device according to the amplified measured value and the target value; Obtaining the real-time value and current average value of the duty cycle data; A change in the number of puffs is determined based on the real-time value and the average value.
2. The method according to claim 1, characterized in that: Determining the change in the number of puffs according to the real-time value and the average value includes: A first difference between the real-time value and the average value is obtained, and if an absolute value of the first difference is greater than a first preset threshold, the number of puffs of the aerosol generating device is increased by one.
3. The method according to claim 1, characterized in that Determining duty cycle data of the aerosol generating device according to the amplified measured value and the target value includes: Acquire a second difference between the amplified measured value and the target value; The second difference is subjected to an incremental PID operation to obtain the duty cycle data.
4. The method according to claim 2, characterized in that: The method further comprises: Determine whether the preset buffer storing the duty cycle data is full; If so, the current average is determined according to the duty cycle data of the preset buffer. value, and clear the data in the preset buffer; If not, continue to store the real-time value of the duty cycle data in the preset buffer.
5. The method according to claim 4, characterized in that The determining the current average value according to the duty cycle data in the preset buffer includes: Performing median filtering on the duty cycle data; The average value of the duty cycle data after filtering is updated to the current average value.
6. The method according to claim 4, characterized in that After increasing the number of puffs of the aerosol generating device by one, the method further comprises: Synchronizing the average value with the real-time value for a first preset time; Jump to the step of determining whether the preset buffer storing the duty cycle data is full.
7. The method according to claim 4, characterized in that The updating frequency of the average value is less than the updating frequency of the real-time value.
8. The method according to any one of claims 2 to 7, when the absolute value of the first difference is greater than a first preset threshold, the method further comprises: Continuously acquiring the first difference, and counting the number of times the absolute value of the first difference is greater than the first preset threshold; If the number is greater than a second preset threshold, the number of puffs of the aerosol generating device is increased by one.
9. The method according to claim 8, characterized in that When the first difference value is obtained continuously, the average value is the same average value.
10. The method according to any one of claims 1 to 7, characterized in that: Prior to the step of obtaining a measurement value of a target parameter of the aerosol generating device, the method further comprises: heating the aerosol generating device according to a preset duty cycle during a second preset time period; adjusting the output power of the aerosol generating device by means of an incremental PID; The step of obtaining a measurement of a target parameter of the aerosol-generating device is initiated when the temperature of the aerosol-generating device is stabilized.
11. A puff counting device, applied to an aerosol generating device, characterized in that: The puff counting device comprises: A first acquisition module, used to acquire a measured value of a target parameter of the aerosol generating device; an amplification module, used for amplifying the measured value of the target parameter and its target value; A first determination module, configured to determine duty cycle data of the aerosol generating device according to the amplified measurement value and the target value; A second acquisition module, used for the real-time value and current average value of the duty cycle data; The second determining module is used to determine the change of the number of puffs according to the real-time value and the average value.
12. An aerosol generating device, characterized in that: The aerosol generating device comprises: at least one processor; and, A memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor so that the at least one processor can be used to execute the puff counting method as described in any one of claims 1 to 10.
Citation Information
Patent Citations
A method and a device for detecting the number of puffs of smoking
CN109034343A
Electronic cigarette puff number counting method, control device, equipment and storage medium
CN110897206A
Smoking state monitoring system and method for heat-not-burn cigarette device
CN112335942A
Aerosol forming device, suction detection method thereof, and computer storage medium
CN113519918A
Aerosol provision systems
US20230048555A1
