Airflow sensor and electronic cigarette
By designing an airflow sensor in an electronic cigarette, and adjusting the output power and sensitivity using the airflow sensor and processor, the problem of automatic smoking and output data format is solved, the anti-self-start function is realized, and the safety and flexibility of the use of electronic cigarettes is improved. sex.
Patent Information
- Application Number
- CN202411681922.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-22
- Publication Date
- 2025-01-10
AI Technical Summary
Existing electronic cigarette air flow sensors are prone to automatic smoking, and the output power and sensitivity are difficult to adjust, and lack the anti-self-start function.
Design an airflow sensor to detect the airflow size and output the capacitance value through the airflow sensor. The capacitance value is converted into target data using internal and external oscillation units, frequency dividers, counting units and encoders. The processor adjusts the output power based on these data. and sensitivity, and realize anti-self-start function.
It realizes the adjustment of the output data format of the air flow sensor in the electronic cigarette, and can flexibly adjust the output power and sensitivity, prevent self-starting, and improves the safety and flexibility of the electronic cigarette.
Smart Images

Figure CN119279281A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of electronic cigarettes, and in particular to an airflow sensor and an electronic cigarette. Background Art
[0002] Electronic cigarettes are non-combustion cigarettes and a good substitute for cigarettes. They are generally composed of a shell, a mouthpiece, a dust filter, a fragrance box, a power supply, a cigarette cap, etc. When the mouthpiece is drawn, negative pressure is generated in the cigarette, the fragrance box cover is opened, and the outside air enters the cigarette and is inhaled as a carrier gas for the aroma.
[0003] At present, electronic cigarettes mainly use airflow sensors to determine whether smoking is in progress. The electric heating wire is heated to a certain temperature when smoking to atomize the smoke oil. The current airflow sensors all control the heating of the electric heating wire through high and low levels, which can easily cause automatic smoking, which is a problem that needs to be solved urgently. Summary of the invention
[0004] In view of the above problems, the purpose of the present invention is to provide an airflow sensor and an electronic cigarette, which can change the output data format of the airflow sensor in the electronic cigarette, so that the electronic cigarette can adjust the output power and sensitivity and prevent self-starting function.
[0005] The present invention provides an airflow sensor, comprising: An airflow sensor is used to output a capacitance value according to the detected airflow size; A first oscillation unit configured with an internal capacitor, used for outputting a first oscillation signal and sending it to a frequency divider; A frequency divider, used for dividing the frequency of the first oscillation signal to obtain a frequency-divided signal; A second oscillation unit externally connected to the capacitance measurement unit is used to convert the capacitance value into a second oscillation signal and send it to the counting unit; a counting unit, configured to count the second oscillation signal according to the frequency-divided signal and output a counting signal; The encoder is used to calculate and encode the counting signal and output target data; the target data includes an initial value and a difference between the initial value and a real-time value.
[0006] In a possible implementation manner, single-line encoding is used to transmit the target data.
[0007] In a possible implementation manner, the single-line encoded data is represented by a pulse width of a fixed period.
[0008] In a possible implementation manner, the single-line code includes: a guide code, a confirmation code, a first segmentation code, a second segmentation code and an end code.
[0009] In a possible implementation, the initial value is an original code of a positive number.
[0010] In a possible implementation, the first bit of the difference is a sign bit; when the first bit is 0, the difference is the original code of a positive number; when the first bit is 1, the difference is the original code of a negative number.
[0011] The present invention also provides an electronic cigarette, comprising a processor and any one of the above-mentioned airflow sensors; The processor obtains a preset ratio and target data output by the airflow sensor, wherein the target data includes an initial value and a difference between the initial value and a real-time value; Determine a threshold value according to the preset ratio and the initial value; The output power of the electronic cigarette is determined according to the difference and the threshold.
[0012] In a possible implementation, the processor obtains an interval time between two initial values closest to a current time and a preset interval; The output power of the electronic cigarette within a preset time period before the smoking state is determined according to the interval time and the preset interval.
[0013] In a possible implementation manner, the processor sets a preset sensitivity according to the initial value and the difference.
[0014] In a possible implementation, the processor sets the anti-self-start sensitivity according to the current initial value, the last initial value closest to the current initial value, and the difference; When the difference exceeds the anti-self-start sensitivity, determining that the current state of the electronic cigarette is a smoking state; When the difference does not exceed the anti-self-start sensitivity, it is determined that the current state of the electronic cigarette is a self-start state.
[0015] The present invention provides an airflow sensor and an electronic cigarette, which can change the output data format of the airflow sensor in the electronic cigarette, so that the electronic cigarette can adjust the output power and sensitivity and prevent self-starting function. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 A schematic diagram of the structure of an airflow sensor provided by an embodiment of the present invention; Figure 2 A schematic diagram of outputting target data provided by an embodiment of the present invention; Figure 3 This is a diagram showing the change of airflow in the forward detection of the anti-self-starting of the embodiment of the present invention; Figure 4 It is a diagram of the change of the airflow for preventing self-starting of reverse detection according to an embodiment of the present invention; Figure 5A functional block diagram of an electronic atomizer provided by an embodiment of the present invention; FIG6( a ) is a structural diagram of a membrane in a non-smoking state provided by an embodiment of the present invention; FIG6( b ) is a structural diagram of a membrane in a smoking state provided by an embodiment of the present invention; FIG6( c ) is a diagram showing the structure of a diaphragm in a backflush state provided by an embodiment of the present invention; Figure 7 A functional block diagram of an airflow sensing unit provided in an embodiment of the present invention; Figure 8 A schematic diagram of capacitance change during airflow detection provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0017] The following detailed description of the embodiments of the present invention is further described in detail in conjunction with the accompanying drawings and examples. The detailed description of the following embodiments and the accompanying drawings are used to exemplarily illustrate the principles of the present invention, but cannot be used to limit the scope of the present invention, that is, the present invention is not limited to the preferred embodiments described, and the scope of the present invention is defined by the claims.
[0018] In the description of the present invention, it should be noted that, unless otherwise specified, “plurality” means two or more than two; the terms “first”, “second”, etc. are only used for descriptive purposes and cannot be understood as indicating or implying relative importance; for ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to the specific circumstances.
[0019] Figure 1 A schematic diagram of the structure of an airflow sensor provided by an embodiment of the present invention is shown in FIG. Figure 1 As shown, the present invention provides an airflow sensor, comprising: Airflow sensor MEMS, used to output capacitance value according to airflow; A first oscillation unit OSC1 configured with an internal capacitor, used for outputting a first oscillation signal and sending it to a frequency divider; A frequency divider F / F, used for dividing the frequency of the first oscillation signal to obtain a frequency-divided signal; The second oscillating unit OSC2 externally connected to the capacitor is used to convert the capacitance value into a second oscillating signal and send it to the counting unit; wherein the first oscillating unit and the second oscillating unit have the same architecture.
[0020] A counting unit Counter, used to count the second oscillation signal according to the frequency division signal and output a counting signal; The encoder is used to calculate and encode the counting signal and output the 28-bit target data at the SDO end; the target data includes the 14-bit initial value C0, i.e. D[27:14], and the 14-bit difference ΔC0 between the initial value and the real-time value, i.e. D[13:0]. The processor of the electronic cigarette can realize functions such as anti-self-start, setting smoking sensitivity, and electronic lock on / unlock sensitivity based on the initial value and the difference.
[0021] Specifically, the present invention converts airflow detection into capacitance measurement. When the target data does not change significantly for a long time, the value is set as the initial value C0. When the airflow changes, the capacitance value changes, and the corresponding difference ΔC0 changes. The present invention can determine the direction and size of the airflow through the difference ΔC0.
[0022] FIG6 is a diagram of the diaphragm structure in the microphone provided by an embodiment of the present invention. As shown in FIG6, 221 is a conductive shell, 222 is a conductive back plate, 223 is an insulating gasket, 224 is an insulating column, and 225 is a conductive film. The conductive back plate 222 and the conductive film 225 together constitute a capacitor. The capacitance value is inversely proportional to the distance d between the conductive back plate 222 and the conductive film 225. FIG6 (a) is a non-smoking state; FIG6 (b) is a smoking state; and FIG6 (c) is a back-blowing state. Obviously, d2<d1<d3. The capacitance value gradually decreases in the smoking state, the non-smoking state, and the back-blowing state, which is a forward detection. Correspondingly, the capacitance value gradually increases in the smoking state, the non-smoking state, and the back-blowing state, which is a reverse detection.
[0023] Figure 7 This is a functional block diagram of an airflow sensing unit provided in an embodiment of the present invention. The capacitance value is measured using two identical resistor-capacitor oscillators. The first oscillator OSC1 is configured with an internal capacitor C, and the second oscillator OSC2 is externally connected to a measurement capacitor. When the digital signal output is 1024, the value of the measured capacitance is C; when the digital signal output is less than 1024, the value of the measured capacitance is greater than C; when the digital signal output is greater than 1024, the value of the measured capacitance is less than C.
[0024] Figure 8 A schematic diagram of capacitance change during airflow detection provided by an embodiment of the present invention, such as Figure 8 As shown, the measured initial capacitance value is C1 and the real-time capacitance value is C2, C3 or C4, C3 > C2 > C1. If the real-time capacitance value is C3 and exceeds a certain threshold value, it is a smoking state; if the real-time capacitance value is C2 and does not exceed a certain threshold value, it is a non-smoking state; if the real-time capacitance value C4 < the initial capacitance value C1, it is a blowback state.
[0025] Due to backblowing or diaphragm deformation, the measured capacitance initial value C1 will change slightly, which will cause the smoking sensitivity of the electronic cigarette to change. At this time, the measured capacitance initial value C1 needs to be reset. The digital signal output value after not smoking for 15 seconds is used as the reset value.
[0026] In a possible implementation, single-line coding is used to transmit target data, where data 1 or 0 of the single-line coding is represented by a pulse width of a fixed period.
[0027] Figure 2 The output schematic diagram of the target data provided by the embodiment of the present invention divides the 1024 cycles of the system clock (a total of 30mS) into 1024 units through the internal counting unit and logic operation of the chip, and one cycle T is about 30μS. Logic 0 consists of a high level cycle TH and three low level cycles TL (abbreviated as 1TH + 3TL); logic 1 consists of three high level cycles and one low level cycle (abbreviated as 3TH + 1TL).
[0028] In a possible implementation, the single-line encoding includes: a guide code, a confirmation code, a first segmentation code, a second segmentation code, and an end code. The guide code consists of 255 high levels and 512 low levels, the confirmation code is 1101 (using twice the period of data), the segmentation code is 2TH and 1TL, and the 14-bit initial count value C0, that is, D[27:14], plus the segmentation code 7TH and 1TL, followed by the 14-bit difference ΔC0 between the initial value and the count value of the real-time capacitance change, that is, D[13:0], and the end code 37TH and 65TL.
[0029] In a possible implementation, the initial value D[27:14] is the original code of a positive number. During forward detection, such as product C581X, the difference ΔC0, that is, D[13:0] is the original code of a positive number, which can be directly calculated after being converted to decimal, where the highest bit D
[13] is the sign bit and is always 0; During reverse detection, such as product C381X, the difference ΔC0, that is, D[13:0] is the original code of a negative number, which can be directly calculated after being converted to decimal, where the highest bit D
[13] is the sign bit and is always 1.
[0030] In a possible implementation, the first bit D
[13] of the difference is a sign bit; when the first bit D
[13] is 0, the difference D[13:0] is the original code of a positive number; when the first bit D
[13] is 1, the difference D[13:0] is the original code of a negative number.
[0031] The present invention also provides an electronic atomizer, which is the core component of the electronic cigarette and is in the form of an integrated microphone. Figure 5 A functional block diagram of an electronic atomizer provided in an embodiment of the present invention, such as Figure 5The main functional units include airflow sensing unit, output control unit, output power tube, heating wire, battery and capacitor.
[0032] The airflow sensing unit is used to detect the airflow size of smoking and determine whether it is a smoking or non-smoking state. The output control unit is used to control the output power tube to be completely cut off when not smoking; and to be turned on for part or all of the time when smoking. The output power tube is used to drive the heating wire to generate heat. The battery is used to power each functional unit. The capacitor is used for decoupling the power supply end.
[0033] The airflow sensing unit includes an airflow sensor. It determines the direction and size of the airflow of the smoker by detecting the change in capacitance, thereby determining the smoking or non-smoking state and the back-blowing state. The change in capacitance caused by the change in airflow is completed by the diaphragm or MENS in the ECM (commonly known as the microphone).
[0034] The present invention also provides an electronic cigarette, comprising a processor and any one of the above-mentioned airflow sensors.
[0035] The processor obtains a preset ratio and target data output by the airflow sensor, the target data including an initial value and a difference between the initial value and a real-time value; determines a threshold value according to the preset ratio and the initial value; determines the output power of the electronic cigarette according to the difference and the threshold value, and adjusts the output power according to the suction force.
[0036] In a possible implementation, the processor obtains the interval time and the preset interval between the two initial values closest to the current time; according to the interval time and the preset interval, the output power of the electronic cigarette within the preset time before the smoking state is determined to achieve output variable power.
[0037] In a possible implementation, the processor sets a preset sensitivity according to the initial value and the difference value to implement a function of setting the smoking sensitivity.
[0038] In one possible implementation, the processor sets the anti-self-start sensitivity according to the current initial value, the last initial value closest to the current initial value, and the difference; when the difference exceeds the anti-self-start sensitivity, it is determined that the current state of the electronic cigarette is the smoking state; when the difference does not exceed the anti-self-start sensitivity, it is determined that the current state of the electronic cigarette is the self-start state, thereby achieving anti-self-start.
[0039] To better understand the present invention, various functions that can be achieved by using the target data output by the airflow sensor of the present invention are described below in conjunction with specific embodiments.
[0040] Example 1
[0041] The target data output by the airflow sensor of the present invention can be used to adjust the output power according to the suction force.
[0042] The output power varies from 16 to 25W, with an initial value of C0=3000; as the suction force increases during smoking, the output power also increases accordingly.
[0043] ΔC1=(1 / 32)×C0, the processor determines that the current state is smoking, and outputs the first gear Po1 power of 16W; ΔC2≥(3 / 64)×C0, output second gear Po2 power 18.5W; ΔC3≥(2 / 32)×C0, output power of the third gear Po3 is 19W; ΔC4≥(5 / 64)×C0, output power of the fourth gear Po4 is 20W; ΔC5≥(3 / 32)×C0, output power of the fifth gear Po5 is 21W; ΔC6≥(7 / 64)×C0, output power of the sixth gear Po6 is 22W; ΔC7≥(1 / 8)×C0, output power of the seventh gear Po7 is 23W; ΔC8≥(9 / 64)×C0, output power of the eighth gear Po8 is 24W; ΔC9≥(5 / 32)×C0, output power of the ninth gear Po9 is 25W; The output power levels Po1-Po9 and the difference thresholds ΔC1-ΔC9 can be set arbitrarily. The difference thresholds ΔC1-ΔC9 are preferably ratios of the initial value C0.
[0044] In one example, the gear output power is n×(1 / 128)×C0, and the maximum value of ΔCn does not exceed 5 / 32.
[0045] Example 2
[0046] In order to obtain a better smoking taste, the target data output by the airflow sensor of the present invention can be used to change the power output.
[0047] In the first 500mS of smoking, the output power changes from 16 to 25W.
[0048] If the interval between two smokings is more than 30 minutes, within the first 500ms of smoking, set the output to the fifth gear P05 power of 25W; The interval between two smokings is 10 to 30 minutes. Within the first 500ms of smoking, the output power is set to 23.5W at the fourth gear P04. The interval between two smokings is 5 to 10 minutes. Within the first 500mS of smoking, the output power is set to the third gear P03 at 21.5W; The interval between two puffs is 1 to 5 minutes. Within the first 500mS of smoking, the output power is set to the second gear P02 at 19W. The interval between two smokings is less than 1 minute. Within the first 500mS of starting to smoke, set the output power to the first gear P01 at 16W.
[0049] Among them, the first 500mS of smoking and the interval between two smoking can be set arbitrarily.
[0050] Example 3
[0051] The target data output by the airflow sensor of the present invention can be used to positively detect the microphone to prevent self-starting.
[0052] Taking C581X as an example, the processor receives the target data of the SDO terminal of C581X. C01 is the initial value of this time, ΔC1 is the difference of this time, 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), it is determined to be in the smoking state; otherwise, it is determined to be in the self-starting state.
[0053] First case: When the initial value C01 ≤ (1 + 1 / 64) × C00, the difference ΔC1 exceeds the set sensitivity and is determined to be a smoking state. Figure 3 At point A, as long as C01 is below the 1 / 64 horizontal coordinate line, the difference ΔC1 at point A is greater than the set sensitivity, and ΔC1>C01 / 128+1.5×(C01-C00) must be satisfied, and the automatic smoking mode will not appear, and it is determined to be in the smoking state.
[0054] Example 1: The last initial value is C00 = 0x0AC6 = 2758, (1 + 1 / 64) × C00 = 0x0AF1 = 2801. The current initial value is C01 = 0x0AF0 = 2800 < 2801, the current difference ΔC1 is 0x0058 = 88, C01 / 32 = 2800 / 32 = 87.5.
[0055] That is, C01<(1+1 / 64)×C00, ΔC1>C01 / 32, it is determined to be a smoking state, and the output power is allowed. At this time, ΔC1 is also greater than C01 / 128+1.5×(C01-C00)≈84.9.
[0056] Second case: When (1+1 / 64)×C00<C01≤(1+1 / 32)×C00, ΔC1 exceeds the set sensitivity. If ΔC1>C01 / 128+1.5×(C01-C00), it is determined to be in the smoking state; otherwise, it is determined to be in the self-starting state. Figure 3At point B in the figure, C01 is between the 1 / 64 and 1 / 32 horizontal coordinate lines, and the difference ΔC1 at point B is greater than the set sensitivity. If ΔC1>C01 / 128+1.5×(C01-C00), it is determined to be in the smoking state; otherwise, it is determined to be in the self-starting state.
[0057] Example 2: The last initial value recorded by MCU is C00=0x0AC6=2758, (1+1 / 64)×C00=0x0AF1=2801, (1+1 / 32)×C00=0x0B1C=2844. The current initial value is C01=0x0AF8=2808, which is greater than (1+1 / 64)×C00=2801, but less than (1+1 / 32)×C00=2844; the current difference ΔC1 is 0x0058=88>C01 / 32, that is, greater than 2808 / 32≈87.8. At this time, ΔC1 is less than C01 / 128+1.5×(C01-C00)≈96.9. It is judged as the self-start state and the output is turned off.
[0058] Example 3: The last initial value is C00 = 0x0AC6 = 2758, (1 + 1 / 64) × C00 = 0x0AF1 = 2801, (1 + 1 / 32) × C00 = 0x0B1C = 2844. The current initial value is C01 = 0x0AF8 = 2808, which is greater than (1 + 1 / 64) × C00 = 2801, but less than (1 + 1 / 32) × C00 = 2844. The current difference ΔC1 is 0x0061 = 97>C01 / 32, which is greater than 2808 / 32≈87.8. At this time, ΔC1 is also greater than C01 / 128 + 1.5 × (C01-C00) ≈ 96.9, which means that it is determined to be in the smoking state and the output power is allowed.
[0059] By comparing Example 2 with Example 3, since C01 is between (1+1 / 64)×C00 and (1+1 / 32)×C00, the smoking sensitivity is reduced. This phenomenon often occurs when power is turned on, during multiple rapid resets, when the environment changes, and when there is sudden interference. Automatic smoking can be suppressed by reducing the smoking sensitivity, that is, preventing self-start.
[0060] The third case: When C01>(1+1 / 32)×C00, ΔC1 exceeds the set sensitivity. If ΔC1>C01 / 128+1.5×(C01-C00), it is determined to be in the smoking state; otherwise, it is determined to be in the self-starting state. Figure 3 At point C, C01 is above the 1 / 32 horizontal coordinate line, and the difference ΔC1 at point C is greater than the set sensitivity. If ΔC1>C01 / 128+1.5×(C01-C00), it is determined to be in the smoking state; otherwise, it is in the self-starting state.
[0061] Example 4: The last initial value C00 = 0x0AC6 = 2758, (1 + 1 / 32) × C00 = 0x0B1C = 2844. The current initial value is C01 = 0x0B22 = 2850, which is greater than (1 + 1 / 32) × C00 = 2844; the current difference ΔC1 is 0x009A = 154 > C01 / 32, which is much greater than 2850 / 32≈89.1. However, ΔC1 is less than C01 / 128 + 1.5 × (C01-C00) ≈ 160.3, so it is determined to be in the self-start state and the output power is stopped.
[0062] Example 5: The last initial value C00 = 0x0AC6 = 2758, (1 + 1 / 32) × C00 = 0x0B1C = 2844. The recorded initial value is C01 = 0x0B22 = 2850, which is greater than (1 + 1 / 32) × C00 = 2844. The difference ΔC1 is 0x00A2 = 162 > C01 / 32, which is much greater than 2850 / 32≈89.1. At this time, ΔC1 is also greater than C01 / 128 + 1.5 × (C01-C00) ≈ 160.3. It is determined to be a smoking state, and the output power is allowed.
[0063] By comparing Example 4 with Example 5, since C01 is greater than (1+1 / 32)×C00, the smoking sensitivity is greatly reduced. This phenomenon occurs after the electronic cigarette blows back for 15 seconds.
[0064] Example 4
[0065] The target data output by the airflow sensor of the present invention can be used to reversely detect the microphone to prevent self-starting.
[0066] Take C381X as an example, MCU receives SDO data of C381X. C01 is the initial value recorded this time, ΔC1 is the difference value recorded this time, and C00 is the last initial value recorded by MCU. For example, if the set sensitivity is 1 / 32, ΔC1 exceeds the set sensitivity, if ΔC1>C01 / 128+1.5×(C00-C01), it is determined to be in smoking state; otherwise, it is determined to be in self-starting state.
[0067] First case: When the initial value C01 ≥ (1-1 / 64) × C00, the difference ΔC1 exceeds the set sensitivity and is determined to be a smoking state. Figure 4 At point A, as long as C01 is above the -1 / 64 horizontal coordinate line, the difference ΔC1 at point A is greater than the set sensitivity, and ΔC1>C01 / 128+1.5×(C00-C01) must be satisfied. The automatic smoking mode will not appear and it will be judged as the smoking state.
[0068] Example 1: The last initial value is C00 = 0x0AF1 = 2801, (1-1 / 64) × C00 = 0x0AC5 = 2757. The current initial value is C01 = 0x0AC6 = 2758, which is greater than (1-1 / 64) × C00 = 2757; the current difference ΔC1 is 0x0057 = 87 > C01 / 32, that is, greater than 2800 / 32 = 86.2, which is determined to be a smoking state and output is allowed. At this time, ΔC1 must be greater than C01 / 128 + 1.5 × (C00-C01) ≈ 86.0.
[0069] Second case: When (1-1 / 32)×C00≤C01<(1-1 / 64)×C00, ΔC1 exceeds the set sensitivity. If ΔC1>C01 / 128+1.5×(C00-C01), it is determined to be in the smoking state; otherwise, it is determined to be in the self-starting state. Figure 4 At point B in the figure, C01 is between -1 / 32 and -1 / 64 horizontal coordinate lines, and the difference ΔC1 at point B is greater than the set sensitivity. If ΔC1>C01 / 128+1.5×(C00-C01), it is determined to be in the smoking state; otherwise, it is determined to be in the self-starting state.
[0070] Example 2: The last initial value is C00 = 0x0AF1 = 2801, (1-1 / 32) × C00 = 0x0A99 = 2713, (1-1 / 64) × C00 = 0x0AC5 = 2757. The current initial value is C01 = 0x0AB6 = 2742, which is between (1-1 / 32) × C00 = 2713 and (1-1 / 64) × C00 = 2757; the recorded difference ΔC1 is 0x0058 = 88 > C01 / 32, which is greater than 2742 / 32 = 85.7. At this time, ΔC1 is less than C01 / 128 + 1.5 × (C00-C01) ≈ 109.9. It is determined to be in the self-start state and the output is turned off.
[0071] Example 3: In Example 2, only the current difference ΔC1 exceeds 0x006E=110>C01 / 32, that is, greater than 2742 / 32=85.7, and also greater than C01 / 128+1.5×(C01-C00)≈109.9. Then it is determined to be in the smoking state and the output is allowed.
[0072] The third case: When C01<(1-1 / 32)×C00, ΔC1 exceeds the set sensitivity. If ΔC1>C01 / 128+1.5×(C01-C00), it is determined to be a smoking state; otherwise, it is determined to be a self-starting state.
[0073] Likewise Figure 4At point C, C01 is below the -1 / 32 horizontal coordinate line, and the difference ΔC1 at point C is greater than the set sensitivity. If ΔC1>C01 / 128+1.5×(C00-C01), it is determined to be in the smoking state; otherwise, it is determined to be in the self-starting state. Example 4: The last initial value recorded by the processor is C00 = 0x0AF1 = 2801, (1-1 / 32) × C00 = 0x0A99 = 2713. The current initial value recorded is C01 = 0x0A96 = 2710, which is less than (1-1 / 32) × C00 = 2713. The current difference ΔC1 is 0x007A = 122 > C01 / 32, which is greater than 2710 / 32 = 84.7. At this time, ΔC1 is less than C01 / 128 + 1.5 × (C00-C01) ≈ 157.7. It is determined to be in the self-start state and the output is turned off.
[0074] Example 5: In Example 4, only when the current difference ΔC1 exceeds 0x009E=158>C01 / 32, that is, greater than 2710 / 32=84.7 and also greater than C01 / 128+1.5×(C01-C00)≈157.7, can it be determined as a smoking state and output power is allowed.
[0075] Example 5
[0076] The target data output by the airflow sensor of the present invention can prevent self-starting release.
[0077] When the anti-self-start function is turned on, the first step is to turn off the output; the second step is to make the LED flash quickly for 2 to 17.5 seconds to remind the user not to smoke during this period. If you smoke at this time, the anti-self-start function will be turned on again, and the LED will flash quickly for another 2 to 17.5 seconds.
[0078] After the automatic start state is determined, how to release the anti-automatic start function: (1) If the chip internal reset initial value module fails to work, the output will be turned off and the LED will flash for 17.5 seconds before being released.
[0079] (2) After the chip resets the initial value module for 15 seconds, C01 is between (1-1 / 32)×C00 and (1+1 / 32)×C00, and the anti-self-start function needs to be released. At this time, the output is turned off and the LED light flashes after a delay of 1 second.
[0080] (3) After the 1-second fast reset initial value module inside the chip works, C01 is between (1-1 / 64)×C00 and (1+1 / 64)×C00, and the anti-self-start function needs to be released. At this time, it is released after a delay of 1 to turn off the output and turn off the LED light flashing.
[0081] Example 6
[0082] The target data output by the airflow sensor of the present invention can be used to set the smoking sensitivity.
[0083] Due to the personal habits of users and regional differences, electronic cigarettes with different sensitivities are required to meet user requirements. The current practice is to select different models of electronic cigarette microphones to meet the needs, which leads to high stocking costs for electronic cigarette manufacturers and electronic cigarette microphone manufacturers. The present invention sets the smoking sensitivity through the SDO end target data received by the processor, and only one electronic cigarette microphone is needed to achieve the effects of different smoking sensitivities.
[0084] For example, the recorded initial value C01 and the difference value ΔC1 have a sensitivity of 1 / 32. When ΔC1 / C01>1 / 32, it is determined to be a smoking state.
[0085] In one example, when the sensitivity is not adjusted, the current initial value C01 = 0x0AC6 = 2758, and the current difference ΔC1 = 0x0057 = 87. When ΔC1 / C01 = 87 / 2758 = 0.3154> 1 / 32, it is a smoking state.
[0086] If the processor increases the smoking sensitivity and adjusts the sensitivity to 1 / 32+1 / 512=0.3320, when the initial value C01=0x0AC6=2758, the difference ΔC1 = 0x0057 = 87, ΔC1 / C01=87 / 2758=0.3154 is less than the set sensitivity of 1 / 32+1 / 512=0.3320, which is a non-smoking state.
[0087] Similarly, the smoking sensitivity set by the processor can also be smaller than 1 / 32, for example, 1 / 32-1 / 512=0.2930.
[0088] The parameters for setting the smoking sensitivity of the processor can be written into specific registers by the program after the processor is turned on.
[0089] Example 7
[0090] The target data output by the airflow sensor of the present invention can be used to control the consistency of smoking sensitivity.
[0091] The smoking sensitivity deviation of the ECM microphone made into an airflow sensor is ±60Pa, and the smoking sensitivity deviation of the MENS silicon microphone made into an airflow sensor is ±30Pa.
[0092] The smoking sensitivity set by the processor adjustment is the threshold of ΔC1 / C01. Assuming the sensitivity is 1 / 32=0.3125, the processor fine-tunes the smoking sensitivity parameter around 0.3125 and burns it online during the production of the electronic cigarette, thereby ensuring that the smoking sensitivity of different microphones is consistent.
[0093] Example 8
[0094] It is common to compare the child lock on / off by detecting continuous smoking. However, if the on / off sensitivity is equal to the smoking sensitivity, it is easy to cause wrong locking or unlocking. The present invention can increase the smoking intensity when locking or unlocking through target data, reduce the smoking sensitivity when locking or unlocking, and realize the on / off of the child lock.
[0095] The present invention provides an airflow sensor and an electronic cigarette, which can change the output data format of the airflow sensor in the electronic cigarette, so that the electronic cigarette can adjust the output power and sensitivity and prevent self-starting function.
[0096] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims
1. An airflow sensor, characterized in that: include: An airflow sensor is used to output a capacitance value according to the detected airflow size; A first oscillation unit configured with an internal capacitor, used for outputting a first oscillation signal and sending it to a frequency divider; A frequency divider, used for dividing the frequency of the first oscillation signal to obtain a frequency-divided signal; A second oscillation unit externally connected to the capacitance measurement unit is used to convert the capacitance value into a second oscillation signal and send it to the counting unit; a counting unit, configured to count the second oscillation signal according to the frequency-divided signal and output a counting signal; The encoder is used to calculate and encode the counting signal and output target data; the target data includes an initial value and a difference between the initial value and a real-time value.
2. The airflow sensor according to claim 1, characterized in that: The target data is transmitted using single-line encoding.
3. The airflow sensor according to claim 2, characterized in that: The single-line coded data is represented by a pulse width of a fixed period.
4. The airflow sensor according to claim 2, characterized in that: The single-line code includes: a guide code, a confirmation code, a first segmentation code, a second segmentation code and an end code.
5. The airflow sensor according to claim 1, characterized in that: The initial value is the original code of a positive number.
6. The airflow sensor according to claim 1, characterized in that: The first bit of the difference is a sign bit; when the first bit is 0, the difference is the original code of a positive number; when the first bit is 1, the difference is the original code of a negative number.
7. An electronic cigarette, characterized in that: comprising a processor and an airflow sensor as claimed in any one of claims 1 to 6; The processor obtains a preset ratio and target data output by the airflow sensor, wherein the target data includes an initial value and a difference between the initial value and a real-time value; Determine a threshold value according to the preset ratio and the initial value; The output power of the electronic cigarette is determined according to the difference and the threshold.
8. The electronic cigarette according to claim 7, characterized in that: The processor obtains the interval time between the two initial values closest to the current time and the preset interval; The output power of the electronic cigarette within a preset time period before the smoking state is determined according to the interval time and the preset interval.
9. The electronic cigarette according to claim 7, characterized in that: The processor sets a preset sensitivity according to the initial value and the difference value.
10. The electronic cigarette according to claim 9, characterized in that: The processor sets the anti-self-start sensitivity according to the current initial value, the last initial value closest to the current initial value, and the difference; When the difference exceeds the anti-self-start sensitivity, determining that the current state of the electronic cigarette is a smoking state; When the difference does not exceed the anti-self-start sensitivity, it is determined that the current state of the electronic cigarette is a self-start state.
Citation Information
Cited By
Device capable of automatically adjusting oil inlet amount according to suction force and electronic cigarette
CN121264717A