AIRFLOW SENSING DEVICE AND ELECTRONIC CIGARETTE

Information

  • Patent Application
  • 20250234933
  • Publication Number
    20250234933
  • Date Filed
    April 10, 2025
    8 months ago
  • Date Published
    July 24, 2025
    4 months ago
  • CPC
    • A24F40/51
  • International Classifications
    • A24F40/51
Abstract
The present invention relates to the field of electronic cigarette technologies, and particularly discloses an airflow sensing device and an electronic cigarette. The airflow sensing device includes: an airflow sensor configured to output a capacitance value according to a detected airflow magnitude; a first oscillation unit provided with an internal capacitor and configured to output a first oscillation signal and send the first oscillation signal to a frequency divider; the frequency divider configured to divide a frequency of the first oscillation signal to obtain a frequency-divided signal; a second oscillation unit externally connected with a measuring capacitor and configured to convert the capacitance value into a second oscillation signal and send the second oscillation signal to a counter; the counter configured to count the second oscillation signal according to the frequency-divided signal and output a count signal; and an encoder configured to perform operation and encoding on the count signal and output target data; the target data including an initial value and a difference value between the initial value and a real-time value.
Description
TECHNICAL FIELD

The present invention relates to the field of electronic cigarette technologies, and in particular, to an airflow sensing device and an electronic cigarette.


BACKGROUND

An electronic cigarette is a non-combustible cigarette, is a better cigarette substitute, and generally includes a casing, a cigarette holder, a dust filter, a perfume box, a power source, a cigarette cap, or the like. When the cigarette holder is sucked, a negative pressure is generated in the cigarette, a cover of the perfume box is opened, and external air enters the cigarette and is sucked by a person as carrier air of aroma.


Currently, for the electronic cigarette, whether smoking is performed is judged mainly through an airflow sensing device. E-liquid is atomized by heating an electric heating wire to a certain temperature during smoking. In the existing airflow sensing devices, the electric heating wire is controlled to generate heat through high and low levels, such that automatic smoking is quite easily caused, which is a problem to be solved urgently.


SUMMARY

In view of the above problem, an object of the present invention is to provide an airflow sensing device and an electronic cigarette, which can change an output data format of the airflow sensing device in the electronic cigarette, such that the electronic cigarette can achieve the functions of adjusting output power and sensitivity and preventing automatic starting.


The present invention provides an airflow sensing device, including:

    • an airflow sensor configured to output a capacitance value according to a detected airflow magnitude;
    • a first oscillation unit provided with an internal capacitor and configured to output a first oscillation signal and send the first oscillation signal to a frequency divider;
    • the frequency divider configured to divide a frequency of the first oscillation signal to obtain a frequency-divided signal;
    • a second oscillation unit externally connected with a measuring capacitor and configured to convert the capacitance value into a second oscillation signal and send the second oscillation signal to a counter;
    • the counter configured to count the second oscillation signal according to the frequency-divided signal and output a count signal; and
    • an encoder configured to perform operation and encoding on the count signal and output target data; the target data including an initial value and a difference value between the initial value and a real-time value.


In a possible implementation, the target data is transmitted using a single line code.


In a possible implementation, data of the single line code is represented by a fixed period pulse width.


In a possible implementation, the single line code includes: a pilot code, a confirmation code, a first segmentation code, a second segmentation code, and an end code.


In a possible implementation, the initial value is a positive original code.


In a possible implementation, a first bit of the difference value is a sign bit; when the first bit is 0, the difference value is a positive original code; when the first bit is 1, the difference value is a negative original code.


The present invention further provides an electronic cigarette, including a processor and any one of the above airflow sensing devices;

    • the processor: acquires a preset proportion and target data output by the airflow sensing device, the target data including an initial value and a difference value between the initial value and a real-time value;
    • determines a threshold according to the preset proportion and the initial value; and
    • determines output power of the electronic cigarette according to the difference value and the threshold.


In a possible implementation, the processor: acquires an interval time of two initial values closest to a current time and a preset interval; and

    • determines output power within a preset duration before a smoking state of the electronic cigarette according to the interval time and the preset interval.


In a possible implementation, the processor sets preset sensitivity according to the initial value and the difference value.


In a possible implementation, the processor: sets automatic starting prevention sensitivity according to a current initial value, a last initial value closest to the current initial value in time, and the difference value;

    • when the difference value exceeds the automatic starting prevention sensitivity, determines that a current state of the electronic cigarette is the smoking state; and
    • when the difference value does not exceed the automatic starting prevention sensitivity, determines that the current state of the electronic cigarette is an automatic starting state.


The airflow sensing device and the electronic cigarette according to the present invention can change the output data format of the airflow sensing device in the electronic cigarette, such that the electronic cigarette can achieve the functions of adjusting the output power and the sensitivity and preventing automatic starting.





BRIEF DESCRIPTION OF THE DRAWINGS


FIG. 1 is a schematic structural diagram of an airflow sensing device according to an embodiment of the present invention;



FIG. 2 is a schematic diagram of output of target data in the embodiment of the present invention;



FIG. 3 is a graph of a change of automatic starting prevention airflow detected forwardly in the embodiment of the present invention;



FIG. 4 is a graph of a change of automatic starting prevention airflow detected reversely in the embodiment of the present invention;



FIG. 5 is a functional block diagram of an electronic atomizer according to an embodiment of the present invention;



FIG. 6(a) is a structural view of a diaphragm in a non-smoking state in the embodiment of the present invention;



FIG. 6(b) is a structural view of the diaphragm in a smoking state in the embodiment of the present invention;



FIG. 6(c) is a structural view of the diaphragm in a blowback state in the embodiment of the present invention;



FIG. 7 is a functional block diagram of an airflow sensing unit in the embodiment of the present invention; and



FIG. 8 is a schematic diagram of a capacitance change during airflow detection in the embodiment of the present invention.





DETAILED DESCRIPTION

Implementations of the present invention will be described in further detail below with reference to the accompanying drawings and embodiments. The following detailed description of the embodiments and the accompanying drawings are used to illustrate the principles of the invention exemplarily, but are not intended to limit the scope of the invention. That is, the invention is not limited to the preferred embodiments described, and the scope of the invention is defined by the claims.


In the description of the present invention, it is to be noted that, unless otherwise specified, “a plurality” means two or more; the terms “first”, “second”, or the like, are used for descriptive purposes only and are not to be construed as indicating or implying relative importance; specific meanings of the above terms in the present invention can be understood as appropriate by those of ordinary skill in the art.



FIG. 1 is a schematic structural diagram of an airflow sensing device according to an embodiment of the present invention, and as shown in FIG. 1, the present invention provides an airflow sensing device, including:

    • an airflow sensor MEMS configured to output a capacitance value according to airflow;
    • a first oscillation unit OSC1 provided with an internal capacitor and configured to output a first oscillation signal and send the first oscillation signal to a frequency divider;
    • the frequency divider F/F configured to divide a frequency of the first oscillation signal to obtain a frequency-divided signal;
    • a second oscillation unit OSC2 externally connected with a measuring capacitor and configured to convert the capacitance value into a second oscillation signal and send the second oscillation signal to a counter; the first oscillation unit and the second oscillation unit having the same architecture;
    • the counter configured to count the second oscillation signal according to the frequency-divided signal and output a count signal; and
    • an encoder configured to perform operation and encoding on the count signal and output 28-bit target data at an SDO end; the target data including a 14-bit initial value C0 (i.e., D[27:14]) and a 14-bit difference value ΔC0 (i.e., D[13:0]) between the initial value and a real-time value. A processor of the electronic cigarette can achieve the functions of preventing automatic starting, setting smoking sensitivity, locking/unlocking sensitivity by an electronic lock, or the like, according to the initial value and the difference value.


Specifically, airflow detection is converted into capacitance value measurement in the present invention. When the target data does not change greatly over a long period of time, this value is set to the initial value C0 When the airflow changes, the capacitance value changes, and the corresponding difference value αC0 changes. In the present invention, a direction and a magnitude of the airflow may be determined through the difference value ΔC0.



FIG. 6 is a structural view of a diaphragm in a microphone in the embodiment of the present invention, and as shown in FIG. 6, 221 denotes a conductive casing, 222 denotes a conductive backplate, 223 denotes an insulating spacer, 224 denotes an insulating pillar, and 225 denotes a conductive film. The conductive backplate 222 and the conductive film 225 together constitute a capacitor. The capacitance value is inversely proportional to a distance d between the conductive backplate 222 and the conductive film 225. FIG. 6(a) shows a non-smoking state; FIG. 6(b) shows a smoking state; FIG. 6c) shows a blowback state. Clearly, d2<d1<d3. A gradual decrease of the capacitance values in the smoking state, the non-smoking state and the blowback state indicates forward detection. Correspondingly, a gradual increase of the capacitance values in the smoking state, the non-smoking state and the blowback state indicates reverse detection.



FIG. 7 is a functional block diagram of an airflow sensing unit in the embodiment of the present invention, in which two identical resistance-capacitance oscillators are used for capacitance value measurement, the internal capacitor C is configured in the first oscillator OSC1, and the measuring capacitor is externally connected with the second oscillator OSC2. When digital signal output is 1024, a value of the measuring capacitor is C; when the digital signal output is smaller than 1024, the value of the measuring capacitor is larger than C; and when the digital signal output is larger than 1024, the value of the measuring capacitor is smaller than C.



FIG. 8 is a schematic diagram of a capacitance change during airflow detection in the embodiment of the present invention, and as shown in FIG. 8, a measured capacitance initial value is C1, a capacitance real-time value is C2, C3, or C4, and C3>C2>C1. If the capacitance real-time value is C3 and exceeds a certain set threshold, the state is the smoking state; if the capacitance real-time value is C2 and does not exceed the certain set threshold, the state is the non-smoking state; if the capacitance real-time value C4 is smaller than the capacitance initial value C1, the state is the blowback state.


Due to blowback or deformation of the diaphragm, the measured capacitance initial value C1 may slightly fluctuate, which may cause a change in the smoking sensitivity of the electronic cigarette. At this point, the measured capacitance initial value C1 is required to be reset. A digital signal output value after smoking is not performed for 15 seconds is taken as a reset value.


In a possible implementation, the target data is transmitted using a single line code. Data 1 or 0 of the single line code is represented by a fixed period pulse width.



FIG. 2 is a schematic diagram of output of the target data in the embodiment of the present invention, in which 1024 cycles (total 30 mS) of a system clock are divided into 1024 units through a chip internal counter and logic operation, and one cycle T is about 30 μS. Logic 0 is composed of one high level cycle TH and three low level cycles TL (abbreviated as 1TH+3TL); logic 1 is composed of three high level cycles and one low level cycle (abbreviated as 3TH+1TL).


In a possible implementation, the single line code includes: a pilot code, a confirmation code, a first segmentation code, a second segmentation code, and an end code. The pilot code is composed of 255 high levels and 512 low levels, the confirmation code is 1101 (data of double periods), one segmentation code is 2TH, 1TL and the 14-bit initial count value C0 i.e., D[27:14], the other segmentation code is 7TH, 1TL and the following 14-bit difference value ΔC0 between the initial value and the count value of the real-time capacitance change, i.e., D[13:0], and the end code is 37TH and 65TL.


In a possible implementation, the initial value D[27:14] is a positive original code. During forward detection, for example, product C581X, the difference value ΔC0 (i.e., D[13:0]) is a positive original code, and can be directly operated after being converted into decimal, and the most significant bit D[13] is a sign bit and is always 0; during reverse detection, for example, product C381X, the difference value ΔC0 (i.e., D[13:0])is a negative original code, and can be directly operated after being converted into decimal, and the most significant bit D[13] is a sign bit and is always 1.


In a possible implementation, a first bit D[13] of the difference value is a sign bit; when the first bit D[13] is 0, the difference value D[13:0] is a positive original code; when the first bit D[13] is 1, the difference value D[13:0] is a negative original code.


The present invention further provides an electronic atomizer, which is a core component of the electronic cigarette and takes the form of an integrated microphone, and FIG. 5 is a functional block diagram of the electronic atomizer according to an embodiment of the present invention, as shown in FIG. 5. Main functional units include an airflow sensing unit, an output control unit, an output power tube, an electric heating wire, a battery, and a capacitor.


The airflow sensing unit is configured to detect a magnitude of smoking airflow and judge whether a state is a smoking state or a non-smoking state. The output control unit is configured to control the output power tube to be completely switched off when the cigarette is not smoked, and switched on in part or all of a smoking time. The output power tube is configured to drive the electric heating wire to generate heat. The battery is configured to supply power to each functional unit. The capacitor is configured to decouple a power end.


The airflow sensing unit includes an airflow sensing device. The airflow sensing device judges a direction and a magnitude of the smoking airflow by detecting a capacitance change, so as to determine the smoking or non-smoking state and the blowback state. The change in a capacitance value caused by the airflow change is done by a diaphragm or MENS in an ECM (commonly called a microphone).


The present invention further provides an electronic cigarette, including a processor and any one of the above airflow sensing devices.


The processor: acquires a preset proportion and target data output by the airflow sensing device, the target data including an initial value and a difference value between the initial value and a real-time value; determines a threshold according to the preset proportion and the initial value; and determines output power of the electronic cigarette according to the difference value and the threshold, so as to adjust the output power according to a sucking force.


In a possible implementation, the processor: acquires an interval time of two initial values closest to a current time and a preset interval; and determines output power within a preset duration before a smoking state of the electronic cigarette according to the interval time and the preset interval, so as to output variable power.


In a possible implementation, the processor sets preset sensitivity according to the initial value and the difference value, so as to achieve the function of setting the smoking sensitivity.


In a possible implementation, the processor: sets automatic starting prevention sensitivity according to a current initial value, a last initial value closest to the current initial value in time, and the difference value; when the difference value exceeds the automatic starting prevention sensitivity, determines that a current state of the electronic cigarette is the smoking state; and when the difference value does not exceed the automatic starting prevention sensitivity, determines that the current state of the electronic cigarette is an automatic starting state, so as to realize automatic starting prevention.


To better understand the present invention, various functions that can be achieved using the target data output from the airflow sensing device according to the present invention are described below with reference to specific embodiments.


First Embodiment

The target data output by the airflow sensing device according to the present invention can be adopted to adjust the output power according to the sucking force.


An output power variation range is 16-25 W, and the initial value C0=3000; as the sucking force increases during smoking, the output power also increases correspondingly.


ΔC1=(1/32)*C0, and the processor determines that the current state is the smoking state, and outputs first-gear Po1 power of 16 W;


ΔC2≥(3/64)*C0, and the processor outputs second-gear Po2 power of 18.5 W;


ΔC3≥(2/32)*C0, and the processor outputs third-gear Po3 power of 19 W;


ΔC4≥(5/64)*C0, and the processor outputs fourth-gear Po4 power of 20 W;


ΔC5≥(3/32)*C0, and the processor outputs fifth-gear Po5 power of 21 W;


ΔC6≥(7/64)*C0, and the processor outputs sixth-gear Po6 power of 22 W;


ΔC7≥(1/8)*C0, and the processor outputs seventh-gear Po7 power of 23 W;


ΔC8≥(9/64)*C0, and the processor outputs eighth-gear Po8 power of 24 W;


ΔC9≥(5/32)*C0, and the processor outputs ninth-gear Po9 power of 25 W;


output power gears Po1 to Po9 and difference value thresholds ΔC1 to ΔC9 may be set arbitrarily. The difference value thresholds ΔC1 to ΔC9 are preferably ratios of the initial value C0.


In an example, the gear output power is n*(1/128)*C0, and a maximum value of ΔCn does not exceed 5/32.


Second Embodiment

In order to obtain better mouthfeel of smoking, the target data output by the airflow sensing device according to the present invention can be output in a variable power mode.


Within first 500 mS of smoking, the variable output power is 16 W to 25 W.


Two times of smoking have an interval more than 30 minutes, and within first 500 mS of smoking, the fifth-gear P05 power of 25 W is set to output;

    • two times of smoking have an interval of 10 to 30 minutes, and within first 500 mS of smoking, the fourth-gear P04 power of 23.5 W is set to output;
    • two times of smoking have an interval of 5 to 10 minutes, and within first 500 mS of smoking, the third-gear P03 power of 21.5W is set to output;
    • two times of smoking have an interval of 1 to 5 minutes, and within first 500 mS of smoking, the second-gear P02 power of 19W is set to output;
    • two times of smoking have an interval less than 1 minute, and within first 500 mS of smoking, the first-gear P01 power of 16 W is set to output.


The first 500 mS of smoking and the interval of two times of smoking can be set arbitrarily.


Third Embodiment

The target data output by the airflow sensing device according to the present invention can be adopted for forward detection of automatic starting prevention of the microphone.


Taking C581X as an example, the processor receives SDO-end target data of C581X. C01 is the current initial value, ΔC1 is the current difference value, C00 is the last initial value recorded by the processor, and the sensitivity is 1/32. If ΔC1 exceeds the set sensitivity, for example, ΔC1>C01/128+1.5×(C01−C00), the state is determined to be the smoking state; otherwise, the state is determined to be the automatic starting state.


First Case:





    • when the current initial value C01≤(1+1/64)*C00, the current difference value ΔC1 exceeds the set sensitivity, and the state is determined to be the smoking state. For example, for point A in FIG. 3, as long as C01 is below the 1/64 abscissa line, the difference value ΔC1 of the point A is greater than the set sensitivity, ΔC1>C01/128+1.5×(C01−C00) is certainly satisfied, no automatic smoking mode occurs, and the state is determined to be the smoking state.





First Example: the last initial value is C00=0x0AC6=2758, and (1+1/64)*C00=0x0AF1=2801. The current initial value is C01=0x0AF0=2800<2801, the current difference value ΔC1 is 0x0058=88, and C01/32=2800/32=87.5.


That is, C01<(1+1/64)*C00, ΔC1>C01/32, the state is determined to be the smoking state, and power is allowed to output. At this point, ΔC1 is also greater than C01/128+1.5×(C01−C00)≈84.9.


Second Case:





    • when (1+1/64)*C00<C01≤(1+1/32)*C00, ΔC1 exceeds the set sensitivity, and if ΔC1>C01/128+1.5×(C01−C00), the state is determined to be the smoking state; otherwise, the state is determined to be the automatic starting state. For example, for point B in FIG. 3, C01 is between the 1/64 abscissa line and the 1/32 abscissa line, and the difference value ΔC1 of the point B is greater than the set sensitivity. If ΔC1>C01/128+1.5×(C01−C00), the state is determined to be the smoking state; otherwise, the state is determined to be the automatic starting state.





Second Example: the last initial value recorded by an MCU is C00=0×0AC6=2758, (1+1/64)*C00=0x0AF1=2801, and (1+1/32)*C00=0x0B1C=2844. The current initial value is C01=0x0AF8=2808, and is greater than (1+1/64)*C00=2801, but less than (1+1/32)*C00=2844; the current difference value ΔC1 is 0x0058=88>C01/32, that is, greater than 2808/32≈87.8, and at this point, ΔC1 is smaller than C01/128+1.5×(C01−C00)≈96.9. Then, the state is judged to be the automatic starting state, and the output is closed.


Third Example: the last initial value is C00=0x0AC6=2758, (1+1/64)*C00=0x0AF1=2801, and (1+1/32)*C00=0x0B1C=2844. The current initial value is C01=0x0AF8=2808, and is greater than (1+1/64)*C00=2801, but less than (1+1/32)*C00=2844; the current difference value ΔC1 is 0x0061=97>C01/32, that is, greater than 2808/32≈87.8, and at this point, ΔC1 is also greater than C01/128+1.5×(C01−C00)≈96.9,such that the state is determined to be the smoking state, and the power is allowed to be output.


By comparing the second example with the third example, since C01 is between (1+1/64)*C00 and (1+1/32)*C00, the smoking sensitivity is reduced. This phenomenon mostly occurs at power-up, multiple fast resets, environmental changes, and bursty interference. Automatic smoking suppression, i.e., automatic starting prevention, can be realized by reducing the smoking sensitivity.


Third Case:

when C01>(1+1/32)*C00, ΔC1 exceeds the set sensitivity, and if ΔC1>C01/128+1.5×(C01−C00), the state is determined to be the smoking state; otherwise, the state is determined to be the automatic starting state. Similarly, for example, for point C in FIG. 3, C01 is above the 1/32 abscissa line and the difference value ΔC1 of the point C is greater than the set sensitivity. If ΔC1>C01/128+1.5×(C01−C00), the state is determined to be the smoking state; otherwise, the state is determined to be the automatic starting state.


Fourth Example: the last initial value is C00=0x0AC6=2758, and (1+1/32)*C00=0x0B1C=2844. The current initial value is C01=0x0B22=2850, and is greater than (1+1/32) *C00=2844; the current difference value ΔC1 is 0x009A=154>C01/32, that is, much greater than 2850/32≈89.1, but ΔC1 is smaller than C01/128+1.5×(C01−C00)≠160.3, such that the state is determined to be the automatic starting state, and the power is stopped from being output.


Fifth Example: the last initial value is C00−0x0AC6=2758, and (1+1/32)*C00=0x0B1C=2844. The current initial value recorded at this point is C01=0x0B22=2850, and is greater than (1+1/32)*C00=2844; the current difference value ΔC1 is 0x00A2=162>C01/32, that is, much greater than 2850/32≈89.1, and at this point, ΔC1 is also greater than C01/128+1.5×(C01−C00)≈160.3. Then, the state is determined to be the smoking state, and the power is allowed to output.


By comparing the fourth example with the fifth example, since C01 is greater than (1+1/32)*C00, the smoking sensitivity is reduced greatly. This phenomenon occurs after blowback of the electronic cigarette is performed for 15 seconds.


Fourth Embodiment


The target data output by the airflow sensing device according to the present invention can be adopted for reverse detection of automatic starting prevention of the microphone.


Taking C381X as an example, the MCU receives SDO data of C381X. C01 is the recorded current initial value, ΔC1 is the recorded current difference value, and C00 is the last initial value recorded by the MCU. For example, the set sensitivity is 1/32, ΔC1 exceeds the set sensitivity, and if ΔC1>C01/128+1.5×(C00−C01), the state is determined to be the smoking state; otherwise, the state is determined to be the automatic starting state.


First Case:





    • when the current initial value C01≥(1−1/64)*C00, the current difference value ΔC1 exceeds the set sensitivity, and the state is determined to be the smoking state. For example, for point A in FIG. 4, as long as C01 is above the −1/64 abscissa line, the difference value ΔC1 of the point A is greater than the set sensitivity, ΔC1>C01/128+1.5×(C00−C01) is also certainly satisfied, no automatic smoking mode occurs, and the state is determined to be the smoking state.





First Example


The last initial value is C00=0x0AF1=2801, and (1-1/64)*C00=0x0AC5=2757.


The current initial value is C01-0x0AC6=2758, and is greater than (1−1/64)*C00=2757; the current difference value ΔC1 is 0x0057=87>C01/32, that is, greater than 2800/32=86.2, such that the state is determined to be the smoking state, and output is allowed. At this point, ΔC1 is certainly greater than C01/128+1.5× (C00−C01)≈86.0.


Second Case:





    • when (1−1/32)*C00≤C01<(1−1/64)*C00, ΔC1 exceeds the set sensitivity, and if ΔC1>C01/128+1.5×(C00−C01), the state is determined to be the smoking state; otherwise, the state is determined to be the automatic starting state. For example, for point B in FIG. 4, C01 is between the −1/32 abscissa line and the −1/64 abscissa line, and the difference value ΔC1 of the point B is greater than the set sensitivity. If ΔC1>C01/128+1.5×(C00−C01), the state is determined to be the smoking state; otherwise, the state is determined to be the automatic starting state.





Second Example: the last initial value is C00−0x0AF1=2801, (1−1/32)*C00=0x0A99=2713, and (1−1/64)*C00=0x0AC5-2757. The current initial value is C01=0x0AB6=2742, and is between (1−1/32)*C00=2713 and (1−1/64)*C00=2757; the recorded current difference value ΔC1 is 0x0058=88>C01/32, that is, greater than 2742/32=85.7, and at this point, ΔC1 is smaller than C01/128+1.5×(C00−C01)≈109.9. Then, the state is judged to be the automatic starting state, and the output is closed.


Third Example: in the second example, only when the current difference value ΔC1 exceeds 0x006E=110>C01/32, that is, is greater than 2742/32=85.7, and is also greater than C01/128+1.5×(C01−C00)≈109.9, the state is determined to be the smoking state, and output is allowed.


Third Case:





    • when C01<(1−1/32)*C00, ΔC1 exceeds the set sensitivity, and if ΔC1>C01/128+1.5×(C01−C00), the state is determined to be the smoking state; otherwise, the state is determined to be the automatic starting state.





Similarly, for example, for point C in FIG. 4, C01 is below the −1/32 abscissa line and the difference value ΔC1 of the point C is greater than the set sensitivity. If ΔC1>C01/128+1.5×(C00−C01), the state is determined to be the smoking state; otherwise, the state is determined to be the automatic starting state.


Fourth Example: the last initial value recorded by the processor is C00=0x0AF1=2801, and (1−1/32)*C00-0×0A99=2713. The current initial value recorded at this point is C01=0x0A96=2710, and is smaller than (1−1/32)*C00=2713. The current difference value ΔC1 is 0x007A=122>C01/32, that is, is greater than 2710/32=84.7, and at this point, ΔC1 is smaller than C01/128+1.5×(C00−C01)≈157.7. Then, the state is judged to be the automatic starting state, and the output is closed.


Fifth Example: in the fourth example, only when the current difference value ΔC1 exceeds 0x009E=158>C01/32, that is, is greater than 2710/32=84.7, and is also greater than C01/128+1.5×(C01−C00)≈157.7, the state is determined to be the smoking state, and the power is allowed to be output.


Fifth Embodiment

The target data output by the airflow sensing device according to the present invention can be adopted to release automatic starting prevention.


When the automatic starting prevention function is started, the output is closed in the first step; and in the second step, an LED flashes for 2-17.5 seconds quickly, so as to remind a user of stopping smoking in the period. If smoking is performed at this point, the automatic starting prevention function is started again, and the LED quickly flashes for 2-17.5 seconds again.


After the state is determined to be the automatic starting state, the automatic starting prevention function is released is as follows:

    • (1) if working of an initial value reset module in the chip cannot be judged, the output is closed, the LED rapidly flashes for 17.5 seconds, and then, releasing is performed.
    • (2) After a 15-second initial value reset module in the chip works, when C01 is between (1−1/32)*C00 and (1+1/32)*C00, the automatic starting prevention function is required to be released. At this point, releasing is performed after a 1-second delay, the output is closed, and rapid flashing of the LED is turned off.
    • (3) After a 1-second initial value rapid reset module in the chip works, when C01 is between (1−1/64)*C00 and (1+1/64)*C00, the automatic starting prevention function is required to be released, and at this point, releasing is performed after a 1-second delay, the output is closed, and rapid flashing of the LED is turned off.


Sixth Embodiment

The target data output by the airflow sensing device according to the present invention can be adopted to set the smoking sensitivity.


Due to individual habits and regional differences of users, electronic cigarettes with different sensitivity are required to meet requirements of the users. In an existing method, electronic cigarette microphones with different models are selected to meet the requirements, such that stock costs of electronic cigarette manufacturers and electronic cigarette microphone manufacturers are higher. In the present invention, the smoking sensitivity is set through the SDO-end target data received by the processor, and an effect of different smoking sensitivity can be achieved by only one electronic smoking microphone.


For example, the recorded current initial value is C01, the recorded current difference value is ΔC1, and the sensitivity is 1/32. When ΔC1/C01>1/32, the state is determined to be the smoking state.


In an example, when the sensitivity is not adjusted, the current initial value is C01=0x0AC6=2758, and the current difference value is ΔC1=0x0057=87. When ΔC1/C01=87/2758=0.3154>1/32, the state is the smoking state.


If the processor increases the smoking sensitivity to 1/32+1/512=0.3320, when the initial value is C01=0x0AC6=2758, and the difference value is ΔC1=0x0057=87, ΔC1/C01=87/2758=0.3154 is smaller than the set sensitivity of 1/32+1/512=0.3320, and the state is the non-smoking state.


Also, the processor may set the smoking sensitivity to be smaller than 1/32, for example 1/32−1/512=0.2930.


Parameters for setting the smoking sensitivity by the processor can be written into a specific register by a program after the processor is started.


Seventh Embodiment

The target data output by the airflow sensing device according to the present invention can be adopted to control consistency of the smoking sensitivity.


When the ECM microphone is made into the airflow sensor, a smoking sensitivity deviation is +/−60 Pa, and when the MENS silicon microphone is made into the airflow sensor, the smoking sensitivity deviation is +/−30 Pa.


The processor adjusts the set smoking sensitivity to be a threshold of ΔC1/C01, and supposing that the sensitivity is 1/32−0.3125 as an example, the processor may finely adjust the parameter of the smoking sensitivity near 0.3125 and perform online burning in an electronic cigarette production process, so as to guarantee the consistent smoking sensitivity of different microphones.


Eighth Embodiment

It is common to perform an locking/unlocking comparison of a child lock by detecting successive smoking. However, if locking/unlocking sensitivity is comparable to the smoking sensitivity, false locking or unlocking is quite easily caused. According to the invention, a smoking force during locking or unlocking can be increased through the target data, such that the smoking sensitivity during locking or unlocking is reduced to realize locking/unlocking of the child lock.


The airflow sensing device and the electronic cigarette according to the present invention can change the output data format of the airflow sensing device in the electronic cigarette, such that the electronic cigarette can achieve the functions of adjusting the output power and the sensitivity and preventing automatic starting.


The foregoing descriptions are merely specific embodiments of the present invention, but are not intended to limit the protection scope of the present invention. Any variation or replacement readily figured out by a person skilled in the art within the technical scope disclosed in the present invention shall fall within the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims
  • 1. An airflow sensing device, comprising: an airflow sensor configured to output a capacitance value according to a detected airflow magnitude;a first oscillation unit provided with an internal capacitor and configured to output a first oscillation signal and send the first oscillation signal to a frequency divider;the frequency divider configured to divide a frequency of the first oscillation signal to obtain a frequency-divided signal;a second oscillation unit externally connected with a measuring capacitor and configured to convert the capacitance value into a second oscillation signal and send the second oscillation signal to a counter;the counter configured to count the second oscillation signal according to the frequency-divided signal and output a count signal; andan encoder configured to perform operation and encoding on the count signal and output target data; the target data comprising an initial value and a difference value between the initial value and a real-time value.
  • 2. The airflow sensing device according to claim 1, wherein the target data is transmitted using a single line code.
  • 3. The airflow sensing device according to claim 2, wherein data of the single line code is represented by a fixed period pulse width.
  • 4. The airflow sensing device according to claim 2, wherein the single line code comprises: a pilot code, a confirmation code, a first segmentation code, a second segmentation code, and an end code.
  • 5. The airflow sensing device according to claim 1, wherein the initial value is a positive original code.
  • 6. The airflow sensing device according to claim 1, wherein a first bit of the difference value is a sign bit; when the first bit is 0, the difference value is a positive original code; when the first bit is 1, the difference value is a negative original code.
  • 7. An electronic cigarette, comprising a processor and the airflow sensing device according to claim 1; wherein the processor: acquires a preset proportion and target data output by the airflow sensing device, the target data comprising an initial value and a difference value between the initial value and a real-time value;determines a threshold according to the preset proportion and the initial value; anddetermines output power of the electronic cigarette according to the difference value and the threshold.
  • 8. The electronic cigarette according to claim 7, wherein the processor: acquires an interval time of two initial values closest to a current time and a preset interval; and determines output power within a preset duration before a smoking state of the electronic cigarette according to the interval time and the preset interval.
  • 9. The electronic cigarette according to claim 7, wherein the processor sets preset sensitivity according to the initial value and the difference value.
  • 10. The electronic cigarette according to claim 9, wherein the processor: sets automatic starting prevention sensitivity according to a current initial value, a last initial value closest to the current initial value in time, and the difference value; when the difference value exceeds the automatic starting prevention sensitivity, determines that a current state of the electronic cigarette is the smoking state; andwhen the difference value does not exceed the automatic starting prevention sensitivity, determines that the current state of the electronic cigarette is an automatic starting state.
Priority Claims (1)
Number Date Country Kind
202411681922.3 Nov 2024 CN national