Oil leakage control circuit, oil leakage detection circuit, oil leakage control circuit, method, airflow sensor assembly and electronic cigarette

CN120358961APending Publication Date: 2025-07-22WUXI WINSEMI MICROELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202380049602.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-04-23
Filing Date
2023-12-08
Publication Date
2025-07-22

AI Technical Summary

Technical Problem

In existing e-cigarettes, e-liquid easily leaks into the capacitive airflow sensor or control chip, causing misjudgment of the puffing state and triggering the heating element to malfunction, which may lead to safety accidents such as burns or fires.

Method used

An oil leakage detection circuit is designed, which is connected to the capacitive airflow sensor through the power supply terminal, power grounding terminal, airflow terminal and atomization terminal, uses the first current source to charge the airflow sensor, and samples the voltage through the oil leakage detection unit. Compare the sampling voltage with the reference voltage to determine whether the electronic cigarette is leaking oil and control the power switch to avoid malfunction.

Benefits of technology

It effectively avoids long-term misoperation of the heating element caused by misjudgment of the suction state due to oil leakage, reduces the risk of safety accidents, and utilizes the existing airflow end to achieve multi-functions, reducing costs and user-perceived impact.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120358961A_ABST
    Figure CN120358961A_ABST
Patent Text Reader

Abstract

The oil leakage detection circuit comprises an airflow end which is used for being connected with one electrode of a capacitive airflow sensor; the oil leakage detection circuit (300) further comprises a first current source (321), an oil leakage detection unit (330) and an oil leakage control unit (310), the first current source (321) and the oil leakage detection unit (330) are both connected with the airflow end, the oil leakage control unit (310) is connected with the oil leakage detection unit (330), the first current source (321) charges the capacitive airflow sensor through the airflow end, and the first current source (321) charges the capacitive airflow sensor through the airflow end. The oil leakage detection unit (330) samples the voltage of an airflow end after being charged for an oil leakage detection time period to obtain a first sampling voltage, and the oil leakage detection unit (330) compares the first sampling voltage with a first reference voltage and outputs comparison result information; and the oil leakage control unit (310) judges whether the electronic cigarette is in an oil leakage state or not according to the comparison result information. The invention further provides a tar leakage control circuit, a tar leakage control circuit, a tar leakage detection method, an airflow sensor assembly and an electronic cigarette.
Need to check novelty before this filing date? Find Prior Art

Description

Oil leakage control circuit, oil leakage detection circuit, oil leakage control circuit, method, airflow sensor assembly and electronic cigarette

[0001] This application requires that on December 16, 2022, the application number is CN202211637211.7 and the application name is “A method and circuit for detecting oil leakage, an air flow sensor assembly and an electronic cigarette” be submitted to the China Patent Office, and that on December 16, 2022, the application number is CN202211637580.6 and the application name is “A circuit and method for detecting oil leakage, an air flow sensor assembly and an electronic cigarette” be submitted to the China Patent Office, and that on December 16, 2022, the application number is CN202211623635.8 and the application name is “A method and circuit for detecting oil leakage, an air flow sensor assembly and an electronic cigarette” be submitted to the China Patent Office, and that on December 16, 2022, the application number is CN202211623657.4 and the application name is “ An oil leakage detection circuit and method, airflow sensor assembly, and electronic cigarette", and claiming the priority of the Chinese patent applications filed with the China Patent Office on December 16, 2022, with application number CN202211623645.1 and application name "An oil leakage detection circuit and method, airflow sensor assembly and electronic cigarette", and claiming the priority of the Chinese patent applications filed with the China Patent Office on December 17, 2022, with application number CN202211628417.3 and application name "An oil leakage control method and circuit, airflow sensor assembly, electronic cigarette", and claiming the priority of the Chinese patent applications filed with the China Patent Office on April 23, 2023, with application number CN202310442649.8 and application name "An oil leakage control circuit, airflow sensor assembly and electronic cigarette", and the contents of the above-mentioned prior applications are incorporated into this application by reference. Technical Field

[0002] The present application relates to the technical field of electronic cigarettes, and in particular to an oil leakage control circuit, an oil leakage detection circuit, an oil leakage control circuit, a method, an airflow sensor assembly, and an electronic cigarette. Background Art

[0003] Electronic cigarettes are electronic devices that simulate cigarettes. They replace traditional cigarettes by simulating the taste and smoke of real cigarettes, which not only saves consumers money but also reduces the harm caused by "second-hand smoke".

[0004] Existing e-cigarettes consist of a cartridge and a stem. The cartridge contains e-liquid and a heating element, while the stem houses a battery, a control chip, and a capacitive airflow sensor. When a user draws on the e-cigarette, the airflow sensor triggers the control chip to operate the heating element, and the e-liquid in the cartridge is atomized for the user to inhale. The airflow channel used for inhalation and the channel where the e-liquid is atomized for inhalation are located within the same channel. As is well known, e-liquid has a much greater dielectric constant than air. During use, e-liquid atomization or gravity can enter the airflow channel, potentially leaking into the capacitive airflow sensor or onto the circuit board where the control chip is mounted.

[0005] In the existing technology, the control chip determines whether the e-cigarette is in the inhalation state through capacitance or capacitance changes. Oil leakage may cause it to be misjudged as the inhalation state, triggering the heating element to malfunction. If the heating element keeps working for a long time, it is easy to burn the user and easily cause safety accidents such as fire.

[0006] Summary of the Invention

[0007] After extensive research, the inventors of this application discovered that existing e-liquid leaks into capacitive airflow sensors typically occur in four scenarios, as shown in Figures 1a-1d. After extensive product disassembly, analysis, and experimentation, the inventors discovered that the primary scenario for e-liquid leakage into the capacitive airflow sensor is shown in Figure 1c, which accounts for the majority of leaks. The inventors subsequently analyzed the cause and found that, generally speaking, the distance between the two electrodes of a capacitive airflow sensor is very small, typically ranging from 1μm to 50μm. However, e-liquid droplets are relatively large, far exceeding the distance between the two electrodes. Consequently, when e-liquid droplets drip through the airflow channel and land between the two electrodes of the airflow sensor, they are likely to connect to both electrodes. Because e-liquid droplets are similar to conductor resistors, the equivalent circuit diagram of Figure 1c is shown in Figure 2, indicating that the capacitive airflow sensor is connected in parallel with a e-liquid resistor. In addition, the inventors have also discovered that when the electronic cigarette is working, the smoke oil is atomized into aerosol, which may enter the cigarette rod. When the aerosol condenses and becomes smoke oil, it may fall on the circuit board where the control chip is installed, and may fall on the airflow pin of the control chip. Please see Figure 1e, which may cause the airflow pin to be connected to the ground through the smoke oil (which can also be regarded as oil leakage). Its equivalent circuit diagram is also as shown in Figure 2. It is also easy to cause the control chip to misjudge that it is in the inhalation state, triggering the heating element to malfunction. If the heating element keeps working for a long time, it is easy to burn the user and easily cause safety accidents. This application solves the above technical problems based on the inventors' aforementioned discoveries.

[0008] In order to solve the above technical problems, the first aspect of the embodiments of the present application provides an oil leakage detection circuit for an electronic cigarette, comprising: a power supply terminal, a power ground terminal, an airflow terminal, and an atomization terminal, wherein the power supply terminal and the power ground terminal are respectively connected to the positive and negative electrodes of the battery, the airflow terminal is used to connect to one electrode of a capacitive airflow sensor, the power ground terminal is also used to connect to the other electrode of the capacitive airflow sensor, and the atomization terminal is used to connect to a heating element;

[0009] In which, the oil leakage detection circuit also includes a first current source, an oil leakage detection unit and an oil leakage control unit. The first current source and the oil leakage detection unit are both connected to the airflow end, and the oil leakage control unit is connected to the oil leakage detection unit. The first current source is used to charge the capacitive airflow sensor through the airflow end. After charging for the oil leakage detection time, the oil leakage detection unit samples the voltage of the airflow end to obtain a first sampling voltage. The oil leakage detection unit compares the first sampling voltage with a first reference voltage and outputs comparison result information. The oil leakage control unit determines whether the electronic cigarette is in an oil leakage state based on the comparison result information.

[0010] Optionally, the oil leakage detection unit includes a first voltage comparator, a first input end of the first voltage comparator is connected to a first sampling voltage, a second input end of the first voltage comparator is connected to a first reference voltage, and after charging for the oil leakage detection time, the first voltage comparator compares the first sampling voltage with the first reference voltage and outputs comparison result information.

[0011] Optionally, the oil leakage control unit includes a third timing subunit, the input end of the third timing subunit is connected to the output end of the first voltage comparator, and the third timing subunit times the time during which the first sampling voltage is less than the first reference voltage after charging for the oil leakage detection time. When the timing of the third timing subunit is greater than or equal to the third time, the third timing subunit outputs an oil leakage confirmation signal.

[0012] Optionally, the oil leakage detection circuit includes a power switch, and the oil leakage control unit includes a first timing subunit and a logic control subunit, wherein the logic control subunit is respectively connected to the oil leakage detection unit, the first timing subunit, and the control end of the power switch, the first end of the power switch is connected to the power supply end or the power ground end, and the second end of the power switch is connected to the atomization end; and

[0013] The first timing subunit is used to time the charging time. After the first timing subunit times the oil leakage detection time, it outputs a first timing signal to the logic control subunit. The logic control subunit receives the comparison result information output by the oil leakage detection unit. Or,

[0014] The first timing subunit is also connected to the oil leakage detection unit. The first timing subunit is used to time the charging time. After the first timing subunit times the oil leakage detection time, it outputs a first timing signal to the oil leakage detection unit. The oil leakage detection unit compares the first sampling voltage with the first reference voltage and outputs the comparison result information to the logic control subunit.

[0015] Optionally, the oil leakage detection circuit further includes a puff detection module and a charge-discharge switch, wherein the puff detection module is connected to the airflow end and the oil leakage control unit respectively, and is used to detect the capacitance of the airflow sensor or the change in capacitance to determine whether the electronic cigarette is in a puffing state. The puff detection module can also control whether the charge-discharge switch is turned on, wherein a first end of the charge-discharge switch is connected to the airflow end, and a second end of the charge-discharge switch is connected to a power ground terminal;

[0016] Wherein, the charge and discharge switch remains disconnected during the oil leakage detection period.

[0017] Optionally, the puff detection module samples the voltage at the airflow end in real time during a puff detection period to obtain a second sampled voltage. The puff detection module includes a second voltage comparison unit and a puff determination unit, wherein a first input end of the second voltage comparison unit is connected to the second sampled voltage, a second input end thereof is connected to a second reference voltage, an output end of the second voltage comparison unit is connected to the puff determination unit, and the puff determination unit is connected to the oil leakage control unit.

[0018] The first current source is used to charge the capacitive airflow sensor through the airflow end during the oil leakage detection time period, wherein the oil leakage detection time period includes the oil leakage detection duration. The first current source is also used to charge the capacitive airflow sensor through the airflow end during the puff detection time period. During the puff detection time period, when the second sampling voltage is greater than or equal to the second reference voltage, the second voltage comparison unit controls the charge and discharge switch to be turned on to discharge the capacitive airflow sensor. When the second sampling voltage is less than the second reference voltage, the second voltage comparison unit controls the charge and discharge switch to be turned off.

[0019] Optionally, the oil leakage detection circuit also includes a switch control unit, which is respectively connected to the output end of the second voltage comparison unit, the oil leakage control unit, and the control end of the charge and discharge switch. During the suction detection time period, the charge and discharge switch is controlled by the first voltage comparator. During the oil leakage detection duration of the oil leakage detection time period, the switch control unit controls the charge and discharge switch to remain disconnected.

[0020] Optionally, the puff detection module samples the voltage at the airflow end in real time during a puff detection period to obtain a second sampled voltage. The puff detection module includes a second voltage comparison unit and a puff determination unit. The oil leakage detection circuit further includes a second current source. A first input terminal of the second voltage comparison unit is connected to the second sampled voltage, and a second input terminal thereof is connected to a second reference voltage. An output terminal of the second voltage comparison unit is connected to the puff determination unit, and the puff determination unit is connected to the oil leakage control unit. The second current source is connected to the airflow end.

[0021] The first current source is used to charge the capacitive airflow sensor through the airflow end during the oil leakage detection time period, wherein the oil leakage detection time period includes the oil leakage detection duration. The second current source is used to charge the capacitive airflow sensor through the airflow end during the puff detection time period. During the puff detection time period, when the second sampling voltage is greater than or equal to the second reference voltage, the second voltage comparison unit controls the charge and discharge switch to turn on to discharge the capacitive airflow sensor. When the second sampling voltage is less than the second reference voltage, the second voltage comparison unit controls the charge and discharge switch to turn off.

[0022] Optionally, the oil leakage detection circuit includes a second switch unit, wherein the two ends of the second switch unit are correspondingly connected to the power supply end and the power supply end of the second voltage comparison unit; the oil leakage control unit controls the second switch unit to be disconnected and cut off during the oil leakage detection time period so that the second voltage comparison unit stops working, thereby controlling the charge and discharge switch to be disconnected and cut off.

[0023] Optionally, each puff detection time period includes multiple charge and discharge cycles of the capacitive airflow sensors, the capacitor charge and discharge cycle includes a charging time period and a discharging time period, the charging time period is applicable to the second sampling voltage charging from less than a second reference voltage to greater than or equal to the second reference voltage, the discharging time period is applicable to the second sampling voltage discharging from greater than or equal to the second reference voltage to less than the second reference voltage, and the oil leakage detection duration is greater than or equal to 10 times the capacitor charge and discharge cycle; or,

[0024] The charging current output to the airflow end during the oil leakage detection period is greater than or equal to 10 times the charging current output to the airflow end during the puff detection period.

[0025] Optionally, the first reference voltage includes multiple sub-reference voltages, the multiple sub-reference voltages are different, the comparison result information correspondingly includes multiple sub-comparison result information, and the oil leakage detection unit compares the first sampling voltage with the multiple sub-reference voltages to output corresponding comparison result information.

[0026] Optionally, the oil leakage detection time is greater than or equal to 1ms; or,

[0027] The oil leakage detection circuit is located on the same chip, the power supply end is a power supply pin, the power ground end is a power ground pin, the airflow end is an airflow pin, and the atomization end is an atomization pin.

[0028] A second aspect of the embodiments of the present application provides a method for detecting oil leakage in an electronic cigarette, comprising:

[0029] charging the capacitive airflow sensor via the airflow terminal, wherein the airflow terminal is used to connect to one electrode of the capacitive airflow sensor, and another electrode of the capacitive airflow sensor is used to be electrically connected to a power ground terminal;

[0030] Triggering the first timing of the charging time;

[0031] Determining whether the first timing is greater than or equal to the oil leakage detection time;

[0032] If the judgment result is yes, the voltage at the airflow end is sampled to obtain a first sampling voltage, and the first sampling voltage is compared with a first reference voltage and comparison result information is output, and the comparison result information is received and it is determined whether the electronic cigarette is in an oil leakage state according to the comparison result information.

[0033] Optionally, the step of determining whether the electronic cigarette is in an oil leakage state according to the comparison result information specifically includes:

[0034] performing a third timing on a duration of the first comparison result information, wherein the first comparison result information indicates that the first sampling voltage is less than the first reference voltage;

[0035] Determining whether the third timing is greater than or equal to the third duration;

[0036] If the judgment result is yes, it is determined that the electronic cigarette is in an oil leakage state.

[0037] Optionally, the first reference voltage includes a first sub-reference voltage and a second sub-reference voltage, wherein the first sub-reference voltage is less than the second sub-reference voltage; and the step of comparing the first sampled voltage with the first reference voltage and outputting comparison result information specifically includes:

[0038] determining whether the first sampling voltage is less than a second sub-reference voltage;

[0039] If the judgment result is yes, determining whether the first sampling voltage is less than the first sub-reference voltage;

[0040] If the judgment result is yes, the first sub-comparison result information is output;

[0041] If the judgment result is no, the second sub-comparison result information is output, wherein the second sub-comparison result information is different from the first sub-comparison result information, and the second sub-comparison result information and the first sub-comparison result information are used to represent different oil leakage levels of the electronic cigarette.

[0042] Optionally, the oil leakage detection method further includes:

[0043] During a time period for detecting whether the electronic cigarette is in an oil leakage state, the charge and discharge switch is controlled to remain disconnected, wherein a first end of the charge and discharge switch is connected to the airflow end, and a second end of the charge and discharge switch is connected to the power ground end.

[0044] Optionally, the oil leakage detection method further includes:

[0045] During the puff detection time period, the airflow end of the oil leakage detection circuit is used to detect whether the electronic cigarette is in the puff state, wherein the time period for detecting whether the electronic cigarette is in the oil leakage state is the oil leakage detection time period, and the oil leakage detection time period is different from the puff detection time period.

[0046] A third aspect of an embodiment of the present application provides an oil leakage detection circuit, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned oil leakage detection method when executing the computer program.

[0047] According to a fourth aspect of the present application, an oil leakage detection circuit for an electronic cigarette is provided, comprising: a power supply terminal, a power ground terminal, an airflow terminal, and an atomization terminal, wherein the power supply terminal and the power ground terminal are respectively connected to the positive and negative electrodes of a battery, the airflow terminal is used to connect to one electrode of a capacitive airflow sensor, the power ground terminal is also used to connect to the other electrode of the capacitive airflow sensor, and the atomization terminal is used to connect to a heating element;

[0048] In which, the oil leakage detection circuit also includes an oil leakage detection unit and an oil leakage control unit. The oil leakage detection unit is connected to the airflow end, and the oil leakage detection unit is used to obtain first sampling resistance information through the airflow end, wherein the first sampling resistance information is used to characterize the resistance between the airflow end and the power ground end. The oil leakage detection unit compares the first sampling resistance information with the first reference resistance information and outputs comparison result information. The oil leakage control unit determines whether the electronic cigarette is in an oil leakage state based on the comparison result information.

[0049] Optionally, the oil leakage detection circuit also includes a first current source, which is connected to the airflow end. The first current source is used to charge the capacitive airflow sensor through the airflow end. After charging for the oil leakage detection time, the oil leakage detection unit collects the voltage at the airflow end to obtain a first sampling voltage, and calculates the first sampling voltage and first current information to obtain first sampling resistance information, wherein the first current information is used to characterize the current output by the first current source.

[0050] Optionally, the oil leakage detection unit includes a divider and a first resistance comparator, wherein the first input end of the divider is connected to the first sampling voltage, the second input end of the divider is connected to the first current information, the divider outputs the first sampling resistance information, the first input end of the first resistance comparator is connected to the first sampling resistance information, the second input end of the first resistance comparator is connected to the first reference resistance information, and the first resistance comparator compares the first sampling resistance information with the first reference resistance information and outputs comparison result information.

[0051] Optionally, the oil leakage detection unit includes a first voltage-dividing resistor, a second voltage-dividing resistor, a third voltage-dividing resistor, a fourth voltage-dividing resistor and a pressure difference comparison subunit; wherein, the first end of the first voltage-dividing resistor is connected to the power supply end, the second end of the first voltage-dividing resistor is connected to the air flow end, the air flow end is connected to the first end of the third voltage-dividing resistor, and the second end of the third voltage-dividing resistor is connected to the power ground end; the first end of the second voltage-dividing resistor is connected to the first end of the first voltage-dividing resistor, the second end of the second voltage-dividing resistor is connected to the first end of the fourth voltage-dividing resistor, and the second end of the fourth voltage-dividing resistor is connected to the third voltage-dividing resistor. The second end of the pressure resistor is connected, wherein the resistance ratio of the first voltage-dividing resistor to the third voltage-dividing resistor is equal to the resistance ratio of the second voltage-dividing resistor to the fourth voltage-dividing resistor; the pressure difference comparison subunit is connected to the airflow end to obtain the first pressure-dividing value, the pressure difference comparison subunit is connected to the first end of the fourth voltage-dividing resistor to obtain the second pressure-dividing value, the pressure difference comparison subunit subtracts the first pressure-dividing value and the second pressure-dividing value to obtain first sampling resistance information, and the pressure difference comparison subunit further receives the first reference resistance information, compares the first sampling resistance information with the first reference resistance information, and outputs comparison result information.

[0052] Optionally, the oil leakage detection circuit also includes a first switch unit and a third switch unit, wherein the first end of the first switch unit is connected to the power supply end, the second end of the first switch unit is respectively connected to the first end of the first voltage-dividing resistor and the first end of the second voltage-dividing resistor, the first end of the third switch unit is connected to the airflow end, the second end of the third switch unit is connected to the first end of the third voltage-dividing resistor, the control end of the first switch unit and the control end of the third switch unit are both connected to the oil leakage control unit, and the oil leakage control unit controls the first switch unit and the third switch unit to turn on during the time period for detecting whether the electronic cigarette is in an oil leakage state.

[0053] Optionally, the oil leakage detection circuit includes a power switch, and the oil leakage control unit includes a first timing subunit and a logic control subunit, wherein the logic control subunit is respectively connected to the oil leakage detection unit, the first timing subunit, and the control end of the power switch, the first end of the power switch is connected to the power supply end or the power ground end, and the second end of the power switch is connected to the atomization end; and

[0054] The first timing subunit is used to time the charging time. After the first timing subunit times the oil leakage detection time, it outputs a first timing signal to the logic control subunit. The logic control subunit receives the comparison result information output by the oil leakage detection unit. Or,

[0055] The first timing subunit is also connected to the oil leakage detection unit. The first timing subunit is used to time the charging time. After the first timing subunit times the oil leakage detection time, it outputs a first timing signal to the oil leakage detection unit. The oil leakage detection unit compares the first sampling resistance information with the first reference resistance information and outputs the comparison result information to the logic control subunit.

[0056] Optionally, the oil leakage control unit includes a third timing subunit and a logic control subunit, the input end of the third timing subunit is connected to the output end of the oil leakage detection unit, and the output end of the third timing subunit is connected to the logic control subunit. The third timing subunit times the time during which the first sampling resistance information is less than the first reference resistance information after charging for the oil leakage detection time. When the time counted by the third timing subunit is greater than or equal to the third time, the third timing subunit outputs an oil leakage confirmation signal.

[0057] Optionally, the first sampling resistance information includes resistance and voltage, and the first reference resistance information corresponds to the first sampling resistance information.

[0058] Optionally, the oil leakage detection circuit further includes a puff detection module and a charge-discharge switch, wherein the puff detection module is connected to the airflow end and the oil leakage control unit respectively, and is used to detect the capacitance of the airflow sensor or the change in capacitance to determine whether the electronic cigarette is in a puffing state. The puff detection module can also control whether the charge-discharge switch is turned on, wherein a first end of the charge-discharge switch is connected to the airflow end, and a second end of the charge-discharge switch is connected to a power ground terminal;

[0059] Wherein, during the period of time when detecting whether the electronic cigarette is in an oil leakage state, the charge and discharge switch remains disconnected.

[0060] Optionally, the puff detection module samples the voltage at the airflow end in real time during a puff detection period to obtain a second sampled voltage. The puff detection module includes a second voltage comparison unit and a puff determination unit, wherein a first input end of the second voltage comparison unit is connected to the second sampled voltage, a second input end thereof is connected to a second reference voltage, an output end of the second voltage comparison unit is connected to the puff determination unit, and the puff determination unit is connected to the oil leakage control unit.

[0061] The first current source is used to charge the capacitive airflow sensor through the airflow end during the oil leakage detection time period, wherein the oil leakage detection time period includes the oil leakage detection duration. The first current source is also used to charge the capacitive airflow sensor through the airflow end during the puff detection time period. During the puff detection time period, when the second sampling voltage is greater than or equal to the second reference voltage, the second voltage comparison unit controls the charge and discharge switch to be turned on to discharge the capacitive airflow sensor. When the second sampling voltage is less than the second reference voltage, the second voltage comparison unit controls the charge and discharge switch to be turned off.

[0062] Optionally, the oil leakage detection circuit also includes a switch control unit, which is respectively connected to the output end of the second voltage comparison unit, the oil leakage control unit, and the control end of the charge and discharge switch. During the suction detection time period, the charge and discharge switch is controlled by the first resistance comparator. During the oil leakage detection duration of the oil leakage detection time period, the switch control unit controls the charge and discharge switch to remain disconnected.

[0063] Optionally, the puff detection module samples the voltage at the airflow end in real time during a puff detection period to obtain a second sampled voltage. The puff detection module includes a second voltage comparison unit and a puff determination unit. The oil leakage detection circuit further includes a second current source. A first input terminal of the second voltage comparison unit is connected to the second sampled voltage, and a second input terminal thereof is connected to a second reference voltage. An output terminal of the second voltage comparison unit is connected to the puff determination unit, and the puff determination unit is connected to the oil leakage control unit. The second current source is connected to the airflow end.

[0064] The first current source is used to charge the capacitive airflow sensor through the airflow end during the oil leakage detection time period, wherein the oil leakage detection time period includes the oil leakage detection duration. The second current source is used to charge the capacitive airflow sensor through the airflow end during the puff detection time period. During the puff detection time period, when the second sampling voltage is greater than or equal to the second reference voltage, the second voltage comparison unit controls the charge and discharge switch to turn on to discharge the capacitive airflow sensor. When the second sampling voltage is less than the second reference voltage, the second voltage comparison unit controls the charge and discharge switch to turn off.

[0065] Optionally, the oil leakage detection circuit includes a second switch unit, wherein the two ends of the second switch unit are correspondingly connected to the power supply end and the power supply end of the second voltage comparison unit; the oil leakage control unit controls the second switch unit to be disconnected and cut off during the oil leakage detection time period so that the second voltage comparison unit stops working, thereby controlling the charge and discharge switch to be disconnected and cut off.

[0066] Optionally, each puff detection time period includes a plurality of charge and discharge cycles of the capacitive airflow sensors, the charge and discharge cycles include a charging time period and a discharging time period, the charging time period is applicable to the second sampling voltage charging from less than the second reference voltage to greater than or equal to the second reference voltage, the discharging time period is applicable to the second sampling voltage discharging from greater than or equal to the second reference voltage to less than the second reference voltage, the oil leakage detection duration is greater than or equal to 10 times the charge and discharge cycle, or,

[0067] The charging current output to the airflow end during the oil leakage detection period is greater than or equal to 10 times the charging current output to the airflow end during the puff detection period.

[0068] Optionally, the first reference resistance information includes multiple sub-reference resistance information, the multiple sub-reference resistance information are different, the comparison result information correspondingly includes multiple sub-comparison result information, and the oil leakage detection unit compares the first sampling resistance information with the multiple sub-reference resistance information to output corresponding comparison result information.

[0069] Optionally, the oil leakage detection time is greater than or equal to 1ms; or,

[0070] The oil leakage detection circuit is located on the same chip, the power supply end is a power supply pin, the power ground end is a power ground pin, the airflow end is an airflow pin, and the atomization end is an atomization pin.

[0071] A fifth aspect of the embodiments of the present application provides an oil leakage detection method applied to an electronic cigarette, comprising:

[0072] Obtaining first sampling resistance information through the airflow end of the oil leakage detection circuit, wherein the first sampling resistance information is used to represent the resistance between the airflow end and the power ground end. The oil leakage detection circuit includes a power supply end, a power ground end, an airflow end, and an atomization end. The power supply end and the power ground end are respectively connected to the positive and negative poles of the battery. The airflow end is used to connect to one electrode of a capacitive airflow sensor, the power ground end is also used to connect to the other electrode of the capacitive airflow sensor, and the atomization end is used to connect to a heating element.

[0073] Comparing the first sampling resistance information with the first reference resistance information and outputting comparison result information;

[0074] The comparison result information is received and whether the electronic cigarette is in an oil leakage state is determined according to the comparison result information.

[0075] Optionally, the step of obtaining the first sampling resistance information through the airflow end of the oil leakage detection circuit specifically includes:

[0076] charging the capacitive airflow sensor via the airflow terminal;

[0077] Triggering the first timing of the charging time;

[0078] Determining whether the first timing is greater than or equal to the oil leakage detection time;

[0079] If the judgment result is yes, the voltage at the airflow end is sampled to obtain a first sampling voltage, and the first sampling voltage and first current information are calculated to obtain first sampling resistance information, wherein the first current information is used to represent a charging current for charging the airflow sensor.

[0080] Optionally, the first sampling resistance information is voltage or resistance.

[0081] Optionally, the step of obtaining the first sampling resistance information through the airflow end of the oil leakage detection circuit specifically includes:

[0082] obtaining a first divided voltage value through an airflow end, wherein the airflow end is respectively connected to the second end of the first resistor and the first end of the third resistor, and the first resistor and the third resistor are connected in series;

[0083] obtaining a second divided voltage value through a second divided voltage sampling point, wherein the second divided voltage sampling point is respectively connected to the second end of the second resistor and the first end of the fourth resistor, the second resistor and the fourth resistor are connected in series, the first end of the second resistor is connected to the first end of the first resistor, the second end of the fourth resistor is connected to the second end of the third resistor, and the resistance ratio of the second resistor to the fourth resistor is equal to the resistance ratio of the first resistor to the third resistor;

[0084] The first voltage division value and the second voltage division value are subtracted to obtain second sampling resistance information.

[0085] Optionally, the step of determining whether the electronic cigarette is in an oil leakage state according to the comparison result information specifically includes:

[0086] performing a third timing on a duration of the first comparison result information, wherein the first comparison result information indicates that the first sampling resistance information is smaller than the first reference resistance information;

[0087] Determining whether the third timing is greater than or equal to the third duration;

[0088] If the judgment result is yes, it is determined that the electronic cigarette is in an oil leakage state.

[0089] Optionally, the first reference resistance information includes first preset sub-reference resistance information and second preset sub-reference resistance information, wherein the first preset sub-reference resistance information is smaller than the second preset sub-reference resistance information; and the step of comparing the first sampling resistance information with the first reference resistance information and outputting comparison result information specifically includes:

[0090] Determining whether the first sampling resistance information is less than the second preset sub-reference resistance information;

[0091] If the judgment result is yes, determining whether the first sampling resistance information is less than the first preset sub-reference resistance information;

[0092] If the judgment result is yes, the first sub-comparison result information is output;

[0093] If the judgment result is no, the second sub-comparison result information is output, wherein the second sub-comparison result information is different from the first sub-comparison result information, and the second sub-comparison result information and the first sub-comparison result information are used to represent different oil leakage levels of the electronic cigarette.

[0094] Optionally, the oil leakage detection method further includes:

[0095] During a time period for detecting whether the electronic cigarette is in an oil leakage state, the charge and discharge switch is controlled to remain disconnected, wherein a first end of the charge and discharge switch is connected to the airflow end, and a second end of the charge and discharge switch is connected to the power ground end.

[0096] In a sixth aspect of an embodiment of the present application, an oil leakage detection circuit is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned oil leakage detection method when executing the computer program.

[0097] According to a seventh aspect of the present application, an oil leakage detection circuit for an electronic cigarette is provided, comprising: a power supply terminal, a power ground terminal, an airflow terminal, and an atomization terminal, wherein the power supply terminal and the power ground terminal are respectively connected to the positive and negative electrodes of a battery, the airflow terminal is used to be connected to one electrode of a capacitive airflow sensor, the power ground terminal is also used to be connected to the other electrode of the capacitive airflow sensor, and the atomization terminal is used to be connected to a heating element;

[0098] The oil leakage detection circuit includes an oil leakage detection unit, an oil leakage control unit, and a power switch. The oil leakage detection unit is connected to the airflow end to sample and obtain a first sampling voltage. The oil leakage detection unit is also connected to the oil leakage control unit. The oil leakage control unit is connected to the control end of the power switch. One end of the power switch is connected to the power supply end or the power ground end, and the other end of the power switch is connected to the atomization end.

[0099] Among them, the oil leakage detection unit is used to discharge the first sampling voltage from the first voltage value to the second voltage value after a second preset time, and calculate the second voltage information based on the first voltage value and the second voltage value. The oil leakage detection unit is also used to compare the second voltage information with the second preset voltage information and output the comparison result information. The oil leakage control unit is used to determine whether the electronic cigarette is in an oil leakage state according to the comparison result information.

[0100] Optionally, the oil leakage detection circuit includes a first current source, which is connected to the airflow terminal to charge the airflow sensor during the oil leakage detection period;

[0101] The oil leakage detection unit includes a first timing subunit, a calculation subunit, a second timing subunit, and a second comparison subunit, wherein the first timing subunit is connected to the calculation subunit and the second timing subunit respectively, the calculation subunit is used to receive the first sampled voltage, the second timing subunit is connected to the calculation subunit or the second comparison subunit, one input end of the second comparison subunit is connected to the calculation subunit, the other input end thereof is connected to the second voltage information, and the output end thereof is connected to the oil leakage control unit;

[0102] Among them, the first current source is used to charge the airflow sensor and trigger the first timing subunit to perform a first timing of the charging time. When the first timing reaches the first preset time, the first current source stops charging the airflow sensor, and triggers the calculation subunit to obtain the first sampling voltage as a first voltage value, and triggers the second timing subunit to perform a second timing of the discharge time. When the second timing reaches the second preset time, the calculation subunit obtains the first sampling voltage as a second voltage value. The calculation subunit calculates the second voltage information based on the first voltage value and the second voltage value and outputs it to the second comparison subunit. The second comparison subunit compares the second voltage information with the second preset voltage information and outputs the comparison result information.

[0103] Optionally, the oil leakage detection circuit includes a first current source, which is connected to the airflow terminal to charge the airflow sensor during the oil leakage detection period;

[0104] The oil leakage detection unit includes a first voltage comparison subunit, a calculation subunit, a second timing subunit, and a second comparison subunit, wherein one input end of the first voltage comparison subunit is used to receive a first sampled voltage, another input end thereof is used to receive a preset first voltage value, and an output end thereof is connected to the second timing subunit. The calculation subunit is also used to receive the first sampled voltage, and the second timing subunit is further connected to the calculation subunit or the second comparison subunit. One input end of the second comparison subunit is connected to the calculation subunit, another input end thereof is connected to the second voltage information, and an output end thereof is connected to the oil leakage control unit.

[0105] Among them, the first current source is used to charge the airflow sensor, and when the first sampling voltage reaches the first voltage value, the second timing sub-unit is triggered to perform a second timing of the discharge time, and the first current source stops charging the airflow sensor. When the second timing reaches the second preset time, the calculation sub-unit obtains the first sampling voltage as the second voltage value. The calculation sub-unit calculates the second voltage information based on the first voltage value and the second voltage value obtained by pre-storage or sampling and outputs it to the second comparison sub-unit. The second comparison sub-unit compares the second voltage information with the second preset voltage information and outputs the comparison result information.

[0106] Optionally, the calculation subunit includes a subtractor, the subtractor receives the first voltage value and the second voltage value, and subtracts the first voltage value from the second voltage value to obtain the second voltage information; or,

[0107] The oil leakage detection circuit includes a first switch unit, a first end of the first switch unit is connected to a power supply end, a second end of the first switch unit is electrically connected to a first current source, and a control end of the first switch unit is connected to an oil leakage control unit; when the oil leakage control unit controls the first switch unit to be turned on, the first current source is used to charge the airflow sensor; when the oil leakage control unit controls the first switch unit to be turned off, the first current source is used to stop charging the airflow sensor.

[0108] Optionally, the second voltage information is a voltage difference between the first voltage value and the second voltage value, a voltage ratio between the first voltage value and the second voltage value, or a ratio of the voltage difference to the first sampled voltage, and the second preset voltage information corresponds to the second voltage information.

[0109] Optionally, the oil leakage detection circuit further includes a charge and discharge switch, one end of the charge and discharge switch is connected to the airflow end, and the other end of the charge and discharge switch is connected to the power ground end, and the charge and discharge switch remains disconnected during the time period for detecting whether the electronic cigarette is in an oil leakage state.

[0110] Optionally, the oil leakage detection circuit further includes a third voltage comparison unit and a suction judgment unit, wherein one input end of the third voltage comparison unit is connected to the airflow end to sample and obtain a third sampling voltage, and the other input end of the third voltage comparison unit is connected to a preset third reference voltage. The output end of the third voltage comparison unit is respectively connected to the suction judgment unit and the control end of the charge and discharge switch, and the output end of the suction judgment is connected to the oil leakage control unit;

[0111] The oil leakage detection circuit also includes a second switch unit and a second current source, wherein the first end of the second switch unit is connected to the power supply end, the second end of the second switch unit is respectively connected to the second current source and the power supply end of the third voltage comparison unit, and the control end of the second switch unit is connected to the oil leakage control unit; the second current source is connected to the airflow end for charging the airflow sensor during the puff detection time period, and the oil leakage control unit controls the second switch unit to turn on during the puff detection time period, and when the third sampling voltage is less than the third reference voltage, the third voltage comparison unit controls the charge and discharge switch to turn off, and when the third sampling voltage is greater than or equal to the third reference voltage, the third voltage comparison unit controls the charge and discharge switch to turn on, and during the time period for detecting whether the electronic cigarette is in an oil leakage state, the oil leakage control unit controls the second switch unit to turn off.

[0112] Optionally, the oil leakage detection circuit further includes a third voltage comparison unit and a suction judgment unit, wherein one input end of the third voltage comparison unit is connected to the airflow end to sample and obtain a third sampling voltage, another input end of the third voltage comparison unit is connected to a preset third reference voltage, an output end of the third voltage comparison unit is connected to the suction judgment unit, and an output end of the suction judgment unit is connected to the oil leakage control unit;

[0113] The oil leakage detection circuit also includes a switch control unit, one input end of the switch control unit is connected to the output end of the third voltage comparison unit, another input end of the switch control unit is connected to the oil leakage control unit, and the output end of the switch control unit is connected to the control end of the charge and discharge switch unit. During the puff detection period, the charge and discharge switch is controlled by the output signal of the third voltage comparison unit. During the period for detecting whether the electronic cigarette is in an oil leakage state, the oil leakage control unit controls the charge and discharge switch to be turned off.

[0114] An eighth aspect of the embodiments of the present application provides an oil leakage detection circuit for an electronic cigarette, comprising: a power supply terminal, a power ground terminal, an airflow terminal, and an atomization terminal, wherein the power supply terminal and the power ground terminal are respectively connected to the positive and negative poles of a battery, the airflow terminal is used to connect to one electrode of a capacitive airflow sensor, the power ground terminal is also used to connect to the other electrode of the capacitive airflow sensor, and the atomization terminal is used to connect to a heating element;

[0115] The oil leakage detection circuit includes an oil leakage detection unit, an oil leakage control unit, and a power switch. The oil leakage detection unit is connected to the airflow end to sample and obtain a first sampling voltage. The oil leakage detection unit is also connected to the oil leakage control unit. The oil leakage control unit is connected to the control end of the power switch. One end of the power switch is connected to the power supply end or the power ground end, and the other end of the power switch is connected to the atomization end.

[0116] Among them, the oil leakage detection unit is used to perform a second timing on the discharge time of the first sampling voltage at the first voltage value. When the first sampling voltage is discharged to the second voltage value, the oil leakage detection unit is also used to compare the second timing with the second preset time and output comparison result information. The oil leakage control unit is used to determine whether the electronic cigarette is in an oil leakage state based on the comparison result information.

[0117] Optionally, the oil leakage detection unit is further configured to output second comparison result information when the second timing reaches a tenth preset time length and the first sampling voltage has not discharged to a second voltage value, and the oil leakage control unit is configured to determine that the electronic cigarette is not in an oil leakage state according to the second comparison result information.

[0118] Optionally, the oil leakage detection circuit includes a first current source, which is connected to the airflow terminal to charge the airflow sensor during the oil leakage detection period;

[0119] The oil leakage detection unit includes a first timing subunit, a calculation subunit, a second timing subunit, a second comparison subunit, and a second duration judgment subunit, wherein the first timing subunit is connected to the calculation subunit and the second timing subunit respectively, the calculation subunit is used to receive a first sampled voltage, one input end of the second comparison subunit is connected to the calculation subunit to obtain a second voltage value, another input end of the second comparison subunit is connected to the first sampled voltage, and an output end of the second comparison subunit is connected to the second timing subunit or the second duration judgment subunit, one input end of the second duration judgment subunit is connected to the second timing subunit, another input end of the second comparison subunit is connected to the second preset duration, and an output end of the second comparison subunit is connected to the oil leakage control unit;

[0120] Among them, the first current source is used to charge the airflow sensor and trigger the first timing subunit to perform a first timing of the charging time. When the first timing reaches the first preset time, the first current source stops charging the airflow sensor, and triggers the calculation subunit to obtain the first sampling voltage as the first voltage value, and triggers the second timing subunit to perform a second timing of the discharge time. The calculation subunit calculates the second voltage value based on the first voltage value and outputs it to the second comparison subunit. When the second comparison subunit determines that the first sampling voltage drops from the first voltage value to the second voltage value, the second time judgment subunit compares the second timing with the second preset time and outputs the comparison result information.

[0121] Optionally, the oil leakage detection circuit includes a first current source, which is connected to the airflow terminal to charge the airflow sensor during the oil leakage detection period;

[0122] The oil leakage detection unit includes a first voltage comparison subunit, a second timing subunit, a second comparison subunit, and a second duration judgment subunit, wherein one input end of the first voltage comparison subunit is connected to the first sampling voltage, its second input end is connected to the preset first voltage value, and its output end is connected to the second timing subunit; one input end of the second comparison subunit is connected to the first sampling voltage, its second input end is connected to the preset second voltage value, and its output end is connected to the second timing subunit or the second duration judgment subunit; one input end of the second duration judgment subunit is connected to the second timing subunit, and the other input end is connected to the second preset duration, and its output end is connected to the oil leakage control unit;

[0123] Among them, the first current source is used to charge the airflow sensor. When the first sampling voltage reaches the first voltage value, the second timing subunit is triggered to perform a second timing of the discharge time, and the first current source stops charging the airflow sensor. When the second comparison subunit determines that the first sampling voltage drops from the first voltage value to the second voltage value, the second time judgment subunit compares the second timing with the second preset time and outputs the comparison result information.

[0124] A ninth aspect of an embodiment of the present application provides an oil leakage detection method for an electronic cigarette, comprising:

[0125] receiving information that a first sampled voltage is a first voltage value, wherein the first sampled voltage is obtained by sampling an airflow end, the airflow end is used to be connected to an electrode of a capacitive airflow sensor, and another electrode of the capacitive airflow sensor is used to be electrically connected to a power ground terminal;

[0126] Triggering a second timing of the discharge duration;

[0127] Determining whether the second timing is greater than or equal to a second preset duration;

[0128] If the judgment result is yes, information that the first sampled voltage is the second voltage value is obtained, and second voltage information is obtained by calculation based on the first voltage value and the second voltage value;

[0129] Comparing the second voltage information with the second preset voltage information and outputting comparison result information;

[0130] Whether the electronic cigarette is in an oil leakage state is determined according to the comparison result.

[0131] Optionally, before the step of receiving information that the first sampled voltage is a first voltage value, the method further includes:

[0132] During the oil leakage detection period, the capacitive airflow sensor is charged through the airflow end;

[0133] Firstly, the charging time is measured;

[0134] Determining whether the first time duration is greater than or equal to a first preset time duration;

[0135] If the judgment result is yes, the charging of the capacitive airflow sensor is stopped, and information indicating that the first sampling voltage is a first voltage value is output.

[0136] Optionally, before the step of receiving information that the first sampled voltage is a first voltage value, the method further includes:

[0137] During the oil leakage detection period, the capacitive airflow sensor is charged through the airflow end;

[0138] sampling the voltage at the airflow end in real time to obtain a first sampling voltage;

[0139] Determining whether the first sampling voltage is greater than or equal to a first voltage value;

[0140] If the judgment result is yes, the charging of the capacitive airflow sensor is stopped, and information indicating that the first sampling voltage is a first voltage value is output.

[0141] Optionally, the comparison result information includes first comparison result information, the first comparison result information is used to indicate an oil leakage state, the first comparison result information includes first sub-comparison result information and second sub-comparison result information, the second preset voltage information includes first preset sub-voltage information and second preset sub-voltage information, and the first preset sub-voltage information is less than the second preset sub-voltage information; the step of comparing the second voltage information with the second preset voltage information and outputting the comparison result information specifically includes:

[0142] Determining whether the second voltage information is greater than the first preset sub-voltage information;

[0143] If the judgment result is yes, determining whether the second voltage information is greater than the second preset sub-voltage information;

[0144] If the judgment result is yes, output the first sub-comparison result information indicating that the electronic cigarette is in the liquid leakage state;

[0145] If the judgment result is no, the second sub-comparison result information indicating that the electronic cigarette is in an oil leakage state is output.

[0146] Optionally, the oil leakage detection method further includes: controlling the charge and discharge switch to remain disconnected during a time period for detecting whether the electronic cigarette is in an oil leakage state, so as to stop the capacitive airflow sensor from discharging through the charge and discharge switch, wherein one end of the charge and discharge switch is connected to the airflow end, and the other end of the charge and discharge switch is connected to the power ground end.

[0147] Optionally, the oil leakage detection method further includes:

[0148] charging the capacitive airflow sensor through the airflow terminal during the puff detection period;

[0149] Sampling the voltage at the airflow end in real time to obtain a third sampling voltage;

[0150] determining whether the third sampling voltage is greater than or equal to a third reference voltage;

[0151] If the judgment result is yes, counting is performed to obtain a current count value, and the charge-discharge switch is controlled to be turned on to discharge, wherein a first end of the charge-discharge switch is connected to the airflow end, and a second end of the charge-discharge switch is connected to the power ground end;

[0152] If the judgment result is no, the charge and discharge switch is controlled to be disconnected to continue charging;

[0153] determining whether current counting information is within a preset third counting range after a puff detection period, wherein the current counting information is obtained based on a current counting value;

[0154] If the judgment result is yes, information indicating that the electronic cigarette is in a puffing state is output; wherein the puffing detection time period is different from the time period for detecting whether the electronic cigarette is in an oil leakage state.

[0155] A tenth aspect of an embodiment of the present application provides a method for detecting oil leakage in an electronic cigarette, comprising:

[0156] receiving information that a first sampled voltage is a first voltage value, wherein the first sampled voltage is obtained by sampling an airflow end, the airflow end is used to be connected to an electrode of a capacitive airflow sensor, and another electrode of the capacitive airflow sensor is used to be electrically connected to a power ground terminal;

[0157] Triggering a second timing of the discharge duration;

[0158] Determining whether the first sampling voltage drops to a second voltage value;

[0159] If the judgment result is yes, the second timing is compared with the first preset time length and the comparison result information is output;

[0160] Whether the electronic cigarette is in an oil leakage state is determined according to the comparison result.

[0161] Optionally, before the step of receiving information that the first sampled voltage is a first voltage value, the method further includes:

[0162] During the oil leakage detection period, the capacitive airflow sensor is charged through the airflow end;

[0163] Firstly, the charging time is measured;

[0164] Determining whether the first time duration is greater than or equal to a first preset time duration;

[0165] If the judgment result is yes, the charging of the capacitive airflow sensor is stopped, and information indicating that the first sampling voltage is a first voltage value is output.

[0166] Optionally, before the step of receiving information that the first sampled voltage is a first voltage value, the method further includes:

[0167] During the oil leakage detection period, the capacitive airflow sensor is charged through the airflow end;

[0168] sampling the voltage at the airflow end in real time to obtain a first sampling voltage;

[0169] Determining whether the first sampling voltage is greater than or equal to a first voltage value;

[0170] If the judgment result is yes, the charging of the capacitive airflow sensor is stopped, and information indicating that the first sampling voltage is a first voltage value is output.

[0171] In an eleventh aspect of an embodiment of the present application, an oil leakage detection circuit is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned oil leakage detection method when executing the computer program.

[0172] A twelfth aspect of the embodiments of the present application provides an oil leakage detection method applied to an electronic cigarette, comprising:

[0173] During the puff detection period, the airflow end of the oil leakage detection circuit is used to detect whether the electronic cigarette is in the puff state, wherein the oil leakage detection circuit includes a power supply end, a power ground end, an airflow end, and an atomization end, wherein the power supply end and the power ground end are respectively connected to the positive and negative poles of the battery, the airflow end is used to be connected to one electrode of the capacitive airflow sensor, the power ground end is also used to be connected to the other electrode of the capacitive airflow sensor, and the atomization end is used to be connected to the heating element;

[0174] During the oil leakage detection period, the airflow end is used to detect whether the electronic cigarette is in an oil leakage state;

[0175] The oil leakage detection circuit performs oil leakage detection and suction detection with a first time period as a cycle, wherein the first time period includes a suction detection time period and an oil leakage detection time period, and the suction detection time period and the oil leakage detection time period are different.

[0176] Optionally, the first duration also includes a sleep period, and the oil leakage detection method further includes:

[0177] During the sleep period, the detection of whether the electronic cigarette is in a puffing state and whether it is in an oil leakage state is stopped.

[0178] Optionally, the oil leakage detection circuit includes a standby state and a working state. In the standby state, the first time length includes a sleep period, and in the working state, the first time length does not include a sleep period.

[0179] Optionally, during the sleep time period in the standby state, all units of the oil leakage detection circuit stop working except for the unit that counts the sleep time period.

[0180] Optionally, the oil leakage detection method includes: if it is detected that the electronic cigarette is in the puffing state during the puff detection time period in the standby state and is not in the oil leakage detection time period in the standby state, then the oil leakage detection circuit is controlled to switch from the standby state to the working state.

[0181] Optionally, the oil leakage detection method includes: triggering a third timing of the time period not in the puffing state when detecting that the electronic cigarette is not in the puffing state during the puffing detection time period in the working state; and controlling the oil leakage detection circuit to switch from the working state to the standby state when the third timing is greater than or equal to a third preset time period.

[0182] Optionally, the first duration includes multiple suction detection time periods and one oil leakage detection time period.

[0183] Optionally, the suction detection time period is set adjacent to the oil leakage detection time period; or,

[0184] The duration of the oil leakage detection period is greater than or equal to 100 μs and less than 200 ms; or,

[0185] The duration of the puff detection period is greater than or equal to 10ms and less than 200ms; or,

[0186] The first duration is less than or equal to 1 second and greater than 30 ms.

[0187] Optionally, the step of detecting whether the electronic cigarette is in a state of oil leakage through the airflow end during the oil leakage detection period specifically includes:

[0188] charging the capacitive airflow sensor through the airflow end during the oil leakage detection period;

[0189] Triggering the first timing of the charging time;

[0190] Determining whether the first timing is greater than or equal to the oil leakage detection time;

[0191] If the judgment result is yes, the voltage at the airflow end is sampled to obtain a first sampling voltage, and the first sampling voltage is compared with a first reference voltage and comparison result information is output, and the comparison result information is received and it is determined whether the electronic cigarette is in an oil leakage state according to the comparison result information.

[0192] In a thirteenth aspect, the present application provides an oil leakage detection circuit, comprising a power supply terminal, a power ground terminal, an airflow terminal, and an atomization terminal, wherein the power supply terminal and the power ground terminal are respectively connected to the positive and negative poles of a battery, the airflow terminal is used to be connected to one electrode of a capacitive airflow sensor, the power ground terminal is also used to be connected to the other electrode of the capacitive airflow sensor, and the atomization terminal is used to be connected to a heating element;

[0193] The oil leakage detection circuit also includes:

[0194] An oil leakage detection control module, which is used to detect whether the electronic cigarette is leaking oil through the airflow end during the oil leakage detection period;

[0195] a puff detection module, which is used to detect whether the electronic cigarette is puffed through the airflow end during the puff detection period;

[0196] The oil leakage detection circuit performs oil leakage detection and suction detection with a first time period as a cycle, wherein the first time period includes a suction detection time period and an oil leakage detection time period, and the suction detection time period and the oil leakage detection time period are different.

[0197] Optionally, the oil leakage detection circuit is located on the same chip, the power supply end is a power supply pin, the power ground end is a power ground pin, the airflow end is an airflow pin, and the atomization end is an atomization pin.

[0198] A fourteenth aspect of an embodiment of the present application provides an oil leakage detection circuit, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned oil leakage detection method when executing the computer program.

[0199] A fifteenth aspect of the embodiments of the present application provides an oil leakage detection method applied to an electronic cigarette, comprising:

[0200] During the puff detection period, the airflow end of the oil leakage detection circuit is used to detect whether the electronic cigarette is in the puff state, wherein the oil leakage detection circuit includes a power supply end, a power ground end, an airflow end, and an atomization end, wherein the power supply end and the power ground end are respectively connected to the positive and negative poles of the battery, the airflow end is used to be connected to one electrode of the capacitive airflow sensor, the power ground end is also used to be connected to the other electrode of the capacitive airflow sensor, and the atomization end is used to be connected to the heating element;

[0201] receiving puff information, wherein the puff information is used to indicate that the electronic cigarette is in a puff state;

[0202] The trigger passes through the airflow end to detect whether the electronic cigarette is in an oil leakage state.

[0203] Optionally, the oil leakage detection circuit performs suction detection with a second time period as a cycle, wherein the second time period includes a suction detection time period; during the time period for detecting the oil leakage status, the timing of the second time period is suspended or the opening of the next second time period is suspended.

[0204] Optionally, the second duration includes a blank period, and the oil leakage detection method further includes:

[0205] During the blank time period, detection of whether the electronic cigarette is in a smoking state and whether it is in an oil leakage state is stopped.

[0206] Optionally, after the step of triggering the detection of whether the electronic cigarette is in an oil leakage state through the airflow end, the method further includes:

[0207] Output the information that the electronic cigarette is in the state of leaking oil;

[0208] Receive suction information again;

[0209] It is prohibited to test whether an e-cigarette is leaking liquid.

[0210] Optionally, after the step of outputting the information that the electronic cigarette is in the liquid leakage state, the method further includes:

[0211] Receive information that the electronic cigarette is in a non-smoking state;

[0212] Lift the ban on testing whether e-cigarettes are leaking.

[0213] Optionally, after the step of triggering the detection of whether the electronic cigarette is in an oil leakage state through the airflow end, the method further includes:

[0214] Output the information that the electronic cigarette is not in the oil leakage state;

[0215] It is prohibited to test whether e-cigarettes are leaking liquid;

[0216] Triggering a second count of the prohibition duration;

[0217] Determining whether the second timing is greater than or equal to a second preset duration;

[0218] If the judgment result is yes, the prohibition on detecting whether the electronic cigarette is in an oil leakage state is lifted.

[0219] Optionally, after the step of triggering the detection of whether the electronic cigarette is in an oil leakage state through the airflow end, the method further includes:

[0220] Output the information that the electronic cigarette is not in the oil leakage state;

[0221] It is prohibited to test whether e-cigarettes are leaking liquid;

[0222] Receive information that the electronic cigarette is in a non-smoking state;

[0223] Lift the ban on testing whether e-cigarettes are leaking.

[0224] Optionally, after the step of triggering the detection of whether the electronic cigarette is in an oil leakage state through the airflow end, the method further includes:

[0225] Output the information that the electronic cigarette is in the state of leaking oil;

[0226] Reduce the frequency of detecting whether an e-cigarette is in the puffing state.

[0227] Optionally, the step of triggering the detection of whether the electronic cigarette is in an oil leakage state through the airflow end specifically includes:

[0228] triggering charging of the capacitive airflow sensor through the airflow end;

[0229] Triggering the first timing of the charging time;

[0230] Determining whether the first timing is greater than or equal to the oil leakage detection time;

[0231] If the judgment result is yes, the voltage at the airflow end is sampled to obtain a first sampling voltage, and the first sampling voltage is compared with a first reference voltage and comparison result information is output, and whether the electronic cigarette is in an oil leakage state is determined according to the comparison result information.

[0232] Optionally, the oil leakage detection method further includes:

[0233] During a time period for detecting whether the electronic cigarette is in an oil leakage state, the charge and discharge switch is controlled to remain disconnected, wherein a first end of the charge and discharge switch is connected to the airflow end, and a second end of the charge and discharge switch is connected to the power ground end.

[0234] Optionally, the step of detecting whether the electronic cigarette is in a puffing state through the airflow end of the oil leakage detection circuit during the puffing detection period specifically includes:

[0235] charging the capacitive airflow sensor through the airflow terminal during the puff detection period;

[0236] Real-time sampling and obtaining the voltage at the airflow end to obtain a second sampling voltage;

[0237] Determining whether the second sampling voltage is greater than or equal to a second preset reference voltage;

[0238] If the judgment result is yes, cumulative counting is performed to obtain the current count value, and the charge-discharge switch is controlled to be turned on for discharge, wherein the first end of the charge-discharge switch is connected to the airflow end, and the second end of the charge-discharge switch is connected to the power ground end;

[0239] If the judgment result is no, the charge and discharge switch is controlled to be disconnected to continue charging;

[0240] Determining whether current count information is less than a preset count threshold after a puff detection period, wherein the current count information is obtained based on the current count value;

[0241] If the judgment result is yes, the suction information is output.

[0242] Optionally, after the step of triggering the detection of whether the electronic cigarette is in an oil leakage state through the airflow end, the method further includes:

[0243] Output the information that the electronic cigarette is in the oil leakage state;

[0244] The counting threshold is increased or decreased accordingly to reduce the probability of misjudging the state as a puff.

[0245] Optionally, the step of triggering the detection of whether the electronic cigarette is in an oil leakage state through the airflow end specifically includes:

[0246] A third timer is used to measure the duration of the puff information;

[0247] Determining whether the third timer is greater than or equal to a third preset time period;

[0248] If the judgment result is yes, it triggers the detection of whether the electronic cigarette is in an oil leakage state through the airflow end.

[0249] A sixteenth aspect of the embodiments of the present application provides an oil leakage detection circuit, comprising a power supply terminal, a power ground terminal, an airflow terminal, and an atomization terminal, wherein the power supply terminal and the power ground terminal are respectively connected to the positive and negative poles of a battery, the airflow terminal is used to be connected to one electrode of a capacitive airflow sensor, the power ground terminal is also used to be connected to the other electrode of the capacitive airflow sensor, and the atomization terminal is used to be connected to a heating element;

[0250] The oil leakage detection circuit also includes:

[0251] A puff detection module, which is used to detect whether the electronic cigarette is in a puff state through the airflow end during the puff detection period;

[0252] The oil leakage detection module is used to receive puff information, wherein the puff information is used to indicate that the electronic cigarette is in a puffing state; the oil leakage detection module is also used to be triggered to detect whether the electronic cigarette is in a leaking state through the airflow end of the oil leakage detection circuit.

[0253] Optionally, the oil leakage detection circuit is located on the same chip, the power supply end is a power supply pin, the power ground end is a power ground pin, the airflow end is an airflow pin, and the atomization end is an atomization pin.

[0254] A seventeenth aspect of an embodiment of the present application provides an oil leakage detection circuit, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned oil leakage detection method when executing the computer program.

[0255] An eighteenth aspect of the present application provides an airflow sensor assembly, comprising:

[0256] Capacitive airflow sensor;

[0257] The above-mentioned oil leakage detection circuit is connected to the capacitor airflow sensor.

[0258] A nineteenth aspect of the embodiments of the present application provides an electronic cigarette, comprising:

[0259] The aforementioned airflow sensor assembly or the aforementioned oil leakage detection circuit;

[0260] A battery and a heating element, wherein the battery and the heating element are both connected to the oil leakage detection circuit.

[0261] The twentieth aspect of the embodiment of the present application provides an oil leakage control method applied to an electronic cigarette, comprising:

[0262] Receive information that the electronic cigarette is in the oil leakage state;

[0263] Increasing the charging current output to the airflow end during the puff detection period, wherein the airflow end is used to connect to one electrode of a capacitive airflow sensor, the other electrode of the capacitive airflow sensor is used to connect to a power ground terminal, the charging current is used to charge the capacitive airflow sensor, and the puff detection period is used to detect whether the electronic cigarette is in a puff state;

[0264] Receive information that the electronic cigarette is in the smoking state;

[0265] The power switch is controlled to be turned on to make the heating element work, wherein a first end of the power switch is connected to a power supply end or a power ground end, and the other end of the power switch is connected to an atomization end, and the atomization end is also used to be connected to one end of the heating element, and the other end of the heating element is used to be connected to the power ground end or the power supply end.

[0266] Optionally, the oil leakage state includes a light to moderate oil leakage state and a heavy oil leakage state, and the step of receiving information that the electronic cigarette is in the oil leakage state specifically includes:

[0267] Receive information that the e-cigarette is in a light to moderate oil leakage state.

[0268] Optionally, the step of increasing the charging current to the airflow end during the puff detection period specifically includes:

[0269] Acquiring first parameter information through the airflow end, wherein the first parameter information is used to characterize the degree of oil leakage in a light to moderate oil leakage state;

[0270] Obtaining a second charging current according to the first parameter information, wherein the second charging current is greater than the first charging current, and the first charging current is a charging current for charging the capacitive airflow sensor during a puff detection period when the electronic cigarette is not in an oil leakage state;

[0271] During the puff detection period, a second charging current is output to the airflow terminal to charge the capacitive airflow sensor.

[0272] Optionally, the step of obtaining the second charging current according to the first parameter information specifically includes:

[0273] Obtaining a corresponding parameter information range through the first parameter information and a plurality of preset parameter information ranges, wherein each first parameter information belongs to a parameter information range and the plurality of parameter information ranges are different;

[0274] A pre-stored parameter information range-charging current table is searched according to the parameter information range to obtain a second charging current, wherein the parameter information range-charging current table pre-stores a correspondence between the parameter information range and the charging current.

[0275] Optionally, the step of obtaining the second charging current according to the first parameter information specifically includes:

[0276] The second charging current is obtained by calculating through the first parameter information and a pre-stored functional relationship, wherein the functional relationship represents the corresponding relationship between the parameter information and the charging current.

[0277] Optionally, the first parameter information is resistance, voltage, discharge time, change in voltage, change in resistance, or change in discharge time.

[0278] Optionally, the step of increasing the charging current to the airflow end during the puff detection period specifically includes:

[0279] Obtaining a second charging current based on a pre-stored correspondence between the leakage state and the charging current, wherein the second charging current is greater than the first charging current, and the first charging current is the charging current supplied to the airflow end during the puff detection period when the electronic cigarette is not in the leakage state;

[0280] During the puff detection period, the second charging current is output to the airflow terminal to charge the capacitive airflow sensor.

[0281] Optionally, before the step of receiving the information that the electronic cigarette is in the liquid leakage state, the method further includes:

[0282] triggering charging of the capacitive airflow sensor through the airflow end;

[0283] Triggering the first timing of the charging time;

[0284] Determining whether the first timing is greater than or equal to the oil leakage detection time;

[0285] If the judgment result is yes, sampling the voltage at the airflow end to obtain a first sampling voltage;

[0286] determining whether the first sampling voltage is less than a first reference voltage;

[0287] If the judgment result is yes, the information that the electronic cigarette is in the oil leakage state is output.

[0288] Optionally, before the step of receiving the information that the electronic cigarette is in the inhalation state, the method further includes:

[0289] sampling the voltage at the airflow end in real time during the puff detection period to obtain a second sampled voltage;

[0290] Determining whether the second sampling voltage is greater than or equal to a second preset reference voltage;

[0291] If the judgment result is yes, cumulative counting is performed to obtain the current count value, and the charge-discharge switch is controlled to be turned on for discharge, wherein the first end of the charge-discharge switch is connected to the airflow end, and the second end of the charge-discharge switch is connected to the power ground end;

[0292] If the judgment result is no, the charge and discharge switch is controlled to be disconnected to continue charging;

[0293] determining whether current counting information is within a preset counting range after a puff detection period, wherein the current counting information is obtained based on a current counting value;

[0294] If the judgment result is yes, the information that the electronic cigarette is in the smoking state is output.

[0295] In a twenty-first aspect of an embodiment of the present application, there is provided an oil leakage control circuit, comprising a power supply terminal, a power ground terminal, an airflow terminal, an atomization terminal, and a power switch, wherein the power supply terminal and the power ground terminal are respectively connected to the positive and negative poles of a battery, the airflow terminal is used to be connected to one electrode of a capacitive airflow sensor, the power ground terminal is also used to be connected to another electrode of the capacitive airflow sensor, the atomization terminal is used to be connected to one end of a heating element, the other end of the heating element is used to be connected to the power ground terminal or the power supply terminal, the atomization terminal is also used to be connected to one end of the power switch, and the other end of the power switch is used to be connected to the power supply terminal or the power ground terminal;

[0296] The oil leakage control circuit further includes:

[0297] a current control unit, which is used to receive information that the electronic cigarette is in an oil leakage state, and is also used to increase the charging current to the airflow end during the puff detection period, wherein the current control unit is connected to the airflow end;

[0298] The power control unit is used to receive information that the electronic cigarette is in the inhalation state, and is also used to control the power switch to turn on so that the heating element works.

[0299] Optionally, the oil leakage control circuit is located on the same chip, the power supply end is a power supply pin, the power ground end is a power ground pin, the airflow end is an airflow pin, and the atomization end is an atomization pin.

[0300] A twenty-second aspect of an embodiment of the present application provides an oil leakage control circuit, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned oil leakage control method when executing the computer program.

[0301] A twenty-third aspect of an embodiment of the present application provides an airflow sensor assembly, including:

[0302] Capacitive airflow sensor;

[0303] The above-mentioned oil leakage control circuit, wherein the oil leakage control circuit is connected to the capacitor airflow sensor.

[0304] In a twenty-fourth aspect, the present application provides an electronic cigarette, comprising:

[0305] The aforementioned airflow sensor assembly or the aforementioned oil leakage control circuit;

[0306] A battery and a heating element, wherein the battery and the heating element are both connected to the oil leakage control circuit.

[0307] According to a twenty-fifth aspect of an embodiment of the present application, there is provided an oil leakage control circuit for an electronic cigarette, comprising: a power supply terminal, a power ground terminal, and an airflow terminal, wherein the power supply terminal and the power ground terminal are respectively connected to the positive and negative electrodes of a battery, the airflow terminal is connected to one electrode of a capacitive airflow sensor, and the power ground terminal is further connected to the other electrode of the capacitive airflow sensor;

[0308] In which, the oil leakage control circuit also includes a current source, a suction detection module, an oil leakage judgment module, a switch control unit and a first switch unit, wherein the current source and the suction detection module are both connected to the airflow end, the oil leakage judgment module and the switch control unit are both connected to the suction detection module, the switch control unit is used to be connected to the control end of the first switch unit, and the first switch unit is used to be connected in series with the heating element; the oil leakage judgment module determines whether the preset conditions are met according to the duration of the first signal output by the suction detection module, and if the preset conditions are met, the oil leakage judgment module outputs an oil leakage confirmation signal to enable the switch control unit to control the first switch unit to remain disconnected.

[0309] Optionally, the oil leakage judgment module includes an oil leakage timing unit, which is connected to the suction detection module. The oil leakage timing unit is used to time the duration of the first signal output by the suction detection module, and output an oil leakage confirmation signal if the timing duration is greater than or equal to the first preset duration.

[0310] Optionally, the oil leakage judgment module includes an oil leakage timing unit, a second counting unit and a counting judgment unit, wherein the oil leakage timing unit is connected to the suction detection module, and the second counting unit is respectively connected to the oil leakage timing unit and the counting judgment unit; the oil leakage timing unit is used to time the duration of the first signal output by the suction detection module, and output a timing compliance signal if the timing duration is greater than or equal to the first preset duration, the second counting unit is used to perform a second count of the continuously received timing compliance signals, and the counting judgment unit is used to judge whether the second count is greater than or equal to a second preset number, and if the judgment result is yes, the counting judgment unit outputs an oil leakage confirmation signal, wherein the second preset number is an integer greater than or equal to 2.

[0311] Optionally, the oil leakage judgment module includes an oil leakage timing unit, a third counting unit, a third timing unit and a timing and counting judgment unit, wherein the oil leakage timing unit is connected to the suction detection module, the third counting unit is connected to the oil leakage timing unit, the third timing unit is connected to the oil leakage timing unit, and the third timing unit and / or the third counting unit are connected to the timing and counting judgment unit; the oil leakage timing unit is used to time the duration of the first signal output by the suction detection module, and output a timing compliance signal if the timing duration is greater than or equal to the first preset duration, the third counting unit is used to perform a third count on the received timing compliance signal, the third timing unit does not start timing and triggers the third timing when receiving the timing compliance signal, and the timing and counting judgment unit is used to judge whether the third count is greater than or equal to a third preset number within the third preset time, and if the judgment result is yes, the timing and counting judgment unit outputs an oil leakage confirmation signal, wherein the third preset number is an integer greater than or equal to 2.

[0312] Optionally, the oil leakage judgment module includes an oil leakage timing unit, a third timing unit, a fourth counting unit and a timing and counting judgment unit, wherein the oil leakage timing unit is connected to the suction detection module, the third timing unit is connected to the oil leakage timing unit, the fourth counting unit is connected to the third timing unit and / or the suction detection module, the fourth counting unit is connected to the timing and counting judgment unit, or the third timing unit and the fourth counting unit are both connected to the timing and counting judgment unit, and the oil leakage timing unit is used to time the duration of the first signal output by the suction detection module. If the timing If the duration is greater than or equal to the first preset duration, a timing compliance signal is output; the third timing unit has not started timing and is triggered to perform the third timing when receiving the timing compliance signal, and the third timing is performed in the third timing unit. The fourth counting unit is used to perform a fourth count on the edge signal of the output of the suction detection module that is converted from the first signal to the second signal or from the second signal to the first signal, and the timing and counting judgment unit is used to judge whether the fourth count is equal to 0 when the third timing reaches the third preset duration, and if the judgment result is yes, the timing and counting judgment unit outputs an oil leakage confirmation signal; wherein the second signal is different from the first signal.

[0313] Optionally, the oil leakage judgment module includes an oil leakage timing unit, wherein the oil leakage timing unit is connected to the suction detection module, and the oil leakage timing unit is used to time the duration of the first signal output by the suction detection module, and output a timing compliance signal if the timing duration is greater than or equal to a first preset duration, and output an oil leakage confirmation signal if the timing duration is greater than or equal to a fourth preset duration; wherein the fourth preset duration is greater than the first preset duration.

[0314] Optionally, the suction detection module includes a voltage comparison unit, one input end of the voltage comparison unit is connected to the airflow end, the other input end of the voltage comparison unit is connected to the reference voltage, the output end of the voltage comparison unit is connected to the oil leakage judgment module, and when the voltage at the airflow end is less than the reference voltage, the voltage comparison unit outputs a first signal.

[0315] Optionally, the suction detection module also includes a first counting unit and a suction judgment unit, the first counting unit is connected to the output end of the voltage comparison unit, the suction judgment unit is connected to the first counting unit, the suction judgment unit is also connected to the switch control unit, the oil leakage judgment module is connected to the enable end of the suction judgment unit, the oil leakage confirmation signal is an enable signal, when the suction judgment unit receives the oil leakage confirmation signal, it stops working so that the switch control unit controls the first switch unit to remain disconnected.

[0316] Optionally, the puff determination unit obtains current counting information based on the count value output by the first counting unit, and determines whether the current counting information is within a preset counting range in two consecutive puff detection time periods to determine whether the electronic cigarette is in the puff state; if the current counting information is within the preset counting range in two consecutive puff detection time periods, then it is determined that the electronic cigarette is in the puff state;

[0317] When the suction determination unit receives the oil leakage confirmation signal, the suction determination unit clears corresponding data of the current counting information in the previous suction detection time period that is within the preset counting range.

[0318] Optionally, the suction detection module includes a first counting unit and a suction judgment unit, the first counting unit is connected to the output end of the voltage comparison unit, the suction judgment unit is connected to the first counting unit, the suction judgment unit is also connected to the switch control unit, and the oil leakage judgment module is connected to the switch control unit. When the switch control unit receives an oil leakage confirmation signal, it is used to control the first switch unit to remain disconnected.

[0319] Optionally, a discharge switch is further included, one end of the discharge switch is connected to the airflow end, the other end of the discharge switch is connected to the power ground end, the control end of the discharge switch is connected to the output end of the voltage comparison unit, when the control end of the discharge switch receives a first signal, the discharge switch remains disconnected, and when the control end of the discharge switch receives a second signal, the discharge switch remains open, wherein the voltage comparison unit outputs a second signal when the voltage at the airflow end is greater than or equal to the reference voltage.

[0320] Optionally, the oil leakage control circuit further includes an indication unit, which is connected to the oil leakage judgment module. When the indication unit receives an oil leakage confirmation signal, the indication unit is used to indicate that the electronic cigarette is in an oil leakage state.

[0321] Optionally, the first preset duration is greater than or equal to 150 microseconds.

[0322] Optionally, the circuits of the oil leakage control circuit except the first switch unit are located on the same chip, the first switch unit is located on another chip, the power supply end is a power supply pin, the power ground end is a power ground pin, and the airflow end is an airflow pin; or,

[0323] The oil leakage control circuit is located on the same chip, the power supply end is a power supply pin, the power ground end is a power ground pin, and the airflow end is an airflow pin.

[0324] A twenty-sixth aspect of the embodiment of the present application provides an airflow sensor assembly, including:

[0325] Capacitive airflow sensor;

[0326] In the above-mentioned oil leakage control circuit, the airflow end and the power ground end of the oil leakage control circuit are correspondingly connected to the two ends of the capacitive airflow sensor.

[0327] In a twenty-seventh aspect of the embodiment of the present application, an electronic cigarette is provided, comprising:

[0328] The aforementioned oil leakage control circuit or the aforementioned airflow sensor assembly;

[0329] A battery and a heating element, wherein the positive electrode of the battery is connected to the power supply end of the oil leakage control circuit, the negative electrode of the battery is connected to the power ground end of the oil leakage control circuit, and the heating element is connected in series with the first switch unit of the oil leakage control circuit.

[0330] The present embodiment comprises an oil leakage detection circuit comprising a first current source, an oil leakage detection unit, and an oil leakage control unit. The first current source and the oil leakage detection unit are both connected to an airflow terminal. The first current source charges a capacitive airflow sensor through the airflow terminal. After charging for the oil leakage detection period, the oil leakage detection unit compares a first sampled voltage with a first reference voltage and outputs comparison result information. The oil leakage control unit then determines whether the electronic cigarette is leaking based on the comparison result information. The oil leakage detection method of the present application is simple, takes minimal detection time, and is virtually imperceptible to the user, thus not affecting the user experience. Furthermore, the present application utilizes the existing airflow terminal and, in conjunction with the existing capacitive airflow sensor, can determine whether the electronic cigarette is leaking. The airflow terminal has multiple functions and can be time-shared and multiplexed. The oil leakage detection circuit does not require additional terminals or pins, thus reducing costs. Furthermore, the present application utilizes the oil leakage detection circuit to determine whether the electronic cigarette is leaking, preventing the prolonged misinterpretation of the electronic cigarette as the electronic cigarette is in use. This reduces the probability of triggering the heating element to malfunction for a long period of time, thus reducing the risk of safety accidents. BRIEF DESCRIPTION OF THE DRAWINGS

[0331] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the implementation. Obviously, the drawings described below are some implementation methods of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0332] Figures 1a-1e are schematic diagrams of electronic cigarettes in different oil leakage states;

[0333] FIG2 is an equivalent circuit diagram of FIG1c and FIG1e;

[0334] FIG3 is a circuit module diagram of the electronic cigarette according to the first embodiment of the present application;

[0335] FIG4 is a circuit module diagram of the airflow sensor assembly of the first embodiment of the present application;

[0336] FIG5 is a circuit module diagram of an airflow sensor assembly according to a second embodiment of the present application;

[0337] FIG6 is a partial flow chart of an oil leakage detection method according to a third embodiment of the present application;

[0338] FIG7 is a specific flow chart of part of step S140 in FIG6 ;

[0339] FIG8 is another partial flow chart of the oil leakage detection method according to the third embodiment of the present application;

[0340] FIG9 is a circuit module diagram of an oil leakage detection circuit according to another embodiment of the present application;

[0341] FIG10 is a circuit module diagram of an airflow sensor assembly according to a fourth embodiment of the present application;

[0342] FIG11 is a circuit module diagram of an airflow sensor assembly according to a fifth embodiment of the present application;

[0343] FIG12 is a circuit module diagram of an airflow sensor assembly according to a sixth embodiment of the present application;

[0344] FIG13 is a partial flow chart of an oil leakage detection method according to a seventh embodiment of the present application;

[0345] FIG14 is a specific flow chart of an embodiment of step S110 in FIG13 ;

[0346] FIG15 is a specific flow chart of another embodiment of step S110 in FIG13;

[0347] FIG16 is a detailed flowchart of part of step S130 in FIG13 ;

[0348] FIG17 is another partial flow chart of the oil leakage detection method according to the seventh embodiment of the present application;

[0349] FIG18 is a circuit module diagram of an airflow sensor assembly according to an eighth embodiment of the present application;

[0350] FIG19 is a circuit module diagram of an oil leakage detection unit according to an eighth embodiment of the present application;

[0351] FIG20 is a circuit module diagram of an oil leakage detection unit according to a ninth embodiment of the present application;

[0352] FIG21 is a circuit module diagram of an oil leakage detection unit according to a tenth embodiment of the present application;

[0353] FIG22 is a circuit module diagram of an oil leakage detection unit according to the eleventh embodiment of the present application;

[0354] FIG23 is a circuit module diagram of an airflow sensor assembly according to a twelfth embodiment of the present application;

[0355] FIG24 is a flowchart of the oil leakage detection method according to the thirteenth embodiment of the present application;

[0356] FIG25 is a specific process step diagram of step S100 in FIG24;

[0357] FIG26 is a flowchart of the process steps before step S110 in FIG25 ;

[0358] FIG27 is a flowchart showing the specific steps of step S150 in FIG25 ;

[0359] FIG28 is a flowchart showing the specific steps of step S200 in FIG24 ;

[0360] FIG29 is a partial flowchart of the oil leakage detection method according to the fourteenth embodiment of the present application;

[0361] FIG30 is a diagram showing the specific steps of step S340 in FIG29;

[0362] FIG31 is a flowchart of the steps of the oil leakage detection method according to the fifteenth embodiment of the present application;

[0363] FIG32 is a detailed flowchart of step S120 in FIG31;

[0364] FIG33 is a block diagram of an oil leakage detection circuit according to a fifteenth embodiment of the present application;

[0365] FIG34 is a flowchart of the steps of the oil leakage detection method according to the sixteenth embodiment of the present application;

[0366] FIG35 is a partial flow chart of an embodiment after step S300 in FIG34;

[0367] FIG36 is a flow chart of another portion of an embodiment after step S300 in FIG34;

[0368] FIG37 is a detailed flowchart of step S300 in FIG34 ;

[0369] FIG38 is a detailed flowchart of step S100 in FIG34 ;

[0370] FIG39 is a block diagram of an oil leakage detection circuit according to a sixteenth embodiment of the present application;

[0371] FIG40 is a circuit module diagram of the electronic cigarette according to the seventeenth embodiment of the present application;

[0372] FIG41 is a flowchart of the steps of the oil leakage control method according to the seventeenth embodiment of the present application;

[0373] FIG42 is a flowchart showing the specific steps of an embodiment of step S120 in FIG41;

[0374] FIG43 is a flowchart of the specific steps before step S110 in FIG41;

[0375] FIG44 is a flowchart of the specific steps before step S130 in FIG41;

[0376] FIG45 is a flowchart showing the specific steps of another embodiment (eighteenth embodiment) of step S120 in FIG41 ;

[0377] FIG46 is a flowchart showing the specific steps of step S222 in FIG45 ;

[0378] FIG47 is a module diagram of an oil leakage control circuit according to a seventeenth embodiment of the present application;

[0379] FIG48 is a circuit module diagram of an airflow sensor assembly according to another embodiment of the present application;

[0380] FIG49 is a circuit module diagram of an electronic cigarette according to an embodiment of the present application;

[0381] FIG50 is a circuit module diagram of an airflow sensor assembly according to a nineteenth embodiment of the present application;

[0382] FIG51 is a timing waveform diagram of a circuit according to a nineteenth embodiment of the present application;

[0383] FIG52 is a circuit module diagram of an airflow sensor assembly according to another embodiment of the present application;

[0384] FIG53 is a circuit timing waveform diagram of another embodiment of the present application;

[0385] FIG54 is a circuit module diagram of an airflow sensor assembly according to a twentieth embodiment of the present application;

[0386] FIG55 is a circuit module diagram of an airflow sensor assembly according to a twenty-first embodiment of the present application;

[0387] FIG56 is a circuit module diagram of an airflow sensor assembly according to a twenty-second embodiment of the present application;

[0388] FIG57 is a circuit module diagram of an airflow sensor assembly according to another embodiment of the present application;

[0389] FIG58 is a circuit module diagram of an airflow sensor assembly according to a twenty-third embodiment of the present application;

[0390] Figure 59 is a circuit module diagram of an airflow sensor assembly according to another embodiment of the present application. DETAILED DESCRIPTION

[0391] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0392] References herein to "embodiments" or "implementations" mean that a particular feature, structure, or characteristic described in connection with the embodiments or implementations may be included in at least one embodiment of the present application. The appearance of such phrases in various places in the specification does not necessarily refer to the same embodiment, nor do they constitute independent or alternative embodiments that are mutually exclusive of other embodiments. It is understood, both explicitly and implicitly, by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0393] First embodiment

[0394] The first embodiment of the present application provides an electronic cigarette, as shown in Figures 1a to 4 . The electronic cigarette includes a battery 110, a heating element 120, an airflow sensor assembly 200, and the like. The battery 110 and the heating element 120 are respectively connected to the airflow sensor assembly 200. The heating element 120 may be, for example, a heating wire, a heating filament, a ceramic holder containing a heating wire or a heating filament, or other conventional heating elements 120. The battery 110 may be, for example, a rechargeable battery or a non-rechargeable battery. Rechargeable batteries may be, for example, lithium-ion batteries, nickel-cadmium batteries, nickel-metal hydride batteries, lithium polymer batteries, lead-acid batteries, and the like. The operating voltage range of the battery 110 is generally less than 5V and greater than 2V, for example, 3.2V-4.2V, 3.2V-4.45V, 2.6V-4.2V, and the like.

[0395] In this embodiment, the airflow sensor assembly 200 includes a capacitive airflow sensor Cs and an oil leakage detection circuit 300, wherein the capacitive airflow sensor Cs includes a capacitive MEMS sensor, a capacitive microphone, etc. In this application, the capacitive airflow sensor Cs is essentially a capacitor that can change with the airflow, and the oil leakage detection circuit 300 includes a power supply terminal BAT, a power ground terminal GND, an airflow terminal SW, and an atomization terminal AT, wherein the power supply terminal BAT is connected to the positive pole of the battery 110, the power ground terminal GND is connected to the negative pole of the battery 110, the power ground terminal GND is used for electrical grounding, the airflow terminal SW is connected to one electrode of the capacitive airflow sensor Cs, and the other electrode of the capacitive airflow sensor Cs is connected to the power ground terminal GND, the atomization terminal AT is connected to one end of the heating element 120, and the other end of the heating element 120 is connected to the power ground terminal GND or the power supply terminal BAT.

[0396] In this embodiment, the electronic cigarette includes a cigarette holder and a cigarette cartridge. The cigarette cartridge is provided with a heating element 120, which also stores tobacco oil. The cigarette holder is provided with a capacitive airflow sensor Cs, a battery 110, and an oil leakage detection circuit 300. The electronic cigarette of this application can be a rechargeable electronic cigarette or a disposable electronic cigarette.

[0397] Referring to Figures 3 and 4 , in this embodiment, the oil leakage detection circuit 300 includes a power switch M and an oil leakage detection control module. The oil leakage detection control module is used to detect whether the electronic cigarette is leaking oil via the airflow terminal SW during the oil leakage detection period. The oil leakage detection control module includes an oil leakage control unit 310. One end of the power switch M is connected to the power supply terminal BAT or the power ground terminal GND, and the other end of the power switch M is connected to the atomization terminal AT in series with the heating element 120. The control end of the power switch M is connected to the oil leakage control unit 310. The oil leakage control unit 310 controls the power switch M by obtaining the state of the electronic cigarette. In this embodiment, the power switch M is a PMOS transistor, one end of which is connected to the power supply terminal BAT. In other embodiments of the present application, the power switch M can also be an NMOS transistor, one end of which is connected to the power ground terminal GND. In this embodiment, the oil leakage detection circuit 300 is located on the same chip, generally referred to as an electronic cigarette dedicated chip. In this case, the power supply terminal BAT is the power supply pin, the power ground terminal GND is the power ground pin, the airflow terminal SW is the airflow pin, and the atomization terminal AT is the atomization pin. In addition, in other embodiments of the present application, the oil leakage detection circuit 300 can also be located on the same chip as the circuit except for the power switch M, and the power switch M is located on another chip. The two chips can be packaged together or not. In addition, in this embodiment, the oil leakage detection circuit 300 also includes an indicator terminal / pin LED and a charging terminal / pin CHG, wherein the indicator terminal LED is used for an external indicator light, the indicator light is used to indicate the status of the electronic cigarette, and the charging terminal CHG is used to connect to the USB input interface for charging the battery 110.

[0398] In this embodiment, please continue to refer to Figures 3 and 4. The oil leakage detection control module also includes a first current source 321 and an oil leakage detection unit 330. The first current source 321 constantly outputs a first current, and the first current is, for example, 100nA, 200nA, 300nA, 400nA, 500nA, etc. The first end of the first current source 321 is connected to the power supply terminal BAT, and the second end of the first current source 321 is connected to the air flow terminal SW. Thus, the first current source 321 can charge the capacitive air flow sensor Cs through the air flow terminal SW; the oil leakage detection unit 330 is used to detect oil leakage. During the period, the electronic cigarette detects whether it is leaking oil through the airflow terminal SW. The oil leakage detection unit 330 is connected to the airflow terminal SW and is used to obtain a first sampled voltage through the airflow terminal SW. In this embodiment, the first sampled voltage is obtained by sampling the voltage of the airflow terminal SW. The first sampled voltage can be equal to the voltage of the airflow terminal SW (for example, the oil leakage detection unit 330 is directly connected to the airflow terminal SW, which is used as an example in this embodiment). Alternatively, sampling can be performed through a resistor voltage divider or other method. In this case, the first sampled voltage is k times the voltage of the airflow terminal SW, where k is a positive number less than 1. The first current source 321 charges the capacitive airflow sensor Cs through the airflow terminal SW during the oil leakage detection period. After charging for the oil leakage detection period, the oil leakage detection unit 330 obtains the first sampled voltage by sampling the voltage of the airflow terminal SW and then makes a judgment on the first sampled voltage. Among them, the oil leakage detection time period includes the oil leakage detection duration, the oil leakage detection duration is less than or equal to the duration of the oil leakage detection time period, the oil leakage detection duration is generally greater than or equal to 300μs, preferably greater than or equal to 1ms, for example, 300μs, 500μs, 600μs, 700μs, 800μs, 900μs, 1ms, 2ms, 3ms, 4ms, 5ms, 6ms, 7ms, 8ms, 9ms, 10ms, 12ms, 15ms, 20ms, 25ms, 30ms, etc., and the oil leakage detection duration is generally less than 200ms.

[0399] In this embodiment, when there is no e-liquid connecting the two electrodes of the capacitive airflow sensor Cs, and there is no condensed e-liquid connecting the airflow end SW and the power ground terminal GND (or other ground connection point), there is a capacitor (airflow sensor Cs) between the airflow end SW and the power ground terminal GND, and there is no leakage resistor RL connected in parallel with the capacitor. After the airflow sensor Cs is charged for the leakage detection period, the voltage of the airflow end SW will be charged to a voltage close to the voltage of the power supply terminal BAT or equal to the voltage of the power supply terminal BAT. Etc., so that the first sampling voltage will be larger; when the electronic cigarette leaks oil and causes the existence of oil connected to the two electrodes of the capacitive airflow sensor Cs (Figure 1c), or when there is condensed oil connected to the airflow terminal SW and the power ground terminal GND (Figure 1e), at this time, there is a capacitance between the airflow terminal SW and the power ground terminal GND, and there is also an oil leakage resistor RL connected in parallel with the capacitor (please refer to Figure 1c, Figure 1e, and Figure 2). Generally, the resistance of the oil leakage resistor RL is less than 10 megohms, for example, 8MΩ, 5MΩ, 4MΩ, 2MΩ, 1MΩ, 8 00kΩ, 500kΩ, 300kΩ, etc., and since the oil leakage detection time is very long, the capacitance of the airflow sensor Cs is close to showing a DC characteristic, the capacitance is in a disconnected state, and its equivalent resistance is very large, generally greater than or equal to 20MΩ, for example, 20MΩ, 30MΩ, 50MΩ, 70MΩ, 100MΩ, 200MΩ or more, which is much greater than the resistance of the oil leakage resistor RL, so that the resistance of the parallel resistor is less than or close to equal to the resistance of the oil leakage resistor RL. When the charge passes the oil leakage detection time, those skilled in the art know Since the first current is known, the voltage at the airflow terminal SW is controlled by the oil leakage resistor RL. Generally, the voltage at the airflow terminal SW is the voltage across the oil leakage resistor RL, which is generally less than the product of the resistance of the oil leakage resistor RL and the first current. As a result, the first sampling voltage is relatively small. A suitable first reference voltage can be selected through extensive experimentation. The first reference voltage can be designed such that when oil leakage is present, the first sampling voltage is less than the first reference voltage, and when no oil leakage is present, the first reference voltage is less than or equal to the first sampling voltage. The first reference voltage is also less than the voltage at the power supply terminal BAT. For example, the range of the first reference voltage is greater than or equal to 1V and less than 2.8V, such as 1V, 1.5V, 2V, 2.5V, etc. The range of the first reference voltage can also be set according to specific needs, such as between 1 / 2 and 4 / 5 of the voltage at the power supply terminal BAT.

[0400] Therefore, when there is oil leakage, that is, when it is in an oil leakage state, after charging for the oil leakage detection time, the voltage at the airflow terminal SW will be less than the product of the resistance of the oil leakage resistor RL and the first current, and the first sampling voltage will be less than the first reference voltage. When there is no oil leakage, after charging for the oil leakage detection time, the voltage at the airflow terminal SW will reach the voltage of the power supply terminal BAT, and the first sampling voltage will be greater than or equal to the first reference voltage. Therefore, the present application compares the first sampling voltage after charging for the oil leakage detection time with the first reference voltage and then outputs comparison result information. The oil leakage control unit 310 can determine whether the electronic cigarette is leaking based on the comparison result information, that is, whether there is oil between the two electrodes of the capacitor connecting the two electrodes, or whether there is oil connecting the airflow terminal SW to the ground terminal. When the oil leakage control unit 310 determines that there is oil leakage in the electronic cigarette, the oil leakage control unit 310 can control the power switch M to remain off, or can perform other processing.

[0401] The oil leakage detection circuit 300 of this embodiment includes a first current source 321, an oil leakage detection unit 330, and an oil leakage control unit 310. The first current source 321 and the oil leakage detection unit 330 are both connected to the airflow terminal SW. The first current source 321 charges the capacitive airflow sensor Cs through the airflow terminal SW. After charging for the oil leakage detection period, the oil leakage detection unit 330 compares the first sampled voltage with the first reference voltage and outputs the comparison result information. The oil leakage control unit 310 can then determine whether the electronic cigarette is leaking oil based on the comparison result information. The oil leakage detection method of the present application is simple, takes very little detection time, is almost imperceptible to the user, and does not affect the user's experience. It can also fully utilize the existing airflow terminal SW and, in conjunction with the existing capacitive airflow sensor Cs, determine whether the electronic cigarette is leaking oil. The airflow terminal SW has multiple functions and can be time-shared multiplexed. The oil leakage detection circuit 300 does not require additional terminals or pins, which helps reduce costs. Furthermore, the present application can determine whether the electronic cigarette has oil leakage through the oil leakage detection circuit 300, and will not mistakenly judge the electronic cigarette leakage as the electronic cigarette smoking state for a long time, thereby lowering the probability of triggering the heating element 120 to malfunction for a long time, and is less likely to cause safety accidents.

[0402] To compare the first sampled voltage with the first reference voltage, in this embodiment, the oil leakage detection unit 330 includes a first voltage comparator 331. The first input of the first voltage comparator 331 is connected to the airflow terminal SW, thereby receiving the first sampled voltage. That is, the first input of the first voltage comparator 331 obtains the first sampled voltage in real time. The second input of the first voltage comparator 331 receives the first reference voltage RefV1, which is provided by the reference voltage generation module of the oil leakage detection circuit 300. The output of the first voltage comparator 331 is connected to the oil leakage control unit 310. In this embodiment, the first input is a positive-inverting terminal, and the second input is a negative-inverting terminal. Of course, in other embodiments of the present application, the first input may also be a negative-inverting terminal, and the second input may be a positive-inverting terminal. In this embodiment, after the oil leakage detection time period has passed, the first voltage comparator 331 outputs comparison result information. When the first sampling voltage is greater than or equal to the first reference voltage, the first voltage comparator 331 outputs second comparison result information. The second comparison result information is, for example, a high level, which indicates that the electronic cigarette is not leaking oil. When the first sampling voltage is less than the first reference voltage, the first voltage comparator 331 outputs first comparison result information. The first comparison result information is, for example, a low level, which indicates that the electronic cigarette is leaking oil. Therefore, the oil leakage control unit 310 can determine whether there is oil leakage through the comparison result information output by the first voltage comparator 331.

[0403] In order to control the comparison timing between the first sampling voltage and the first reference voltage, please continue to refer to Figure 4. In this embodiment, the oil leakage control unit 310 includes a first timing subunit 312 and a logic control subunit 311. The first timing subunit 312 is connected to the logic control subunit 311, and the logic control subunit 311 is connected to the oil leakage detection unit 330 and the control end of the power switch M. When the logic control subunit 311 controls the oil leakage detection time period, the first timing subunit 312 starts timing and controls the first current source 321 to charge the capacitive airflow sensor Cs through the airflow terminal SW. In the initial stage, the first sampling voltage will be lower than the first reference voltage. The oil leakage detection unit 330 outputs the comparison result information to the logic control subunit 311 in real time. The logic control subunit 311 does not receive the comparison result information. When the first timing subunit 312 reaches the oil leakage detection time period, the airflow sensor Cs is charged for the oil leakage detection time period. The first timing subunit 312 outputs a first timing signal to the logic control subunit 311. The logic control subunit 311 is triggered to receive the comparison result information output by the oil leakage detection unit 330 during the oil leakage detection time period or thereafter, and determines whether the electronic cigarette is in an oil leakage state based on the comparison result information. When in an oil leakage state, the logic control subunit 311 controls the power switch M to remain off. In addition, in other embodiments of the present application, the first timing subunit 312 is also connected to the oil leakage detection unit 330. When the logic control subunit 311 controls the oil leakage detection time period, the first timing subunit 312 starts timing and simultaneously controls the first current source 321 to charge the capacitive airflow sensor Cs through the airflow terminal SW. Before the oil leakage detection time period is reached, the first voltage comparator 331 does not compare the voltages of the two input terminals, or even if it compares, it does not output the comparison result information. When the first timing subunit 312 reaches the oil leakage detection time period, the first timing subunit 312 outputs a first timing signal to the oil leakage detection unit 330. The oil leakage detection unit 330, for example, the first voltage comparator 331 compares the voltages of the two input terminals and outputs the comparison result information to the logic control subunit 311. For example, the first voltage comparator 331 does not operate before receiving the first timing signal from the first timing subunit 312 and only operates after receiving the first timing signal from the first timing subunit 312. In addition, in other embodiments of the present application, the airflow end SW can also be connected to the first voltage comparator 331 via a sampling unit, and the sampling unit is connected to the first timing sub-unit 312. The sampling unit does not work before receiving the first timing signal of the first timing sub-unit 312, and only works after receiving the first timing signal of the first timing sub-unit 312, and then samples to obtain the first sampling voltage and outputs it to the first voltage comparator 331.In this embodiment, if the first timing subunit 312 has not yet reached the oil leak detection time period, the first timing subunit 312 outputs a second timing signal that is different from the first timing signal. After the first timing subunit 312 outputs the first timing signal, the first timing subunit 312 resets to zero, or resets to zero when the oil leak detection time period ends.

[0404] In this embodiment, in order to obtain the duration of the oil leakage detection time period, the oil leakage control unit 310 also includes a second timing subunit 313, which times the oil leakage detection time period. The second timing subunit 313 is connected to the logic control subunit 311. When the logic control subunit 311 controls the entry into the oil leakage detection time period, the second timing subunit 313 starts timing. The first timing subunit 312 can start timing synchronously with the second timing subunit 313, or start timing later. When the second timing subunit 313 times the duration corresponding to the oil leakage detection time period, the second timing subunit 313 sends a third timing signal to the logic control subunit 311, and the oil leakage detection time period ends.

[0405] In order to prevent the misjudgment of electronic cigarette oil leakage caused by signal disturbance, please continue to refer to Figure 4. In this embodiment, the oil leakage control unit 310 also includes a third timing subunit 314. The input end of the third timing subunit 314 is connected to the output end of the oil leakage detection unit 330, such as the first voltage comparator 331, and the output end of the third timing subunit 314 is connected to the logic control subunit 311. The third timing subunit 314 is also connected to the first timing subunit 312. When the third timing subunit 314 receives the first timing signal, the third timing subunit 314 is used to time the duration of the first comparison result information output by the first voltage comparator 331. When the timing of the third timing subunit 314 is greater than or equal to the third time length, the third timing subunit 314 outputs an oil leakage confirmation signal to the logic control subunit 311. When the third timing subunit 314 receives the first timing signal, when When the third timing subunit 314 receives the second comparison result information, it resets to zero (starts timing) or stops timing (does not start timing). Specifically, when the first voltage comparator 331 outputs the second comparison result information, the third timing subunit 314 stops timing. When the first voltage comparator 331 outputs the first comparison result information and the third timing subunit 314 receives the first timing signal, the third timing subunit 314 starts timing. When the third timing subunit 314 reaches the third duration, the third timing subunit 314 outputs an oil leak confirmation signal to the logic control subunit 311 and simultaneously resets to zero. When the third timing subunit 314 has started timing but has not reached the third duration, the third timing subunit 314 receives the second comparison result information and resets to zero. In this embodiment, the duration of the oil leak detection period is greater than the oil leak detection duration, and the duration of the oil leak detection period is greater than or equal to the sum of the oil leak detection duration and the third duration. In addition, in other embodiments of the present application, the oil leakage control unit 310 may not include the third timing subunit 314 .

[0406] Generally speaking, electronic cigarettes are classified into three states based on whether they are being puffed on: a puffing state and a non-puffing state. The non-puffing state includes a blowing state and a non-puffing state. The puffing state corresponds to the state when the user is puffing on the electronic cigarette, the blowing state corresponds to the state when the user is blowing into the electronic cigarette, and the non-puffing state corresponds to the state when the electronic cigarette is neither puffed on nor blown into. Electronic cigarettes perform different actions in different states. To detect whether the electronic cigarette is in the puffing state, in this embodiment, the oil leakage detection circuit 300 further includes a puffing detection module 400. The puffing detection module 400 is used to detect whether the electronic cigarette is in the puffing state via the airflow terminal SW during the puff detection period.

[0407] Specifically, the input end of the puff detection module 400 is connected to the airflow terminal SW. The puff detection module 400 samples the voltage of the airflow terminal SW to obtain a second sampled voltage. The second sampled voltage can be equal to or less than the voltage of the airflow terminal SW. The second sampled voltage and the first sampled voltage can be obtained by sampling through the same sampling unit. In this case, the first and second sampled voltages are distinguished by different time periods, for example, by sampling through the same set of bipolar resistors. Of course, they can also be obtained by sampling through different sampling units. The output end of the puff detection module 400 is connected to the oil leakage control unit 310, specifically to the logic control subunit 311. The puff detection module 400 is used to determine whether the electronic cigarette is in the puff state based on the capacitance or capacitance change of the airflow sensor Cs through the airflow terminal SW. In other words, the airflow terminal SW has at least two functions: detecting the puff state and detecting the oil leakage state.

[0408] In this embodiment, the puff detection module 400 includes a second voltage comparison unit 410 and a puff determination unit 420, and the oil leakage detection circuit 300 includes a charge-discharge switch Kc. The first input of the second voltage comparison unit 410 is connected to the second sampling voltage, the second input of the second voltage comparison unit 410 is connected to the second reference voltage, the output of the second voltage comparison unit 410 is connected to the puff determination unit 420, and the output of the puff determination unit 420 is connected to the oil leakage control unit 310. The first end of the charge-discharge switch Kc is connected to the airflow terminal SW, and the second end of the charge-discharge switch Kc is connected to the power ground terminal GND, that is, the charge-discharge switch Kc is connected in parallel with the airflow sensor Cs. The control end of the charge-discharge switch Kc is connected to the output of the second voltage comparison unit 410. In this embodiment, the first input of the second voltage comparison unit 410 is the positive-inverting terminal, and the second input is the negative-inverting terminal. In other embodiments of the present application, the positive-inverting and negative-inverting terminals can be reversed. In this embodiment, the second reference voltage range is greater than or equal to 500mV and less than 1.5V, for example, 500mV, 600mV, 700mV, 800mV, 900mV, 1V, 1.1V, 1.2V, 1.3V, 1.4V, etc. This embodiment is described using 1V as an example. For another example, if the second reference voltage is less than 1 / 2 times the voltage of the power supply terminal BAT, the second reference voltage is less than the first reference voltage. The charge and discharge switch Kc is, for example, an NMOS transistor, but the present application is not limited thereto. In other embodiments of the present application, the charge and discharge switch Kc can also be a PMOS transistor or other conventional switch unit.

[0409] In this embodiment, the oil leakage detection circuit 300 also includes a second current source 322, which constantly outputs a second current. The second current can be the same as the first current (in this embodiment, the same is used as an example for explanation), or it can be different. The second current is, for example, 100nA, 200nA, 300nA, 400nA, 500nA, etc. The first end of the second current source 322 is connected to the power supply terminal BAT, and the second end of the second current source 322 is connected to the airflow terminal SW. Thus, the second current source 322 can charge the capacitive airflow sensor Cs through the airflow terminal SW. In this embodiment, during the puff detection period, the second current source 322 charges the airflow sensor Cs. Initially, the second sampled voltage is less than the second reference voltage, and the output terminal of the second voltage comparison unit 410 outputs a first switching signal, for example, a low level, and the charge-discharge switch Kc remains off. When the second sampled voltage is charged to or greater than the second reference voltage (this period is the charging period), the second sampled voltage is equal to or greater than the second reference voltage, and the output signal of the second voltage comparison unit 410 changes to output a second switching signal, for example, a high level. The second switching signal controls the charge-discharge switch Kc to conduct, short-circuiting the two ends of the airflow sensor Cs through the charge-discharge switch Kc, causing the sensor to be instantly discharged to 0V or near 0V (this period is the discharging period). After discharge, the second sampled voltage is again less than the second reference voltage, and the output signal of the second voltage comparison unit 410 changes back to the first switching signal. Thereafter, the charge-discharge switch Kc remains off, completing a charge-discharge cycle. That is, the charge-discharge cycle includes a charging period and a discharging period. The aforementioned charge-discharge cycle is then repeated, and the airflow sensor Cs repeats the charging and discharging process. When an electronic cigarette is in different states, its charge and discharge cycles will vary, typically within 10%. This difference can be used to determine whether the electronic cigarette is in the puffing state. In this embodiment, the puff determination unit 420 counts the number of charge and discharge cycles. The count value obtained after the puff detection period is the current count value. Current count information can be calculated based on the current count value. In this embodiment, the current count information is the current count value. The puff determination unit 420 further determines whether the current count information is within a preset count range to determine whether the electronic cigarette is in the puffing state. The count range is, for example, less than or equal to 97% of a baseline count value and greater than or equal to 50% of a baseline count value. The baseline count value is preset or obtained by counting during the puff detection period in the non-puffing state, for example, the baseline count value is 1000. In other embodiments of the present application, the current count information is the difference between the current count value and the baseline count value. In this case, the count range is a difference range, for example, a difference range greater than or equal to 30. In other embodiments of the present application, the current counting information is the ratio of the difference value to the reference counting value. In this case, the counting range is the ratio range, for example, greater than or equal to 3%.Whether an electronic cigarette is in a puffing state, a blowing state, or a non-puffing state is common knowledge in the art and will not be further described here. In this embodiment, when the electronic cigarette is in a non-puffing state, a charge and discharge cycle is less than 50 μs, preferably less than 30 μs, and the puff detection period is, for example, 30 ms.

[0410] In this embodiment, the oil leakage control unit 310 includes a fourth timing subunit 315, which is connected to the logic control subunit 311. When the logic control subunit 311 controls the entry into the suction detection time period, the fourth timing subunit 315 starts timing. When the fourth timing subunit 315 times the duration corresponding to the suction detection time period, the fourth timing subunit 315 sends a signal to the logic control subunit 311, and the suction detection time period ends.

[0411] In this embodiment, the oil leakage detection duration is much longer than the charge and discharge cycle of the suction detection period, generally greater than or equal to 10 times the charge and discharge cycle, for example, 10 times the charge and discharge cycle (calculated based on the charge and discharge cycle in the non-suction and blowing state), 15 times the charge and discharge cycle, 20 times the charge and discharge cycle, 30 times the charge and discharge cycle, etc. This embodiment uses a 10-fold charge and discharge cycle as an example for illustration. Thus, when there is no oil leakage, during the oil leakage detection period, the first current source 321 charges the capacitive airflow sensor Cs, and the voltage of the airflow terminal SW quickly reaches the voltage of the power supply terminal BAT (at most, it can only charge to the voltage of the power supply terminal BAT, not to 10*1V, which is much greater than the voltage of the battery 110). The first sampling voltage will be greater than the first reference voltage. When there is oil leakage, during the oil leakage detection period, the first current source 321 charges the capacitive airflow sensor Cs, and due to the presence of the oil leakage resistor RL, the first sampling voltage will always be less than the first reference voltage. In addition, in other embodiments of the present application, the oil leakage detection duration may be close to the charge and discharge cycle. In this case, the output current of the first current source 321 is greater than or equal to 10 times the output current of the second current source 322 .

[0412] In this embodiment, the first reference voltage is greater than the second reference voltage. To prevent the signal of the second voltage comparison unit 410 from flipping, causing the charge-discharge switch Kc to turn on when the airflow sensor Cs is charged to a voltage greater than or equal to the second reference voltage during the oil leak detection period, thereby preventing the oil leak control unit 310 from misjudging the oil leak. In this embodiment, the charge-discharge switch Kc remains off during the oil leak detection period. Preferably, the charge-discharge switch Kc remains off during the oil leak detection period. This configuration ensures that the charge-discharge switch Kc does not affect oil leak detection during the oil leak detection period, nor does it cause misjudgments.

[0413] To ensure that the charge-discharge switch Kc remains off during the oil leakage detection period, in this embodiment, the oil leakage detection circuit 300 further includes a first switch unit K1 and a second switch unit K2. The first end of the first switch unit K1 is connected to the power supply terminal BAT, the second end of the first switch unit K1 is connected to the power supply terminal of the first current source 321 and the power supply terminal of the first voltage comparator 331, and the control end of the first switch unit K1 is connected to the oil leakage control unit 310. The first end of the second switch unit K2 is connected to the power supply terminal BAT, the second end of the second switch unit K2 is connected to the power supply terminal of the second current source 322 and the power supply terminal of the second voltage comparator 410, and the control end of the second switch unit K2 is connected to the oil leakage control unit 310. In this embodiment, the oil leakage control unit 310 controls the conduction or disconnection of the first and second switch units K1 and K2. In this embodiment, the first and second switch units K1 and K2 are not turned on at the same time. In other embodiments of the present application, the second end of the first switch unit K1 may not be connected to the power supply terminal of the first voltage comparator 331.

[0414] In this embodiment, when the puff detection time period begins, the oil leakage control unit 310 controls the second switch unit K2 to be turned on, and controls the first switch unit K1 to be turned off. At this time, the second voltage comparison unit 410 is working, and the second current source 322 charges the airflow sensor Cs. After the airflow end SW is charged to the second reference voltage, the charge-discharge switch Kc is turned on for discharge, and then charging and discharging are repeated, ...; when the oil leakage detection time period begins, the oil leakage control unit 310 controls the second switch unit K2 to be turned off, and the first switch unit K1 to be turned on. At this time, the first current source 321 is working to detect whether the electronic cigarette is leaking oil, and the second current source 322 and the second voltage comparison unit 410 both stop working. The second voltage comparison unit 410 outputs a low level, so that the charge-discharge switch Kc remains turned off. Therefore, even if the airflow sensor Cs is charged to a voltage greater than the second reference voltage during this time period, it will not be discharged through the charge-discharge switch Kc. In addition, in other embodiments of the present application, when the stop detection time period mentioned later begins, the oil leakage control unit 310 controls the first switch unit K1 and the second switch unit K2 to stop operating, and the charge-discharge switch Kc remains disconnected. In this embodiment, to save power, the power supply terminal of the first voltage comparator 331 is connected to the second terminal of the first switch unit K1. Therefore, when the first switch unit K1 is disconnected and cut off, the first current source 321 and the first voltage comparator 331 both stop operating. In this embodiment, the first switch unit K1 and the second switch unit K2 are both PMOS transistors, but the present application is not limited to this. In other embodiments of the present application, the first switch unit K1 and the second switch unit K2 can also be NMOS transistors or other switch units.

[0415] In addition, in other embodiments of the present application, the oil leakage detection circuit 300 may not include the first switch unit K1. In addition, in other embodiments of the present application, the second end of the second switch unit K2 may not be connected to the second current source 322. In this case, the second switch unit K2 is disconnected, the second voltage comparison unit 410 does not operate, and the charge-discharge switch Kc unit is disconnected.

[0416] In this embodiment, there is one first reference voltage and no sub-reference voltage is included. However, the present application is not limited thereto. In other embodiments of the present application, the first reference voltage may further include multiple sub-reference voltages, for example, two sub-reference voltages, three sub-reference voltages, or more sub-reference voltages. Two sub-reference voltages are used as an example for illustration. The two sub-reference voltages are a first preset sub-reference voltage and a second preset sub-reference voltage, wherein the first preset sub-reference voltage is less than the second preset sub-reference voltage, and the second preset sub-reference voltage is less than the voltage of the power supply terminal BAT. Accordingly, the first comparison result information includes first sub-comparison result information and second sub-comparison result information. During the leakage detection period, after the leakage detection duration, if the first sampling voltage is greater than the second preset sub-reference voltage, it indicates that the electronic cigarette has no leakage. When the first sampling voltage is greater than the first preset sub-reference voltage and less than the second preset sub-reference voltage, the first voltage comparator 331 outputs the second sub-comparison result information, indicating that there is some leakage, but the leakage is not serious. When the first sampling voltage is less than the first preset sub-reference voltage, the first voltage comparator 331 outputs the first sub-comparison result information, indicating that the leakage is serious. Therefore, by comparing the first sampling voltage with multiple sub-reference voltages, it is possible to determine whether the electronic cigarette is leaking and the severity of the leakage, thereby facilitating the processing of electronic cigarettes with different degrees of leakage. For example, when the leakage is not serious, correction can be made by, for example, correcting the reference count value to prevent the leakage state from being mistakenly judged as the puffing state. When the leakage is serious, the leakage control unit 310 can control the power switch M to remain off. Even if the user is puffing normally on the electronic cigarette, the power switch M remains off, thereby reducing the risk of safety accidents.

[0417] To prevent the leakage state from being misidentified as the puff state for a prolonged period before the leakage state is detected, causing the e-cigarette to operate for extended periods and potentially leading to safety issues, in this embodiment, the leakage detection circuit 300 performs leakage and puff state detections over a first duration. The first duration includes a puff detection period and a leakage detection period, and the puff detection period and the leakage detection period do not overlap, i.e., they are distinct. In this embodiment, the puff detection period and the leakage detection period are adjacent, i.e., the end of the puff detection period coincides with the start of the leakage detection period, or vice versa. In other embodiments of the present application, the puff detection period and the leakage detection period may not be adjacent, i.e., other time periods may exist. In this embodiment, the leakage control unit 310 includes a fifth timing subunit 316, which is used to control the first duration, i.e., the period. The fifth timing subunit 316 is connected to the logic control subunit 311. In this embodiment, the first timing sub-unit 312, the second timing sub-unit 313, the third timing sub-unit 314, the fourth timing sub-unit 315, and the fifth timing sub-unit 316 can be the same timing unit or different timing units. The first timing sub-unit 312, the second timing sub-unit 313, the third timing sub-unit 314, the fourth timing sub-unit 315, and the fifth timing sub-unit 316 can also be shared by some units. These are common knowledge in this field and will not be repeated here.

[0418] In this embodiment, the first duration includes one puff detection period and one oil leakage detection period. For example, the first duration is 40ms, the puff detection period is 30ms, and the oil leakage detection period is 10ms. Of course, in other embodiments of the present application, the first duration may also include multiple puff detection periods and one oil leakage detection period. This can reduce the response time of the puff detection and shorten the time the user waits for the oil to be atomized.

[0419] In order to reduce power consumption, in other embodiments of the present application, the first duration also includes a stop detection time period. During the stop detection time period, the puffing state and the oil leakage state are not detected, which is conducive to reducing power consumption. During the stop detection time period, the first current source 321, the second current source 322, the oil leakage detection unit 330, and the puff detection module 400 at least partially stop working. In this embodiment, they all stop working. Here, the first duration includes a puff detection time period, a oil leakage detection time period, and a stop detection time period. For example, the first duration is 300ms, the duration of the puff detection time period is 30ms, the duration of the oil leakage detection time period is 10ms, and the remaining duration of 260ms is the stop detection time period. Of course, in other embodiments of the present application, the first duration can also include multiple puff detection time periods, a oil leakage detection time period, and a stop detection time period. This can reduce the response time of the puff detection and reduce the time the user waits for the oil to be atomized.

[0420] Generally speaking, when an electronic cigarette is in a state of leaking oil, it will inevitably be misjudged as being in a puffing state, thereby causing safety issues when the heating element 120 operates. Based on this characteristic, in other embodiments of the present application, the first duration does not include the oil leakage detection period, and the oil leakage detection circuit 300 performs puff detection with the first duration as a cycle, and the first duration includes the puff detection period. Specifically, after the end of the previous first duration period, the electronic cigarette performs a puffing state detection again. When it is judged to be in a non-puffing state, it normally enters the next first duration period; when it is judged to be in a puffing state, the first duration is paused (the fifth timing subunit 316 pauses timing), and the oil leakage period is inserted at this time. The oil leakage state detection is performed during the oil leakage detection period. This setting is conducive to reducing the detection response time of the puffing state, reducing the frequency of oil leakage detection, and improving the user experience. In this embodiment, when the logic control subunit 311 receives a puff signal (a signal output when the electronic cigarette is in the puff state), the logic control subunit 311 controls the oil leakage detection unit 330 to operate, or the puff signal output by the puff determination unit 420 triggers the oil leakage detection unit 330 to operate. When the oil leakage detection unit 330 determines that the electronic cigarette is in a non-leakage state or a leaking state, it normally exits the oil leakage state detection and continues for the next first duration (the fifth timing subunit 316 resumes timing). At the same time, if it is determined to be in the leaking state, the electronic cigarette is processed according to the leaking state, for example, the power switch M remains off.

[0421] Second embodiment

[0422] Please refer to Figure 5, which is a circuit module diagram of the airflow sensor assembly 200 of the second embodiment of the present application. This embodiment is similar to the first embodiment, so the parts not described in this embodiment can refer to the first embodiment. The main difference between this embodiment and the first embodiment is that the first current source 321 is shared.

[0423] Referring to Figures 3 and 5 , in this embodiment, the airflow sensor Cs is charged via the first current source 321 during both the puff detection period and the oil leak detection period. In this embodiment, the oil leak detection circuit 300 does not include a second current source or a second switch unit. In this embodiment, the first duration includes the puff detection period, the oil leak detection period, and the stop detection period. During the puff detection period and the oil leak detection period, the first switch unit K1 is turned on. During the stop detection period, the first switch unit K1 is turned off, and the oil leak detection unit 330 ceases operation. Furthermore, in other embodiments of the present application, the power supply terminal of the oil leak detection unit 330 may not be connected to the second terminal of the first switch unit K1. During the puff detection period, the oil leak control unit 310 ignores the output of the oil leak detection unit 330, and during the oil leak detection period, the oil leak control unit 310 ignores the output of the puff detection module 400. Furthermore, in other embodiments of the present application, when the first duration does not include the stop detection period, the first switch unit K1 may not be included.

[0424] In order to ensure that the charge and discharge switch Kc remains disconnected during the oil leakage detection period, in this embodiment, the oil leakage detection circuit 300 further includes a switch control unit 540. A first input end of the switch control unit 540 is controlled by the output signal of the second voltage comparison unit 410. For example, the first input end of the switch control unit 540 is connected to the output end of the second voltage comparison unit 410, or the first input end of the switch control unit 540 is connected to the output end of the second voltage comparison unit 410 via the oil leakage control unit 310. A second input end of the switch control unit 540 is connected to the oil leakage control unit 310, and in this embodiment, is connected to the logic control subunit 311. An output end of the switch control unit 540 is connected to the control end of the charge and discharge switch Kc. The switch control unit 540 is, for example, a logic gate, such as an AND gate, an OR gate, or a combination of an AND gate, an OR gate, and a NOT gate. In this embodiment, during the puff detection time period, whether the charge and discharge switch Kc is turned on is controlled by the output signal of the second voltage comparison unit 410. During the oil leakage detection time period, the oil leakage control unit 310 controls the charge and discharge switch Kc to remain disconnected via the switch control unit 540. For example, the switch control unit 540 is an AND gate 541. During the puff detection time period, the logic control subunit 311 continuously outputs a high level to the AND gate 541. Therefore, the output signal of the AND gate 541 is controlled by the output signal of the second voltage comparison unit 410. During the oil leakage detection time period, the logic control subunit 311 continuously outputs a low level signal to the AND gate 541. The AND gate 541 continuously outputs a low level, so that the charge and discharge switch Kc remains disconnected. In addition, in other embodiments of the present application, the switch control unit 540 may not be included, and the oil leakage detection circuit 300 also includes a second switch unit. The two ends of the second switch unit are correspondingly connected to the power supply terminal BAT and the power supply terminal of the second voltage comparison unit 410, and the control end of the second switch unit is connected to the logic control subunit 311. During the oil leakage detection time period, the logic control subunit 311 controls the second switch unit to be disconnected and cut off, and the second switch unit K2 stops working. During the suction detection time period, the logic control subunit 311 controls the second switch unit K2 to be turned on, and the second switch unit K2 works.

[0425] Compared with the first embodiment, this embodiment does not need to separately provide the second current source 322 , and the capacitive airflow sensor Cs is charged through the first current source 321 , which is beneficial to reducing costs.

[0426] Third embodiment

[0427] Corresponding to the electronic cigarette oil leakage detection circuit of the above embodiment, the oil leakage detection method provided in the third embodiment of the present application will be described in detail below in conjunction with Figure 6. It should be noted that the oil leakage detection method shown in Figure 6 is used to be performed by the oil leakage detection circuit of the first and second embodiments. For ease of explanation, only the parts related to the embodiment of the present application are shown. For specific technical details not disclosed, please refer to the oil leakage detection circuit of the first and second embodiments above.

[0428] Please refer to Figures 4 to 6. In this embodiment, the oil leakage detection method includes the following steps:

[0429] S110: charging the capacitive airflow sensor through the airflow terminal, wherein the airflow terminal is used to be connected to one electrode of the capacitive airflow sensor, and another electrode of the capacitive airflow sensor is used to be electrically connected to a power ground terminal;

[0430] S120: Triggering a first timing of the charging time;

[0431] S130: Determine whether the first timer is greater than or equal to the oil leakage detection time;

[0432] S140: If the judgment result is yes, the voltage at the airflow end is sampled to obtain a first sampling voltage, and the first sampling voltage is compared with a first reference voltage and comparison result information is output, and the comparison result information is received and it is determined whether the electronic cigarette is in an oil leakage state according to the comparison result information.

[0433] S150: If the judgment result is no, the voltage at the airflow end is not sampled, and / or the first sampled voltage is not compared with the first reference voltage, and / or the comparison result information is not output, and / or the comparison result information is not received.

[0434] In this embodiment, referring to FIG. 7 , the step of determining whether the electronic cigarette is in an oil leakage state according to the comparison result information specifically includes:

[0435] S141: performing a third timing on a duration of the first comparison result information, wherein the first comparison result information indicates that the first sampling voltage is less than the first reference voltage;

[0436] S142: Determine whether the third timing is greater than or equal to the third duration;

[0437] S143: If the judgment result is yes, it is determined that the electronic cigarette is in a state of oil leakage;

[0438] S144: If the judgment result is no, it is determined that the electronic cigarette is not in an oil leakage state.

[0439] In addition, in other embodiments of the present application, the first reference voltage includes a first sub-reference voltage and a second sub-reference voltage, wherein the first sub-reference voltage is less than the second sub-reference voltage; and the step of comparing the first sampled voltage with the first reference voltage and outputting comparison result information specifically includes:

[0440] determining whether the first sampling voltage is less than a second sub-reference voltage;

[0441] If the judgment result is yes, determining whether the first sampling voltage is less than the first sub-reference voltage;

[0442] If the judgment result is yes, the first sub-comparison result information is output;

[0443] If the judgment result is no, outputting second sub-comparison result information, wherein the second sub-comparison result information is different from the first sub-comparison result information, and the second sub-comparison result information and the first sub-comparison result information are used to represent different levels of liquid leakage of the electronic cigarette;

[0444] If the judgment result is no, the second comparison result information is output, wherein the second comparison result information indicates that the electronic cigarette is not in an oil leakage state.

[0445] In this embodiment, the oil leakage detection method further includes: controlling the charge and discharge switch to remain disconnected during the time period for detecting whether the electronic cigarette is in an oil leakage state, wherein a first end of the charge and discharge switch is connected to the airflow end, and a second end of the charge and discharge switch is connected to the power ground end.

[0446] In this embodiment, the oil leakage detection method further includes: detecting whether the electronic cigarette is in a puffing state through the airflow end of the oil leakage detection circuit during a puffing detection time period, wherein the time period for detecting whether the electronic cigarette is in an oil leakage state is the oil leakage detection time period, and the oil leakage detection time period is different from the puffing detection time period.

[0447] In this embodiment, referring to FIG8 , the step of detecting whether the electronic cigarette is in the puffing state through the airflow end of the oil leakage detection circuit during the puffing detection period specifically includes:

[0448] S210: charging the capacitive airflow sensor Cs through the airflow terminal SW during the puff detection period;

[0449] S220: sampling the voltage of the airflow terminal SW in real time to obtain a second sampled voltage;

[0450] S230: Determine whether the second sampling voltage is greater than or equal to a second preset reference voltage;

[0451] S240: If the judgment result is yes, then cumulative counting is performed to obtain the current count value, and the charge-discharge switch Kc is controlled to be turned on for discharge;

[0452] S250: If the judgment result is no, the charge and discharge switch Kc is controlled to be disconnected to continue charging;

[0453] S260: After a puff detection period, determining whether current counting information is within a preset counting range, wherein the current counting information is obtained based on the current counting value;

[0454] S270: If the judgment result is yes, output information indicating that the electronic cigarette is in the smoking state;

[0455] S280: If the judgment result is no, output the information that the electronic cigarette is in a non-smoking state.

[0456] Among them, after the puff detection time period begins, the capacitive airflow sensor is charged through the airflow end, and it is determined in real time whether the second sampling voltage is greater than or equal to the second preset reference voltage. If the judgment result is yes, cumulative counting is performed to obtain the current count value, and the charge and discharge switch is controlled to be turned on for discharge. Since the two ends of the airflow sensor are short-circuited when the charge and discharge switch is turned on, the voltage at the airflow end will be instantly reduced to 0. Thereafter, the second sampling voltage will be less than or equal to the second preset reference voltage, and the charge and discharge switch will be turned off, and a new round of charging will be performed. The airflow sensor is repeatedly charged and discharged until the puff detection time period is over. The puff judgment unit determines whether the current counting information is within the preset counting range. If the judgment result is yes, the puff judgment unit outputs information that the electronic cigarette is in the puff state; if the judgment result is no, the puff judgment unit outputs information that the electronic cigarette is in the non-puff state, and the non-puff state includes the non-inhalation and blowing state and the blowing state.

[0457] The present application also provides an electronic cigarette oil leakage detection method, comprising:

[0458] During the puff detection period, the airflow end of the oil leakage detection circuit is used to detect whether the electronic cigarette is in the puff state, wherein the oil leakage detection circuit includes a power supply end, a power ground end, an airflow end, and an atomization end, wherein the power supply end and the power ground end are respectively connected to the positive and negative poles of the battery, the airflow end is used to be connected to one electrode of the capacitive airflow sensor, the power ground end is also used to be connected to the other electrode of the capacitive airflow sensor, and the atomization end is used to be connected to the heating element;

[0459] During the oil leakage detection period, the airflow end is used to detect whether the electronic cigarette is in an oil leakage state;

[0460] The oil leakage detection circuit performs oil leakage detection and suction detection with a first time period as a cycle, wherein the first time period includes a suction detection time period and an oil leakage detection time period.

[0461] The present application also provides an electronic cigarette oil leakage detection method, comprising:

[0462] Receive information that the electronic cigarette is in the smoking state;

[0463] Trigger a detection to see if the e-cigarette is in a liquid leakage state.

[0464] Corresponding to the electronic cigarette oil leakage detection method of the above embodiment, FIG9 shows a module diagram of the oil leakage detection circuit 600 provided in the embodiment of the present application. For the sake of ease of explanation, only the parts related to the embodiment of the present application are shown.

[0465] Figure 9 is a schematic diagram of an oil leak detection circuit 600 provided in one embodiment of the present application. As shown in Figure 9 , the oil leak detection circuit 600 of this embodiment includes: at least one processor 620 (only one is shown in Figure 9 ), a memory 610, and a computer program stored in the memory 610 and executable on the processor 620. When the processor 620 executes the computer program, the steps of the above-described oil leak detection method embodiment are implemented. Those skilled in the art will understand that Figure 9 is merely an example of the oil leak detection circuit 600 and does not constitute a limitation of the oil leak detection circuit 600. The oil leak detection circuit 600 may include more or fewer components than shown, or may combine certain components, or may include different components. For example, it may also include input / output devices, network access devices, etc. The processor 620 may be a central processing unit (CPU), other general-purpose processors 620, digital signal processors 620 (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor 620 may be a microprocessor 620 or any conventional processor 620.

[0466] In some embodiments, the memory 610 may be an internal storage unit of the oil leak detection circuit 600, such as a hard disk or memory of the oil leak detection circuit 600. In other embodiments, the memory 610 may also be an external storage device of the oil leak detection circuit 600, such as a plug-in hard disk equipped on the oil leak detection circuit 600, a smart media card (SMC), a secure digital (SD) card, a flash memory card, etc. Furthermore, the memory 610 may include both the internal storage unit of the oil leak detection circuit 600 and an external storage device. The memory 610 is used to store an operating system, application programs, a boot loader, data, and other programs, such as the program code of the computer program. The memory 610 may also be used to temporarily store data that has been output or is about to be output.

[0467] The embodiment of the present application further provides a storage medium storing a computer program. When the computer program is executed by the processor 620, the steps in the above-mentioned oil leakage detection method embodiment can be implemented.

[0468] An embodiment of the present application provides a computer program product. When the computer program product is run on a terminal, the terminal can implement the steps in the above-mentioned oil leakage detection method embodiment when executing the computer program product.

[0469] 3-5 , the present embodiment further provides an airflow sensor assembly 200 , including:

[0470] Capacitive airflow sensor 210;

[0471] The above-mentioned oil leakage detection circuit 300 is connected to the capacitor airflow sensor 210 .

[0472] The present application also provides an electronic cigarette, comprising:

[0473] The aforementioned air flow sensor assembly 200 or the aforementioned oil leakage detection circuit 300;

[0474] The battery 110 and the heating element 120 are both connected to the oil leakage detection circuit 300 .

[0475] Fourth embodiment

[0476] A fourth embodiment of the present application provides an electronic cigarette, as shown in Figures 1a to 3 and 10 . The electronic cigarette includes a battery 110, a heating element 120, an airflow sensor assembly 200, and the like. The battery 110 and the heating element 120 are respectively connected to the airflow sensor assembly 200. The heating element 120 may be, for example, a heating wire, a heating filament, a ceramic holder containing a heating wire or a heating filament, or other conventional heating elements 120. The battery 110 may be, for example, a rechargeable battery or a non-rechargeable battery. Rechargeable batteries may be, for example, lithium-ion batteries, nickel-cadmium batteries, nickel-metal hydride batteries, lithium polymer batteries, lead-acid batteries, and the like. The operating voltage range of the battery 110 is generally less than 5V and greater than 2V, for example, 3.2V-4.2V, 3.2V-4.45V, 2.6V-4.2V, and the like.

[0477] In this embodiment, the airflow sensor assembly 200 includes a capacitive airflow sensor Cs and an oil leakage detection circuit 300, wherein the capacitive airflow sensor Cs includes a capacitive MEMS sensor, a capacitive microphone, etc. In this application, the capacitive airflow sensor Cs is essentially a capacitor that can change with the airflow, and the oil leakage detection circuit 300 includes a power supply terminal BAT, a power ground terminal GND, an airflow terminal SW, and an atomization terminal AT, wherein the power supply terminal BAT is connected to the positive pole of the battery 110, the power ground terminal GND is connected to the negative pole of the battery 110, the power ground terminal GND is used for electrical grounding, the airflow terminal SW is connected to one electrode of the capacitive airflow sensor Cs, and the other electrode of the capacitive airflow sensor Cs is connected to the power ground terminal GND, the atomization terminal AT is connected to one end of the heating element 120, and the other end of the heating element 120 is connected to the power ground terminal GND or the power supply terminal BAT.

[0478] In this embodiment, the electronic cigarette includes a cigarette holder and a cigarette cartridge. The cigarette cartridge is provided with a heating element 120, which also stores tobacco oil. The cigarette holder is provided with a capacitive airflow sensor Cs, a battery 110, and an oil leakage detection circuit 300. The electronic cigarette of this application can be a rechargeable electronic cigarette or a disposable electronic cigarette.

[0479] Referring to Figures 3 and 10 , in this embodiment, the oil leakage detection circuit 300 includes a power switch M and an oil leakage detection control module. The oil leakage detection control module is used to detect whether the electronic cigarette is leaking oil via the airflow terminal SW during the oil leakage detection period. The oil leakage detection control module includes an oil leakage control unit 310. One end of the power switch M is connected to the power supply terminal BAT or the power ground terminal GND, and the other end of the power switch M is connected to the atomization terminal AT in series with the heating element 120. The control end of the power switch M is connected to the oil leakage control unit 310. The oil leakage control unit 310 controls the power switch M by obtaining the state of the electronic cigarette. In this embodiment, the power switch M is a PMOS transistor, one end of which is connected to the power supply terminal BAT. In other embodiments of the present application, the power switch M can also be an NMOS transistor, one end of which is connected to the power ground terminal GND. In this embodiment, the oil leakage detection circuit 300 is located on the same chip, which is generally called an electronic cigarette dedicated chip. In this case, the power supply terminal BAT is the power supply pin, the power ground terminal GND is the power ground pin, the airflow terminal SW is the airflow pin, and the atomization terminal AT is the atomization pin. In addition, in other embodiments of the present application, the oil leakage detection circuit 300 can also be located on the same chip as the circuit except for the power switch M, and the power switch M is located on another chip. The two chips can be packaged together or not. In addition, in this embodiment, the oil leakage detection circuit 300 also includes an indicator terminal LED / pin LED and a charging terminal CHG / pin CHG, wherein the indicator terminal LED is used for an external indicator light, the indicator light is used to indicate the status of the electronic cigarette, and the charging terminal CHG is used to connect to the USB input interface for charging the battery 110.

[0480] In this embodiment, please continue to refer to Figures 3 and 10. The oil leakage detection control module also includes a first current source 321 and an oil leakage detection unit 530. The first current source 321 constantly outputs a first current, and the first current is, for example, 100nA, 200nA, 300nA, 400nA, 500nA, etc. The first end of the first current source 321 is connected to the power supply terminal BAT, and the second end of the first current source 321 is connected to the airflow terminal SW. Thus, the first current source 321 can charge the capacitive airflow sensor Cs through the airflow terminal SW; the oil leakage detection Unit 530 is used to detect whether the electronic cigarette is leaking oil through the airflow terminal SW during the oil leakage detection period. The oil leakage detection unit 530 is connected to the airflow terminal SW and is used to collect the voltage of the airflow terminal SW to obtain a first sampled voltage. The first sampled voltage can be equal to the voltage of the airflow terminal SW (for example, the oil leakage detection unit 530 is directly connected to the airflow terminal SW, which is used as an example in this embodiment), or it can be sampled through a resistor voltage divider or other method. In this case, the first sampled voltage is k times the voltage of the airflow terminal SW, where k is a positive number less than 1. The first current source 321 charges the capacitive airflow sensor Cs through the airflow terminal SW during the oil leakage detection period. After charging for the oil leakage detection period, the oil leakage detection unit 530 collects the voltage of the airflow terminal SW to obtain a first sampled voltage. The oil leakage detection unit 530 calculates the first sampled voltage and first current information to obtain first sampled resistance information, and then makes a judgment on the first sampled resistance information. The first current information is used to characterize the charging current output by the first current source 321, that is, to characterize the first current. The first current information can be a current, such as the first current, or a voltage. In this case, the voltage is used to characterize the current. For example, a voltage can be obtained by flowing the first current through a resistor of a known resistance. The oil leakage detection time period includes the oil leakage detection duration. The oil leakage detection duration is less than or equal to the duration of the oil leakage detection time period. The oil leakage detection duration is generally greater than or equal to 300 μs, preferably greater than or equal to 1 ms, such as 300 μs, 500 μs, 600 μs, 700 μs, 800 μs, 900 μs, 1 ms, 2 ms, 3 ms, 4 ms, 5 ms, 6 ms, 7 ms, 8 ms, 9 ms, 10 ms, 12 ms, 15 ms, 20 ms, 25 ms, 30 ms, etc. The oil leakage detection duration is generally less than 200 ms.

[0481] In this embodiment, when there is no smoke oil connecting the two electrodes of the capacitive airflow sensor Cs, and there is no condensed smoke oil connecting the airflow end SW and the power ground terminal GND (or other ground connection point), there is a capacitor (airflow sensor Cs) between the airflow end SW and the power ground terminal GND, and there is no leakage resistor RL connected in parallel with the capacitor. After the airflow sensor Cs is charged for the leakage detection period, the voltage of the airflow end SW will be charged to a voltage close to the power supply terminal BAT or equal to the voltage of the power supply terminal BAT. The first sampling voltage can be obtained by sampling, and the first current is known, that is, the first current information is known, so the first sampling voltage and the first current information are calculated. The first sampling resistance information can be calculated based on the information. The first sampling resistance information will be relatively large. In this embodiment, the first sampling resistance information is used to represent the resistance between the airflow terminal SW and the power ground terminal GND. Since the oil leakage detection time is very long, the capacitor almost presents a DC characteristic. When the capacitor is in a disconnected state, its equivalent resistance is very large, generally greater than or equal to 20MΩ, for example, 20MΩ, 30MΩ, 50MΩ, 70MΩ, 100MΩ, 200MΩ or more. The first sampling resistance information can be a resistance or a voltage representing the resistance value (for example, in this case, the first current is also represented by a voltage, and the resistance information is the ratio of the first sampling voltage to the voltage representing the first current). When the electronic cigarette leaks oil and causes the existence of oil connecting the two electrodes of the capacitive airflow sensor Cs, or when there is condensed oil connecting the airflow terminal SW and the power ground terminal GND, there is a capacitor between the airflow terminal SW and the power ground terminal GND, and there is also an oil leakage resistor RL connected in parallel with the capacitor (please refer to Figure 1c, Figure 1e, and Figure 2). Generally, the resistance of the oil leakage resistor RL is less than 10 megohms, such as 8MΩ, 5MΩ, 4MΩ, 2MΩ, 1MΩ, 800kΩ, 500kΩ, 300kΩ, etc. Since the equivalent resistance of the capacitor is much larger than the resistance of the oil leakage resistor RL, the resistance of the parallel resistor is less than or close to the resistance of the oil leakage resistor RL. After the oil leakage detection, During the measurement time, the parallel resistance can be detected more conveniently. The intuitive manifestation of the presence of the leakage resistance RL is: when charging passes the leakage detection time, technical personnel in this field know: since the first current is known, the voltage of the airflow terminal SW is controlled by the leakage resistance RL, and the voltage on the airflow terminal SW is the voltage on the leakage resistance RL, which is generally less than the product of the resistance of the leakage resistance RL and the first current. The product will be relatively small, generally less than 2.8V. At this time, the first sampling voltage can be obtained by sampling the voltage of the airflow terminal SW, and the first current information is known, so that the first sampling resistance information between the airflow terminal SW and the power ground terminal GND can be obtained through calculation, and the first sampling resistance information will be relatively small.Obviously, the first sampled resistance information when there is oil leakage is much smaller than the first sampled resistance information when there is no oil leakage. By preselecting appropriate first reference resistance information and comparing the first sampled resistance information obtained by detection calculation with the first reference resistance information, it is possible to determine whether the electronic cigarette is in an oil leakage state based on the comparison result information. For example, assuming that the first sampled resistance information is resistance, the first reference resistance information corresponds to resistance, and the first reference resistance information is, for example, 15MΩ. Preferably, the first sampled resistance information is voltage, and the first reference resistance information corresponds to voltage. In addition, in other embodiments of the present application, the first sampled resistance information can be obtained without waiting for the oil leakage detection period, and can also be quickly collected during the oil leakage detection period through other conventional technologies in the field. For example, the voltage and current of the airflow end SW can be directly sampled at a certain moment, and the first sampled resistance information can be obtained through calculation.

[0482] Therefore, when there is oil leakage, that is, when it is in an oil leakage state, due to the existence of the oil leakage resistor RL, the first sampling resistance information will be less than the first reference resistance information. When there is no oil leakage, the first sampling resistance information will be greater than or equal to the first reference resistance information. Therefore, by comparing the obtained first sampling resistance information with the preset first reference resistance information, the oil leakage control unit 310 can determine whether there is smoke oil between the two electrodes of the capacitor that connects the two electrodes, or whether there is smoke oil that connects the airflow end SW to the ground end based on the comparison result information. When the oil leakage control unit 310 determines that there is oil leakage in the electronic cigarette, the oil leakage control unit 310 can control the power switch M to remain disconnected, or can perform other processing.

[0483] The oil leakage detection circuit 300 of the present application includes an oil leakage detection unit 530 and an oil leakage control unit 310. The oil leakage detection unit 530 is connected to the airflow terminal SW. The oil leakage detection unit 530 obtains first sampling resistance information through the airflow terminal SW, wherein the first sampling resistance information is used to represent the resistance between the airflow terminal SW and the power ground terminal GND. The oil leakage detection unit 530 compares the first sampling resistance information with the first reference resistance information and outputs comparison result information. The oil leakage control unit 310 determines whether the electronic cigarette is leaking based on the comparison result information. The oil leakage detection method of the present application is simple, takes very little detection time, and is almost imperceptible to the user, which does not affect the user experience. It can also fully utilize the existing airflow terminal SW and cooperate with the existing capacitive airflow sensor Cs to determine whether the electronic cigarette is leaking. The airflow terminal SW has multiple functions and can be time-shared multiplexed. The oil leakage detection circuit 300 does not require additional terminals or pins, which helps reduce costs. Furthermore, the present application can determine whether the electronic cigarette has oil leakage through the oil leakage detection circuit 300, and will not mistakenly judge the electronic cigarette leakage as the electronic cigarette smoking state for a long time, thereby lowering the probability of triggering the heating element 120 to malfunction for a long time, and is less likely to cause safety accidents.

[0484] To obtain the first sampled resistance information and compare it with the first reference resistance information, in this embodiment, the oil leakage detection unit 530 includes a divider 531 and a first resistance comparator 532. The first input of the divider 531 is connected to the first sampled voltage, and the second input of the divider 531 is connected to first current information representing the first current. The first current information is preferably used to represent voltage, but can also be used as a current. The output of the divider 531 outputs the first sampled resistance information. The first input of the first resistance comparator 532 is connected to the first sampled resistance information, and the second input of the first resistance comparator 532 is connected to first reference resistance information RefR1. The first reference resistance information is preset. The output of the first resistance comparator 532 is connected to the oil leakage control unit 310. In this embodiment, the first resistance comparator 532 is a voltage comparator, with its first input being the same-direction terminal and its second input being the opposite-direction terminal. In other embodiments of the present application, the first input can also be the opposite-direction terminal, and the second input can be the same-direction terminal. In this embodiment, after charging for the leakage detection time period, the first resistance comparator 532 outputs comparison result information. When the first sampling resistance information is greater than or equal to the first reference resistance information, the first resistance comparator 532 outputs second comparison result information. The second comparison result information is, for example, a high level, which indicates that the electronic cigarette is not leaking. When the first sampling resistance information is less than the first reference resistance information, the first resistance comparator 532 outputs first comparison result information. The first comparison result information is, for example, a low level, which indicates that the electronic cigarette is leaking. Therefore, the leakage control unit 310 can determine whether there is leakage through the comparison result information output by the first resistance comparator 532.

[0485] In order to control the comparison timing between the first sampling resistance information and the first reference resistance information, please continue to refer to Figure 10. In this embodiment, the oil leakage control unit 310 also includes a first timing subunit 312 and a logic control subunit 311. The first timing subunit 312 is connected to the logic control subunit 311, and the logic control subunit 311 is connected to the oil leakage detection unit 530 and the control end of the power switch M. When the logic control subunit 311 controls the oil leakage detection time period, the first timing subunit 312 starts timing and controls the first current source 321 to charge the capacitive airflow sensor Cs through the airflow terminal SW. In the initial stage, the first sampling voltage will be relatively small, and the corresponding first sampling resistance information will also be relatively small. The oil leakage detection unit 530 outputs the comparison result information to the logic control subunit 311 in real time, and the logic control subunit 311 does not receive the comparison result information. When the first timing subunit 312 reaches the oil leakage detection time period, the first timing subunit 312 outputs a first timing signal to the logic control subunit 311. The logic control subunit 311 is triggered to receive the comparison result information output by the oil leakage detection unit 530 during the oil leakage detection time period at this time or thereafter, and determines whether the electronic cigarette is in an oil leakage state based on the comparison result information. When in an oil leakage state, the logic control subunit 311 controls the power switch M to remain off. In addition, in other embodiments of the present application, the first timing subunit 312 is also connected to the oil leakage detection unit 530. When the logic control subunit 311 controls the oil leakage detection time period, the first timing subunit 312 starts timing and controls the first current source 321 to charge the capacitive airflow sensor Cs through the airflow terminal SW. Before the timing reaches the oil leakage detection time period, the divider 531 does not calculate the information of the two input terminals, or although it calculates, it does not output the calculation result information, or the first resistance comparator 532 does not compare the information of the two input terminals, or although it compares, it does not output the comparison result. When the first timing subunit 312 reaches the oil leakage detection duration, the first timing subunit 312 outputs a first timing signal to the oil leakage detection unit 530. The oil leakage detection unit 530, for example, performs a calculation using the divider 531 and outputs the calculation result. The first resistance comparator 532 compares the information at the two output terminals and outputs the comparison result information to the logic control subunit 311. For example, the divider 531 and / or the first resistance comparator 532 do not operate before receiving the first timing signal from the first timing subunit 312, and only operate after receiving the first timing signal from the first timing subunit 312. In other embodiments of the present application, the airflow terminal SW may also be connected to the divider 531 via a sampling unit, which is connected to the first timing subunit 312. The sampling unit does not operate before receiving the first timing signal from the first timing subunit 312, and only operates after receiving the first timing signal from the first timing subunit 312.In this embodiment, if the first timing subunit 312 has not yet reached the oil leak detection time period, the first timing subunit 312 outputs a second timing signal that is different from the first timing signal. After the first timing subunit 312 outputs the first timing signal, the first timing subunit 312 resets to zero, or resets to zero when the oil leak detection time period ends.

[0486] In this embodiment, in order to obtain the duration of the oil leakage detection time period, the oil leakage control unit 310 also includes a second timing subunit 313, which times the oil leakage detection time period. The second timing subunit 313 is connected to the logic control subunit 311. When the logic control subunit 311 controls the entry into the oil leakage detection time period, the second timing subunit 313 starts timing. The first timing subunit 312 can start timing synchronously with the second timing subunit 313, or start timing later. When the second timing subunit 313 times the duration corresponding to the oil leakage detection time period, the second timing subunit 313 sends a third timing signal to the logic control subunit 311, and the oil leakage detection time period ends.

[0487] In order to prevent the misjudgment of electronic cigarette oil leakage caused by signal disturbance, please continue to refer to Figure 10. In this embodiment, the oil leakage control unit 310 also includes a third timing subunit 314. The input end of the third timing subunit 314 is connected to the output end of the first resistance comparator 532 of the oil leakage detection unit 530, and the output end of the third timing subunit 314 is connected to the logic control subunit 311. The third timing subunit 314 is also connected to the first timing subunit 312. When the third timing subunit 314 receives the first timing signal, the third timing subunit 314 is used to time the duration of the first comparison result information output by the first resistance comparator 532. When the timing of the third timing subunit 314 is greater than or equal to the third time length, the third timing subunit 314 outputs an oil leakage confirmation signal to the logic control subunit 311. When the third timing subunit 314 receives the first timing signal, when When the third timing subunit 314 receives the second comparison result information, it resets to zero (starts timing) or stops timing (does not start timing). Specifically, when the first resistance comparator 532 outputs the second comparison result information, the third timing subunit 314 stops timing. When the first resistance comparator 532 outputs the first comparison result information and the third timing subunit 314 receives the first timing signal, the third timing subunit 314 starts timing. When the third timing subunit 314 reaches the third duration, the third timing subunit 314 outputs an oil leak confirmation signal to the logic control subunit 311 and simultaneously resets to zero. When the third timing subunit 314 has started timing but has not reached the third duration, the third timing subunit 314 receives the second comparison result information and resets to zero. In this embodiment, the duration of the oil leak detection period is greater than the oil leak detection duration, and the duration of the oil leak detection period is greater than or equal to the sum of the oil leak detection duration and the third duration. In addition, in other embodiments of the present application, the oil leakage control unit 310 may not include the third timing subunit 314 .

[0488] Generally speaking, electronic cigarettes are classified into two states based on whether they are being puffed on: a puffing state and a non-puffing state. The non-puffing state includes a blowing state and a non-puffing state. The puffing state corresponds to the state when the user is puffing on the electronic cigarette, the blowing state corresponds to the state when the user is blowing into the electronic cigarette, and the non-puffing state corresponds to the state when the electronic cigarette is neither puffed on nor blown into. Electronic cigarettes perform different actions in different states. To detect whether the electronic cigarette is in the puffing state, in this embodiment, the oil leakage detection circuit 300 further includes a puffing detection module 400. The puffing detection module 400 is used to detect whether the electronic cigarette is in the puffing state via the airflow terminal SW during the puff detection period.

[0489] Specifically, the input end of the puff detection module 400 is connected to the airflow terminal SW. The puff detection module 400 samples the voltage of the airflow terminal SW to obtain a second sampled voltage. The second sampled voltage can be equal to or less than the voltage of the airflow terminal SW. The second sampled voltage and the first sampled voltage can be obtained by sampling through the same sampling unit. In this case, the first and second sampled voltages are distinguished by different time periods, for example, by sampling through the same set of bipolar resistors. Of course, they can also be obtained by sampling through different sampling units. The output end of the puff detection module 400 is connected to the oil leakage control unit 310, specifically to the logic control subunit 311. The puff detection module 400 is used to determine whether the electronic cigarette is in the puff state based on the capacitance or capacitance change of the airflow sensor Cs through the airflow terminal SW. In other words, the airflow terminal SW has at least two functions: detecting the puff state and detecting the oil leakage state.

[0490] In this embodiment, the puff detection module 400 includes a second voltage comparison unit 410 and a puff determination unit 420, and the oil leakage detection circuit 300 includes a charge-discharge switch Kc. The first input of the second voltage comparison unit 410 is connected to the second sampling voltage, the second input of the second voltage comparison unit 410 is connected to the second reference voltage, the output of the second voltage comparison unit 410 is connected to the puff determination unit 420, and the output of the puff determination unit 420 is connected to the oil leakage control unit 310. The first end of the charge-discharge switch Kc is connected to the airflow terminal SW, and the second end of the charge-discharge switch Kc is connected to the power ground terminal GND, that is, the charge-discharge switch Kc is connected in parallel with the airflow sensor Cs. The control end of the charge-discharge switch Kc is connected to the output of the second voltage comparison unit 410. In this embodiment, the first input of the second voltage comparison unit 410 is the positive-inverting terminal, and the second input is the negative-inverting terminal. In other embodiments of the present application, the positive-inverting and negative-inverting terminals can be reversed. In this embodiment, the second reference voltage range is greater than or equal to 500mV and less than 1.5V, for example, 500mV, 600mV, 700mV, 800mV, 900mV, 1V, 1.1V, 1.2V, 1.3V, 1.4V, etc. This embodiment is described using 1V as an example. For another example, the second reference voltage is less than 1 / 2 times the voltage of the power supply terminal BAT, and the second reference voltage is less than the first reference resistance information. The charge and discharge switch Kc is, for example, an NMOS transistor, but the present application is not limited thereto. In other embodiments of the present application, the charge and discharge switch Kc can also be a PMOS transistor or other conventional switch unit.

[0491] In this embodiment, the oil leakage detection circuit 300 also includes a second current source 322, which constantly outputs a second current. The second current can be the same as the first current (in this embodiment, the same is used as an example for explanation), or it can be different. The second current is, for example, 100nA, 200nA, 300nA, 400nA, 500nA, etc. The first end of the second current source 322 is connected to the power supply terminal BAT, and the second end of the second current source 322 is connected to the airflow terminal SW. Thus, the second current source 322 can charge the capacitive airflow sensor Cs through the airflow terminal SW. In this embodiment, during the puff detection period, the second current source 322 charges the airflow sensor Cs. Initially, the second sampled voltage is less than the second reference voltage, and the output terminal of the second voltage comparison unit 410 outputs a first switching signal, for example, a low level, and the charge-discharge switch Kc remains off. When the second sampled voltage is charged to or greater than the second reference voltage (this period is the charging period), the second sampled voltage is equal to or greater than the second reference voltage, and the output signal of the second voltage comparison unit 410 changes to output a second switching signal, for example, a high level. The second switching signal controls the charge-discharge switch Kc to conduct, short-circuiting the two ends of the airflow sensor Cs through the charge-discharge switch Kc, causing the sensor to be instantly discharged to 0V or near 0V (this period is the discharging period). After discharge, the second sampled voltage is again less than the second reference voltage, and the output signal of the second voltage comparison unit 410 changes back to the first switching signal. Thereafter, the charge-discharge switch Kc remains off, completing a charge-discharge cycle. That is, the charge-discharge cycle includes a charging period and a discharging period. The aforementioned charge-discharge cycle is then repeated, and the airflow sensor Cs repeats the charging and discharging process. When an electronic cigarette is in different states, its charge and discharge cycles will vary, typically within 10%. This difference can be used to determine whether the electronic cigarette is in the puffing state. In this embodiment, the puff determination unit 420 counts the number of charge and discharge cycles. The count value obtained after the puff detection period is the current count value. Current count information can be calculated based on the current count value. In this embodiment, the current count information is the current count value. The puff determination unit 420 further determines whether the current count information is within a preset count range to determine whether the electronic cigarette is in the puffing state. The count range is, for example, less than or equal to 97% of a baseline count value and greater than or equal to 50% of a baseline count value. The baseline count value is preset or obtained by counting during the puff detection period in the non-puffing state, for example, the baseline count value is 1000. In other embodiments of the present application, the current count information is the difference between the current count value and the baseline count value. In this case, the count range is a difference range, for example, a difference range greater than or equal to 30. In other embodiments of the present application, the current counting information is the ratio of the difference value to the reference counting value. In this case, the counting range is the ratio range, for example, greater than or equal to 3%.Whether an electronic cigarette is in a puffing state, a blowing state, or a non-puffing state is common knowledge in the art and will not be further described here. In this embodiment, when the electronic cigarette is in a non-puffing state, a charge and discharge cycle is less than 50 μs, preferably less than 30 μs, and the puff detection period is, for example, 30 ms.

[0492] In this embodiment, the oil leakage control unit 310 includes a fourth timing subunit 315, which is connected to the logic control subunit 311. When the logic control subunit 311 controls the entry into the suction detection time period, the fourth timing subunit 315 starts timing. When the fourth timing subunit 315 times the duration corresponding to the suction detection time period, the fourth timing subunit 315 sends a signal to the logic control subunit 311, and the suction detection time period ends.

[0493] In this embodiment, the oil leakage detection duration is much longer than the charge and discharge cycle of the suction detection period, generally greater than or equal to 10 times the charge and discharge cycle, for example, 10 times the charge and discharge cycle (calculated based on the charge and discharge cycle in the non-suction and blowing state), 15 times the charge and discharge cycle, 20 times the charge and discharge cycle, 30 times the charge and discharge cycle, etc. This embodiment uses 10 times the charge and discharge cycle as an example for illustration. Thus, when there is no oil leakage, during the oil leakage detection period, the first current source 321 charges the capacitive airflow sensor Cs, and the voltage of the airflow terminal SW quickly reaches the voltage of the power supply terminal BAT (at most, it can only charge to the voltage of the power supply terminal BAT, not to 10*1V, which is much greater than the voltage of the battery 110). The first sampling voltage is larger, and the first sampling resistance information is greater than the first reference resistance information. When there is oil leakage, during the oil leakage detection period, the first current source 321 charges the capacitive airflow sensor Cs, and due to the presence of the oil leakage resistor RL, the first sampling resistance information is always less than the first reference resistance information. In addition, in other embodiments of the present application, the oil leakage detection duration may be close to the charge and discharge cycle. In this case, the output current of the first current source 321 is greater than or equal to 10 times the output current of the second current source 322 .

[0494] In this embodiment, during the oil leak detection period, after charging for the oil leak detection period, the second sampling voltage will be greater than the second reference voltage. To prevent the signal of the second voltage comparison unit 410 from flipping, causing the charge-discharge switch Kc to turn on when the airflow sensor Cs is charged to a voltage greater than or equal to the second reference voltage during the oil leak detection period, thereby causing the oil leak control unit 310 to misjudge, in this embodiment, the charge-discharge switch Kc remains off during the oil leak detection period. Preferably, the charge-discharge switch Kc remains off during the oil leak detection period. This configuration ensures that the charge-discharge switch Kc does not affect oil leak detection during the oil leak detection period, nor does it cause misjudgement.

[0495] To ensure that the charge-discharge switch Kc remains off during the oil leakage detection period, in this embodiment, the oil leakage detection circuit 300 further includes a first switch unit K1 and a second switch unit K2. A first end of the first switch unit K1 is connected to the power supply terminal BAT, a second end of the first switch unit K1 is connected to the power supply terminals of the first current source 321, the divider 531, and / or the first resistance comparator 532, and a control end of the first switch unit K1 is connected to the oil leakage control unit 310. A first end of the second switch unit K2 is connected to the power supply terminal BAT, a second end of the second switch unit K2 is connected to the power supply terminals of the second current source 322 and the second voltage comparison unit 410, and a control end of the second switch unit K2 is connected to the oil leakage control unit 310. In this embodiment, the oil leakage control unit 310 controls the conduction or disconnection of the first and second switch units K1 and K2. In this embodiment, the first and second switch units K1 and K2 are not turned on at the same time. In addition, in other embodiments of the present application, the second end of the first switch unit K1 may not be connected to the power supply end of the divider 531 and / or the first resistance comparator 532 .

[0496] In this embodiment, when the puff detection time period begins, the oil leakage control unit 310 controls the second switch unit K2 to be turned on, and controls the first switch unit K1 to be turned off. At this time, the second voltage comparison unit 410 is working, and the second current source 322 charges the airflow sensor Cs. After the airflow end SW is charged to the second reference voltage, the charge-discharge switch Kc is turned on for discharge, and then charging and discharging are repeated, ...; when the oil leakage detection time period begins, the oil leakage control unit 310 controls the second switch unit K2 to be turned off, and the first switch unit K1 to be turned on. At this time, the first current source 321 is working to detect whether the electronic cigarette is leaking oil, and the second current source 322 and the second voltage comparison unit 410 both stop working. The second voltage comparison unit 410 outputs a low level, so that the charge-discharge switch Kc remains turned off. Therefore, even if the airflow sensor Cs is charged to a voltage greater than the second reference voltage during this time period, it will not be discharged through the charge-discharge switch Kc. In addition, in other embodiments of the present application, when the stop detection time period mentioned later begins, the oil leakage control unit 310 controls the first switch unit K1 and the second switch unit K2 to stop operating, and the charge-discharge switch Kc remains disconnected. In this embodiment, to save power, the power supply terminal of the divider 531 and the power supply terminal of the first resistance comparator 532 are connected to the second end of the first switch unit K1. Therefore, when the first switch unit K1 is disconnected and cut off, the first current source 321, the divider 531, and the first resistance comparator 532 all stop operating. In this embodiment, the first switch unit K1 and the second switch unit K2 are both PMOS transistors, but the present application is not limited to this. In other embodiments of the present application, the first switch unit K1 and the second switch unit K2 can also be NMOS transistors or other switch units.

[0497] In addition, in other embodiments of the present application, the oil leakage detection circuit 300 may not include the first switch unit K1. In addition, in other embodiments of the present application, the second end of the second switch unit K2 may not be connected to the second current source 322. In this case, the second switch unit K2 is disconnected, the second voltage comparison unit 410 does not operate, and the charge-discharge switch Kc unit is disconnected.

[0498] In this embodiment, the first reference resistance information is one piece and does not include sub-reference resistance information. However, the present application is not limited thereto. In other embodiments of the present application, the first reference resistance information may also include multiple pieces of sub-reference resistance information, for example, two pieces of sub-reference resistance information, three pieces of sub-reference resistance information, or more pieces of sub-reference resistance information. Here, two pieces of sub-reference resistance information are used as an example for explanation. The two pieces of sub-reference resistance information are first preset sub-reference resistance information and second preset sub-reference resistance information, wherein the first preset sub-reference resistance information is smaller than the second preset sub-reference resistance information. Accordingly, the first comparison result information includes the first sub-comparison result information and the second sub-comparison result information. During the leakage detection period, after the leakage detection time has elapsed, if the first sampled resistance information is greater than the second preset sub-reference resistance information, it indicates that the electronic cigarette has no leakage. If the first sampled resistance information is greater than the first preset sub-reference resistance information and less than the second preset sub-reference resistance information, the first resistance comparator 532 outputs the second sub-comparison result information, indicating that there is some leakage but it is not serious. If the first sampled resistance information is less than the first preset sub-reference resistance information, the first resistance comparator 532 outputs the first sub-comparison result information, indicating that the leakage is serious. Therefore, by comparing the first sampled resistance information with the multiple sub-reference resistance information, it is possible to determine whether the electronic cigarette is leaking and the severity of the leakage, thereby facilitating the processing of electronic cigarettes with different degrees of leakage. For example, when the leakage is not serious, correction can be made by, for example, modifying the reference count value to prevent the leakage state from being mistakenly judged as the puffing state. When the leakage is serious, the leakage control unit 310 can control the power switch M to remain off. Even if the user puffs on the electronic cigarette, the power switch M remains off, thereby reducing the risk of safety accidents.

[0499] To prevent the leakage state from being misidentified as the puff state for a prolonged period before the leakage state is detected, causing the e-cigarette to operate for extended periods and potentially leading to safety issues, in this embodiment, the leakage detection circuit 300 performs leakage and puff state detections over a first duration. The first duration includes a puff detection period and a leakage detection period, and the puff detection period and the leakage detection period do not overlap, i.e., they are distinct. In this embodiment, the puff detection period and the leakage detection period are adjacent, i.e., the end of the puff detection period coincides with the start of the leakage detection period, or vice versa. In other embodiments of the present application, the puff detection period and the leakage detection period may not be adjacent, i.e., other time periods may exist. In this embodiment, the leakage control unit 310 includes a fifth timing subunit 316, which is used to control the first duration. The fifth timing subunit 316 is connected to the logic control subunit 311. In this embodiment, the first timing sub-unit 312, the second timing sub-unit 313, the third timing sub-unit 314, the fourth timing sub-unit 315, and the fifth timing sub-unit 316 can be the same timing unit or different timing units. The first timing sub-unit 312, the second timing sub-unit 313, the third timing sub-unit 314, the fourth timing sub-unit 315, and the fifth timing sub-unit 316 can also be shared by some units. These are common knowledge in this field and will not be repeated here.

[0500] In this embodiment, the first duration includes one puff detection period and one oil leakage detection period. For example, the first duration is 40ms, the puff detection period is 30ms, and the oil leakage detection period is 10ms. Of course, in other embodiments of the present application, the first duration may also include multiple puff detection periods and one oil leakage detection period. This can reduce the response time of the puff detection and shorten the time the user waits for the oil to be atomized.

[0501] In order to reduce power consumption, in other embodiments of the present application, the first duration also includes a stop detection time period. During the stop detection time period, the puffing state and the oil leakage state are not detected, which is conducive to reducing power consumption. During the stop detection time period, the first current source 321, the second current source 322, the oil leakage detection unit 530, and the puff detection module 400 at least partially stop working. In this embodiment, they all stop working. Here, the first duration includes a puff detection time period, a oil leakage detection time period, and a stop detection time period. For example, the first duration is 300ms, the duration of the puff detection time period is 30ms, the duration of the oil leakage detection time period is 10ms, and the remaining duration of 260ms is the stop detection time period. Of course, in other embodiments of the present application, the first duration can also include multiple puff detection time periods, a oil leakage detection time period, and a stop detection time period. This can reduce the response time of the puff detection and reduce the time the user waits for the e-liquid to be atomized.

[0502] Generally speaking, when an electronic cigarette is in a state of leaking oil, it will inevitably be misjudged as being in a puffing state, thereby causing safety issues when the heating element 120 operates. Based on this characteristic, in other embodiments of the present application, the first duration does not include the oil leakage detection period, and the oil leakage detection circuit 300 performs puff detection with the first duration as a cycle, and the first duration includes the puff detection period. Specifically, after the end of the previous first duration period, the electronic cigarette performs a puffing state detection again. When it is judged to be in a non-puffing state, it normally enters the next first duration period; when it is judged to be in a puffing state, the first duration is paused (the fifth timing subunit 316 pauses timing), and the oil leakage period is inserted at this time. The oil leakage state detection is performed during the oil leakage detection period. This setting is conducive to reducing the detection response time of the puffing state, reducing the frequency of oil leakage detection, and improving the user experience. In this embodiment, when the logic control subunit 311 receives a puff signal (a signal output when the electronic cigarette is in the puff state), the logic control subunit 311 controls the oil leakage detection unit 530 to operate, or the puff signal output by the puff determination unit 420 triggers the oil leakage detection unit 530 to operate. When the oil leakage detection unit 530 determines that the electronic cigarette is in a non-leakage state or a leaking state, it normally exits the oil leakage state detection and continues for the next first duration (the fifth timing subunit 316 resumes timing). At the same time, if it is determined to be in the leaking state, the electronic cigarette is processed according to the leaking state, for example, the power switch M remains off.

[0503] Fifth embodiment

[0504] Please refer to Figure 11, which is a circuit module diagram of the airflow sensor assembly 200 of the fifth embodiment of the present application. This embodiment is similar to the fourth embodiment, so the parts not described in this embodiment can refer to the fourth embodiment. The main difference between this embodiment and the fourth embodiment is that the first current source 321 is shared.

[0505] Referring to Figures 3 and 11 , in this embodiment, the airflow sensor Cs is charged via the first current source 321 during both the puff detection period and the oil leak detection period. In this embodiment, the oil leak detection circuit 300 does not include the second current source 322 and the second switch unit K2. In this embodiment, the first duration includes the puff detection period, the oil leak detection period, and the stop detection period. During the puff detection period and the oil leak detection period, the first switch unit K1 is turned on. During the stop detection period, the first switch unit K1 is turned off, and the oil leak detection unit 530 ceases to operate. Furthermore, in other embodiments of the present application, the power supply terminal of the oil leak detection unit 530 may not be connected to the second terminal of the first switch unit K1. During the puff detection period, the oil leak control unit 310 ignores the output of the oil leak detection unit 530, and during the oil leak detection period, the oil leak control unit 310 ignores the output of the puff detection module 400. Furthermore, in other embodiments of the present application, when the first duration does not include the stop detection period, the first switch unit K1 may not be included.

[0506] In order to ensure that the charge and discharge switch Kc remains disconnected during the oil leakage detection period, in this embodiment, the oil leakage detection circuit 300 further includes a switch control unit 540. A first input end of the switch control unit 540 is controlled by the output signal of the second voltage comparison unit 410. For example, the first input end of the switch control unit 540 is connected to the output end of the second voltage comparison unit 410, or the first input end of the switch control unit 540 is connected to the output end of the second voltage comparison unit 410 via the oil leakage control unit 310. A second input end of the switch control unit 540 is connected to the oil leakage control unit 310, and in this embodiment, is connected to the logic control subunit 311. An output end of the switch control unit 540 is connected to the control end of the charge and discharge switch Kc. The switch control unit 540 is, for example, a logic gate, such as an AND gate 541, an OR gate, or a combination of the AND gate 541, the OR gate, and the NOT gate. In this embodiment, during the puff detection time period, whether the charge and discharge switch Kc is turned on is controlled by the output signal of the second voltage comparison unit 410. During the oil leakage detection time period, the oil leakage control unit 310 controls the charge and discharge switch Kc to remain disconnected via the switch control unit 540. For example, the switch control unit 540 is an AND gate 541. During the puff detection time period, the logic control subunit 311 continuously outputs a high level to the AND gate 541. Therefore, the output signal of the AND gate 541 is controlled by the output signal of the second voltage comparison unit 410. During the oil leakage detection time period, the logic control subunit 311 continuously outputs a low level signal to the AND gate 541. The AND gate 541 continuously outputs a low level, so that the charge and discharge switch Kc remains disconnected. In addition, in other embodiments of the present application, the switch control unit 540 may not be included, and the oil leakage detection circuit 300 further includes a second switch unit K2. The two ends of the second switch unit K2 are correspondingly connected to the power supply end BAT and the power end of the second voltage comparison unit 410, and the control end of the second switch unit K2 is connected to the logic control subunit 311. During the oil leakage detection time period, the logic control subunit 311 controls the second switch unit K2 to be disconnected and cut off, and the second switch unit K2 stops working. During the suction detection time period, the logic control subunit 311 controls the second switch unit K2 to be turned on, and the second switch unit K2 works.

[0507] Compared with the fourth embodiment, this embodiment does not need to separately provide the second current source 322 , and the capacitive airflow sensor Cs is charged through the first current source 321 , which is beneficial to reducing costs.

[0508] Sixth embodiment

[0509] Please refer to Figure 12, which is a circuit module diagram of the airflow sensor assembly 200 of the sixth embodiment of the present application. This embodiment is similar to the fourth embodiment, so the parts not described in this embodiment can refer to the fourth embodiment. The main difference between this embodiment and the fourth embodiment is that whether the oil leakage state is determined by the difference in the resistance voltage divider.

[0510] Please refer to Figures 3 and 12 in combination. In this embodiment, the oil leakage detection unit 530 includes a first voltage-dividing resistor R1 to a fourth voltage-dividing resistor R4, wherein the first end of the first voltage-dividing resistor R1 is connected to the power supply terminal BAT, the second end of the first voltage-dividing resistor R1 is connected to the airflow terminal SW, the airflow terminal SW is connected to the first end of the third voltage-dividing resistor R3, and the second end of the third voltage-dividing resistor R3 is connected to the power ground terminal GND, that is, the first voltage-dividing resistor R1 and the second voltage-dividing resistor R2 are connected in series, and the connection point is the airflow terminal SW; the first end of the second voltage-dividing resistor R2 is connected to the first end of the first voltage-dividing resistor R1 One end is connected, the second end of the second voltage-dividing resistor R2 is connected to the first end of the fourth voltage-dividing resistor R4, and the second end of the fourth voltage-dividing resistor R4 is connected to the second end of the third voltage-dividing resistor R3, that is, the second voltage-dividing resistor R2 and the fourth voltage-dividing resistor R4 are connected in series, and the second end of the second voltage-dividing resistor R2 or the first end of the fourth voltage-dividing resistor R4 is the second voltage-dividing sampling point; wherein, the resistance ratio of the first voltage-dividing resistor R1 to the third voltage-dividing resistor R3 is equal to the resistance ratio of the second voltage-dividing resistor R2 to the fourth voltage-dividing resistor R4, so that the first voltage-dividing resistor R1-the fourth voltage-dividing resistor R4 constitutes a Wheatstone bridge.

[0511] When the oil leakage detection is performed during the oil leakage detection period, the charge and discharge switch Kc and the second switch unit K2 remain disconnected. When the oil leakage resistor RL does not exist, since the resistance ratio of the first voltage-dividing resistor R1 to the third voltage-dividing resistor R3 and the resistance ratio of the second voltage-dividing resistor R2 to the fourth voltage-dividing resistor R4 are equal, the voltage at the airflow end SW (the first voltage-dividing value) and the voltage at the second voltage-dividing sampling point (the second voltage-dividing value) are equal or almost equal, and the pressure difference between the two is 0 or very small. When the oil leakage resistor RL exists, the oil leakage resistor RL will be connected in parallel with the third voltage-dividing resistor R3 and then with the first voltage-dividing resistor. When the resistor R1 is connected in series and the leakage resistor RL is connected in parallel with the third voltage-dividing resistor R3, the parallel resistance thereof will decrease, thereby causing the voltage at the airflow end SW to decrease. However, the voltage at the second voltage-dividing sampling point is independent of the leakage resistor RL and remains unchanged, so that the voltage at the second voltage-dividing sampling point is significantly greater than the voltage at the airflow end SW, causing the voltage difference between the two to increase. This voltage difference is the first sampling resistance information, so by comparing the first sampling resistance information with the preset first reference resistance information, it is possible to determine whether the electronic cigarette is in an oil leakage state. In this embodiment, the first reference resistance information is a voltage.

[0512] In this embodiment, the oil leakage detection unit 530 also includes a pressure difference comparison subunit, which is connected to the airflow end SW and the second pressure division sampling point respectively, and the pressure difference comparison subunit also receives the first reference resistance information. During the oil leakage detection time period, the pressure difference comparison subunit subtracts the first pressure division value from the second pressure division value to obtain second sampling resistance information, and compares the second sampling resistance information with the first reference resistance information. When the second sampling resistance information is greater than the first reference resistance information, the first comparison result information is output, indicating that the electronic cigarette is in an oil leakage state. When the second sampling resistance information is less than the first reference resistance information, the second comparison result information is output, indicating that the electronic cigarette is not in an oil leakage state.

[0513] To prevent the first to fourth voltage-dividing resistors R1 to R4 from affecting puff detection during the puff detection period and causing power waste, in this embodiment, the oil leakage detection circuit 300 further includes a first switch unit K1 and a third switch unit K3. A first end of the first switch unit K1 is connected to the power supply terminal BAT, a second end of the first switch unit K1 is connected to the first ends of the first and second voltage-dividing resistors R1 and R2, a first end of the third switch unit K3 is connected to the airflow terminal SW, and a second end of the third switch unit K3 is connected to the first end of the third voltage-dividing resistor R3. Control ends of the first and third switch units K1 and K3 are both connected to the oil leakage control unit 310. During the oil leakage detection period, the oil leakage control unit 310 controls the first and third switch units K1 to K3 to turn on and off. During the puff detection period, the oil leakage control unit 310 controls the first and third switch units K1 to K3 to turn off and off. Therefore, during the puff detection period, the first to fourth voltage-dividing resistors R1 to R4 do not affect puff detection and do not cause energy waste.

[0514] This embodiment uses a Wheatstone bridge to detect oil leakage. The duration of the oil leakage detection period is very short, much shorter than the oil leakage detection period in the fourth embodiment. The oil leakage detection can be performed quickly with little impact on user use.

[0515] Seventh embodiment

[0516] Corresponding to the electronic cigarette oil leakage detection circuit 300 of the above embodiment, the oil leakage detection method provided in the seventh embodiment of the present application will be described in detail below in conjunction with FIG13 . It should be noted that the oil leakage detection method shown in FIG13 is used to be performed by the oil leakage detection circuit 300 of the fourth to sixth embodiments. For ease of description, only the parts related to the embodiment of the present application are shown. For specific technical details not disclosed, please refer to the oil leakage detection circuit 300 of the fourth to sixth embodiments.

[0517] Please refer to Figures 10 to 13. In this embodiment, the oil leakage detection method includes:

[0518] S110-2: Obtaining first sampling resistance information through the airflow terminal of the oil leakage detection circuit, wherein the first sampling resistance information is used to represent the resistance between the airflow terminal SW and the power ground terminal GND. The oil leakage detection circuit 300 includes a power supply terminal BAT, a power ground terminal GND, an airflow terminal SW, and an atomization terminal AT. The power supply terminal BAT and the power ground terminal GND are correspondingly connected to the positive and negative poles of the battery 110. The airflow terminal SW is used to connect to one electrode of the capacitive airflow sensor Cs. The power ground terminal GND is also used to connect to the other electrode of the capacitive airflow sensor Cs. The atomization terminal AT is used to connect to the heating element 120.

[0519] S120-2: Compare the first sampling resistance information with the first reference resistance information and output comparison result information;

[0520] S130-2: Receive the comparison result information and determine whether the electronic cigarette is in an oil leakage state based on the comparison result information.

[0521] In this embodiment, referring to FIG. 14 , step S110 - 2 specifically includes:

[0522] S111-2: charging the capacitive airflow sensor through the airflow end;

[0523] S112-2: Triggering a first timing of the charging time;

[0524] S113-2: Determine whether the first timer is greater than or equal to the oil leakage detection time;

[0525] S114-2: If the judgment result is yes, sampling the voltage at the airflow end to obtain a first sampling voltage, and calculating the first sampling voltage and first current information to obtain first sampling resistance information, wherein the first current information is used to represent a charging current for charging the airflow sensor Cs;

[0526] S115-2: If the judgment result is no, then stop sampling the voltage of the airflow end SW, and / or stop calculating the first sampled voltage and the first current information.

[0527] In this embodiment, the first sampling resistance information is voltage or resistance.

[0528] In other embodiments of the present application, referring to FIG. 15 , step S110 - 2 specifically includes:

[0529] S116-2: Obtain a first divided voltage value through the airflow terminal, wherein the airflow terminal SW is connected to the second end of the first resistor and the first end of the third resistor, respectively, and the first resistor and the third resistor are connected in series;

[0530] S117-2: Obtain a second divided voltage value through a second divided voltage sampling point, wherein the second divided voltage sampling point is respectively connected to the second end of the second resistor and the first end of the fourth resistor, the second resistor and the fourth resistor are connected in series, the first end of the second resistor is connected to the first end of the first resistor, the second end of the fourth resistor is connected to the second end of the third resistor, and the resistance ratio of the second resistor to the fourth resistor is equal to the resistance ratio of the first resistor to the third resistor;

[0531] S118-2: Subtract the first voltage division value and the second voltage division value to obtain second sampling resistance information.

[0532] In this embodiment, referring to FIG. 16 , the step of determining whether the electronic cigarette is in an oil leakage state according to the comparison result information specifically includes:

[0533] S131-2: performing a third timing on the duration of the first comparison result information, wherein the first comparison result information indicates that the first sampling resistance information is smaller than the first reference resistance information;

[0534] S132-2: Determine whether the third timing is greater than or equal to the third duration;

[0535] S133-2: If the judgment result is yes, it is determined that the electronic cigarette is in a liquid leakage state;

[0536] S134-2: If the judgment result is no, it is determined that the electronic cigarette is not in an oil leakage state.

[0537] In addition, in other embodiments of the present application, the first reference resistance information includes first preset sub-reference resistance information and second preset sub-reference resistance information, wherein the first preset sub-reference resistance information is smaller than the second preset sub-reference resistance information; and the step of comparing the first sampling resistance information with the first reference resistance information and outputting comparison result information specifically includes:

[0538] Determining whether the first sampling resistance information is less than the second preset sub-reference resistance information;

[0539] If the judgment result is yes, determining whether the first sampling resistance information is less than the first preset sub-reference resistance information;

[0540] If the judgment result is yes, the first sub-comparison result information is output;

[0541] If the judgment result is no, outputting second sub-comparison result information, wherein the second sub-comparison result information is different from the first sub-comparison result information, and the second sub-comparison result information and the first sub-comparison result information are used to represent different levels of liquid leakage of the electronic cigarette;

[0542] If the judgment result is no, the second comparison result information is output, wherein the second comparison result information indicates that the electronic cigarette is not in an oil leakage state.

[0543] In this embodiment, the oil leakage detection method further includes: controlling the charge and discharge switch Kc to remain disconnected during the time period for detecting whether the electronic cigarette is in an oil leakage state, wherein a first end of the charge and discharge switch Kc is connected to the airflow end SW, and a second end of the charge and discharge switch Kc is connected to the power ground end GND.

[0544] In this embodiment, the oil leakage detection method further includes: detecting whether the electronic cigarette is in a puffing state through the airflow end SW of the oil leakage detection circuit 300 during a puffing detection time period, wherein the time period for detecting whether the electronic cigarette is in an oil leakage state is the oil leakage detection time period, and the oil leakage detection time period is different from the puffing detection time period.

[0545] In this embodiment, referring to FIG. 17 , the steps of detecting whether the electronic cigarette is in the puffing state through the airflow end of the oil leakage detection circuit during the puffing detection period specifically include:

[0546] S210-2: charging the capacitive airflow sensor Cs through the airflow terminal SW during the puff detection period;

[0547] S220-2: sampling the voltage of the airflow terminal SW in real time to obtain a second sampled voltage;

[0548] S230-2: Determine whether the second sampling voltage is greater than or equal to a second preset reference voltage;

[0549] S240-2: If the judgment result is yes, perform cumulative counting to obtain the current count value, and control the charge-discharge switch Kc to be turned on for discharge;

[0550] S250-2: If the judgment result is no, the charge-discharge switch Kc is controlled to be turned off to continue charging;

[0551] S260-2: After a puff detection period, determining whether current counting information is within a preset counting range, wherein the current counting information is obtained based on the current counting value;

[0552] S270-2: If the judgment result is yes, output information indicating that the electronic cigarette is in the smoking state;

[0553] S280-2: If the judgment result is no, output the information that the electronic cigarette is in a non-smoking state.

[0554] After the puff detection period begins, the capacitive airflow sensor Cs is charged through the airflow terminal SW, and it is determined in real time whether the second sampling voltage is greater than or equal to the second preset reference voltage. If the determination result is yes, a cumulative count is performed to obtain the current count value, and the charge-discharge switch Kc is controlled to be turned on for discharge. Since the charge-discharge switch Kc short-circuits the two ends of the airflow sensor Cs when it is turned on, the voltage of the airflow terminal SW is instantly reduced to 0. Thereafter, the second sampling voltage is less than or equal to the second preset reference voltage, and the charge-discharge switch Kc is turned off, and a new round of charging is performed. The airflow sensor Cs is repeatedly charged and discharged until the puff detection period expires. The puff determination unit 420 determines whether the current count information is within a preset count range. If the determination result is yes, the puff determination unit 420 outputs information that the electronic cigarette is in a puff state; if the determination result is no, the puff determination unit 420 outputs information that the electronic cigarette is in a non-puff state. The non-puff state includes a non-puff state and a puff state.

[0555] The present application also provides an electronic cigarette oil leakage detection method, comprising:

[0556] During the puff detection period, the airflow terminal SW of the oil leakage detection circuit 300 is used to detect whether the electronic cigarette is in the puff state. The oil leakage detection circuit 300 includes a power supply terminal BAT, a power ground terminal GND, an airflow terminal SW, and an atomization terminal AT. The power supply terminal BAT and the power ground terminal GND are respectively connected to the positive and negative poles of the battery 110. The airflow terminal SW is used to connect to one electrode of the capacitive airflow sensor Cs. The power ground terminal GND is also used to connect to the other electrode of the capacitive airflow sensor Cs. The atomization terminal AT is used to connect to the heating element 120.

[0557] During the oil leakage detection period, the airflow end SW is used to detect whether the electronic cigarette is in an oil leakage state;

[0558] The oil leakage detection circuit 300 performs oil leakage detection and suction detection with a first time period as a cycle, wherein the first time period includes a suction detection time period and an oil leakage detection time period.

[0559] The present application also provides an electronic cigarette oil leakage detection method, comprising:

[0560] Receive information that the electronic cigarette is in the smoking state;

[0561] Trigger a detection to see if the e-cigarette is in a liquid leakage state.

[0562] Corresponding to the electronic cigarette oil leakage detection method of the above embodiment, FIG9 shows a module diagram of the oil leakage detection circuit 600 provided in the embodiment of the present application. For the sake of ease of explanation, only the parts related to the embodiment of the present application are shown.

[0563] Figure 9 is a schematic diagram of an oil leak detection circuit 600 provided in one embodiment of the present application. As shown in Figure 9 , the oil leak detection circuit 600 of this embodiment includes: at least one processor 620 (only one is shown in Figure 9 ), a memory 610, and a computer program stored in the memory 610 and executable on the processor 620. When the processor 620 executes the computer program, the steps of the above-described oil leak detection method embodiment are implemented. Those skilled in the art will understand that Figure 9 is merely an example of the oil leak detection circuit 600 and does not constitute a limitation of the oil leak detection circuit 600. The oil leak detection circuit 600 may include more or fewer components than shown, or may combine certain components, or may include different components. For example, it may also include input / output devices, network access devices, etc. The processor 620 may be a central processing unit (CPU), other general-purpose processors 620, digital signal processors 620 (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor 620 may be a microprocessor 620 or any conventional processor 620.

[0564] In some embodiments, the memory 610 may be an internal storage unit of the oil leak detection circuit 600, such as a hard disk or memory of the oil leak detection circuit 600. In other embodiments, the memory 610 may also be an external storage device of the oil leak detection circuit 600, such as a plug-in hard disk equipped on the oil leak detection circuit 600, a smart media card (SMC), a secure digital (SD) card, a flash memory card, etc. Furthermore, the memory 610 may include both the internal storage unit of the oil leak detection circuit 600 and an external storage device. The memory 610 is used to store an operating system, application programs, a boot loader, data, and other programs, such as the program code of the computer program. The memory 610 may also be used to temporarily store data that has been output or is about to be output.

[0565] The embodiment of the present application further provides a storage medium storing a computer program. When the computer program is executed by the processor 620, the steps in the above-mentioned oil leakage detection method embodiment can be implemented.

[0566] An embodiment of the present application provides a computer program product. When the computer program product is run on a terminal, the terminal can implement the steps in the above-mentioned oil leakage detection method embodiment when executing the computer program product.

[0567] Referring to FIG. 3 and FIG. 10 to FIG. 17 , an embodiment of the present application further provides an airflow sensor assembly 200 , including:

[0568] Capacitive airflow sensor Cs;

[0569] The above-mentioned oil leakage detection circuit 300, wherein the oil leakage detection circuit 300 is connected to the capacitor airflow sensor Cs.

[0570] The present application also provides an electronic cigarette, comprising:

[0571] The aforementioned air flow sensor assembly 200 or the aforementioned oil leakage detection circuit 300;

[0572] The battery 110 and the heating element 120 are both connected to the oil leakage detection circuit 300 .

[0573] Eighth embodiment

[0574] An eighth embodiment of the present application provides an electronic cigarette, as shown in Figures 1a to 3, 18, and 19. The electronic cigarette includes a battery 110, a heating element 120, an airflow sensor assembly 200, and the like. The battery 110 and the heating element 120 are respectively connected to the airflow sensor assembly 200. The heating element 120 may be, for example, a heating wire, a heating filament, a ceramic holder containing a heating wire or a heating filament, or other conventional heating elements 120. The battery 110 may be, for example, a rechargeable battery or a non-rechargeable battery. The rechargeable battery 110 may be, for example, a lithium-ion battery, a nickel-cadmium battery, a nickel-metal hydride battery, a lithium polymer battery, a lead-acid battery, or the like. The operating voltage range of the battery 110 is generally less than 5V and greater than 2V, for example, 3.2V-4.2V, 3.2V-4.45V, 2.6V-4.2V, or the like.

[0575] In this embodiment, the airflow sensor assembly 200 includes a capacitive airflow sensor 210 and an oil leakage detection circuit 300, wherein the capacitive airflow sensor 210 includes a capacitive MEMS sensor, a capacitive microphone, etc. In this application, the capacitive airflow sensor 210 is essentially a capacitor that can change with the airflow, and the oil leakage detection circuit 300 includes a power supply terminal BAT, a power ground terminal GND, an airflow terminal SW, and an atomization terminal AT, wherein the power supply terminal BAT is connected to the positive pole of the battery 110, the power ground terminal GND is connected to the negative pole of the battery 110, the power ground terminal GND is used for electrical grounding, the airflow terminal SW is connected to one electrode of the capacitive airflow sensor 210, the other electrode of the capacitive airflow sensor 210 is connected to the power ground terminal GND, the atomization terminal AT is connected to one end of the heating element 120, and the other end of the heating element 120 is connected to the power ground terminal GND or the power supply terminal BAT.

[0576] Referring to Figures 3 and 18 , in this embodiment, the oil leakage detection circuit 300 includes a power switch M and an oil leakage detection control module. The oil leakage detection control module is used to detect whether the electronic cigarette is leaking oil via the airflow terminal SW during the oil leakage detection period. The oil leakage detection control module includes an oil leakage control unit 310. One end of the power switch M is connected to the power supply terminal BAT or the power ground terminal GND, and the other end of the power switch M is connected to the atomization terminal AT in series with the heating element 120. The control end of the power switch M is connected to the oil leakage control unit 310. The oil leakage control unit 310 controls the power switch M by obtaining the state of the electronic cigarette. In this embodiment, the power switch M is a PMOS transistor, one end of which is connected to the power supply terminal BAT. In other embodiments of the present application, the power switch M can also be an NMOS transistor, one end of which is connected to the power ground terminal GND. In this embodiment, the oil leakage detection circuit 300 is located on the same chip, which is generally called an electronic cigarette dedicated chip. In this case, the power supply terminal BAT is the power supply pin, the power ground terminal GND is the power ground pin, the airflow terminal SW is the airflow pin, and the atomization terminal AT is the atomization pin. In addition, in other embodiments of the present application, the oil leakage detection circuit 300 can also be located on the same chip as the circuit except for the power switch M, and the power switch M is located on another chip. The two chips can be packaged together or not. In addition, in this embodiment, the oil leakage detection circuit 300 also includes an indicator terminal / pin LED and a charging terminal / pin CHG, wherein the indicator terminal LED is used for an external indicator light, the indicator light is used to indicate the status of the electronic cigarette, and the charging terminal CHG is used to connect to the USB input interface for charging the battery 110.

[0577] In this embodiment, referring to Figures 3 and 18 , the oil leakage detection control module further includes a first current source 321 and an oil leakage detection unit 330. The first current source 321 is connected to the airflow terminal SW and the power supply terminal BAT, respectively, so that the first current source 321 can charge the capacitive airflow sensor 210. The first current source 321 constantly outputs a first current, such as 100nA, 200nA, 300nA, 400nA, 500nA, etc. The oil leakage detection unit 330 is connected to the airflow terminal SW and is configured to obtain a first sampled voltage via the airflow terminal SW. In this embodiment, the first sampled voltage is obtained by sampling the voltage of the airflow terminal SW. The first sampled voltage can be equal to the voltage of the airflow terminal SW (for example, the oil leakage detection unit 330 is directly connected to the airflow terminal SW, which is used as an example for explanation in this embodiment), or can be sampled by means of a resistor divider, in which case the first sampled voltage is less than the voltage of the airflow terminal SW. In this embodiment, the oil leakage control unit 310 is connected to the oil leakage detection unit 330 . The oil leakage control unit 310 receives information from the oil leakage detection unit 330 to determine whether the electronic cigarette is in an oil leakage state.

[0578] Specifically, the first current source 321 charges the capacitive airflow sensor 210 through the airflow terminal SW for a first preset duration. Thereafter, the first current source 321 stops charging the capacitive airflow sensor 210. At this time, the first sampled voltage is a first voltage value, which is detected. After charging stops, when the oil leakage resistor RL is not present, the capacitive airflow sensor 210 only has its own leakage current and no other discharge path exists. The leakage current is very small or almost negligible. After the leakage current has lasted for a second preset duration, the first sampled voltage is a second voltage value, which is equal to the first voltage value or slightly less than the first voltage value. When the oil leakage resistor RL exists due to oil leakage, the capacitive airflow sensor 210 has both its own leakage current and a discharge branch of the oil leakage resistor RL. The discharge current of the discharge branch of the oil leakage resistor RL is much greater than the leakage current of the airflow sensor 210. After the discharge has lasted for the second preset duration, the first sampled voltage is a second voltage value, and the difference between the second voltage value and the first voltage value is relatively large. The first voltage value and the second voltage value are calculated to obtain second voltage information. The second voltage information can be the voltage difference between the first voltage value and the second voltage value (this embodiment is described as an example), or can be the ratio of the voltage difference to the first voltage value, etc. The second voltage information is then compared with the second preset voltage information and the comparison result information is output. The oil leakage control unit 310 receives the comparison result information and can determine whether the electronic cigarette is in an oil leakage state. In this embodiment, the first preset time length and the second preset time length are preset, and the first preset time length and the second preset time length are, for example, 20μs, 30μs, 40μs, 50μs, 60μs, 70μs, 80μs, 90μs, etc. In this embodiment, the second preset voltage information is preset, and the second preset voltage information corresponds to the second voltage information. When the second voltage information is the voltage difference between the first voltage value and the second voltage value (this embodiment is illustrated as an example), the second preset voltage information is, for example, 1V, 0.5V, 0.3V, etc.; when the second voltage information is the voltage ratio of the first voltage value to the second voltage value, the second preset voltage information is, for example, 1.05, 1.1, 1.15, etc.; when the second voltage information is the ratio of the voltage difference to the first sampled voltage, the second preset voltage information is, for example, 5%, 10%, 15%, etc.

[0579] In this embodiment, please refer to Figures 18 and 19 in combination. The oil leakage detection unit 330 includes a calculation subunit 340, a second comparison subunit 335, a first timing subunit 332 and a second timing subunit 333, wherein the calculation subunit 340 is connected to the airflow end SW, the calculation subunit 340 is used to output the second voltage information, one input end of the second comparison subunit 335 is connected to the calculation subunit 340, and the other input end of the second comparison subunit 335 is used to receive the second preset voltage information RefV2, the oil leakage control unit 310 is connected to the output end of the second comparison subunit 335, the first timing subunit 332 is respectively connected to the oil leakage control unit 310, the second timing subunit 333, and the calculation subunit 340, and the second timing subunit 333 is connected to the calculation subunit 340 or the second comparison subunit 335.

[0580] In this embodiment, the calculation subunit 340 includes a first acquisition unit 341, a second acquisition unit 342, and a subtractor 343. The first acquisition unit 341 is connected to the airflow terminal SW and the first timing subunit 332, respectively. The second acquisition unit 342 is connected to the airflow terminal SW and the second timing subunit 333, respectively. The subtractor 343 is connected to the first acquisition unit 341, the second acquisition unit 342, and the second timing subunit 333, respectively. In this embodiment, the first acquisition unit 341 and the second acquisition unit 342 are different units. However, the present application is not limited to this. In other embodiments of the present application, the first acquisition unit and the second acquisition unit can be the same acquisition unit. When the oil leakage control unit 310 controls the first current source 321 to start charging the capacitive airflow sensor 210, the first timing subunit 332 is triggered to perform a first timing on the charging time. When the first timing subunit 332 times to the first preset time, the first timing subunit 332 outputs a first timing signal to the oil leakage control unit 310, the second timing subunit 333, and the first acquisition unit 341. The oil leakage control unit 310 controls the first current source 321 to stop charging the airflow sensor 210. At the same time, the first acquisition unit 341 obtains the first sampling voltage. At this time, the first sampling voltage is the first voltage value and is stored. At the same time, the second timing subunit 333 is triggered to start The second timing of the discharge duration begins. When the second timing subunit 333 counts the second preset duration, the second timing subunit 333 outputs a second timing signal to the second acquisition unit 342. The second acquisition unit 342 obtains the first sampled voltage. At this time, the first sampled voltage is the second voltage value. The subtractor 343 subtracts the first voltage value from the second voltage value to obtain second voltage information, and outputs it to the second comparison subunit 335. The second comparison subunit 335 compares the second voltage information with the second preset voltage information and outputs comparison result information. The oil leakage control unit 310 receives the comparison result information and determines whether the electronic cigarette is in an oil leakage state based on the comparison result information. In addition, in other embodiments of the present application, the second voltage information is the voltage ratio of the first voltage value to the second voltage value, or the second voltage information is the ratio of the voltage difference to the first sampled voltage.

[0581] When the second voltage information is greater than or equal to the second preset voltage information, the second comparison subunit 335 outputs first comparison result information, the oil leakage control unit 310 receives the first comparison result information and determines that the electronic cigarette is in an oil leakage state based on the first comparison result information; when the second voltage information is less than the second preset voltage information, the second comparison subunit 335 outputs second comparison result information, the oil leakage control unit 310 receives the second comparison result information and determines that the electronic cigarette is not in an oil leakage state based on the second comparison result information.

[0582] In this embodiment, the oil leak detection period includes a first preset duration and a second preset duration. In this embodiment, both the first preset duration and the second preset duration are preset. In this embodiment, the oil leak control unit 310 also includes an oil leak timing subunit 312, which is connected to the logic control subunit 311 and is used to control the duration of the oil leak detection period.

[0583] In this embodiment, a first sampled voltage is discharged from a first voltage value to a second voltage value after a second preset duration. A second voltage information is calculated using the second voltage value and the first voltage value. The second voltage information is compared with the second preset voltage information, and based on the comparison result, it is determined whether the electronic cigarette is leaking. The leakage detection method of the present application is simple, takes very little detection time, and is virtually imperceptible to the user, thus not affecting the user experience. Furthermore, it fully utilizes the existing airflow terminal SW, combined with an existing capacitive airflow sensor, to determine whether the electronic cigarette is leaking. The airflow terminal SW has multiple functions and can be time-division multiplexed. The leakage detection circuit 300 of the present application does not require additional terminals or pins, thus reducing costs. Furthermore, the leakage detection circuit 300 of the present application can determine whether the electronic cigarette is leaking, preventing the prolonged misinterpretation of leakage as an inhalation state. This reduces the probability of triggering the heating element 120 to malfunction for a long period of time, thus reducing the likelihood of safety incidents.

[0584] In this embodiment, the second preset voltage information is one and does not include sub-voltage information. However, the present application is not limited thereto. In other embodiments of the present application, in order to finely manage the oil leakage status, the second preset voltage information may also include multiple preset sub-voltage information, for example, including 2 preset sub-voltage information, 3 preset sub-voltage information, or more preset sub-voltage information. Here, 2 preset sub-voltage information are used as an example for explanation. The two preset sub-voltage information are the first preset sub-voltage information and the second preset sub-voltage information. In this embodiment, the first preset sub-voltage information and the second preset sub-voltage information are both voltage differences, wherein the first preset sub-voltage information is less than the second preset sub-voltage information. Correspondingly, the first comparison result information includes the first sub-comparison result information and the second sub-comparison result information. When the second voltage information is less than the first preset sub-voltage information, it indicates that the electronic cigarette is not leaking and is in a non-leakage state. When the second voltage information is greater than the first preset sub-voltage information and less than the second preset sub-voltage information, the second comparison sub-unit 335 outputs the second sub-comparison result information, indicating that there is some leakage but the leakage is not serious. When the second voltage information is greater than the second preset sub-voltage information, the second comparison sub-unit 335 outputs the first sub-comparison result information, indicating that the leakage is serious. Therefore, by comparing the second comparison sub-unit 335 with multiple preset sub-voltage information, it is possible to determine whether the electronic cigarette is leaking and the severity of the leakage, thereby facilitating the processing of electronic cigarettes with different degrees of leakage. For example, when the leakage is not serious, it can be corrected by correcting the reference count value mentioned later. When the leakage is serious, the leakage control unit 310 can control the power switch M to remain off. Even if the user draws on the electronic cigarette, the power switch M remains off, thereby reducing the risk of safety accidents.

[0585] Generally speaking, electronic cigarettes are classified into two states based on whether they are being puffed on: a puffing state and a non-puffing state. The non-puffing state includes a blowing state and a non-puffing state. The puffing state corresponds to the state when the user is puffing on the electronic cigarette, the blowing state corresponds to the state when the user is blowing into the electronic cigarette, and the non-puffing state corresponds to the state when the electronic cigarette is neither puffed on nor blown into. The electronic cigarette performs different actions in different states. Continuing with FIG. 18 , to detect whether the electronic cigarette is in the puffing state or the non-puffing state, in this embodiment, the oil leakage detection circuit 300 further includes a puffing detection module 400. The puffing detection module 400 is configured to detect whether the electronic cigarette is in the puffing state via the airflow terminal SW during the puff detection period.

[0586] Specifically, the input end of the puff detection module 400 is connected to the airflow terminal SW. The puff detection module 400 samples the voltage of the airflow terminal SW to obtain a third sampled voltage. The third sampled voltage can be equal to or less than the voltage of the airflow terminal SW. The third sampled voltage and the first sampled voltage can be obtained by sampling through the same sampling unit. In this case, the first and third sampled voltages are distinguished by different time periods, for example, by sampling through the same set of bipolar resistors. Of course, they can also be obtained by sampling through different sampling units. The output end of the puff detection module 400 is connected to the oil leakage control unit 310, specifically to the logic control subunit 311. The puff detection module 400 is used to determine whether the electronic cigarette is in the puff state based on the capacitance of the airflow sensor 210 or the change in capacitance through the airflow terminal SW. In other words, the airflow terminal SW has at least two functions: detecting the puff state and detecting the oil leakage state.

[0587] In this embodiment, the puff detection module 400 includes a third voltage comparison unit 410 and a puff determination unit 420, and the oil leakage detection circuit 300 includes a charge-discharge switch K3. The first input of the third voltage comparison unit 410 is connected to the third sampling voltage, the second input of the third voltage comparison unit 410 is connected to the third reference voltage RefV3, the output of the third voltage comparison unit 410 is connected to the puff determination unit 420, and the output of the puff determination unit 420 is connected to the oil leakage control unit 310. The first end of the charge-discharge switch K3 is connected to the airflow terminal SW, and the second end of the charge-discharge switch K3 is connected to the power ground terminal GND, that is, the charge-discharge switch K3 is connected in parallel with the airflow sensor 210. The control end of the charge-discharge switch K3 is connected to the output of the third voltage comparison unit 410. In this embodiment, the first input of the third voltage comparison unit 410 is the positive-inverting terminal, and the second input is the negative-inverting terminal. In other embodiments of the present application, the positive-inverting and negative-inverting terminals can be reversed. In this embodiment, the third reference voltage ranges from greater than or equal to 500mV to less than 1.5V, such as 500mV, 600mV, 700mV, 800mV, 900mV, 1V, 1.1V, 1.2V, 1.3V, and 1.4V. This embodiment uses 1V as an example. For another example, the third reference voltage is less than 1 / 2 the voltage of the power supply terminal BAT. The charge-discharge switch K3 is, for example, an NMOS transistor, but the present application is not limited thereto. In other embodiments of the present application, the charge-discharge switch K3 may also be a PMOS transistor or other conventional switch unit.

[0588] In this embodiment, the oil leakage detection circuit 300 also includes a second current source 322, which constantly outputs a second current. The second current can be the same as the first current (in this embodiment, the same is used as an example for explanation), or it can be different. The second current is, for example, 100nA, 200nA, 300nA, 400nA, 500nA, etc. The first end of the second current source 322 is connected to the power supply terminal BAT, and the second end of the second current source 322 is connected to the airflow terminal SW. Thus, the second current source 322 can charge the capacitive airflow sensor 210 through the airflow terminal SW. In this embodiment, during the puff detection period, the second current source 322 charges the airflow sensor 210. Initially, the third sampling voltage is less than the third reference voltage, and the output terminal of the third voltage comparison unit 410 outputs a first switching signal, for example, a low level, and the charge-discharge switch K3 remains off. When the third sampling voltage is equal to or greater than the third reference voltage (this period is the charging period), the output signal of the third voltage comparison unit 410 changes to output a second switching signal, for example, a high level. The second switching signal controls the charge-discharge switch K3 to conduct, short-circuiting the two ends of the airflow sensor 210 through the charge-discharge switch K3, and instantaneously discharges to 0V or near 0V (this period is the discharging period). After discharge, the third sampling voltage is again less than the third reference voltage, and the output signal of the third voltage comparison unit 410 changes back to the first switching signal. Thereafter, the charge-discharge switch K3 remains off, completing a charge-discharge cycle. That is, the charge-discharge cycle includes a charging period and a discharging period. Thereafter, the aforementioned charge-discharge cycle is repeated, and the airflow sensor 210 repeats the charging and discharging process. When an electronic cigarette is in different states, its charge and discharge cycles will vary, generally within 10%. This difference can be used to determine whether the electronic cigarette is in a puffing state, a puffing state, or a non-puffing state. In this embodiment, the puff determination unit 420 counts the number of charge and discharge cycles, and the count value obtained after the puff detection period is the current count value. Current count information can be calculated based on the current count value. In this embodiment, the current count information is the current count value. The puff determination unit 420 determines whether the current count information is within a preset third count range to determine whether the electronic cigarette is in a puffing state. The third count range is, for example, less than or equal to 97% of a baseline count value and greater than or equal to 50% of a baseline count value, where the baseline count value is a preset value or obtained by counting the puff detection period in the non-puffing state. In other embodiments of the present application, the current count information is the difference between the current count value and the baseline count value. In this case, the third count range is a difference range, for example, a difference range greater than or equal to 30. In other embodiments of the present application, the current counting information is a ratio of the difference value to the reference counting value. In this case, the third counting range is a ratio range, for example, greater than or equal to 3%.Since the specific form of the puff determination unit 420 is common knowledge in the art, it will not be described in detail here. In this embodiment, when the electronic cigarette is in a non-puffing state, a charge and discharge cycle is less than 50 μs, preferably less than or equal to 30 μs, and the puff detection period is, for example, 30 ms.

[0589] In this embodiment, the oil leakage control unit 310 includes a fourth timing subunit 313, which is connected to the logic control subunit 311. When the logic control subunit 311 controls the entry into the suction detection time period, the fourth timing subunit 313 starts timing. When the fourth timing subunit 313 times the duration corresponding to the suction detection time period, the fourth timing subunit 313 sends a signal to the logic control subunit 311 or the suction judgment unit 420, and the suction detection time period ends.

[0590] In this embodiment, the first voltage value can be greater than or equal to the third reference voltage. To prevent the signal of the third voltage comparison unit 410 from flipping when the airflow sensor 210 is charged to a voltage greater than or equal to the third reference voltage during the first preset charging time, causing the charge-discharge switch K3 to turn on, thereby wasting energy and other problems, in this embodiment, the charge-discharge switch K3 remains off during the first preset time and the second preset time. Preferably, the charge-discharge switch K3 remains off during the oil leak detection time period. With this configuration, the charge-discharge switch K3 will not affect oil leak detection during the oil leak detection time period, nor will it cause energy waste. In addition, in other embodiments of the present application, the first voltage value can also be less than the third reference voltage. Even if the third voltage comparison unit 410 is operating during the oil leak detection time period, the third voltage comparison unit 410 will not control the charge-discharge switch K3 to turn on, so the charge-discharge switch K3 remains off.

[0591] To ensure that the charge-discharge switch K3 remains off during the oil leakage detection period, in this embodiment, the oil leakage detection circuit 300 further includes a first switch unit K1 and a second switch unit K2. A first end of the first switch unit K1 is connected to the power supply terminal BAT, a second end of the first switch unit K1 is connected to the first current source 321 and the power supply terminal of the oil leakage detection unit 330, respectively, and a control end of the first switch unit K1 is connected to the oil leakage control unit 310. A first end of the second switch unit K2 is connected to the power supply terminal BAT, a second end of the second switch unit K2 is connected to the second current source 322 and the power supply terminal of the third voltage comparison unit 410, respectively, and a control end of the second switch unit K2 is connected to the oil leakage control unit 310. In this embodiment, the oil leakage control unit 310 controls the conduction or disconnection of the first and second switch units K1 and K2. In this embodiment, the first and second switch units K1 and K2 are not turned on at the same time. In addition, in other embodiments of the present application, the second end of the first switch unit K1 may not be connected to the power supply end of the oil leakage detection unit 330, and the second end of the second switch unit K2 may not be connected to the power supply end of the third voltage comparison unit 410.

[0592] In this embodiment, when the puff detection period begins, the oil leakage control unit 310 controls the second switch unit K2 to be turned on and the first switch unit K1 to be turned off. At this time, the third voltage comparison unit 410 operates, and the second current source 322 charges the airflow sensor 210. After the airflow terminal SW is charged to the third reference voltage, the charge-discharge switch K3 is turned on to discharge, and then charges and discharges again, and the number of times of each charge and discharge is counted. When the oil leakage detection period begins, the oil leakage control unit 310 controls the second switch unit K2 to be turned off and the first switch unit K1 to be turned on. At this time, the first current source 321 operates to detect whether the electronic cigarette is leaking oil, and the second current source 322 and the third voltage comparison unit 410 both stop operating. The charge-discharge switch K3 remains turned off, so that the airflow sensor 210 does not discharge through the charge-discharge switch K3 during this period. After charging for a first preset time period, the oil leakage control unit 310 also controls the first switch unit K1 to be turned off. The first current source 321 does not charge the airflow sensor 210 for a second preset time period. In this embodiment, to save power, the power supply terminal of the first timing subunit 332 is connected to the second terminal of the first switch unit K1. Thus, when the first switch unit K1 is disconnected, the first timing subunit 332 ceases operation, but the second timing subunit 333, the calculation subunit 340, and the second comparison subunit 335 continue to operate for the second preset duration. Furthermore, in other embodiments of the present application, the second terminal of the first switch unit K1 may not be connected to the oil leakage detection unit 330. In this embodiment, the first switch unit K1 and the second switch unit K2 are both PMOS transistors, but the present application is not limited thereto. In other embodiments of the present application, the first switch unit K1 and the second switch unit K2 may also be NMOS transistors or other switch units.

[0593] In addition, in other embodiments of the present application, the oil leakage detection circuit 300 may not include the first switch unit K1. In addition, in other embodiments of the present application, the second end of the second switch unit K2 may not be connected to the second current source 322. In this case, the second switch unit K2 is disconnected, the third voltage comparison unit 410 does not operate, and the charge-discharge switch K3 unit remains disconnected.

[0594] In this embodiment, the oil leakage detection circuit 300 performs oil leakage and puff detection cycles over a fifth duration. The fifth duration includes a puff detection period and a leak detection period. The leak detection period is the time period used to detect whether the electronic cigarette is leaking. The leak detection period includes a first preset duration and a second preset duration. The puff detection period and the leak detection period do not overlap, meaning they are distinct. In this embodiment, the puff detection period and the leak detection period are adjacent, meaning the end of the puff detection period coincides with the start of the leak detection period, or vice versa. In other embodiments of the present application, the puff detection period and the leak detection period may not be adjacent, meaning other time periods may exist. In this embodiment, the oil leakage control unit 310 includes a fifth timing subunit 314, which is used to control the fifth duration. The fifth timing subunit 314 is connected to the logic control subunit 311. In this embodiment, the first timing subunit 332, the second timing subunit 333, the oil leakage timing subunit 312, the fourth timing subunit 313, and the fifth timing subunit 314 can be the same timing unit, or different timing units. The first timing subunit 332, the second timing subunit 333, the oil leakage timing subunit 312, the fourth timing subunit 313, and the fifth timing subunit 314 can also be shared by some units. These are common knowledge in this field and will not be repeated here.

[0595] In this embodiment, the fifth duration includes one puff detection period and one oil leakage detection period. For example, the fifth duration is 40ms, the puff detection period is 30ms, and the oil leakage detection period is 10ms, where the first preset duration is 10μs. Of course, in other embodiments of the present application, the fifth duration may also include multiple puff detection periods and one oil leakage detection period. This can reduce the response time of the puff detection and shorten the time the user waits for the oil to be atomized.

[0596] In order to reduce power consumption, in other embodiments of the present application, the fifth duration also includes a stop detection time period. During the stop detection time period, the puff state and the oil leakage state are not detected, which is conducive to reducing power consumption. During the stop detection time period, the first current source 321, the second current source 322, the oil leakage detection unit 330, and the puff detection module 400 at least partially stop working. In this embodiment, they all stop working. Here, the fifth duration includes a puff detection time period, a oil leakage detection time period, and a stop detection time period. For example, the fifth duration is 300ms, the puff detection time period is 30ms, the oil leakage detection time period is 10ms, and the remaining duration of 260ms is the stop detection time period. Of course, in other embodiments of the present application, the fifth duration can also include multiple puff detection time periods, a oil leakage detection time period, and a stop detection time period. This can reduce the response time of the puff detection and reduce the time the user waits for the oil to be atomized.

[0597] Generally speaking, when an electronic cigarette is in a state of leaking oil, it will inevitably be misjudged as being in a puffing state, causing the heating element 120 to operate and cause safety issues. Based on this characteristic, in other embodiments of the present application, the fifth time duration does not include the oil leakage detection time period, and the oil leakage detection circuit 300 performs puff detection with the fifth time duration as a cycle, and the fifth time duration includes the puff detection time period. Specifically, after the end of the previous fifth time duration cycle, the electronic cigarette performs a puffing state detection again. When it is judged to be in a non-puffing state, it normally enters the next fifth time duration cycle; when it is judged to be in a puffing state, the fifth time duration is paused (the fifth timing subunit 314 pauses timing), and the oil leakage time period is inserted at this time. The oil leakage state detection is performed during the oil leakage detection time period. This setting is conducive to reducing the detection response time of the puffing state and reducing the frequency of oil leakage detection. In this embodiment, when the logic control subunit 311 receives a puff signal (a signal output when the electronic cigarette is in the puff state), the logic control subunit 311 controls the oil leakage detection unit 330 to operate, or the puff signal output by the puff determination unit 420 triggers the oil leakage detection unit 330 to operate. When the oil leakage detection unit 330 determines that the electronic cigarette is in a non-leakage state or a leaking state, it normally exits the oil leakage state detection and continues with the next fifth time period (the fifth timing subunit 314 resumes timing). At the same time, if it is determined to be in the leaking state, the electronic cigarette is processed according to the leaking state, for example, the power switch M remains off.

[0598] Ninth embodiment

[0599] Please refer to Figure 20, which is a circuit module diagram of the oil leakage detection unit 330 of the ninth embodiment of the present application. This embodiment is similar to the eighth embodiment, so the parts not described in this embodiment can refer to the eighth embodiment. The main difference between this embodiment and the eighth embodiment is that the first sampling voltage is charged to the first voltage value through the first current source 321, and the charging time is not timed.

[0600] Please refer to Figures 18 and 20. In this embodiment, during the oil leakage detection period, the first current source 321 charges the capacitive airflow sensor 210 through the airflow terminal SW. When the charging causes the first sampling voltage to reach the first voltage value, the first current source 321 stops charging the capacitive airflow sensor 210. At this time, information that the first sampling voltage is the first voltage value is obtained. After the leakage of the second preset time, the second timing signal is output. At this time, the first sampling voltage is the second voltage value. The first voltage value and the second voltage value are calculated to obtain second voltage information. The second voltage information is compared with the second preset voltage information, and the comparison result information is output. The oil leakage control unit 310 receives the comparison result information and can determine whether the electronic cigarette is in an oil leakage state.

[0601] In this embodiment, the oil leakage detection unit 330 includes a first voltage comparison subunit 334, a calculation subunit 340, a second comparison subunit 335, and a second timing subunit 333, wherein one input end of the first voltage comparison subunit 334 receives the first sampled voltage in real time, and the other input end of the first voltage comparison subunit 334 receives the first voltage value RefV1. In this embodiment, the first voltage value is preset. The output end of the first voltage comparison subunit 334 is connected to the oil leakage control unit 310 and the second timing subunit 333, and the second timing subunit 333 is connected to the calculation subunit 340. The calculation subunit 340 pre-stores the first voltage value or obtains the first voltage value by sampling. The calculation subunit 340 receives the first sampled voltage and is used to output second voltage information. One input end of the second comparison subunit 335 is connected to the calculation subunit 340, and the other input end of the second comparison subunit 335 receives the second preset voltage information RefV2. The oil leakage control unit 310 is connected to the output end of the second comparison subunit 335.

[0602] In this embodiment, the calculation subunit 340 includes a second acquisition unit 342 and a divider 344. The second acquisition unit 342 is respectively connected to the airflow end SW and the second timing subunit 333. The divider 344 is respectively connected to the second acquisition unit 342, the second timing subunit 333, and the second comparison subunit 335. The first voltage value is stored in the divider 344.

[0603] During the oil leakage detection period, when the oil leakage control unit 310 controls the first current source 321 to charge the capacitive airflow sensor 210, the first voltage comparison subunit 334 receives the first sampling voltage in real time. Initially, the first sampling voltage is less than the first voltage value RefV1. When the first sampling voltage is charged to a value greater than or equal to the first voltage value, the output signal of the first voltage comparison subunit 334 is flipped. The first voltage comparison subunit 334 outputs a corresponding signal to the oil leakage control unit 310 and the second timing subunit 333. The oil leakage control unit 310 controls the first current source 321 to stop charging the airflow sensor 210. At the same time, the second timing subunit 333 is triggered to start timing. When the second timing subunit 333 times the second preset time length, the second timing subunit 333 outputs a second timing signal to the second acquisition unit 342 or the second comparison subunit 335. The second acquisition unit 342 obtains the first sampling voltage at this time. At this time, the first sampling voltage is the second voltage value. The divider 344 divides the first voltage value and the second voltage value to obtain second voltage information, and outputs it to the second comparison subunit 335. The second comparison subunit 335 compares the second voltage information and the second preset voltage information and outputs comparison result information. The oil leakage control unit 310 receives the comparison result information and determines whether the electronic cigarette is in an oil leakage state based on the comparison result information.

[0604] Tenth embodiment

[0605] Please refer to Figure 21, which is a circuit module diagram of the oil leakage detection unit 330 of the tenth embodiment of the present application. This embodiment is similar to the eighth embodiment, so the parts not described in this embodiment can refer to the eighth embodiment. The main difference between this embodiment and the eighth embodiment is that the time required for the first sampling voltage to discharge from the first voltage value to the second voltage value is timed, and whether the electronic cigarette is in an oil leakage state is determined based on the timed time.

[0606] Please refer to Figures 18 and 21. In this embodiment, the first current source 321 stops charging after charging the airflow sensor 210 for a first preset time, and at this time the first sampled voltage is a first voltage value, which is obtained by sampling. Thereafter, a second timing is performed on the time required for the first sampled voltage to drop from the first voltage value to the second voltage value, and the second timing is compared with the second preset time and comparison result information is output. The oil leakage control unit 310 determines whether the electronic cigarette is in an oil leakage state based on the comparison result information.

[0607] Specifically, when the leakage resistor RL is absent, the capacitive airflow sensor 210 only has its own leakage current and no other discharge path. The leakage current is very small, and the time required for the first sampling voltage to drop from the first voltage value to the second voltage value is very long, which means that the second timer will be very long. When the leakage resistor RL is present, the capacitive airflow sensor 210 has its own leakage current and also has a discharge branch path of the leakage resistor RL. The discharge current of the leakage resistor RL discharge branch is much greater than the leakage current of the airflow sensor 210 itself, and the time required for the first sampling voltage to drop from the first voltage value to the second voltage value is very short, which means that the second timer will be very short. The second timer is then compared with a pre-selected second preset timer. When the leakage resistor RL is present, the second timer will be less than the second preset timer. When the leakage resistor RL is absent, the second timer will be greater than or equal to the second preset timer. The comparison result information is then outputted, and the leakage control unit 310 can determine whether the electronic cigarette is leaking based on the received comparison result information.

[0608] In this embodiment, the oil leakage detection unit 330 includes a first timing subunit 332, a calculation subunit 340, a second comparison subunit 335, a second timing subunit 333, and a second duration determination subunit 336. One input of the second comparison subunit 335 is connected to the second voltage value, and the other input is connected to the first sampled voltage. The output of the second comparison subunit 335 is connected to the second timing subunit 333 (used as an example in the figure) or the second duration determination subunit 336. The second timing subunit 333 is connected to the second duration determination subunit 336, and the second duration determination subunit 336 is connected to the oil leakage control unit 310. When the second timing subunit 333 obtains information that the first sampled voltage is the first voltage value, that is, receives the first timing signal, the second timing unit starts the second timing. At the same time, the calculation subunit 340 calculates the second voltage value based on the first voltage value and outputs it. The second comparison subunit 335 obtains the first sampled voltage in real time. When the output signal of the second comparison subunit 335 reverses, the first sampled voltage discharges from the first voltage value to the second voltage value. The second timing subunit 333 receives this reversal signal and outputs the second timing to the second duration determination subunit 336. Alternatively, the second duration determination subunit 336 receives the second timing output by the second timing subunit 333. The second duration determination subunit 336 determines whether the second timing is less than the second preset duration. If the second timing is less than the second preset duration, the first comparison result information is output, indicating that the oil is leaking. If the second timing is greater than or equal to the second preset duration, the second comparison result information is output, indicating that th...

Claims

1. An oil leakage detection circuit for electronic cigarettes, characterized in that: include: A power supply terminal, a power ground terminal, an airflow terminal, and an atomization terminal, wherein the power supply terminal and the power ground terminal are respectively connected to the positive and negative electrodes of the battery, the airflow terminal is used to connect to one electrode of the capacitive airflow sensor, the power ground terminal is also used to connect to the other electrode of the capacitive airflow sensor, and the atomization terminal is used to connect to the heating element; In which, the oil leakage detection circuit also includes a first current source, an oil leakage detection unit and an oil leakage control unit. The first current source and the oil leakage detection unit are both connected to the airflow end, and the oil leakage control unit is connected to the oil leakage detection unit. The first current source is used to charge the capacitive airflow sensor through the airflow end. After charging for the oil leakage detection time, the oil leakage detection unit samples the voltage of the airflow end to obtain a first sampling voltage. The oil leakage detection unit compares the first sampling voltage with a first reference voltage and outputs comparison result information. The oil leakage control unit determines whether the electronic cigarette is in an oil leakage state based on the comparison result information.

2. The oil leakage detection circuit according to claim 1, characterized in that: The oil leakage detection unit includes a first voltage comparator, a first input end of the first voltage comparator is connected to a first sampling voltage, and a second input end of the first voltage comparator is connected to a first reference voltage. After charging for the oil leakage detection time, the first voltage comparator compares the first sampling voltage with the first reference voltage and outputs comparison result information.

3. The oil leakage detection circuit according to claim 2, characterized in that: The oil leakage control unit includes a third timing subunit, the input end of the third timing subunit is connected to the output end of the first voltage comparator, and the third timing subunit counts the time period during which the first sampling voltage is less than the first reference voltage after charging for the oil leakage detection time period. When the time counted by the third timing subunit is greater than or equal to the third time period, the third timing subunit outputs an oil leakage confirmation signal.

4. The oil leakage detection circuit according to claim 1, characterized in that: The oil leakage detection circuit includes a power switch, and the oil leakage control unit includes a first timing subunit and a logic control subunit, wherein the logic control subunit is respectively connected to the oil leakage detection unit, the first timing subunit, and the control end of the power switch, the first end of the power switch is connected to the power supply end or the power ground end, and the second end of the power switch is connected to the atomization end; and The first timing subunit is used to time the charging time. After the first timing subunit times the oil leakage detection time, it outputs a first timing signal to the logic control subunit. The logic control subunit receives the comparison result information output by the oil leakage detection unit. Or, The first timing subunit is also connected to the oil leakage detection unit. The first timing subunit is used to time the charging time. After the first timing subunit times the oil leakage detection time, it outputs a first timing signal to the oil leakage detection unit. The oil leakage detection unit compares the first sampling voltage with the first reference voltage and outputs the comparison result information to the logic control subunit.

5. The oil leakage detection circuit according to claim 1, characterized in that: The oil leakage detection circuit further includes a puff detection module and a charge-discharge switch. The puff detection module is connected to the airflow end and the oil leakage control unit, respectively. The puff detection module is used to detect the capacitance of the airflow sensor or the change in capacitance to determine whether the electronic cigarette is in a puffing state. The puff detection module can also control whether the charge-discharge switch is turned on. The first end of the charge-discharge switch is connected to the airflow end, and the second end of the charge-discharge switch is connected to the power ground terminal. Wherein, the charge and discharge switch remains disconnected during the oil leakage detection period.

6. The oil leakage detection circuit according to claim 5, characterized in that: The puff detection module samples the voltage at the airflow end in real time during a puff detection period to obtain a second sampled voltage. The puff detection module includes a second voltage comparison unit and a puff determination unit. The first input of the second voltage comparison unit is connected to the second sampled voltage, the second input of the second voltage comparison unit is connected to the second reference voltage, the output of the second voltage comparison unit is connected to the puff determination unit, and the puff determination unit is connected to the oil leakage control unit. The first current source is used to charge the capacitive airflow sensor through the airflow end during the oil leakage detection time period, wherein the oil leakage detection time period includes the oil leakage detection duration. The first current source is also used to charge the capacitive airflow sensor through the airflow end during the puff detection time period. During the puff detection time period, when the second sampling voltage is greater than or equal to the second reference voltage, the second voltage comparison unit controls the charge and discharge switch to be turned on to discharge the capacitive airflow sensor. When the second sampling voltage is less than the second reference voltage, the second voltage comparison unit controls the charge and discharge switch to be turned off.

7. The oil leakage detection circuit according to claim 6, characterized in that: The oil leakage detection circuit further includes a switch control unit, which is respectively connected to the output end of the second voltage comparison unit, the oil leakage control unit, and the control end of the charge-discharge switch. During the puff detection time period, the charge-discharge switch is controlled by the first voltage comparator. During the oil leakage detection duration of the oil leakage detection time period, the switch control unit controls the charge-discharge switch to remain disconnected.

8. The oil leakage detection circuit according to claim 5, characterized in that: The puff detection module samples the voltage at the airflow end in real time during a puff detection period to obtain a second sampled voltage. The puff detection module includes a second voltage comparison unit and a puff determination unit. The oil leakage detection circuit further includes a second current source. A first input terminal of the second voltage comparison unit is connected to the second sampled voltage, and a second input terminal thereof is connected to a second reference voltage. An output terminal of the second voltage comparison unit is connected to the puff determination unit, which is connected to the oil leakage control unit. The second current source is connected to the airflow end. The first current source is used to charge the capacitive airflow sensor through the airflow end during the oil leakage detection time period, wherein the oil leakage detection time period includes the oil leakage detection duration, and the second current source is used to charge the capacitive airflow sensor through the airflow end during the puff detection time period, and when the second sampling voltage is greater than or equal to the second reference voltage during the puff detection time period, the second voltage comparison unit controls the charging and discharging The switch is turned on to discharge the capacitive airflow sensor, and when the second sampling voltage is less than the second reference voltage, the second voltage comparison unit controls the charge and discharge switch to be turned off.

9. The oil leakage detection circuit according to claim 6 or 8, characterized in that: The oil leakage detection circuit includes a second switch unit, wherein two ends of the second switch unit are correspondingly connected to a power supply end and a power supply end of a second voltage comparison unit; the oil leakage control unit controls the second switch unit to be disconnected and cut off during the oil leakage detection time period so as to stop the second voltage comparison unit from working, thereby controlling the charge and discharge switch to be disconnected and cut off.

10. The oil leakage detection circuit according to claim 6 or 8, characterized in that: Each puff detection time period includes a plurality of charge and discharge cycles of the capacitive airflow sensors, the capacitor charge and discharge cycle includes a charging time period and a discharging time period, the charging time period is applicable to the second sampling voltage charging from less than a second reference voltage to greater than or equal to the second reference voltage, the discharging time period is applicable to the second sampling voltage discharging from greater than or equal to the second reference voltage to less than the second reference voltage, and the oil leakage detection duration is greater than or equal to 10 times the capacitor charge and discharge cycle; or, The charging current output to the airflow end during the oil leakage detection period is greater than or equal to 10 times the charging current output to the airflow end during the puff detection period.

11. The oil leakage detection circuit according to any one of claims 1 to 4, characterized in that: The first reference voltage includes multiple sub-reference voltages, and the multiple sub-reference voltages are different. The comparison result information correspondingly includes multiple sub-comparison result information. The oil leakage detection unit compares the first sampling voltage with the multiple sub-reference voltages to output corresponding comparison result information.

12. The oil leakage detection circuit according to any one of claims 1 to 4, characterized in that: The oil leakage detection time is greater than or equal to 1ms; or The oil leakage detection circuit is located on the same chip, the power supply end is a power supply pin, the power ground end is a power ground pin, the airflow end is an airflow pin, and the atomization end is an atomization pin.

13. A method for detecting oil leakage in an electronic cigarette, characterized in that: include: charging the capacitive airflow sensor via the airflow terminal, wherein the airflow terminal is used to connect to one electrode of the capacitive airflow sensor, and another electrode of the capacitive airflow sensor is used to be electrically connected to a power ground terminal; Triggering the first timing of the charging time; Determining whether the first timing is greater than or equal to the oil leakage detection time; If the judgment result is yes, the voltage at the airflow end is sampled to obtain a first sampling voltage, and the first sampling voltage is compared with a first reference voltage and comparison result information is output, and the comparison result information is received and it is determined whether the electronic cigarette is in an oil leakage state according to the comparison result information.

14. The oil leakage detection method according to claim 13, characterized in that: The step of judging whether the electronic cigarette is in an oil leakage state according to the comparison result information specifically includes: performing a third timing on a duration of the first comparison result information, wherein the first comparison result information indicates that the first sampling voltage is less than the first reference voltage; Determining whether the third timing is greater than or equal to the third duration; If the judgment result is yes, it is determined that the electronic cigarette is in an oil leakage state.

15. The oil leakage detection method according to claim 13, characterized in that: The first reference voltage includes a first sub-reference voltage and a second sub-reference voltage, wherein the first sub-reference voltage is less than the second sub-reference voltage; and the step of comparing the first sampled voltage with the first reference voltage and outputting comparison result information specifically includes: determining whether the first sampling voltage is less than a second sub-reference voltage; If the judgment result is yes, determining whether the first sampling voltage is less than the first sub-reference voltage; If the judgment result is yes, the first sub-comparison result information is output; If the judgment result is no, the second sub-comparison result information is output, wherein the second sub-comparison result information is different from the first sub-comparison result information, and the second sub-comparison result information and the first sub-comparison result information are used to represent different oil leakage levels of the electronic cigarette.

16. The oil leakage detection method according to any one of claims 13 to 15, characterized in that: The oil leakage detection method further comprises: During a time period for detecting whether the electronic cigarette is in an oil leakage state, the charge and discharge switch is controlled to remain disconnected, wherein a first end of the charge and discharge switch is connected to the airflow end, and a second end of the charge and discharge switch is connected to the power ground end.

17. The oil leakage detection method according to any one of claims 13 to 15, characterized in that: The oil leakage detection method further comprises: During the puff detection time period, the airflow end of the oil leakage detection circuit is used to detect whether the electronic cigarette is in the puff state, wherein the time period for detecting whether the electronic cigarette is in the oil leakage state is the oil leakage detection time period, and the oil leakage detection time period is different from the puff detection time period.

18. An oil leakage detection circuit, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the oil leakage detection method according to any one of claims 13 to 17 is implemented.

19. An oil leakage detection circuit applied to an electronic cigarette, characterized in that: include: A power supply terminal, a power ground terminal, an airflow terminal, and an atomization terminal, wherein the power supply terminal and the power ground terminal are respectively connected to the positive and negative electrodes of the battery, the airflow terminal is used to connect to one electrode of the capacitive airflow sensor, the power ground terminal is also used to connect to the other electrode of the capacitive airflow sensor, and the atomization terminal is used to connect to the heating element; In which, the oil leakage detection circuit also includes an oil leakage detection unit and an oil leakage control unit. The oil leakage detection unit is connected to the airflow end, and the oil leakage detection unit is used to obtain first sampling resistance information through the airflow end, wherein the first sampling resistance information is used to characterize the resistance between the airflow end and the power ground end. The oil leakage detection unit compares the first sampling resistance information with the first reference resistance information and outputs comparison result information. The oil leakage control unit determines whether the electronic cigarette is in an oil leakage state based on the comparison result information.

20. The oil leakage detection circuit according to claim 19, characterized in that: The oil leakage detection circuit also includes a first current source, which is connected to the airflow end. The first current source is used to charge the capacitive airflow sensor through the airflow end. After charging for the oil leakage detection period, the oil leakage detection unit collects the voltage at the airflow end to obtain a first sampling voltage, and calculates the first sampling voltage and first current information to obtain first sampling resistance information, wherein the first current information is used to represent the current output by the first current source.

21. The oil leakage detection circuit according to claim 20, characterized in that: The oil leakage detection unit includes a divider and a first resistance comparator, wherein a first input terminal of the divider is connected to a first sampling voltage, a second input terminal of the divider is connected to first current information, and the divider outputs first sampling resistance information. A first input terminal of the first resistance comparator is connected to the first sampling resistance information, a second input terminal of the first resistance comparator is connected to first reference resistance information, and the first resistance comparator compares the first sampling resistance information with the first reference resistance information and outputs comparison result information.

22. The oil leakage detection circuit according to claim 19, characterized in that: The oil leakage detection unit includes a first voltage-dividing resistor, a second voltage-dividing resistor, a third voltage-dividing resistor, a fourth voltage-dividing resistor, and a pressure difference comparison subunit; wherein, the first end of the first voltage-dividing resistor is connected to the power supply end, the second end of the first voltage-dividing resistor is connected to the airflow end, the airflow end is connected to the first end of the third voltage-dividing resistor, and the second end of the third voltage-dividing resistor is connected to the power ground end; the first end of the second voltage-dividing resistor is connected to the first end of the first voltage-dividing resistor, the second end of the second voltage-dividing resistor is connected to the first end of the fourth voltage-dividing resistor, and the second end of the fourth voltage-dividing resistor is connected to the second end of the third voltage-dividing resistor, wherein the resistance ratio of the first voltage-dividing resistor to the third voltage-dividing resistor and the resistance ratio of the second voltage-dividing resistor to the fourth voltage-dividing resistor are equal; the pressure difference comparison subunit is connected to the airflow end to obtain a first voltage-dividing value, the pressure difference comparison subunit is connected to the first end of the fourth voltage-dividing resistor to obtain a second voltage-dividing value, the pressure difference comparison subunit subtracts the first voltage-dividing value and the second voltage-dividing value to obtain first sampling resistance information, and the pressure difference comparison subunit further receives first reference resistance information, compares the first sampling resistance information with the first reference resistance information, and outputs comparison result information.

23. The oil leakage detection circuit according to claim 22, characterized in that: The oil leakage detection circuit also includes a first switch unit and a third switch unit, wherein the first end of the first switch unit is connected to the power supply end, the second end of the first switch unit is connected to the first end of the first voltage-dividing resistor and the first end of the second voltage-dividing resistor respectively, the first end of the third switch unit is connected to the airflow end, the second end of the third switch unit is connected to the first end of the third voltage-dividing resistor, and the control end of the first switch unit and the control end of the third switch unit are both connected to the oil leakage control unit. During the time period for detecting whether the electronic cigarette is in an oil leakage state, the oil leakage control unit controls the first switch unit and the third switch unit to be turned on.

24. The oil leakage detection circuit according to claim 20, characterized in that: The oil leakage detection circuit includes a power switch, and the oil leakage control unit includes a first timing subunit and a logic control subunit, wherein the logic control subunit is respectively connected to the oil leakage detection unit, the first timing subunit, and the control end of the power switch, the first end of the power switch is connected to the power supply end or the power ground end, and the second end of the power switch is connected to the atomization end; and The first timing subunit is used to time the charging time. After the first timing subunit times the oil leakage detection time, it outputs a first timing signal to the logic control subunit. The logic control subunit receives the comparison result information output by the oil leakage detection unit. Or, The first timing subunit is also connected to the oil leakage detection unit. The first timing subunit is used to time the charging time. After the first timing subunit times the oil leakage detection time, it outputs a first timing signal to the oil leakage detection unit. The oil leakage detection unit compares the first sampling resistance information with the first reference resistance information and outputs the comparison result information to the logic control subunit.

25. The oil leakage detection circuit according to claim 20, characterized in that: The oil leakage control unit includes a third timing subunit and a logic control subunit. The input end of the third timing subunit is connected to the output end of the oil leakage detection unit, and the output end of the third timing subunit is connected to the logic control subunit. The third timing subunit times the duration during which the first sampling resistance information is less than the first reference resistance information after charging for the oil leakage detection time. When the timer counted by the third timing subunit is greater than or equal to the third time, the third timing subunit outputs an oil leakage confirmation signal.

26. The oil leakage detection circuit according to any one of claims 19-21, 24, and 25, characterized in that: The first sampling resistance information includes resistance and voltage, and the first reference resistance information corresponds to the first sampling resistance information.

27. The oil leakage detection circuit according to claim 20, characterized in that: The oil leakage detection circuit further includes a puff detection module and a charge-discharge switch. The puff detection module is connected to the airflow end and the oil leakage control unit, respectively. The puff detection module is used to detect the capacitance of the airflow sensor or the change in capacitance to determine whether the electronic cigarette is in a puffing state. The puff detection module can also control whether the charge-discharge switch is turned on. The first end of the charge-discharge switch is connected to the airflow end, and the second end of the charge-discharge switch is connected to the power ground terminal. Wherein, during the period of time when detecting whether the electronic cigarette is in an oil leakage state, the charge and discharge switch remains disconnected.

28. The oil leakage detection circuit according to claim 27, characterized in that: The puff detection module samples the voltage at the airflow end in real time during a puff detection period to obtain a second sampled voltage. The puff detection module includes a second voltage comparison unit and a puff determination unit. The first input of the second voltage comparison unit is connected to the second sampled voltage, the second input of the second voltage comparison unit is connected to the second reference voltage, the output of the second voltage comparison unit is connected to the puff determination unit, and the puff determination unit is connected to the oil leakage control unit. The first current source is used to charge the capacitive airflow sensor through the airflow end during the oil leakage detection time period, wherein the oil leakage detection time period includes the oil leakage detection duration. The first current source is also used to charge the capacitive airflow sensor through the airflow end during the puff detection time period. During the puff detection time period, when the second sampling voltage is greater than or equal to the second reference voltage, the second voltage comparison unit controls the charge and discharge switch to be turned on to discharge the capacitive airflow sensor. When the second sampling voltage is less than the second reference voltage, the second voltage comparison unit controls the charge and discharge switch to be turned off.

29. The oil leakage detection circuit according to claim 28, characterized in that: The oil leakage detection circuit further includes a switch control unit, which is respectively connected to the output end of the second voltage comparison unit, the oil leakage control unit, and the control end of the charge-discharge switch. During the puff detection time period, the charge-discharge switch is controlled by the first resistor comparator. During the oil leakage detection duration of the oil leakage detection time period, the switch control unit controls the charge-discharge switch to remain disconnected.

30. The oil leakage detection circuit according to claim 27, characterized in that: The puff detection module samples the voltage at the airflow end in real time during a puff detection period to obtain a second sampled voltage. The puff detection module includes a second voltage comparison unit and a puff determination unit. The oil leakage detection circuit further includes a second current source. A first input terminal of the second voltage comparison unit is connected to the second sampled voltage, and a second input terminal thereof is connected to a second reference voltage. An output terminal of the second voltage comparison unit is connected to the puff determination unit, which is connected to the oil leakage control unit. The second current source is connected to the airflow end. The first current source is used to charge the capacitive airflow sensor through the airflow end during the oil leakage detection time period, wherein the oil leakage detection time period includes the oil leakage detection duration. The second current source is used to charge the capacitive airflow sensor through the airflow end during the puff detection time period. During the puff detection time period, when the second sampling voltage is greater than or equal to the second reference voltage, the second voltage comparison unit controls the charge and discharge switch to turn on to discharge the capacitive airflow sensor. When the second sampling voltage is less than the second reference voltage, the second voltage comparison unit controls the charge and discharge switch to turn off.

31. The oil leakage detection circuit according to claim 28 or 30, characterized in that: The oil leakage detection circuit includes a second switch unit, wherein two ends of the second switch unit are correspondingly connected to a power supply end and a power supply end of a second voltage comparison unit; the oil leakage control unit controls the second switch unit to be disconnected and cut off during the oil leakage detection time period so as to stop the second voltage comparison unit from working, thereby controlling the charge and discharge switch to be disconnected and cut off.

32. The oil leakage detection circuit according to claim 28 or 30, characterized in that: Each puff detection time period includes a charge and discharge cycle of multiple capacitive airflow sensors, the charge and discharge cycle includes a charging time period and a discharging time period, the charging time period is applicable to the second sampling voltage charging from less than a second reference voltage to greater than or equal to the second reference voltage, the discharging time period is applicable to the second sampling voltage discharging from greater than or equal to the second reference voltage to less than the second reference voltage, the oil leakage detection time period is greater than or equal to 10 times the charge and discharge cycle, or, The charging current output to the airflow end during the oil leakage detection period is greater than or equal to 10 times the charging current output to the airflow end during the puff detection period.

33. The oil leakage detection circuit according to any one of claims 19 to 25, characterized in that: The first reference resistance information includes multiple sub-reference resistance information, and the multiple sub-reference resistance information are different. The comparison result information correspondingly includes multiple sub-comparison result information. The oil leakage detection unit compares the first sampling resistance information with the multiple sub-reference resistance information to output corresponding comparison result information.

34. The oil leakage detection circuit according to any one of claims 19 to 25, characterized in that: The oil leakage detection time is greater than or equal to 1ms; or The oil leakage detection circuit is located on the same chip, the power supply end is a power supply pin, the power ground end is a power ground pin, the airflow end is an airflow pin, and the atomization end is an atomization pin.

35. A method for detecting oil leakage in an electronic cigarette, characterized in that: include: Obtaining first sampling resistance information through the airflow end of the oil leakage detection circuit, wherein the first sampling resistance information is used to represent the resistance between the airflow end and the power ground end. The oil leakage detection circuit includes a power supply end, a power ground end, an airflow end, and an atomization end. The power supply end and the power ground end are respectively connected to the positive and negative poles of the battery. The airflow end is used to connect to one electrode of a capacitive airflow sensor, the power ground end is also used to connect to the other electrode of the capacitive airflow sensor, and the atomization end is used to connect to a heating element. Comparing the first sampling resistance information with the first reference resistance information and outputting comparison result information; The comparison result information is received and whether the electronic cigarette is in an oil leakage state is determined according to the comparison result information.

36. The oil leakage detection method according to claim 35, characterized in that: The step of obtaining the first sampling resistance information through the airflow end of the oil leakage detection circuit specifically includes: charging the capacitive airflow sensor via the airflow terminal; Triggering the first timing of the charging time; Determining whether the first timing is greater than or equal to the oil leakage detection time; If the judgment result is yes, the voltage at the airflow end is sampled to obtain a first sampling voltage, and the first sampling voltage and first current information are calculated to obtain first sampling resistance information, wherein the first current information is used to represent a charging current for charging the airflow sensor.

37. The oil leakage detection method according to claim 36, characterized in that: The first sampling resistance information is voltage or resistance.

38. The oil leakage detection method according to claim 35, characterized in that: The step of obtaining the first sampling resistance information through the airflow end of the oil leakage detection circuit specifically includes: obtaining a first divided voltage value through an airflow end, wherein the airflow end is respectively connected to the second end of the first resistor and the first end of the third resistor, and the first resistor and the third resistor are connected in series; obtaining a second divided voltage value through a second divided voltage sampling point, wherein the second divided voltage sampling point is respectively connected to the second end of the second resistor and the first end of the fourth resistor, the second resistor and the fourth resistor are connected in series, the first end of the second resistor is connected to the first end of the first resistor, the second end of the fourth resistor is connected to the second end of the third resistor, and the resistance ratio of the second resistor to the fourth resistor is equal to the resistance ratio of the first resistor to the third resistor; The first voltage division value and the second voltage division value are subtracted to obtain second sampling resistance information.

39. The oil leakage detection method according to claim 35, characterized in that: The step of judging whether the electronic cigarette is in an oil leakage state according to the comparison result information specifically includes: performing a third timing on a duration of the first comparison result information, wherein the first comparison result information indicates that the first sampling resistance information is smaller than the first reference resistance information; Determining whether the third timing is greater than or equal to the third duration; If the judgment result is yes, it is determined that the electronic cigarette is in an oil leakage state.

40. The oil leakage detection method according to claim 35, characterized in that: The first reference resistance information includes first preset sub-reference resistance information and second preset sub-reference resistance information, wherein the first preset sub-reference resistance information is smaller than the second preset sub-reference resistance information; and the step of comparing the first sampling resistance information with the first reference resistance information and outputting comparison result information specifically includes: Determining whether the first sampling resistance information is less than the second preset sub-reference resistance information; If the judgment result is yes, determining whether the first sampling resistance information is less than the first preset sub-reference resistance information; If the judgment result is yes, the first sub-comparison result information is output; If the judgment result is no, the second sub-comparison result information is output, wherein the second sub-comparison result information is different from the first sub-comparison result information, and the second sub-comparison result information and the first sub-comparison result information are used to represent different oil leakage levels of the electronic cigarette.

41. The oil leakage detection method according to any one of claims 35 to 40, characterized in that: The oil leakage detection method further comprises: During a time period for detecting whether the electronic cigarette is in an oil leakage state, the charge and discharge switch is controlled to remain disconnected, wherein a first end of the charge and discharge switch is connected to the airflow end, and a second end of the charge and discharge switch is connected to the power ground end.

42. An oil leakage detection circuit, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the oil leakage detection method according to any one of claims 35 to 41 is implemented.

43. An oil leakage detection circuit applied to an electronic cigarette, characterized in that: include: A power supply terminal, a power ground terminal, an airflow terminal, and an atomization terminal, wherein the power supply terminal and the power ground terminal are respectively connected to the positive and negative electrodes of the battery, the airflow terminal is used to connect to one electrode of the capacitive airflow sensor, the power ground terminal is also used to connect to the other electrode of the capacitive airflow sensor, and the atomization terminal is used to connect to the heating element; The oil leakage detection circuit includes an oil leakage detection unit, an oil leakage control unit, and a power switch. The oil leakage detection unit is connected to the airflow end to sample and obtain a first sampling voltage. The oil leakage detection unit is also connected to the oil leakage control unit. The oil leakage control unit is connected to the control end of the power switch. One end of the power switch is connected to the power supply end or the power ground end, and the other end of the power switch is connected to the atomization end. Among them, the oil leakage detection unit is used to discharge the first sampling voltage from the first voltage value to the second voltage value after a second preset time, and calculate the second voltage information based on the first voltage value and the second voltage value. The oil leakage detection unit is also used to compare the second voltage information with the second preset voltage information and output the comparison result information. The oil leakage control unit is used to determine whether the electronic cigarette is in an oil leakage state according to the comparison result information.

44. The oil leakage detection circuit according to claim 43, characterized in that: The oil leakage detection circuit includes a first current source connected to the airflow terminal for charging the airflow sensor during the oil leakage detection period; The oil leakage detection unit includes a first timing subunit, a calculation subunit, a second timing subunit, and a second comparison subunit, wherein the first timing subunit is connected to the calculation subunit and the second timing subunit respectively, the calculation subunit is used to receive the first sampled voltage, the second timing subunit is connected to the calculation subunit or the second comparison subunit, one input end of the second comparison subunit is connected to the calculation subunit, the other input end thereof is connected to the second voltage information, and the output end thereof is connected to the oil leakage control unit; Among them, the first current source is used to charge the airflow sensor and trigger the first timing subunit to perform a first timing of the charging time. When the first timing reaches the first preset time, the first current source stops charging the airflow sensor, and triggers the calculation subunit to obtain the first sampling voltage as a first voltage value, and triggers the second timing subunit to perform a second timing of the discharge time. When the second timing reaches the second preset time, the calculation subunit obtains the first sampling voltage as a second voltage value. The calculation subunit calculates the second voltage information based on the first voltage value and the second voltage value and outputs it to the second comparison subunit. The second comparison subunit compares the second voltage information with the second preset voltage information and outputs the comparison result information.

45. The oil leakage detection circuit according to claim 43, characterized in that: The oil leakage detection circuit includes a first current source connected to the airflow terminal for charging the airflow sensor during the oil leakage detection period; The oil leakage detection unit includes a first voltage comparison subunit, a calculation subunit, a second timing subunit, and a second comparison subunit, wherein one input end of the first voltage comparison subunit is used to receive a first sampling voltage, and the other input end is used to receive a preset first voltage. value, an output end of which is connected to the second timing subunit, the calculation subunit is further used to receive the first sampled voltage, the second timing subunit is further connected to the calculation subunit or the second comparison subunit, one input end of the second comparison subunit is connected to the calculation subunit, the other input end thereof is connected to the second voltage information, and the output end thereof is connected to the oil leakage control unit; Among them, the first current source is used to charge the airflow sensor, and when the first sampling voltage reaches the first voltage value, the second timing sub-unit is triggered to perform a second timing of the discharge time, and the first current source stops charging the airflow sensor. When the second timing reaches the second preset time, the calculation sub-unit obtains the first sampling voltage as the second voltage value. The calculation sub-unit calculates the second voltage information based on the first voltage value and the second voltage value obtained by pre-storage or sampling and outputs it to the second comparison sub-unit. The second comparison sub-unit compares the second voltage information with the second preset voltage information and outputs the comparison result information.

46. ​​The oil leakage detection circuit according to claim 44 or 45, characterized in that: The calculation subunit includes a subtractor, the subtractor receives a first voltage value and a second voltage value, and subtracts the first voltage value from the second voltage value to obtain second voltage information; or, The oil leakage detection circuit includes a first switch unit, a first end of the first switch unit is connected to a power supply end, a second end of the first switch unit is electrically connected to a first current source, and a control end of the first switch unit is connected to an oil leakage control unit; when the oil leakage control unit controls the first switch unit to be turned on, the first current source is used to charge the airflow sensor; when the oil leakage control unit controls the first switch unit to be turned off, the first current source is used to stop charging the airflow sensor.

47. The oil leakage detection circuit according to any one of claims 43 to 45, characterized in that: The second voltage information is a voltage difference between the first voltage value and the second voltage value, a voltage ratio between the first voltage value and the second voltage value, or a ratio of the voltage difference to the first sampling voltage, and the second preset voltage information corresponds to the second voltage information.

48. The oil leakage detection circuit according to any one of claims 43 to 45, characterized in that: The oil leakage detection circuit also includes a charge and discharge switch, one end of which is connected to the airflow end, and the other end of which is connected to the power ground end. During the period of time when the electronic cigarette is detecting whether it is in an oil leakage state, the charge and discharge switch remains disconnected.

49. The oil leakage detection circuit according to claim 48, characterized in that: The oil leakage detection circuit further includes a third voltage comparison unit and a suction judgment unit, wherein one input end of the third voltage comparison unit is connected to the airflow end to sample and obtain a third sampling voltage, and another input end of the third voltage comparison unit is connected to a preset third reference voltage. The output end of the third voltage comparison unit is respectively connected to the suction judgment unit and the control end of the charge and discharge switch, and the output end of the suction judgment is connected to the oil leakage control unit; The oil leakage detection circuit also includes a second switch unit and a second current source, wherein the first end of the second switch unit is connected to the power supply end, the second end of the second switch unit is respectively connected to the second current source and the power supply end of the third voltage comparison unit, and the control end of the second switch unit is connected to the oil leakage control unit; the second current source is connected to the airflow end for charging the airflow sensor during the puff detection time period, and the oil leakage control unit controls the second switch unit to turn on during the puff detection time period, and when the third sampling voltage is less than the third reference voltage, the third voltage comparison unit controls the charge and discharge switch to turn off, and when the third sampling voltage is greater than or equal to the third reference voltage, the third voltage comparison unit controls the charge and discharge switch to turn on, and during the time period for detecting whether the electronic cigarette is in an oil leakage state, the oil leakage control unit controls the second switch unit to turn off.

50. The oil leakage detection circuit according to claim 48, characterized in that: The oil leakage detection circuit further includes a third voltage comparison unit and a suction judgment unit, wherein one input end of the third voltage comparison unit is connected to the airflow end to sample and obtain a third sampling voltage, another input end of the third voltage comparison unit is connected to a preset third reference voltage, an output end of the third voltage comparison unit is connected to the suction judgment unit, and an output end of the suction judgment unit is connected to the oil leakage control unit; The oil leakage detection circuit also includes a switch control unit, one input end of the switch control unit is connected to the output end of the third voltage comparison unit, another input end of the switch control unit is connected to the oil leakage control unit, and the output end of the switch control unit is connected to the control end of the charge and discharge switch unit. During the puff detection period, the charge and discharge switch is controlled by the output signal of the third voltage comparison unit. During the period for detecting whether the electronic cigarette is in an oil leakage state, the oil leakage control unit controls the charge and discharge switch to be turned off.

51. An oil leakage detection circuit applied to an electronic cigarette, characterized in that: include: A power supply terminal, a power ground terminal, an airflow terminal, and an atomization terminal, wherein the power supply terminal and the power ground terminal are respectively connected to the positive and negative poles of the battery, the airflow terminal is used to connect to one electrode of the capacitive airflow sensor, the power ground terminal is also used to connect to the other electrode of the capacitive airflow sensor, and the atomization terminal is used to connect to the heating element; The oil leakage detection circuit includes an oil leakage detection unit, an oil leakage control unit, and a power switch. The oil leakage detection unit is connected to the airflow end to sample and obtain a first sampling voltage. The oil leakage detection unit is also connected to the oil leakage control unit. The oil leakage control unit is connected to the control end of the power switch. One end of the power switch is connected to the power supply end or the power ground end, and the other end of the power switch is connected to the atomization end. Among them, the oil leakage detection unit is used to perform a second timing on the discharge time of the first sampling voltage at the first voltage value. When the first sampling voltage is discharged to the second voltage value, the oil leakage detection unit is also used to compare the second timing with the second preset time and output comparison result information. The oil leakage control unit is used to determine whether the electronic cigarette is in an oil leakage state based on the comparison result information.

52. The oil leakage detection circuit according to claim 51, characterized in that: The oil leakage detection unit is further configured to output second comparison result information when the second timing reaches a tenth preset time length and the first sampling voltage has not discharged to a second voltage value, and the oil leakage control unit is configured to determine that the electronic cigarette is not in an oil leakage state according to the second comparison result information.

53. The oil leakage detection circuit according to claim 51, characterized in that: The oil leakage detection circuit includes a first current source connected to the airflow terminal for charging the airflow sensor during the oil leakage detection period; The oil leakage detection unit includes a first timing subunit, a calculation subunit, a second timing subunit, a second comparison subunit, and a second duration judgment subunit, wherein the first timing subunit is connected to the calculation subunit and the second timing subunit respectively, the calculation subunit is used to receive a first sampled voltage, one input end of the second comparison subunit is connected to the calculation subunit to obtain a second voltage value, another input end of the second comparison subunit is connected to the first sampled voltage, and an output end of the second comparison subunit is connected to the second timing subunit or the second duration judgment subunit, one input end of the second duration judgment subunit is connected to the second timing subunit, another input end of the second comparison subunit is connected to the second preset duration, and an output end of the second comparison subunit is connected to the oil leakage control unit; Among them, the first current source is used to charge the airflow sensor and trigger the first timing subunit to perform a first timing of the charging time. When the first timing reaches the first preset time, the first current source stops charging the airflow sensor, and triggers the calculation subunit to obtain the first sampling voltage as the first voltage value, and triggers the second timing subunit to perform a second timing of the discharge time. The calculation subunit calculates the second voltage value based on the first voltage value and outputs it to the second comparison subunit. When the second comparison subunit determines that the first sampling voltage drops from the first voltage value to the second voltage value, the second time judgment subunit compares the second timing with the second preset time and outputs the comparison result information.

54. The oil leakage detection circuit according to claim 51, characterized in that: The oil leakage detection circuit includes a first current source connected to the airflow terminal for charging the airflow sensor during the oil leakage detection period; The oil leakage detection unit includes a first voltage comparison subunit, a second timing subunit, a second comparison subunit, and a second duration judgment subunit, wherein one input end of the first voltage comparison subunit is connected to the first sampling voltage, its second input end is connected to the preset first voltage value, and its output end is connected to the second timing subunit; one input end of the second comparison subunit is connected to the first sampling voltage, its second input end is connected to the preset second voltage value, and its output end is connected to the second timing subunit or the second duration judgment subunit; one input end of the second duration judgment subunit is connected to the second timing subunit, and the other input end is connected to the second preset duration, and its output end is connected to the oil leakage control unit; Among them, the first current source is used to charge the airflow sensor. When the first sampling voltage reaches the first voltage value, the second timing subunit is triggered to perform a second timing of the discharge time, and the first current source stops charging the airflow sensor. When the second comparison subunit determines that the first sampling voltage drops from the first voltage value to the second voltage value, the second time judgment subunit compares the second timing with the second preset time and outputs the comparison result information.

55. A method for detecting oil leakage in an electronic cigarette, characterized in that: include: receiving information that a first sampled voltage is a first voltage value, wherein the first sampled voltage is obtained by sampling an airflow end, the airflow end is used to be connected to an electrode of a capacitive airflow sensor, and another electrode of the capacitive airflow sensor is used to be electrically connected to a power ground terminal; Triggering a second timing of the discharge duration; Determining whether the second timing is greater than or equal to a second preset duration; If the judgment result is yes, information that the first sampled voltage is the second voltage value is obtained, and second voltage information is obtained by calculation based on the first voltage value and the second voltage value; Comparing the second voltage information with the second preset voltage information and outputting comparison result information; Whether the electronic cigarette is in an oil leakage state is determined according to the comparison result.

56. The oil leakage detection method according to claim 55, characterized in that: Before the step of receiving information that the first sampled voltage is a first voltage value, the method further includes: During the oil leakage detection period, the capacitive airflow sensor is charged through the airflow end; Firstly, the charging time is measured; Determining whether the first time duration is greater than or equal to a first preset time duration; If the judgment result is yes, the charging of the capacitive airflow sensor is stopped, and information indicating that the first sampling voltage is a first voltage value is output.

57. The oil leakage detection method according to claim 55, characterized in that: Before the step of receiving information that the first sampled voltage is a first voltage value, the method further includes: During the oil leakage detection period, the capacitive airflow sensor is charged through the airflow end; sampling the voltage at the airflow end in real time to obtain a first sampling voltage; Determining whether the first sampling voltage is greater than or equal to a first voltage value; If the judgment result is yes, the charging of the capacitive airflow sensor is stopped, and information indicating that the first sampling voltage is a first voltage value is output.

58. The oil leakage detection method according to any one of claims 55 to 57, characterized in that: The comparison result information includes first comparison result information, the first comparison result information is used to indicate an oil leakage state, the first comparison result information includes first sub-comparison result information and second sub-comparison result information, the second preset voltage information includes first preset sub-voltage information and second preset sub-voltage information, and the first preset sub-voltage information is less than the second preset sub-voltage information; the step of comparing the second voltage information with the second preset voltage information and outputting the comparison result information specifically includes: Determining whether the second voltage information is greater than the first preset sub-voltage information; If the judgment result is yes, determining whether the second voltage information is greater than the second preset sub-voltage information; If the judgment result is yes, output the first sub-comparison result information indicating that the electronic cigarette is in the liquid leakage state; If the judgment result is no, the second sub-comparison result information indicating that the electronic cigarette is in an oil leakage state is output.

59. The oil leakage detection method according to any one of claims 55 to 57, characterized in that: The oil leakage detection method further includes: controlling a charge-discharge switch to remain disconnected during a time period for detecting whether the electronic cigarette is in an oil leakage state, so as to stop the capacitive airflow sensor from discharging through the charge-discharge switch, wherein one end of the charge-discharge switch is connected to the airflow end, and the other end of the charge-discharge switch is connected to the power ground end.

60. The oil leakage detection method according to claim 59, characterized in that: The oil leakage detection method further comprises: charging the capacitive airflow sensor through the airflow terminal during the puff detection period; Sampling the voltage at the airflow end in real time to obtain a third sampling voltage; determining whether the third sampling voltage is greater than or equal to a third reference voltage; If the judgment result is yes, counting is performed to obtain a current count value, and the charge-discharge switch is controlled to be turned on to discharge, wherein a first end of the charge-discharge switch is connected to the airflow end, and a second end of the charge-discharge switch is connected to the power ground end; If the judgment result is no, the charge and discharge switch is controlled to be disconnected to continue charging; determining whether current counting information is within a preset third counting range after a puff detection period, wherein the current counting information is obtained based on a current counting value; If the judgment result is yes, information indicating that the electronic cigarette is in a puffing state is output; wherein the puffing detection time period is different from the time period for detecting whether the electronic cigarette is in an oil leakage state.

61. A method for detecting oil leakage in an electronic cigarette, characterized in that: include: receiving information that a first sampled voltage is a first voltage value, wherein the first sampled voltage is obtained by sampling an airflow end, the airflow end is used to be connected to an electrode of a capacitive airflow sensor, and another electrode of the capacitive airflow sensor is used to be electrically connected to a power ground terminal; Triggering a second timing of the discharge duration; Determining whether the first sampling voltage drops to a second voltage value; If the judgment result is yes, the second timing is compared with the first preset time length and the comparison result information is output; Whether the electronic cigarette is in an oil leakage state is determined according to the comparison result.

62. The oil leakage detection method according to claim 61, characterized in that: Before the step of receiving information that the first sampled voltage is a first voltage value, the method further includes: During the oil leakage detection period, the capacitive airflow sensor is charged through the airflow end; Firstly, the charging time is measured; Determining whether the first time duration is greater than or equal to a first preset time duration; If the judgment result is yes, the charging of the capacitive airflow sensor is stopped, and information indicating that the first sampling voltage is a first voltage value is output.

63. The oil leakage detection method according to claim 61, characterized in that: Before the step of receiving information that the first sampled voltage is a first voltage value, the method further includes: During the oil leakage detection period, the capacitive airflow sensor is charged through the airflow end; sampling the voltage at the airflow end in real time to obtain a first sampling voltage; Determining whether the first sampling voltage is greater than or equal to a first voltage value; If the judgment result is yes, the charging of the capacitive airflow sensor is stopped, and information indicating that the first sampling voltage is a first voltage value is output.

64. An oil leakage detection circuit, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the oil leakage detection method according to any one of claims 55 to 63 is implemented.

65. A method for detecting oil leakage in an electronic cigarette, characterized in that: include: During the puff detection period, the airflow end of the oil leakage detection circuit is used to detect whether the electronic cigarette is in the puff state, wherein the oil leakage detection circuit includes a power supply end, a power ground end, an airflow end, and an atomization end, wherein the power supply end and the power ground end are respectively connected to the positive and negative poles of the battery, the airflow end is used to be connected to one electrode of the capacitive airflow sensor, the power ground end is also used to be connected to the other electrode of the capacitive airflow sensor, and the atomization end is used to be connected to the heating element; During the oil leakage detection period, the airflow end is used to detect whether the electronic cigarette is in an oil leakage state; The oil leakage detection circuit performs oil leakage detection and suction detection with a first time period as a cycle, wherein the first time period includes a suction detection time period and an oil leakage detection time period, and the suction detection time period and the oil leakage detection time period are different.

66. The oil leakage detection method according to claim 65, characterized in that: The first duration also includes a sleep period, and the oil leakage detection method further includes: During the sleep period, the detection of whether the electronic cigarette is in a puffing state and whether it is in an oil leakage state is stopped.

67. The oil leakage detection method according to claim 66, characterized in that: The oil leakage detection circuit includes a standby state and a working state. In the standby state, the first time length includes a sleep period, and in the working state, the first time length does not include a sleep period.

68. The oil leakage detection method according to claim 67, characterized in that: During the sleep period of the standby state, all units of the oil leakage detection circuit stop working except for the unit for timing the sleep period.

69. The oil leakage detection method according to claim 67, characterized in that: The oil leakage detection method includes: detecting that the electronic cigarette is in the puffing state during the puff detection period of the standby state and detecting that the electronic cigarette is not in the oil leakage state during the oil leakage detection period of the standby state, and then controlling the oil leakage detection circuit to switch from the standby state to the working state.

70. The oil leakage detection method according to claim 67, characterized in that: The oil leakage detection method includes: triggering a third timing of the duration of time when the electronic cigarette is not in the puffing state when it is detected during the puff detection time period of the working state; and controlling the oil leakage detection circuit to switch from the working state to the standby state when the third timing is greater than or equal to a third preset duration.

71. The oil leakage detection method according to claim 65, characterized in that: The first duration includes a plurality of suction detection time periods and an oil leakage detection time period.

72. The oil leakage detection method according to claim 65, characterized in that: The suction detection time period is set adjacent to the oil leakage detection time period; or, The duration of the oil leakage detection period is greater than or equal to 100 μs and less than 200 ms; or, The duration of the puff detection period is greater than or equal to 10ms and less than 200ms; or, The first duration is less than or equal to 1 second and greater than 30 ms.

73. The oil leakage detection method according to claim 65, characterized in that: The steps of detecting whether the electronic cigarette is in a state of oil leakage through the airflow end during the oil leakage detection period specifically include: charging the capacitive airflow sensor through the airflow end during the oil leakage detection period; Triggering the first timing of the charging time; Determining whether the first timing is greater than or equal to the oil leakage detection time; If the judgment result is yes, the voltage at the airflow end is sampled to obtain a first sampling voltage, and the first sampling voltage is compared with a first reference voltage and comparison result information is output, and the comparison result information is received and it is determined whether the electronic cigarette is in an oil leakage state according to the comparison result information.

74. An oil leakage detection circuit, characterized in that It includes a power supply terminal, a power ground terminal, an airflow terminal, and an atomization terminal, wherein the power supply terminal and the power ground terminal are respectively connected to the positive and negative poles of the battery, the airflow terminal is used to connect to one electrode of the capacitive airflow sensor, the power ground terminal is also used to connect to the other electrode of the capacitive airflow sensor, and the atomization terminal is used to connect to the heating element; The oil leakage detection circuit also includes: An oil leakage detection control module, which is used to detect whether the electronic cigarette is leaking oil through the airflow end during the oil leakage detection period; a puff detection module, which is used to detect whether the electronic cigarette is puffed through the airflow end during the puff detection period; The oil leakage detection circuit performs oil leakage detection and suction detection with a first time period as a cycle, wherein the first time period includes a suction detection time period and an oil leakage detection time period, and the suction detection time period and the oil leakage detection time period are different.

75. The oil leakage detection circuit according to claim 74, characterized in that: The oil leakage detection circuit is located on the same chip, the power supply end is a power supply pin, the power ground end is a power ground pin, the airflow end is an airflow pin, and the atomization end is an atomization pin.

76. An oil leakage detection circuit, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the oil leakage detection method according to any one of claims 65 to 73 is implemented.

77. A method for detecting oil leakage in an electronic cigarette, characterized in that: include: During the puff detection period, the airflow end of the oil leakage detection circuit is used to detect whether the electronic cigarette is in the puff state, wherein the oil leakage detection circuit includes a power supply end, a power ground end, an airflow end, and an atomization end, wherein the power supply end and the power ground end are respectively connected to the positive and negative poles of the battery, the airflow end is used to be connected to one electrode of the capacitive airflow sensor, the power ground end is also used to be connected to the other electrode of the capacitive airflow sensor, and the atomization end is used to be connected to the heating element; receiving puff information, wherein the puff information is used to indicate that the electronic cigarette is in a puff state; The trigger passes through the airflow end to detect whether the electronic cigarette is in an oil leakage state.

78. The oil leakage detection method according to claim 77, characterized in that: The oil leakage detection circuit performs suction detection with a second time period as a cycle, wherein the second time period includes a suction detection time period; during the time period of detecting the oil leakage state, the timing of the second time period is suspended or the start of the next second time period is suspended.

79. The oil leakage detection method according to claim 78, characterized in that: The second duration includes a blank period, and the oil leakage detection method further includes: During the blank time period, detection of whether the electronic cigarette is in a smoking state and whether it is in an oil leakage state is stopped.

80. The oil leakage detection method according to claim 77, characterized in that: After the step of triggering the detection of whether the electronic cigarette is in an oil leakage state through the airflow end, the method further includes: Output the information that the electronic cigarette is in the oil leakage state; Receive suction information again; It is prohibited to test whether an e-cigarette is leaking liquid.

81. The oil leakage detection method according to claim 80, characterized in that: After the step of outputting the information that the electronic cigarette is in the oil leakage state, the method further includes: Receive information that the electronic cigarette is in a non-smoking state; Lift the ban on testing whether e-cigarettes are leaking.

82. The oil leakage detection method according to claim 77, characterized in that: After the step of triggering the detection of whether the electronic cigarette is in an oil leakage state through the airflow end, the method further includes: Output the information that the electronic cigarette is not in the oil leakage state; It is prohibited to test whether e-cigarettes are leaking liquid; Triggering a second count of the prohibition duration; Determining whether the second timing is greater than or equal to a second preset duration; If the judgment result is yes, the prohibition on detecting whether the electronic cigarette is in an oil leakage state is lifted.

83. The oil leakage detection method according to claim 77, characterized in that: After the step of triggering the detection of whether the electronic cigarette is in an oil leakage state through the airflow end, the method further includes: Output the information that the electronic cigarette is not in the oil leakage state; It is prohibited to test whether e-cigarettes are leaking liquid; Receive information that the electronic cigarette is in a non-smoking state; Lift the ban on testing whether e-cigarettes are leaking.

84. The oil leakage detection method according to claim 77, characterized in that: After the step of triggering the detection of whether the electronic cigarette is in an oil leakage state through the airflow end, the method further includes: Output the information that the electronic cigarette is in the oil leakage state; Reduce the frequency of detecting whether an e-cigarette is in the puffing state.

85. The oil leakage detection method according to any one of claims 77 to 84, characterized in that: The steps of triggering the detection of whether the electronic cigarette is in a liquid leakage state through the airflow end specifically include: triggering charging of the capacitive airflow sensor through the airflow end; Triggering the first timing of the charging time; Determining whether the first timing is greater than or equal to the oil leakage detection time; If the judgment result is yes, the voltage at the airflow end is sampled to obtain a first sampling voltage, and the first sampling voltage is compared with a first reference voltage and comparison result information is output, and whether the electronic cigarette is in an oil leakage state is determined according to the comparison result information.

86. The oil leakage detection method according to any one of claims 77 to 84, characterized in that: The oil leakage detection method further comprises: During a time period for detecting whether the electronic cigarette is in an oil leakage state, the charge and discharge switch is controlled to remain disconnected, wherein a first end of the charge and discharge switch is connected to the airflow end, and a second end of the charge and discharge switch is connected to the power ground end.

87. The oil leakage detection method according to any one of claims 77 to 84, characterized in that: The steps of detecting whether the electronic cigarette is in a puffing state through the airflow end of the oil leakage detection circuit during the puffing detection period specifically include: charging the capacitive airflow sensor through the airflow terminal during the puff detection period; Real-time sampling and obtaining the voltage at the airflow end to obtain a second sampling voltage; Determining whether the second sampling voltage is greater than or equal to a second preset reference voltage; If the judgment result is yes, cumulative counting is performed to obtain the current count value, and the charge-discharge switch is controlled to be turned on for discharge, wherein the first end of the charge-discharge switch is connected to the airflow end, and the second end of the charge-discharge switch is connected to the power ground end; If the judgment result is no, the charge and discharge switch is controlled to be disconnected to continue charging; Determining whether current count information is less than a preset count threshold after a puff detection period, wherein the current count information is obtained based on the current count value; If the judgment result is yes, the suction information is output.

88. The oil leakage detection method according to claim 87, characterized in that: After the step of triggering the detection of whether the electronic cigarette is in an oil leakage state through the airflow end, the method further includes: Output the information that the electronic cigarette is in the oil leakage state; The counting threshold is increased or decreased accordingly to reduce the probability of misjudging the state as a puff.

89. The oil leakage detection method according to any one of claims 77 to 84, characterized in that: The steps of triggering the detection of whether the electronic cigarette is in a liquid leakage state through the airflow end specifically include: A third timer is used to measure the duration of the puff information; Determining whether the third timer is greater than or equal to a third preset time period; If the judgment result is yes, it triggers the detection of whether the electronic cigarette is in an oil leakage state through the airflow end.

90. An oil leakage detection circuit, characterized in that: It includes a power supply terminal, a power ground terminal, an airflow terminal, and an atomization terminal, wherein the power supply terminal and the power ground terminal are respectively connected to the positive and negative poles of the battery, the airflow terminal is used to connect to one electrode of the capacitive airflow sensor, the power ground terminal is also used to connect to the other electrode of the capacitive airflow sensor, and the atomization terminal is used to connect to the heating element; The oil leakage detection circuit also includes: A puff detection module, which is used to detect whether the electronic cigarette is in a puff state through the airflow end during the puff detection period; The oil leakage detection module is used to receive puff information, wherein the puff information is used to indicate that the electronic cigarette is in a puffing state; the oil leakage detection module is also used to be triggered to detect whether the electronic cigarette is in a leaking state through the airflow end of the oil leakage detection circuit.

91. The oil leakage detection circuit according to claim 90, characterized in that: The oil leakage detection circuit is located on the same chip, the power supply end is a power supply pin, the power ground end is a power ground pin, the airflow end is an airflow pin, and the atomization end is an atomization pin.

92. An oil leakage detection circuit, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the oil leakage detection method according to any one of claims 77 to 89 is implemented.

93. An airflow sensor assembly, characterized in that include: Capacitive airflow sensor; The oil leakage detection circuit according to any one of claims 1-12, 18-34, 42-54, 64, 74-76, and 90-92, wherein the oil leakage detection circuit is connected to the capacitor airflow sensor.

94. An electronic cigarette, characterized in that include: The airflow sensor assembly of claim 93 or the oil leakage detection circuit of any one of claims 1-12, 18-34, 42-54, 64, 74-76, 90-92; A battery and a heating element, wherein the battery and the heating element are both connected to the oil leakage detection circuit.

95. A method for controlling oil leakage in electronic cigarettes, characterized in that: include: Receive information that the electronic cigarette is in a liquid leakage state; Increasing the charging current output to the airflow end during the puff detection period, wherein the airflow end is used to connect to one electrode of a capacitive airflow sensor, the other electrode of the capacitive airflow sensor is used to connect to a power ground terminal, the charging current is used to charge the capacitive airflow sensor, and the puff detection period is used to detect whether the electronic cigarette is in a puff state; Receive information that the electronic cigarette is in the smoking state; The power switch is controlled to be turned on to make the heating element work, wherein a first end of the power switch is connected to a power supply end or a power ground end, and the other end of the power switch is connected to an atomization end, and the atomization end is also used to be connected to one end of the heating element, and the other end of the heating element is used to be connected to the power ground end or the power supply end.

96. The oil spill control method according to claim 95, characterized in that: The oil leakage state includes a light, medium and heavy oil leakage state. The step of receiving the information that the electronic cigarette is in the oil leakage state specifically includes: Receive information that the e-cigarette is in a light to moderate oil leakage state.

97. The oil spill control method according to claim 96, wherein: The steps of increasing the charging current to the airflow end during the puff detection period specifically include: Acquiring first parameter information through the airflow end, wherein the first parameter information is used to characterize the degree of oil leakage in a light to moderate oil leakage state; Obtaining a second charging current according to the first parameter information, wherein the second charging current is greater than the first charging current, and the first charging current is a charging current for charging the capacitive airflow sensor during a puff detection period when the electronic cigarette is not in an oil leakage state; During the puff detection period, a second charging current is output to the airflow terminal to charge the capacitive airflow sensor.

98. The oil spill control method according to claim 97, wherein: The step of obtaining the second charging current according to the first parameter information specifically includes: Obtaining a corresponding parameter information range through the first parameter information and a plurality of preset parameter information ranges, wherein each first parameter information belongs to a parameter information range, and the plurality of parameter information ranges are different; A pre-stored parameter information range-charging current table is searched according to the parameter information range to obtain a second charging current, wherein the parameter information range-charging current table pre-stores a correspondence between the parameter information range and the charging current.

99. The oil spill control method according to claim 97, wherein: The step of obtaining the second charging current according to the first parameter information specifically includes: The second charging current is obtained by calculating through the first parameter information and a pre-stored functional relationship, wherein the functional relationship represents the corresponding relationship between the parameter information and the charging current.

100. The oil spill control method according to any one of claims 97 to 99, characterized in that: The first parameter information is resistance, voltage, discharge time, voltage change, resistance change or discharge time change.

101. The oil spill control method according to claim 95, wherein: The steps of increasing the charging current to the airflow end during the puff detection period specifically include: Obtaining a second charging current based on a pre-stored correspondence between the leakage state and the charging current, wherein the second charging current is greater than the first charging current, and the first charging current is the charging current supplied to the airflow end during the puff detection period when the electronic cigarette is not in the leakage state; During the puff detection period, the second charging current is output to the airflow terminal to charge the capacitive airflow sensor.

102. The oil spill control method according to any one of claims 95-99 and 101, characterized in that: Before the step of receiving the information that the electronic cigarette is in the oil leakage state, the method further includes: triggering charging of the capacitive airflow sensor through the airflow end; Triggering the first timing of the charging time; Determining whether the first timing is greater than or equal to the oil leakage detection time; If the judgment result is yes, sampling the voltage at the airflow end to obtain a first sampling voltage; determining whether the first sampling voltage is less than a first reference voltage; If the judgment result is yes, the information that the electronic cigarette is in the oil leakage state is output.

103. The oil spill control method according to any one of claims 95-99 and 101, characterized in that: Before the step of receiving the information that the electronic cigarette is in the inhalation state, the method further includes: sampling the voltage at the airflow end in real time during the puff detection period to obtain a second sampled voltage; Determining whether the second sampling voltage is greater than or equal to a second preset reference voltage; If the judgment result is yes, cumulative counting is performed to obtain the current count value, and the charge-discharge switch is controlled to be turned on for discharge, wherein the first end of the charge-discharge switch is connected to the airflow end, and the second end of the charge-discharge switch is connected to the power ground end; If the judgment result is no, the charge and discharge switch is controlled to be disconnected to continue charging; determining whether current counting information is within a preset counting range after a puff detection period, wherein the current counting information is obtained based on a current counting value; If the judgment result is yes, the information that the electronic cigarette is in the smoking state is output.

104. An oil leakage control circuit, characterized in that: It includes a power supply terminal, a power ground terminal, an airflow terminal, an atomization terminal and a power switch, wherein the power supply terminal and the power ground terminal are respectively connected to the positive and negative poles of the battery, the airflow terminal is used to be connected to one electrode of the capacitive airflow sensor, the power ground terminal is also used to be connected to the other electrode of the capacitive airflow sensor, the atomization terminal is used to be connected to one end of the heating element, the other end of the heating element is used to be connected to the power ground terminal or the power supply terminal, the atomization terminal is also used to be connected to one end of the power switch, and the other end of the power switch is used to be connected to the power supply terminal or the power ground terminal; The oil leakage control circuit further includes: a current control unit, which is used to receive information that the electronic cigarette is in an oil leakage state, and is also used to increase the charging current to the airflow end during the puff detection period, wherein the current control unit is connected to the airflow end; The power control unit is used to receive information that the electronic cigarette is in the inhalation state, and is also used to control the power switch to turn on so that the heating element works.

105. The oil leakage control circuit according to claim 104, characterized in that: The oil leakage control circuit is located on the same chip, the power supply end is a power supply pin, the power ground end is a power ground pin, the airflow end is an airflow pin, and the atomization end is an atomization pin.

106. An oil leakage control circuit, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the oil leakage control method according to any one of claims 95 to 103 is implemented.

107. An airflow sensor assembly, characterized in that include: Capacitive airflow sensor; The oil leakage control circuit according to any one of claims 104 to 106, wherein the oil leakage control circuit is connected to the capacitor airflow sensor.

108. An electronic cigarette, characterized in that include: The airflow sensor assembly according to claim 107 or the oil leakage control circuit according to any one of claims 104 to 106; A battery and a heating element, wherein the battery and the heating element are both connected to the oil leakage control circuit.

109. An oil leakage control circuit applied to an electronic cigarette, characterized in that: include: A power supply terminal, a power ground terminal, and an airflow terminal, wherein the power supply terminal and the power ground terminal are used to connect to the positive and negative poles of the battery respectively, the airflow terminal is used to connect to one electrode of the capacitive airflow sensor, and the power ground terminal is also used to connect to the other electrode of the capacitive airflow sensor; In which, the oil leakage control circuit also includes a current source, a suction detection module, an oil leakage judgment module, a switch control unit and a first switch unit, wherein the current source and the suction detection module are both connected to the airflow end, the oil leakage judgment module and the switch control unit are both connected to the suction detection module, the switch control unit is used to be connected to the control end of the first switch unit, and the first switch unit is used to be connected in series with the heating element; the oil leakage judgment module determines whether the preset conditions are met according to the duration of the first signal output by the suction detection module, and if the preset conditions are met, the oil leakage judgment module outputs an oil leakage confirmation signal to enable the switch control unit to control the first switch unit to remain disconnected.

110. The oil leakage control circuit according to claim 109, characterized in that: The oil leakage judgment module includes an oil leakage timing unit, which is connected to the suction detection module. The oil leakage timing unit is used to time the duration of the first signal output by the suction detection module, and output an oil leakage confirmation signal if the timing duration is greater than or equal to a first preset duration.

111. The oil leakage control circuit according to claim 109, characterized in that: The oil leakage judgment module includes an oil leakage timing unit, a second counting unit and a counting judgment unit, wherein the oil leakage timing unit is connected to the suction detection module, and the second counting unit is connected to the oil leakage timing unit and the counting judgment unit respectively; the oil leakage timing unit is used to time the duration of the first signal output by the suction detection module, and output a timing compliance signal if the timing duration is greater than or equal to the first preset duration, the second counting unit is used to perform a second count on the continuously received timing compliance signals, and the counting judgment unit is used to judge whether the second count is greater than or equal to a second preset number, and if the judgment result is yes, the counting judgment unit outputs an oil leakage confirmation signal, wherein the second preset number is an integer greater than or equal to 2.

112. The oil leakage control circuit according to claim 109, characterized in that: The oil leakage judgment module includes an oil leakage timing unit, a third counting unit, a third timing unit and a timing and counting judgment unit, wherein the oil leakage timing unit is connected to the suction detection module, the third counting unit is connected to the oil leakage timing unit, the third timing unit is connected to the oil leakage timing unit, and the third timing unit and / or the third counting unit are connected to the timing and counting judgment unit; the oil leakage timing unit is used to time the duration of the first signal output by the suction detection module, and output a timing compliance signal if the timing duration is greater than or equal to the first preset duration; the third counting unit is used to perform a third count on the received timing compliance signal, the third timing unit does not start timing and is triggered to perform a third timing when the timing compliance signal is received; the timing and counting judgment unit is used to determine whether the third count is greater than or equal to a third preset number within the third preset time, and if the judgment result is yes, the timing and counting judgment unit outputs an oil leakage confirmation signal, wherein the third preset number is an integer greater than or equal to 2.

113. The oil leakage control circuit according to claim 109, characterized in that: The oil leakage judgment module includes an oil leakage timing unit, a third timing unit, a fourth counting unit and a timing and counting judgment unit, wherein the oil leakage timing unit is connected to the suction detection module, the third timing unit is connected to the oil leakage timing unit, the fourth counting unit is connected to the third timing unit and / or the suction detection module, the fourth counting unit is connected to the timing and counting judgment unit or the third timing unit and the fourth counting unit are both connected to the timing and counting judgment unit, the oil leakage timing unit is used to time the duration of the first signal output by the suction detection module, if the timing duration If the time is greater than or equal to the first preset time length, a timing compliance signal is output; the third timing unit has not started timing and is triggered to perform the third timing when the timing compliance signal is received, and the third timing is performed in the third timing unit. The fourth counting unit is used to perform a fourth count on the edge signal of the output of the suction detection module from the first signal to the second signal or from the second signal to the first signal, and the timing and counting judgment unit is used to judge whether the fourth count is equal to 0 when the third timing reaches the third preset time length. If the judgment result is yes, the timing and counting judgment unit outputs an oil leakage confirmation signal; wherein the second signal is different from the first signal.

114. The oil leakage control circuit according to claim 109, characterized in that: The oil leakage judgment module includes an oil leakage timing unit, wherein the oil leakage timing unit is connected to the suction detection module and is used to time the duration of the first signal output by the suction detection module. If the timing duration is greater than or equal to a first preset duration, the oil leakage judgment module outputs a timing compliance signal; if the timing duration is greater than or equal to a fourth preset duration, the oil leakage judgment module outputs an oil leakage confirmation signal; wherein the fourth preset duration is greater than the first preset duration.

115. The oil leakage control circuit according to any one of claims 109 to 114, characterized in that: The suction detection module includes a voltage comparison unit, one input end of the voltage comparison unit is connected to the airflow end, the other input end of the voltage comparison unit is connected to the reference voltage, and the output end of the voltage comparison unit is connected to the oil leakage judgment module. When the voltage at the airflow end is less than the reference voltage, the voltage comparison unit outputs a first signal.

116. The oil leakage control circuit according to claim 115, characterized in that: The puff detection module further includes a first counting unit and a puff judgment unit. The first counting unit is connected to the output end of the voltage comparison unit, the puff judgment unit is connected to the first counting unit, and the puff judgment unit is further connected to the switch control unit. The oil leakage judgment module is connected to an enable end of the puff judgment unit. The oil leakage confirmation signal is an enable signal. When the puff judgment unit receives the oil leakage confirmation signal, it stops working, so that the switch control unit controls the first switch unit to remain disconnected.

117. The oil leakage control circuit according to claim 116, characterized in that: The puff determination unit obtains current counting information based on the count value output by the first counting unit. During two consecutive puff detection time periods, the puff determination unit determines whether the current counting information is within a preset counting range to determine whether the electronic cigarette is in the puff state. If the current counting information is within the preset counting range during the two consecutive puff detection time periods, then the electronic cigarette is determined to be in the puff state. When the suction determination unit receives the oil leakage confirmation signal, the suction determination unit clears corresponding data of the current counting information in the previous suction detection time period that is within the preset counting range.

118. The oil leakage control circuit according to claim 115, characterized in that: The puff detection module includes a first counting unit and a puff judgment unit. The first counting unit is connected to the output end of the voltage comparison unit, the puff judgment unit is connected to the first counting unit, and the puff judgment unit is also connected to the switch control unit. The oil leakage judgment module is connected to the switch control unit. When the switch control unit receives the oil leakage confirmation signal, it is used to control the first switch unit to remain disconnected.

119. The oil leakage control circuit according to claim 115, characterized in that: It also includes a discharge switch, one end of the discharge switch is connected to the airflow end, the other end of the discharge switch is connected to the power ground end, and the control end of the discharge switch is connected to the output end of the voltage comparison unit. When the control end of the discharge switch receives a first signal, the discharge switch remains disconnected and cut off; when the control end of the discharge switch receives a second signal, the discharge switch remains open and conductive, wherein the voltage comparison unit outputs a second signal when the voltage of the airflow end is greater than or equal to the reference voltage.

120. The oil leakage control circuit according to any one of claims 109 to 114, characterized in that: The oil leakage control circuit further includes an indication unit, which is connected to the oil leakage judgment module. When the indication unit receives an oil leakage confirmation signal, the indication unit is used to indicate that the electronic cigarette is in an oil leakage state.

121. The oil leakage control circuit according to any one of claims 110 to 114, characterized in that: The first preset time length is greater than or equal to 150 microseconds.

122. The oil leakage control circuit according to any one of claims 109-11, characterized in that: The circuits of the oil leakage control circuit except the first switch unit are located on the same chip, the first switch unit is located on another chip, the power supply end is a power supply pin, the power ground end is a power ground pin, and the airflow end is an airflow pin; or, The oil leakage control circuit is located on the same chip, the power supply end is a power supply pin, the power ground end is a power ground pin, and the airflow end is an airflow pin.

123. An airflow sensor assembly, characterized in that include: Capacitive airflow sensor; The oil leakage control circuit according to any one of claims 109 to 122, wherein the airflow end and the power ground end of the oil leakage control circuit are correspondingly connected to two ends of the capacitive airflow sensor.

124. An electronic cigarette, characterized in that include: The oil leakage control circuit according to any one of claims 109 to 122 or the airflow sensor assembly according to claim 123; A battery and a heating element, wherein the positive electrode of the battery is connected to the power supply end of the oil leakage control circuit, the negative electrode of the battery is connected to the power ground end of the oil leakage control circuit, and the heating element is connected in series with the first switch unit of the oil leakage control circuit.