CN112471612A - Method and device for judging smoking opening number of electronic cigarette, electronic cigarette and storage medium - Google Patents

Method and device for judging smoking opening number of electronic cigarette, electronic cigarette and storage medium Download PDF

Info

Publication number
CN112471612A
CN112471612A CN202011506593.0A CN202011506593A CN112471612A CN 112471612 A CN112471612 A CN 112471612A CN 202011506593 A CN202011506593 A CN 202011506593A CN 112471612 A CN112471612 A CN 112471612A
Authority
CN
China
Prior art keywords
difference
preset
sampling period
electronic cigarette
difference value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011506593.0A
Other languages
Chinese (zh)
Inventor
崔弘明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huizhou Peggs Technology Co ltd
Original Assignee
Huizhou Peggs Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huizhou Peggs Technology Co ltd filed Critical Huizhou Peggs Technology Co ltd
Priority to CN202011506593.0A priority Critical patent/CN112471612A/en
Publication of CN112471612A publication Critical patent/CN112471612A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A24TOBACCO; CIGARS; CIGARETTES; SIMULATED SMOKING DEVICES; SMOKERS' REQUISITES
    • A24FSMOKERS' REQUISITES; MATCH BOXES; SIMULATED SMOKING DEVICES
    • A24F40/00Electrically operated smoking devices; Component parts thereof; Manufacture thereof; Maintenance or testing thereof; Charging means specially adapted therefor
    • A24F40/40Constructional details, e.g. connection of cartridges and battery parts
    • A24F40/46Shape or structure of electric heating means
    • AHUMAN NECESSITIES
    • A24TOBACCO; CIGARS; CIGARETTES; SIMULATED SMOKING DEVICES; SMOKERS' REQUISITES
    • A24FSMOKERS' REQUISITES; MATCH BOXES; SIMULATED SMOKING DEVICES
    • A24F40/00Electrically operated smoking devices; Component parts thereof; Manufacture thereof; Maintenance or testing thereof; Charging means specially adapted therefor
    • A24F40/40Constructional details, e.g. connection of cartridges and battery parts
    • AHUMAN NECESSITIES
    • A24TOBACCO; CIGARS; CIGARETTES; SIMULATED SMOKING DEVICES; SMOKERS' REQUISITES
    • A24FSMOKERS' REQUISITES; MATCH BOXES; SIMULATED SMOKING DEVICES
    • A24F40/00Electrically operated smoking devices; Component parts thereof; Manufacture thereof; Maintenance or testing thereof; Charging means specially adapted therefor
    • A24F40/50Control or monitoring
    • AHUMAN NECESSITIES
    • A24TOBACCO; CIGARS; CIGARETTES; SIMULATED SMOKING DEVICES; SMOKERS' REQUISITES
    • A24FSMOKERS' REQUISITES; MATCH BOXES; SIMULATED SMOKING DEVICES
    • A24F40/00Electrically operated smoking devices; Component parts thereof; Manufacture thereof; Maintenance or testing thereof; Charging means specially adapted therefor
    • A24F40/50Control or monitoring
    • A24F40/51Arrangement of sensors
    • AHUMAN NECESSITIES
    • A24TOBACCO; CIGARS; CIGARETTES; SIMULATED SMOKING DEVICES; SMOKERS' REQUISITES
    • A24FSMOKERS' REQUISITES; MATCH BOXES; SIMULATED SMOKING DEVICES
    • A24F40/00Electrically operated smoking devices; Component parts thereof; Manufacture thereof; Maintenance or testing thereof; Charging means specially adapted therefor
    • A24F40/50Control or monitoring
    • A24F40/57Temperature control

Landscapes

  • Investigating Or Analyzing Materials Using Thermal Means (AREA)

Abstract

The embodiment of the application discloses a method and a device for judging the smoking port number of an electronic cigarette, the electronic cigarette and a storage medium, wherein the method comprises the following steps: acquiring the sum of the variable quantities of the characteristic parameters of the heating element of each sampling point in a first sampling period to obtain a first total variable quantity; acquiring the sum of the variation of the characteristic parameters of the heating element of each sampling point in the second sampling period to obtain a second variation total; obtaining a difference between the first total amount of change and the second total amount of change; and when the difference value is within the range of the preset threshold value, determining the number of the primary smoking openings. The method and the device for judging the number of smoking openings of the electronic cigarette, the electronic cigarette and the storage medium can improve the accuracy of judgment of the number of smoking openings.

Description

Method and device for judging smoking opening number of electronic cigarette, electronic cigarette and storage medium
Technical Field
The application relates to the field of electronic cigarettes, in particular to a method and a device for judging the number of smoking openings of an electronic cigarette, the electronic cigarette and a storage medium.
Background
The electronic cigarette has time and smoking port number limitation on tobacco baking, and after the electronic cigarette is baked for a long time or the smoking port number is increased, the tobacco can be excessively baked, so that harmful substances are easily generated, and the health of smoking people is harmed; and the number of the smoking openings is insufficient or the baking time is short, the tobacco cannot be fully baked, the taste and the user experience are reduced, and therefore the judgment of the number of the smoking openings is very important.
However, the accuracy of the existing method for judging the number of smoking openings is poor.
Disclosure of Invention
The embodiment of the application provides a method and a device for judging the number of smoking openings of an electronic cigarette, the electronic cigarette and a storage medium, and the accuracy of judgment of the number of smoking openings can be improved.
The embodiment of the application provides a method for judging the number of smoking openings of an electronic cigarette, which comprises the following steps:
acquiring the sum of the variable quantities of the characteristic parameters of the heating element of each sampling point in a first sampling period to obtain a first total variable quantity; the variation of the characteristic parameter is the difference between the current characteristic parameter and a preset parameter threshold;
acquiring the sum of the variation of the characteristic parameters of the heating element of each sampling point in the second sampling period to obtain a second variation total;
obtaining a difference between the first total amount of change and the second total amount of change; wherein a time difference between the first sampling period and the second sampling period is within a preset time length range;
and when the difference value is within the range of the preset threshold value, determining the number of the primary smoking openings.
The embodiment of the application provides a judgement device of electron cigarette smoking mouth number, includes:
the first acquisition module is used for acquiring the sum of the variable quantities of the characteristic parameters of the heating element of each sampling point in a first sampling period to obtain a first total variable quantity; the variation of the characteristic parameter is the difference between the current characteristic parameter and a preset parameter threshold;
the second acquisition module is used for acquiring the sum of the variable quantities of the characteristic parameters of the heating element of each sampling point in a second sampling period to obtain a second total variable quantity;
a third obtaining module, configured to obtain a difference between the first total variation amount and the second total variation amount; wherein a time difference between the first sampling period and the second sampling period is within a preset time length range;
and the determining module is used for determining the number of the primary smoking openings when the difference value is within a preset threshold range.
The embodiment of this application still provides an electron cigarette, the electron cigarette includes: the electronic cigarette comprises a memory, a processor and a temperature control program which is stored on the memory and can run on the processor, wherein the temperature control program realizes the steps of the method for judging the number of smoking openings of the electronic cigarette when being executed by the processor.
The embodiment of the application also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the method for judging the smoking mouth number of the electronic cigarette are realized.
The method and the device for judging the smoking number of the electronic cigarette, the electronic cigarette and the storage medium comprise the steps of obtaining the sum of the variation of the characteristic parameters of the heating element of each sampling point in a first sampling period to obtain a first variation total; acquiring the sum of the variation of the characteristic parameters of the heating element of each sampling point in the second sampling period to obtain a second variation total; obtaining a difference between the first total amount of change and the second total amount of change; when the difference value is within a preset threshold range, determining the number of the primary smoking openings; the difference value of the total change amount in the two sampling periods is compared with the preset threshold range, so that the accuracy of judging the number of smoking openings is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flow chart of a method for determining the number of smoking openings of an electronic cigarette according to an embodiment of the present application.
Fig. 2 is a schematic flow chart of a method for determining the number of smoking openings of an electronic cigarette according to another embodiment of the present application.
Fig. 3 is a waveform diagram when the temperature or the resistance value of the heating element provided in the embodiment of the present application is in a steady state.
Fig. 4 is a waveform diagram of a heating element provided in an embodiment of the present application when a temperature or a resistance value of the heating element is in a fluctuation state.
Fig. 5 is a schematic flow chart of a method for determining the number of smoking openings of an electronic cigarette according to another embodiment of the present application.
Fig. 6 is a schematic structural diagram of a device for determining the number of smoking openings of an electronic cigarette according to an embodiment of the present application.
Fig. 7 is a schematic structural diagram of a device for determining the number of smoking openings of an electronic cigarette according to another embodiment of the present application.
Fig. 8 is a schematic structural diagram of an electronic cigarette according to another embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. It is to be understood that the embodiments described are only a few embodiments of the present application and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, features defined as "first", "second", may explicitly or implicitly include one or more of the described features. In the description of the present application, "a plurality" means two or more unless specifically limited otherwise.
The electronic cigarette in this embodiment may be a tobacco-type electronic cigarette.
The electronic cigarette is provided with a heating body for baking tobacco, the resistance value of the heating body is in a direct proportion relation with the temperature, the heating body is connected with a temperature detection module, and the temperature detection module is used for detecting the temperature of the heating body. Certainly the electron cigarette still can include resistance detection module, and resistance detection module is used for detecting the resistance of heat-generating body.
As shown in fig. 1, an embodiment of the present application provides a method for determining the number of smoking openings of an electronic cigarette, including:
and S11, acquiring the sum of the variation of the characteristic parameters of the heating element of each sampling point in the first sampling period to obtain a first total variation.
Usually, when the user does not smoke, the temperature or the resistance value of the heating element is in a relatively stable stage, such as the temperature is kept at 300 ℃, the positive and negative fluctuation is 0.3 ℃ or the resistance value fluctuation is +/-1 m omega milliohm.
When a user smokes, the balance at the moment can be broken, so that the temperature or the resistance value of the heating body is in a fluctuation state. Wherein the temperature or resistance value of the heating element has a certain waveform.
The variation of the characteristic parameter is the difference between the current characteristic parameter and a preset parameter threshold.
In one embodiment, the first sampling period may be set according to an empirical value, or may be obtained by dynamically adjusting the temperature and the resistance value.
For example, the first total change amount is obtained by summing or integrating the change amounts of the characteristic parameters of the heat-generating body in the first sampling period.
In one embodiment, the characteristic parameter includes a resistance value of the heat generating body or a temperature of the heat generating body.
And S12, acquiring the sum of the variation of the characteristic parameters of the heating element of each sampling point in the second sampling period to obtain a second variation total.
Wherein a time difference between the first sampling period and the second sampling period is within a preset time length range; the preset time length range is specifically set according to an empirical value, and is usually smaller, for example, 100 ms. In one embodiment, the second sampling period may be set according to an empirical value, or may be obtained by dynamically adjusting the temperature and the resistance value.
For example, the second total change amount is obtained by summing or integrating the change amounts of the characteristic parameters of the heating element in the second sampling period.
And S13, acquiring the difference between the first total change amount and the second total change amount.
And S14, determining the number of the primary smoking openings when the difference value is within the preset threshold range.
For example, if the user smokes, the difference value is within the preset threshold range, and if the user does not smoke, the difference value is beyond the preset threshold range. When the difference value is beyond the preset threshold range, the step S11 may be executed again.
The method for judging the number of smoking openings of the electronic cigarette obtains a first total variation amount by obtaining the sum of variation amounts of characteristic parameters of a heating element at each sampling point in a first sampling period; acquiring the sum of the variation of the characteristic parameters of the heating element of each sampling point in the second sampling period to obtain a second variation total; obtaining a difference between the first total amount of change and the second total amount of change; when the difference value is within a preset threshold range, determining the number of the primary smoking openings; the difference value of the total change amount in the two sampling periods is compared with the preset threshold range, so that the accuracy of judging the number of smoking openings is improved.
As shown in fig. 2, an embodiment of the present application further provides a method for determining the number of smoking openings of an electronic cigarette, including:
s101, obtaining the sum of the variation of the temperature of the heating element at each sampling point in the first sampling period to obtain a first total variation.
The temperature variation is the difference between the current temperature and a preset temperature threshold; as shown in fig. 3 and 4, the abscissa in fig. 3 and 4 represents time, and the ordinate represents temperature. Fig. 3 is a waveform diagram showing the temperature of the heating element when the user does not smoke, and the temperature of the heating element is in a relatively stable stage, such as the temperature is maintained at 300 ℃ and the positive and negative fluctuation is 0.3 ℃.
FIG. 4 is a waveform diagram showing the temperature of the heating element when a user smokes.
For example, the difference between the current temperature of each of the sampling points c1 to c6 in the first sampling period B1 and the preset temperature threshold is obtained, and the difference is summed to obtain the first total variation amount.
In some embodiments, the first sampling period may be obtained by dynamic adjustment according to the temperature or the resistance, specifically referring to steps S105 to S107.
S102, obtaining the sum of the variation of the temperature of the heating element at each sampling point in the second sampling period to obtain a second variation total.
For example, the difference between the current temperature of each of the sampling points c7 to c12 in the second sampling period B2 and the preset temperature threshold is obtained, and the difference is summed to obtain the second total variation amount. The preset temperature threshold and the preset parameter threshold are obtained in the same manner, which is specifically referred to above and will not be described herein again.
The current temperature of the heating body can be the temperature detected by the temperature detection module.
Wherein the number of sampling points in the first sampling period and the number of sampling points in the second sampling period are equal, in an embodiment, in order to reduce complexity, the first sampling period and the second sampling period may be equal.
S103, acquiring a difference value between the first change total amount and the second change total amount.
And S104, determining the number of the primary smoking openings when the difference value is within the preset threshold range.
For example, if the user smokes, the difference value is within the preset threshold range, and if the user does not smoke, the difference value is beyond the preset threshold range. When the difference exceeds the preset threshold range, the step S101 may be executed again. The preset threshold range is a temperature range.
In some embodiments, the method further comprises:
s105, obtaining a difference value between the current temperature of the heating element and a preset temperature threshold value at each moment in two adjacent moments, and respectively obtaining a first difference value and a second difference value.
S106, obtaining the ratio of the first difference value to the second difference value.
Wherein the ratio may be an absolute value of a ratio of the first difference and the second difference.
S107, setting the first sampling period or the second sampling period according to the ratio and a preset period.
Such as the period of the temperature waveform.
In some embodiments, the step S107 includes:
s1071, when the ratio is larger than a preset ratio threshold, the first sampling period and the second sampling period are both smaller than the preset period.
S1072, when the ratio is smaller than or equal to the preset ratio threshold, the first sampling period and the second sampling period are both larger than the preset period.
For example, the preset ratio threshold may be 1, when the absolute value of the ratio of the first difference to the second difference is greater than 1, the sampling period at this time is 1/4 of the period of the temperature waveform, and when the absolute value of the ratio of the first difference to the second difference is less than or equal to 1, the period time is greater than the preset period, which may be specifically set according to the requirement.
The setting manner of the second preset period is similar to that of the first preset period, and is not described herein again.
In some embodiments, the preset parameter threshold is obtained by:
s111, respectively obtaining a difference value between the current characteristic parameter of the heating element at each time point in the preset duration and the preset target parameter and a variance value between the current characteristic parameter of the heating element at each time point and the preset target parameter to obtain a plurality of data sets, wherein each data set comprises a third difference value and a variance value.
Wherein the third difference is a difference between the current characteristic parameter of the heating element at each time point and the preset target parameter.
The preset duration is set according to the empirical value, and the preset target parameter is the optimal temperature or the optimal resistance value of the heating body during smoking.
S112, selecting a first reference data group and a second reference data group from the plurality of data groups; the first reference data group is a data group corresponding to the minimum value of the third difference and the variance in the plurality of data groups; the second reference data group is a data group corresponding to the maximum third difference and the maximum variance in the plurality of data groups.
For example, a data group in which the third difference and the variance are simultaneously the minimum values among the plurality of data groups is set as the first reference data group, and a data group in which the third difference and the variance are simultaneously the maximum values among the plurality of data groups is set as the second reference data group.
S113, obtaining the preset parameter threshold according to the third difference value in the second reference data group and the third difference value in the first reference data group.
In an embodiment, in order to further improve the accuracy of the determination, the step of obtaining the preset parameter threshold according to the third difference in the second reference data group and the third difference in the first reference data group includes:
s1131, obtaining a difference value between the third difference value in the second reference data group and the third difference value in the first reference data group to obtain a set difference value.
S1132, acquiring the preset parameter threshold according to the set difference and the third difference in the first reference data group.
For example, in one embodiment, the variance is 50 with the third difference in the first reference data set being 10. The third difference in the second reference data set is 100, and the variance is 200, for example, when the set difference is equal to 90, the preset parameter threshold is equal to half of the set difference plus the minimum third difference (10), so as to obtain the preset threshold, which is equal to 55. The preset parameter threshold comprises a preset temperature threshold or a preset resistance threshold.
The method for judging the number of smoking openings of the electronic cigarette obtains a first total change amount by obtaining the sum of the variation amounts of the temperatures of the heating elements at each sampling point in a first sampling period; acquiring the sum of the variation of the temperature of the heating element of each sampling point in the second sampling period to obtain a second variation total; obtaining a difference between the first total amount of change and the second total amount of change; when the difference value is within a preset threshold range, determining the number of the primary smoking openings; the difference value of the total change amount of the temperature in the two sampling periods is compared with the preset threshold range, so that the accuracy of judging the number of the smoking openings is improved.
As shown in fig. 5, an embodiment of the present application further provides a method for determining the number of smoking openings of an electronic cigarette, including:
s201, obtaining the sum of the variable quantities of the resistance values of the heating elements at each sampling point in the first sampling period to obtain a first total variable quantity.
The variable quantity of the resistance value is a difference value between the current resistance value and a preset resistance value threshold value; when the user does not smoke, the resistance value of the heating element is in a relatively stable stage, and when the user smokes, the resistance value of the heating element fluctuates greatly.
For example, referring to fig. 4, the difference between the current resistance value of each of the sampling points c1 to c6 in the first sampling period B1 and the preset resistance value threshold is obtained, and the difference is summed to obtain the first total variation amount.
The specific obtaining mode of the preset resistance value threshold is the same as the obtaining mode of the preset parameter threshold.
In one embodiment, the current resistance value of the heating element is the resistance value detected by the resistance value detection module.
In another embodiment, in order to improve the accuracy of the detection, the current resistance value is obtained by compensating the current measured resistance value of the heat generating body according to the current temperature of the heat generating body.
For example, the current temperature corresponds to a compensation factor, and the resistance value detected by the resistance value detection module is compensated according to the compensation factor to obtain the current resistance value. In one embodiment, the current resistance value is equal to the compensation factor multiplied by the resistance value detected by the resistance value detection module, but the compensation method is not limited thereto.
In other embodiments, the current resistance value may also be obtained by a table lookup. For example, according to a preset list of the temperature and the resistance value, the resistance value corresponding to the current temperature of the heating element is searched, and the current resistance value is obtained.
In some embodiments, the first sampling period may be obtained by dynamic adjustment according to the temperature or the resistance, specifically referring to steps S105 to S107.
S202, obtaining the sum of the variable quantities of the resistance values of the heating elements at each sampling point in the second sampling period to obtain a second variable total quantity.
For example, the difference between the current resistance value of each of the sampling points c7 to c12 in the second sampling period B2 and the preset resistance value threshold is obtained, and the difference is summed to obtain the second total variation amount. Wherein the number of sampling points in the first sampling period and the second sampling period are equal, in an embodiment, in order to reduce complexity, the first sampling period and the second sampling period may be equal.
S203, acquiring a difference value between the first change total amount and the second change total amount.
And S204, determining the number of the primary smoking openings when the difference value is within the preset threshold range.
For example, if the user smokes, the difference value is within the preset threshold range, and if the user does not smoke, the difference value is beyond the preset threshold range. When the difference exceeds the preset threshold range, the step S201 may be executed again. The preset threshold range is a resistance range.
The method for judging the number of smoking openings of the electronic cigarette obtains a first total change amount by obtaining the sum of the variation amounts of the resistance values of the heating elements at each sampling point in a first sampling period; acquiring the sum of the variable quantities of the resistance values of the heating elements at each sampling point in the second sampling period to obtain a second variable total quantity; obtaining a difference between the first total amount of change and the second total amount of change; wherein a time difference between the first sampling period and the second sampling period is within a preset time length range; when the difference value is within a preset threshold range, determining the number of the primary smoking openings; the difference value of the total change amount of the resistance values in the two sampling periods is compared with the preset threshold range, so that the accuracy of judging the number of the smoking openings is improved.
In one embodiment, the above method is described in detail below with reference to specific embodiments,
when the user does not smoke, the temperature or the resistance value of the heating element is in a relatively balanced stage, namely a relatively stable temperature stage, for example, the temperature is kept at 300 ℃, the positive and negative fluctuation is 0.3 ℃ or the resistance value fluctuation is +/-1 m omega milliohm, namely a stable state stage. When the system is disturbed by the outside, such as when a user smokes, the balance at the moment can be broken, and the whole system is in a fluctuation state. If the temperature control system of the electronic cigarette is good, the temperature can quickly return to the steady-state stage, but a relatively large fluctuation still exists, namely the difference between the actual value and the ideal value is plus or minus 5 data bits (the resistance value also fluctuates). In one embodiment, the temperature control system controls or adjusts the temperature of the heating element by a PID method, which is a method of controlling the temperature according to the proportion (P), the integral (I), and the derivative (D) of the deviation.
Therefore, the temperature or the resistance value in the current period of time is sampled, the difference is made between the real-time sampling value of each sampling point and an ideal value, for example, the ideal value of the temperature is 300 ℃, the sampling temperature is 299 ℃, the temperature difference is 1 at the moment, the variation is recorded as 1, and the method is also suitable for the resistor of the heating element, such as the fluctuation of 3m omega. And recording the temperature difference or the resistance difference in a time period, and summing the temperature difference or the resistance difference, namely performing integration processing, wherein the recording time is relatively fast, 10 times or 100 times of recording within 1s, and the recording times are not limited, so that the deviation between the actual temperature control difference and the ideal value is obtained.
And respectively recording data of two time periods, namely recording two groups of integral data (including integral data when the user does not perform smoking action when the user does not change and integral data when the user performs smoking action when the user changes), subtracting the integral data in the current time period from the integral data in the previous time period, and determining the number of the smoking openings as the number of the smoking openings when the difference value of the two integral data is greater than a threshold value.
The embodiment of the present application further provides a dark spot detection apparatus, as shown in fig. 6, the apparatus 30 includes: a first acquisition module 31, a second acquisition module 32, a third acquisition module 33 and a determination module 34.
A first obtaining module 31, configured to obtain a sum of variation amounts of characteristic parameters of the heating element at each sampling point in a first sampling period, so as to obtain a first total variation amount; the variation of the characteristic parameter is the difference between the current characteristic parameter and a preset parameter threshold.
And a second obtaining module 32, configured to obtain a sum of variation amounts of the characteristic parameters of the heating element at each sampling point in the second sampling period, so as to obtain a second total variation amount.
A third obtaining module 33, configured to obtain a difference between the first total variation amount and the second total variation amount; wherein a time difference between the first sampling period and the second sampling period is within a preset duration range.
And the determining module 34 is configured to determine the number of the primary smoking openings when the difference is within a preset threshold range.
In some embodiments, as shown in fig. 7, the apparatus further includes a period setting module 35, configured to obtain a variation of the characteristic parameter of the heating element at each of two adjacent moments, and obtain a first difference and a second difference respectively; acquiring the ratio of the first difference value to the second difference value; and determining the first sampling period or the second sampling period according to the ratio and a preset period.
In some embodiments, when the ratio is greater than a preset ratio threshold, the first sampling period and the second sampling period are both less than the preset period.
And when the ratio is smaller than or equal to a preset ratio threshold, the first sampling period and the second sampling period are both larger than the preset period.
In some embodiments, the apparatus further comprises:
an array obtaining module 26, configured to obtain a difference between a current characteristic parameter of the heating element at each time point within a preset time period and a preset target parameter, and a variance between the current characteristic parameter of the heating element at each time point and the preset target parameter, respectively, to obtain a plurality of data sets, where each data set includes a third difference and a variance; and the third difference is the difference between the current characteristic parameter of the heating element at each time point and the preset target parameter.
A selecting module 37, configured to select a first reference data set and a second reference data set from the plurality of data sets; the first reference data group is a data group corresponding to the minimum value of the third difference and the variance in the plurality of data groups; the second reference data group is a data group corresponding to the maximum third difference and the maximum variance in the plurality of data groups.
A threshold obtaining module 38, configured to obtain the preset parameter threshold according to the third difference in the second reference data group and the third difference in the first reference data group.
In some embodiments, the threshold obtaining module 38 is specifically configured to obtain a difference between a third difference in the second reference data set and a third difference in the first reference data set, so as to obtain a set difference; and obtaining the preset parameter threshold according to a set difference and a third difference in the first reference data group.
In some embodiments, the characteristic parameter includes resistance or temperature.
And when the characteristic parameter is the resistance value of the heating body, the variation of the characteristic parameter is the difference between the current resistance value and the preset resistance value threshold value.
And when the characteristic parameter is the temperature of the heating body, the variation of the characteristic parameter is the difference between the current temperature and a preset temperature threshold.
In some embodiments, the current resistance value is obtained by compensating a current measured resistance value of the heat generating body according to a current temperature of the heat generating body.
The device for judging the number of smoking openings of the electronic cigarette according to the embodiment of the invention can realize each process of the method for judging the number of smoking openings of the electronic cigarette, and is not described herein again in order to avoid repetition.
Additionally, as shown in fig. 8, an embodiment of the present invention further provides an electronic cigarette 40, including: a memory 41, a processor 42 and a temperature control program stored in the memory 42 and operable on the processor, wherein the temperature control program, when executed by the processor, implements the steps of the method for determining the number of smoking openings of an electronic cigarette.
In addition, in combination with the method for determining the number of smoking openings of the electronic cigarette in the above embodiments, the embodiments of the present invention can be implemented by providing a computer-readable storage medium. The computer readable storage medium having stored thereon computer program instructions; when executed by a processor, the computer program instructions implement any one of the methods for determining the number of smoking openings of an electronic cigarette in the above embodiments.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
The method and the device for judging the smoking number of the electronic cigarette, the electronic cigarette and the storage medium comprise the steps of obtaining the sum of the variation of the characteristic parameters of the heating element of each sampling point in a first sampling period to obtain a first variation total; acquiring the sum of the variation of the characteristic parameters of the heating element of each sampling point in the second sampling period to obtain a second variation total; obtaining a difference between the first total amount of change and the second total amount of change; when the difference value is within a preset threshold range, determining the number of the primary smoking openings; the difference value of the total change amount in the two sampling periods is compared with the preset threshold range, so that the accuracy of judging the number of smoking openings is improved.
The method and the device for determining the number of smoking openings of the electronic cigarette, the electronic cigarette and the storage medium provided in the embodiments of the present application are described in detail above, and specific examples are applied in the present application to explain the principles and embodiments of the present application. Meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (11)

1. A method for judging the number of smoking openings of an electronic cigarette is characterized by comprising the following steps:
acquiring the sum of the variable quantities of the characteristic parameters of the heating element of each sampling point in a first sampling period to obtain a first total variable quantity; the variation of the characteristic parameter is the difference between the current characteristic parameter and a preset parameter threshold;
acquiring the sum of the variation of the characteristic parameters of the heating element of each sampling point in the second sampling period to obtain a second variation total;
obtaining a difference between the first total amount of change and the second total amount of change; wherein a time difference between the first sampling period and the second sampling period is within a preset time length range;
and when the difference value is within the range of the preset threshold value, determining the number of the primary smoking openings.
2. The method for determining the number of smoking openings of the electronic cigarette according to claim 1, further comprising:
acquiring the variation of the characteristic parameters of the heating element at each of two adjacent moments to respectively obtain a first difference value and a second difference value;
acquiring the ratio of the first difference value to the second difference value;
and setting the first sampling period or the second sampling period according to the ratio and a preset period.
3. The method for determining the number of smoking openings of an electronic cigarette according to claim 2,
when the ratio is larger than a preset ratio threshold, the first sampling period and the second sampling period are both smaller than the preset period;
when the ratio is smaller than or equal to the preset ratio threshold, the first sampling period and the second sampling period are both larger than the preset period.
4. The method for determining the number of smoking openings of the electronic cigarette according to claim 1, further comprising:
respectively obtaining a difference value between the current characteristic parameter of the heating element at each time point in a preset time length and a preset target parameter and a variance value between the current characteristic parameter of the heating element at each time point and the preset target parameter to obtain a plurality of data sets, wherein each data set comprises a third difference value and a variance value; the third difference value is a difference value between the current characteristic parameter of the heating element at each time point and a preset target parameter;
selecting a first reference data set and a second reference data set from the plurality of data sets; the first reference data group is a data group corresponding to the minimum value of the third difference and the variance in the plurality of data groups; the second reference data group is a data group corresponding to the maximum third difference and the maximum variance in the plurality of data groups;
and acquiring the preset parameter threshold according to the third difference value in the second reference data group and the third difference value in the first reference data group.
5. The method for determining the number of smoking openings of the electronic cigarette according to claim 4, wherein the step of obtaining the preset parameter threshold according to the third difference in the second reference data set and the third difference in the first reference data set comprises:
acquiring a difference value between a third difference value in the second reference data group and a third difference value in the first reference data group to obtain a set difference value;
and acquiring the preset parameter threshold according to the set difference and a third difference in the first reference data group.
6. The method for judging the number of smoking openings of the electronic cigarette according to claim 1, wherein the characteristic parameter includes resistance or temperature;
when the characteristic parameter is the resistance value of the heating element, the variation of the characteristic parameter is the difference value between the current resistance value and the preset resistance value threshold value;
and when the characteristic parameter is the temperature of the heating body, the variation of the characteristic parameter is the difference between the current temperature and a preset temperature threshold.
7. The method for determining the number of smoking openings of an electronic cigarette according to claim 6, wherein the current resistance value is obtained by compensating a current measured resistance value of the heating element according to a current temperature of the heating element.
8. The utility model provides a judgement device of electron cigarette smoking mouth number which characterized in that includes:
the first acquisition module is used for acquiring the sum of the variable quantities of the characteristic parameters of the heating element of each sampling point in a first sampling period to obtain a first total variable quantity; the variation of the characteristic parameter is the difference between the current characteristic parameter and a preset parameter threshold;
the second acquisition module is used for acquiring the sum of the variable quantities of the characteristic parameters of the heating element of each sampling point in a second sampling period to obtain a second total variable quantity;
a third obtaining module, configured to obtain a difference between the first total variation amount and the second total variation amount; wherein a time difference between the first sampling period and the second sampling period is within a preset time length range;
and the determining module is used for determining the number of the primary smoking openings when the difference value is within a preset threshold range.
9. The device for determining the number of smoking openings of an electronic cigarette according to claim 8, further comprising:
a period setting module to: acquiring the variation of the characteristic parameters of the heating element at each of two adjacent moments to respectively obtain a first difference value and a second difference value; acquiring the ratio of the first difference value to the second difference value; and setting the first sampling period or the second sampling period according to the ratio and a preset period.
10. An electronic cigarette, comprising: a memory, a processor and a temperature control program stored in the memory and operable on the processor, wherein the temperature control program when executed by the processor implements the steps of the method for determining the number of smoking openings of an electronic cigarette according to any one of claims 1 to 7.
11. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method for determining the number of smoking ports of an electronic cigarette according to any one of claims 1 to 7.
CN202011506593.0A 2020-12-18 2020-12-18 Method and device for judging smoking opening number of electronic cigarette, electronic cigarette and storage medium Pending CN112471612A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011506593.0A CN112471612A (en) 2020-12-18 2020-12-18 Method and device for judging smoking opening number of electronic cigarette, electronic cigarette and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011506593.0A CN112471612A (en) 2020-12-18 2020-12-18 Method and device for judging smoking opening number of electronic cigarette, electronic cigarette and storage medium

Publications (1)

Publication Number Publication Date
CN112471612A true CN112471612A (en) 2021-03-12

Family

ID=74914645

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011506593.0A Pending CN112471612A (en) 2020-12-18 2020-12-18 Method and device for judging smoking opening number of electronic cigarette, electronic cigarette and storage medium

Country Status (1)

Country Link
CN (1) CN112471612A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023193647A1 (en) * 2022-04-07 2023-10-12 深圳市合元科技有限公司 Aerosol generating apparatus and method for counting number of puffs of user

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108158045A (en) * 2018-03-13 2018-06-15 卓尔悦欧洲控股有限公司 The control method and device of electronic cigarette
CN108991605A (en) * 2018-06-25 2018-12-14 深圳市丽福科技有限责任公司 A kind of electronic cigarette smoking port number judgment method and electronic cigarette
CN110140326A (en) * 2017-12-08 2019-08-16 华为技术有限公司 The method and apparatus that the performance data of equipment is sampled
CN110897206A (en) * 2019-10-31 2020-03-24 深圳市云熙智能有限公司 Electronic cigarette mouth number statistical method, control device, equipment and storage medium
WO2020223941A1 (en) * 2019-05-09 2020-11-12 东莞市麦斯莫科电子科技有限公司 Method for detecting number of puffs of electronic cigarette, and electronic cigarette thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110140326A (en) * 2017-12-08 2019-08-16 华为技术有限公司 The method and apparatus that the performance data of equipment is sampled
CN108158045A (en) * 2018-03-13 2018-06-15 卓尔悦欧洲控股有限公司 The control method and device of electronic cigarette
CN108991605A (en) * 2018-06-25 2018-12-14 深圳市丽福科技有限责任公司 A kind of electronic cigarette smoking port number judgment method and electronic cigarette
WO2020223941A1 (en) * 2019-05-09 2020-11-12 东莞市麦斯莫科电子科技有限公司 Method for detecting number of puffs of electronic cigarette, and electronic cigarette thereof
CN110897206A (en) * 2019-10-31 2020-03-24 深圳市云熙智能有限公司 Electronic cigarette mouth number statistical method, control device, equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023193647A1 (en) * 2022-04-07 2023-10-12 深圳市合元科技有限公司 Aerosol generating apparatus and method for counting number of puffs of user

Similar Documents

Publication Publication Date Title
US10555557B2 (en) Electronic cigarette and method for controlling heating and atomization thereof
CN108181951B (en) Electronic cigarette control circuit and method
CN103140819B (en) For the method adjusting the temperature of sensor element
JP6053522B2 (en) Method and apparatus for performing error compensation current measurement of a storage battery
JP5746383B2 (en) Evaluation and control unit for wide area lambda sensors
EP3249488A1 (en) Temperature control system and control method thereof, and electronic cigarette containing said temperature control system
CN110584204A (en) Heating control method and device of electronic atomization device and electronic atomization device
CN111165914B (en) Heating method and device for atomizer, computer equipment and storage medium
JP2000515959A (en) Method of individually performing cooking process and related cooking equipment
EP1028244B1 (en) Method of controlling and diagnosing the heater of an engine exhaust gas composition sensor
CN110487848A (en) Atomizing component oil-containing quantity measuring method, device and electronic atomization device
CN111802710A (en) Electronic atomization device, atomization heating control method and device and atomizer main body
CN112471612A (en) Method and device for judging smoking opening number of electronic cigarette, electronic cigarette and storage medium
CN111418900B (en) Tobacco tar nicotine content detection system, method and device and electronic atomization device
CN112353004A (en) Electronic cigarette temperature calibration method, electronic cigarette, controller and readable storage medium
CN114253317B (en) Heating temperature calibration method and device for heating element and readable storage medium
JP2020510213A (en) Method of operating a sensor for detecting at least one characteristic of a measurement gas in a measurement gas chamber
US7030630B2 (en) Moisture sensor with capacitive moisture measuring element and method of determining air humidity
KR20240019286A (en) Battery performance evaluation device and battery performance evaluation method
CN109656283B (en) Temperature control circuit and temperature control method for heating wire based on time-sharing processing
CN109497630B (en) Temperature calibration method and device of electronic cigarette, computer equipment and storage medium
CN107368128B (en) Method and system for adjusting temperature of temperature field
CN112535324B (en) Heating monitoring method of electronic cigarette and electronic cigarette
CN108594896B (en) Oven temperature control method and device and computer readable storage medium
CN110973704A (en) Temperature curve adjusting method and aerosol generating device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination