WO2024125396A1 - 一种漏油管控电路、漏油检测电路、漏油控制电路、方法、气流传感器组件及电子烟 - Google Patents

一种漏油管控电路、漏油检测电路、漏油控制电路、方法、气流传感器组件及电子烟 Download PDF

Info

Publication number
WO2024125396A1
WO2024125396A1 PCT/CN2023/137349 CN2023137349W WO2024125396A1 WO 2024125396 A1 WO2024125396 A1 WO 2024125396A1 CN 2023137349 W CN2023137349 W CN 2023137349W WO 2024125396 A1 WO2024125396 A1 WO 2024125396A1
Authority
WO
WIPO (PCT)
Prior art keywords
oil leakage
voltage
airflow
leakage detection
unit
Prior art date
Application number
PCT/CN2023/137349
Other languages
English (en)
French (fr)
Inventor
宋利军
唐立波
赵沛杰
贺玉婷
周虹安
Original Assignee
无锡市稳先微电子有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 无锡市稳先微电子有限公司 filed Critical 无锡市稳先微电子有限公司
Publication of WO2024125396A1 publication Critical patent/WO2024125396A1/zh

Links

Definitions

  • the distance between the two electrode sheets of the capacitive airflow sensor is very small, generally ranging from 1 ⁇ m to 50 ⁇ m, while the smoke oil droplets are relatively large, much larger than the distance between the two electrode sheets, so when the smoke oil droplets drip through the airflow channel to the two electrode sheets of the airflow sensor, the oil droplets are likely to connect the two electrode sheets. Since the smoke oil droplets are similar to conductor resistance, the equivalent circuit diagram of Figure 1c is shown in Figure 2, that is, the capacitive airflow sensor is connected in parallel with a smoke oil resistor. In addition, the inventors also found that when the electronic cigarette is working, the smoke oil is atomized into aerosol, and the aerosol may enter the cigarette rod.
  • the first aspect of the embodiment of the present application provides an oil leakage detection circuit applied to an electronic cigarette, comprising: 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 used to connect to the positive and negative electrodes 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;
  • the oil leakage detection circuit further 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.
  • the oil leakage control unit is connected to the oil leakage detection unit.
  • the first current source passes through the airflow end. Used to charge the capacitive airflow sensor.
  • the oil leakage detection unit samples the voltage at 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.
  • 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 oil leakage detection duration is greater than or equal to 1 ms; 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.
  • a second aspect of the embodiment of the present application provides an oil leakage detection method applied to an electronic cigarette, comprising:
  • 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;
  • 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 characterize different oil leakage degrees of the electronic cigarette.
  • the oil leakage detection method further includes:
  • the charge and discharge switch is controlled to remain disconnected and cut off, 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.
  • the airflow end of the oil leakage detection circuit is used to detect whether the electronic cigarette is in a puff state, 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 puff detection time period.
  • 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.
  • 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 size 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, and the oil leakage control unit determines whether the electronic cigarette is in an oil leakage state according to the comparison result information.
  • the oil leakage detection unit includes a divider and a first resistance comparator, wherein the first input end of the divider is connected to a first sampling voltage, the second input end of the divider is connected to first current information, the divider outputs 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 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.
  • 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, 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 The first end of the first voltage-dividing resistor is connected, 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 is equal to the resistance ratio of the second voltage-dividing resistor to the fourth voltage-dividing
  • the oil leakage detection circuit includes a power switch
  • 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 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.
  • the first sampling resistance information includes resistance and voltage
  • the first reference resistance information corresponds to the first sampling resistance information
  • the oil leakage detection circuit further includes a suction detection module and a charge-discharge switch, wherein the suction detection module is connected to the airflow end and the oil leakage control unit respectively, and the suction detection module is used to detect the capacitance of the airflow sensor or the change of capacitance to determine whether the electronic cigarette is in a suction state, and the suction detection module can also control whether the charge-discharge switch is turned on, 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 terminal;
  • the charge and discharge switch remains disconnected.
  • the suction detection module samples the voltage at the airflow end in real time during the suction detection time period to obtain a second sampling voltage
  • the suction detection module includes a second voltage comparison unit and a suction judgment unit, wherein a first input end of the second voltage comparison unit is connected to the second sampling voltage, a second input end thereof is connected to the second reference voltage, an output end of the second voltage comparison unit is connected to the suction judgment unit, and the suction judgment 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, and the first current source is also 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 charge and discharge switch to be 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.
  • 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.
  • 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.
  • the puff detection module samples the voltage at the airflow end in real time during the puff detection time period to obtain a second sampling voltage
  • the puff detection module includes a second voltage comparison unit and a puff judgment unit
  • the oil leakage detection circuit also includes a second current source, wherein a first input end of the second voltage comparison unit is connected to the second sampling 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 judgment unit, the puff judgment unit is connected to the oil leakage control unit, and 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, 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 charge and discharge switch to be 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.
  • the oil leakage detection circuit includes a second switch unit, wherein 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 disconnect during the oil leakage detection time period.
  • the second voltage comparison unit is stopped to stop working, so as to control the charge and discharge switch to be disconnected and cut off.
  • 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 suction detection period.
  • 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.
  • 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.
  • a fifth aspect of the embodiments of the present application provides an oil leakage detection method applied to an electronic cigarette, comprising:
  • 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.
  • a sixth 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.
  • the seventh aspect of the embodiment of the present application provides an oil leakage detection circuit for electronic cigarettes, comprising: a power supply end, a power ground end, an air flow end, and an atomization end, wherein the power supply end and the power ground end are respectively connected to the positive and negative electrodes of the battery, and the air flow end is used to connected to one electrode of the capacitive airflow sensor, the power ground terminal is also used to connect to another electrode of the capacitive airflow sensor, and the atomization end is used to connect to the heating element;
  • 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 sampling 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;
  • the oil leakage detection circuit also 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.
  • 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 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 includes an oil leakage detection unit, an oil leakage control unit and a power switch, wherein 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;
  • 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.
  • 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.
  • 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.
  • the oil leakage detection method further includes:
  • the capacitive airflow sensor is charged through the airflow end
  • 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.
  • a twelfth aspect of the embodiments of the present application provides an oil leakage detection method applied to an electronic cigarette, comprising:
  • 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,
  • 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 used to be connected to the positive and negative poles of the 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, and the atomization terminal is used to be connected to a heating element;
  • the oil leakage detection circuit also includes:
  • the method further includes:
  • the step of triggering the detection of whether the electronic cigarette is in a state of oil leakage through the airflow end specifically includes:
  • the charge and discharge switch is controlled to remain disconnected and cut off, 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.
  • 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:
  • the method further 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 second charging current is greater than the first charging current
  • 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
  • the step of obtaining the second charging current according to the first parameter information specifically includes:
  • the second charging current is output to the airflow terminal during the puff detection period to charge the capacitive airflow sensor.
  • an oil leakage control circuit including a power supply end, a power ground end, an airflow end, an atomization end and a power switch, wherein the power supply end and the power ground end are respectively used to be connected to the positive and negative poles of a battery, the airflow end is used to be connected to one electrode of a capacitive airflow sensor, the power ground end is also used to be connected to another electrode of the capacitive airflow sensor, the atomization end 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 end or the power supply end, the atomization end 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 end or the power ground end;
  • a current control unit which is used to receive information that the electronic cigarette is in a state of oil leakage, and is also used to increase the charging current to the airflow end during the suction detection time period, wherein the current control unit is connected to the airflow end;
  • a twenty-third aspect of an embodiment of the present application provides an airflow sensor assembly, including:
  • the twenty-fourth aspect of the embodiment of the present application provides an electronic cigarette, comprising:
  • an oil leakage control circuit applied to 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 used to be connected to the positive and negative electrodes of a battery respectively, the airflow terminal is used to be connected to one electrode of a capacitive airflow sensor, and the power ground terminal is also used to be connected to the other electrode of the capacitive airflow sensor;
  • 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 judges whether it meets the preset conditions according to the duration of the first signal output by the suction detection module, and if it meets the preset conditions, the oil leakage judgment module outputs an oil leakage confirmation signal so that the switch control unit controls the first switch unit to remain disconnected and cut off.
  • 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.
  • 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 timing compliance signals received continuously, and the counting judgment unit is used to judge whether the second count is greater than or equal to a second preset number; 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.
  • 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 is
  • 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.
  • 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 a 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.
  • 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, and 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.
  • the puff judgment unit obtains current counting information based on the count value output by the first counting unit, and judges whether the current counting information is within a preset counting range in two consecutive puff detection time periods to judge whether the electronic cigarette is in a puff state, and if the current counting information is within the preset counting range in two consecutive puff detection time periods, it is judged that the electronic cigarette is in a puff state;
  • the suction determination unit When the suction determination unit receives the oil leakage confirmation signal, the suction determination unit clears the corresponding data of the current counting information in the previous suction detection time period that is within the preset counting range.
  • 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, and when the switch control unit receives an oil leakage confirmation signal, it is used to control the first switch unit to remain disconnected.
  • 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, 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 turned on, 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.
  • the oil leakage control circuit further includes an indication unit, which is connected to the oil leakage judgment module, and 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.
  • the first preset time length is greater than or equal to 150 microseconds.
  • 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.
  • a twenty-sixth aspect of the embodiment of the present application provides an airflow sensor assembly, including:
  • the airflow end and the power ground end of the oil leakage control circuit are connected to the two ends of the capacitive airflow sensor correspondingly.
  • the twenty-seventh aspect of the embodiment of the present application provides an electronic cigarette, comprising:
  • a battery and a heating element wherein the positive electrode of the battery is connected to the power supply terminal of the oil leakage control circuit, the negative electrode of the battery is connected to the power ground terminal 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.
  • the embodiment of the present application includes a first current source, an oil leakage detection unit and an oil leakage control unit through an oil leakage detection circuit.
  • the first current source and the oil leakage detection unit are both connected to the airflow end.
  • the first current source charges the capacitive airflow sensor through the airflow end.
  • the oil leakage detection unit compares the first sampling voltage with the first reference voltage and outputs comparison result information.
  • the oil leakage control unit compares the first sampling voltage with the first reference voltage and outputs comparison result information according to the comparison result information. The information can be used to determine whether the electronic cigarette is leaking oil.
  • the oil leakage detection method of the present application is simple, takes very little detection time, and the user can hardly feel it, which does not affect the user's experience; and it can make full use of the existing airflow end, and cooperate with the existing capacitive airflow sensor to determine whether the electronic cigarette is leaking oil.
  • the airflow end has multiple functions, and the airflow end can realize time-sharing multiplexing.
  • the oil leakage detection circuit does not need to add terminals or pins, which is conducive to reducing costs.
  • the present application can determine whether the electronic cigarette is leaking oil through the oil leakage detection circuit, and will not mistakenly judge the electronic cigarette leakage as the electronic cigarette smoking state for a long time, thereby triggering the heating element to work incorrectly for a long time. The probability is low, and safety accidents are not prone to occur.
  • Figures 1a to 1e are schematic diagrams of electronic cigarettes in different oil leakage states
  • FIG2 is an equivalent circuit diagram of FIG1c and FIG1e;
  • FIG3 is a circuit module diagram of the electronic cigarette of the first embodiment of the present application.
  • FIG4 is a circuit module diagram of an airflow sensor assembly according to a first embodiment of the present application.
  • FIG5 is a circuit module diagram of an airflow sensor assembly according to a second embodiment of the present application.
  • FIG6 is a partial flow chart of an oil leakage detection method according to a third embodiment of the present application.
  • FIG7 is a specific flow chart of part of step S140 in FIG6 ;
  • FIG8 is another partial flow chart of the oil leakage detection method according to the third embodiment of the present application.
  • FIG9 is a circuit module diagram of an oil leakage detection circuit according to another embodiment of the present application.
  • FIG10 is a circuit module diagram of an airflow sensor assembly according to a fourth embodiment of the present application.
  • FIG11 is a circuit module diagram of an airflow sensor assembly according to a fifth embodiment of the present application.
  • FIG12 is a circuit module diagram of an airflow sensor assembly according to a sixth embodiment of the present application.
  • FIG13 is a partial flow chart of an oil leakage detection method according to a seventh embodiment of the present application.
  • FIG14 is a specific flow chart of an embodiment of step S110 in FIG13 ;
  • FIG15 is a specific flow chart of another embodiment of step S110 in FIG13;
  • FIG16 is a specific flow chart of part of step S130 in FIG13 ;
  • FIG17 is another partial flow chart of the oil leakage detection method according to the seventh embodiment of the present application.
  • FIG18 is a circuit module diagram of an airflow sensor assembly according to an eighth embodiment of the present application.
  • FIG19 is a circuit module diagram of an oil leakage detection unit according to an eighth embodiment of the present application.
  • FIG20 is a circuit module diagram of an oil leakage detection unit according to a ninth embodiment of the present application.
  • FIG21 is a circuit module diagram of an oil leakage detection unit according to a tenth embodiment of the present application.
  • FIG22 is a circuit module diagram of an oil leakage detection unit according to an eleventh embodiment of the present application.
  • FIG23 is a circuit module diagram of an airflow sensor assembly according to a twelfth embodiment of the present application.
  • FIG24 is a flowchart of an oil leakage detection method according to a thirteenth embodiment of the present application.
  • FIG25 is a specific process step diagram of step S100 in FIG24;
  • FIG26 is a flowchart of the process steps before step S110 in FIG25;
  • FIG27 is a specific process step diagram of step S150 in FIG25;
  • FIG28 is a specific process step diagram of step S200 in FIG24;
  • FIG29 is a partial process step diagram of the oil leakage detection method according to the fourteenth embodiment of the present application.
  • FIG30 is a specific process step diagram of part of step S340 in FIG29;
  • FIG31 is a flowchart of the steps of the oil leakage detection method according to the fifteenth embodiment of the present application.
  • FIG32 is a specific flow chart of step S120 in FIG31;
  • FIG33 is a module diagram of an oil leakage detection circuit according to a fifteenth embodiment of the present application.
  • FIG34 is a flowchart of the steps of the oil leakage detection method according to the sixteenth embodiment of the present application.
  • FIG35 is a partial flow chart of an embodiment after step S300 in FIG34;
  • FIG36 is a flow chart of another portion of an embodiment after step S300 in FIG34;
  • FIG37 is a specific flow chart of step S300 in FIG34;
  • FIG38 is a specific flow chart of step S100 in FIG34;
  • FIG39 is a block diagram of an oil leakage detection circuit according to a sixteenth embodiment of the present application.
  • FIG40 is a circuit module diagram of the electronic cigarette according to the seventeenth embodiment of the present application.
  • FIG41 is a flowchart of the steps of the oil leakage control method according to the seventeenth embodiment of the present application.
  • FIG42 is a flowchart showing the specific steps of an embodiment of step S120 in FIG41;
  • FIG43 is a flowchart of specific steps before step S110 in FIG41;
  • FIG44 is a flowchart of specific steps before step S130 in FIG41;
  • FIG45 is a flowchart showing the specific steps of another embodiment (eighteenth embodiment) of step S120 in FIG41;
  • FIG46 is a flowchart showing the specific steps of step S222 in FIG45;
  • FIG47 is a module diagram of an oil leakage control circuit according to a seventeenth embodiment of the present application.
  • FIG48 is a circuit module diagram of an airflow sensor assembly according to another embodiment of the present application.
  • FIG49 is a circuit module diagram of an electronic cigarette according to an embodiment of the present application.
  • FIG50 is a circuit module diagram of an airflow sensor assembly according to a nineteenth embodiment of the present application.
  • FIG51 is a circuit timing waveform diagram of the nineteenth embodiment of the present application.
  • FIG52 is a circuit module diagram of an airflow sensor assembly according to another embodiment of the present application.
  • FIG53 is a circuit timing waveform diagram of another embodiment of the present application.
  • FIG54 is a circuit module diagram of an airflow sensor assembly according to a twentieth embodiment of the present application.
  • FIG55 is a circuit module diagram of an airflow sensor assembly according to a twenty-first embodiment of the present application.
  • FIG56 is a circuit module diagram of an airflow sensor assembly according to a twenty-second embodiment of the present application.
  • FIG57 is a circuit module diagram of an airflow sensor assembly according to another embodiment of the present application.
  • FIG58 is a circuit module diagram of an airflow sensor assembly according to a twenty-third embodiment of the present application.
  • Figure 59 is a circuit module diagram of an airflow sensor assembly according to another embodiment of the present application.
  • the electronic cigarette includes a battery 110, a heating element 120, an airflow sensor assembly 200, etc.
  • the battery 110 and the heating element 120 are respectively connected to the airflow sensor assembly 200
  • the heating element 120 is, for example, a heating wire, a heating wire, a ceramic seat containing a heating wire or a heating wire, or other conventional heating elements 120
  • the battery 110 is, for example, a rechargeable battery or a non-rechargeable battery
  • the rechargeable battery is, for example, a lithium-ion battery, a nickel-cadmium battery, a nickel-hydrogen battery, a lithium polymer battery, a lead-acid battery, etc.
  • 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, etc.
  • 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.
  • the capacitive airflow sensor Cs is essentially a capacitor that can change with the airflow
  • 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 electrode of the battery 110, the power ground terminal GND is connected to the negative electrode 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 G
  • the electronic cigarette includes a cigarette rod and a cigarette cartridge, wherein a heating element 120 is provided in the cigarette cartridge, and the cigarette cartridge also stores cigarette oil, and a capacitive airflow sensor Cs, a battery 110 and an oil leakage detection circuit 300 are provided in the cigarette rod.
  • the electronic cigarette of the present application can be a rechargeable electronic cigarette or a disposable electronic cigarette.
  • 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 in an oil leakage state through 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 to be connected 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 to turn on or off by obtaining the state of the electronic cigarette.
  • the power switch M is a PMOS tube, and one end of the PMOS tube is connected to the power supply terminal BAT.
  • the power switch M can also be an NMOS tube, and one end of the NMOS tube is connected to the power ground terminal GND.
  • the oil leakage detection circuit 300 is located on the same chip, which is generally called an electronic cigarette dedicated chip.
  • 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
  • the atomization end AT is the atomization pin.
  • the oil leakage detection circuit 300 can also be located on the same chip except for the power switch M, and the power switch M is located on another chip, and the two chips can be packaged together or not.
  • the oil leakage detection circuit 300 also includes an indication terminal/pin LED and a charging terminal/pin CHG, wherein the indication terminal LED is used for an external indicator light, the indicator light is used to indicate the state of the electronic cigarette, and the charging terminal CHG is used to connect to the USB input interface for charging the battery 110.
  • the oil leakage detection control module also includes a first current source 321 and an oil leakage detection unit 330, wherein 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 end BAT, and the second end of the first current source 321 is connected to the airflow end SW, so that the first current source 321 can charge the capacitive airflow sensor Cs through the airflow end SW; the oil leakage detection unit 330 is used to detect the oil leakage.
  • the oil leakage detection unit 330 is connected to the airflow end SW and is used to obtain a first sampling voltage through the airflow end SW.
  • the first sampling voltage is obtained by sampling the voltage of the airflow end SW.
  • the first sampling voltage can be equal to the voltage of the airflow end SW (for example, the oil leakage detection unit 330 is directly connected to the airflow end SW, and this embodiment is described as an example). It can also be sampled by means of resistance voltage division, etc.
  • the first sampling voltage is k times the voltage of the airflow end SW, where k is a positive number less than 1.
  • the first current source 321 charges the capacitive airflow sensor Cs through the airflow end SW in the oil leakage detection time period.
  • the oil leakage detection unit 330 After charging the oil leakage detection time, the oil leakage detection unit 330 obtains the first sampling voltage by collecting the voltage of the airflow end SW, and then judges the first sampling voltage.
  • 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.
  • the oil leakage detection duration is generally less than 200ms.
  • 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 because the oil leakage detection time is very long, the capacitance of the airflow sensor Cs is close to presenting 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 the resistance of the oil leakage resistor RL.
  • the technicians in this field know that: since the first current is known, the voltage of the airflow end SW is controlled by the oil leakage resistor RL, and generally the voltage on the airflow end SW is the voltage on 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, so that the first sampling voltage will be smaller, and a suitable first reference voltage can be selected through a large number of experiments. It can be designed that when there is oil leakage, the first sampling voltage is less than the first reference voltage, and when there is no oil leakage, the first reference voltage is less than or equal to the first sampling voltage, and the first reference voltage is also less than the voltage of the power supply end BAT.
  • the range of the first reference voltage is, for example, 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-4/5 of the voltage of the power supply terminal BAT.
  • the present application compares the first sampling voltage after charging for the oil leakage detection time with the first reference voltage, and then outputs the comparison result information.
  • the oil leakage control unit 310 can determine whether the electronic cigarette is leaking oil according to the comparison result information, that is, whether there is oil between the two electrodes of the capacitor that connects the two electrodes, or whether there is oil that connects 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 disconnected or perform other processing.
  • 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.
  • the oil leakage detection unit 330 compares the first sampling voltage with the first reference voltage and outputs the comparison result information.
  • the oil leakage control unit 310 can determine whether the electronic cigarette has oil leakage according to the comparison result information.
  • the oil leakage detection method of the present application is simple, takes very little detection time, and the user can hardly feel it, which does not affect the user's experience; and the existing airflow terminal SW can be fully utilized, and the existing capacitive airflow sensor Cs can be used to determine whether the electronic cigarette has oil leakage.
  • the airflow terminal SW has multiple functions, and the airflow terminal SW can realize time-sharing multiplexing.
  • the oil leakage detection circuit 300 does not need to add terminals or pins, which is conducive to reducing costs.
  • 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 triggering the heating element 120 to work incorrectly for a long time with a lower probability, and safety accidents are not likely to occur.
  • the oil leakage detection unit 330 includes a first voltage comparison
  • the first voltage comparator 331 is connected to the airflow terminal SW, and thus connected to the first sampling voltage, that is, the first input terminal of the first voltage comparator 331 obtains the first sampling voltage in real time, and the second input terminal of the first voltage comparator 331 is connected to the first reference voltage RefV1, which is provided by the reference voltage generation module of the oil leakage detection circuit 300, and the output terminal of the first voltage comparator 331 is connected to the oil leakage control unit 310.
  • the first input terminal is the same direction terminal
  • the second input terminal is the reverse direction terminal.
  • the first input terminal may also be the reverse direction terminal, and the second input terminal may be the same direction terminal.
  • the first voltage comparator 331 outputs comparison result information.
  • 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 has no oil leakage.
  • 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 has oil leakage. 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.
  • 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.
  • the logic control subunit 311 controls to enter the oil leakage detection time period
  • the first timing subunit 312 starts timing, and at the same time controls the first current source 321 to charge the capacitive airflow sensor Cs through the airflow terminal SW.
  • the first sampling voltage will be less 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, and the logic control subunit 311 does not receive the comparison result information.
  • the airflow sensor Cs is charged for the oil leakage detection duration, and the first timing subunit 312 outputs the 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 at this time or in the subsequent oil leakage detection time period, and judge whether the electronic cigarette is in an oil leakage state according to the comparison result information.
  • the logic control subunit 311 controls the power switch M to remain disconnected and cut off.
  • the first timing subunit 312 is also connected to the oil leakage detection unit 330.
  • the logic control subunit 311 controls to enter the oil leakage detection time period
  • the first timing subunit 312 starts timing, and at the same time controls the first current source 321 to charge the capacitive airflow sensor Cs through the airflow end SW.
  • the first voltage comparator 331 does not compare the voltages of the two input terminals, or although it compares, it does not output the comparison result information.
  • the first timing subunit 312 When the first timing subunit 312 times the oil leakage detection duration, 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.
  • the first voltage comparator 331 does not work before receiving the first timing signal of the first timing subunit 312, and only works after receiving the first timing signal of the first timing subunit 312.
  • 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 subunit 312.
  • the sampling unit does not work before receiving the first timing signal of the first timing subunit 312, and only works after receiving the first timing signal of the first timing subunit 312, and only then samples to obtain the first sampling voltage and outputs it to the first voltage comparator 331.
  • the first timing subunit 312 when the first timing subunit 312 has not reached the oil leakage detection time, the first timing subunit 312 outputs a second timing signal, and the second timing signal 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 leakage detection time period ends.
  • the oil leakage control unit 310 in order to obtain the duration of the oil leakage detection time period, 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.
  • the logic control subunit 311 controls to enter 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.
  • the second timing subunit 313 sends a third timing signal to the logic control subunit 311, and the oil leakage detection time period ends.
  • 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.
  • the third timing subunit 314 When the timing of the third timing subunit 314 is greater than or equal to the third duration, the third timing subunit 314 outputs an oil leakage confirmation signal to the logic control subunit 311.
  • the third timing subunit 314 receives the first timing signal
  • the third timing subunit 314 resets to zero (starts timing) or does not start timing (does not start timing), that is, when the first voltage comparator 331 outputs the second comparison result information, the third timing subunit 314 does not start timing.
  • the third timing subunit 314 starts timing.
  • the third timing subunit 314 When the third timing subunit 314 has been timing to the third duration, the third timing subunit 314 outputs the oil leakage confirmation signal to the logic control subunit 311, and the third timing subunit 314 resets to zero.
  • the third timing subunit 314 receives the second comparison result information, and the third timing subunit 314 resets to zero.
  • the duration of the oil leakage detection time period is greater than the oil leakage detection time period, and the duration of the oil leakage detection time period is greater than or equal to the sum of the oil leakage detection time period and the third duration.
  • the oil leakage control unit 310 may not include the third timing subunit 314 .
  • the state of an electronic cigarette is divided into three states according to whether the electronic cigarette is inhaled: the inhalation state and the non-inhalation state, wherein the non-inhalation state includes the blowing state and the non-inhalation and blowing state, wherein the inhalation state corresponds to the state when the user inhales the electronic cigarette, the blowing state corresponds to the state when the user blows into the electronic cigarette, and the non-inhalation and blowing state corresponds to the state when the electronic cigarette is neither inhaled nor blown.
  • the electronic cigarette will perform different actions when it is in different states.
  • the oil leakage detection circuit 300 also includes a suction detection module 400, which is used to detect whether the electronic cigarette is in the inhalation state through the airflow end SW during the suction detection time period.
  • the input end of the puff detection module 400 is connected to the airflow end SW, and the puff detection module 400 samples the voltage of the airflow end SW to obtain a second sampling voltage.
  • the second sampling voltage can be equal to the voltage of the airflow end SW, or it can be less than the voltage of the airflow end SW.
  • the second sampling voltage and the first sampling voltage can be obtained by sampling the same sampling unit.
  • the first sampling voltage and the second sampling voltage are distinguished by different time periods, for example, obtained by sampling the same group of barcode resistors, and of course, they can also be obtained by sampling different sampling units.
  • the output end of the puff detection module 400 is connected to the oil leakage control unit 310, and specifically connected to the logic control subunit 311.
  • the puff detection module 400 is used to determine whether the electronic cigarette is in the puffing state according to the capacitance or capacitance change of the airflow sensor Cs through the airflow end SW, that is, the airflow end SW has at least two functions: detection of the puffing state and detection of the oil leakage state.
  • the suction detection module 400 includes a second voltage comparison unit 410 and a suction judgment unit 420
  • the oil leakage detection circuit 300 includes a charge and discharge switch Kc.
  • the first input end of the second voltage comparison unit 410 is connected to the second sampling voltage
  • the second input end of the second voltage comparison unit 410 is connected to the second reference voltage
  • the output end of the second voltage comparison unit 410 is connected to the suction judgment unit 420
  • the output end of the suction judgment unit 420 is connected to the oil leakage control unit 310
  • the first end of the charge and discharge switch Kc is connected to the airflow end SW
  • the second end of the charge and discharge switch Kc is connected to the power ground GND, that is, the charge and discharge switch Kc is connected in parallel with the airflow sensor Cs
  • the control end of the charge and discharge switch Kc is connected to the output end of the second voltage comparison unit 410.
  • the first input end of the second voltage comparison unit 410 is the same direction end, and the second input end is the reverse end. In other embodiments of the present application, the same direction end and the reverse end can be reversed.
  • the range of the second reference voltage 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 by taking 1V as an 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 voltage.
  • the charge and discharge switch Kc is, for example, an NMOS tube, etc., 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 tube or other conventional switch units.
  • 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, so that the second current source 322 can charge the capacitive airflow sensor Cs through the airflow terminal SW.
  • the second current source 322 charges the airflow sensor Cs.
  • the second sampling voltage is less than the second reference voltage.
  • the output end of the second voltage comparison unit 410 outputs a first switch signal.
  • the first switch signal is, for example, a low level.
  • the charge-discharge switch Kc remains disconnected and cut off.
  • the second sampling voltage is equal to or greater than the second reference voltage.
  • the output signal of the second voltage comparison unit 410 changes and outputs a second switch signal.
  • the second switch signal is, for example, a high level.
  • the second switch signal controls the charge-discharge switch Kc to turn on.
  • the two ends of the airflow sensor Cs are short-circuited by the charge-discharge switch Kc and are instantly discharged to 0V or close to 0V (this period is the discharging period).
  • the second sampling voltage is less than the second reference voltage again.
  • the output signal of the second voltage comparison unit 410 changes back to the first switch signal.
  • the charge-discharge switch Kc remains disconnected and cut off. In this way, a charge-discharge cycle is completed. That is, the charge-discharge cycle includes a charging period and a discharging period. Thereafter, the aforementioned charge-discharge cycle is repeated, that is, the airflow sensor Cs repeats the charging and discharging process.
  • the suction judgment unit 420 counts the number of charge and discharge cycles, and the count value obtained after the suction detection time period is the current count value.
  • the current count information can be calculated by the current count value.
  • the current count information is the current count value.
  • the suction judgment unit 420 further determines whether the current count information is within a preset count range to determine whether the electronic cigarette is in the suction state.
  • the count range is, for example, less than or equal to 97% of the reference count value and greater than or equal to 50% of the reference count value, wherein the reference count value is preset or obtained by counting after the suction detection time period in the non-inhalation state, for example, the reference count value is 1000.
  • the current count information is the difference between the current count value and the reference count value.
  • the count range is a difference range, for example, the difference range is greater than or equal to 30.
  • the current counting information is the ratio of the difference value to the reference counting value, and the counting range is the ratio range, for example, greater than or equal to 3%.
  • a charge and discharge cycle is less than 50 ⁇ s, preferably less than 30 ⁇ s, and the duration of the suction detection time period is, for example, 30ms.
  • the oil leakage control unit 310 includes a fourth timing subunit 315, which is connected to the logic control subunit 311.
  • the fourth timing subunit 315 starts timing.
  • the fourth timing subunit 315 sends a signal to the logic control subunit 311, and the suction detection time period ends.
  • the oil leakage detection time is much longer than the charge and discharge cycle of the suction detection time 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 when not in the suction and blowing state as the standard cycle), 15 times the charge and discharge cycle, 20 times the charge and discharge cycle, 30 times the charge and discharge cycle, etc.
  • This embodiment takes 10 times the charge and discharge cycle as an example for explanation.
  • the first current source 321 charges the capacitive airflow sensor Cs for the oil leakage detection duration in the oil leakage detection time period, and the voltage of the airflow terminal SW will quickly charge to the voltage of the power supply terminal BAT (it can only charge to the voltage of the power supply terminal BAT at most, and will not charge to 10*1V, 10V is much larger than the battery 110 voltage), and the first sampling voltage will be greater than the first reference voltage.
  • the first current source 321 charges the capacitive airflow sensor Cs for the oil leakage detection duration in the oil leakage detection time period. Due to the presence of the oil leakage resistor RL, the first sampling voltage will always be less than the first reference voltage.
  • the oil leakage detection duration can be similar to the charge and discharge cycle. At this time, 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.
  • the first reference voltage is greater than the second reference voltage.
  • the charge and discharge switch Kc is kept disconnected during the oil leakage detection period.
  • the charge and discharge switch Kc is kept disconnected during the oil leakage detection period.
  • the oil leakage detection circuit 300 further includes a first switch unit K1 and a second switch unit K2, wherein 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 respectively connected to the power supply terminal of the first current source 321 and 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 respectively connected to the power supply terminal of the second current source 322 and the second voltage comparison unit 410, and the control end of the second switch unit K2 is connected to the oil leakage control unit 310.
  • the oil leakage control unit 310 controls the conduction or disconnection of the first switch unit K1 and the second switch unit K2.
  • the first switch unit K1 and the second switch unit K2 are not turned on at the same time.
  • the second end of the first switch unit K1 may not be connected to the power supply terminal of the first voltage comparator 331.
  • 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 and cut off.
  • the second voltage comparison unit 410 works, and at the same time, the second current source 322 charges the airflow sensor Cs. After the airflow end SW is charged to the second reference voltage, the charge and discharge switch Kc is turned on to discharge, and then charged and discharged again, ...; when the oil leakage detection time period starts, the oil leakage control unit 310 controls the second switch unit K2 to be turned off and cut off, and the first switch unit K1 is turned on and turned on.
  • the first current source 321 works 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, and the second voltage comparison unit 410 outputs a low level, so that the charge and discharge switch Kc remains turned off and cut off, so that 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 and discharge switch Kc.
  • the oil leakage control unit 310 controls the first switch unit K1 and the second switch unit K2 to stop working, and the charge and discharge switch Kc remains disconnected and cut off.
  • the power supply end of the first voltage comparator 331 is connected to the second end of the first switch unit K1, so that when the first switch unit K1 is disconnected and cut off, the first current source 321 and the first voltage comparator 331 both stop working.
  • the first switch unit K1 and the second switch unit K2 are both PMOS tubes, 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 can also be NMOS tubes or other switch units.
  • the oil leakage detection circuit 300 may not include the first switch unit K1.
  • 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 and cut off, the second voltage comparison unit 410 does not work, and then the charge and discharge switch Kc unit is disconnected and cut off.
  • the first reference voltage is one, and does not include a sub-reference voltage.
  • the present application is not limited thereto.
  • the first reference voltage may also include multiple sub-reference voltages, for example, 2 sub-reference voltages, 3 sub-reference voltages or more sub-reference voltages.
  • 2 sub-reference voltages are used as an example for explanation.
  • 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.
  • the first comparison result information includes the first sub-comparison result information and the second sub-comparison result information.
  • the oil leakage detection time period after the oil leakage detection time, when the first sampling voltage is greater than the second preset sub-reference voltage, it indicates that the electronic cigarette has no oil leakage.
  • the first voltage comparator 331 outputs the second sub-comparison result information, which indicates that there is some oil leakage, but the oil leakage is not serious.
  • the first voltage comparator 331 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, which indicates that the oil leakage is very serious. Therefore, by comparing the first sampling voltage with multiple sub-reference voltages to determine whether the electronic cigarette is leaking and the severity of the oil leakage, it is convenient to process electronic cigarettes with different oil leakage degrees. For example, when the oil leakage is not serious, it can be corrected by correcting, for example, the reference count value, etc. to prevent the oil leakage state from being misjudged as the inhalation state. When the oil leakage is serious, the oil leakage control unit 310 can control the power switch M to remain disconnected and cut off. Even if the user inhales the electronic cigarette normally, the power switch M still remains disconnected and cut off, so that safety accidents are not likely to occur.
  • the oil leakage detection circuit 300 performs oil leakage state detection and puffing state detection with a first time length as a cycle, wherein the first time length includes a puffing detection time period and an oil leakage detection time period, and the puffing detection time period and the oil leakage detection time period do not overlap in time period, that is, the two are different.
  • the puffing detection time period and the oil leakage detection time period are adjacent to each other, that is, the end time of the puffing detection time period is the start time of the oil leakage detection time period, or vice versa; in addition, in other embodiments of the present application, the puffing detection time period and the oil leakage detection time period may also be non-adjacent, that is, other time periods may also exist.
  • the oil leakage control unit 310 includes a fifth timing subunit 316, and the fifth timing subunit 316 is used to control the first time length, that is, to control the cycle ...
  • the unit 316 is connected to the logic control subunit 311.
  • the first timing subunit 312, the second timing subunit 313, the third timing subunit 314, the fourth timing subunit 315, and the fifth timing subunit 316 can be the same timing unit, or different timing units, or the first timing subunit 312, the second timing subunit 313, the third timing subunit 314, the fourth timing subunit 315, and the fifth timing subunit 316 can be partially shared, which is conventional knowledge in the art and will not be repeated here.
  • the first duration includes a puff detection time period and an oil leakage detection time period.
  • the first duration is 40ms
  • the puff detection time period is 30ms
  • the oil leakage detection time period is 10ms.
  • the first duration may also include multiple puff detection time periods and an oil leakage detection time period, which can reduce the response time of the puff detection and reduce the time for the user to puff and wait for the oil to be atomized.
  • the first duration also includes a stop detection time period, and the suction state and the oil leakage state are not detected in the stop detection time period, which is conducive to reducing power consumption.
  • the stop detection time period the first current source 321, the second current source 322, the oil leakage detection unit 330, and the suction detection module 400 at least partially stop working, and in this embodiment, they all stop working.
  • the first duration includes a suction detection time period, an oil leakage detection time period and a stop detection time period.
  • the first duration is 300ms
  • the duration of the suction detection time period is 30ms
  • the duration of the oil leakage detection time period is 10ms
  • the remaining duration of 260ms is the stop detection time period.
  • the first duration can also include multiple suction detection time periods, an oil leakage detection time period and a stop detection time period, which can reduce the response time of the suction detection and reduce the time for the user to wait for the smoke oil to be atomized.
  • the first duration does not include the oil leakage detection time period, and the oil leakage detection circuit 300 performs suction detection with the first duration as a cycle, and the first duration includes the suction detection time period. Specifically, after the end of the previous first duration cycle, the electronic cigarette performs suction state detection again.
  • the logic control subunit 311 when the logic control subunit 311 receives a puff signal (a signal output when the electronic cigarette is in a puff state), the logic control subunit 311 controls the oil leakage detection unit 330 to work, or the puff signal output by the puff judgment unit 420 triggers the oil leakage detection unit 330 to work.
  • the oil leakage detection unit 330 determines that the electronic cigarette is in a non-leakage state or an oil leakage state, it normally exits the oil leakage state detection and continues the next first time period (the fifth timing subunit 316 resumes timing). At the same time, if it is determined to be in an oil leakage state, the electronic cigarette is processed according to the oil leakage state, for example, the power switch M is kept disconnected and cut off.
  • Figure 5 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.
  • the airflow sensor Cs is charged by the first current source 321.
  • the oil leakage detection circuit 300 does not include the second current source and the second switch unit.
  • the first duration includes the suction detection time period, the oil leakage detection time period and the stop detection time period.
  • the first switch unit K1 is turned on.
  • the stop detection time period the first switch unit K1 is turned off and the oil leakage detection unit 330 stops working.
  • the power supply end of the oil leakage detection unit 330 may not be connected to the second end of the first switch unit K1.
  • the oil leakage control unit 310 ignores the output of the oil leakage detection unit 330, and in the oil leakage detection time period, the oil leakage control unit 310 ignores the output of the suction detection module 400.
  • the first switch unit K1 when the first duration does not include the stop detection time period, the first switch unit K1 may not be included at this time.
  • the oil leakage detection circuit 300 further includes a switch control unit 540, and 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, and the second input end of the switch control unit 540 is connected to the oil leakage control unit 310, and in the present embodiment is connected to the logic control subunit 311, and the output end of the switch control unit 540 is connected to the control end of the charge and discharge switch Kc, and 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.
  • a logic gate such as an AND gate, an OR gate, or a combination of an AND gate, an OR gate, and a NOT
  • the oil leakage control unit 310 controls the charge and discharge switch Kc to remain disconnected and cut off via the switch control unit 540.
  • the switch control unit 540 is an AND gate 541.
  • the logic control subunit 311 continuously outputs a high level to the AND gate 541, so the output signal of the AND gate 541 is controlled by the output signal of the second voltage comparison unit 410.
  • the logic control subunit 311 continuously outputs a low level signal to the AND gate 541, and the AND gate 541 continuously outputs a low level, so that the charge and discharge switch Kc remains disconnected and cut off.
  • the switch control unit 540 may not be included, and the oil leakage detection circuit 300 also includes a second switch unit, and the two ends of the second switch unit are correspondingly connected to the power supply end BAT and the power supply end of the second voltage comparison unit 410, and the control end of the second switch unit is connected to the logic control subunit 311.
  • the logic control subunit 311 controls the second switch unit to be disconnected and cut off, and the second switch unit K2 stops working.
  • the logic control subunit 311 controls the second switch unit K2 to be turned on, and the second switch unit K2 Work.
  • this embodiment does not need to separately set 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.
  • the oil leakage detection method provided in the third embodiment of the present application will be described in detail below in conjunction with FIG6. It should be noted that the oil leakage detection method shown in FIG6 is used to be executed by the oil leakage detection circuit of the first embodiment and the second embodiment. For the convenience of description, only the part related to the embodiment of the present application is shown. For the specific technical details not disclosed, please refer to the oil leakage detection circuit of the first embodiment and the second embodiment above.
  • the oil leakage detection method includes the following steps:
  • S120 Triggering a first timing of the charging time
  • the step of judging whether the electronic cigarette is in a state of oil leakage according to the comparison result information specifically includes:
  • S142 Determine whether the third timing is greater than or equal to the third duration
  • 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; the step of comparing the first sampled voltage with the first reference voltage and outputting the comparison result information specifically includes:
  • the second comparison result information is output, wherein the second comparison result information indicates that the electronic cigarette is not in a state of oil leakage.
  • 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, wherein a first end of the charge and discharge switch is connected to an airflow end, and a second end of the charge and discharge switch is connected to a power ground end.
  • 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.
  • 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:
  • S220 sampling the voltage of the airflow terminal SW in real time to obtain a second sampling voltage
  • S230 Determine whether the second sampling voltage is greater than or equal to the second preset reference voltage
  • S260 determining whether the current counting information is within a preset counting range after a puff detection period, wherein the current counting information is obtained based on the current counting value;
  • the capacitive airflow sensor is charged through the airflow end, and it is judged 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, the 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 is instantly reduced to 0.
  • the second sampling voltage will be less than or equal to the second preset reference voltage
  • the charge and discharge switch is disconnected and cut off, and a new round of charging is carried out, and the airflow sensor is repeatedly charged and discharged until the puff detection time period is over, and the puff judgment unit judges 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-puffing state and the blowing state.
  • the present application also provides an oil leakage detection method for an electronic cigarette, comprising:
  • 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 correspondingly 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;
  • 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.
  • the present application also provides an oil leakage detection method for an electronic cigarette, comprising:
  • Triggering the detection of whether the electronic cigarette is in a state of oil leakage Triggering the detection of whether the electronic cigarette is in a state of oil leakage.
  • FIG. 9 shows a module diagram of an oil leakage detection circuit 600 provided in an embodiment of the present application. For ease of explanation, only the part related to the embodiment of the present application is shown.
  • FIG9 is a schematic diagram of an oil leakage detection circuit 600 provided in an embodiment of the present application.
  • the oil leakage detection circuit 600 of this embodiment includes: at least one processor 620 (only one is shown in FIG9 ), a memory 610, and a computer program stored in the memory 610 and executable on the processor 620.
  • the processor 620 executes the computer program, the steps in the above-mentioned oil leakage detection method embodiment are implemented.
  • FIG9 is only an example of the oil leakage detection circuit 600, and does not constitute a limitation on the oil leakage detection circuit 600.
  • 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) or 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, etc.
  • the memory 610 may be an internal storage unit of the oil leakage detection circuit 600, such as a hard disk or memory of the oil leakage detection circuit 600. In other embodiments, the memory 610 may also be an external storage device of the oil leakage detection circuit 600, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card (Flash Card), etc. equipped on the oil leakage detection circuit 600. Further, the memory 610 may also include both an internal storage unit of the oil leakage detection circuit 600 and an external storage device.
  • the memory 610 is used to store an operating system, an application program, a boot loader (BootLoader), 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 to be output.
  • the embodiment of the present application further provides a storage medium, which stores a computer program.
  • a storage medium which stores a computer program.
  • An embodiment of the present application provides a computer program product.
  • the terminal can implement the steps in the above-mentioned oil leakage detection method embodiment when executing the computer program product.
  • an airflow sensor assembly 200 including:
  • Capacitive air flow sensor 210
  • the above-mentioned oil leakage detection circuit 300 wherein the oil leakage detection circuit 300 is connected to the capacitor airflow sensor 210 .
  • the present application also provides an electronic cigarette, including:
  • the battery 110 and the heating element 120 are connected to the oil leakage detection circuit 300 .
  • the electronic cigarette includes a battery 110, a heating element 120, an airflow sensor assembly 200, etc.
  • the battery 110 and the heating element 120 are respectively connected to the airflow sensor assembly 200
  • the heating element 120 is, for example, a heating wire, a heating wire, a ceramic seat containing a heating wire or a heating wire, or other conventional heating elements 120
  • the battery 110 is, for example, a rechargeable battery or a non-rechargeable battery
  • the rechargeable battery is, for example, a lithium-ion battery, a nickel-cadmium battery, a nickel-hydrogen battery, a lithium polymer battery, a lead-acid battery, etc.
  • 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, etc.
  • 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.
  • the capacitive airflow sensor Cs is essentially a The capacitor of the airflow change
  • 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 electrode of the battery 110, the power ground terminal GND is connected to the negative electrode of the battery 110, the power ground terminal GND is used for electrical grounding, the airflow terminal SW is connected to an electrode of the capacitive airflow sensor Cs, 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
  • the electronic cigarette includes a cigarette rod and a cigarette cartridge, wherein a heating element 120 is provided in the cigarette cartridge, and the cigarette cartridge also stores cigarette oil, and a capacitive airflow sensor Cs, a battery 110 and an oil leakage detection circuit 300 are provided in the cigarette rod.
  • the electronic cigarette of the present application can be a rechargeable electronic cigarette or a disposable electronic cigarette.
  • 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 in an oil leakage state through the airflow end 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 end BAT or the power ground end GND.
  • the other end of the power switch M is connected to the atomization end AT to be connected 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 to turn on or off by obtaining the state of the electronic cigarette.
  • the power switch M is a PMOS tube, and one end of the PMOS tube is connected to the power supply end BAT.
  • the power switch M can also be an NMOS tube, and one end of the NMOS tube is connected to the power ground end GND.
  • the oil leakage detection circuit 300 is located on the same chip, which is generally referred to as an electronic cigarette dedicated chip.
  • 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
  • the atomization terminal AT is the atomization pin.
  • the oil leakage detection circuit 300 can also be located on the same chip 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.
  • the oil leakage detection circuit 300 also includes an indication terminal LED/pin LED and a charging terminal CHG/pin CHG, wherein the indication 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.
  • the oil leakage detection control module also includes a first current source 321 and an oil leakage detection unit 530, wherein 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 end BAT, and the second end of the first current source 321 is connected to the airflow end SW, so that the first current source 321 can charge the capacitive airflow sensor Cs through the airflow end SW; the oil leakage detection The unit 530 is used to detect whether the electronic cigarette is in a state of oil leakage through the airflow end SW during the oil leakage detection period.
  • the oil leakage detection unit 530 is connected to the airflow end SW.
  • the oil leakage detection unit 530 is used to collect the voltage of the airflow end SW to obtain a first sampling voltage.
  • the first sampling voltage can be equal to the voltage of the airflow end SW (for example, the oil leakage detection unit 530 is directly connected to the airflow end SW, and this embodiment is described as an example). It can also be sampled by means of resistance voltage division, etc. At this time, the first sampling voltage is k times the voltage of the airflow end SW, where k is a positive number less than 1.
  • the first current source 321 charges the capacitive airflow sensor Cs through the airflow end SW during the oil leakage detection period. After charging the oil leakage detection time, the oil leakage detection unit 530 collects the voltage of the airflow end SW to obtain the first sampling voltage.
  • the oil leakage detection unit 530 calculates the first sampling voltage and the first current information to obtain the first sampling resistance information, and then judges the first sampling 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.
  • the voltage is used to characterize the current.
  • 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, such as 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.
  • the oil leakage detection duration is generally less than 200ms.
  • 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 to obtain the first sampling resistance information.
  • the first sampling resistance information will be relatively large.
  • the first sampling resistance information is used to characterize the resistance between the airflow terminal SW and the power ground terminal GND. Since the oil leakage detection time is very long, the capacitor is close to presenting a DC characteristic. The capacitor 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.
  • the first sampling resistance information can be a resistance, or it can be a characterization of The voltage of the resistance value (for example, the first current is also characterized by voltage at this time, 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).
  • the resistance value of the oil leakage resistor RL is less than 10 megohms, for example, 8M ⁇ , 5M ⁇ , 4M ⁇ , 2M ⁇ , 1M ⁇ , 800 k ⁇ , 500k ⁇ , 300k ⁇ , etc., because the equivalent resistance of the capacitor will be much larger than the resistance of the oil leakage resistor RL, so that 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 time, the parallel resistor can be detected more conveniently, and the existence of the oil leakage resistor RL is intuitively manifested as follows: when the charging passes the oil leakage detection time, the technicians in this field know that: since the first current is known, the voltage of the airflow end SW is controlled by the oil leakage resistor RL, and the voltage on the airflow end SW is the voltage on 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, and the product will be relatively Small, generally
  • the first sampling resistance information when there is oil leakage is much smaller than the first sampling resistance information when there is no oil leakage.
  • the first sampling resistance information obtained by the detection calculation is compared with the first reference resistance information. According to the comparison result information, it can be judged whether the electronic cigarette is in an oil leakage state. For example, assuming that the first sampling resistance information is resistance, the first reference resistance information corresponds to resistance at this time, and the first reference resistance information is, for example, 15M ⁇ at this time; preferably, the first sampling resistance information is voltage, and the first reference resistance information corresponds to voltage at this time.
  • the first sampling resistance information can be obtained without the need for the oil leakage detection time, and can also be quickly collected and obtained in the oil leakage detection time period by other conventional technologies in the field, such as directly sampling the voltage and current of the airflow end SW at a certain moment, and the first sampling resistance information can be obtained by calculation.
  • the present application compares 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 connecting the two electrodes of the capacitor, or whether there is smoke oil connecting the airflow end SW to the ground end according to the comparison result information. When the oil leakage control unit 310 determines that the electronic cigarette has oil leakage, the oil leakage control unit 310 can control the power switch M to remain disconnected or perform other processing.
  • 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 is used to obtain the first sampling resistance information through the airflow terminal SW, wherein the first sampling resistance information is used to characterize 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 the comparison result information.
  • the oil leakage control unit 310 determines whether the electronic cigarette is in an oil leakage state according to the comparison result information.
  • the oil leakage detection method of the present application is simple, takes very little detection time, and the user can hardly feel it, which does not affect the user's experience; and the existing airflow terminal SW can be fully utilized, and the existing capacitive airflow sensor Cs can be used to determine whether the electronic cigarette is leaking oil.
  • the airflow terminal SW has multiple functions, and the airflow terminal SW can realize time-sharing multiplexing.
  • the oil leakage detection circuit 300 does not need to add terminals or pins, which is conducive to reducing costs.
  • 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 triggering the heating element 120 to work incorrectly for a long time with a low probability, and safety accidents are not likely to occur.
  • the oil leakage detection unit 530 includes a divider 531 and a first resistance comparator 532, wherein the first input end of the divider 531 is connected to the first sampling voltage, and the second input end of the divider 531 is connected to the first current information representing the first current, wherein the first current information is preferably used for voltage representation, and of course it can also be used for current representation, and the output end of the divider 531 outputs the first sampling resistance information; the first input end of the first resistance comparator 532 is connected to the first sampling resistance information, and the second input end of the first resistance comparator 532 is connected to the first reference resistance information RefR1, the first reference resistance information is preset, and the output end of the first resistance comparator 532 is connected to the oil leakage control unit 310.
  • the first resistance comparator 532 is a voltage comparator, and its first input end is the same direction end, and the second input end is the reverse direction end.
  • the first input end can also be the reverse direction end, and the second input end can be the same direction end.
  • the first resistor comparator 532 outputs comparison result information.
  • the first sampling resistance information is greater than or equal to the first reference resistance information
  • the first resistor comparator 532 outputs second comparison result information.
  • the second comparison result information is, for example, a high level, which indicates that the electronic cigarette has no oil leakage.
  • the first resistor comparator 532 When the first sampling resistance information is less than the first reference resistance information, the first resistor comparator 532 outputs first comparison result information.
  • the first comparison result information is, for example, a low level, which indicates that the electronic cigarette has oil leakage. Therefore, the oil leakage control unit 310 can determine whether there is oil leakage through the comparison result information output by the first resistance comparator 532.
  • 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.
  • the logic control subunit 311 controls to enter the oil leakage detection time period
  • the first timing subunit 312 starts timing, and at the same time controls the first current source 321 to charge the capacitive airflow sensor Cs through the airflow terminal SW.
  • 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.
  • the first timing subunit 312 reaches the oil leakage detection time length, the first timing subunit 312 outputs the 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 at this time or in the subsequent oil leakage detection time period, and judge whether the electronic cigarette is in an oil leakage state according to the comparison result information.
  • the logic control subunit 311 controls the power switch M to remain disconnected and cut off.
  • the first timing subunit 312 is also connected to the oil leakage detection unit 530.
  • the logic control subunit 311 controls to enter the oil leakage detection time period
  • the first timing subunit 312 starts timing, and at the same time controls the first current source 321 to charge the capacitive airflow sensor Cs through the airflow terminal SW.
  • 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
  • the first resistor comparator 532 does not compare the information of the two input terminals, or although it compares, it does not output the comparison result information.
  • the first timing subunit 312 When the first timing subunit 312 times the oil leakage detection time length, the first timing subunit 312 outputs the first timing signal to the oil leakage detection unit 530.
  • the oil leakage detection unit 530 for example, the divider 531 calculates and outputs the calculation result.
  • the first resistor comparator 532 compares the information of 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 resistor comparator 532 do not receive the first timing subunit.
  • the first timing subunit 312 does not work before receiving the first timing signal of the first timing subunit 312, and only works after receiving the first timing signal of the first timing subunit 312.
  • the airflow end SW can also be connected to the divider 531 via the sampling unit, and the sampling unit is connected to the first timing subunit 312.
  • the sampling unit does not work before receiving the first timing signal of the first timing subunit 312, and only works after receiving the first timing signal of the first timing subunit 312.
  • the first timing subunit 312 when the first timing subunit 312 has not reached the oil leakage detection time length, the first timing subunit 312 outputs a second timing signal, and the second timing signal is different from the first timing signal.
  • the first timing subunit 312 resets to zero, or resets to zero when the oil leakage detection time period ends.
  • the oil leakage control unit 310 in order to obtain the duration of the oil leakage detection time period, 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.
  • the logic control subunit 311 controls to enter 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.
  • the second timing subunit 313 sends a third timing signal to the logic control subunit 311, and the oil leakage detection time period ends.
  • 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 resistor 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 resistor comparator 532.
  • the third timing subunit 314 When the timing of the third timing subunit 314 is greater than or equal to the third duration, the third timing subunit 314 outputs an oil leakage confirmation signal to the logic control subunit 311.
  • the third timing subunit 314 receives the first timing signal
  • the third timing subunit 314 resets to zero (starts timing) or does not start timing (does not start timing), that is, when the first resistor comparator 532 outputs the second comparison result information, the third timing subunit 314 does not start timing.
  • the first resistor 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.
  • the third timing subunit 314 When the third timing subunit 314 has been timing to the third duration, the third timing subunit 314 outputs the oil leakage confirmation signal to the logic control subunit 311, and the third timing subunit 314 resets to zero.
  • the third timing subunit 314 receives the second comparison result information, and the third timing subunit 314 resets to zero.
  • the duration of the oil leakage detection time period is greater than the oil leakage detection time period, and the duration of the oil leakage detection time period is greater than or equal to the sum of the oil leakage detection time period and the third duration.
  • the oil leakage control unit 310 may not include the third timing subunit 314 .
  • the state of an electronic cigarette is divided according to whether the electronic cigarette is inhaled.
  • the electronic cigarette is generally divided into two states: the inhalation state and the non-inhalation state, wherein the non-inhalation state includes the blowing state and the non-inhalation and blowing state, wherein the inhalation state corresponds to the state when the user inhales the electronic cigarette, the blowing state corresponds to the state when the user blows into the electronic cigarette, and the non-inhalation and blowing state corresponds to the state when the electronic cigarette is neither inhaled nor blown.
  • the electronic cigarette will perform different actions when it is in different states.
  • the oil leakage detection circuit 300 also includes a suction detection module 400, which is used to detect whether the electronic cigarette is in the inhalation state through the airflow end SW during the suction detection time period.
  • the input end of the puff detection module 400 is connected to the airflow end SW, and the puff detection module 400 samples the voltage of the airflow end SW to obtain a second sampling voltage.
  • the second sampling voltage can be equal to the voltage of the airflow end SW, or it can be less than the voltage of the airflow end SW.
  • the second sampling voltage and the first sampling voltage can be obtained by sampling the same sampling unit.
  • the first sampling voltage and the second sampling voltage are distinguished by different time periods, for example, obtained by sampling the same group of barcode resistors, and of course, they can also be obtained by sampling different sampling units.
  • the output end of the puff detection module 400 is connected to the oil leakage control unit 310, and specifically connected to the logic control subunit 311.
  • the puff detection module 400 is used to determine whether the electronic cigarette is in the puffing state according to the capacitance or capacitance change of the airflow sensor Cs through the airflow end SW, that is, the airflow end SW has at least two functions: detection of the puffing state and detection of the oil leakage state.
  • the suction detection module 400 includes a second voltage comparison unit 410 and a suction judgment unit 420
  • the oil leakage detection circuit 300 includes a charge and discharge switch Kc.
  • the first input end of the second voltage comparison unit 410 is connected to the second sampling voltage
  • the second input end of the second voltage comparison unit 410 is connected to the second reference voltage
  • the output end of the second voltage comparison unit 410 is connected to the suction judgment unit 420
  • the output end of the suction judgment unit 420 is connected to the oil leakage control unit 310
  • the first end of the charge and discharge switch Kc is connected to the airflow end SW
  • the second end of the charge and discharge switch Kc is connected to the power ground GND, that is, the charge and discharge switch Kc is connected in parallel with the airflow sensor Cs
  • the control end of the charge and discharge switch Kc is connected to the output end of the second voltage comparison unit 410.
  • the first input end of the second voltage comparison unit 410 is the same direction end, and the second input end is the reverse end. In other embodiments of the present application, the same direction end and the reverse end can be reversed.
  • the range of the second reference voltage 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 by taking 1V as an 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 tube, etc., 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 tube or other conventional switch units.
  • the oil leakage detection circuit 300 further includes a second current source 322.
  • the second current source 322 constantly outputs a second current.
  • the second current may be the same as the first current (in this embodiment, the same is taken as an example for explanation), or may 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 power supply terminal BAT.
  • the two terminals are connected to the airflow terminal SW, so that the second current source 322 can charge the capacitive airflow sensor Cs through the airflow terminal SW.
  • the second current source 322 charges the airflow sensor Cs.
  • the second sampling voltage is less than the second reference voltage.
  • the output end of the second voltage comparison unit 410 outputs a first switch signal.
  • the first switch signal is, for example, a low level.
  • the charge-discharge switch Kc remains disconnected and cut off.
  • the second sampling voltage is equal to or greater than the second reference voltage.
  • the output signal of the second voltage comparison unit 410 changes and outputs a second switch signal.
  • the second switch signal is, for example, a high level.
  • the second switch signal controls the charge-discharge switch Kc to turn on.
  • the two ends of the airflow sensor Cs are short-circuited by the charge-discharge switch Kc and are instantly discharged to 0V or close to 0V (this period is the discharging period).
  • the second sampling voltage is less than the second reference voltage again.
  • the output signal of the second voltage comparison unit 410 changes back to the first switch signal.
  • the charge-discharge switch Kc remains disconnected and cut off. In this way, a charge-discharge cycle is completed. That is, the charge-discharge cycle includes a charging period and a discharging period. Thereafter, the aforementioned charge-discharge cycle is repeated, that is, the airflow sensor Cs repeats the charging and discharging process.
  • the suction judgment unit 420 counts the number of charge and discharge cycles, and the count value obtained after the suction detection time period is the current count value.
  • the current count information can be calculated by the current count value.
  • the current count information is the current count value.
  • the suction judgment unit 420 further determines whether the current count information is within a preset count range to determine whether the electronic cigarette is in the suction state.
  • the count range is, for example, less than or equal to 97% of the reference count value and greater than or equal to 50% of the reference count value, wherein the reference count value is preset or obtained by counting after the suction detection time period in the non-inhalation state, for example, the reference count value is 1000.
  • the current count information is the difference between the current count value and the reference count value.
  • the count range is a difference range, for example, the difference range is greater than or equal to 30.
  • the current counting information is the ratio of the difference value to the reference counting value, and the counting range is the ratio range, for example, greater than or equal to 3%.
  • a charge and discharge cycle is less than 50 ⁇ s, preferably less than 30 ⁇ s, and the duration of the suction detection time period is, for example, 30ms.
  • the oil leakage control unit 310 includes a fourth timing subunit 315, which is connected to the logic control subunit 311.
  • the fourth timing subunit 315 starts timing.
  • the fourth timing subunit 315 sends a signal to the logic control subunit 311, and the suction detection time period ends.
  • the oil leakage detection duration is much longer than the charge and discharge cycle of the suction detection time period, generally greater than or equal to 10 times the charge and discharge cycle, for example, 10 times the charge and discharge cycle (calculated with the charge and discharge cycle in the non-suction and blowing state as the standard cycle), 15 times the charge and discharge cycle, 20 times the charge and discharge cycle, 30 times the charge and discharge cycle, etc., and this embodiment is described by taking 10 times the charge and discharge cycle as an example.
  • the first current source 321 charges the capacitive airflow sensor Cs for the oil leakage detection duration, and the voltage of the airflow end SW will quickly charge to the voltage of the power supply end BAT (at most it can only charge to the voltage of the power supply end BAT, and will not charge to 10*1V, 10V is much larger than the battery 110 voltage), the first sampling voltage is relatively large, and the first sampling resistance information will be greater than the first reference resistance information.
  • the first current source 321 charges the capacitive airflow sensor Cs for the oil leakage detection duration.
  • the first sampling resistance information will always be less than the first reference resistance information.
  • the oil leakage detection duration may be close to the charge and discharge cycle. At this time, 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 .
  • the second sampling voltage will be greater than the second reference voltage.
  • the charge and discharge switch Kc is kept disconnected during the oil leakage detection time period.
  • the charge and discharge switch Kc is kept disconnected during the oil leakage detection time period.
  • the oil leakage detection circuit 300 further includes a first switch unit K1 and a second switch unit K2, wherein the first end of the first switch unit K1 is connected to the power supply end BAT, the second end of the first switch unit K1 is respectively connected to the power supply end of the first current source 321, the divider 531 and/or the first resistor comparator 532, 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 end BAT, the second end of the second switch unit K2 is respectively connected to the power supply end of the second current source 322 and the second voltage comparison unit 410, and the control end of the second switch unit K2 is connected to the oil leakage control unit 310.
  • the oil leakage control unit 310 controls the first switch unit K1 and the second switch unit K2 to be turned on or off, and in this embodiment, the first switch unit K1 and the second switch unit K2 are not turned on at the same time.
  • 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 .
  • 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 and cut off.
  • the second voltage comparison unit 410 works, and at the same time, the second current source 322 charges the airflow sensor Cs. After the airflow end SW is charged to the second reference voltage, the charge and discharge switch Kc is turned on to discharge, and then charged and discharged again, ...; 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 cut off, and the first switch unit K1 is turned on and turned on.
  • the first current source 321 works 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, and the second voltage comparison unit 410 outputs a low level, so that the charge and discharge switch Kc remains turned off and cut off, so that during this time period, even if the airflow sensor Cs is charged to a voltage greater than the second reference voltage, it will not be discharged through the charge and discharge switch Kc.
  • the oil leakage control unit 310 controls the first switch unit K1 and the second switch unit K2 to stop working.
  • the power supply end of the divider 531 and the power supply end of the first resistor comparator 532 are connected to the second end of the first switch unit K1, so that when the first switch unit K1 is disconnected and cut off, the first current source 321, the divider 531, and the first resistor comparator 532 all stop working.
  • the first switch unit K1 and the second switch unit K2 are both PMOS tubes, 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 tubes or other switch units.
  • the oil leakage detection circuit 300 may not include the first switch unit K1.
  • 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 and cut off, the second voltage comparison unit 410 does not work, and then the charge and discharge switch Kc unit is disconnected and cut off.
  • the first reference resistance information is one, and does not include sub-reference resistance information.
  • the present application is not limited thereto.
  • the first reference resistance information may also include multiple sub-reference resistance information, for example, including 2 sub-reference resistance information, 3 sub-reference resistance information or more sub-reference resistance information.
  • 2 sub-reference resistance information is used as an example for explanation.
  • the two sub-reference resistance information are the first preset sub-reference resistance information and the second preset sub-reference resistance information, wherein the first preset sub-reference resistance information is less than the second preset sub-reference resistance information, and correspondingly, the first comparison result information includes the first sub-comparison result information and the second sub-comparison result information.
  • the first resistance comparator 532 In the oil leakage detection time period, after the oil leakage detection time, when the first sampling resistance information is greater than the second preset sub-reference resistance information, it indicates that the electronic cigarette has no oil leakage.
  • the first resistance comparator 532 When the first sampling 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, which indicates that there is some oil leakage, but the oil leakage is not serious.
  • the first resistance comparator 532 When the first sampling resistance information is less than the first preset sub-reference resistance information, the first resistance comparator 532 outputs the first sub-comparison result information, which indicates that the oil leakage is very serious.
  • the oil leakage control unit 310 can be used to control the power switch M to remain disconnected and cut off. Even if the user inhales the electronic cigarette, the power switch M remains disconnected and cut off, so that safety accidents are not likely to occur.
  • the oil leakage detection circuit 300 performs oil leakage state detection and suction state detection with a first duration as a cycle, wherein the first duration 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 do not overlap in time period, that is, the two are different.
  • the suction detection time period and the oil leakage detection time period are adjacently set, that is, the end time of the suction detection time period is the start time of the oil leakage detection time period, or vice versa; in addition, in other embodiments of the present application, the suction detection time period and the oil leakage detection time period can also be non-adjacently set, that is, there can also be other time periods.
  • the oil leakage control unit 310 includes a fifth timing subunit 316, and the fifth timing subunit 316 is used to control the first duration, and the fifth timing subunit 316 is connected to the logic control subunit 311.
  • 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 partially shared. These are common knowledge in the field and will not be repeated here.
  • the first duration includes a puff detection time period and an oil leakage detection time period.
  • the first duration is 40ms
  • the puff detection time period is 30ms
  • the oil leakage detection time period is 10ms.
  • the first duration may also include multiple puff detection time periods and an oil leakage detection time period, which can reduce the response time of the puff detection and reduce the time for the user to puff and wait for the oil to be atomized.
  • the first duration also includes a stop detection time period, and the suction state and the oil leakage state are not detected in the stop detection time period, which is conducive to reducing power consumption.
  • the stop detection time period the first current source 321, the second current source 322, the oil leakage detection unit 530, and the suction detection module 400 at least partially stop working, and in this embodiment, they all stop working.
  • the first duration includes a suction detection time period, an oil leakage detection time period and a stop detection time period.
  • the first duration is 300ms
  • the duration of the suction detection time period is 30ms
  • the duration of the oil leakage detection time period is 10ms
  • the remaining duration of 260ms is the stop detection time period.
  • the first duration can also include multiple suction detection time periods, an oil leakage detection time period and a stop detection time period, which can reduce the response time of the suction detection and reduce the time for the user to wait for the smoke oil to be atomized.
  • the first duration does not include the oil leakage detection time period, and the oil leakage detection circuit 300 performs suction detection with the first duration as a cycle, and the first duration includes the suction detection time period. Specifically, after the end of the previous first duration cycle, the electronic cigarette performs suction state detection again.
  • the logic control subunit 311 when the logic control subunit 311 receives a suction signal (a signal output when the electronic cigarette is in a suction state), the logic control subunit 311 controls the oil leakage detection unit 530 to work, or the suction signal output by the suction judgment unit 420 triggers the oil leakage detection unit 530 to work.
  • the oil leakage detection unit 530 determines that the electronic cigarette is in a non-leakage state or a leakage state, Normally exit the oil leakage state detection and continue the next first time period (the fifth timing subunit 316 resumes timing).
  • the electronic cigarette is processed according to the oil leakage state, for example, the power switch M is kept disconnected and cut off.
  • Figure 11 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.
  • the airflow sensor Cs is charged by the first current source 321.
  • the oil leakage detection circuit 300 does not include the second current source 322 and the second switch unit K2.
  • the first duration includes the suction detection time period, the oil leakage detection time period and the stop detection time period.
  • the first switch unit K1 is turned on.
  • the stop detection time period the first switch unit K1 is turned off and the oil leakage detection unit 530 stops working.
  • the power supply end of the oil leakage detection unit 530 may not be connected to the second end of the first switch unit K1.
  • the oil leakage control unit 310 ignores the output of the oil leakage detection unit 530, and in the oil leakage detection time period, the oil leakage control unit 310 ignores the output of the suction detection module 400.
  • the first switch unit K1 when the first duration does not include the stop detection time period, the first switch unit K1 may not be included at this time.
  • the oil leakage detection circuit 300 further includes a switch control unit 540, and a first input end of the switch control unit 540 is controlled by an 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, and a second input end of the switch control unit 540 is connected to the oil leakage control unit 310, and in the present embodiment is connected to the logic control subunit 311, and an output end of the switch control unit 540 is connected to a control end of the charge and discharge switch Kc, and the switch control unit 540 is, for example, a logic gate, such as an AND gate 541, an OR gate, or a combination of an AND gate 541, an OR gate, and a NOT gate.
  • a logic gate such as an AND gate 541, an OR gate, or a combination of an AND gate 541, an OR
  • the oil leakage control unit 310 controls the charge and discharge switch Kc to remain disconnected and cut off via the switch control unit 540.
  • the switch control unit 540 is an AND gate 541.
  • the logic control subunit 311 continuously outputs a high level to the AND gate 541, so the output signal of the AND gate 541 is controlled by the output signal of the second voltage comparison unit 410.
  • the logic control subunit 311 continuously outputs a low level signal to the AND gate 541, and the AND gate 541 continuously outputs a low level, so that the charge and discharge switch Kc remains disconnected and cut off.
  • the switch control unit 540 may not be included, and the oil leakage detection circuit 300 also includes a second switch unit K2, and the two ends of the second switch unit K2 are correspondingly connected to the power supply end BAT and the power supply 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.
  • 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.
  • the logic control subunit 311 controls the second switch unit K2 to be turned on, and the second switch unit K2 works.
  • this embodiment does not need to separately set 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.
  • Figure 12 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 it is in an oil leakage state is determined by the difference in resistance voltage division.
  • the oil leakage detection unit 530 includes a first voltage-dividing resistor R1-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 charge and discharge switch Kc and the second switch unit K2 remain disconnected and cut off.
  • 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 (first voltage-dividing value) and the voltage at the second voltage-dividing sampling point (second voltage-dividing value) are equal or almost equal, and the pressure difference between the two is 0 or very small.
  • the oil leakage resistor RL When there is an oil leakage resistor RL, the oil leakage resistor RL will be connected in parallel with the third voltage-dividing resistor R3 and then in series with the first voltage-dividing resistor R1. After the oil leakage resistor RL is connected in parallel with the third voltage-dividing resistor R3, its parallel resistance will be reduced, thereby causing the voltage at the airflow end SW to decrease, while the voltage at the second voltage-dividing sampling point is independent of the oil leakage resistor RL, and the voltage at the second voltage-dividing sampling point remains unchanged, so that the voltage at the second voltage-dividing sampling point will be significantly greater than the voltage at the airflow end SW, causing the voltage difference between the two to increase, and this voltage difference is the first sampling voltage. Resistance information, so that by comparing the first sampled resistance information with the preset first reference resistance information, it can be determined whether the electronic cigarette is in an oil leakage state.
  • the first reference resistance information is voltage.
  • the oil leakage detection unit 530 also includes a pressure difference comparison subunit, which is respectively connected to the airflow end SW and the second divided pressure sampling point, and the pressure difference comparison subunit also receives the first reference resistance information.
  • the pressure difference comparison subunit subtracts the first divided pressure value from the second divided pressure value to obtain the second sampling resistance information, and compares the second sampling resistance information with the first reference resistance information.
  • the first comparison result information is output, indicating that the electronic cigarette is in an oil leakage state.
  • the second comparison result information is output, indicating that the electronic cigarette is not in an oil leakage state.
  • the oil leakage detection circuit 300 further includes a first switch unit K1 and a third switch unit K3, wherein 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 voltage-dividing resistor R1 and the second voltage-dividing resistor R2, a first end of the third switch unit K3 is connected to the airflow terminal SW, a second end of the third switch unit K3 is connected to the first end of the third voltage-dividing resistor R3, a control end of the first switch unit K1 and a control end of the third switch unit K3 are both connected to the oil leakage control unit 310, in the oil leakage detection period, the oil leakage control unit 310 controls the first switch unit K1 and the third switch unit K3 to be turned on, in the puff detection period, the
  • This embodiment uses a Wheatstone bridge to detect the oil leakage status.
  • the time required for the oil leakage detection period is very short, which is much shorter than the oil leakage detection time in the fourth embodiment.
  • the oil leakage status can be detected quickly, and the impact on user use is very small.
  • 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 executed by the oil leakage detection circuit 300 of the fourth embodiment to the sixth embodiment. For the convenience of description, only the part related to the embodiment of the present application is shown. For the specific technical details not disclosed, please refer to the oil leakage detection circuit 300 of the fourth embodiment to the sixth embodiment.
  • the oil leakage detection method includes:
  • the oil leakage detection circuit 300 comprises a power supply end BAT, a power ground end GND, an airflow end SW, and an atomization end AT, wherein the power supply end BAT and the power ground end GND are correspondingly used to be connected to the positive and negative poles of the battery 110, the airflow end SW is used to be connected to one electrode of the capacitive airflow sensor Cs, the power ground end GND is also used to be connected to the other electrode of the capacitive airflow sensor Cs, and the atomization end AT is used to be connected to the heating element 120;
  • S120-2 Compare the first sampling resistance information with the first reference resistance information and output comparison result information
  • S130-2 Receive the comparison result information and determine whether the electronic cigarette is in an oil leakage state according to the comparison result information.
  • step S110-2 specifically includes:
  • S112-2 Triggering a first timing of the charging time
  • the first sampling resistance information is voltage or resistance.
  • step S110-2 specifically includes:
  • 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 is connected in series with the fourth resistor, 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;
  • S118-2 Subtract the first voltage division value and the second voltage division value to obtain second sampling resistance information.
  • the step of judging whether the electronic cigarette is in a state of oil leakage according to the comparison result information specifically includes:
  • S132-2 Determine whether the third timing is greater than or equal to the third duration
  • 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 less than the second preset sub-reference resistance information; the step of comparing the first sampling resistance information with the first reference resistance information and outputting the comparison result information specifically includes:
  • the second comparison result information is output, wherein the second comparison result information indicates that the electronic cigarette is not in a state of oil leakage.
  • the oil leakage detection method further includes: controlling the charge and discharge switch Kc to remain disconnected during a 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.
  • 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 the 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.
  • 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:
  • S220-2 sampling the voltage of the airflow terminal SW in real time to obtain a second sampled voltage
  • S230-2 Determine whether the second sampling voltage is greater than or equal to the second preset reference voltage
  • S260-2 determining whether the current counting information is within a preset counting range after a puff detection period, wherein the current counting information is obtained based on the current counting value;
  • the capacitive airflow sensor Cs is charged through the airflow end 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 judgment result is yes, cumulative counting is performed to obtain the current count value, and the charge and discharge switch Kc is controlled to be turned on for discharge. Since the two ends of the airflow sensor Cs are short-circuited when the charge and discharge switch Kc is turned on, the voltage of the airflow end SW is instantly reduced to 0, and then the second sampling voltage is less than or equal to the second preset reference voltage.
  • the charge and discharge switch Kc is disconnected and cut off, and a new round of charging is performed, and the airflow sensor Cs is repeatedly charged and discharged until the puff detection time period has passed.
  • the puff judgment unit 420 determines whether the current counting information is within the preset counting range. If the judgment result is yes, the puff judgment unit 420 outputs information that the electronic cigarette is in the puff state; if the judgment result is no, the puff judgment unit 420 outputs information that the electronic cigarette is in the non-puff state, and the non-puff state includes the non-puffing state and the blowing state.
  • the present application also provides an oil leakage detection method for an electronic cigarette, comprising:
  • the airflow end SW of the oil leakage detection circuit 300 is used to detect whether the electronic cigarette is in the puff state, wherein the oil leakage detection circuit 300 includes a power supply end BAT, a power ground end GND, an airflow end SW, and an atomization end AT, wherein the power supply end BAT and the power ground end GND are correspondingly connected to the positive and negative poles of the battery 110, the airflow end SW is used to connect to one electrode of the capacitive airflow sensor Cs, the power ground end GND is also used to connect to the other electrode of the capacitive airflow sensor Cs, and the atomization end AT is used to connect to the heating element 120;
  • the airflow end SW is used to detect whether the electronic cigarette is in an oil leakage state
  • 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.
  • the present application also provides an oil leakage detection method for an electronic cigarette, comprising:
  • Triggering the detection of whether the electronic cigarette is in a state of oil leakage Triggering the detection of whether the electronic cigarette is in a state of oil leakage.
  • FIG. 9 shows a module diagram of an oil leakage detection circuit 600 provided in an embodiment of the present application. For ease of explanation, only the part related to the embodiment of the present application is shown.
  • FIG9 is a schematic diagram of an oil leakage detection circuit 600 provided in an embodiment of the present application.
  • the oil leakage detection circuit 600 of this embodiment includes: at least one processor 620 (only one is shown in FIG9 ), a memory 610, and a computer program stored in the memory 610 and executable on the processor 620.
  • the processor 620 executes the computer program, the steps in the above-mentioned oil leakage detection method embodiment are implemented.
  • FIG9 is only an example of the oil leakage detection circuit 600, and does not constitute a limitation on the oil leakage detection circuit 600.
  • 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) or 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, etc.
  • the memory 610 may be an internal storage unit of the oil leakage detection circuit 600, such as a hard disk or memory of the oil leakage detection circuit 600. In other embodiments, the memory 610 may also be an external storage device of the oil leakage detection circuit 600, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card (Flash Card), etc. equipped on the oil leakage detection circuit 600. Further, the memory 610 may also include both an internal storage unit of the oil leakage detection circuit 600 and an external storage device.
  • the memory 610 is used to store an operating system, an application program, a boot loader (BootLoader), 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 to be output.
  • the embodiment of the present application further provides a storage medium, which stores a computer program.
  • a storage medium which stores a computer program.
  • An embodiment of the present application provides a computer program product.
  • the terminal can implement the steps in the above-mentioned oil leakage detection method embodiment when executing the computer program product.
  • an airflow sensor assembly 200 including:
  • Capacitive air flow sensor Cs
  • the above-mentioned oil leakage detection circuit 300 wherein the oil leakage detection circuit 300 is connected to the capacitor airflow sensor Cs.
  • the present application also provides an electronic cigarette, including:
  • the battery 110 and the heating element 120 are both connected to the oil leakage detection circuit 300 .
  • the electronic cigarette includes a battery 110, a heating element 120, an airflow sensor assembly 200, etc.
  • the battery 110 and the heating element 120 are respectively connected to the airflow sensor assembly 200
  • the heating element 120 is, for example, a heating wire, a heating wire, a ceramic seat containing a heating wire or a heating wire, or other conventional heating elements 120
  • the battery 110 is, for example, a rechargeable battery or a non-rechargeable battery
  • the rechargeable battery 110 is, for example, a lithium-ion battery, a nickel-cadmium battery, a nickel-hydrogen battery, a lithium polymer battery, a lead-acid battery, etc.
  • 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, etc.
  • 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.
  • the capacitive airflow sensor 210 is essentially a capacitor that can change with the airflow
  • 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 electrode of the battery 110, the power ground terminal GND is connected to the negative electrode 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, and 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 G
  • 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 in an oil leakage state through the airflow end 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 end BAT or the power ground end GND.
  • the other end of the power switch M is connected to the atomization end AT to be connected 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 to turn on or off by obtaining the state of the electronic cigarette.
  • the power switch M is a PMOS tube, and one end of the PMOS tube is connected to the power supply end BAT.
  • the power switch M can also be an NMOS tube, and one end of the NMOS tube is connected to the power ground end GND.
  • the oil leakage detection circuit 300 is located on the same chip, which is generally called an electronic cigarette dedicated chip.
  • 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
  • the atomization terminal AT is the atomization pin.
  • the oil leakage detection circuit 300 can also be The circuits other than the switch M are located on the same chip, and the power switch M is located on another chip. The two chips may be packaged together or not.
  • the oil leakage detection circuit 300 further includes an indication terminal/pin LED and a charging terminal/pin CHG, wherein the indication terminal LED is used for an external indicator light, the indicator light is used for indicating the state of the electronic cigarette, and the charging terminal CHG is used for connecting to a USB input interface for charging the battery 110.
  • 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 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, and the first current source 321 constantly outputs a first current, and the first current is, for example, 100nA, 200nA, 300nA, 400nA, 500nA, etc.
  • the oil leakage detection unit 330 is connected to the airflow terminal SW, and the oil leakage detection unit 330 is used to obtain a first sampling voltage through the airflow terminal SW.
  • the voltage of the airflow terminal SW is sampled to obtain the first sampling voltage.
  • the first sampling 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, and this embodiment is described as an example), or sampling can be performed by means of resistance voltage division, and at this time, the first sampling voltage is less than the voltage of the airflow terminal SW.
  • the oil leakage control unit 310 is connected to the oil leakage detection unit 330 , and 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.
  • the first current source 321 charges the capacitive airflow sensor 210 through the airflow terminal SW for a first preset time, and then the first current source 321 stops charging the capacitive airflow sensor 210.
  • the first sampling voltage is the first voltage value, and the first voltage value is detected; after stopping charging, when there is no leakage resistance RL, the capacitive airflow sensor 210 only has its own leakage current, and there is no other discharge path.
  • the leakage current is very small or almost negligible.
  • the first sampling voltage is the second voltage value, and the second voltage value is equal to the first voltage value or the second voltage value is slightly less than the first voltage value; when there is an oil leakage resistance RL due to oil leakage, the capacitive airflow sensor 210 has both its own leakage current and the discharge branch of the oil leakage resistance RL.
  • the discharge current of the discharge branch of the oil leakage resistance RL is much larger than the leakage current of the airflow sensor 210 itself.
  • the first sampling voltage is the second voltage value, and the difference between the second voltage value and the first voltage value will be larger. The first voltage value and the second voltage value are calculated to obtain the 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 the ratio of the voltage difference to the first voltage value, etc. Then 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.
  • 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.
  • the second preset voltage information is preset, and the second preset voltage information corresponds to the second voltage information.
  • the second voltage information is the voltage difference between the first voltage value and the second voltage value (this embodiment is illustrated by taking this as an example)
  • the second preset voltage information is, for example, 1V, 0.5V, 0.3V, etc.
  • 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.
  • the second voltage information is the ratio of the voltage difference to the first sampling voltage
  • the second preset voltage information is, for example, 5%, 10%, 15%, etc.
  • 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.
  • 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 end SW and the first timing subunit 332 respectively
  • the second acquisition unit 342 is connected to the airflow end 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.
  • the first acquisition unit 341 and the second acquisition unit 342 are different units.
  • the present application is not limited thereto. In other embodiments of the present application, the first acquisition unit and the second acquisition unit may be the same acquisition unit.
  • the first timing subunit 332 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.
  • the second timing subunit 333 When the second timing subunit 333 times 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.
  • the first sampled voltage is the second voltage value.
  • the subtractor 343 performs subtraction processing on the first voltage value and the second voltage value to obtain the 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 the 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 according to the comparison result information.
  • the second voltage information is the voltage ratio of the first voltage value to the second voltage value, or when the second voltage information is the ratio of the voltage difference to the first sampled voltage.
  • the second comparison subunit 335 When the second voltage information is greater than or equal to the second preset voltage information, the second comparison subunit 335 outputs the first comparison result information, and the oil leakage control unit 310 receives the first comparison result information and determines that the electronic cigarette is in an oil leakage state according to the first comparison result information; when the second voltage information is less than the second preset voltage information, the second comparison subunit 335 outputs the second comparison result information, and the oil leakage control unit 310 receives the second comparison result information.
  • the result information is used to determine that the electronic cigarette is not in a liquid leakage state according to the second comparison result information.
  • the oil leakage detection time period includes a first preset time length and a second preset time length.
  • the first preset time length and the second preset time length are both preset and determined.
  • the oil leakage control unit 310 also includes an oil leakage timing subunit 312, which is connected to the logic control subunit 311 and is used to perform timing control on the duration of the oil leakage detection time period.
  • the first sampling voltage is discharged from the first voltage value to the second voltage value after the second preset time
  • the second voltage information is calculated by the second voltage value and the first voltage value
  • the second voltage information is compared with the second preset voltage information, and whether the electronic cigarette is in a state of oil leakage is determined based on the comparison result information.
  • the oil leakage detection method of the present application is simple, and the detection time is very short. The user can hardly feel it, and it does not affect the user's experience; and it can make full use of the existing airflow end SW, and cooperate with the existing capacitive airflow sensor to determine whether the electronic cigarette is leaking oil.
  • the airflow end SW has multiple functions, and the airflow end SW can realize time-sharing multiplexing.
  • the oil leakage detection circuit 300 does not need to add terminals or pins, which is conducive to reducing costs.
  • the present application can determine whether the electronic cigarette is leaking oil 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, so that the probability of triggering the heating element 120 to work incorrectly for a long time is low, and safety accidents are not easy to occur.
  • the second preset voltage information is one, and does not include sub-voltage information.
  • the present application is not limited thereto.
  • the second preset voltage information in order to perform fine management of the oil leakage status, 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.
  • 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.
  • 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.
  • the first comparison result information includes the first sub-comparison result information and the second sub-comparison result information.
  • the second comparison sub-unit 335 When the second voltage information is less than the first preset sub-voltage information, it indicates that the electronic cigarette has no oil leakage 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, which indicates that there is some oil leakage but the oil 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, which indicates that the oil leakage is very serious.
  • the second comparison sub-unit 335 by comparing the second comparison sub-unit 335 with a plurality of preset sub-voltage information, it is possible to determine whether the electronic cigarette is leaking oil and the severity of the oil leakage, so as to facilitate the processing of electronic cigarettes with different oil leakage degrees. For example, when the oil leakage is not serious, it can be corrected by correcting the reference count value mentioned later. When the oil leakage is serious, the oil leakage control unit 310 can be used to control the power switch M to remain disconnected and cut off. Even if the user draws on the electronic cigarette, the power switch M remains disconnected and cut off, so that safety accidents are not likely to occur.
  • the state of the electronic cigarette is divided into two states according to whether the electronic cigarette is inhaled: the inhalation state and the non-inhalation state.
  • the non-inhalation state includes the blowing state and the non-inhalation and blowing state.
  • the inhalation state corresponds to the state when the user inhales the electronic cigarette
  • the blowing state corresponds to the state when the user blows into the electronic cigarette
  • the non-inhalation and blowing state corresponds to the state when the electronic cigarette is neither inhaled nor blown.
  • the electronic cigarette will perform different actions when it is in different states. Please continue to refer to Figure 18.
  • the oil leakage detection circuit 300 also includes a suction detection module 400.
  • the suction detection module 400 is used to detect whether the electronic cigarette is in the inhalation state through the airflow end SW during the suction detection time period.
  • the input end of the puff detection module 400 is connected to the airflow end SW, and the puff detection module 400 samples the voltage of the airflow end SW to obtain a third sampling voltage.
  • the third sampling voltage can be equal to the voltage of the airflow end SW, or it can be less than the voltage of the airflow end SW.
  • the third sampling voltage and the first sampling voltage can be obtained by sampling the same sampling unit.
  • the first sampling voltage and the third sampling voltage are distinguished by different time periods, for example, obtained by sampling the same group of barcode resistors, and of course, they can also be obtained by sampling different sampling units.
  • the output end of the puff detection module 400 is connected to the oil leakage control unit 310, and specifically connected to the logic control subunit 311.
  • the puff detection module 400 is used to determine whether the electronic cigarette is in the puffing state according to the capacitance or capacitance change of the airflow sensor 210 through the airflow end SW, that is, the airflow end SW has at least two functions: detection of the puffing state and detection of the oil leakage state.
  • the suction detection module 400 includes a third voltage comparison unit 410 and a suction judgment unit 420
  • the oil leakage detection circuit 300 includes a charge and discharge switch K3.
  • the first input end of the third voltage comparison unit 410 is connected to the third sampling voltage
  • the second input end of the third voltage comparison unit 410 is connected to the third reference voltage RefV3
  • the output end of the third voltage comparison unit 410 is connected to the suction judgment unit 420
  • the output end of the suction judgment unit 420 is connected to the oil leakage control unit 310
  • the first end of the charge and discharge switch K3 is connected to the airflow end SW
  • the second end of the charge and discharge switch K3 is connected to the power ground GND, that is, the charge and discharge switch K3 is connected in parallel with the airflow sensor 210
  • the control end of the charge and discharge switch K3 is connected to the output end of the third voltage comparison unit 410.
  • the first input end of the third voltage comparison unit 410 is the same direction end, and the second input end is the reverse end. In other embodiments of the present application, the same direction end and the reverse end can be reversed.
  • the range of the third reference voltage 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 by taking 1V as an example, and for another example, the third reference voltage is less than 1/2 times the voltage of the power supply terminal BAT.
  • the charge and discharge switch K3 is, for example, an NMOS tube, etc., but the present application is not limited thereto. In other embodiments of the present application, the charge and discharge switch K3 can also be a PMOS tube or other conventional switch units.
  • the oil leakage detection circuit 300 further includes a second current source 322.
  • the second current source 322 constantly outputs a second current.
  • the second current may be the same as the first current (in this embodiment, the same is taken as an example for explanation), or may 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 power supply terminal BAT.
  • the two terminals are connected to the airflow terminal SW, so that the second current source 322 can charge the capacitive airflow sensor 210 through the airflow terminal SW.
  • the second current source 322 charges the airflow sensor 210.
  • the third sampling voltage is less than the third reference voltage, and the output end of the third voltage comparison unit 410 outputs a first switch signal, the first switch signal is, for example, a low level, and the charge-discharge switch K3 remains disconnected.
  • the output signal of the third voltage comparison unit 410 changes, and a second switch signal is output, the second switch signal is, for example, a high level, and the second switch signal controls the charge-discharge switch K3 to turn on.
  • the two ends of the airflow sensor 210 are short-circuited through the charge-discharge switch K3, and the airflow sensor 210 is instantly discharged to 0V or close to 0V (this time period is the discharging time period).
  • the third sampling voltage is less than the third reference voltage again, and the output signal of the third voltage comparison unit 410 changes back to the first switch signal, and then the charge-discharge switch K3 remains disconnected, thus completing a charge-discharge cycle, that is, the charge-discharge cycle includes a charging time period and a discharging time period, and then the aforementioned charge-discharge cycle is repeated, that is, the airflow sensor 210 repeats the charging and discharging process.
  • the suction judgment unit 420 counts the number of charge and discharge cycles, and the count value obtained after the suction detection time period is the current count value.
  • the current count information can be obtained by calculating the current count value.
  • the current count information is the current count value.
  • the suction judgment unit 420 determines whether the current count information is within the preset third count range to determine whether the electronic cigarette is in the suction state.
  • the third count range is, for example, less than or equal to 97% of the reference count value and greater than or equal to 50% of the reference count value, wherein the reference count value is preset or obtained by counting after the suction detection time period in the non-suction and blowing state.
  • the current count information is the difference between the current count value and the reference count value.
  • the third count range is a difference range, for example, the difference range is greater than or equal to 30.
  • the current counting information is the ratio of the difference value to the reference counting value
  • the third counting range is the ratio range, for example, greater than or equal to 3%.
  • a charge and discharge cycle is less than 50 ⁇ s, preferably less than or equal to 30 ⁇ s, and the duration of the puff detection time period is, for example, 30ms.
  • the oil leakage control unit 310 includes a fourth timing subunit 313, which is connected to the logic control subunit 311.
  • the fourth timing subunit 313 starts timing.
  • 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.
  • the first voltage value may be greater than or equal to the third reference voltage.
  • the charge and discharge switch K3 remains disconnected and cut off during the first preset time period and the second preset time period.
  • the charge and discharge switch K3 remains disconnected and cut off during the oil leakage detection time period.
  • the first voltage value may also be less than the third reference voltage. Even if the third voltage comparison unit 410 works during the oil leakage detection time period, the third voltage comparison unit 410 will not control the charge and discharge switch K3 to be turned on, so the charge and discharge switch K3 remains disconnected and cut off.
  • the oil leakage detection circuit 300 further includes a first switch unit K1 and a second switch unit K2, wherein 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 respectively connected to the first current source 321 and the power supply terminal of the oil leakage detection unit 330, 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 respectively connected to the second current source 322 and the power supply terminal of the third voltage comparison unit 410, and a control end of the second switch unit K2 is connected to the oil leakage control unit 310.
  • the oil leakage control unit 310 controls the first switch unit K1 and the second switch unit K2 to be turned on or off, and in this embodiment, the first switch unit K1 and the second switch unit K2 are not turned on at the same time.
  • 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.
  • 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 and cut off.
  • the third voltage comparison unit 410 works, and the second current source 322 charges the airflow sensor 210.
  • 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;
  • the oil leakage control unit 310 controls the second switch unit K2 to be turned off and cut off, and the first switch unit K1 is turned on and turned on.
  • the first current source 321 works to detect whether the electronic cigarette is leaking oil, and the second current source 322 and the third voltage comparison unit 410 stop working, and the charge-discharge switch K3 remains turned off and cut off, so that the airflow sensor 210 will not discharge through the charge-discharge switch K3 during this time period.
  • the oil leakage control unit 310 also controls the first switch unit K1 to be turned off and cut off, and the first current source 321 does not charge the airflow sensor 210 during the second preset time.
  • the power supply end of the first timing subunit 332 is connected to the second end of the first switch unit K1, so that when the first switch unit K1 is disconnected and cut off, the first timing subunit 332 stops working, but the second timing subunit 333, the calculation subunit 340, and the second comparison subunit 335 still work during the second preset duration.
  • the second end of the first switch unit K1 may not be connected to the oil leakage detection unit 330.
  • the first switch unit K1 and the second switch unit K2 are both PMOS tubes, but the present application is not limited thereto.
  • the first switch unit K1 and the second switch unit K2 may also be NMOS tubes or other switch units.
  • the oil leakage detection circuit 300 may not include the first switch unit K1.
  • 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 and the third voltage comparison unit 410 does not work, and the charge and discharge switch unit K3 remains disconnected.
  • the oil leakage detection circuit 300 performs oil leakage state detection and suction state detection with the fifth duration as a cycle, wherein the fifth duration includes a suction detection time period and an oil leakage detection time period, the oil leakage detection time period is a time period for detecting whether the electronic cigarette is leaking oil, and the oil leakage detection time period includes a first preset time period and a second preset time period, and the suction detection time period and the oil leakage detection time period do not overlap in time period, that is, the two are different.
  • the suction detection time period and the oil leakage detection time period are adjacently arranged, that is, the end time of the suction detection time period is the start time of the oil leakage detection time period, or vice versa; in addition, in other embodiments of the present application, the suction detection time period and the oil leakage detection time period may also be non-adjacently arranged, that is, other time periods may also exist.
  • the oil leakage control unit 310 includes a fifth timing subunit 314, the fifth timing subunit 314 is used to control the fifth duration, and the fifth timing subunit 314 is connected to the logic control subunit 311.
  • 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 the field and will not be repeated here.
  • the fifth duration includes a puff detection time period and an oil leakage detection time period.
  • the fifth duration is 40ms
  • the duration of the puff detection time period is 30ms
  • the duration of the oil leakage detection time period is 10ms
  • the first preset duration is 10 ⁇ s.
  • the fifth duration may also include multiple puff detection time periods and an oil leakage detection time period, which can reduce the response time of the puff detection and reduce the time for the user to puff and wait for the oil to be atomized.
  • the fifth duration also includes a stop detection time period, and the suction state and the oil leakage state are not detected in the stop detection time period, which is conducive to reducing power consumption.
  • the stop detection time period the first current source 321, the second current source 322, the oil leakage detection unit 330, and the suction detection module 400 at least partially stop working, and in this embodiment, they all stop working.
  • the fifth duration includes a suction detection time period, an oil leakage detection time period, and a stop detection time period.
  • the fifth duration is 300ms
  • the duration of the suction detection time period is 30ms
  • the duration of the oil leakage detection time period is 10ms
  • the remaining duration of 260ms is the stop detection time period.
  • the fifth duration can also include multiple suction detection time periods, an oil leakage detection time period, and a stop detection time period, which can reduce the response time of the suction detection and reduce the time for the user to wait for the smoke oil to be atomized.
  • the fifth time length does not include the oil leakage detection time period, and the oil leakage detection circuit 300 performs suction detection with the fifth time length as a cycle, and the fifth time length includes the suction detection time period. Specifically, after the end of the previous fifth time length cycle, the electronic cigarette performs suction state detection again.
  • the logic control subunit 311 when the logic control subunit 311 receives a puff signal (a signal output when the electronic cigarette is in a puff state), the logic control subunit 311 controls the oil leakage detection unit 330 to work, or the puff signal output by the puff judgment unit 420 triggers the oil leakage detection unit 330 to work.
  • the oil leakage detection unit 330 determines that the electronic cigarette is in a non-leakage state or an oil leakage state, it normally exits the oil leakage state detection and continues to perform the next fifth time period (the fifth timing subunit 314 resumes timing).
  • the electronic cigarette is processed according to the oil leakage state, for example, the power switch M is kept disconnected and cut off.
  • Figure 20 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.
  • the first current source 321 charges the capacitive airflow sensor 210 through the airflow terminal SW.
  • the first current source 321 stops charging the capacitive airflow sensor 210.
  • the information that the first sampling voltage is the first voltage value is obtained.
  • the second timing signal is output.
  • the first sampling voltage is the second voltage value.
  • the first voltage value and the second voltage value are calculated to obtain the second voltage information, and 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.
  • 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 another input end of the first voltage comparison subunit 334 receives the first voltage value RefV1.
  • the first voltage value is preset, and 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.
  • 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 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 another 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 second comparison subunit The output terminal of 335 is connected.
  • 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.
  • the first voltage comparison subunit 334 receives the first sampling voltage in real time. At the beginning, the first sampling voltage is less than the first voltage value RefV1. When the first sampling voltage is charged to be greater than or equal to the first voltage value, the output signal of the first voltage comparison subunit 334 is flipped, and 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, and the second timing subunit 333 is triggered to start timing.
  • the second timing subunit 333 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 the 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 the 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 according to the comparison result information.
  • Figure 21 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.
  • 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. Then, 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 the 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.
  • the capacitive airflow sensor 210 when there is no leakage resistor RL, the capacitive airflow sensor 210 only has its own leakage current, and there is 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, that is, the second timing will be very large; when there is a leakage resistor RL, the capacitive airflow sensor 210 has its own leakage current, and there is also a discharge branch of the leakage resistor RL.
  • the discharge current of the discharge branch of the leakage resistor RL is much larger 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, that is, the second timing will be very small. Thereafter, the second timing is compared with the pre-selected second preset time length. When there is a leakage resistor RL, the second timing will be less than the second preset time length. When there is no leakage resistor RL, the second timing is greater than or equal to the second preset time length, and the comparison result information is output.
  • the leakage control unit 310 can determine whether the electronic cigarette is in a leakage state according to the received comparison result information.
  • 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 judgment subunit 336.
  • one input end of the second comparison subunit 335 is connected to the second voltage value, and the other input end thereof is connected to the first sampling voltage, and the output end of the second comparison subunit 335 is connected to the second timing subunit 333 (taken as an example in the figure) or the second duration judgment subunit 336, the second timing subunit 333 is connected to the second duration judgment subunit 336, and the second duration judgment subunit 336 is connected to the oil leakage control unit 310.
  • the second timing subunit 333 When the second timing subunit 333 obtains the information that the first sampling voltage is the first voltage value, that is, the first timing signal is received, 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 sampling voltage in real time. When the output signal of the second comparison subunit 335 is reversed, the first sampling voltage is discharged from the first voltage value to the second voltage value. The second timing subunit 333 receives this reversal signal, and the second timing subunit 333 outputs the second timing to the second duration judgment subunit 336, or the second duration judgment subunit 336 receives the second timing output by the second timing subunit 333 at this time.
  • the second duration judgment 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 it is in an oil leakage state. If the second timing is greater than or equal to the second preset duration, the second comparison result information is output, indicating that it is not in an oil leakage state.
  • the calculation subunit 340 calculates the second voltage value based on the first voltage value. For example, the ratio of the second voltage value to the first voltage value is 0.97, 0.95, 0.90, etc., or the calculation subunit 340 subtracts a preset difference from the first voltage value to calculate the second voltage value.
  • the time for the first sampling voltage to discharge from the first voltage value to the second voltage value will be very long, for example, reaching the minute level.
  • the oil leakage detection unit outputs the second comparison result information at this time, and the oil leakage control unit receives the second comparison result information and determines that the electronic cigarette is not in an oil leakage state.
  • the tenth preset time is, for example, 100ms, 200ms, 300ms, etc.
  • Figure 22 is a circuit module diagram of the oil leakage detection unit 330 of the eleventh embodiment of the present application.
  • This embodiment is similar to the ninth embodiment, so the parts not described in this embodiment can refer to the ninth embodiment.
  • the main difference between this embodiment and the ninth 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.
  • the first current source 321 charges the airflow sensor 210.
  • the first sampling voltage is charged to the first voltage value RefV1
  • the charging is completed, and the first current source 321 stops charging the airflow sensor 210.
  • the first sampling voltage is the first voltage value, and the first voltage value is preset, so that the second voltage value can also be preset.
  • a second timing is performed on the time required for the first sampling 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 the comparison result information is output.
  • the oil leakage control unit 310 determines whether the electronic cigarette is in an oil leakage state according to the comparison result information.
  • the capacitive airflow sensor 210 when there is no leakage resistor RL, the capacitive airflow sensor 210 only has its own leakage current, and there is 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, that is, the second timing will be very large; when there is a leakage resistor RL, the capacitive airflow sensor 210 has its own leakage current, and there is also a discharge branch of the leakage resistor RL.
  • the discharge current of the discharge branch of the leakage resistor RL is much larger 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, that is, the second timing will be very small. Thereafter, the second timing is compared with the pre-selected second preset time length. When there is a leakage resistor RL, the second timing will be less than the second preset time length. When there is no leakage resistor RL, the second timing is greater than or equal to the second preset time length, and the comparison result information is output.
  • the leakage control unit 310 can determine whether the electronic cigarette is in a leakage state according to the received comparison result information.
  • the oil leakage detection unit 330 includes a first voltage comparison subunit 334, a second comparison subunit 335, a second timing subunit 333, and a second duration judgment subunit 336.
  • one input end of the second comparison subunit 335 is connected to the second voltage value, which is preset, and the other input end is connected to the first sampling voltage.
  • the output end of the second comparison subunit 335 is connected to the second timing subunit 333 (taken as an example in the figure) or the second duration judgment subunit 336.
  • the second timing subunit 333 is connected to the second duration judgment subunit 336, and the second duration judgment subunit 336 is connected to the oil leakage control unit 310.
  • the second timing unit When the second timing unit obtains the information that the first sampling voltage is charged to the first voltage value, that is, receives the flip signal, the second timing unit starts to count the discharge duration.
  • the second timing subunit 333 When the output end of the second comparison subunit 335 is connected to the second timing subunit 333, the second timing subunit 333 is connected to the second duration judgment subunit 336, and the second duration judgment subunit 336 is connected to the oil leakage control unit 310.
  • the second timing unit obtains the information that the first sampling voltage is charged to the first voltage value, that is, receives the flip signal, the second timing unit starts to count the discharge duration.
  • the output signal is flipped, the first sampling voltage is discharged from the first voltage value to the second voltage value, and the second timing subunit 333 receives the flipping signal.
  • the second timing subunit 333 outputs the second timing to the second duration judgment subunit 336, or the second duration judgment subunit 336 receives the second timing output by the second timing subunit 333.
  • the second duration judgment subunit 336 judges 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 it is in an oil leakage state. If the second timing is greater than or equal to the second preset duration, the second comparison result information is output, indicating that it is not in an oil leakage state.
  • Figure 23 is a circuit module diagram of the airflow sensor assembly 200 of the twelfth embodiment of the present application.
  • This embodiment is similar to the eighth to eleventh embodiments, so the parts not described in this embodiment can refer to the eighth to eleventh embodiments.
  • the main difference between this embodiment and the eighth to eleventh embodiments is that the first current source is shared.
  • the airflow sensor 210 is charged by the first current source 321.
  • the oil leakage detection circuit 300 does not include the second current source and the second switch unit.
  • the fifth time period includes the suction detection time period, the oil leakage detection time period and the stop detection time period.
  • the first switch unit K1 is turned on.
  • the first switch unit K1 is disconnected and cut off.
  • the power supply end of the oil leakage detection unit 330 may not be connected to the second end of the first switch unit K1, and the oil leakage control unit ignores the output of the oil leakage detection unit 330 in the suction detection time period, and ignores the output of the suction detection module 400 in the oil leakage detection time period.
  • the first switch unit K1 may not be included at this time.
  • the oil leakage detection circuit 300 further includes a switch control unit 540, and a first input end of the switch control unit 540 is controlled by an output signal of the third voltage comparison unit 410, for example, the first input end of the switch control unit 540 is connected to the output end of the third voltage comparison unit 410, or the first input end of the switch control unit 540 is connected to the output end of the third voltage comparison unit 410 via the oil leakage control unit 310, and a second input end of the switch control unit 540 is connected to the oil leakage control unit 310, and in the present embodiment is connected to the logic control subunit 311, and an output end of the switch control unit 540 is connected to a control end of the charge and discharge switch K3, and 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.
  • a logic gate such as an AND gate, an OR gate, or a combination of an AND gate, an OR gate, and a
  • the oil leakage control unit 310 controls the charge and discharge switch K3 to remain disconnected and cut off via the switch control unit 540.
  • the switch control unit 540 is an AND gate 541.
  • 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 third voltage comparison unit 410.
  • 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 K3 remains disconnected and cut off.
  • the switch control unit 540 may not be included, and the oil leakage detection circuit 300 may also include 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 supply end of the third voltage comparison unit 410.
  • the control end of the second switch unit K2 is connected to the logic control subunit 311.
  • the logic control subunit 311 is connected to the second switch unit K2. In 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. In 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.
  • this embodiment does not need to separately set the second current source 322 , and the capacitive airflow sensor 210 is charged through the first current source 321 , which is beneficial to reducing costs.
  • the oil leakage detection method provided in the thirteenth embodiment of the present application will be described in detail below in conjunction with FIG24. It should be noted that the oil leakage detection method shown in FIG24 is used to be executed by the oil leakage detection circuit 300 of the eighth embodiment, the ninth embodiment, and the twelfth embodiment. For the convenience of description, only the part related to the embodiment of the present application is shown. For the specific technical details not disclosed, please refer to the oil leakage detection circuit 300 of the eighth embodiment, the ninth embodiment, and the twelfth embodiment.
  • the oil leakage detection method includes the following steps:
  • the oil leakage detection circuit 300 performs oil leakage detection and suction detection in a fifth time period, wherein the fifth time period includes a suction detection time period and an oil leakage detection time period.
  • the fifth time period also includes a stop detection time period.
  • the oil leakage detection method includes:
  • Triggering the detection of whether the electronic cigarette is in a state of oil leakage Triggering the detection of whether the electronic cigarette is in a state of oil leakage.
  • the oil leakage detection circuit is triggered to detect the oil leakage state only when the information that the electronic cigarette is in the inhalation state is received. When the information that the electronic cigarette is in the inhalation state is not received, the oil leakage detection circuit will not detect the oil leakage state.
  • step S100-3 specifically includes:
  • S110-3 receiving information that the first sampled voltage is a first voltage value
  • S130-3 Determine whether the second timing is greater than or equal to a second preset duration
  • S160-3 Determine whether the electronic cigarette is in an oil leakage state according to the comparison result.
  • step S110-3 the following steps are further included:
  • S113-3 Determine whether the first timing is greater than or equal to a first preset duration
  • step S110-3 the following steps are further included:
  • the capacitive airflow sensor 210 is charged through the airflow terminal SW;
  • the charging of the capacitive airflow sensor 210 is stopped, and information that the first sampling voltage is a first voltage value is output;
  • the capacitive airflow sensor 210 continues to be charged.
  • 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.
  • step S150-3 specifically includes:
  • S151-3 Determine whether the second voltage information is greater than the first preset sub-voltage information
  • S152-3 If the judgment result is yes, determine whether the second voltage information is greater than the second preset sub-voltage information; wherein the first preset sub-voltage information is less than the second preset sub-voltage information;
  • the first comparison result information includes first sub-comparison result information and second sub-comparison result information, wherein the first sub-comparison result information indicates that the oil leakage is relatively serious, and the second sub-comparison result information indicates that the oil leakage is not too serious.
  • the oil leakage detection method further includes: controlling the charge and discharge switch K3 to remain disconnected during the time period for detecting whether the electronic cigarette is in an oil leakage state, so as to stop the capacitive airflow sensor 210 from discharging through the charge and discharge switch K3.
  • step S200-3 specifically includes:
  • S220-3 sampling and acquiring the voltage of the airflow terminal SW in real time to obtain a third sampling voltage
  • S230-3 Determine whether the third sampling voltage is greater than or equal to the third reference voltage
  • S260-3 determining whether the current counting information is within a preset third counting range after a puff detection period, wherein the current counting information is obtained based on the current counting value;
  • the oil leakage detection method provided in the fourteenth embodiment of the present application will be described in detail below in conjunction with FIG29.
  • the oil leakage detection method shown in FIG29 is used to be executed by the oil leakage detection circuit 300 of the tenth embodiment, the eleventh embodiment, and the twelfth embodiment.
  • the oil leakage detection circuit 300 of the tenth embodiment, the eleventh embodiment, the twelfth embodiment, and the oil leakage detection method of the thirteenth embodiment please refer to the oil leakage detection circuit 300 of the tenth embodiment, the eleventh embodiment, the twelfth embodiment, and the oil leakage detection method of the thirteenth embodiment.
  • the main difference between this embodiment and the oil leakage detection method of the thirteenth embodiment is that the time required for the first sampling voltage to drop from the first voltage value to the second voltage value is counted, and whether the electronic cigarette is in an oil leakage state is judged based on the timing time.
  • detecting whether the electronic cigarette is in an oil leakage state through the airflow end SW specifically includes:
  • S310-3 receiving information that the first sampled voltage is a first voltage value
  • S330-3 Determine whether the first sampling voltage drops to a second voltage value
  • S350-3 Determine whether the electronic cigarette is in an oil leakage state according to the comparison result.
  • step S310 - 3 the steps included before step S310 - 3 can refer to the thirteenth embodiment and will not be described in detail here.
  • the step of comparing the second timing with the second preset duration and outputting the comparison result information specifically includes:
  • S341-3 Determine whether the second timing is less than the second preset time length
  • the first comparison result information indicates that the electronic cigarette is in a state of leaking oil
  • the second comparison result information indicates that the electronic cigarette is not in a state of leaking oil
  • the second preset duration includes a first preset sub-duration and a second preset sub-duration
  • the first preset sub-duration is less than the second preset sub-duration
  • the first comparison result information includes first sub-comparison result information and second sub-comparison result information
  • the step of comparing the second timing with the first preset duration and outputting the comparison result information specifically includes:
  • the judgment result is yes, the first sub-comparison result information indicating that the electronic cigarette is in a state of oil leakage is output;
  • the second comparison result information indicating that the electronic cigarette is not in the oil leakage state is output.
  • the first sub-comparison result information indicates that the oil leakage is relatively serious, and the second sub-comparison result information indicates that the oil leakage is not relatively serious.
  • FIG. 9 shows a module diagram of an oil leakage detection circuit 600 provided in an embodiment of the present application. For ease of explanation, only the part related to the embodiment of the present application is shown.
  • FIG9 is a schematic diagram of an oil leakage detection circuit 600 provided in an embodiment of the present application.
  • the oil leakage detection circuit 600 of this embodiment The circuit comprises: at least one processor 620 (only one is shown in FIG. 9 ), a memory 610 and a computer program stored in the memory 610 and executable on the processor 620.
  • the processor 620 executes the computer program, the steps in the above-mentioned oil leakage detection method embodiment are implemented.
  • FIG. 9 is only an example of the oil leakage detection circuit 600 and does not constitute a limitation on the oil leakage detection circuit 600.
  • the circuit may include more or less components than shown in the figure, or combine certain components, or different components, for example, input and output devices, network access devices, etc.
  • the processor 620 may be a central processing unit (CPU), and the processor 620 may also be other general-purpose processors 620, digital signal processors 620 (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc.
  • the general-purpose processor 620 may be a microprocessor 620 or the processor 620 may also be any conventional processor 620, etc.
  • the memory 610 may be an internal storage unit of the oil leakage detection circuit 600, such as a hard disk or memory of the oil leakage detection circuit 600. In other embodiments, the memory 610 may also be an external storage device of the oil leakage detection circuit 600, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card (Flash Card), etc. equipped on the oil leakage detection circuit 600. Further, the memory 610 may also include both an internal storage unit of the oil leakage detection circuit 600 and an external storage device.
  • the memory 610 is used to store an operating system, an application program, a boot loader (BootLoader), 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 to be output.
  • the embodiment of the present application further provides a storage medium, which stores a computer program.
  • a storage medium which stores a computer program.
  • An embodiment of the present application provides a computer program product.
  • the terminal can implement the steps in the above-mentioned oil leakage detection method embodiment when executing the computer program product.
  • the present application also provides an airflow sensor assembly 200, see FIG. 3 and FIG. 18 , including:
  • Capacitive air flow sensor 210
  • the above-mentioned oil leakage detection circuit 300 wherein the oil leakage detection circuit 300 is connected to the capacitor airflow sensor 210 .
  • the present application also provides an electronic cigarette, including:
  • the battery 110 and the heating element 120 are connected to the oil leakage detection circuit 300 .
  • the distance between the two electrode sheets of the capacitive airflow sensor is very small, generally ranging from 1 ⁇ m to 50 ⁇ m, while the oil droplets are relatively large, much larger than the distance between the two electrode sheets, so when the oil droplets drip through the airflow channel to the two electrode sheets of the airflow sensor, the oil droplets are likely to connect the two electrode sheets. Since the oil droplets of oil are similar to conductor resistance, the equivalent circuit diagram of Figure 1c is shown in Figure 2, that is, the capacitive airflow sensor is connected in parallel with a oil resistor. In addition, the inventors have also found that when the electronic cigarette is working, the smoke oil is atomized into aerosol, and the aerosol may enter the cigarette rod.
  • the aerosol When the aerosol condenses and becomes smoke oil, it may fall on the airflow pin, which may cause the airflow pin to be connected to the power supply pin through the smoke oil (which can also be regarded as oil leakage), and its equivalent circuit diagram is also as shown in Figure 2.
  • the present application can separate the detection of the suction state from the detection of the oil leakage state, and can share the airflow end. The following describes a specific embodiment for illustration.
  • the embodiment of the present application provides an oil leakage detection method applied to an electronic cigarette, please refer to FIG. 31, FIG. 33 and FIG. 3, comprising the following steps:
  • S100-4 Detecting whether the electronic cigarette is in a puffing state through the airflow end SW of the oil leakage detection circuit 300 during the puffing detection period;
  • 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, and the suction detection time period and the oil leakage detection time period are different.
  • the oil leakage detection circuit 300 includes a power supply terminal BAT, a power ground terminal GND, an airflow terminal SW, an atomization terminal AT, and a power switch M, wherein the power supply terminal BAT is used to connect to the positive electrode of the battery 110, the power ground terminal GND is used to connect to the negative electrode of the battery 110, the power ground terminal GND is used for electrical grounding, the airflow terminal SW is used to connect 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 used to connect 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, the atomization terminal AT is also used to connect to one end of the power switch M, and the other end of the power switch M is connected to the power supply terminal BAT or the power ground terminal GND.
  • the power supply terminal BAT is used to connect to the positive electrode of the battery
  • the state of the electronic cigarette is divided according to whether the electronic cigarette is inhaled.
  • the electronic cigarette is generally divided into two states: the inhalation state and the non-inhalation state, wherein the non-inhalation state includes the blowing state and the non-inhalation and blowing state.
  • the inhalation state corresponds to the state when the user inhales the electronic cigarette
  • the blowing state corresponds to the state when the user blows into the electronic cigarette
  • the non-inhalation and blowing state corresponds to the state when the electronic cigarette is neither inhaled nor blown.
  • the electronic cigarette will perform different actions when it is in different states.
  • the electronic cigarette is detected by the airflow end SW during the inhalation detection period. Whether it is in suction state.
  • the airflow end SW is used to detect whether the electronic cigarette is in an oil leakage state.
  • This embodiment mainly uses the characteristics of the oil leakage resistor RL to distinguish whether it is in an oil leakage state. For example, when the electronic cigarette is leaking oil, there is an oil leakage resistor RL in parallel with the airflow sensor Cs. In the oil leakage detection period, no matter how the airflow sensor Cs is charged, even if it is charged for a long time, the voltage of the airflow end SW will not be very high. When the electronic cigarette is not leaking oil, there is no oil leakage resistor.
  • the airflow sensor Cs is charged during the oil leakage detection period, and it will soon be charged to the voltage of the power supply end BAT.
  • other characteristics of the oil leakage resistor can also be used to detect whether the electronic cigarette is in an oil leakage state.
  • the oil leakage detection circuit 300 performs oil leakage state detection and suction state detection with a first duration as a cycle, wherein the first duration 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 do not overlap in time period, that is, the two are different, that is, the suction state detection and the oil leakage state detection do not share a time period.
  • the suction detection time period and the oil leakage detection time period are adjacently arranged, that is, the end time of the suction detection time period is the start time of the oil leakage detection time period, or vice versa; in addition, in other embodiments of the present application, the suction detection time period and the oil leakage detection time period may also be non-adjacently arranged, that is, other time periods may also exist.
  • the first duration includes a puff detection time period and an oil leakage detection time period.
  • the first duration is 40ms
  • the duration of the puff detection time period is 30ms
  • the duration of the oil leakage detection time period is 10ms.
  • the first duration may also include multiple puff detection time periods and an oil leakage detection time period, which can reduce the response time of the puff detection and reduce the time for the user to puff and wait for the oil to be atomized.
  • the range of the first duration is less than or equal to 1 second and greater than 30ms, for example, 40ms, 50ms, 60ms, 70ms, 80ms, 90ms, 100ms, 200ms, 300ms, 400ms, 500ms, 600ms, 700ms, 800ms, 900ms, 1s.
  • the duration of the oil leakage detection time period is greater than or equal to 100 ⁇ s and less than 200ms, for example, the duration of the oil leakage detection time period is 100 ⁇ s, 500 ⁇ s, 1ms, 5ms, 10ms, 20ms, 30ms, 40ms, 50ms, 60ms, 70ms, 80ms, 90ms, 100ms, 150ms, 190ms, etc.; the duration of the suction detection time period is greater than or equal to 10ms and less than 200ms, for example, 10ms, 20ms, 30ms, 40ms, 50ms, 60ms, 70ms, 80ms, 90ms, 100ms, 150ms, 190ms, etc.
  • the suction state detection and the oil leakage state detection are performed with the first time period as a cycle, and the suction state detection and the oil leakage state detection both utilize the airflow end SW, and the suction state detection and the oil leakage state detection do not share a time period.
  • the oil leakage detection method of this embodiment only needs one first time period at most for the detection of the oil leakage state, which is very short, and the heating element 120 will not cause long-term malfunction due to oil leakage; moreover, this embodiment uses the same airflow end SW for the suction state detection and the oil leakage state detection, and the airflow end SW realizes time-sharing multiplexing, and there is no need to add terminals or pins to the oil leakage detection circuit 300, which is conducive to reducing costs.
  • step S200-4 specifically includes:
  • S220-4 Triggering a first timing of the charging time
  • S230-4 Determine whether the first timing is greater than or equal to the oil leakage detection time
  • 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, thereby The voltage of the airflow terminal SW is sampled to obtain a first sampling voltage, and the first sampling voltage will be relatively large; 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 (airflow sensor Cs) between the airflow terminal SW and the power ground terminal GND, and there is also an oil leakage resistor in parallel with the capacitor.
  • the resistance of the oil leakage resistor is less than 10 megohms, for example, 8M ⁇ , 5M ⁇ , 4M ⁇ , 2M ⁇ , 1M ⁇ , 800k ⁇ , 500k ⁇ , etc. ⁇ , 300k ⁇ , etc., and because the oil leakage detection time is very long, the capacitance of the airflow sensor Cs is close to presenting 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, so that the resistance of the parallel resistor is less than or close to the resistance of the oil leakage resistor.
  • the voltage of the airflow end SW is controlled by the oil leakage resistor.
  • the voltage on the airflow end SW is the voltage on the oil leakage resistor, which is generally less than the product of the resistance of the oil leakage resistor and the charging current, so that the first sampling voltage will be smaller.
  • a suitable first reference voltage can be selected, which can be designed to be less than the first reference voltage when there is oil leakage, and greater than or equal to the first reference voltage when there is no oil leakage, so that by comparing the first sampling voltage with the first reference voltage and outputting the comparison result information, it can be judged whether the electronic cigarette is in an oil leakage state according to the comparison result information.
  • the oil leakage detection time period includes the oil leakage detection duration, which is generally greater than or equal to 300 ⁇ s, preferably greater than or equal to 1ms, such as 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.
  • the oil leakage detection duration is generally less than 200ms.
  • the present application compares the first sampling voltage after charging for the oil leakage detection time with the first reference voltage, and then outputs the comparison result information.
  • the power switch M can be controlled to remain disconnected and cut off.
  • the first sampling voltage drops from the first voltage value to the second voltage value after a preset time, and the first voltage information is obtained based on the first voltage value and the second voltage value, and the first voltage information is compared with the preset first preset voltage information, and it is judged whether the electronic cigarette is in an oil leakage state according to the comparison result information; or, after charging is stopped, the discharge time taken for the first sampling voltage to drop from the first voltage value to the second voltage value is timed, and the timed time is compared with the preset time, and it is judged whether the electronic cigarette is in an oil leakage state according to the comparison result; that is, whether the electronic cigarette is in an oil leakage state is judged by using the difference in the discharge speed of the airflow sensor Cs caused by the presence of an oil leakage resistor.
  • the specific implementation method of this embodiment can refer to the patent applied by the applicant on the same day, and the content of the patent is also introduced into the present application and will not be repeated here
  • the oil leakage detection circuit 300 is divided into a standby state and a working state according to whether the electronic cigarette is working.
  • This classification method is a conventional technology in the field and will not be described here.
  • the first duration is divided into a first working duration and a first standby duration according to different working states of the electronic cigarette, wherein the first working duration includes an oil leakage detection time period and a puff detection time period, and the second working duration includes an oil leakage detection time period, a puff detection time period and a sleep time period, and the oil leakage detection method includes: stopping detection of whether the electronic cigarette is in a puff state and whether it is in an oil leakage state during the sleep time period.
  • the oil leakage detection circuit 300 performs oil leakage state detection and suction state detection with the first working time as a cycle
  • the oil leakage detection circuit 300 performs oil leakage state detection and suction state detection with the first standby time as a cycle. Since the first standby time includes a sleep time period, the frequency of suction state detection and oil leakage state detection will be reduced, and the standby power can be reduced, which is beneficial to reduce standby power consumption.
  • the sleep time period except for the unit that times the sleep time period, all other units of the oil leakage detection circuit 300 stop working. For example, except for the reference oscillator and the sleep timing unit, all other units of the oil leakage detection circuit 300 stop working, such as the logic control unit, the reference voltage generation unit, etc.
  • the power switch M of the oil leakage detection circuit 300 is controlled to remain off in the standby state, so that the heating element 120 does not work in the standby state. That is, only in the working state, the power switch M may be turned on, and then the heating element 120 works to atomize the tobacco oil.
  • the oil leakage detection method includes: detecting that the electronic cigarette is in the puffing state in the puffing detection time period of the standby state and detecting that the electronic cigarette is not in the oil leakage state in the oil leakage detection time period of the standby state, then controlling the oil leakage detection circuit 300 to switch from the standby state to the working state.
  • the electronic cigarette in the same first time length, if the electronic cigarette is detected to be in the puffing state in the puffing detection time period and is detected to be not in the oil leakage state in the oil leakage detection time period, then controlling the oil leakage detection circuit 300 to switch from the standby state to the working state, when only one condition is met, it still remains in the standby state, so that the power switch M may be turned on due to the oil leakage being misjudged as the puffing state.
  • This arrangement is advantageous in that when the electronic cigarette is not used for a long time, the smoke oil leaks into the airflow sensor Cs and is in a state of oil leakage.
  • the oil leakage detection circuit 300 will determine that the electronic cigarette is in a state of suction and oil leakage. In this case, it is still in a standby state, the power switch M will still remain disconnected, and the heating element 120 will not work. Even if the electronic cigarette is placed in a remote corner, there will be no safety hazard.
  • the oil leakage control method when the oil leakage detection circuit 300 is in working state, the oil leakage control method includes:
  • the oil leakage detection circuit 300 is controlled to switch from the working state to the standby state.
  • the electronic cigarette in the working state, when the user is in the interval time of normal puffing of the electronic cigarette, the electronic cigarette will not immediately enter the standby state, but remain in the working state.
  • the oil leakage detection circuit 300 detects that it is in the puffing state, and the oil leakage detection circuit 300 will immediately control the power switch M to turn on and conduct, and the heating element 120 will work immediately, and the smoke oil can be atomized quickly for the user to puff, without waiting for the transition from the standby state to the working state.
  • This setting is conducive to improving the user's puffing experience, and the third timer is reset to zero at the same time.
  • the oil leakage detection circuit 300 determines that the duration of the non-puffing state is greater than or equal to the third preset duration, it means that the user has not puffed for a long time, for example, the user has put away the electronic cigarette, and the oil leakage detection circuit 300 is controlled to switch from the working state to the standby state.
  • the third preset time length is, for example, greater than or equal to 1 minute, preferably greater than or equal to 5 minutes and less than or equal to 1 hour.
  • the third preset time length is 5 minutes, 10 minutes, 20 minutes, 30 minutes, 40 minutes, 50 minutes, 60 minutes, etc.
  • the control function when the electronic cigarette is in working state and the oil leakage detection circuit 300 detects that the electronic cigarette is in an oil leakage state, the control function The power switch M remains disconnected and cut off. In the working state, even if the oil leakage detection circuit 300 misjudges the oil leakage as the puffing state, the oil leakage detection circuit 300 can detect that the electronic cigarette is in the oil leakage state in the first oil leakage detection time period of this time or the first oil leakage detection time period of the next time at the longest, so that the power switch M can be controlled to remain disconnected and cut off.
  • the longest working time of the heating element 120 is the first time period, and the heating element 120 will not work for a long time due to the oil leakage, and will not cause safety problems such as fire.
  • Figure 33 shows a module diagram of the oil leakage detection circuit 300 provided in the embodiment of the present application.
  • the parts related to the embodiment of the present application are shown.
  • the oil leakage detection circuit 300 includes a power supply terminal BAT, a power ground terminal GND, an airflow terminal SW, an atomization terminal AT, and a power switch, wherein 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 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, the atomization terminal AT is also used to connect to one end of the power switch M, and the other end of the power switch M is connected to the power supply terminal BAT or the power ground terminal GND.
  • the oil leakage detection circuit 300 also includes:
  • a puff detection module 350 which is used to detect whether the electronic cigarette is in a puff state through the airflow end SW of the oil leakage detection circuit 300 during the puff detection period;
  • the oil leakage detection module is used to detect whether the electronic cigarette is in an oil leakage state through the airflow end SW during the oil leakage detection period.
  • the oil leakage detection module includes:
  • a current source 360 which is used to charge the capacitive airflow sensor Cs through the airflow terminal SW during the oil leakage detection period;
  • a first timing unit 330 which is used to trigger a first timing of the charging time
  • a timing determination unit 320 which is used to determine whether the first timing is greater than or equal to the oil leakage detection duration
  • the oil leakage detection unit 310 is used for sampling the voltage of the airflow end SW to obtain a first sampling voltage if the judgment result is yes, and comparing the first sampling voltage with a first reference voltage and outputting comparison result information;
  • the oil leakage control unit 340 is used to receive the comparison result information and determine whether the electronic cigarette is in an oil leakage state according to the comparison result information if the judgment result is yes.
  • control end of the power switch M is connected to the oil leakage control unit 340.
  • suction detection module 350 is connected to the oil leakage control unit 340.
  • the oil leakage detection circuit 300 is located on the same chip, which is generally called an electronic cigarette dedicated chip.
  • 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
  • the atomization terminal AT is the atomization pin.
  • the oil leakage detection circuit 300 can also be located on the same chip 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.
  • an airflow sensor assembly 200 including:
  • Capacitive air flow sensor Cs
  • the above-mentioned oil leakage detection circuit 300 wherein the oil leakage detection circuit 300 is connected to the capacitor airflow sensor Cs.
  • the present application also provides an electronic cigarette, including:
  • the battery 110 and the heating element 120 are both connected to the oil leakage detection circuit 300 .
  • FIG. 9 shows a module diagram of an oil leakage detection circuit 600 provided in an embodiment of the present application. For ease of explanation, only the part related to the embodiment of the present application is shown.
  • FIG9 is a schematic diagram of an oil leakage detection circuit 600 provided in an embodiment of the present application.
  • the oil leakage detection circuit 600 of this embodiment includes: at least one processor 620 (only one is shown in FIG9 ), a memory 610, and a computer program stored in the memory 610 and executable on the processor 620.
  • the processor 620 executes the computer program, the steps in the above-mentioned oil leakage detection method embodiment are implemented.
  • FIG9 is only an example of the oil leakage detection circuit 600, and does not constitute a limitation on the oil leakage detection circuit 600.
  • 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) or 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, etc.
  • the memory 610 may be an internal storage unit of the oil leakage detection circuit 600, such as a hard disk or memory of the oil leakage detection circuit 600. In other embodiments, the memory 610 may also be an external storage device of the oil leakage detection circuit 600, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) or a memory card equipped on the oil leakage detection circuit 600. Card, Flash Card, etc. Further, the memory 610 may include both an internal storage unit of the oil leakage detection circuit 600 and an external storage device. The memory 610 is used to store an operating system, an application program, 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 to be output.
  • SMC smart media card
  • SD secure digital
  • the memory 610 may include both an internal storage unit of the oil leakage detection circuit 600 and an external storage device.
  • the memory 610 is used to store an operating system, an application program,
  • the embodiment of the present application further provides a storage medium, which stores a computer program.
  • a storage medium which stores a computer program.
  • An embodiment of the present application provides a computer program product.
  • the terminal can implement the steps in the above-mentioned oil leakage detection method embodiment when executing the computer program product.
  • the distance between the two electrode sheets of the capacitive airflow sensor is very small, generally ranging from 1 ⁇ m to 50 ⁇ m, while the oil droplets are relatively large, much larger than the distance between the two electrode sheets, so when the oil droplets drip through the airflow channel to the two electrode sheets of the airflow sensor, the oil droplets are likely to connect the two electrode sheets. Since the oil droplets of oil are similar to conductor resistance, the equivalent circuit diagram of Figure 1c is shown in Figure 2, that is, the capacitive airflow sensor is connected in parallel with a oil resistor. In addition, the inventors have also found that when the electronic cigarette is working, the smoke oil is atomized into aerosol, and the aerosol may enter the cigarette rod.
  • the embodiment of the present application provides an oil leakage detection method applied to an electronic cigarette, please refer to FIG. 34, FIG. 39 and FIG. 3, comprising the following steps:
  • the oil leakage detection circuit 300 includes a power supply terminal BAT, a power ground terminal GND, an airflow terminal SW, an atomization terminal AT, and a power switch M, wherein the power supply terminal BAT is used to connect to the positive electrode of the battery 110, the power ground terminal GND is used to connect to the negative electrode of the battery 110, the power ground terminal GND is used for electrical grounding, the airflow terminal SW is used to connect 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 used to connect 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, the atomization terminal AT is also used to connect to one end of the power switch M, and the other end of the power switch M is connected to the power supply terminal BAT or the power ground terminal GND.
  • the power supply terminal BAT is used to connect to the positive electrode of the battery
  • the state of the electronic cigarette is divided according to whether the electronic cigarette is inhaled.
  • the electronic cigarette is generally divided into two states: a suction state and a non-suction state, wherein the non-suction state includes a blowing state and a non-suction and blowing state.
  • the suction state corresponds to the state when the user inhales the electronic cigarette
  • the blowing state corresponds to the state when the user blows into the electronic cigarette
  • the non-suction and blowing state corresponds to the state when the electronic cigarette is neither inhaled nor blown.
  • the electronic cigarette will perform different actions when it is in different states.
  • the oil leakage detection circuit 300 includes a suction detection module, which is used to detect whether the electronic cigarette is in a suction state through the airflow end SW during the suction detection time period.
  • the suction detection module When it is detected that it is in the suction state, the suction detection module outputs suction information.
  • the suction detection module outputs blowing information or non-suction and blowing information, wherein the blowing information is used to indicate that the electronic cigarette is in the blowing state, and the non-suction and blowing information is used to indicate that the electronic cigarette is in the non-suction and blowing state.
  • S300 - 5 Triggering the airflow end SW of the oil leakage detection circuit 300 to detect whether the electronic cigarette is in an oil leakage state.
  • the capacitance of the airflow sensor Cs will change, for example, it will become larger, and the puff detection module will determine that the electronic cigarette is in the puff state; when the electronic cigarette leaks oil, the capacitance of the airflow sensor Cs will also change, and the change is almost the same as the user's normal puffing, for example, the capacitance will also become larger, and the puff detection module will also misjudge that the electronic cigarette is in the puff state. Therefore, when the puff detection module determines that the electronic cigarette is in the puff state, there are two situations at this time, the user's normal puffing and the electronic cigarette leaking oil.
  • the puff detection module must determine that the electronic cigarette is in the puff state when the electronic cigarette is in the oil leakage state, and the oil leakage state is detected through the oil leakage resistor RL, so that it can be separated from the detection area of the puff state. After the puff detection module detects that the electronic cigarette is in the puff state, further oil leakage detection is triggered. In this way, the time for determining whether the electronic cigarette is in the oil leakage state is very short, and it is not necessary to cooperate with the oil leakage detection after each puff detection, which greatly reduces the impact of the oil leakage detection on the normal operation of the electronic cigarette.
  • the oil leakage detection circuit 300 further includes an oil leakage detection module, which is connected to the suction detection module.
  • the oil leakage detection module is used to receive information output by the suction detection module, and the oil leakage detection module is used to detect whether the electronic cigarette is in an oil leakage state through the airflow end SW.
  • the oil leakage detection module receives blowing information or no blowing information, the oil leakage detection module is not triggered to detect the oil leakage state.
  • the oil leakage detection module receives suction information
  • the oil leakage detection module is triggered to detect whether the electronic cigarette is in an oil leakage state through the airflow end SW.
  • This embodiment triggers the detection of whether the electronic cigarette is in a state of oil leakage through the airflow end SW after receiving the suction information.
  • the electronic cigarette when the electronic cigarette is in a state of no suction, the electronic cigarette will definitely not have oil leakage, and there is no need to detect whether the electronic cigarette is in a state of oil leakage, which greatly reduces the impact of oil leakage detection on suction detection, has little impact on the normal use of users, and reduces the time of useless oil leakage detection, reducing energy consumption; moreover, even if there is oil leakage, the time of misjudgment as a suction state is very short, and the oil leakage state detection is quickly triggered, so that the electronic cigarette can be detected in a state of oil leakage, and the problem of misjudging the oil leakage state as a suction state for a long time mentioned in the background technology will not occur, resulting in the problem of the heating element 120 working for a long time, and the probability of safety problems is very small.
  • the oil leakage detection circuit 300 performs puff detection with the second time length as a cycle, wherein the second time length includes the puff detection time period, that is, the second time length is greater than or equal to the time length of the puff detection time period.
  • the opening of the next second time length is suspended, that is, the start of the next cycle is suspended, and the oil leakage detection is an inserted emergency event.
  • the next second time length will be opened again.
  • the second duration also includes a blank time period
  • the oil leakage detection method also includes: stopping the detection of whether the electronic cigarette is in a suction state and a leakage state during the blank time period, and pausing the timing of the second duration during the time period for detecting the leakage state, that is, the blank time period is temporarily suspended at this time, and the inserted oil leakage detection time period (oil leakage detection time period) is located between the suction detection time period and the blank time period; when the oil leakage detection is completed, the blank time period is resumed, and the second duration continues to be timed, and when the blank time period is completed, the next suction detection of the second duration is performed.
  • the second duration includes the blank time period, there is no need to detect the suction state and the oil leakage state during the blank time period, which is beneficial to reducing power consumption.
  • step S300-5 the following steps are further included:
  • the oil leakage detection module determines that the electronic cigarette is in the oil leakage state
  • the oil leakage detection module outputs the information that the electronic cigarette is in the oil leakage state.
  • the suction detection module performs the suction detection again. Since the electronic cigarette is in the oil leakage state, the suction detection module will inevitably misjudge that the electronic cigarette is in the suction state. At this time, the oil leakage detection module will receive the suction information again.
  • the oil leakage detection module will not be triggered to detect whether the electronic cigarette is in the oil leakage state, that is, the second time length will not insert the time period for oil leakage detection, that is, it is forbidden to detect whether the electronic cigarette is in the oil leakage state, and then enter the next second time length.
  • this embodiment can reduce meaningless oil leakage detection, and can also reduce the time occupied by oil leakage detection, and reduce the waste of resources and energy.
  • step S400-5 the following steps are further included:
  • S520-5 receiving information that the electronic cigarette is in a non-smoking state
  • the leaking state may be released through various solutions, such as the user shaking the electronic cigarette vigorously. At this time, the electronic cigarette returns to normal.
  • the puff detection module After the puff detection during the puff detection period, the puff detection module outputs information that the electronic cigarette is in the state of not puffing.
  • the oil leakage detection module receives the information, and the oil leakage detection module is released from the prohibition of detecting whether the electronic cigarette is in the state of leaking oil. That is, after the oil leakage detection module receives the puff information later, the oil leakage detection module will be triggered to detect the oil leakage state again. This setting is conducive to the subsequent oil leakage detection of the electronic cigarette that has returned to normal.
  • the frequency of the puff detection is reduced thereafter, and the second time length is increased.
  • the second time length includes a blank time period.
  • This setting is beneficial to reducing power consumption; when the oil leakage detection module determines that the electronic cigarette is not in an oil leakage state, the first time length detects the puff state at a normal frequency. For example, at this time the second time length does not include a blank time period, and at this time the second time length includes a puff detection time period.
  • step S300-5 further includes:
  • S730-5 Triggering a second timing of the prohibition duration
  • S740-5 Determine whether the second timing is greater than or equal to the second preset duration
  • the oil leakage detection module when the oil leakage detection module receives the puffing information, the oil leakage detection module then performs oil leakage detection.
  • the oil leakage detection module outputs information that the electronic cigarette is not in an oil leakage state, it is highly likely that the user is puffing the electronic cigarette normally.
  • the user does not puff once and then finish puffing the electronic cigarette, but puffs intensively within a period of time, puffs once during this period, then stops for some time, then puffs again, and stops for some time, etc. It can be seen that the user puffs normally during this period, and when the oil leakage detection module receives the puffing information during this period, it does not need to be triggered to perform oil leakage detection.
  • This processing can reduce the delay of the puffing detection caused by the oil leakage detection, and does not affect the user's experience.
  • the oil leakage detection circuit 300 prohibits the oil leakage detection.
  • the detection module detects whether the electronic cigarette is in an oil leakage state, and triggers a second timing of the prohibition time.
  • the second timing is greater than or equal to the second preset time, the prohibition of detecting whether the electronic cigarette is in an oil leakage state is lifted, that is, thereafter, when the suction information is received again, it will be triggered to perform oil leakage detection again.
  • the second timing is less than the second preset time, even if the oil leakage detection module receives the suction information again, the oil leakage detection module will not be triggered to detect the oil leakage state.
  • the second preset time is, for example, greater than or equal to 10 minutes and less than or equal to 60 minutes, for example, the second preset time is 10 minutes, 20 minutes, 30 minutes, 40 minutes, 50 minutes, 60 minutes, etc.
  • step S300-5 the following is further included:
  • the oil leakage detection module After the oil leakage state is detected, when the oil leakage detection module determines that it is not in the oil leakage state, the oil leakage detection module outputs the information that the electronic cigarette is not in the oil leakage state, which indicates that the user is using it normally. In order to save the interval time of the puff detection, it is prohibited to detect whether the electronic cigarette is in the oil leakage state thereafter.
  • the oil leakage detection module receives the information that the electronic cigarette is in the non-puff state, the prohibition of detecting whether the electronic cigarette is in the oil leakage state is lifted. That is, during the time period when the oil leakage detection is prohibited, when the oil leakage detection module has been receiving the information that the electronic cigarette is in the puff state, the oil leakage detection is always prohibited.
  • the oil leakage detection module When the oil leakage detection module receives the information that it is in the non-puff state, the oil leakage detection module lifts the prohibition of detecting whether the electronic cigarette is in the oil leakage state, that is, when the puff information is received again, it triggers the detection of whether the electronic cigarette is in the oil leakage state through the airflow end.
  • step S300-5 specifically includes:
  • S310-5 Trigger charging of the capacitive airflow sensor Cs through the airflow terminal SW;
  • S320-5 Triggering a first timing of the charging time
  • S330-5 Determine whether the first timing is greater than or equal to the oil leakage detection time
  • the voltage of the flow end SW is measured to obtain the first sampling voltage, and the first sampling voltage will be relatively large; 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 end SW and the power ground terminal GND, at this time, there is a capacitor (airflow sensor Cs) between the airflow end SW and the power ground terminal GND, and there is also an oil leakage resistor RL connected in parallel with the capacitor.
  • the resistance value of the oil leakage resistor RL is less than 10 megohms, for example, 8M ⁇ , 5M ⁇ , 4M ⁇ , 2M ⁇ , 1M ⁇ , 800k ⁇ , 500k ⁇ , 3 00k ⁇ , etc., and because the oil leakage detection time is very long, the capacitance of the airflow sensor Cs is close to presenting 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 greater, 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 the resistance of the oil leakage resistor RL.
  • the voltage of the airflow end SW is controlled by the oil leakage resistor RL.
  • the voltage on the airflow end SW is the voltage on the oil leakage resistor RL, which is generally less than the product of the resistance of the oil leakage resistor RL and the charging current, so that the first sampling voltage will be smaller.
  • a suitable first reference voltage can be selected, which can be designed to be less than the first reference voltage when there is oil leakage, and greater than or equal to the first reference voltage when there is no oil leakage, so that by comparing the first sampling voltage with the first reference voltage and outputting the comparison result information, it can be judged whether the electronic cigarette is in an oil leakage state according to the comparison result information.
  • the range of the first reference voltage is, for example, greater than or equal to 1V and less than 2.8V, such as 1V, 1.5V, 2V, 2.5V, etc.
  • the oil leakage detection time is generally greater than or equal to 300 ⁇ s, preferably greater than or equal to 1ms, such as 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.
  • the oil leakage detection time is generally less than 200ms.
  • the present application compares the first sampling voltage after charging for the oil leakage detection time with the first reference voltage, and then outputs the comparison result information.
  • the comparison result information it can be determined whether the electronic cigarette is leaking, that is, whether there is oil between the two electrodes of the capacitor that connects the two electrodes, or whether there is oil that connects the airflow terminal SW to the ground terminal.
  • the power switch M can be controlled to remain disconnected.
  • the same airflow terminal SW is used for suction state detection and oil leakage state detection.
  • the airflow terminal SW is time-division multiplexed, and there is no need to add terminals or pins to the oil leakage detection circuit 300, which is conducive to reducing costs.
  • the electronic cigarette is in a state of oil leakage by detecting the resistance information of the airflow terminal SW and the power ground terminal GND.
  • the resistance information is used to characterize the resistance size of the airflow terminal SW and the power ground terminal GND.
  • the specific implementation method of this embodiment can refer to the patent applied by the applicant on the same day. The content of the patent application is also introduced into the present application and will not be repeated here.
  • the first sampling voltage can drop from the first voltage value to the second voltage value after a preset time.
  • a first voltage value is obtained based on the first voltage value and the second voltage value, the first voltage information is compared with the preset first preset voltage information, and whether the electronic cigarette is in an oil leakage state is determined according to the comparison result information; or, after charging is stopped, the discharge time taken for the first sampling voltage to drop from the first voltage value to the second voltage value is timed, the timed time is compared with the preset time, and whether the electronic cigarette is in an oil leakage state is determined according to the comparison result; that is, whether the electronic cigarette is in an oil leakage state is determined by using the difference in discharge speed of the airflow sensor Cs caused by the presence of an oil leakage resistor RL.
  • the specific implementation method of this embodiment can refer to the patent applied by the applicant on the same day, and the content of the patent application is also introduced into the present application, which will not be repeated here.
  • 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.
  • the oil leakage detection circuit 300 also includes a charge and discharge switch Kc, 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, that is, the charge and discharge switch Kc is connected in parallel with the airflow sensor Cs, and the charge and discharge switch Kc is kept disconnected during the time period for detecting whether the electronic cigarette is in an oil leakage state.
  • This setting can prevent the conduction of the charge and discharge switch Kc from causing adverse effects on the oil leakage detection.
  • step S100-5 specifically includes:
  • S120-5 sampling and acquiring the voltage of the airflow end SW in real time to obtain a second sampling voltage
  • S130-5 Determine whether the second sampling voltage is greater than or equal to a second preset reference voltage
  • S160-5 determining whether the current counting information is less than a preset counting threshold after a puff detection period, wherein the current counting information is obtained based on the current counting value;
  • the capacitive airflow sensor Cs is charged through the airflow terminal SW, and it is judged 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 Kc is controlled to be turned on for discharge. Since the two ends of the airflow sensor Cs will be short-circuited when the charge and discharge switch Kc is turned on, the voltage of the airflow terminal SW will be instantly reduced to 0, and then the second sampling voltage will be less than or equal to the second preset reference voltage.
  • the puff judgment unit 323 judges whether the current counting information is less than the preset counting threshold. If the judgment result is yes, the puff judgment unit 323 outputs information that the electronic cigarette is in a puffing state; if the judgment result is no, the puff judgment unit 323 outputs information that the electronic cigarette is in a non-puffing state.
  • the current counting information may be the current counting value, the difference between the current counting value and the reference counting value (preset or obtained by counting after a puff detection period in a non-puffing state), the ratio of the difference to the reference counting value, etc.
  • the counting threshold is set accordingly, for example, the counting threshold is 970, 30, 3%, etc. Detecting whether the electronic cigarette is in a puffing state is a conventional technology in the art and will not be described in detail here.
  • step S300-5 the following steps are further included:
  • the counting threshold is increased or decreased accordingly to reduce the probability of misjudging the state as a puffing state.
  • the counting threshold is increased or decreased accordingly, for example, the counting threshold is reduced from 970 to 950, the counting threshold is increased from 30 to 60, and the counting threshold is increased from 3% to 6%.
  • the probability of misjudging the oil leakage as a puffing state can be reduced, which is beneficial to improving safety.
  • the step of triggering the detection of whether the electronic cigarette is in an oil leakage state through the airflow end SW specifically includes:
  • a third timer is performed for the duration of the puffing information
  • the oil leakage detection module includes a third timing unit and a third duration judgment unit, the third timing unit is connected to the suction detection unit, and the third duration judgment unit is connected to the third timing unit.
  • the third timing unit receives the suction information
  • the third timing unit is triggered to start timing
  • the third timing unit timing is greater than or equal to the third preset duration
  • the third duration judgment unit outputs an oil leakage detection signal
  • the oil leakage control detection unit detects the oil leakage state
  • the suction detection unit outputs a non-suction signal
  • the third timing unit is reset to zero.
  • the third preset duration is, for example, 60 ⁇ s, 90 ⁇ s, 100 ⁇ s, 150 ⁇ s, 200 ⁇ s, etc., and the third preset duration is less than 1s.
  • This embodiment can prevent signal disturbances and airflow crosstalk from causing false triggering of oil leakage detection by judging the duration of the suction information.
  • Figure 39 shows a circuit module diagram of the oil leakage detection circuit 300 provided in the embodiment of the present application.
  • the parts related to the embodiment of the present application are shown.
  • the oil leakage detection circuit 300 includes a power supply terminal BAT, a power ground terminal GND, The airflow terminal SW, the atomization terminal AT, and the power switch M, wherein the power supply terminal BAT and the power ground terminal GND are correspondingly used to connect to the positive and negative electrodes 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 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, the atomization terminal AT is also used to connect to one end of the power switch M, and the other end of the power switch M is connected to the power supply terminal BAT or the power ground terminal GND.
  • the power supply terminal BAT and the power ground terminal GND are correspondingly used to connect to the positive and negative electrodes of the battery 110
  • the oil leakage detection circuit 300 further includes:
  • a puff detection module which is used to detect whether the electronic cigarette is in a puff state through the airflow end SW during the puff detection period;
  • the oil leakage detection module is used to receive the puffing information, wherein the puffing 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 an oil leakage state through the airflow end SW of the oil leakage detection circuit 300.
  • the oil leakage detection module includes:
  • a first current source 315 which is used to charge the capacitive airflow sensor Cs through the airflow terminal SW;
  • the oil leakage detection unit 311 is used for sampling the voltage of the airflow end SW to obtain a first sampling voltage if the judgment result is yes, and comparing the first sampling voltage with a first reference voltage and outputting comparison result information;
  • the oil leakage control unit 314 is used to determine whether the electronic cigarette is in an oil leakage state according to the comparison result information if the judgment result is yes.
  • the suction detection module includes:
  • a second current source 324 which is used to charge the capacitive airflow sensor Cs through the airflow terminal SW during the puff detection period
  • a second voltage comparison unit 321, which is used to sample and obtain the voltage of the airflow end SW in real time to obtain a second sampled voltage, and to determine whether the second sampled voltage is greater than or equal to a second preset reference voltage;
  • the charge-discharge switch Kc is used to be turned on for discharging if the judgment result of the second voltage comparison unit 321 is yes; it is also used to remain turned off to continue charging if the judgment result of the second voltage comparison unit 321 is no.
  • the first end of the charge-discharge switch Kc is connected to the airflow end SW, and the second end of the charge-discharge switch Kc is connected to the power ground end GND;
  • a puff determination unit 323 connected to the second counting unit 322, and configured to determine whether current counting information is less than a preset counting threshold after a puff detection period, wherein the current counting information is obtained based on a current counting value;
  • the suction determination unit 323 is further configured to output suction information if the determination result is yes, and output non-sucking information if the determination result is no.
  • first current source 315 and the second current source 324 are different current sources, but the present application is not limited thereto. In other embodiments of the present application, the first current source 315 and the second current source 324 may also be the same current source.
  • the oil leakage detection circuit 300 is located on the same chip, which is generally called an electronic cigarette dedicated chip.
  • 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
  • the atomization terminal AT is the atomization pin.
  • the oil leakage detection circuit 300 can also be located on the same chip 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.
  • an airflow sensor Cs component 200 including:
  • Capacitive air flow sensor Cs
  • the oil leakage detection circuit 300 is connected to the capacitor air flow sensor Cs.
  • the present application also provides an electronic cigarette, including:
  • Air flow sensor Cs assembly 200 Air flow sensor Cs assembly 200;
  • the battery 110 and the heating element 120 are both connected to the oil leakage detection circuit 300 of the airflow sensor Cs component 200 .
  • FIG. 9 shows a module diagram of an oil leakage detection circuit 600 provided in an embodiment of the present application. For ease of explanation, only the part related to the embodiment of the present application is shown.
  • FIG9 is a schematic diagram of an oil leakage detection circuit 600 provided in an embodiment of the present application.
  • the oil leakage detection circuit 600 of this embodiment includes: at least one processor 620 (only one is shown in FIG9 ), a memory 610, and a computer program stored in the memory 610 and executable on the processor 620.
  • the processor 620 executes the computer program, the steps in the above-mentioned oil leakage detection method embodiment are implemented.
  • FIG9 is only an example of the oil leakage detection circuit 600, and does not constitute a limitation on the oil leakage detection circuit 600.
  • 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), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
  • General-purpose processor 620 It may be a microprocessor 620 or the processor 620 may also be any conventional processor 620 or the like.
  • the memory 610 may be an internal storage unit of the oil leakage detection circuit 600, such as a hard disk or memory of the oil leakage detection circuit 600. In other embodiments, the memory 610 may also be an external storage device of the oil leakage detection circuit 600, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card (Flash Card), etc. equipped on the oil leakage detection circuit 600. Further, the memory 610 may also include both an internal storage unit of the oil leakage detection circuit 600 and an external storage device.
  • the memory 610 is used to store an operating system, an application program, a boot loader (BootLoader), 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 to be output.
  • the embodiment of the present application further provides a storage medium, which stores a computer program.
  • a storage medium which stores a computer program.
  • An embodiment of the present application provides a computer program product.
  • the terminal can implement the steps in the above-mentioned oil leakage detection method embodiment when executing the computer program product.
  • the electronic cigarette includes a battery 110, a heating element 120, an airflow sensor assembly 200, etc.
  • the battery 110 and the heating element 120 are respectively connected to the airflow sensor assembly 200
  • the heating element 120 is, for example, a heating wire, a heating wire, a ceramic seat containing a heating wire or a heating wire, or other conventional heating elements 120
  • the battery 110 is, for example, a rechargeable battery or a non-rechargeable battery
  • the rechargeable battery is, for example, a lithium-ion battery, a nickel-cadmium battery, a nickel-hydrogen battery, a lithium polymer battery, a lead-acid battery, etc.
  • 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, etc.
  • the airflow sensor assembly 200 includes a capacitive airflow sensor Cs and an oil leakage control circuit 300.
  • the capacitive airflow sensor Cs includes a capacitive MEMS sensor, a capacitive microphone, etc.
  • the capacitive airflow sensor Cs is essentially a capacitor that can change with the airflow;
  • the oil leakage control 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 electrode of the battery 110, the power ground terminal GND is connected to the negative electrode 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, 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
  • the oil leakage control circuit 300 includes a power switch M, one end of which 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 to be connected in series with the heating element 120, so that the power switch M is connected in series with the heating element 120, and the power switch M is controlled to be turned on or turned off according to the state of the electronic cigarette, so that the heating element 120 is heated or stopped.
  • the power switch M is a PMOS tube, and one end of the PMOS tube is connected to the power supply terminal BAT.
  • the embodiment of the present application provides an oil leakage control method applied to an electronic cigarette, see FIG41 , comprising the following steps:
  • S110-6 receiving information that the electronic cigarette is in a state of oil leakage
  • whether the electronic cigarette is in an oil leakage state is obtained by advance detection. In this embodiment, whether the electronic cigarette is in an oil leakage state is determined by directly or indirectly detecting the resistance value between the airflow terminal SW and the power ground terminal GND.
  • the equivalent resistance of the capacitor will be very large, generally greater than or equal to 20M ⁇ , for example, 20M ⁇ , 30M ⁇ , 50M ⁇ , 70M ⁇ , 100M ⁇ , 200M ⁇ or more; when there is condensed smoke oil connecting the airflow end SW and the power ground terminal GND in the electronic cigarette, there is a capacitor between the airflow end SW and the power ground terminal GND, and there is also a leakage resistor RL in parallel with the capacitor.
  • the parallel oil leakage resistor RL generally has a resistance value less than 10 megohms, such as 8M ⁇ , 5M ⁇ , 4M ⁇ , 2M ⁇ , 1M ⁇ , 800k ⁇ , 500k ⁇ , 300k ⁇ , etc.
  • S120-6 increasing the charging current output to the airflow terminal SW during the puff detection period, wherein the charging current is used to charge the capacitive airflow sensor Cs, and the puff detection period is used to detect whether the electronic cigarette is in a puff state;
  • S130-6 receiving information that the electronic cigarette is in a smoking state
  • S140-6 Control the power switch M to be turned on to enable the heating element 120 to work.
  • the charging current to the airflow terminal SW is increased, and the charging current to charge the capacitive airflow sensor Cs will be increased accordingly.
  • the first charging current is output to the airflow terminal SW in the puffing detection time period, and the first charging current will be fully used to charge the capacitive airflow sensor Cs, and the first charging current is, for example, 100nA; after the electronic cigarette is in the state of oil leakage, the second charging current is output to the airflow terminal SW in the subsequent puffing detection time period, and the second charging current is, for example, 1000nA, that is, the charging current is increased to 10 times the original.
  • the leakage current when there is leakage caused by the leakage resistor RL, if the charging current output to the airflow terminal SW during the puff detection period is 100nA, the leakage current is approximately 10nA, and the charging current finally output to the airflow sensor Cs is approximately 90nA, so the leakage current has an effect of 10% on the charging current, which will have a relatively large impact and will be misjudged as a puffing state, thereby causing safety problems; when the leakage state is detected, the charging current increases from 100nA to 1000nA.
  • the leakage current is still approximately 10nA, and the charging current to the airflow sensor Cs is approximately 990nA, so the leakage current has an effect of 1% on the charging current, which has a very small impact and will not be misjudged as a puffing state, let alone cause safety problems.
  • the present application can prevent the leakage from being misjudged as a puffing state, and will not cause safety problems.
  • the leakage state there is no need to control the electronic cigarette to stop working, which is conducive to reducing the user's holding cost.
  • the power switch M is controlled to be turned on in a normal manner to make the heating element 120 work. That is, in this embodiment, even if the electronic cigarette is in an oil leakage state, the electronic cigarette can still be used without being discarded, which is beneficial to reducing the user's holding cost.
  • the charging current to the airflow end SW is increased in the subsequent puff detection time period, and the charging current is used to charge the capacitive airflow sensor Cs. Due to the increase in the charging current, the influence of leakage caused by oil leakage on the charging current will be reduced, and the influence on the charging current of the airflow sensor Cs will also be reduced, while the capacitance value of the airflow sensor Cs remains unchanged, and the charge and discharge flip reference voltage (the second preset reference voltage mentioned later) remains unchanged.

Landscapes

  • Electrostatic Spraying Apparatus (AREA)

Abstract

提供一种漏油检测电路,包括气流端,所述气流端用于与电容式气流传感器的一个电极连接;漏油检测电路(300)还包括第一电流源(321)、漏油检测单元(330)和漏油控制单元(310),所述第一电流源(321)、所述漏油检测单元(330)均与气流端连接,所述漏油控制单元(310)与所述漏油检测单元(330)连接,所述第一电流源(321)通过气流端给电容式气流传感器充电,经过漏油检测时长充电后所述漏油检测单元(330)采样气流端的电压以获得第一采样电压,所述漏油检测单元(330)将所述第一采样电压与第一参考电压进行比较并输出比较结果信息,所述漏油控制单元(310)根据所述比较结果信息判断电子烟是否处于漏油状态。还提供一种漏油管控电路、漏油控制电路、漏油检测方法、气流传感器组件及电子烟。

Description

一种漏油管控电路、漏油检测电路、漏油控制电路、方法、气流传感器组件及电子烟
本申请要求于2022年12月16日提交中国专利局、申请号为CN202211637211.7、申请名称为“一种漏油检测方法及电路、气流传感器组件及电子烟”,以及,要求于2022年12月16日提交中国专利局、申请号为CN202211637580.6、申请名称为“一种漏油检测电路及方法、气流传感器组件及电子烟”,以及,要求于2022年12月16日提交中国专利局、申请号为CN202211623635.8、申请名称为“一种漏油检测方法及电路、气流传感器组件及电子烟”,以及,要求于2022年12月16日提交中国专利局、申请号为CN202211623657.4、申请名称为“一种漏油检测电路及方法、气流传感器组件、电子烟”,以及,要求于2022年12月16日提交中国专利局、申请号为CN202211623645.1、申请名称为“一种漏油检测电路及方法、气流传感器组件及电子烟”,以及,要求于2022年12月17日提交中国专利局、申请号为CN202211628417.3、申请名称为“一种漏油管控方法及电路、气流传感器组件、电子烟”,以及,要求于2023年4月23日提交中国专利局、申请号为CN202310442649.8、申请名称为“一种漏油控制电路、气流传感器组件及电子烟”的中国专利申请的优先权,上述在先申请的内容通过引用结合在本申请中。
技术领域
本申请涉及电子烟技术领域,尤其涉及一种漏油管控电路、漏油检测电路、漏油控制电路、方法、气流传感器组件及电子烟。
背景技术
电子烟是一种模拟香烟的电子设备,其通过模拟真实香烟的口感和烟雾,从而取代了传统的香烟,不仅节省了消费者的开支,还降低了“二手烟”带来的危害。
现有的电子烟包括烟弹和烟杆,烟弹内装有烟油、发热元件,烟杆内装有电池、控制芯片及电容式气流传感器,当用户抽吸电子烟以通过气流传感器触发控制芯片控制发热元件工作时,烟弹内的烟油被雾化以供用户吸食。其中,用户抽吸使用的气流通道、烟油雾化供用户抽吸使用的通道为同一通道,气流传感器位于该通道内,众所周知,烟油与空气相比介质系数要大得多,使用中烟油雾化或由于重力原因烟油可能进入气流通道,进而导致烟油可能漏入到电容式气流传感器中,或者导致烟油可能漏入到安装控制芯片的电路板上。
在现有技术中,控制芯片通过电容或电容变化判别电子烟是否处于抽吸状态,漏油会导致被误判为抽吸状态,触发发热元件误工作,发热元件长时间保持工作容易烫伤用户,且容易引起火灾等安全事故。
发明内容
本申请的发明人经过长期研究发现,现有的烟油漏到电容式气流传感器内后一般存在4种情形,分别请参见图1a-图1d,发明人经过大量产品拆解、分析、实验发现,烟油漏到电容式气流传感器主要的情形为图1c,漏油大部分是这种情形,其后分析原因,理由为:一般说来,电容式气流传感器的两个电极片之间的距离很小,一般范围为1μm-50μm,而烟油油滴比较大,远大于两个电极片之间的距离,从而烟油油滴通过气流通道滴落到气流传感器的两个电极片之间时,油滴大概率会连接两个电极片。由于烟油油滴类似于导体电阻,从而图1c的等效电路图如图2,也即电容式气流传感器并联了一个烟油电阻。另外,发明人还发现:当电子烟工作后,烟油雾化成气溶胶,气溶胶可能进入烟杆内,当气溶胶冷凝后成为烟油可能落在安装控制芯片的电路板上,有可能落到控制芯片的气流引脚处,请参见图1e,可能导致气流引脚与地通过烟油连接(也可看做是漏油),其等效电路图也如图2的情形,也易导致控制芯片误判为处于抽吸状态,触发发热元件误工作,发热元件长时间保持工作容易烫伤用户,且容易引起安全事故。本申请根据发明人的前述发现解决上述技术问题。
为了解决上述技术问题,本申请实施例第一方面提供了一种应用于电子烟的漏油检测电路包括:电源供电端、电源接地端、气流端、雾化端,其中,所述电源供电端和电源接地端对应用于与电池的正、负极连接,所述气流端用于与电容式气流传感器的一个电极连接,所述电源接地端还用于与电容式气流传感器的另一电极连接,所述雾化端用于与发热元件连接;
其中,所述漏油检测电路还包括第一电流源、漏油检测单元和漏油控制单元,所述第一电流源、所述漏油检测单元均与气流端连接,所述漏油控制单元与所述漏油检测单元连接,所述第一电流源通过气流端 用于给电容式气流传感器充电,经过漏油检测时长充电后所述漏油检测单元采样气流端的电压以获得第一采样电压,所述漏油检测单元将所述第一采样电压与第一参考电压进行比较并输出比较结果信息,所述漏油控制单元根据所述比较结果信息判断电子烟是否处于漏油状态。
可选的,所述漏油检测单元包括第一电压比较器,所述第一电压比较器的第一输入端接入第一采样电压,所述第一电压比较器的第二输入端接入第一参考电压,经过漏油检测时长充电后所述第一电压比较器将第一采样电压与第一参考电压进行比较并输出比较结果信息。
可选的,所述漏油控制单元包括第三计时子单元,第三计时子单元的输入端与第一电压比较器的输出端连接,所述第三计时子单元对经过漏油检测时长充电后第一采样电压小于第一参考电压的时长进行计时,当第三计时子单元计时大于或等于第三时长时,第三计时子单元输出漏油确认信号。
可选的,所述漏油检测电路包括功率开关,所述漏油控制单元包括第一计时子单元和逻辑控制子单元,其中,所述逻辑控制子单元分别与漏油检测单元、第一计时子单元、功率开关的控制端连接,所述功率开关的第一端与电源供电端或者电源接地端连接,所述功率开关的第二端与雾化端连接;且,
第一计时子单元用于对充电时长进行计时,当第一计时子单元计时漏油检测时长后输出第一计时信号给逻辑控制子单元,逻辑控制子单元接收漏油检测单元输出的比较结果信息;或者,
第一计时子单元还与漏油检测单元连接,第一计时子单元用于对充电时长进行计时,当第一计时子单元计时漏油检测时长后输出第一计时信号给漏油检测单元,漏油检测单元将所述第一采样电压与第一参考电压进行比较并输出比较结果信息给逻辑控制子单元。
可选的,所述漏油检测电路还包括抽吸检测模块、充放电开关,所述抽吸检测模块分别与所述气流端、所述漏油控制单元连接,所述抽吸检测模块用于检测气流传感器的电容或者电容的变化以判断电子烟是否处于抽吸状态,所述抽吸检测模块还可控制充放电开关是否导通,所述充放电开关的第一端与气流端连接,所述充放电开关的第二端与电源接地端连接;
其中,在所述漏油检测时长所述充放电开关保持断开截止。
可选的,所述抽吸检测模块在抽吸检测时间段实时采样气流端的电压以获得第二采样电压,所述抽吸检测模块包括第二电压比较单元和抽吸判断单元,其中,所述第二电压比较单元的第一输入端接入第二采样电压,其第二输入端接入第二参考电压,所述第二电压比较单元的输出端与抽吸判断单元连接,所述抽吸判断单元与漏油控制单元连接;
所述第一电流源在漏油检测时间段通过气流端用于给电容式气流传感器充电,其中,所述漏油检测时间段包括所述漏油检测时长,所述第一电流源还在抽吸检测时间段通过气流端用于给电容式气流传感器充电,在抽吸检测时间段当第二采样电压大于或等于第二参考电压时所述第二电压比较单元控制充放电开关导通以对所述电容式气流传感器进行放电,当第二采样电压小于第二参考电压时所述第二电压比较单元控制充放电开关断开截止。
可选的,所述漏油检测电路还包括开关控制单元,所述开关控制单元分别与所述第二电压比较单元的输出端、漏油控制单元、充放电开关的控制端连接,在抽吸检测时间段时所述充放电开关受第一电压比较器的控制,在漏油检测时间段的漏油检测时长时所述开关控制单元控制所述充放电开关保持断开截止。
可选的,所述抽吸检测模块在抽吸检测时间段实时采样气流端的电压以获得第二采样电压,所述抽吸检测模块包括第二电压比较单元和抽吸判断单元,所述漏油检测电路还包括第二电流源,其中,所述第二电压比较单元的第一输入端接入第二采样电压,其第二输入端接入第二参考电压,所述第二电压比较单元的输出端与抽吸判断单元连接,所述抽吸判断单元与漏油控制单元连接,所述第二电流源与所述气流端连接;
所述第一电流源在漏油检测时间段通过气流端用于给电容式气流传感器充电,其中,所述漏油检测时间段包括所述漏油检测时长,所述第二电流源在抽吸检测时间段通过气流端用于给电容式气流传感器充电,在抽吸检测时间段当第二采样电压大于或等于第二参考电压时所述第二电压比较单元控制所述充放电开关导通以对所述电容式气流传感器进行放电,当第二采样电压小于第二参考电压时所述第二电压比较单元控制所述充放电开关断开截止。
可选的,所述漏油检测电路包括第二开关单元,其中,所述第二开关单元的两端对应与电源供电端、第二电压比较单元的电源端连接;所述漏油控制单元在所述漏油检测时间段控制所述第二开关单元断开截止以使所述第二电压比较单元停止工作,以控制所述充放电开关断开截止。
可选的,每个抽吸检测时间段包括多个电容式气流传感器的充放电周期,所述电容充放电周期包括充电时间段和放电时间段,所述充电时间段适用于所述第二采样电压从小于第二参考电压充电到大于或等于第二参考电压,所述放电时间段适用于所述第二采样电压从大于或等于第二参考电压放电到小于第二参考电压,所述漏油检测时长大于或等于10倍电容充放电周期;或者,
在漏油检测时间段输出给气流端的充电电流大于或等于10倍的在抽吸检测时间段输出给气流端的充电电流。
可选的,所述第一参考电压包括多个子参考电压,多个所述子参考电压相异,所述比较结果信息对应 包括多个子比较结果信息,所述漏油检测单元将第一采样电压与多个所述子参考电压进行比较以输出对应的比较结果信息。
可选的,所述漏油检测时长大于或等于1ms;或者,
所述漏油检测电路位于同一个芯片上,所述电源供电端为电源供电引脚,所述电源接地端为电源接地引脚,所述气流端为气流引脚,所述雾化端为雾化引脚。
本申请实施例第二方面提供了一种应用于电子烟的漏油检测方法,包括:
通过气流端给电容式气流传感器充电,其中,所述气流端用于与电容式气流传感器的一个电极连接,所述电容式气流传感器的另一个电极用于与电源接地端电连接;
触发对充电时长进行第一计时;
判断第一计时是否大于或等于漏油检测时长;
若判断结果为是,则采样气流端的电压以获取第一采样电压,并将所述第一采样电压与第一参考电压进行比较并输出比较结果信息,且接收所述比较结果信息并根据所述比较结果信息判断电子烟是否处于漏油状态。
可选的,步骤根据所述比较结果信息判断电子烟是否处于漏油状态具体包括:
对第一比较结果信息的持续时长进行第三计时,其中,所述第一比较结果信息表征第一采样电压小于第一参考电压;
判断第三计时是否大于或等于第三时长;
若判断结果为是,则判断电子烟处于漏油状态。
可选的,所述第一参考电压包括第一子参考电压和第二子参考电压,其中,所述第一子参考电压小于第二子参考电压;步骤将所述第一采样电压与第一参考电压进行比较并输出比较结果信息具体包括:
判断所述第一采样电压是否小于第二子参考电压;
若判断结果为是,则判断所述第一采样电压是否小于第一子参考电压;
若判断结果为是,则输出第一子比较结果信息;
若判断结果为否,则输出第二子比较结果信息,其中,所述第二子比较结果信息与所述第一子比较结果信息相异,所述第二子比较结果信息、所述第一子比较结果信息用于表征电子烟的不同漏油程度。
可选的,所述漏油检测方法还包括:
在对电子烟是否处于漏油状态进行检测的时间段控制充放电开关保持断开截止,其中,所述充放电开关的第一端与气流端连接,所述充放电开关的第二端与电源接地端连接。
可选的,所述漏油检测方法还包括:
在抽吸检测时间段通过漏油检测电路的气流端检测电子烟是否处于抽吸状态,其中,对电子烟是否处于漏油状态进行检测的时间段为漏油检测时间段,所述漏油检测时间段与所述抽吸检测时间段相异。
本申请实施例第三方面提供了一种漏油检测电路,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现上述的漏油检测方法。
本申请实施例第四方面提供了一种应用于电子烟的漏油检测电路,包括:电源供电端、电源接地端、气流端、雾化端,其中,所述电源供电端和电源接地端对应用于与电池的正、负极连接,所述气流端用于与电容式气流传感器的一个电极连接,所述电源接地端还用于与电容式气流传感器的另一电极连接,所述雾化端用于与发热元件连接;
其中,所述漏油检测电路还包括漏油检测单元和漏油控制单元,所述漏油检测单元与气流端连接,所述漏油检测单元通过气流端用于获得第一采样电阻信息,其中,所述第一采样电阻信息用于表征气流端与电源接地端的电阻大小,所述漏油检测单元将所述第一采样电阻信息与第一参考电阻信息进行比较并输出比较结果信息,所述漏油控制单元根据所述比较结果信息判断电子烟是否处于漏油状态。
可选的,所述漏油检测电路还包括第一电流源,所述第一电流源与气流端连接,所述第一电流源通过气流端用于给电容式气流传感器充电,经过漏油检测时长充电后所述漏油检测单元采集气流端的电压以获得第一采样电压,并将第一采样电压、第一电流信息进行计算以得到第一采样电阻信息,其中,所述第一电流信息用于表征第一电流源输出的电流。
可选的,所述漏油检测单元包括除法器和第一电阻比较器,其中,所述除法器的第一输入端接入第一采样电压,所述除法器的第二输入端接入第一电流信息,所述除法器输出第一采样电阻信息,第一电阻比较器的第一输入端接入第一采样电阻信息,所述第一电阻比较器的第二输入端接入第一参考电阻信息,所述第一电阻比较器将第一采样电阻信息与第一参考电阻信息进行比较并输出比较结果信息。
可选的,所述漏油检测单元包括第一分压电阻、第二分压电阻、第三分压电阻、第四分压电阻和压差比较子单元;其中,第一分压电阻的第一端与电源供电端连接,第一分压电阻的第二端与气流端连接,气流端与第三分压电阻的第一端连接,第三分压电阻的第二端与电源接地端连接;第二分压电阻的第一端与 第一分压电阻的第一端连接,第二分压电阻的第二端与第四分压电阻的第一端连接,第四分压电阻的第二端与第三分压电阻的第二端连接,其中,第一分压电阻与第三分压电阻的阻值比值和第二分压电阻与第四分压电阻的阻值比值相等;压差比较子单元与气流端连接以得到第一分压值,压差比较子单元与第四分压电阻的第一端连接以得到第二分压值,压差比较子单元将第一分压值、第二分压值相减以得到第一采样电阻信息,压差比较子单元还接收第一参考电阻信息并将第一采样电阻信息与第一参考电阻信息进行比较并输出比较结果信息。
可选的,所述漏油检测电路还包括第一开关单元和第三开关单元,其中,第一开关单元的第一端与电源供电端连接,第一开关单元的第二端分别与第一分压电阻的第一端、第二分压电阻的第一端连接,第三开关单元的第一端与气流端连接,第三开关单元的第二端与第三分压电阻的第一端连接,第一开关单元的控制端、第三开关单元的控制端均与漏油控制单元连接,在对电子烟是否处于漏油状态进行检测的时间段漏油控制单元控制第一开关单元、第三开关单元均开启导通。
可选的,所述漏油检测电路包括功率开关,所述漏油控制单元包括第一计时子单元和逻辑控制子单元,其中,所述逻辑控制子单元分别与漏油检测单元、第一计时子单元、功率开关的控制端连接,所述功率开关的第一端与电源供电端或者电源接地端连接,所述功率开关的第二端与雾化端连接;且,
第一计时子单元用于对充电时长进行计时,当第一计时子单元计时漏油检测时长后输出第一计时信号给逻辑控制子单元,逻辑控制子单元接收漏油检测单元输出的比较结果信息;或者,
第一计时子单元还与漏油检测单元连接,第一计时子单元用于对充电时长进行计时,当第一计时子单元计时漏油检测时长后输出第一计时信号给漏油检测单元,漏油检测单元将所述第一采样电阻信息与第一参考电阻信息进行比较并输出比较结果信息给逻辑控制子单元。
可选的,所述漏油控制单元包括第三计时子单元和逻辑控制子单元,第三计时子单元的输入端与漏油检测单元的输出端连接,第三计时子单元的输出端与逻辑控制子单元连接,所述第三计时子单元对经过漏油检测时长充电后第一采样电阻信息小于第一参考电阻信息的时长进行计时,当第三计时子单元计时大于或等于第三时长时,第三计时子单元输出漏油确认信号。
可选的,所述第一采样电阻信息包括电阻、电压,所述第一参考电阻信息与所述第一采样电阻信息对应。
可选的,所述漏油检测电路还包括抽吸检测模块、充放电开关,所述抽吸检测模块分别与所述气流端、所述漏油控制单元连接,所述抽吸检测模块用于检测气流传感器的电容或者电容的变化以判断电子烟是否处于抽吸状态,所述抽吸检测模块还可控制充放电开关是否导通,所述充放电开关的第一端与气流端连接,所述充放电开关的第二端与电源接地端连接;
其中,在对电子烟是否处于漏油状态进行检测的时间段所述充放电开关保持断开截止。
可选的,所述抽吸检测模块在抽吸检测时间段实时采样气流端的电压以获得第二采样电压,所述抽吸检测模块包括第二电压比较单元和抽吸判断单元,其中,所述第二电压比较单元的第一输入端接入第二采样电压,其第二输入端接入第二参考电压,所述第二电压比较单元的输出端与抽吸判断单元连接,所述抽吸判断单元与漏油控制单元连接;
所述第一电流源在漏油检测时间段通过气流端用于给电容式气流传感器充电,其中,所述漏油检测时间段包括所述漏油检测时长,所述第一电流源还在抽吸检测时间段通过气流端用于给电容式气流传感器充电,在抽吸检测时间段当第二采样电压大于或等于第二参考电压时所述第二电压比较单元控制充放电开关导通以对所述电容式气流传感器进行放电,当第二采样电压小于第二参考电压时所述第二电压比较单元控制充放电开关断开截止。
可选的,所述漏油检测电路还包括开关控制单元,所述开关控制单元分别与所述第二电压比较单元的输出端、漏油控制单元、充放电开关的控制端连接,在抽吸检测时间段时所述充放电开关受第一电阻比较器的控制,在漏油检测时间段的漏油检测时长时所述开关控制单元控制所述充放电开关保持断开截止。
可选的,所述抽吸检测模块在抽吸检测时间段实时采样气流端的电压以获得第二采样电压,所述抽吸检测模块包括第二电压比较单元和抽吸判断单元,所述漏油检测电路还包括第二电流源,其中,所述第二电压比较单元的第一输入端接入第二采样电压,其第二输入端接入第二参考电压,所述第二电压比较单元的输出端与抽吸判断单元连接,所述抽吸判断单元与漏油控制单元连接,所述第二电流源与所述气流端连接;
所述第一电流源在漏油检测时间段通过气流端用于给电容式气流传感器充电,其中,所述漏油检测时间段包括所述漏油检测时长,所述第二电流源在抽吸检测时间段通过气流端用于给电容式气流传感器充电,在抽吸检测时间段当第二采样电压大于或等于第二参考电压时所述第二电压比较单元控制所述充放电开关导通以对所述电容式气流传感器进行放电,当第二采样电压小于第二参考电压时所述第二电压比较单元控制所述充放电开关断开截止。
可选的,所述漏油检测电路包括第二开关单元,其中,所述第二开关单元的两端对应与电源供电端、第二电压比较单元的电源端连接;所述漏油控制单元在所述漏油检测时间段控制所述第二开关单元断开截 止以使所述第二电压比较单元停止工作,以控制所述充放电开关断开截止。
可选的,每个抽吸检测时间段包括多个电容式气流传感器的充放电周期,所述充放电周期包括充电时间段和放电时间段,所述充电时间段适用于所述第二采样电压从小于第二参考电压充电到大于或等于第二参考电压,所述放电时间段适用于所述第二采样电压从大于或等于第二参考电压放电到小于第二参考电压,所述漏油检测时长大于或等于10倍充放电周期,或者,
在漏油检测时间段输出给气流端的充电电流大于或等于10倍的在抽吸检测时间段输出给气流端的充电电流。
可选的,所述第一参考电阻信息包括多个子参考电阻信息,多个所述子参考电阻信息相异,所述比较结果信息对应包括多个子比较结果信息,所述漏油检测单元将第一采样电阻信息与多个所述子参考电阻信息进行比较以输出对应的比较结果信息。
可选的,所述漏油检测时长大于或等于1ms;或者,
所述漏油检测电路位于同一个芯片上,所述电源供电端为电源供电引脚,所述电源接地端为电源接地引脚,所述气流端为气流引脚,所述雾化端为雾化引脚。
本申请实施例第五方面提供了一种应用于电子烟的漏油检测方法,包括:
通过漏油检测电路的气流端获取第一采样电阻信息,其中,所述第一采样电阻信息用于表征气流端与电源接地端的电阻大小,所述漏油检测电路包括电源供电端、电源接地端、气流端、雾化端,其中,所述电源供电端和电源接地端对应用于与电池的正负、极连接,所述气流端用于与电容式气流传感器的一个电极连接,所述电源接地端还用于与电容式气流传感器的另一电极连接,所述雾化端用于与发热元件连接;
将所述第一采样电阻信息与第一参考电阻信息进行比较并输出比较结果信息;
接收所述比较结果信息并根据所述比较结果信息判断电子烟是否处于漏油状态。
可选的,步骤通过漏油检测电路的气流端获取第一采样电阻信息具体包括:
通过所述气流端给所述电容式气流传感器充电;
触发对充电时长进行第一计时;
判断第一计时是否大于或等于漏油检测时长;
若判断结果为是,则采样所述气流端的电压以获取第一采样电压,并将第一采样电压、第一电流信息进行计算以得到第一采样电阻信息,其中,所述第一电流信息用于表征给气流传感器充电的充电电流。
可选的,所述第一采样电阻信息为电压或者电阻。
可选的,步骤通过漏油检测电路的气流端获取第一采样电阻信息具体包括:
通过气流端获得第一分压值,其中,所述气流端分别连接第一电阻的第二端和第三电阻的第一端,第一电阻和第三电阻串联;
通过第二分压采样点获得第二分压值,其中,所述第二分压采样点分别连接第二电阻的第二端和第四电阻的第一端,第二电阻与第四电阻串联,第二电阻的第一端与第一电阻的第一端连接,第四电阻的第二端与第三电阻的第二端连接,第二电阻与第四电阻的阻值比值和第一电阻与第三电阻的阻值比值相等;
将第一分压值、第二分压值相减以得到第二采样电阻信息。
可选的,步骤根据所述比较结果信息判断电子烟是否处于漏油状态具体包括:
对第一比较结果信息的持续时长进行第三计时,其中,所述第一比较结果信息表征第一采样电阻信息小于第一参考电阻信息;
判断第三计时是否大于或等于第三时长;
若判断结果为是,则判断电子烟处于漏油状态。
可选的,所述第一参考电阻信息包括第一预设子参考电阻信息和第二预设子参考电阻信息,其中,所述第一预设子参考电阻信息小于第二预设子参考电阻信息;步骤将所述第一采样电阻信息与第一参考电阻信息进行比较并输出比较结果信息具体包括:
判断所述第一采样电阻信息是否小于第二预设子参考电阻信息;
若判断结果为是,则判断所述第一采样电阻信息是否小于第一预设子参考电阻信息;
若判断结果为是,则输出第一子比较结果信息;
若判断结果为否,则输出第二子比较结果信息,其中,所述第二子比较结果信息与所述第一子比较结果信息相异,所述第二子比较结果信息、所述第一子比较结果信息用于表征电子烟的不同漏油程度。
可选的,所述漏油检测方法还包括:
在对电子烟是否处于漏油状态进行检测的时间段控制充放电开关保持断开截止,其中,所述充放电开关的第一端与气流端连接,所述充放电开关的第二端与电源接地端连接。
本申请实施例第六方面提供了一种漏油检测电路,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现上述的漏油检测方法。
本申请实施例第七方面提供了一种应用于电子烟的漏油检测电路,包括:电源供电端、电源接地端、气流端、雾化端,其中,所述电源供电端和电源接地端对应用于与电池的正、负极连接,所述气流端用于 与电容式气流传感器的一个电极连接,所述电源接地端还用于与电容式气流传感器的另一电极连接,所述雾化端用于与发热元件连接;
其中,所述漏油检测电路包括漏油检测单元、漏油控制单元和功率开关,所述漏油检测单元与气流端连接以采样获得第一采样电压,所述漏油检测单元还与漏油控制单元连接,所述漏油控制单元与功率开关的控制端连接,所述功率开关的一端与电源供电端或者电源接地端连接,所述功率开关的另一端与雾化端连接;
其中,所述漏油检测单元用于第一采样电压由第一电压值经过第二预设时长放电至第二电压值,并基于第一电压值、第二电压值计算获得第二电压信息,所述漏油检测单元还用于将第二电压信息与第二预设电压信息进行比较并输出比较结果信息,所述漏油控制单元用于根据比较结果信息判断电子烟是否处于漏油状态。
可选的,所述漏油检测电路包括第一电流源,所述第一电流源与气流端连接以用于在漏油检测时间段给气流传感器充电;
所述漏油检测单元包括第一计时子单元、计算子单元、第二计时子单元、第二比较子单元,其中,所述第一计时子单元分别与计算子单元、第二计时子单元连接,所述计算子单元用于接收第一采样电压,所述第二计时子单元与计算子单元或者第二比较子单元连接,所述第二比较子单元的一个输入端与计算子单元连接,其另一个输入端接入第二电压信息,其输出端与漏油控制单元连接;
其中,第一电流源用于给气流传感器充电并触发第一计时子单元对充电时长进行第一计时,当第一计时到达第一预设时长时第一电流源停止给气流传感器充电,且触发所述计算子单元获取第一采样电压为第一电压值,并触发第二计时子单元对放电时长进行第二计时,当第二计时到达第二预设时长时所述计算子单元获取第一采样电压为第二电压值,计算子单元根据第一电压值、第二电压值计算获得第二电压信息并输出给第二比较子单元,第二比较子单元将第二电压信息与第二预设电压信息进行比较并输出比较结果信息。
可选的,所述漏油检测电路包括第一电流源,所述第一电流源与气流端连接以用于在漏油检测时间段给气流传感器充电;
所述漏油检测单元包括第一电压比较子单元、计算子单元、第二计时子单元、第二比较子单元,其中,所述第一电压比较子单元的一个输入端用于接收第一采样电压,其另一个输入端用于接收预设的第一电压值,其输出端与第二计时子单元连接,所述计算子单元还用于接收第一采样电压,所述第二计时子单元还与计算子单元或者第二比较子单元连接,所述第二比较子单元的一个输入端与计算子单元连接,其另一个输入端接入第二电压信息,其输出端与漏油控制单元连接;
其中,第一电流源用于给气流传感器充电,当第一采样电压到达第一电压值时触发第二计时子单元对放电时长进行第二计时,且第一电流源停止给气流传感器充电,当第二计时到达第二预设时长时所述计算子单元获取第一采样电压为第二电压值,计算子单元根据预存或者采样获得的第一电压值、第二电压值计算获得第二电压信息并输出给第二比较子单元,第二比较子单元将第二电压信息与第二预设电压信息进行比较并输出比较结果信息。
可选的,所述计算子单元包括减法器,所述减法器接收第一电压值、第二电压值,所述减法器将第一电压值、第二电压值相减以得到第二电压信息;或者,
所述漏油检测电路包括第一开关单元,所述第一开关单元的第一端与电源供电端连接,所述第一开关单元的第二端与第一电流源电连接,所述第一开关单元的控制端与漏油控制单元连接;当所述漏油控制单元控制第一开关单元导通时所述第一电流源用于给气流传感器充电,当所述漏油控制单元控制第一开关单元断开截止时所述第一电流源用于停止给气流传感器充电。
可选的,所述第二电压信息为第一电压值与第二电压值的电压差值、第一电压值与第二电压值的电压比值或者电压差值与第一采样电压的比值,所述第二预设电压信息与所述第二电压信息对应。
可选的,所述漏油检测电路还包括充放电开关,所述充放电开关的一端与气流端连接,所述充放电开关的另一端与电源接地端连接,在对电子烟是否处于漏油状态进行检测的时间段所述充放电开关保持断开截止。
可选的,所述漏油检测电路还包括第三电压比较单元和抽吸判断单元,所述第三电压比较单元的一个输入端与气流端连接以采样获得第三采样电压,所述第三电压比较单元另一个输入端接入预设的第三参考电压,所述第三电压比较单元的输出端分别与抽吸判断单元、充放电开关的控制端连接,所述抽吸判断的输出端与漏油控制单元连接;
所述漏油检测电路还包括第二开关单元和第二电流源,其中,所述第二开关单元的第一端与电源供电端连接,所述第二开关单元的第二端分别与第二电流源、第三电压比较单元的电源端连接,所述第二开关单元的控制端与漏油控制单元连接;所述第二电流源与气流端连接以用于在抽吸检测时间段给气流传感器充电,在抽吸检测时间段所述漏油控制单元控制第二开关单元开启导通,当第三采样电压小于第三参考电压时所述第三电压比较单元控制充放电开关断开截止,当第三采样电压大于或等于第三参考电压时所述第 三电压比较单元控制充放电开关导通,在对电子烟是否处于漏油状态进行检测的时间段所述漏油控制单元控制第二开关单元断开截止。
可选的,所述漏油检测电路还包括第三电压比较单元和抽吸判断单元,所述第三电压比较单元的一个输入端与气流端连接以采样获得第三采样电压,所述第三电压比较单元另一个输入端接入预设的第三参考电压,所述第三电压比较单元的输出端与抽吸判断单元连接,所述抽吸判断的输出端与漏油控制单元连接;
所述漏油检测电路还包括开关控制单元,所述开关控制单元的一个输入端与第三电压比较单元的输出端连接,所述开关控制单元的另一个输入端与漏油控制单元连接,所述开关控制单元的输出端与充放电开关单元的控制端连接,在抽吸检测时间段所述充放电开关受第三电压比较单元的输出信号控制,在对电子烟是否处于漏油状态进行检测的时间段所述漏油控制单元控制充放电开关断开截止。
本申请实施例第八方面提供了一种应用于电子烟的漏油检测电路,包括:电源供电端、电源接地端、气流端、雾化端,其中,所述电源供电端和电源接地端对应用于与电池的正负、极连接,所述气流端用于与电容式气流传感器的一个电极连接,所述电源接地端还用于与电容式气流传感器的另一电极连接,所述雾化端用于与发热元件连接;
其中,所述漏油检测电路包括漏油检测单元、漏油控制单元和功率开关,所述漏油检测单元与气流端连接以采样获得第一采样电压,所述漏油检测单元还与漏油控制单元连接,所述漏油控制单元与功率开关的控制端连接,所述功率开关的一端与电源供电端或者电源接地端连接,所述功率开关的另一端与雾化端连接;
其中,所述漏油检测单元用于对位于第一电压值的第一采样电压的放电时长进行第二计时,当所述第一采样电压放电到第二电压值时所述漏油检测单元还用于将第二计时与第二预设时长进行比较并输出比较结果信息,所述漏油控制单元用于根据比较结果信息判断电子烟是否处于漏油状态。
可选的,所述漏油检测单元还用于当所述第二计时到达第十预设时长且所述第一采样电压未放电到第二电压值时输出第二比较结果信息,所述漏油控制单元用于根据第二比较结果信息判断电子烟不处于漏油状态。
可选的,所述漏油检测电路包括第一电流源,所述第一电流源与气流端连接以用于在漏油检测时间段给气流传感器充电;
所述漏油检测单元包括第一计时子单元、计算子单元、第二计时子单元、第二比较子单元、第二时长判断子单元,其中,所述第一计时子单元分别与计算子单元、第二计时子单元连接,所述计算子单元用于接收第一采样电压,所述第二比较子单元的一个输入端与计算子单元连接以获得第二电压值,其另一个输入端接入第一采样电压,其输出端与第二计时子单元或者第二时长判断子单元连接,所述第二时长判断子单元的一个输入端与第二计时子单元连接,其另一个输入端接入第二预设时长,其输出端与漏油控制单元连接;
其中,第一电流源用于给气流传感器充电并触发第一计时子单元对充电时长进行第一计时,当第一计时到达第一预设时长时第一电流源停止给气流传感器充电,且触发所述计算子单元获取第一采样电压为第一电压值,并触发第二计时子单元对放电时长进行第二计时,所述计算子单元基于第一电压值计算获得第二电压值并输出给所述第二比较子单元,当所述第二比较子单元判断第一采样电压由第一电压值下降到第二电压值时,所述第二时长判断子单元将第二计时与第二预设时长进行比较并输出比较结果信息。
可选的,所述漏油检测电路包括第一电流源,所述第一电流源与气流端连接以用于在漏油检测时间段给气流传感器充电;
所述漏油检测单元包括第一电压比较子单元、第二计时子单元、第二比较子单元、第二时长判断子单元,其中,所述第一电压比较子单元的一个输入端接入第一采样电压,其第二输入端接入预设的第一电压值,其输出端与第二计时子单元连接,所述第二比较子单元的一个输入端接入第一采样电压,其第二输入端接入预设的第二电压值,其输出端与第二计时子单元或者第二时长判断子单元连接,所述第二时长判断子单元的一个输入端与第二计时子单元连接,其另一个输入端接入第二预设时长,其输出端与漏油控制单元连接;
其中,第一电流源用于给气流传感器充电,当第一采样电压到达第一电压值时触发第二计时子单元对放电时长进行第二计时,且第一电流源停止给气流传感器充电,当所述第二比较子单元判断第一采样电压由第一电压值下降到第二电压值时,所述第二时长判断子单元将第二计时与第二预设时长进行比较并输出比较结果信息。
本申请实施例第九方面一种应用于电子烟的漏油检测方法,包括:
接收第一采样电压为第一电压值的信息,其中,所述第一采样电压通过对气流端采样获得,所述气流端用于与电容式气流传感器的一个电极连接,所述电容式气流传感器的另一个电极用于与电源接地端电连接;
触发对放电时长进行第二计时;
判断第二计时是否大于或等于第二预设时长;
若判断结果为是,则获得第一采样电压为第二电压值的信息,并基于第一电压值、第二电压值计算获得第二电压信息;
将第二电压信息与第二预设电压信息进行比较并输出比较结果信息;
根据所述比较结果判断电子烟是否处于漏油状态。
可选的,在步骤接收第一采样电压为第一电压值的信息之前还包括:
在漏油检测时间段通过气流端给电容式气流传感器充电;
对充电时长进行第一计时;
判断第一计时是否大于或等于第一预设时长;
若判断结果为是,则停止给电容式气流传感器充电,且输出第一采样电压为第一电压值的信息。
可选的,在步骤接收第一采样电压为第一电压值的信息之前还包括:
在漏油检测时间段通过气流端给电容式气流传感器充电;
实时采样所述气流端的电压以获得第一采样电压;
判断第一采样电压是否大于或等于第一电压值;
若判断结果为是,则停止对电容式气流传感器充电,且输出第一采样电压为第一电压值的信息。
可选的,所述比较结果信息包括第一比较结果信息,第一比较结果信息用于表示处于漏油状态,所述第一比较结果信息包括第一子比较结果信息和第二子比较结果信息,所述第二预设电压信息包括第一预设子电压信息和第二预设子电压信息,第一预设子电压信息小于第二预设子电压信息;步骤将第二电压信息与第二预设电压信息进行比较并输出比较结果信息具体包括:
判断所述第二电压信息是否大于第一预设子电压信息;
若判断结果为是,则判断所述第二电压信息是否大于第二预设子电压信息;
若判断结果为是,则输出电子烟处于漏油状态的第一子比较结果信息;
若判断结果为否,则输出电子烟处于漏油状态的第二子比较结果信息。
可选的,所述漏油检测方法还包括:在对电子烟是否处于漏油状态进行检测的时间段控制充放电开关保持断开截止,以停止所述电容式气流传感器通过充放电开关进行放电,其中,所述充放电开关的一端与气流端连接,所述充放电开关的另一端与电源接地端连接。
可选的,所述漏油检测方法还包括:
在抽吸检测时间段通过气流端给所述电容式气流传感器充电;
实时采样获取气流端的电压以获得第三采样电压;
判断第三采样电压是否大于或等于第三参考电压;
若判断结果为是,则进行计数以得到当前计数值,且控制充放电开关导通以进行放电,其中,所述充放电开关的第一端与气流端连接,所述充放电开关的第二端与电源接地端连接;
若判断结果为否,则控制充放电开关断开截止以继续进行充电;
经过抽吸检测时间段判断当前计数信息是否位于预设的第三计数范围内,其中,所述当前计数信息基于当前计数值获得;
若判断结果为是,则输出电子烟处于抽吸状态的信息;其中,所述抽吸检测时间段与对电子烟是否处于漏油状态进行检测的时间段相异。
本申请实施例第十方面一种应用于电子烟的漏油检测方法,包括:
接收第一采样电压为第一电压值的信息,其中,所述第一采样电压通过对气流端采样获得,所述气流端用于与电容式气流传感器的一个电极连接,所述电容式气流传感器的另一个电极用于与电源接地端电连接;
触发对放电时长进行第二计时;
判断第一采样电压是否下降到第二电压值;
若判断结果为是,则将第二计时与第一预设时长进行比较并输出比较结果信息;
根据所述比较结果判断电子烟是否处于漏油状态。
可选的,在步骤接收第一采样电压为第一电压值的信息之前还包括:
在漏油检测时间段通过气流端给电容式气流传感器充电;
对充电时长进行第一计时;
判断第一计时是否大于或等于第一预设时长;
若判断结果为是,则停止给电容式气流传感器充电,且输出第一采样电压为第一电压值的信息。
可选的,在步骤接收第一采样电压为第一电压值的信息之前还包括:
在漏油检测时间段通过气流端给电容式气流传感器充电;
实时采样所述气流端的电压以获得第一采样电压;
判断第一采样电压是否大于或等于第一电压值;
若判断结果为是,则停止对电容式气流传感器充电,且输出第一采样电压为第一电压值的信息。
本申请实施例第十一方面提供了一种漏油检测电路,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现上述的漏油检测方法。
本申请实施例第十二方面提供了一种应用于电子烟的漏油检测方法,包括:
在抽吸检测时间段通过漏油检测电路的气流端检测电子烟是否处于抽吸状态,其中,所述漏油检测电路包括电源供电端、电源接地端、气流端、雾化端,其中,所述电源供电端和电源接地端对应用于与电池的正、负极连接,所述气流端用于与电容式气流传感器的一个电极连接,所述电源接地端还用于与电容式气流传感器的另一电极连接,所述雾化端用于与发热元件连接;
在漏油检测时间段通过气流端检测电子烟是否处于漏油状态;
其中,所述漏油检测电路以第一时长为周期进行漏油检测和抽吸检测,其中,所述第一时长包括抽吸检测时间段和漏油检测时间段,所述抽吸检测时间段和所述漏油检测时间段相异。
可选的,所述第一时长还包括睡眠时间段,所述漏油检测方法还包括:
在睡眠时间段停止对电子烟是否处于抽吸状态及是否处于漏油状态进行检测。
可选的,所述漏油检测电路包括待机状态和工作状态,在待机状态所述第一时长包括睡眠时间段,在工作状态所述第一时长不包括睡眠时间段。
可选的,在待机状态的睡眠时间段,漏油检测电路除对睡眠时间段进行计时的单元工作外其他单元均停止工作。
可选的,所述漏油检测方法包括:在待机状态的抽吸检测时间段检测电子烟处于抽吸状态且在待机状态的漏油检测时间段检测电子烟不处于漏油状态,则控制漏油检测电路由待机状态转为工作状态。
可选的,所述漏油检测方法包括:在工作状态的抽吸检测时间段检测电子烟未处于抽吸状态时触发对未处于抽吸状态的时长进行第三计时,当第三计时大于或等于第三预设时长时控制漏油检测电路由工作状态转为待机状态。
可选的,所述第一时长包括多个抽吸检测时间段和一个漏油检测时间段。
可选的,所述抽吸检测时间段与所述漏油检测时间段相邻设置;或者,
所述漏油检测时段的时长大于或等于100μs且小于200ms;或者,
所述抽吸检测时间段的时长大于或等于10ms且小于200ms;或者,
所述第一时长小于或等于1秒且大于30ms。
可选的,步骤在漏油检测时间段通过气流端检测电子烟是否处于漏油状态具体包括:
在漏油检测时间段通过气流端给所述电容式气流传感器充电;
触发对充电时长进行第一计时;
判断第一计时是否大于或等于漏油检测时长;
若判断结果为是,则采样气流端的电压以获取第一采样电压,并将所述第一采样电压与第一参考电压进行比较并输出比较结果信息,且接收所述比较结果信息并根据所述比较结果信息判断电子烟是否处于漏油状态。
本申请实施例第十三方面提供了一种漏油检测电路,包括电源供电端、电源接地端、气流端、雾化端,其中,所述电源供电端和电源接地端对应用于与电池的正负、极连接,所述气流端用于与电容式气流传感器的一个电极连接,所述电源接地端还用于与电容式气流传感器的另一个电极连接,所述雾化端用于与发热元件连接;
所述漏油检测电路还包括:
漏油检测控制模块,其用于在漏油检测时间段通过气流端检测电子烟是否漏油;
抽吸检测模块,其用于在抽吸检测时间段通过气流端检测电子烟是否被抽吸;
其中,所述漏油检测电路以第一时长为周期进行漏油检测和抽吸检测,其中,所述第一时长包括抽吸检测时间段和漏油检测时间段,所述抽吸检测时间段和所述漏油检测时间段相异。
可选的,所述漏油检测电路位于同一个芯片上,所述电源供电端为电源供电引脚,所述电源接地端为电源接地引脚,所述气流端为气流引脚,所述雾化端为雾化引脚。
本申请实施例第十四方面提供了一种漏油检测电路,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现上述的漏油检测方法。
本申请实施例第十五方面提供了一种应用于电子烟的漏油检测方法,包括:
在抽吸检测时间段通过漏油检测电路的气流端对电子烟是否处于抽吸状态进行检测,其中,所述漏油检测电路包括电源供电端、电源接地端、气流端、雾化端,其中,所述电源供电端和电源接地端对应用于与电池的正、负极连接,所述气流端用于与电容式气流传感器的一个电极连接,所述电源接地端还用于与电容式气流传感器的另一电极连接,所述雾化端用于与发热元件连接;
接收抽吸信息,其中,所述抽吸信息用于表征电子烟处于抽吸状态;
触发通过气流端对电子烟是否处于漏油状态进行检测。
可选的,所述漏油检测电路以第二时长为周期进行抽吸检测,其中,所述第二时长包括抽吸检测时间 段;在对漏油状态进行检测的时间段暂停对第二时长的计时或者暂停下一个第二时长的开启。
可选的,所述第二时长包括空白时间段,所述漏油检测方法还包括:
在空白时间段停止对电子烟是否处于抽吸状态及是否处于漏油状态进行检测。
可选的,在步骤触发通过气流端对电子烟是否处于漏油状态进行检测之后还包括:
输出电子烟处于漏油状态的信息;
再次接收抽吸信息;
禁止对电子烟是否处于漏油状态进行检测。
可选的,在步骤输出电子烟处于漏油状态的信息之后还包括:
接收电子烟处于未抽吸状态的信息;
解除对电子烟是否处于漏油状态进行检测的禁止。
可选的,在步骤触发通过气流端对电子烟是否处于漏油状态进行检测之后还包括:
输出电子烟未处于漏油状态的信息;
禁止对电子烟是否处于漏油状态进行检测;
触发对禁止时长进行第二计时;
判断第二计时是否大于或等于第二预设时长;
若判断结果为是,则解除对电子烟是否处于漏油状态进行检测的禁止。
可选的,在步骤触发通过气流端对电子烟是否处于漏油状态进行检测之后还包括:
输出电子烟未处于漏油状态的信息;
禁止对电子烟是否处于漏油状态进行检测;
接收电子烟处于未抽吸状态的信息;
解除对电子烟是否处于漏油状态进行检测的禁止。
可选的,在步骤触发通过气流端对电子烟是否处于漏油状态进行检测之后还包括:
输出电子烟处于漏油状态的信息;
降低对对电子烟是否处于抽吸状态进行检测的频率。
可选的,步骤触发通过气流端对电子烟是否处于漏油状态进行检测具体包括:
触发通过气流端给所述电容式气流传感器充电;
触发对充电时长进行第一计时;
判断第一计时是否大于或等于漏油检测时长;
若判断结果为是,则采样气流端的电压以获取第一采样电压,并将所述第一采样电压与第一参考电压进行比较并输出比较结果信息,且根据所述比较结果信息判断电子烟是否处于漏油状态。
可选的,所述漏油检测方法还包括:
在对电子烟是否处于漏油状态进行检测的时间段控制充放电开关保持断开截止,其中,所述充放电开关的第一端与气流端连接,所述充放电开关的第二端与电源接地端连接。
可选的,步骤在抽吸检测时间段通过漏油检测电路的气流端对电子烟是否处于抽吸状态进行检测具体包括:
在抽吸检测时间段通过气流端给所述电容式气流传感器充电;
实时采样获取气流端的电压以获得第二采样电压;
判断第二采样电压是否大于或等于第二预设参考电压;
若判断结果为是,则进行累计计数以获得当前计数值,且控制充放电开关导通以进行放电,其中,所述充放电开关的第一端与气流端连接,所述充放电开关的第二端与电源接地端连接;
若判断结果为否,则控制充放电开关断开截止以继续进行充电;
经过抽吸检测时间段判断当前计数信息是否小于预设的计数阈值,其中,所述当前计数信息基于当前计数值获得;
若判断结果为是,则输出抽吸信息。
可选的,在步骤触发通过气流端对电子烟是否处于漏油状态进行检测之后还包括:
输出电子烟处于漏油状态的信息;
对应增大或减小所述计数阈值,以降低误判为抽吸状态的几率。
可选的,步骤触发通过气流端对电子烟是否处于漏油状态进行检测具体包括:
对抽吸信息持续的时长进行第三计时;
判断第三计时是否大于或等于第三预设时长;
若判断结果为是,则触发通过气流端对电子烟是否处于漏油状态进行检测。
本申请实施例第十六方面提供了一种漏油检测电路,包括电源供电端、电源接地端、气流端、雾化端,其中,所述电源供电端和电源接地端对应用于与电池的正负、极连接,所述气流端用于与电容式气流传感器的一个电极连接,所述电源接地端还用于与电容式气流传感器的另一个电极连接,所述雾化端用于与发 热元件连接;
所述漏油检测电路还包括:
抽吸检测模块,其用于在抽吸检测时间段通过气流端对电子烟是否处于抽吸状态进行检测;
漏油检测模块,其用于接收抽吸信息,其中,所述抽吸信息用于表征电子烟处于抽吸状态;所述漏油检测模块还用于被触发通过漏油检测电路的气流端对电子烟是否处于漏油状态进行检测。
可选的,所述漏油检测电路位于同一个芯片上,所述电源供电端为电源供电引脚,所述电源接地端为电源接地引脚,所述气流端为气流引脚,所述雾化端为雾化引脚。
本申请实施例第十七方面提供了一种漏油检测电路,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现上述的漏油检测方法。
本申请实施例第十八方面提供了一种气流传感器组件,包括:
电容式气流传感器;
上述的漏油检测电路,其中,所述漏油检测电路与所述电容器气流传感器连接。
本申请实施例第十九方面提供了一种电子烟,包括:
上述的气流传感器组件或者上述的漏油检测电路;
电池、发热元件,其中,所述电池、发热元件均与所述漏油检测电路连接。
本申请实施例第二十方面提供了一种应用于电子烟的漏油管控方法,包括:
接收电子烟处于漏油状态的信息;
在抽吸检测时间段增大输出给气流端的充电电流,其中,所述气流端用于与电容式气流传感器的一个电极连接,所述电容式气流传感器的另一个电极用于与电源接地端连接,所述充电电流用于给电容式气流传感器充电,所述抽吸检测时间段用于对电子烟是否处于抽吸状态进行检测;
接收电子烟处于抽吸状态的信息;
控制功率开关导通以使发热元件工作,其中,所述功率开关的第一端与电源供电端或者电源接地端连接,所述功率开关的另一端与雾化端连接,所述雾化端还用于与发热元件的一端连接,所述发热元件的另一端用于对应与电源接地端或者电源供电端连接。
可选的,所述漏油状态包括轻中度漏油状态和重度漏油状态,步骤接收电子烟处于漏油状态的信息具体包括:
接收电子烟处于轻中度漏油状态的信息。
可选的,步骤在抽吸检测时间段增大给气流端的充电电流具体包括:
通过气流端获取第一参数信息,其中,所述第一参数信息用于表征轻中度漏油状态的漏油程度;
根据第一参数信息对应获得第二充电电流,其中,所述第二充电电流大于第一充电电流,所述第一充电电流为电子烟未处于漏油状态时在抽吸检测时间段给电容式气流传感器充电的充电电流;
在抽吸检测时间段将第二充电电流输出给所述气流端,以给电容式气流传感器充电。
可选的,步骤根据第一参数信息对应获得第二充电电流具体包括:
通过第一参数信息、预先设置的多个参数信息范围获得其对应的参数信息范围,其中,每个第一参数信息属于一个参数信息范围,多个参数信息范围相异;
根据所述参数信息范围查找预存的参数信息范围-充电电流表获取第二充电电流,其中,参数信息范围-充电电流表预存参数信息范围与充电电流的对应关系。
可选的,步骤根据第一参数信息对应获得第二充电电流具体包括:
通过第一参数信息、预存的函数关系式进行计算获得第二充电电流,其中,所述函数关系式表征参数信息与充电电流的对应关系。
可选的,所述第一参数信息为电阻、电压、放电时长、电压的变化、电阻的变化或者放电时长的变化。
可选的,步骤在抽吸检测时间段增大给气流端的充电电流具体包括:
根据预存的漏油状态与充电电流的对应关系获得第二充电电流,其中,所述第二充电电流大于第一充电电流,所述第一充电电流为电子烟未处于漏油状态时在抽吸检测时间段给气流端的充电电流;
在抽吸检测时间段将第二充电电流输出给气流端,以给电容式气流传感器充电。
可选的,在步骤接收电子烟处于漏油状态的信息之前还包括:
触发通过气流端给所述电容式气流传感器充电;
触发对充电时长进行第一计时;
判断第一计时是否大于或等于漏油检测时长;
若判断结果为是,则采样气流端的电压以获取第一采样电压;
判断所述第一采样电压是否小于第一参考电压;
若判断结果为是,则输出电子烟处于漏油状态的信息。
可选的,在步骤接收电子烟处于抽吸状态的信息之前还包括:
在抽吸检测时间段实时采样气流端的电压以获得第二采样电压;
判断第二采样电压是否大于或等于第二预设参考电压;
若判断结果为是,则进行累计计数以获得当前计数值,且控制充放电开关导通以进行放电,其中,所述充放电开关的第一端与气流端连接,所述充放电开关的第二端与电源接地端连接;
若判断结果为否,则控制充放电开关断开截止以继续进行充电;
经过抽吸检测时间段判断当前计数信息是否位于预设的计数范围内,其中,所述当前计数信息基于当前计数值获得;
若判断结果为是,则输出电子烟处于抽吸状态的信息。
本申请实施例第二十一方面提供了一种漏油管控电路,包括电源供电端、电源接地端、气流端、雾化端和功率开关,其中,所述电源供电端和电源接地端对应用于与电池的正负、极连接,所述气流端用于与电容式气流传感器的一个电极连接,所述电源接地端还用于与电容式气流传感器的另一个电极连接,所述雾化端用于与发热元件的一端连接,所述发热元件的另一端用于与电源接地端或者电源供电端连接,所述雾化端还用于与功率开关的一端连接,所述功率开关的另一端用于与电源供电端或者电源接地端连接;
所述漏油管控电路还包括:
电流控制单元,其用于接收电子烟处于漏油状态的信息,其还用于在抽吸检测时间段增大给气流端的充电电流,其中,电流控制单元与气流端连接;
功率控制单元,其用于接收电子烟处于抽吸状态的信息,其还用于控制功率开关导通以使发热元件工作。
可选的,所述漏油管控电路位于同一个芯片上,所述电源供电端为电源供电引脚,所述电源接地端为电源接地引脚,所述气流端为气流引脚,所述雾化端为雾化引脚。
本申请实施例第二十二方面提供了一种漏油管控电路,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现上述的漏油管控方法。
本申请实施例第二十三方面提供了一种气流传感器组件,包括:
电容式气流传感器;
上述的漏油管控电路,其中,所述漏油管控电路与所述电容器气流传感器连接。
本申请实施例第二十四方面提供了一种电子烟,包括:
上述的气流传感器组件或者上述的漏油管控电路;
电池、发热元件,其中,所述电池、发热元件均与所述漏油管控电路连接。
本申请实施例第二十五方面提供了一种应用于电子烟的漏油控制电路,包括:电源供电端、电源接地端、气流端,其中,所述电源供电端和电源接地端用于对应与电池的正、负极连接,所述气流端用于与电容式气流传感器的一个电极连接,所述电源接地端还用于与电容式气流传感器的另一电极连接;
其中,所述漏油控制电路还包括电流源、抽吸检测模块、漏油判断模块、开关控制单元和第一开关单元,其中,所述电流源、抽吸检测模块均与气流端连接,所述漏油判断模块、所述开关控制单元均与所述抽吸检测模块连接,所述开关控制单元用于与第一开关单元的控制端连接,所述第一开关单元用于与发热元件串联;所述漏油判断模块根据抽吸检测模块输出的第一信号持续的时长判断是否符合预设条件,若符合预设条件则漏油判断模块输出漏油确认信号,以使开关控制单元控制第一开关单元保持断开截止。
可选的,所述漏油判断模块包括漏油计时单元,所述漏油计时单元与所述抽吸检测模块连接,所述漏油计时单元用于对抽吸检测模块输出的第一信号持续的时长进行计时,若计时时长大于或等于第一预设时长则输出漏油确认信号。
可选的,所述漏油判断模块包括漏油计时单元、第二计数单元和计数判断单元,其中,所述漏油计时单元与所述抽吸检测模块连接,所述第二计数单元分别与所述漏油计时单元、计数判断单元连接;所述漏油计时单元用于对抽吸检测模块输出的第一信号持续的时长进行计时,若计时时长大于或等于第一预设时长则输出计时符合信号,所述第二计数单元用于对连续接收的计时符合信号进行第二计数,所述计数判断单元用于判断第二计数是否大于或等于第二预设数量,若判断结果为是则所述计数判断单元输出漏油确认信号,其中,第二预设数量为大于或等于2的整数。
可选的,所述漏油判断模块包括漏油计时单元、第三计数单元、第三计时单元和计时计数判断单元,其中,所述漏油计时单元与所述抽吸检测模块连接,所述第三计数单元与所述漏油计时单元连接,所述第三计时单元与所述漏油计时单元连接,所述第三计时单元和/或所述第三计数单元与所述计时计数判断单元连接;所述漏油计时单元用于对抽吸检测模块输出的第一信号持续的时长进行计时,若计时时长大于或等于第一预设时长则输出计时符合信号,所述第三计数单元用于对接收的计时符合信号进行第三计数,所述第三计时单元未开始计时且在接收到计时符合信号时触发进行第三计时,所述计时计数判断单元用于判断在第三预设时长内第三计数是否大于或等于第三预设数量,若判断结果为是则所述计时计数判断单元输出漏油确认信号,其中,第三预设数量为大于或等于2的整数。
可选的,所述漏油判断模块包括漏油计时单元、第三计时单元、第四计数单元和计时计数判断单元,其中,所述漏油计时单元与所述抽吸检测模块连接,所述第三计时单元与所述漏油计时单元连接,所述第四计数单元与所述第三计时单元连接和/或所述抽吸检测模块连接,所述第四计数单元与所述计时计数判断单元连接或者所述第三计时单元、所述第四计数单元均与所述计时计数判断单元连接,所述漏油计时单元用于对抽吸检测模块输出的第一信号持续的时长进行计时,若计时时长大于或等于第一预设时长则输出计时符合信号,所述第三计时单元未开始计时且在接收到计时符合信号时触发进行第三计时,在所述第三计时单元进行第三计时所述第四计数单元用于对抽吸检测模块的输出由第一信号转为第二信号的边沿信号或者由第二信号转为第一信号的边沿信号进行第四计数,所述计时计数判断单元用于判断第三计时到达第三预设时长时第四计数是否等于0,若判断结果为是则所述计时计数判断单元输出漏油确认信号;其中,第二信号与第一信号相异。
可选的,所述漏油判断模块包括漏油计时单元,其中,所述漏油计时单元与所述抽吸检测模块连接,所述漏油计时单元用于对抽吸检测模块输出的第一信号持续的时长进行计时,若计时时长大于或等于第一预设时长则输出计时符合信号,若计时时长大于或等于第四预设时长则所述漏油判断模块输出漏油确认信号;其中,第四预设时长大于第一预设时长。
可选的,所述抽吸检测模块包括电压比较单元,所述电压比较单元的一个输入端与气流端连接,所述电压比较单元的另一个输入端接入参考电压,所述电压比较单元的输出端与漏油判断模块连接,当所述气流端的电压小于所述参考电压时所述电压比较单元输出第一信号。
可选的,所述抽吸检测模块还包括第一计数单元和抽吸判断单元,所述第一计数单元与所述电压比较单元的输出端连接,所述抽吸判断单元与所述第一计数单元连接,所述抽吸判断单元还与所述开关控制单元连接,所述漏油判断模块与所述抽吸判断单元的使能端连接,所述漏油确认信号为使能信号,当所述抽吸判断单元接收到所述漏油确认信号时其停止工作,以使开关控制单元控制第一开关单元保持断开截止。
可选的,所述抽吸判断单元基于第一计数单元输出的计数值获得当前计数信息,在连续两个抽吸检测时间段所述抽吸判断单元判断当前计数信息是否位于预设的计数范围内以判断是否处于抽吸状态,若连续两个抽吸检测时间段当前计数信息均位于预设的计数范围内则判断电子烟处于抽吸状态;
当抽吸判断单元接收到漏油确认信号时,抽吸判断单元将前一个抽吸检测时间段当前计数信息位于预设的计数范围内的对应数据清除。
可选的,所述抽吸检测模块包括第一计数单元和抽吸判断单元,所述第一计数单元与所述电压比较单元的输出端连接,所述抽吸判断单元与所述第一计数单元连接,所述抽吸判断单元还与所述开关控制单元连接,所述漏油判断模块与所述开关控制单元连接,当所述开关控制单元接收到漏油确认信号时其用于控制第一开关单元保持断开截止。
可选的,还包括放电开关,所述放电开关的一端与气流端连接,所述放电开关的另一端与电源接地端连接,所述放电开关的控制端与所述电压比较单元的输出端连接,当所述放电开关的控制端接收第一信号时所述放电开关保持断开截止,当所述放电开关的控制端接收第二信号时所述放电开关保持开启导通,其中,当所述气流端的电压大于或等于所述参考电压时所述电压比较单元输出第二信号。
可选的,所述漏油控制电路还包括指示单元,所述指示单元与所述漏油判断模块连接,当所述指示单元接收到漏油确认信号时所述指示单元用于指示电子烟处于漏油状态。
可选的,所述第一预设时长的范围为大于或等于150微秒。
可选的,所述漏油控制电路除第一开关单元之外的电路位于同一个芯片上,所述第一开关单元位于另一个芯片上,所述电源供电端为电源供电引脚,所述电源接地端为电源接地引脚,所述气流端为气流引脚;或者,
所述漏油控制电路位于同一个芯片上,所述电源供电端为电源供电引脚,所述电源接地端为电源接地引脚,所述气流端为气流引脚。
本申请实施例第二十六方面提供了一种气流传感器组件,包括:
电容式气流传感器;
上述的漏油控制电路,其中,所述漏油控制电路的气流端、电源接地端对应与电容式气流传感器的两端连接。
本申请实施例第二十七方面提供了一种电子烟,包括:
上述的漏油控制电路或者上述的气流传感器组件;
电池、发热元件,其中,所述电池的正极与漏油控制电路的电源供电端连接,所述电池的负极与漏油控制电路的电源接地端连接,所述发热元件与漏油控制电路的第一开关单元串联连接。
本申请实施例通过漏油检测电路包括第一电流源、漏油检测单元和漏油控制单元,第一电流源、漏油检测单元均与气流端连接,第一电流源通过气流端给电容式气流传感器充电,经过漏油检测时长充电后漏油检测单元将第一采样电压与第一参考电压进行比较并输出比较结果信息,漏油控制单元根据比较结果信 息就可以判断电子烟是否存在漏油。本申请的漏油检测方式简单,花费的检测时间很少,用户几乎感觉不出来,不影响用户的使用体验;而且可以充分利用现有的气流端,配合现有的电容式气流传感器,就可以判断电子烟是否漏油,气流端具有多个功能,气流端能实现分时复用,漏油检测电路不需要增设端子或者引脚,有利于降低成本。再有,本申请通过漏油检测电路可以判断电子烟是否存在漏油,不会长时间将电子烟漏油误判断为电子烟吸烟状态,从而触发发热元件比较长时间误工作的几率较低,不容易出现安全事故。
附图说明
为了更清楚地说明本申请实施例的技术方案,下面将对实施方式中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本申请一些实施方式,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1a-图1e是电子烟处于不同漏油状态的示意图;
图2是图1c、图1e的等效电路图;
图3是本申请第一实施例的电子烟的电路模块图;
图4是本申请第一实施例的气流传感器组件的电路模块图;
图5是本申请第二实施例的气流传感器组件的电路模块图;
图6是本申请第三实施例的漏油检测方法的部分流程图;
图7是图6中部分步骤S140的具体流程图;
图8是本申请第三实施例的漏油检测方法的另一部分流程图;
图9是本申请另一实施例的漏油检测电路的电路模块图;
图10是本申请第四实施例的气流传感器组件的电路模块图;
图11是本申请第五实施例的气流传感器组件的电路模块图;
图12是本申请第六实施例的气流传感器组件的电路模块图;
图13是本申请第七实施例的漏油检测方法的部分流程图;
图14是图13中步骤S110一实施例的具体流程图;
图15是图13中步骤S110另一实施例的具体流程图;
图16是图13中部分步骤S130的具体流程图;
图17是本申请第七实施例的漏油检测方法的另一部分流程图;
图18是本申请第八实施例的气流传感器组件的电路模块图;
图19是本申请第八实施例的漏油检测单元的电路模块图;
图20是本申请第九实施例的漏油检测单元的电路模块图;
图21是本申请第十实施例的漏油检测单元的电路模块图;
图22是本申请第十一实施例的漏油检测单元的电路模块图;
图23是本申请第十二实施例的气流传感器组件的电路模块图;
图24是本申请第十三实施例的漏油检测方法的流程步骤图;
图25是图24中步骤S100的具体流程步骤图;
图26是图25中在步骤S110之前的流程步骤图;
图27是图25中步骤S150的具体流程步骤图;
图28是图24中步骤S200的具体流程步骤图;
图29是本申请第十四实施例的漏油检测方法的部分流程步骤图;
图30是图29中在部分步骤S340的具体流程步骤图;
图31是本申请第十五实施例的漏油检测方法的步骤流程图;
图32是图31中步骤S120的具体流程图;
图33是本申请第十五实施例的漏油检测电路的模块图;
图34是本申请第十六实施例的漏油检测方法的步骤流程图;
图35是图34中步骤S300之后一实施例的部分流程图;
图36是图34中步骤S300之后一实施例的另一部分的流程图;
图37是图34中步骤S300的具体流程图;
图38是图34中步骤S100的具体流程图;
图39是本申请第十六实施例的漏油检测电路的模块图;
图40是本申请第十七实施例的电子烟的电路模块图;
图41是本申请第十七实施例的漏油管控方法的步骤流程图;
图42是图41中步骤S120一实施例的具体步骤流程图;
图43是图41中步骤S110之前的具体步骤流程图;
图44是图41中步骤S130之前的具体步骤流程图;
图45是图41中步骤S120另一实施例(第十八实施例)的具体步骤流程图;
图46是图45中步骤S222的具体步骤流程图;
图47是本申请第十七实施例的漏油管控电路的模块图;
图48是本申请另一实施例的气流传感器组件的电路模块图;
图49是本申请一实施例的电子烟的电路模块图;
图50是本申请第十九实施例的气流传感器组件的电路模块图;
图51是本申请第十九实施例的电路时序波形图;
图52是本申请另一实施例的气流传感器组件的电路模块图;
图53是本申请另一实施例的电路时序波形图;
图54是本申请第二十实施例的气流传感器组件的电路模块图;
图55是本申请第二十一实施例的气流传感器组件的电路模块图;
图56是本申请第二十二实施例的气流传感器组件的电路模块图;
图57是本申请另一实施例的气流传感器组件的电路模块图;
图58是本申请第二十三实施例的气流传感器组件的电路模块图;
图59是本申请另一实施例的气流传感器组件的电路模块图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有付出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
在本文中提及“实施例”或“实施方式”意味着,结合实施例或实施方式描述的特定特征、结构或特性可以包含在本申请的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。
第一实施例
本申请第一实施例提供一种电子烟,请参见图1a-图4,电子烟包括电池110、发热元件120、气流传感器组件200等。其中,电池110、发热元件120分别与气流传感器组件200连接,发热元件120例如为发热丝、加热丝、包含发热丝或者加热丝的陶瓷座、或者其他常规的发热元件120,电池110例如为可充电电池或者不可充电电池,可充电电池例如为锂离子电池、镍镉电池、镍氢电池、锂聚合物电池、铅酸电池等,电池110的工作电压范围一般为小于5V且大于2V,例如为3.2V-4.2V、3.2V-4.45V、2.6V-4.2V等。
在本实施例中,气流传感器组件200包括电容式气流传感器Cs和漏油检测电路300,其中,电容式气流传感器Cs包括电容式MEMS传感器、电容式咪头等,本申请中电容式气流传感器Cs实质上为一个可随气流变化的电容,漏油检测电路300包括电源供电端BAT、电源接地端GND、气流端SW、雾化端AT,其中,电源供电端BAT与电池110的正极连接,电源接地端GND与电池110的负极连接,电源接地端GND用于电性接地,气流端SW与电容式气流传感器Cs的一个电极连接,电容式气流传感器Cs的另一个电极与电源接地端GND连接,雾化端AT与发热元件120的一端连接,发热元件120的另一端与电源接地端GND或者电源供电端BAT连接。
在本实施例中,电子烟包括烟杆和烟弹,其中,烟弹内设有发热元件120,烟弹内还存储有烟油,烟杆内设有电容式气流传感器Cs、电池110和漏油检测电路300。本申请的电子烟可以是可充电式电子烟,也可以是一次性电子烟。
请结合参见图3和图4,在本实施例中,漏油检测电路300包括功率开关M和漏油检测控制模块,漏油检测控制模块用于在漏油检测时间段通过气流端SW检测电子烟是否处于漏油状态,漏油检测控制模块包括漏油控制单元310,功率开关M的一端与电源供电端BAT或者电源接地端GND连接,功率开关M的另一端与雾化端AT连接以与发热元件120串联,功率开关M的控制端与漏油控制单元310连接,漏油控制单元310通过获取电子烟的状态,以控制功率开关M的开启导通或者断开截止。在本实施例中,功率开关M为PMOS管,PMOS管的一端与电源供电端BAT连接。在本申请的其他实施例中,功率开关M还可以为NMOS管,NMOS管的一端与电源接地端GND连接。在本实施例中,漏油检测电路300位于同一个芯片上,一般称为电子烟专用芯片,此时电源供电端BAT为电源供电引脚,电源接地端GND为电源接地引脚,气流端SW 为气流引脚,雾化端AT为雾化引脚。另外,在本申请的其他实施例中,漏油检测电路300还可以除功率开关M之外的电路位于同一个芯片上,功率开关M位于另一个芯片上,两个芯片可以封装在一起,也可以不封装在一起。另外,在本实施例中,漏油检测电路300还包括指示端/引脚LED和充电端/引脚CHG,其中,指示端LED用于外接指示灯,指示灯用于指示电子烟的状态,充电端CHG用于与USB输入接口连接以用于给电池110充电。
在本实施例中,请继续参见图3和图4,漏油检测控制模块还包括第一电流源321和漏油检测单元330,其中,第一电流源321恒定输出第一电流,第一电流例如为100nA、200nA、300nA、400nA、500nA等,第一电流源321的第一端与电源供电端BAT连接,第一电流源321的第二端与气流端SW连接,从而,第一电流源321可以通过气流端SW给电容式气流传感器Cs充电;漏油检测单元330用于在漏油检测时间段通过气流端SW检测电子烟是否处于漏油状态,漏油检测单元330与气流端SW连接,漏油检测单元330用于通过气流端SW获取第一采样电压,在本实施例中,通过采样气流端SW的电压以获得第一采样电压,第一采样电压可以与气流端SW的电压相等(例如漏油检测单元330直接与气流端SW连接,本实施例以此为例进行说明),也可以通过电阻分压等方式进行采样,此时第一采样电压为气流端SW的电压的k倍,其中k为小于1的正数。第一电流源321通过气流端SW在漏油检测时间段给电容式气流传感器Cs充电,充电漏油检测时长后漏油检测单元330通过采集气流端SW的电压以获得第一采样电压,其后对第一采样电压进行判断。其中,漏油检测时间段包含漏油检测时长,漏油检测时长小于或等于漏油检测时间段的时长,漏油检测时长一般大于或等于300μs,较佳大于或等于1ms,例如为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等,漏油检测时长一般小于200ms。
在本实施例中,当电容式气流传感器Cs未存在连接两个电极的烟油时,且气流端SW与电源接地端GND(或者其他接地连接点)未存在连接两端的冷凝烟油时,此时气流端SW与电源接地端GND存在电容(气流传感器Cs),不存在与电容并联的漏油电阻RL,气流传感器Cs经过漏油检测时长的充电后,气流端SW的电压会充电到接近电源供电端BAT的电压或者与电源供电端BAT的电压相等,从而第一采样电压会较大;当电子烟漏油导致存在连接电容式气流传感器Cs的两个电极的烟油时(图1c),或者存在连接气流端SW与电源接地端GND的冷凝烟油时(图1e),此时气流端SW与电源接地端GND存在电容,还存在与电容并联的漏油电阻RL(请结合参见图1c、图1e、图2),一般漏油电阻RL的阻值小于10兆欧,例如为8MΩ、5MΩ、4MΩ、2MΩ、1MΩ、800kΩ、500kΩ、300kΩ等,而由于漏油检测时长很长,因而气流传感器Cs的电容接近呈现直流特性,电容呈断开状态,其等效阻值很大,一般大于或等于20MΩ,例如为20MΩ、30MΩ、50MΩ、70MΩ、100MΩ、200MΩ或者更大,远大于漏油电阻RL的阻值,从而并联电阻的阻值小于或接近等于漏油电阻RL的阻值,当充电经过漏油检测时长,本领域的技术人员知道:由于第一电流已知,气流端SW的电压受漏油电阻RL的控制,一般气流端SW上的电压为漏油电阻RL上的电压,一般小于漏油电阻RL的阻值与第一电流的乘积,从而第一采样电压会较小,通过大量实验可以选出合适的第一参考电压,可以设计为当存在漏油时第一采样电压小于第一参考电压,当不存在漏油时第一参考电压小于或等于第一采样电压,第一参考电压也会小于电源供电端BAT的电压。第一参考电压的范围例如为大于或等于1V且小于2.8V,例如为1V、1.5V、2V、2.5V等,第一参考电压的范围还可以根据具体需要进行设置,例如为电源供电端BAT的电压的1/2-4/5之间。
从而,当存在漏油时,也即处于漏油状态时,经过漏油检测时长的充电,此时气流端SW的电压会小于漏油电阻RL的阻值与第一电流的乘积,第一采样电压会小于第一参考电压,当不存在漏油时,经过漏油检测时长的充电,此时气流端SW的电压会到达电源供电端BAT的电压,第一采样电压会大于或等于第一参考电压,从而本申请通过将经过漏油检测时长充电后第一采样电压与第一参考电压进行比较,其后输出比较结果信息,漏油控制单元310根据比较结果信息就可以判断电子烟是否漏油,也即电容的两个电极之间是否存在将两者连接的烟油,或者是否存在将气流端SW与接地端连接的烟油,当漏油控制单元310判断电子烟存在漏油时,此时漏油控制单元310可以控制功率开关M保持断开截止,或者可以进行其他处理。
本实施例的漏油检测电路300包括第一电流源321、漏油检测单元330和漏油控制单元310,第一电流源321、漏油检测单元330均与气流端SW连接,第一电流源321通过气流端SW给电容式气流传感器Cs充电,经过漏油检测时长充电后漏油检测单元330将第一采样电压与第一参考电压进行比较并输出比较结果信息,漏油控制单元310根据比较结果信息就可以判断电子烟是否存在漏油。本申请的漏油检测方式简单,花费的检测时间很少,用户几乎感觉不出来,不影响用户的使用体验;而且可以充分利用现有的气流端SW,配合现有的电容式气流传感器Cs,就可以判断电子烟是否漏油,气流端SW具有多个功能,气流端SW能实现分时复用,漏油检测电路300不需要增设端子或者引脚,有利于降低成本。再有,本申请通过漏油检测电路300可以判断电子烟是否存在漏油,不会长时间将电子烟漏油误判断为电子烟吸烟状态,从而触发发热元件120比较长时间误工作的几率较低,不容易出现安全事故。
为了比较第一采样电压与第一参考电压的大小,在本实施例中,漏油检测单元330包括第一电压比较 器331,第一电压比较器331的第一输入端与气流端SW连接,从而接入第一采样电压,也即第一电压比较器331的第一输入端实时获取第一采样电压,第一电压比较器331的第二输入端接入第一参考电压RefV1,第一参考电压由漏油检测电路300的基准电压产生模块提供,第一电压比较器331的输出端与漏油控制单元310连接。在本实施例中,第一输入端为同向端,第二输入端为反向端,当然在本申请的其他实施例中,第一输入端也可以为反向端,第二输入端可以为同向端。在本实施例中,在漏油检测时间段经过漏油检测时长,第一电压比较器331输出比较结果信息,当第一采样电压大于或等于第一参考电压,此时第一电压比较器331输出第二比较结果信息,第二比较结果信息例如为高电平,此时表示电子烟未漏油,当第一采样电压小于第一参考电压,此时第一电压比较器331输出第一比较结果信息,第一比较结果信息例如为低电平,此时表示电子烟有漏油,从而通过第一电压比较器331输出的比较结果信息漏油控制单元310就可以判断是否漏油。
为了对第一采样电压与第一参考电压的比较时刻进行控制,请继续参见图4,在本实施例中,漏油控制单元310包括第一计时子单元312和逻辑控制子单元311,第一计时子单元312与逻辑控制子单元311连接,逻辑控制子单元311与漏油检测单元330、功率开关M的控制端连接。当逻辑控制子单元311控制进入漏油检测时间段时,第一计时子单元312开始计时,同时控制第一电流源321通过气流端SW给电容式气流传感器Cs充电,在开始阶段第一采样电压会小于第一参考电压,漏油检测单元330实时输出比较结果信息给逻辑控制子单元311,逻辑控制子单元311不接收比较结果信息,当第一计时子单元312计时到达漏油检测时长,此时气流传感器Cs充电了漏油检测时长,第一计时子单元312输出第一计时信号给逻辑控制子单元311,逻辑控制子单元311被触发此时或者之后的漏油检测时间段接收漏油检测单元330输出的比较结果信息,并根据比较结果信息判断电子烟是否有处于漏油状态,当处于漏油状态时,逻辑控制子单元311控制功率开关M保持断开截止。另外,在本申请的其他实施例中,第一计时子单元312还与漏油检测单元330连接,当逻辑控制子单元311控制进入漏油检测时间段时,第一计时子单元312开始计时,同时控制第一电流源321通过气流端SW给电容式气流传感器Cs充电,在未计时到达漏油检测时长时,第一电压比较器331不对两个输入端的电压的进行比较,或者虽然进行比较,但不输出比较结果信息,当第一计时子单元312计时到达漏油检测时长时,第一计时子单元312输出第一计时信号给漏油检测单元330,漏油检测单元330例如第一电压比较器331对两个输入端的电压进行比较,并将比较结果信息输出给逻辑控制子单元311,例如第一电压比较器331在未接收到第一计时子单元312的第一计时信号前不工作,在接收到第一计时子单元312的第一计时信号后才进行工作。另外,在本申请的其他实施例中,气流端SW还可以经由采样单元与第一电压比较器331连接,采样单元与第一计时子单元312连接,采样单元在未接收到第一计时子单元312的第一计时信号前不工作,在接收到第一计时子单元312的第一计时信号后才进行工作,才采样获取第一采样电压,并输出给第一电压比较器331。在本实施例中,当第一计时子单元312未计时到达漏油检测时长时,第一计时子单元312输出第二计时信号,第二计时信号与第一计时信号相异。当第一计时子单元312输出第一计时信号后,第一计时子单元312复位置零,或者等漏油检测时间段结束时复位置零。
在本实施例中,为了获得漏油检测时间段的时长,漏油控制单元310还包括第二计时子单元313,第二计时子单元313对漏油检测时间段进行计时,第二计时子单元313与逻辑控制子单元311连接,当逻辑控制子单元311控制进入漏油检测时间段时,第二计时子单元313开始计时,第一计时子单元312可以与第二计时子单元313同步计时,也可以晚一点才开始计时,当第二计时子单元313计时漏油检测时间段对应的时长时,第二计时子单元313发送第三计时信号给逻辑控制子单元311,漏油检测时间段结束。
为了防止信号扰动而造成电子烟漏油误判,请继续参见图4,在本实施例中,漏油控制单元310还包括第三计时子单元314,第三计时子单元314的输入端与漏油检测单元330例如第一电压比较器331的输出端连接,第三计时子单元314的输出端与逻辑控制子单元311连接,第三计时子单元314还与第一计时子单元312连接,当第三计时子单元314接收到第一计时信号后,第三计时子单元314用于对第一电压比较器331输出为第一比较结果信息的持续时长进行计时,当第三计时子单元314计时大于或等于第三时长时,第三计时子单元314输出漏油确认信号给逻辑控制子单元311,当第三计时子单元314接收到第一计时信号后,当第三计时子单元314收到第二比较结果信息时,第三计时子单元314进行复位置0(已开始计时)或者不进行计时(未开始计时),也即当第一电压比较器331输出第二比较结果信息时,第三计时子单元314不进行计时,当第一电压比较器331输出第一比较结果信息,且第三计时子单元314接收到第一计时信号后,第三计时子单元314开始计时,当第三计时子单元314一直计时到第三时长时,第三计时子单元314输出漏油确认信号给逻辑控制子单元311,同时第三计时子单元314进行复位置零,当第三计时子单元314已开始计时但还未计时到第三时长时第三计时子单元314收到第二比较结果信息,第三计时子单元314进行复位置零。在本实施例中,漏油检测时间段的时长大于漏油检测时长,漏油检测时间段的时长大于或等于漏油检测时长与第三时长之和。另外,在本申请的其他实施例中,漏油控制单元310还可以不包括第三计时子单元314。
一般说来,按照电子烟是否被抽吸划分电子烟的状态,电子烟一般分为三种状态:抽吸状态和未抽吸状态,其中,未抽吸状态包括吹气状态、未吸吹状态,其中,抽吸状态对应用户抽吸电子烟时的状态,吹气状态对应用户向电子烟吹气时的状态,未吸吹状态对应电子烟既未被抽吸、也未被吹气时的状态,电子烟处于不同的状态时会执行不同的动作。为了侦测电子烟是否处于抽吸状态,在本实施例中,漏油检测电路300还包括抽吸检测模块400,抽吸检测模块400用于在抽吸检测时间段通过气流端SW检测电子烟是否处于抽吸状态。
具体而言,抽吸检测模块400的输入端与气流端SW连接,抽吸检测模块400采样气流端SW的电压以获得第二采样电压,第二采样电压可以与气流端SW的电压相等,也可以小于气流端SW的电压,第二采样电压与第一采样电压可以通过同一个采样单元采样获得,此时通过不同的时间段区分第一采样电压、第二采样电压,例如通过同一组分压电阻采样获得,当然也可以通过不同的采样单元采样获得。抽吸检测模块400的输出端与漏油控制单元310连接,具体与逻辑控制子单元311连接,抽吸检测模块400用于通过气流端SW根据气流传感器Cs的电容或者电容的变化判断电子烟是否处于抽吸状态,也即气流端SW至少具有两个功能:抽吸状态的检测、漏油状态的检测。
在本实施例中,抽吸检测模块400包括第二电压比较单元410和抽吸判断单元420,漏油检测电路300包括充放电开关Kc。其中,第二电压比较单元410的第一输入端接入第二采样电压,第二电压比较单元410的第二输入端接入第二参考电压,第二电压比较单元410的输出端与抽吸判断单元420连接,抽吸判断单元420的输出端与漏油控制单元310连接;充放电开关Kc的第一端与气流端SW连接,充放电开关Kc的第二端与电源接地端GND连接,也即充放电开关Kc与气流传感器Cs并联,充放电开关Kc的控制端与第二电压比较单元410的输出端连接。在本实施例中,第二电压比较单元410的第一输入端为同向端,第二输入端为反向端,在本申请的其他实施例中,同向端和反向端可以反过来。在本实施例中,第二参考电压的范围为大于或等于500mV且小于1.5V,例如为500mV、600mV、700mV、800mV、900mV、1V、1.1V、1.2V、1.3V、1.4V等,本实施例以1V为例进行说明,又例如第二参考电压小于1/2倍电源供电端BAT的电压,第二参考电压小于第一参考电压。充放电开关Kc例如为NMOS管等,但本申请不限于此,在本申请的其他实施例中,充放电开关Kc还可以为PMOS管或者其他常规的开关单元。
在本实施例中,漏油检测电路300还包括第二电流源322,第二电流源322恒定输出第二电流,第二电流可以与第一电流一样(在本实施例中以一样为例进行说明),也可以不一样,第二电流例如为100nA、200nA、300nA、400nA、500nA等,第二电流源322的第一端与电源供电端BAT连接,第二电流源322的第二端与气流端SW连接,从而,第二电流源322可以通过气流端SW给电容式气流传感器Cs充电。在本实施例中,在抽吸检测时间段第二电流源322给气流传感器Cs充电,在开始时第二采样电压小于第二参考电压,第二电压比较单元410的输出端输出第一开关信号,第一开关信号例如为低电平,充放电开关Kc保持断开截止,当充电到等于或大于第二参考电压时(此时间段为充电时间段),此时第二采样电压等于或大于第二参考电压,第二电压比较单元410的输出信号进行改变,输出第二开关信号,第二开关信号例如为高电平,第二开关信号控制充放电开关Kc导通,气流传感器Cs两端通过充放电开关Kc短接,瞬间放电至0V或者接近0V(此时间段为放电时间段),放电后第二采样电压又小于第二参考电压,第二电压比较单元410的输出信号又变回为第一开关信号,其后充放电开关Kc保持断开截止,这样完成一个充放电周期,也即充放电周期包括一个充电时间段和一个放电时间段,其后重复前述充放电周期,也即气流传感器Cs又重复充电和放电过程。当电子烟处于不同状态时其充放电周期会有差异,一般周期差异会在10%以内,通过利用该差异可以判断电子烟是否处于抽吸状态。在本实施例中,抽吸判断单元420对充放电周期的数目进行计数,经过抽吸检测时间段后获得的计数值为当前计数值,通过当前计数值进行计算可以得到当前计数信息,在本实施例中,当前计数信息即为当前计数值,抽吸判断单元420进一步判断当前计数信息是否位于预设的计数范围内就可以判断电子烟是否处于抽吸状态,计数范围例如为小于或等于97%的基准计数值且大于或等于50%的基准计数值的范围,其中基准计数值为预设或者在未吸吹状态经过抽吸检测时间段的计数获得,例如基准计数值为1000。另外,在本申请的其他实施例中,当前计数信息为当前计数值与基准计数值的差值,此时计数范围为差值范围,例如差值范围为大于或等于30。在本申请的其他实施例中,当前计数信息为差值与基准计数值的比值,此时计数范围为比值范围,例如大于或等于3%。对电子烟是否处于抽吸状态、吹气状态或者未吸吹状态为本领域的常规知识,在此不再赘述。在本实施例中,电子烟处于未吸吹状态时一个充放电周期小于50μs,较佳小于30μs,抽吸检测时间段的时长例如为30ms。
在本实施例中,漏油控制单元310包括第四计时子单元315,第四计时子单元315与逻辑控制子单元311连接,当逻辑控制子单元311控制进入抽吸检测时间段时,第四计时子单元315开始计时,当第四计时子单元315计时抽吸检测时间段对应的时长时,第四计时子单元315发送信号给逻辑控制子单元311,抽吸检测时间段结束。
在本实施例中,漏油检测时长远大于抽吸检测时间段的充放电周期,一般大于或等于10倍的充放电周期,例如为10倍的充放电周期(以处于未吸吹状态时的充放电周期为标准周期进行计算)、15倍的充放电周期、20倍的充放电周期、30倍的充放电周期等,本实施例以10倍充放电周期为例进行说明。从而 当不存在漏油时,在漏油检测时间段第一电流源321给电容式气流传感器Cs充电漏油检测时长,气流端SW的电压会很快充到电源供电端BAT的电压(最多只能充到电源供电端BAT的电压,不会充到10*1V,10V远大于电池110电压),第一采样电压会大于第一参考电压,当存在漏油时,在漏油检测时间段第一电流源321给电容式气流传感器Cs充电漏油检测时长,由于漏油电阻RL的存在,从而第一采样电压会一直小于第一参考电压。另外,在本申请的其他实施例中,漏油检测时长与充放电周期可以相近,此时,第一电流源321的输出电流大于或等于10倍的第二电流源322的输出电流。
在本实施例中,第一参考电压大于第二参考电压,为了防止气流传感器Cs在漏油检测时长充电过程中充电至大于或等于第二参考电压时第二电压比较单元410的信号翻转导致充放电开关Kc导通,进而引起漏油控制单元310误判,在本实施例中,在漏油检测时长充放电开关Kc保持断开截止,较佳的,在漏油检测时间段,充放电开关Kc保持断开截止。这样设置,在漏油检测时间段充放电开关Kc不会影响漏油检测,也不会出现误判。
为了实现在漏油检测时间段充放电开关Kc保持断开截止,在本实施例中,漏油检测电路300还包括第一开关单元K1和第二开关单元K2,其中,第一开关单元K1的第一端与电源供电端BAT连接,第一开关单元K1的第二端分别与第一电流源321、第一电压比较器331的电源端连接,第一开关单元K1的控制端与漏油控制单元310连接;第二开关单元K2的第一端与电源供电端BAT连接,第二开关单元K2的第二端分别与第二电流源322、第二电压比较单元410的电源端连接,第二开关单元K2的控制端与漏油控制单元310连接。在本实施例中,漏油控制单元310控制第一开关单元K1、第二开关单元K2的导通或者关断,在本实施例中,第一开关单元K1、第二开关单元K2不同时导通。另外,在本申请的其他实施例中,第一开关单元K1的第二端还可以不与第一电压比较器331的电源端连接。
在本实施例中,当抽吸检测时间段开始时,漏油控制单元310控制第二开关单元K2导通,同时控制第一开关单元K1断开截止,此时第二电压比较单元410工作,同时第二电流源322给气流传感器Cs充电,气流端SW充电到第二参考电压后,充放电开关Kc导通,进行放电,然后又充电,又放电,…;当漏油检测时间段开始时,漏油控制单元310控制第二开关单元K2断开截止,第一开关单元K1开启导通,此时第一电流源321工作以用于侦测电子烟是否漏油,且第二电流源322、第二电压比较单元410均停止工作,第二电压比较单元410输出低电平,从而充放电开关Kc保持断开截止,从而在此时间段气流传感器Cs即使充电到大于第二参考电压,也不会通过充放电开关Kc进行放电。另外,在本申请的其他实施例中,当后面提到的停止检测时间段开始时,漏油控制单元310控制第一开关单元K1、第二开关单元K2均停止工作,此时充放电开关Kc保持断开截止。在本实施例中,为了节省功耗,第一电压比较器331的电源端与第一开关单元K1的第二端连接,从而,当第一开关单元K1断开截止时,第一电流源321、第一电压比较器331均停止工作。在本实施例中,第一开关单元K1、第二开关单元K2均为PMOS管,但本申请不限于此,在本申请的其他实施例中,第一开关单元K1、第二开关单元K2还可以为NMOS管或者其他开关单元。
另外,在本申请的其他实施例中,漏油检测电路300还可以不包括第一开关单元K1。另外,在本申请的其他实施例中,第二开关单元K2的第二端还可以不与第二电流源322连接,此时,第二开关单元K2断开截止,第二电压比较单元410不工作,进而充放电开关Kc单元断开截止。
在本实施例中,第一参考电压为一个,不包括子参考电压。但本申请不限于此,在本申请的其他实施例中,第一参考电压还可以包括多个子参考电压,例如包括2个子参考电压,3个子参考电压或者更多个子参考电压,此处以2个子参考电压为例进行说明,两个子参考电压为第一预设子参考电压和第二预设子参考电压,其中,第一预设子参考电压小于第二预设子参考电压,第二预设子参考电压小于电源供电端BAT的电压,对应的,第一比较结果信息包括第一子比较结果信息和第二子比较结果信息。在漏油检测时间段,经过漏油检测时长,当第一采样电压大于第二预设子参考电压,表示电子烟没有漏油,当第一采样电压大于第一预设子参考电压且小于第二预设子参考电压,第一电压比较器331输出第二子比较结果信息,此时表示有一些漏油,漏油不太严重,当第一采样电压小于第一预设子参考电压,第一电压比较器331输出第一子比较结果信息,此时表示漏油很严重,从而通过将第一采样电压与多个子参考电压进行比较,以判断电子烟是否漏油,以及漏油的严重程度,方便对不同漏油程度的电子烟进行处理,例如,当漏油不太严重时,此时可以通过对例如基准计数值等修正以进行纠正,防止将漏油状态误判为抽吸状态,当漏油很严重时,此时可以通过漏油控制单元310控制功率开关M保持断开截止,即使用户正常抽吸电子烟功率开关M也仍然保持断开截止,从而不容易出现安全事故。
为了防止在漏油状态检测之前将漏油状态长时间误判为抽吸状态,引起电子烟长时间工作,导致安全问题。在本实施例中,漏油检测电路300以第一时长为周期进行漏油状态检测和抽吸状态检测,其中,第一时长包括抽吸检测时间段、漏油检测时间段,抽吸检测时间段、漏油检测时间段在时间段上没有重叠,也即两者相异。在本实施例中抽吸检测时间段和漏油检测时间段相邻设置,也即抽吸检测时间段的结束时刻就是漏油检测时间段的开始时刻,或者反过来;另外,在本申请的其他实施例中,抽吸检测时间段和漏油检测时间段还可以不相邻设置,也即还可以存在其他的时间段。在本实施例中,漏油控制单元310包括第五计时子单元316,第五计时子单元316用于对第一时长进行控制,也即对周期进行控制,第五计时子 单元316与逻辑控制子单元311连接。在本实施例中,第一计时子单元312、第二计时子单元313、第三计时子单元314、第四计时子单元315、第五计时子单元316可以为同一个计时单元,也可以为不同的计时单元,还可以第一计时子单元312、第二计时子单元313、第三计时子单元314、第四计时子单元315、第五计时子单元316是部分单元共用,这些是本领域的常规知识,在此不再赘述。
在本实施例中,第一时长包括一个抽吸检测时间段、一个漏油检测时间段,例如,第一时长为40ms,抽吸检测时间段的时长为30ms,漏油检测时间段的时长为10ms。当然,在本申请的其他实施例中,第一时长还可以包括多个抽吸检测时间段、一个漏油检测时间段,这样可以减少抽吸检测的响应时间,减少用户抽吸等待烟油雾化的时间。
为了降低功耗,在本申请的其他实施例中,第一时长还包括停止检测时间段,在停止检测时间段不对抽吸状态、漏油状态进行检测,有利于降低功耗,在停止检测时间段,第一电流源321、第二电流源322、漏油检测单元330、抽吸检测模块400至少部分停止工作,在本实施例中均停止工作。在此处,第一时长包括一个抽吸检测时间段、一个漏油检测时间段和一个停止检测时间段,例如,第一时长为300ms,抽吸检测时间段的时长为30ms,漏油检测时间段的时长为10ms,剩余时长260ms为停止检测时间段。当然,在本申请的其他实施例中,第一时长还可以包括多个抽吸检测时间段、一个漏油检测时间段和一个停止检测时间段,这样可以减少抽吸检测的响应时间,减少用户抽吸等待烟油雾化的时间。
一般说来,当电子烟处于漏油状态时,此时电子烟必然会被误判为处于抽吸状态,从而发热元件120工作引起安全问题,基于这个特性,在本申请的其他实施例中,第一时长不包括漏油检测时间段,漏油检测电路300以第一时长为周期进行抽吸检测,第一时长包括抽吸检测时间段。具体说来,在前一个第一时长的周期结束后,电子烟又进行抽吸状态检测,当判断为非抽吸状态时,则正常进入下一个第一时长的周期;当判断为抽吸状态时,则第一时长暂停(第五计时子单元316暂停计时),此时插入漏油时间段,在漏油检测时间段进行漏油状态的检测,这样设置有利于降低抽吸状态的检测响应时间,减少漏油检测的频次,提升用户的使用体验。在此实施例中,当逻辑控制子单元311接收到抽吸信号(电子烟处于抽吸状态时输出的信号)时,逻辑控制子单元311控制漏油检测单元330进行工作,或者抽吸判断单元420输出的抽吸信号触发漏油检测单元330工作。当漏油检测单元330判断电子烟处于非漏油状态或者漏油状态时,正常退出漏油状态检测,继续进行接下来的第一时长(第五计时子单元316恢复计时),同时,如果判断为漏油状态,则电子烟按照漏油状态进行处理,例如使功率开关M保持断开截止。
第二实施例
请参阅图5,图5是本申请第二实施例的气流传感器组件200的电路模块图,本实施例与第一实施例相似,因此本实施例未描述的部分可以参照第一实施例,本实施例与第一实施例的主要不同点为第一电流源321共用。
请结合参见图3和图5,在本实施例中,不管是在抽吸检测时间段,还是在漏油检测时间段,均是通过第一电流源321给气流传感器Cs充电,本实施例中漏油检测电路300不包括第二电流源和第二开关单元。在本实施例中,第一时长包括抽吸检测时间段、漏油检测时间段和停止检测时间段,在抽吸检测时间段、漏油检测时间段,第一开关单元K1均导通,在停止检测时间段,第一开关单元K1断开截止,此时漏油检测单元330停止工作。另外,在本申请的其他实施例中,漏油检测单元330的电源端还可以不与第一开关单元K1的第二端连接,在抽吸检测时间段漏油控制单元310忽略漏油检测单元330的输出,在漏油检测时间段漏油控制单元310忽略抽吸检测模块400的输出。另外,在本申请的其他实施例中,当第一时长不包括停止检测时间段时,此时还可以不包括第一开关单元K1。
为了实现在漏油检测时间段充放电开关Kc保持断开截止,在本实施例中,漏油检测电路300还包括开关控制单元540,开关控制单元540的第一输入端受第二电压比较单元410的输出信号的控制,例如开关控制单元540的第一输入端连接第二电压比较单元410的输出端,或者开关控制单元540的第一输入端经由漏油控制单元310连接第二电压比较单元410的输出端,开关控制单元540的第二输入端与漏油控制单元310连接,在本实施例中是与逻辑控制子单元311连接,开关控制单元540的输出端与充放电开关Kc的控制端连接,开关控制单元540例如为逻辑门,例如为与门、或门等,或者与门、或门、非门的组合等。在本实施例中,在抽吸检测时间段,充放电开关Kc是否导通受第二电压比较单元410的输出信号控制,在漏油检测时间段,漏油控制单元310经由开关控制单元540控制充放电开关Kc保持断开截止,例如,开关控制单元540为与门541,在抽吸检测时间段,逻辑控制子单元311持续输出高电平给与门541,因此与门541的输出信号受第二电压比较单元410的输出信号控制,在漏油检测时间段,逻辑控制子单元311持续输出低电平信号给与门541,与门541持续输出低电平,从而充放电开关Kc保持断开截止。另外,在本申请的其他实施例中,还可以不包括开关控制单元540,漏油检测电路300还包括第二开关单元,第二开关单元的两端对应与电源供电端BAT、第二电压比较单元410的电源端连接,第二开关单元的控制端与逻辑控制子单元311连接,在漏油检测时间段逻辑控制子单元311控制第二开关单元断开截止,第二开关单元K2停止工作,在抽吸检测时间段逻辑控制子单元311控制第二开关单元K2导通,第二开关单元K2 工作。
本实施例相对第一实施例不需要单独设置第二电流源322,均是通过第一电流源321给电容式气流传感器Cs充电,有利于降低成本。
第三实施例
对应于上面实施例的电子烟的漏油检测电路,下面将结合附图6对本申请第三实施例提供的漏油检测方法进行详细介绍。需要说明的是,附图6所示的漏油检测方法,用于通过第一实施例、第二实施例的漏油检测电路执行,为了便于说明,仅示出了与本申请实施例相关的部分,具体技术细节未揭示的,请参照前面第一实施例、第二实施例的漏油检测电路。
请结合参见图4-图6,在本实施例中,漏油检测方法包括以下步骤:
S110:通过气流端给电容式气流传感器充电,其中,所述气流端用于与电容式气流传感器的一个电极连接,所述电容式气流传感器的另一个电极用于与电源接地端电连接;
S120:触发对充电时长进行第一计时;
S130:判断第一计时是否大于或等于漏油检测时长;
S140:若判断结果为是,则采样气流端的电压以获取第一采样电压,并将所述第一采样电压与第一参考电压进行比较并输出比较结果信息,且接收所述比较结果信息并根据所述比较结果信息判断电子烟是否处于漏油状态。
S150:若判断结果为否,则不采样气流端的电压,和/或,不将所述第一采样电压与第一参考电压进行比较,和/或,不输出比较结果信息,和/或,不接收所述比较结果信息。
在本实施例中,请参见图7,步骤根据所述比较结果信息判断电子烟是否处于漏油状态具体包括:
S141:对第一比较结果信息的持续时长进行第三计时,其中,所述第一比较结果信息表征第一采样电压小于第一参考电压;
S142:判断第三计时是否大于或等于第三时长;
S143:若判断结果为是,则判断电子烟处于漏油状态;
S144:若判断结果为否,则判断电子烟不处于漏油状态。
另外,在本申请的其他实施例中,所述第一参考电压包括第一子参考电压和第二子参考电压,其中,所述第一子参考电压小于第二子参考电压;步骤将所述第一采样电压与第一参考电压进行比较并输出比较结果信息具体包括:
判断所述第一采样电压是否小于第二子参考电压;
若判断结果为是,则判断所述第一采样电压是否小于第一子参考电压;
若判断结果为是,则输出第一子比较结果信息;
若判断结果为否,则输出第二子比较结果信息,其中,所述第二子比较结果信息与所述第一子比较结果信息相异,所述第二子比较结果信息、所述第一子比较结果信息用于表征电子烟的不同漏油程度;
若判断结果为否,则输出第二比较结果信息,其中,第二比较结果信息表征电子烟不处于漏油状态。
在本实施例中,所述漏油检测方法还包括:在对电子烟是否处于漏油状态进行检测的时间段控制充放电开关保持断开截止,其中,所述充放电开关的第一端与气流端连接,所述充放电开关的第二端与电源接地端连接。
在本实施例中,所述漏油检测方法还包括:在抽吸检测时间段通过漏油检测电路的气流端检测电子烟是否处于抽吸状态,其中,对电子烟是否处于漏油状态进行检测的时间段为漏油检测时间段,所述漏油检测时间段与所述抽吸检测时间段相异。
在本实施例中,请参见图8,步骤在抽吸检测时间段通过漏油检测电路的气流端检测电子烟是否处于抽吸状态具体包括:
S210:在抽吸检测时间段通过气流端SW给所述电容式气流传感器Cs充电;
S220:实时采样气流端SW的电压以获得第二采样电压;
S230:判断第二采样电压是否大于或等于第二预设参考电压;
S240:若判断结果为是,则进行累计计数以获得当前计数值,且控制充放电开关Kc导通以进行放电;
S250:若判断结果为否,则控制充放电开关Kc断开截止以继续进行充电;
S260:经过抽吸检测时间段判断当前计数信息是否位于预设的计数范围内,其中,所述当前计数信息基于当前计数值获得;
S270:若判断结果为是,则输出电子烟处于抽吸状态的信息;
S280:若判断结果为否,则输出电子烟处于未抽吸状态的信息。
其中,在抽吸检测时间段开始后,通过气流端给电容式气流传感器充电,实时判断第二采样电压是否大于或等于第二预设参考电压,若判断结果为是,则进行累计计数以获得当前计数值,且控制充放电开关导通以进行放电,由于充放电开关导通时会将气流传感器两端短接,瞬间就会将气流端的电压放到0,其 后第二采样电压会小于等于第二预设参考电压充放电开关断开截止,又进行新一轮的充电,重复对气流传感器进行充电、放电,直到经过抽吸检测时间段,抽吸判断单元判断当前计数信息是否位于预设的计数范围内,若判断结果为是,则抽吸判断单元输出电子烟处于抽吸状态的信息;若判断结果为否,则抽吸判断单元输出电子烟处于未抽吸状态的信息,未抽吸状态包括未吸吹状态和吹气状态。
本申请实施例还提供一种应用于电子烟的漏油检测方法,包括:
在抽吸检测时间段通过漏油检测电路的气流端检测电子烟是否处于抽吸状态,其中,所述漏油检测电路包括电源供电端、电源接地端、气流端、雾化端,其中,所述电源供电端和电源接地端对应用于与电池的正负、极连接,所述气流端用于与电容式气流传感器的一个电极连接,所述电源接地端还用于与电容式气流传感器的另一电极连接,所述雾化端用于与发热元件连接;
在漏油检测时间段通过气流端检测电子烟是否处于漏油状态;
其中,所述漏油检测电路以第一时长为周期进行漏油检测和抽吸检测,其中,所述第一时长包括抽吸检测时间段和漏油检测时间段。
本申请实施例还提供一种应用于电子烟的漏油检测方法,包括:
接收电子烟处于抽吸状态的信息;
触发对电子烟是否处于漏油状态进行检测。
对应于上面实施例的电子烟的漏油检测方法,图9示出了本申请实施例提供的漏油检测电路600的模块图,为了便于说明,仅示出了与本申请实施例相关的部分。
图9为本申请一实施例提供的漏油检测电路600的示意图。如图9所示,该实施例的漏油检测电路600包括:至少一个处理器620(图9中仅示出一个)、存储器610以及存储在所述存储器610中并可在所述处理器620上运行的计算机程序,所述处理器620执行所述计算机程序时实现上述漏油检测方法实施例中的步骤。本领域技术人员可以理解,图9仅仅是漏油检测电路600的举例,并不构成对漏油检测电路600的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件,例如还可以包括输入输出设备、网络接入设备等。所称处理器620可以是中央处理单元(Central Processing Unit,CPU),该处理器620还可以是其他通用处理器620、数字信号处理器620(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-PrograMable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器620可以是微处理器620或者该处理器620也可以是任何常规的处理器620等。
所述存储器610在一些实施例中可以是漏油检测电路600的内部存储单元,例如漏油检测电路600的硬盘或内存。所述存储器610在另一些实施例中也可以是漏油检测电路600的外部存储设备,例如漏油检测电路600上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。进一步地,所述存储器610还可以既包括漏油检测电路600的内部存储单元也包括外部存储设备。所述存储器610用于存储操作系统、应用程序、引导装载程序(BootLoader)、数据以及其他程序等,例如所述计算机程序的程序代码等。所述存储器610还可以用于暂时地存储已经输出或者将要输出的数据。
本申请实施例还提供了一种存储介质,存储介质存储有计算机程序,计算机程序被处理器620执行时可实现上述漏油检测方法实施例中的步骤。
本申请实施例提供了一种计算机程序产品,当计算机程序产品在终端上运行时,使得终端执行时可实现上述漏油检测方法实施例中的步骤。
请参见图3-图5,本申请实施例还提供一种气流传感器组件200,包括:
电容式气流传感器210;
上述的漏油检测电路300,其中,所述漏油检测电路300与所述电容器气流传感器210连接。
本申请实施例还提供一种电子烟,包括:
上述的气流传感器组件200或者上述的漏油检测电路300;
电池110、发热元件120,其中,所述电池110、发热元件120均与所述漏油检测电路300连接。
第四实施例
本申请第四实施例提供一种电子烟,请参见图1a-图3、图10,电子烟包括电池110、发热元件120、气流传感器组件200等。其中,电池110、发热元件120分别与气流传感器组件200连接,发热元件120例如为发热丝、加热丝、包含发热丝或者加热丝的陶瓷座、或者其他常规的发热元件120,电池110例如为可充电电池或者不可充电电池,可充电电池例如为锂离子电池、镍镉电池、镍氢电池、锂聚合物电池、铅酸电池等,电池110的工作电压范围一般为小于5V且大于2V,例如为3.2V-4.2V、3.2V-4.45V、2.6V-4.2V等。
在本实施例中,气流传感器组件200包括电容式气流传感器Cs和漏油检测电路300,其中,电容式气流传感器Cs包括电容式MEMS传感器、电容式咪头等,本申请中电容式气流传感器Cs实质上为一个可随 气流变化的电容,漏油检测电路300包括电源供电端BAT、电源接地端GND、气流端SW、雾化端AT,其中,电源供电端BAT与电池110的正极连接,电源接地端GND与电池110的负极连接,电源接地端GND用于电性接地,气流端SW与电容式气流传感器Cs的一个电极连接,电容式气流传感器Cs的另一个电极与电源接地端GND连接,雾化端AT与发热元件120的一端连接,发热元件120的另一端与电源接地端GND或者电源供电端BAT连接。
在本实施例中,电子烟包括烟杆和烟弹,其中,烟弹内设有发热元件120,烟弹内还存储有烟油,烟杆内设有电容式气流传感器Cs、电池110和漏油检测电路300。本申请的电子烟可以是可充电式电子烟,也可以是一次性电子烟。
请结合参见图3和图10,在本实施例中,漏油检测电路300包括功率开关M和漏油检测控制模块,漏油检测控制模块用于在漏油检测时间段通过气流端SW检测电子烟是否处于漏油状态,漏油检测控制模块包括漏油控制单元310,功率开关M的一端与电源供电端BAT或者电源接地端GND连接,功率开关M的另一端与雾化端AT连接以与发热元件120串联,功率开关M的控制端与漏油控制单元310连接,漏油控制单元310通过获取电子烟的状态,以控制功率开关M的开启导通或者断开截止。在本实施例中,功率开关M为PMOS管,PMOS管的一端与电源供电端BAT连接。在本申请的其他实施例中,功率开关M还可以为NMOS管,NMOS管的一端与电源接地端GND连接。在本实施例中,漏油检测电路300位于同一个芯片上,一般称为电子烟专用芯片,此时电源供电端BAT为电源供电引脚,电源接地端GND为电源接地引脚,气流端SW为气流引脚,雾化端AT为雾化引脚。另外,在本申请的其他实施例中,漏油检测电路300还可以除功率开关M之外的电路位于同一个芯片上,功率开关M位于另一个芯片上,两个芯片可以封装在一起,也可以不封装在一起。另外,在本实施例中,漏油检测电路300还包括指示端LED/引脚LED和充电端CHG/引脚CHG,其中,指示端LED用于外接指示灯,指示灯用于指示电子烟的状态,充电端CHG用于与USB输入接口连接以用于给电池110充电。
在本实施例中,请继续参见图3和图10,漏油检测控制模块还包括第一电流源321和漏油检测单元530,其中,第一电流源321恒定输出第一电流,第一电流例如为100nA、200nA、300nA、400nA、500nA等,第一电流源321的第一端与电源供电端BAT连接,第一电流源321的第二端与气流端SW连接,从而,第一电流源321可以通过气流端SW给电容式气流传感器Cs充电;漏油检测单元530用于在漏油检测时间段通过气流端SW检测电子烟是否处于漏油状态,漏油检测单元530与气流端SW连接,漏油检测单元530用于采集气流端SW的电压以获得第一采样电压,第一采样电压可以与气流端SW的电压相等(例如漏油检测单元530直接与气流端SW连接,本实施例以此为例进行说明),也可以通过电阻分压等方式进行采样,此时第一采样电压为气流端SW的电压的k倍,其中k为小于1的正数。第一电流源321在漏油检测时间段通过气流端SW给电容式气流传感器Cs充电,充电漏油检测时长后漏油检测单元530采集气流端SW的电压以获得第一采样电压,漏油检测单元530将第一采样电压、第一电流信息进行计算以得到第一采样电阻信息,其后对第一采样电阻信息进行判断。其中,第一电流信息用于表征第一电流源321输出的充电电流,也即用于表征第一电流,第一电流信息可以为电流,例如就为第一电流,也可以为电压,此时电压用于表征电流,例如第一电流流过已知阻值的电阻就可以得到电压。其中,漏油检测时间段包含漏油检测时长,漏油检测时长小于或等于漏油检测时间段的时长,漏油检测时长一般大于或等于300μs,较佳大于或等于1ms,例如为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等,漏油检测时长一般小于200ms。
在本实施例中,当电容式气流传感器Cs未存在连接两个电极的烟油时,且气流端SW与电源接地端GND(或者其他接地连接点)未存在连接两端的冷凝烟油时,此时气流端SW与电源接地端GND存在电容(气流传感器Cs),不存在与电容并联的漏油电阻RL,气流传感器Cs经过漏油检测时长的充电后,气流端SW的电压会充电到接近电源供电端BAT的电压或者与电源供电端BAT的电压相等,通过采样可以获得第一采样电压,而第一电流已知,也即第一电流信息已知,从而将第一采样电压、第一电流信息进行计算可以获得第一采样电阻信息,第一采样电阻信息会比较大,在本实施例中第一采样电阻信息用于表征气流端SW与电源接地端GND之间的电阻大小,由于漏油检测时长很长,因而电容接近呈现直流特性,电容呈断开状态,其等效阻值很大,一般大于或等于20MΩ,例如为20MΩ、30MΩ、50MΩ、70MΩ、100MΩ、200MΩ或者更大,第一采样电阻信息可以为电阻,也可以为表征电阻值的电压(例如此时第一电流也用电压表征,电阻信息为第一采样电压与表征第一电流的电压的比值);当电子烟漏油导致存在连接电容式气流传感器Cs的两个电极的烟油时,或者存在连接气流端SW与电源接地端GND的冷凝烟油时,此时气流端SW与电源接地端GND存在电容,还存在与电容并联的漏油电阻RL(请结合参见图1c、图1e、图2),一般漏油电阻RL的阻值小于10兆欧,例如为8MΩ、5MΩ、4MΩ、2MΩ、1MΩ、800kΩ、500kΩ、300kΩ等,由于电容的等效电阻会远远大于漏油电阻RL的阻值,从而并联电阻的阻值小于或接近等于漏油电阻RL的阻值,经过漏油检测时长,并联电阻可以比较方便的检测出来,存在漏油电阻RL的直观表现为:当充电经过漏油检测时长,本领域的技术人员知道:由于第一电流已知,气流端SW的电压受漏油电阻RL的控制,气流端SW上的电压为漏油电阻RL上的电压,一般小于漏油电阻RL的阻值与第一电流的乘积,该乘积会比较 小,一般会小于2.8V,此时通过采样气流端SW的电压可以获得第一采样电压,而第一电流信息已知,从而经过计算可以获得气流端SW与电源接地端GND的第一采样电阻信息,第一采样电阻信息会比较小。很明显,存在漏油时的第一采样电阻信息远小于不存在漏油时的第一采样电阻信息,通过预先选择合适的第一参考电阻信息,将侦测计算获得的第一采样电阻信息与第一参考电阻信息进行比较,根据比较结果信息就可以判断电子烟是否处于漏油状态,例如,假设第一采样电阻信息为电阻时,此时第一参考电阻信息对应为电阻,此时第一参考电阻信息例如为15MΩ;较佳的,第一采样电阻信息为电压,此时第一参考电阻信息对应为电压。另外,在本申请的其他实施例中,第一采样电阻信息还可以不需要经过漏油检测时长才获得,还可以通过本领域的其他常规技术在漏油检测时间段很快采集获得,例如在某个时刻直接采样气流端SW的电压和电流,经过计算就可以获得第一采样电阻信息。
从而,当存在漏油时,也即处于漏油状态时,由于漏油电阻RL的存在,第一采样电阻信息会小于第一参考电阻信息,当不存在漏油时,第一采样电阻信息会大于或等于第一参考电阻信息,从而本申请通过将获得的第一采样电阻信息与预设的第一参考电阻信息进行比较,漏油控制单元310根据比较结果信息就可以判断电容的两个电极之间是否存在将两者连接的烟油,或者是否存在将气流端SW与接地端连接的烟油,当漏油控制单元310判断电子烟存在漏油时,此时漏油控制单元310可以控制功率开关M保持断开截止,或者可以进行其他处理。
本申请的漏油检测电路300包括漏油检测单元530和漏油控制单元310,漏油检测单元530与气流端SW连接,漏油检测单元530通过气流端SW用于获得第一采样电阻信息,其中,第一采样电阻信息用于表征气流端SW与电源接地端GND的电阻大小,漏油检测单元530将第一采样电阻信息与第一参考电阻信息进行比较并输出比较结果信息,漏油控制单元310根据比较结果信息判断电子烟是否处于漏油状态。本申请的漏油检测方式简单,花费的检测时间很少,用户几乎感觉不出来,不影响用户的使用体验;而且可以充分利用现有的气流端SW,配合现有的电容式气流传感器Cs,就可以判断电子烟是否漏油,气流端SW具有多个功能,气流端SW能实现分时复用,漏油检测电路300不需要增设端子或者引脚,有利于降低成本。再有,本申请通过漏油检测电路300就可以判断电子烟是否存在漏油,不会长时间将电子烟漏油误判断为电子烟吸烟状态,从而触发发热元件120比较长时间误工作的几率较低,不容易出现安全事故。
为了获得第一采样电阻信息并比较其与第一参考电阻信息的大小,在本实施例中,漏油检测单元530包括除法器531和第一电阻比较器532,其中,除法器531的第一输入端接入第一采样电压,除法器531的第二输入端接入表征第一电流的第一电流信息,其中,第一电流信息较佳用于电压表征,当然也可以用电流表征,除法器531的输出端输出第一采样电阻信息;第一电阻比较器532的第一输入端接入第一采样电阻信息,第一电阻比较器532的第二输入端接入第一参考电阻信息RefR1,第一参考电阻信息预设,第一电阻比较器532的输出端与漏油控制单元310连接。在本实施例中,第一电阻比较器532为电压比较器,其第一输入端为同向端,第二输入端为反向端,当然在本申请的其他实施例中,第一输入端也可以为反向端,第二输入端可以为同向端。在本实施例中,在漏油检测时间段经过漏油检测时长的充电,第一电阻比较器532输出比较结果信息,当第一采样电阻信息大于或等于第一参考电阻信息,此时第一电阻比较器532输出第二比较结果信息,第二比较结果信息例如为高电平,此时表示电子烟未漏油,当第一采样电阻信息小于第一参考电阻信息,此时第一电阻比较器532输出第一比较结果信息,第一比较结果信息例如为低电平,此时表示电子烟有漏油,从而通过第一电阻比较器532输出的比较结果信息漏油控制单元310就可以判断是否漏油。
为了对第一采样电阻信息与第一参考电阻信息的比较时刻进行控制,请继续参见图10,在本实施例中,漏油控制单元310还包括第一计时子单元312和逻辑控制子单元311,第一计时子单元312与逻辑控制子单元311连接,逻辑控制子单元311与漏油检测单元530、功率开关M的控制端连接。当逻辑控制子单元311控制进入漏油检测时间段时,第一计时子单元312开始计时,同时控制第一电流源321通过气流端SW给电容式气流传感器Cs充电,在开始阶段第一采样电压会比较小,对应的第一采样电阻信息也会比较小,漏油检测单元530实时输出比较结果信息给逻辑控制子单元311,逻辑控制子单元311不接收比较结果信息,当第一计时子单元312计时到达漏油检测时长,第一计时子单元312输出第一计时信号给逻辑控制子单元311,逻辑控制子单元311被触发此时或者之后的漏油检测时间段接收漏油检测单元530输出的比较结果信息,并根据比较结果信息判断电子烟是否处于漏油状态,当处于漏油状态时,逻辑控制子单元311控制功率开关M保持断开截止。另外,在本申请的其他实施例中,第一计时子单元312还与漏油检测单元530连接,当逻辑控制子单元311控制进入漏油检测时间段时,第一计时子单元312开始计时,同时控制第一电流源321通过气流端SW给电容式气流传感器Cs充电,在未计时到达漏油检测时长时,除法器531不对两个输入端的信息进行计算,或者虽然进行计算,但不输出计算结果信息,或者第一电阻比较器532不对两个输入端的信息的进行比较,或者虽然进行比较,但不输出比较结果信息,当第一计时子单元312计时到达漏油检测时长时,第一计时子单元312输出第一计时信号给漏油检测单元530,漏油检测单元530例如除法器531进行计算并输出计算结果,第一电阻比较器532对两个输出端的信息进行比较,并将比较结果信息输出给逻辑控制子单元311,例如除法器531和/或第一电阻比较器532在未接收到第一计时子单 元312的第一计时信号前不工作,在接收到第一计时子单元312的第一计时信号后才进行工作。另外,在本申请的其他实施例中,气流端SW还可以经由采样单元与除法器531连接,采样单元与第一计时子单元312连接,采样单元在未接收到第一计时子单元312的第一计时信号前不工作,在接收到第一计时子单元312的第一计时信号后才进行工作。在本实施例中,当第一计时子单元312未计时到达漏油检测时长时,第一计时子单元312输出第二计时信号,第二计时信号与第一计时信号相异。当第一计时子单元312输出第一计时信号后,第一计时子单元312复位置零,或者等漏油检测时间段结束时复位置零。
在本实施例中,为了获得漏油检测时间段的时长,漏油控制单元310还包括第二计时子单元313,第二计时子单元313对漏油检测时间段进行计时,第二计时子单元313与逻辑控制子单元311连接,当逻辑控制子单元311控制进入漏油检测时间段时,第二计时子单元313开始计时,第一计时子单元312可以与第二计时子单元313同步计时,也可以晚一点才开始计时,当第二计时子单元313计时漏油检测时间段对应的时长时,第二计时子单元313发送第三计时信号给逻辑控制子单元311,漏油检测时间段结束。
为了防止信号扰动而造成电子烟漏油误判,请继续参见图10,在本实施例中,漏油控制单元310还包括第三计时子单元314,第三计时子单元314的输入端与漏油检测单元530的第一电阻比较器532的输出端连接,第三计时子单元314的输出端与逻辑控制子单元311连接,第三计时子单元314还与第一计时子单元312连接,当第三计时子单元314接收到第一计时信号后,第三计时子单元314用于对第一电阻比较器532输出为第一比较结果信息的持续时长进行计时,当第三计时子单元314计时大于或等于第三时长时,第三计时子单元314输出漏油确认信号给逻辑控制子单元311,当第三计时子单元314接收到第一计时信号后,当第三计时子单元314收到第二比较结果信息时,第三计时子单元314进行复位置0(已开始计时)或者不进行计时(未开始计时),也即当第一电阻比较器532输出第二比较结果信息时,第三计时子单元314不进行计时,当第一电阻比较器532输出第一比较结果信息,且第三计时子单元314接收到第一计时信号后,第三计时子单元314开始计时,当第三计时子单元314一直计时到第三时长时,第三计时子单元314输出漏油确认信号给逻辑控制子单元311,同时第三计时子单元314进行复位置零,当第三计时子单元314已开始计时但还未计时到第三时长时第三计时子单元314收到第二比较结果信息,第三计时子单元314进行复位置零。在本实施例中,漏油检测时间段的时长大于漏油检测时长,漏油检测时间段的时长大于或等于漏油检测时长与第三时长之和。另外,在本申请的其他实施例中,漏油控制单元310还可以不包括第三计时子单元314。
一般说来,按照电子烟是否被抽吸划分电子烟的状态,电子烟一般分为两种状态:抽吸状态和未抽吸状态,其中,未抽吸状态包括吹气状态、未吸吹状态,其中,抽吸状态对应用户抽吸电子烟时的状态,吹气状态对应用户向电子烟吹气时的状态,未吸吹状态对应电子烟既未被抽吸、也未被吹气时的状态,电子烟处于不同的状态时会执行不同的动作。为了侦测电子烟是否处于抽吸状态,在本实施例中,漏油检测电路300还包括抽吸检测模块400,抽吸检测模块400用于在抽吸检测时间段通过气流端SW检测电子烟是否处于抽吸状态。
具体而言,抽吸检测模块400的输入端与气流端SW连接,抽吸检测模块400采样气流端SW的电压以获得第二采样电压,第二采样电压可以与气流端SW的电压相等,也可以小于气流端SW的电压,第二采样电压与第一采样电压可以通过同一个采样单元采样获得,此时通过不同的时间段区分第一采样电压、第二采样电压,例如通过同一组分压电阻采样获得,当然也可以通过不同的采样单元采样获得。抽吸检测模块400的输出端与漏油控制单元310连接,具体与逻辑控制子单元311连接,抽吸检测模块400用于通过气流端SW根据气流传感器Cs的电容或者电容的变化判断电子烟是否处于抽吸状态,也即气流端SW至少具有两个功能:抽吸状态的检测、漏油状态的检测。
在本实施例中,抽吸检测模块400包括第二电压比较单元410和抽吸判断单元420,漏油检测电路300包括充放电开关Kc。其中,第二电压比较单元410的第一输入端接入第二采样电压,第二电压比较单元410的第二输入端接入第二参考电压,第二电压比较单元410的输出端与抽吸判断单元420连接,抽吸判断单元420的输出端与漏油控制单元310连接;充放电开关Kc的第一端与气流端SW连接,充放电开关Kc的第二端与电源接地端GND连接,也即充放电开关Kc与气流传感器Cs并联,充放电开关Kc的控制端与第二电压比较单元410的输出端连接。在本实施例中,第二电压比较单元410的第一输入端为同向端,第二输入端为反向端,在本申请的其他实施例中,同向端和反向端可以反过来。在本实施例中,第二参考电压的范围为大于或等于500mV且小于1.5V,例如为500mV、600mV、700mV、800mV、900mV、1V、1.1V、1.2V、1.3V、1.4V等,本实施例以1V为例进行说明,又例如第二参考电压小于1/2倍电源供电端BAT的电压,第二参考电压小于第一参考电阻信息。充放电开关Kc例如为NMOS管等,但本申请不限于此,在本申请的其他实施例中,充放电开关Kc还可以为PMOS管或者其他常规的开关单元。
在本实施例中,漏油检测电路300还包括第二电流源322,第二电流源322恒定输出第二电流,第二电流可以与第一电流一样(在本实施例中以一样为例进行说明),也可以不一样,第二电流例如为100nA、200nA、300nA、400nA、500nA等,第二电流源322的第一端与电源供电端BAT连接,第二电流源322的第 二端与气流端SW连接,从而,第二电流源322可以通过气流端SW给电容式气流传感器Cs充电。在本实施例中,在抽吸检测时间段第二电流源322给气流传感器Cs充电,在开始时第二采样电压小于第二参考电压,第二电压比较单元410的输出端输出第一开关信号,第一开关信号例如为低电平,充放电开关Kc保持断开截止,当充电到等于或大于第二参考电压时(此时间段为充电时间段),此时第二采样电压等于或大于第二参考电压,第二电压比较单元410的输出信号进行改变,输出第二开关信号,第二开关信号例如为高电平,第二开关信号控制充放电开关Kc导通,气流传感器Cs两端通过充放电开关Kc短接,瞬间放电至0V或者接近0V(此时间段为放电时间段),放电后第二采样电压又小于第二参考电压,第二电压比较单元410的输出信号又变回为第一开关信号,其后充放电开关Kc保持断开截止,这样完成一个充放电周期,也即充放电周期包括一个充电时间段和一个放电时间段,其后重复前述充放电周期,也即气流传感器Cs又重复充电和放电过程。当电子烟处于不同状态时其充放电周期会有差异,一般周期差异会在10%以内,通过利用该差异可以判断电子烟是否处于抽吸状态。在本实施例中,抽吸判断单元420对充放电周期的数目进行计数,经过抽吸检测时间段后获得的计数值为当前计数值,通过当前计数值进行计算可以得到当前计数信息,在本实施例中,当前计数信息即为当前计数值,抽吸判断单元420进一步判断当前计数信息是否位于预设的计数范围内就可以判断电子烟是否处于抽吸状态,计数范围例如为小于或等于97%的基准计数值且大于或等于50%的基准计数值的范围,其中基准计数值为预设或者在未吸吹状态经过抽吸检测时间段的计数获得,例如基准计数值为1000。另外,在本申请的其他实施例中,当前计数信息为当前计数值与基准计数值的差值,此时计数范围为差值范围,例如差值范围为大于或等于30。在本申请的其他实施例中,当前计数信息为差值与基准计数值的比值,此时计数范围为比值范围,例如大于或等于3%。对电子烟是否处于抽吸状态、吹气状态或者未吸吹状态为本领域的常规知识,在此不再赘述。在本实施例中,电子烟处于未吸吹状态时一个充放电周期小于50μs,较佳小于30μs,抽吸检测时间段的时长例如为30ms。
在本实施例中,漏油控制单元310包括第四计时子单元315,第四计时子单元315与逻辑控制子单元311连接,当逻辑控制子单元311控制进入抽吸检测时间段时,第四计时子单元315开始计时,当第四计时子单元315计时抽吸检测时间段对应的时长时,第四计时子单元315发送信号给逻辑控制子单元311,抽吸检测时间段结束。
在本实施例中,漏油检测时长远大于抽吸检测时间段的充放电周期,一般大于或等于10倍的充放电周期,例如为10倍的充放电周期(以处于未吸吹状态时的充放电周期为标准周期进行计算)、15倍的充放电周期、20倍的充放电周期、30倍的充放电周期等,本实施例以10倍充放电周期为例进行说明。从而当不存在漏油时,在漏油检测时间段第一电流源321给电容式气流传感器Cs充电漏油检测时长,气流端SW的电压会很快充到电源供电端BAT的电压(最多只能充到电源供电端BAT的电压,不会充到10*1V,10V远大于电池110电压),第一采样电压较大,第一采样电阻信息会大于第一参考电阻信息,当存在漏油时,在漏油检测时间段第一电流源321给电容式气流传感器Cs充电漏油检测时长,由于漏油电阻RL的存在,从而第一采样电阻信息会一直小于第一参考电阻信息。另外,在本申请的其他实施例中,漏油检测时长与充放电周期可以相近,此时,第一电流源321的输出电流大于或等于10倍的第二电流源322的输出电流。
在本实施例中,在漏油检测时间段经过漏油检测时长充电后第二采样电压会大于第二参考电压,为了防止气流传感器Cs在漏油检测时长充电过程中充电至大于或等于第二参考电压时第二电压比较单元410的信号翻转导致充放电开关Kc导通,进而引起漏油控制单元310误判,在本实施例中,在漏油检测时长充放电开关Kc保持断开截止,较佳的,在漏油检测时间段,充放电开关Kc保持断开截止。这样设置,在漏油检测时间段充放电开关Kc不会影响漏油检测,也不会出现误判。
为了实现在漏油检测时间段充放电开关Kc保持断开截止,在本实施例中,漏油检测电路300还包括第一开关单元K1和第二开关单元K2,其中,第一开关单元K1的第一端与电源供电端BAT连接,第一开关单元K1的第二端分别与第一电流源321、除法器531和/或第一电阻比较器532的电源端连接,第一开关单元K1的控制端与漏油控制单元310连接;第二开关单元K2的第一端与电源供电端BAT连接,第二开关单元K2的第二端分别与第二电流源322、第二电压比较单元410的电源端连接,第二开关单元K2的控制端与漏油控制单元310连接。在本实施例中,漏油控制单元310控制第一开关单元K1、第二开关单元K2的导通或者关断,在本实施例中,第一开关单元K1、第二开关单元K2不同时导通。另外,在本申请的其他实施例中,第一开关单元K1的第二端还可以不与除法器531和/或第一电阻比较器532的电源端连接。
在本实施例中,当抽吸检测时间段开始时,漏油控制单元310控制第二开关单元K2导通,同时控制第一开关单元K1断开截止,此时第二电压比较单元410工作,同时第二电流源322给气流传感器Cs充电,气流端SW充电到第二参考电压后,充放电开关Kc导通,进行放电,然后又充电,又放电,…;当漏油检测时间段开始时,漏油控制单元310控制第二开关单元K2断开截止,第一开关单元K1开启导通,此时第一电流源321工作以用于侦测电子烟是否漏油,且第二电流源322、第二电压比较单元410均停止工作,第二电压比较单元410输出低电平,从而充放电开关Kc保持断开截止,从而在此时间段气流传感器Cs即使充电到大于第二参考电压,也不会通过充放电开关Kc进行放电。另外,在本申请的其他实施例中,当后面提到的停止检测时间段开始时,漏油控制单元310控制第一开关单元K1、第二开关单元K2均停止工 作,此时充放电开关Kc保持断开截止。在本实施例中,为了节省功耗,除法器531的电源端、第一电阻比较器532的电源端与第一开关单元K1的第二端连接,从而,当第一开关单元K1断开截止时,第一电流源321、除法器531、第一电阻比较器532均停止工作。在本实施例中,第一开关单元K1、第二开关单元K2均为PMOS管,但本申请不限于此,在本申请的其他实施例中,第一开关单元K1、第二开关单元K2还可以为NMOS管或者其他开关单元。
另外,在本申请的其他实施例中,漏油检测电路300还可以不包括第一开关单元K1。另外,在本申请的其他实施例中,第二开关单元K2的第二端还可以不与第二电流源322连接,此时,第二开关单元K2断开截止,第二电压比较单元410不工作,进而充放电开关Kc单元断开截止。
在本实施例中,第一参考电阻信息为一个,不包括子参考电阻信息。但本申请不限于此,在本申请的其他实施例中,第一参考电阻信息还可以包括多个子参考电阻信息,例如包括2个子参考电阻信息,3个子参考电阻信息或者更多个子参考电阻信息,此处以2个子参考电阻信息为例进行说明,两个子参考电阻信息为第一预设子参考电阻信息和第二预设子参考电阻信息,其中,第一预设子参考电阻信息小于第二预设子参考电阻信息,对应的,第一比较结果信息包括第一子比较结果信息和第二子比较结果信息。在漏油检测时间段,经过漏油检测时长,当第一采样电阻信息大于第二预设子参考电阻信息,表示电子烟没有漏油,当第一采样电阻信息大于第一预设子参考电阻信息且小于第二预设子参考电阻信息,第一电阻比较器532输出第二子比较结果信息,此时表示有一些漏油,漏油不太严重,当第一采样电阻信息小于第一预设子参考电阻信息,第一电阻比较器532输出第一子比较结果信息,此时表示漏油很严重,从而通过将第一采样电阻信息与多个子参考电阻信息进行比较,以判断电子烟是否漏油,以及漏油的严重程度,方便对不同漏油程度的电子烟进行处理,例如,当漏油不太严重时,此时可以通过对例如基准计数值等修正以进行纠正,防止将漏油状态误判为抽吸状态,当漏油很严重时,此时可以通过漏油控制单元310控制功率开关M保持断开截止,即使用户抽吸电子烟功率开关M也仍然保持断开截止,从而不容易出现安全事故。
为了防止在漏油状态检测之前将漏油状态长时间误判为抽吸状态,引起电子烟长时间工作,导致安全问题。在本实施例中,漏油检测电路300以第一时长为周期进行漏油状态检测和抽吸状态检测,其中,第一时长包括抽吸检测时间段、漏油检测时间段,抽吸检测时间段、漏油检测时间段在时间段上没有重叠,也即两者相异。在本实施例中抽吸检测时间段和漏油检测时间段相邻设置,也即抽吸检测时间段的结束时刻就是漏油检测时间段的开始时刻,或者反过来;另外,在本申请的其他实施例中,抽吸检测时间段和漏油检测时间段还可以不相邻设置,也即还可以存在其他的时间段。在本实施例中,漏油控制单元310包括第五计时子单元316,第五计时子单元316用于对第一时长进行控制,第五计时子单元316与逻辑控制子单元311连接。在本实施例中,第一计时子单元312、第二计时子单元313、第三计时子单元314、第四计时子单元315、第五计时子单元316可以为同一个计时单元,也可以为不同的计时单元,还可以第一计时子单元312、第二计时子单元313、第三计时子单元314、第四计时子单元315、第五计时子单元316是部分单元共用,这些是本领域的常规知识,在此不再赘述。
在本实施例中,第一时长包括一个抽吸检测时间段、一个漏油检测时间段,例如,第一时长为40ms,抽吸检测时间段的时长为30ms,漏油检测时间段的时长为10ms。当然,在本申请的其他实施例中,第一时长还可以包括多个抽吸检测时间段、一个漏油检测时间段,这样可以减少抽吸检测的响应时间,减少用户抽吸等待烟油雾化的时间。
为了降低功耗,在本申请的其他实施例中,第一时长还包括停止检测时间段,在停止检测时间段不对抽吸状态、漏油状态进行检测,有利于降低功耗,在停止检测时间段,第一电流源321、第二电流源322、漏油检测单元530、抽吸检测模块400至少部分停止工作,在本实施例中均停止工作。在此处,第一时长包括一个抽吸检测时间段、一个漏油检测时间段和一个停止检测时间段,例如,第一时长为300ms,抽吸检测时间段的时长为30ms,漏油检测时间段的时长为10ms,剩余时长260ms为停止检测时间段。当然,在本申请的其他实施例中,第一时长还可以包括多个抽吸检测时间段、一个漏油检测时间段和一个停止检测时间段,这样可以减少抽吸检测的响应时间,减少用户抽吸等待烟油雾化的时间。
一般说来,当电子烟处于漏油状态时,此时电子烟必然会被误判为处于抽吸状态,从而发热元件120工作引起安全问题,基于这个特性,在本申请的其他实施例中,第一时长不包括漏油检测时间段,漏油检测电路300以第一时长为周期进行抽吸检测,第一时长包括抽吸检测时间段。具体说来,在前一个第一时长的周期结束后,电子烟又进行抽吸状态检测,当判断为非抽吸状态时,则正常进入下一个第一时长的周期;当判断为抽吸状态时,则第一时长暂停(第五计时子单元316暂停计时),此时插入漏油时间段,在漏油检测时间段进行漏油状态的检测,这样设置有利于降低抽吸状态的检测响应时间,减少漏油检测的频次,提升用户的使用体验。在此实施例中,当逻辑控制子单元311接收到抽吸信号(电子烟处于抽吸状态时输出的信号)时,逻辑控制子单元311控制漏油检测单元530进行工作,或者抽吸判断单元420输出的抽吸信号触发漏油检测单元530工作。当漏油检测单元530判断电子烟处于非漏油状态或者漏油状态时, 正常退出漏油状态检测,继续进行接下来的第一时长(第五计时子单元316恢复计时),同时,如果判断为漏油状态,则电子烟按照漏油状态进行处理,例如使功率开关M保持断开截止。
第五实施例
请参阅图11,图11是本申请第五实施例的气流传感器组件200的电路模块图,本实施例与第四实施例相似,因此本实施例未描述的部分可以参照第四实施例,本实施例与第四实施例的主要不同点为第一电流源321共用。
请结合参见图3和图11,在本实施例中,不管是在抽吸检测时间段,还是在漏油检测时间段,均是通过第一电流源321给气流传感器Cs充电,本实施例中漏油检测电路300不包括第二电流源322和第二开关单元K2。在本实施例中,第一时长包括抽吸检测时间段、漏油检测时间段和停止检测时间段,在抽吸检测时间段、漏油检测时间段,第一开关单元K1均导通,在停止检测时间段,第一开关单元K1断开截止,此时漏油检测单元530停止工作。另外,在本申请的其他实施例中,漏油检测单元530的电源端还可以不与第一开关单元K1的第二端连接,在抽吸检测时间段漏油控制单元310忽略漏油检测单元530的输出,在漏油检测时间段漏油控制单元310忽略抽吸检测模块400的输出。另外,在本申请的其他实施例中,当第一时长不包括停止检测时间段时,此时还可以不包括第一开关单元K1。
为了实现在漏油检测时间段充放电开关Kc保持断开截止,在本实施例中,漏油检测电路300还包括开关控制单元540,开关控制单元540的第一输入端受第二电压比较单元410的输出信号的控制,例如开关控制单元540的第一输入端连接第二电压比较单元410的输出端,或者开关控制单元540的第一输入端经由漏油控制单元310连接第二电压比较单元410的输出端,开关控制单元540的第二输入端与漏油控制单元310连接,在本实施例中是与逻辑控制子单元311连接,开关控制单元540的输出端与充放电开关Kc的控制端连接,开关控制单元540例如为逻辑门,例如为与门541、或门等,或者与门541、或门、非门的组合等。在本实施例中,在抽吸检测时间段,充放电开关Kc是否导通受第二电压比较单元410的输出信号控制,在漏油检测时间段,漏油控制单元310经由开关控制单元540控制充放电开关Kc保持断开截止,例如,开关控制单元540为与门541,在抽吸检测时间段,逻辑控制子单元311持续输出高电平给与门541,因此与门541的输出信号受第二电压比较单元410的输出信号控制,在漏油检测时间段,逻辑控制子单元311持续输出低电平信号给与门541,与门541持续输出低电平,从而充放电开关Kc保持断开截止。另外,在本申请的其他实施例中,还可以不包括开关控制单元540,漏油检测电路300还包括第二开关单元K2,第二开关单元K2的两端对应与电源供电端BAT、第二电压比较单元410的电源端连接,第二开关单元K2的控制端与逻辑控制子单元311连接,在漏油检测时间段逻辑控制子单元311控制第二开关单元K2断开截止,第二开关单元K2停止工作,在抽吸检测时间段逻辑控制子单元311控制第二开关单元K2导通,第二开关单元K2工作。
本实施例相对第四实施例不需要单独设置第二电流源322,均是通过第一电流源321给电容式气流传感器Cs充电,有利于降低成本。
第六实施例
请参阅图12,图12是本申请第六实施例的气流传感器组件200的电路模块图,本实施例与第四实施例相似,因此本实施例未描述的部分可以参照第四实施例,本实施例与第四实施例的主要不同点为通过电阻分压的差异判断是否处于漏油状态。
请结合参见图3和图12,在本实施例中,漏油检测单元530包括第一分压电阻R1-第四分压电阻R4,其中,第一分压电阻R1的第一端与电源供电端BAT连接,第一分压电阻R1的第二端与气流端SW连接,气流端SW与第三分压电阻R3的第一端连接,第三分压电阻R3的第二端与电源接地端GND连接,也即第一分压电阻R1、第二分压电阻R2串联,其连接点为气流端SW;第二分压电阻R2的第一端与第一分压电阻R1的第一端连接,第二分压电阻R2的第二端与第四分压电阻R4的第一端连接,第四分压电阻R4的第二端与第三分压电阻R3的第二端连接,也即第二分压电阻R2、第四分压电阻R4串联,第二分压电阻R2的第二端或者第四分压电阻R4的第一端为第二分压采样点;其中,第一分压电阻R1与第三分压电阻R3的阻值比值和第二分压电阻R2与第四分压电阻R4的阻值比值相等,从而,第一分压电阻R1-第四分压电阻R4构成惠斯通电桥。
在漏油检测时间段进行漏油检测时,此时充放电开关Kc、第二开关单元K2保持断开截止,当不存在漏油电阻RL时,由于第一分压电阻R1与第三分压电阻R3的阻值比值和第二分压电阻R2与第四分压电阻R4的阻值比值相等,从而此时气流端SW的电压(第一分压值)与第二分压采样点的电压(第二分压值)相等或者几乎相等,两者的压差为0或者很小,当存在漏油电阻RL时,漏油电阻RL会与第三分压电阻R3并联后再与第一分压电阻R1串联,漏油电阻RL与第三分压电阻R3并联后其并联电阻会减小,从而导致气流端SW的电压会降低,而第二分压采样点的电压与漏油电阻RL无关,第二分压采样点的电压不变,从而第二分压采样点的电压会显著大于气流端SW的电压,导致两者的电压差变大,该电压差即为第一采样 电阻信息,从而将第一采样电阻信息与预设的第一参考电阻信息进行比较就能判断电子烟是否处于漏油状态,在本实施例中第一参考电阻信息为电压。
在本实施例中,漏油检测单元530还包括压差比较子单元,压差比较子单元分别与气流端SW、第二分压采样点连接,并且压差比较子单元还接收第一参考电阻信息,在漏油检测时间段,压差比较子单元将第一分压值与第二分压值相减以得到第二采样电阻信息,并将第二采样电阻信息与第一参考电阻信息进行比较,当第二采样电阻信息大于第一参考电阻信息时,此时输出第一比较结果信息,表示电子烟处于漏油状态,当第二采样电阻信息小于第一参考电阻信息时,此时输出第二比较结果信息,表示电子烟不处于漏油状态。
为了防止第一分压电阻R1-第四分压电阻R4在抽吸检测时间段影响抽吸检测,且造成功耗浪费,在本实施例中,漏油检测电路300还包括第一开关单元K1和第三开关单元K3,其中,第一开关单元K1的第一端与电源供电端BAT连接,第一开关单元K1的第二端与第一分压电阻R1、第二分压电阻R2的第一端连接,第三开关单元K3的第一端与气流端SW连接,第三开关单元K3的第二端与第三分压电阻R3的第一端连接,第一开关单元K1的控制端、第三开关单元K3的控制端均与漏油控制单元310连接,在漏油检测时间段,漏油控制单元310控制第一开关单元K1、第三开关单元K3均开启导通,在抽吸检测时间段,漏油控制单元310控制第一开关单元K1、第三开关单元K3均断开截止,从而,在抽吸检测时间段,第一分压电阻R1-第四分压电阻R4不会影响抽吸检测,也不会造成能源的浪费。
本实施例通过惠斯通电桥进行漏油状态检测,漏油检测时间段所需要的时长很短,远小于第四实施例中漏油检测时长,可以快速的进行漏油状态检测,对用户的使用影响很小。
第七实施例
对应于上面实施例的电子烟的漏油检测电路300,下面将结合附图13对本申请第七实施例提供的漏油检测方法进行详细介绍。需要说明的是,附图13所示的漏油检测方法,用于通过第四实施例-第六实施例的漏油检测电路300执行,为了便于说明,仅示出了与本申请实施例相关的部分,具体技术细节未揭示的,请参照前面第四实施例-第六实施例的漏油检测电路300。
请结合参见图10-图13,在本实施例中,漏油检测方法包括:
S110-2:通过漏油检测电路的气流端获取第一采样电阻信息,其中,所述第一采样电阻信息用于表征气流端SW与电源接地端GND的电阻大小,所述漏油检测电路300包括电源供电端BAT、电源接地端GND、气流端SW、雾化端AT,其中,所述电源供电端BAT和电源接地端GND对应用于与电池110的正负、极连接,所述气流端SW用于与电容式气流传感器Cs的一个电极连接,所述电源接地端GND还用于与电容式气流传感器Cs的另一电极连接,所述雾化端AT用于与发热元件120连接;
S120-2:将所述第一采样电阻信息与第一参考电阻信息进行比较并输出比较结果信息;
S130-2:接收所述比较结果信息并根据所述比较结果信息判断电子烟是否处于漏油状态。
在本实施例中,请参见图14,步骤S110-2具体包括:
S111-2:通过所述气流端给所述电容式气流传感器充电;
S112-2:触发对充电时长进行第一计时;
S113-2:判断第一计时是否大于或等于漏油检测时长;
S114-2:若判断结果为是,则采样所述气流端的电压以获取第一采样电压,并将第一采样电压、第一电流信息进行计算以得到第一采样电阻信息,其中,所述第一电流信息用于表征给气流传感器Cs充电的充电电流;
S115-2:若判断结果为否,则保持停止采样所述气流端SW的电压,和/或,保持停止将第一采样电压、第一电流信息进行计算。
在本实施例中,所述第一采样电阻信息为电压或者电阻。
在本申请的其他实施例中,请参见图15,步骤S110-2具体包括:
S116-2:通过气流端获得第一分压值,其中,所述气流端SW分别连接第一电阻的第二端和第三电阻的第一端,第一电阻和第三电阻串联;
S117-2:通过第二分压采样点获得第二分压值,其中,所述第二分压采样点分别连接第二电阻的第二端和第四电阻的第一端,第二电阻与第四电阻串联,第二电阻的第一端与第一电阻的第一端连接,第四电阻的第二端与第三电阻的第二端连接,第二电阻与第四电阻的阻值比值和第一电阻与第三电阻的阻值比值相等;
S118-2:将第一分压值、第二分压值相减以得到第二采样电阻信息。
在本实施例中,请参见图16,步骤根据所述比较结果信息判断电子烟是否处于漏油状态具体包括:
S131-2:对第一比较结果信息的持续时长进行第三计时,其中,所述第一比较结果信息表征第一采样电阻信息小于第一参考电阻信息;
S132-2:判断第三计时是否大于或等于第三时长;
S133-2:若判断结果为是,则判断电子烟处于漏油状态;
S134-2:若判断结果为否,则判断电子烟不处于漏油状态。
另外,在本申请的其他实施例中,所述第一参考电阻信息包括第一预设子参考电阻信息和第二预设子参考电阻信息,其中,所述第一预设子参考电阻信息小于第二预设子参考电阻信息;步骤将所述第一采样电阻信息与第一参考电阻信息进行比较并输出比较结果信息具体包括:
判断所述第一采样电阻信息是否小于第二预设子参考电阻信息;
若判断结果为是,则判断所述第一采样电阻信息是否小于第一预设子参考电阻信息;
若判断结果为是,则输出第一子比较结果信息;
若判断结果为否,则输出第二子比较结果信息,其中,所述第二子比较结果信息与所述第一子比较结果信息相异,所述第二子比较结果信息、所述第一子比较结果信息用于表征电子烟的不同漏油程度;
若判断结果为否,则输出第二比较结果信息,其中,第二比较结果信息表征电子烟不处于漏油状态。
在本实施例中,所述漏油检测方法还包括:在对电子烟是否处于漏油状态进行检测的时间段控制充放电开关Kc保持断开截止,其中,所述充放电开关Kc的第一端与气流端SW连接,所述充放电开关Kc的第二端与电源接地端GND连接。
在本实施例中,所述漏油检测方法还包括:在抽吸检测时间段通过漏油检测电路300的气流端SW检测电子烟是否处于抽吸状态,其中,对电子烟是否处于漏油状态进行检测的时间段为漏油检测时间段,所述漏油检测时间段与所述抽吸检测时间段相异。
在本实施例中,请参见图17,步骤在抽吸检测时间段通过漏油检测电路的气流端检测电子烟是否处于抽吸状态具体包括:
S210-2:在抽吸检测时间段通过气流端SW给所述电容式气流传感器Cs充电;
S220-2:实时采样气流端SW的电压以获得第二采样电压;
S230-2:判断第二采样电压是否大于或等于第二预设参考电压;
S240-2:若判断结果为是,则进行累计计数以获得当前计数值,且控制充放电开关Kc导通以进行放电;
S250-2:若判断结果为否,则控制充放电开关Kc断开截止以继续进行充电;
S260-2:经过抽吸检测时间段判断当前计数信息是否位于预设的计数范围内,其中,所述当前计数信息基于当前计数值获得;
S270-2:若判断结果为是,则输出电子烟处于抽吸状态的信息;
S280-2:若判断结果为否,则输出电子烟处于未抽吸状态的信息。
其中,在抽吸检测时间段开始后,通过气流端SW给所述电容式气流传感器Cs充电,实时判断第二采样电压是否大于或等于第二预设参考电压,若判断结果为是,则进行累计计数以获得当前计数值,且控制充放电开关Kc导通以进行放电,由于充放电开关Kc导通时会将气流传感器Cs两端短接,瞬间就会将气流端SW的电压放到0,其后第二采样电压会小于等于第二预设参考电压充放电开关Kc断开截止,又进行新一轮的充电,重复对气流传感器Cs进行充电、放电,直到经过抽吸检测时间段,抽吸判断单元420判断当前计数信息是否位于预设的计数范围内,若判断结果为是,则抽吸判断单元420输出电子烟处于抽吸状态的信息;若判断结果为否,则抽吸判断单元420输出电子烟处于未抽吸状态的信息,未抽吸状态包括未吸吹状态和吹气状态。
本申请实施例还提供一种应用于电子烟的漏油检测方法,包括:
在抽吸检测时间段通过漏油检测电路300的气流端SW检测电子烟是否处于抽吸状态,其中,所述漏油检测电路300包括电源供电端BAT、电源接地端GND、气流端SW、雾化端AT,其中,所述电源供电端BAT和电源接地端GND对应用于与电池110的正负、极连接,所述气流端SW用于与电容式气流传感器Cs的一个电极连接,所述电源接地端GND还用于与电容式气流传感器Cs的另一电极连接,所述雾化端AT用于与发热元件120连接;
在漏油检测时间段通过气流端SW检测电子烟是否处于漏油状态;
其中,所述漏油检测电路300以第一时长为周期进行漏油检测和抽吸检测,其中,所述第一时长包括抽吸检测时间段和漏油检测时间段。
本申请实施例还提供一种应用于电子烟的漏油检测方法,包括:
接收电子烟处于抽吸状态的信息;
触发对电子烟是否处于漏油状态进行检测。
对应于上面实施例的电子烟的漏油检测方法,图9示出了本申请实施例提供的漏油检测电路600的模块图,为了便于说明,仅示出了与本申请实施例相关的部分。
图9为本申请一实施例提供的漏油检测电路600的示意图。如图9所示,该实施例的漏油检测电路600包括:至少一个处理器620(图9中仅示出一个)、存储器610以及存储在所述存储器610中并可在所述处理器620上运行的计算机程序,所述处理器620执行所述计算机程序时实现上述漏油检测方法实施例中的步骤。本领域技术人员可以理解,图9仅仅是漏油检测电路600的举例,并不构成对漏油检测电路600的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件,例如还可以包括输入输出设备、网络接入设备等。所称处理器620可以是中央处理单元(Central Processing Unit,CPU),该处理器620还可以是其他通用处理器620、数字信号处理器620(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-PrograMable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器620可以是微处理器620或者该处理器620也可以是任何常规的处理器620等。
所述存储器610在一些实施例中可以是漏油检测电路600的内部存储单元,例如漏油检测电路600的硬盘或内存。所述存储器610在另一些实施例中也可以是漏油检测电路600的外部存储设备,例如漏油检测电路600上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。进一步地,所述存储器610还可以既包括漏油检测电路600的内部存储单元也包括外部存储设备。所述存储器610用于存储操作系统、应用程序、引导装载程序(BootLoader)、数据以及其他程序等,例如所述计算机程序的程序代码等。所述存储器610还可以用于暂时地存储已经输出或者将要输出的数据。
本申请实施例还提供了一种存储介质,存储介质存储有计算机程序,计算机程序被处理器620执行时可实现上述漏油检测方法实施例中的步骤。
本申请实施例提供了一种计算机程序产品,当计算机程序产品在终端上运行时,使得终端执行时可实现上述漏油检测方法实施例中的步骤。
请参见图3、图10-图17,本申请实施例还提供一种气流传感器组件200,包括:
电容式气流传感器Cs;
上述的漏油检测电路300,其中,所述漏油检测电路300与所述电容器气流传感器Cs连接。
本申请实施例还提供一种电子烟,包括:
上述的气流传感器组件200或者上述的漏油检测电路300;
电池110、发热元件120,其中,所述电池110、发热元件120均与所述漏油检测电路300连接。
第八实施例
本申请第八实施例提供一种电子烟,请参见图1a-图3、图18、图19,电子烟包括电池110、发热元件120、气流传感器组件200等。其中,电池110、发热元件120分别与气流传感器组件200连接,发热元件120例如为发热丝、加热丝、包含发热丝或者加热丝的陶瓷座、或者其他常规的发热元件120,电池110例如为可充电电池或者不可充电电池,可充电电池110例如为锂离子电池、镍镉电池、镍氢电池、锂聚合物电池、铅酸电池等,电池110的工作电压范围一般为小于5V且大于2V,例如为3.2V-4.2V、3.2V-4.45V、2.6V-4.2V等。
在本实施例中,气流传感器组件200包括电容式气流传感器210和漏油检测电路300,其中,电容式气流传感器210包括电容式MEMS传感器、电容式咪头等,本申请中电容式气流传感器210实质上为一个可随气流变化的电容,漏油检测电路300包括电源供电端BAT、电源接地端GND、气流端SW、雾化端AT,其中,电源供电端BAT与电池110的正极连接,电源接地端GND与电池110的负极连接,电源接地端GND用于电性接地,气流端SW与电容式气流传感器210的一个电极连接,电容式气流传感器210的另一个电极与电源接地端GND连接,雾化端AT与发热元件120的一端连接,发热元件120的另一端与电源接地端GND或者电源供电端BAT连接。
请结合参见图3和图18,在本实施例中,漏油检测电路300包括功率开关M和漏油检测控制模块,漏油检测控制模块用于在漏油检测时间段通过气流端SW检测电子烟是否处于漏油状态,漏油检测控制模块包括漏油控制单元310,功率开关M的一端与电源供电端BAT或者电源接地端GND连接,功率开关M的另一端与雾化端AT连接以与发热元件120串联,功率开关M的控制端与漏油控制单元310连接,漏油控制单元310通过获取电子烟的状态,以控制功率开关M的开启导通或者断开截止。在本实施例中,功率开关M为PMOS管,PMOS管的一端与电源供电端BAT连接。在本申请的其他实施例中,功率开关M还可以为NMOS管,NMOS管的一端与电源接地端GND连接。在本实施例中,漏油检测电路300位于同一个芯片上,一般称为电子烟专用芯片,此时电源供电端BAT为电源供电引脚,电源接地端GND为电源接地引脚,气流端SW为气流引脚,雾化端AT为雾化引脚。另外,在本申请的其他实施例中,漏油检测电路300还可以除功率 开关M之外的电路位于同一个芯片上,功率开关M位于另一个芯片上,两个芯片可以封装在一起,也可以不封装在一起。另外,在本实施例中,漏油检测电路300还包括指示端/引脚LED和充电端/引脚CHG,其中,指示端LED用于外接指示灯,指示灯用于指示电子烟的状态,充电端CHG用于与USB输入接口连接以用于给电池110充电。
在本实施例中,请继续参见图3和图18,漏油检测控制模块还包括第一电流源321、漏油检测单元330。第一电流源321分别与气流端SW、电源供电端BAT连接,从而第一电流源321可以给电容式气流传感器210充电,第一电流源321恒定输出第一电流,第一电流例如为100nA、200nA、300nA、400nA、500nA等。漏油检测单元330与气流端SW连接,漏油检测单元330用于通过气流端SW获取第一采样电压,在本实施例中,通过采样气流端SW的电压以获得第一采样电压,第一采样电压可以与气流端SW的电压相等(例如漏油检测单元330直接与气流端SW连接,本实施例以此为例进行说明),也可以通过电阻分压等方式进行采样,此时第一采样电压小于气流端SW的电压。在本实施例中,漏油控制单元310与漏油检测单元330连接,漏油控制单元310通过接收漏油检测单元330的信息,用于判断电子烟是否处于漏油状态。
具体而言,第一电流源321通过气流端SW给电容式气流传感器210充电第一预设时长,其后第一电流源321停止给电容式气流传感器210充电,此时第一采样电压即为第一电压值,第一电压值为侦测获得;停止充电后,当不存在漏油电阻RL时,此时电容式气流传感器210只存在其本身的漏电流,不存在其他放电通路,漏电流很小或者几乎可以忽略不计,经过第二预设时长的漏电后,此时第一采样电压即为第二电压值,第二电压值等于第一电压值或者第二电压值略小于第一电压值;当由于漏油导致存在漏油电阻RL时,此时电容式气流传感器210既存在其本身的漏电流,还存在漏油电阻RL这个放电支路,漏油电阻RL这个放电支路的放电电流远大于气流传感器210本身的漏电流,经过第二预设时长的放电后,此时第一采样电压为第二电压值,第二电压值与第一电压值的差值会较大。将第一电压值、第二电压值进行计算以得到第二电压信息,第二电压信息可以为第一电压值与第二电压值的电压差值(本实施例以此为例进行说明),也可以为电压差值与第一电压值的比值等,其后将第二电压信息与第二预设电压信息进行比较,并输出比较结果信息,漏油控制单元310接收比较结果信息,就可以判断电子烟是否处于漏油状态。在本实施例中,第一预设时长、第二预设时长预设,第一预设时长、第二预设时长例如为20μs、30μs、40μs、50μs、60μs、70μs、80μs、90μs等。在本实施例中,第二预设电压信息预设,第二预设电压信息与第二电压信息对应,当第二电压信息为第一电压值与第二电压值的电压差值时(本实施例以此为例进行说明),此时第二预设电压信息例如为1V、0.5V、0.3V等;当第二电压信息为第一电压值与第二电压值的电压比值时,此时第二预设电压信息例如为1.05、1.1、1.15等;当第二电压信息为电压差值与第一采样电压的比值时,此时第二预设电压信息例如为5%、10%、15%等。
在本实施例中,请结合参见图18和图19,漏油检测单元330包括计算子单元340、第二比较子单元335、第一计时子单元332和第二计时子单元333,其中,计算子单元340与气流端SW连接,计算子单元340用于输出第二电压信息,第二比较子单元335的一个输入端与计算子单元340连接,第二比较子单元335另外一个输入端用于接收第二预设电压信息RefV2,漏油控制单元310与第二比较子单元335的输出端连接,第一计时子单元332分别与漏油控制单元310、第二计时子单元333、计算子单元340连接,第二计时子单元333与计算子单元340或者第二比较子单元335连接。
在本实施例中,计算子单元340包括第一获取单元341、第二获取单元342和减法器343,第一获取单元341分别与气流端SW、第一计时子单元332连接,第二获取单元342分别与气流端SW、第二计时子单元333连接,减法器343分别与第一获取单元341、第二获取单元342、第二计时子单元333连接,在本实施例中,第一获取单元341、第二获取单元342为不同的单元。但本申请不限于此,在本申请的其他实施例中,第一获取单元、第二获取单元可以为同一个获取单元。当漏油控制单元310控制第一电流源321开始给电容式气流传感器210充电时,第一计时子单元332被触发对充电时长进行第一计时,当第一计时子单元332计时到第一预设时长时,第一计时子单元332输出第一计时信号给漏油控制单元310、第二计时子单元333、第一获取单元341,漏油控制单元310控制第一电流源321停止给气流传感器210充电,同时第一获取单元341获得第一采样电压,此时第一采样电压为第一电压值,并进行存储,同时第二计时子单元333被触发开始对放电时长进行第二计时,当第二计时子单元333计时第二预设时长时,第二计时子单元333输出第二计时信号给第二获取单元342,第二获取单元342获得第一采样电压,此时第一采样电压为第二电压值,减法器343将第一电压值、第二电压值进行相减处理以获得第二电压信息,并输出给第二比较子单元335,第二比较子单元335将第二电压信息、第二预设电压信息进行比较并输出比较结果信息,漏油控制单元310接收比较结果信息并根据比较结果信息判断电子烟是否处于漏油状态。另外,在本申请的其他实施例中,第二电压信息为第一电压值与第二电压值的电压比值时,或者,第二电压信息为电压差值与第一采样电压的比值时。
当第二电压信息大于或等于第二预设电压信息时,第二比较子单元335输出第一比较结果信息,漏油控制单元310接收第一比较结果信息并根据第一比较结果信息判断电子烟处于漏油状态;当第二电压信息小于第二预设电压信息时,第二比较子单元335输出第二比较结果信息,漏油控制单元310接收第二比较 结果信息并根据第二比较结果信息判断电子烟不处于漏油状态。
在本实施例中,漏油检测时间段包括第一预设时长、第二预设时长,在本实施例中,第一预设时长、第二预设时长均是预设确定的。在本实施例中,漏油控制单元310还包括漏油计时子单元312,漏油计时子单元312与逻辑控制子单元311连接,漏油计时子单元312用于对漏油检测时间段的时长进行计时控制。
本实施例通过第一采样电压由第一电压值经过第二预设时长后放电到第二电压值,通过第二电压值、第一电压值进行计算得到第二电压信息,将第二电压信息与第二预设电压信息进行比较,并基于比较结果信息判断电子烟是否处于漏油状态。本申请的漏油检测方式简单,花费的检测时间很少,用户几乎感觉不出来,不影响用户的使用体验;而且可以充分利用现有的气流端SW,配合现有的电容式气流传感器,就可以判断电子烟是否漏油,气流端SW具有多个功能,气流端SW能实现分时复用,漏油检测电路300不需要增设端子或者引脚,有利于降低成本。再有,本申请通过漏油检测电路300可以判断电子烟是否存在漏油,不会长时间将电子烟漏油误判断为电子烟吸烟状态,从而触发发热元件120比较长时间误工作的几率较低,不容易出现安全事故。
在本实施例中,第二预设电压信息为一个,不包括子电压信息。但本申请不限于此,在本申请的其他实施例中,为了对漏油状态进行精细管理,第二预设电压信息还可以包括多个预设子电压信息,例如包括2个预设子电压信息,3个预设子电压信息或者更多个预设子电压信息,此处以2个预设子电压信息为例进行说明,两个预设子电压信息为第一预设子电压信息和第二预设子电压信息,在本实施例中第一预设子电压信息、第二预设子电压信息均为电压差值,其中,第一预设子电压信息小于第二预设子电压信息,对应的,第一比较结果信息包括第一子比较结果信息和第二子比较结果信息。当第二电压信息小于第一预设子电压信息,表示电子烟没有漏油,处于非漏油状态;当第二电压信息大于第一预设子电压信息且小于第二预设子电压信息,第二比较子单元335输出第二子比较结果信息,此时表示有一些漏油,漏油不太严重,当第二电压信息大于第二预设子电压信息,第二比较子单元335输出第一子比较结果信息,此时表示漏油很严重,从而通过将第二比较子单元335与多个预设子电压信息进行比较,以判断电子烟是否漏油,以及漏油的严重程度,方便对不同漏油程度的电子烟进行处理,例如,当漏油不太严重时,此时可以通过对例如后面提到的基准计数值等修正以进行纠正,当漏油很严重时,此时可以通过漏油控制单元310控制功率开关M保持断开截止,即使用户抽吸电子烟功率开关M也仍然保持断开截止,从而不容易出现安全事故。
一般说来,按照电子烟是否被抽吸划分电子烟的状态,电子烟一般分为两种状态:抽吸状态、非抽吸状态,非抽吸状态包括吹气状态、未吸吹状态,其中,抽吸状态对应用户抽吸电子烟时的状态,吹气状态对应用户向电子烟吹气时的状态,未吸吹状态对应电子烟既未被抽吸、也未被吹气时的状态,电子烟处于不同的状态时会执行不同的动作。请继续参见图18,为了侦测电子烟是否处于抽吸状态或者非抽吸状态,在本实施例中,漏油检测电路300还包括抽吸检测模块400,抽吸检测模块400用于在抽吸检测时间段通过气流端SW检测电子烟是否处于抽吸状态。
具体而言,抽吸检测模块400的输入端与气流端SW连接,抽吸检测模块400采样气流端SW的电压以获得第三采样电压,第三采样电压可以与气流端SW的电压相等,也可以小于气流端SW的电压,第三采样电压与第一采样电压可以通过同一个采样单元采样获得,此时通过不同的时间段区分第一采样电压、第三采样电压,例如通过同一组分压电阻采样获得,当然也可以通过不同的采样单元采样获得。抽吸检测模块400的输出端与漏油控制单元310连接,具体与逻辑控制子单元311连接,抽吸检测模块400用于通过气流端SW根据气流传感器210的电容或者电容的变化判断电子烟是否处于抽吸状态,也即气流端SW至少具有两个功能:抽吸状态的检测、漏油状态的检测。
在本实施例中,抽吸检测模块400包括第三电压比较单元410和抽吸判断单元420,漏油检测电路300包括充放电开关K3。其中,第三电压比较单元410的第一输入端接入第三采样电压,第三电压比较单元410的第二输入端接入第三参考电压RefV3,第三电压比较单元410的输出端与抽吸判断单元420连接,抽吸判断单元420的输出端与漏油控制单元310连接;充放电开关K3的第一端与气流端SW连接,充放电开关K3的第二端与电源接地端GND连接,也即充放电开关K3与气流传感器210并联,充放电开关K3的控制端与第三电压比较单元410的输出端连接。在本实施例中,第三电压比较单元410的第一输入端为同向端,第二输入端为反向端,在本申请的其他实施例中,同向端和反向端可以反过来。在本实施例中,第三参考电压的范围为大于或等于500mV且小于1.5V,例如为500mV、600mV、700mV、800mV、900mV、1V、1.1V、1.2V、1.3V、1.4V等,本实施例以1V为例进行说明,又例如第三参考电压为小于1/2倍电源供电端BAT的电压。充放电开关K3例如为NMOS管等,但本申请不限于此,在本申请的其他实施例中,充放电开关K3还可以为PMOS管或者其他常规的开关单元。
在本实施例中,漏油检测电路300还包括第二电流源322,第二电流源322恒定输出第二电流,第二电流可以与第一电流一样(在本实施例中以一样为例进行说明),也可以不一样,第二电流例如为100nA、200nA、300nA、400nA、500nA等,第二电流源322的第一端与电源供电端BAT连接,第二电流源322的第 二端与气流端SW连接,从而,第二电流源322可以通过气流端SW给电容式气流传感器210充电。在本实施例中,在抽吸检测时间段第二电流源322给气流传感器210充电,在开始时第三采样电压小于第三参考电压,第三电压比较单元410的输出端输出第一开关信号,第一开关信号例如为低电平,充放电开关K3保持断开截止,当充电到第三采样电压等于或大于第三参考电压时(此时间段为充电时间段),第三电压比较单元410的输出信号进行改变,输出第二开关信号,第二开关信号例如为高电平,第二开关信号控制充放电开关K3导通,气流传感器210两端通过充放电开关K3短接,瞬间放电至0V或者接近0V(此时间段为放电时间段),放电后第三采样电压又小于第三参考电压,第三电压比较单元410的输出信号又变回为第一开关信号,其后充放电开关K3保持断开截止,这样完成一个充放电周期,也即充放电周期包括一个充电时间段和一个放电时间段,其后重复前述充放电周期,也即气流传感器210又重复充电和放电过程。当电子烟处于不同状态时其充放电周期会有差异,一般周期差异会在10%以内,通过利用该差异可以判断电子烟是否处于抽吸状态、吹气状态或者未吸吹状态。在本实施例中,抽吸判断单元420对充放电周期的数目进行计数,经过抽吸检测时间段后获得的计数值为当前计数值,通过当前计数值进行计算可以得到当前计数信息,在本实施例中,当前计数信息即为当前计数值,抽吸判断单元420判断当前计数信息是否位于预设的第三计数范围内就可以判断电子烟是否处于抽吸状态,第三计数范围例如为小于或等于97%的基准计数值且大于或等于50%的基准计数值的范围,其中基准计数值为预设或者在未吸吹状态经过抽吸检测时间段的计数获得。另外,在本申请的其他实施例中,当前计数信息为当前计数值与基准计数值的差值,此时第三计数范围为差值范围,例如差值范围为大于或等于30。在本申请的其他实施例中,当前计数信息为差值与基准计数值的比值,此时第三计数范围为比值范围,例如大于或等于3%。由于抽吸判断单元420的具体形式为本领域的常规知识,在此不再赘述。在本实施例中,电子烟处于未吸吹状态时一个充放电周期小于50μs,较佳小于或等于30μs,抽吸检测时间段的时长例如为30ms。
在本实施例中,漏油控制单元310包括第四计时子单元313,第四计时子单元313与逻辑控制子单元311连接,当逻辑控制子单元311控制进入抽吸检测时间段时,第四计时子单元313开始计时,当第四计时子单元313计时抽吸检测时间段对应的时长时,第四计时子单元313发送信号给逻辑控制子单元311或者抽吸判断单元420,抽吸检测时间段结束。
在本实施例中,第一电压值可以大于或等于第三参考电压,为了防止气流传感器210在第一预设时长充电过程中充电至大于或等于第三参考电压时第三电压比较单元410的信号翻转导致充放电开关K3导通,造成能源浪费等问题,在本实施例中,在第一预设时长、第二预设时长,充放电开关K3保持断开截止,较佳的,在漏油检测时间段,充放电开关K3保持断开截止。这样设置,在漏油检测时间段充放电开关K3不会影响漏油检测,也不会造成能源浪费。另外,在本申请的其他实施例中,第一电压值还可以小于第三参考电压,在漏油检测时间段即使第三电压比较单元410工作,第三电压比较单元410也不会控制充放电开关K3导通,因此充放电开关K3仍然是保持断开截止的。
为了实现在漏油检测时间段充放电开关K3保持断开截止,在本实施例中,漏油检测电路300还包括第一开关单元K1和第二开关单元K2,其中,第一开关单元K1的第一端与电源供电端BAT连接,第一开关单元K1的第二端分别与第一电流源321、漏油检测单元330的电源端连接,第一开关单元K1的控制端与漏油控制单元310连接;第二开关单元K2的第一端与电源供电端BAT连接,第二开关单元K2的第二端分别与第二电流源322、第三电压比较单元410的电源端连接,第二开关单元K2的控制端与漏油控制单元310连接。在本实施例中,漏油控制单元310控制第一开关单元K1、第二开关单元K2的导通或者关断,在本实施例中,第一开关单元K1、第二开关单元K2不同时导通。另外,在本申请的其他实施例中,第一开关单元K1的第二端还可以不与漏油检测单元330的电源端连接,第二开关单元K2的第二端还可以不与第三电压比较单元410的电源端连接。
在本实施例中,当抽吸检测时间段开始时,漏油控制单元310控制第二开关单元K2导通,同时控制第一开关单元K1断开截止,此时第三电压比较单元410工作,同时第二电流源322给气流传感器210充电,气流端SW充电到第三参考电压后,充放电开关K3导通,进行放电,然后又充电,又放电,…,并对每次充放电的次数进行计数;当漏油检测时间段开始时,漏油控制单元310控制第二开关单元K2断开截止,第一开关单元K1开启导通,此时第一电流源321工作以用于侦测电子烟是否漏油,且第二电流源322、第三电压比较单元410均停止工作,充放电开关K3保持断开截止,从而在此时间段气流传感器210不会通过充放电开关K3进行放电,当充电第一预设时长后,漏油控制单元310也控制第一开关单元K1断开截止,在第二预设时长第一电流源321不给气流传感器210充电。在本实施例中,为了节省功耗,第一计时子单元332的电源端与第一开关单元K1的第二端连接,从而,当第一开关单元K1断开截止时,第一计时子单元332停止工作,但第二计时子单元333、计算子单元340、第二比较子单元335在第二预设时长仍然工作。另外,在本申请的其他实施例中,第一开关单元K1的第二端还可以不与漏油检测单元330连接。在本实施例中,第一开关单元K1、第二开关单元K2均为PMOS管,但本申请不限于此,在本申请的其他实施例中,第一开关单元K1、第二开关单元K2还可以为NMOS管或者其他开关单元。
另外,在本申请的其他实施例中,漏油检测电路300还可以不包括第一开关单元K1。另外,在本申请 的其他实施例中,第二开关单元K2的第二端还可以不与第二电流源322连接,此时,第二开关单元K2断开截止,第三电压比较单元410不工作,进而充放电开关K3单元保持断开截止。
在本实施例中,漏油检测电路300以第五时长为周期进行漏油状态检测和抽吸状态检测,其中,第五时长包括抽吸检测时间段、漏油检测时间段,漏油检测时间段即为对电子烟是否漏油进行检测的时间段,漏油检测时间段包括第一预设时长、第二预设时长,抽吸检测时间段、漏油检测时间段在时间段上没有重叠,也即两者相异。在本实施例中抽吸检测时间段和漏油检测时间段相邻设置,也即抽吸检测时间段的结束时刻就是漏油检测时间段的开始时刻,或者反过来;另外,在本申请的其他实施例中,抽吸检测时间段和漏油检测时间段还可以不相邻设置,也即还可以存在其他的时间段。在本实施例中,漏油控制单元310包括第五计时子单元314,第五计时子单元314用于对第五时长进行控制,第五计时子单元314与逻辑控制子单元311连接。在本实施例中,第一计时子单元332、第二计时子单元333、漏油计时子单元312、第四计时子单元313、第五计时子单元314可以为同一个计时单元,也可以为不同的计时单元,还可以第一计时子单元332、第二计时子单元333、漏油计时子单元312、第四计时子单元313、第五计时子单元314是部分单元共用,这些是本领域的常规知识,在此不再赘述。
在本实施例中,第五时长包括一个抽吸检测时间段、一个漏油检测时间段,例如,第五时长为40ms,抽吸检测时间段的时长为30ms,漏油检测时间段的时长为10ms,其中第一预设时长为10μs。当然,在本申请的其他实施例中,第五时长还可以包括多个抽吸检测时间段、一个漏油检测时间段,这样可以减少抽吸检测的响应时间,减少用户抽吸等待烟油雾化的时间。
为了降低功耗,在本申请的其他实施例中,第五时长还包括停止检测时间段,在停止检测时间段不对抽吸状态、漏油状态进行检测,有利于降低功耗,在停止检测时间段,第一电流源321、第二电流源322、漏油检测单元330、抽吸检测模块400至少部分停止工作,在此实施例中均停止工作。在此处,第五时长包括一个抽吸检测时间段、一个漏油检测时间段和一个停止检测时间段,例如,第五时长为300ms,抽吸检测时间段的时长为30ms,漏油检测时间段的时长为10ms,剩余时长260ms为停止检测时间段。当然,在本申请的其他实施例中,第五时长还可以包括多个抽吸检测时间段、一个漏油检测时间段和一个停止检测时间段,这样可以减少抽吸检测的响应时间,减少用户抽吸等待烟油雾化的时间。
一般说来,当电子烟处于漏油状态时,此时电子烟必然会被误判为处于抽吸状态,从而发热元件120工作引起安全问题,基于这个特性,在本申请的其他实施例中,第五时长不包括漏油检测时间段,漏油检测电路300以第五时长为周期进行抽吸检测,第五时长包括抽吸检测时间段。具体说来,在前一个第五时长的周期结束后,电子烟又进行抽吸状态检测,当判断为非抽吸状态时,则正常进入下一个第五时长的周期;当判断为抽吸状态时,则第五时长暂停(第五计时子单元314暂停计时),此时插入漏油时间段,在漏油检测时间段进行漏油状态的检测,这样设置有利于降低抽吸状态的检测响应时间,减少漏油检测的频次。在此实施例中,当逻辑控制子单元311接收到抽吸信号(电子烟处于抽吸状态时输出的信号)时,逻辑控制子单元311控制漏油检测单元330进行工作,或者抽吸判断单元420输出的抽吸信号触发漏油检测单元330工作。当漏油检测单元330判断电子烟处于非漏油状态或者漏油状态时,正常退出漏油状态检测,继续进行接下来的第五时长(第五计时子单元314恢复计时),同时,如果判断为漏油状态,则电子烟按照漏油状态进行处理,例如使功率开关M保持断开截止。
第九实施例
请参阅图20,图20是本申请第九实施例的漏油检测单元330的电路模块图,本实施例与第八实施例相似,因此本实施例未描述的部分可以参照第八实施例,本实施例与第八实施例的主要不同点为通过第一电流源321将第一采样电压充电到第一电压值,不对充电时长进行计时。
请结合参见图18和图20,在本实施例中,在漏油检测时间段第一电流源321通过气流端SW给电容式气流传感器210充电,充电使第一采样电压到达第一电压值时,其后第一电流源321停止给电容式气流传感器210充电,此时获得第一采样电压为第一电压值的信息,经过第二预设时长的漏电后,输出第二计时信号,此时第一采样电压为第二电压值,将第一电压值、第二电压值进行计算以得到第二电压信息,将第二电压信息与第二预设电压信息进行比较,并输出比较结果信息,漏油控制单元310接收比较结果信息,就可以判断电子烟是否处于漏油状态。
在本实施例中,漏油检测单元330包括第一电压比较子单元334、计算子单元340、第二比较子单元335、第二计时子单元333,其中,第一电压比较子单元334的一个输入端实时接收第一采样电压,第一电压比较子单元334另外一个输入端接收第一电压值RefV1,在本实施例中第一电压值预设,第一电压比较子单元334的输出端与漏油控制单元310、第二计时子单元333连接,第二计时子单元333与计算子单元340连接,计算子单元340中预存第一电压值或者采样获得第一电压值,计算子单元340接收第一采样电压,计算子单元340用于输出第二电压信息,第二比较子单元335的一个输入端与计算子单元340连接,第二比较子单元335的另一个输入端接收第二预设电压信息RefV2,漏油控制单元310与第二比较子单元 335的输出端连接。
在本实施例中,计算子单元340包括第二获取单元342和除法器344,第二获取单元342分别与气流端SW、第二计时子单元333连接,除法器344分别与第二获取单元342、第二计时子单元333、第二比较子单元335连接,除法器344中存储有第一电压值。
在漏油检测时间段当漏油控制单元310控制第一电流源321给电容式气流传感器210充电时,第一电压比较子单元334实时接收第一采样电压,开始时第一采样电压小于第一电压值RefV1,当第一采样电压充电到大于或等于第一电压值时,第一电压比较子单元334的输出信号进行翻转,第一电压比较子单元334输出对应信号给漏油控制单元310、第二计时子单元333,漏油控制单元310控制第一电流源321停止给气流传感器210充电,同时第二计时子单元333被触发开始计时,当第二计时子单元333计时第二预设时长时,第二计时子单元333输出第二计时信号给第二获取单元342或第二比较子单元335,第二获取单元342此时获得第一采样电压,此时第一采样电压为第二电压值,除法器344将第一电压值、第二电压值进行除法计算处理以获得第二电压信息,并输出给第二比较子单元335,第二比较子单元335将第二电压信息、第二预设电压信息进行比较并输出比较结果信息,漏油控制单元310接收比较结果信息并根据比较结果信息判断电子烟是否处于漏油状态。
第十实施例
请参阅图21,图21是本申请第十实施例的漏油检测单元330的电路模块图,本实施例与第八实施例相似,因此本实施例未描述的部分可以参照第八实施例,本实施例与第八实施例的主要不同点为对第一采样电压由第一电压值放电到第二电压值所需要的时长进行计时,基于计时时长判断电子烟是否处于漏油状态。
请结合参见图18和图21,在本实施例中,第一电流源321对气流传感器210充电第一预设时长后停止充电,且此时第一采样电压为第一电压值,第一电压值为采样获得,其后对第一采样电压由第一电压值下降到第二电压值所需要的时长进行第二计时,将第二计时与第二预设时长进行比较并输出比较结果信息,漏油控制单元310根据比较结果信息判断电子烟是否处于漏油状态。
具体而言,当不存在漏油电阻RL时,此时电容式气流传感器210只存在其本身的漏电流,不存在其他放电通路,漏电流很小,第一采样电压由第一电压值下降到第二电压值所需要的时间很长,也即第二计时会很大;当存在漏油电阻RL时,此时电容式气流传感器210存在其本身的漏电流,还存在漏油电阻RL这个放电支路,漏油电阻RL这个放电支路放电电流远大于气流传感器210本身的漏电流,第一采样电压由第一电压值下降到第二电压值所需要的时长很短,也即第二计时会很小。其后,将第二计时与预先选定的第二预设时长进行比较,当存在漏油电阻RL时,此第二计时会小于第二预设时长,当不存在漏油电阻RL时,第二计时大于或等于第二预设时长,并输出比较结果信息,漏油控制单元310根据接收的比较结果信息,就可以判断电子烟是否处于漏油状态。
在本实施例中,漏油检测单元330包括第一计时子单元332、计算子单元340、第二比较子单元335、第二计时子单元333、第二时长判断子单元336。其中,第二比较子单元335的一个输入端接入第二电压值,其另一个输入端接入第一采样电压,第二比较子单元335的输出端连接第二计时子单元333(图示中以此为例)或者第二时长判断子单元336,第二计时子单元333与第二时长判断子单元336连接,第二时长判断子单元336与漏油控制单元310连接。当第二计时子单元333获得第一采样电压为第一电压值的信息时,也即接收到第一计时信号,第二计时单元开始第二计时,同时,计算子单元340基于第一电压值计算获得第二电压值并进行输出,第二比较子单元335实时获得第一采样电压,当第二比较子单元335的输出信号翻转时,此时第一采样电压由第一电压值放电下降到第二电压值,第二计时子单元333接收到此翻转信号,第二计时子单元333将第二计时输出给第二时长判断子单元336,或者第二时长判断子单元336此时接收第二计时子单元333输出的第二计时,第二时长判断子单元336判断第二计时是否小于第二预设时长,若第二计时小于第二预设时长,则输出第一比较结果信息,表示处于漏油状态,若第二计时大于或等于第二预设时长,则输出第二比较结果信息,表示不处于漏油状态。
在本实施例中,由于第一电压值为采样获得,第一电压值的大小不确定,在通过采样确定第一电压值后,计算子单元340基于第一电压值计算获得第二电压值,例如第二电压值与第一电压值的比值为0.97、0.95、0.90等,或者计算子单元340将第一电压值减去预设的差值以计算得到第二电压值。
在本实施例中,当气流传感器210特性较好时,且不存在漏油时,此时第一采样电压由第一电压值放电到第二电压值的时间就会很长,例如达到分钟级别,为了减少等待时间,当第二计时子单元333的第二计时到达第十预设时长且第一采样电压未放电到第二电压值时,漏油检测单元此时输出第二比较结果信息,漏油控制单元接收第二比较结果信息,并判断电子烟不处于漏油状态。此时,最长只需要等待第十预设时长,不需要长时间进行放电等待。第十预设时长例如为100ms、200ms、300ms等。
第十一实施例
请参阅图22,图22是本申请第十一实施例的漏油检测单元330的电路模块图,本实施例与第九实施例相似,因此本实施例未描述的部分可以参照第九实施例,本实施例与第九实施例的主要不同点为对第一采样电压由第一电压值放电到第二电压值所需要的时长进行计时,基于计时时长判断电子烟是否处于漏油状态。
请结合参见图18和图22,在本实施例中,在漏油检测时间段第一电流源321对气流传感器210进行充电,将第一采样电压充电到第一电压值RefV1时,充电完成,第一电流源321停止对气流传感器210充电,此时第一采样电压为第一电压值,第一电压值预设,从而第二电压值也可以预设,其后对第一采样电压由第一电压值下降到第二电压值所需要的时长进行第二计时,将第二计时与第二预设时长进行比较并输出比较结果信息,漏油控制单元310根据比较结果信息判断电子烟是否处于漏油状态。
具体而言,当不存在漏油电阻RL时,此时电容式气流传感器210只存在其本身的漏电流,不存在其他放电通路,漏电流很小,第一采样电压由第一电压值下降到第二电压值所需要的时间很长,也即第二计时会很大;当存在漏油电阻RL时,此时电容式气流传感器210存在其本身的漏电流,还存在漏油电阻RL这个放电支路,漏油电阻RL这个放电支路放电电流远大于气流传感器210本身的漏电流,第一采样电压由第一电压值下降到第二电压值所需要的时长很短,也即第二计时会很小。其后,将第二计时与预先选定的第二预设时长进行比较,当存在漏油电阻RL时,此第二计时会小于第二预设时长,当不存在漏油电阻RL时,第二计时大于或等于第二预设时长,并输出比较结果信息,漏油控制单元310根据接收的比较结果信息,就可以判断电子烟是否处于漏油状态。
在本实施例中,漏油检测单元330包括第一电压比较子单元334、第二比较子单元335、第二计时子单元333、第二时长判断子单元336。其中,第二比较子单元335的一个输入端接入第二电压值,第二电压值预设,其另一个输入端接入第一采样电压,第二比较子单元335的输出端连接第二计时子单元333(图示中以此为例)或者第二时长判断子单元336,第二计时子单元333与第二时长判断子单元336连接,第二时长判断子单元336与漏油控制单元310连接,当第二计时单元获得第一采样电压充电到第一电压值的信息时,也即接收到翻转信号,第二计时单元开始对放电时长进行计时,当第二比较子单元335的输出信号翻转时,此时第一采样电压由第一电压值放电下降到第二电压值,第二计时子单元333接收到此翻转信号,第二计时子单元333将第二计时输出给第二时长判断子单元336,或者第二时长判断子单元336此时接收第二计时子单元333输出的第二计时,第二时长判断子单元336判断第二计时是否小于第二预设时长,若第二计时小于第二预设时长,则输出第一比较结果信息,表示处于漏油状态,若第二计时大于或等于第二预设时长,则输出第二比较结果信息,表示不处于漏油状态。
第十二实施例
请参阅图23,图23是本申请第十二实施例的气流传感器组件200的电路模块图,本实施例与第八实施例-第十一实施例相似,因此本实施例未描述的部分可以参照第八实施例-第十一实施例,本实施例与第八实施例-第十一实施例的主要不同点为第一电流源共用。
请参见图23,在本实施例中,不管是在抽吸检测时间段,还是在漏油检测时间段,均是通过第一电流源321给气流传感器210充电,本实施例中漏油检测电路300不包括第二电流源和第二开关单元。在本实施例中,第五时长包括抽吸检测时间段、漏油检测时间段和停止检测时间段,在抽吸检测时间段、漏油检测时间段的充电阶段,第一开关单元K1均导通,在停止检测时间段和漏油检测时间段的放电阶段,第一开关单元K1断开截止。另外,在本申请的其他实施例中,漏油检测单元330的电源端还可以不与第一开关单元K1的第二端连接,在抽吸检测时间段漏油控制单元忽略漏油检测单元330的输出,在漏油检测时间段漏油控制单元忽略抽吸检测模块400的输出。另外,在本申请的其他实施例中,当第五时长不包括停止检测时间段时,此时还可以不包括第一开关单元K1。
为了对充放电开关K3进行控制,在本实施例中,漏油检测电路300还包括开关控制单元540,开关控制单元540的第一输入端受第三电压比较单元410的输出信号的控制,例如开关控制单元540的第一输入端连接第三电压比较单元410的输出端,或者开关控制单元540的第一输入端经由漏油控制单元310连接第三电压比较单元410的输出端,开关控制单元540的第二输入端与漏油控制单元310连接,在本实施例中是与逻辑控制子单元311连接,开关控制单元540的输出端与充放电开关K3的控制端连接,开关控制单元540例如为逻辑门,例如为与门、或门等,或者与门、或门、非门的组合等。在本实施例中,在抽吸检测时间段,充放电开关K3是否导通受第三电压比较单元410的输出信号控制,在漏油检测时间段,漏油控制单元310经由开关控制单元540控制充放电开关K3保持断开截止,例如,开关控制单元540为与门541,在抽吸检测时间段,逻辑控制子单元311持续输出高电平给与门541,因此与门541的输出信号受第三电压比较单元410的输出信号控制,在漏油检测时间段,逻辑控制子单元311持续输出低电平信号给与门541,与门541持续输出低电平,从而充放电开关K3保持断开截止。另外,在本申请的其他实施例中,还可以不包括开关控制单元540,漏油检测电路300还包括第二开关单元K2,第二开关单元K2的两端对应与电源供电端BAT、第三电压比较单元410的电源端连接,第二开关单元K2的控制端与逻辑控制子 单元311连接,在漏油检测时间段逻辑控制子单元311控制第二开关单元K2断开截止,第二开关单元K2停止工作,在抽吸检测时间段逻辑控制子单元311控制第二开关单元K2导通,第二开关单元K2工作。
本实施例相对第八实施例-第十一实施例不需要单独设置第二电流源322,均是通过第一电流源321给电容式气流传感器210充电,有利于降低成本。
第十三实施例
对应于上面实施例的电子烟的漏油检测电路300,下面将结合附图24对本申请第十三实施例提供的漏油检测方法进行详细介绍。需要说明的是,附图24所示的漏油检测方法,用于通过第八实施例、第九实施例、第十二实施例的漏油检测电路300执行,为了便于说明,仅示出了与本申请实施例相关的部分,具体技术细节未揭示的,请参照前面第八实施例、第九实施例、第十二实施例的漏油检测电路300。
请结合参见图18和图24,在本申请中,漏油检测方法包括以下步骤:
S100-3:在漏油检测时间段通过气流端SW检测电子烟是否处于漏油状态;
S200-3:在抽吸检测时间段通过漏油检测电路300的气流端SW检测电子烟是否处于抽吸状态;
其中,漏油检测电路300以第五时长为周期进行漏油检测和抽吸检测,其中,所述第五时长包括抽吸检测时间段和漏油检测时间段。另外,在本申请的其他实施例中,第五时长还包括停止检测时间段。
另外,在本申请的其他实施例中,漏油检测方法包括:
接收电子烟处于抽吸状态的信息;
触发对电子烟是否处于漏油状态进行检测。
在此实施例中,只有收到电子烟处于抽吸状态的信息,漏油检测电路才会被触发进行漏油状态的检测,在没有收到电子烟处于抽吸状态的信息时,漏油检测电路不会进行漏油状态的检测。
在本实施例中,请参见图25,步骤S100-3具体包括:
S110-3:接收第一采样电压为第一电压值的信息;
S120-3:触发对放电时长进行第二计时;
S130-3:判断第二计时是否大于或等于第二预设时长;
S140-3:若判断结果为是,则获得第一采样电压为第二电压值的信息,并基于第一电压值、第二电压值计算获得第二电压信息;
S150-3:将第二电压信息与第二预设电压信息进行比较并输出比较结果信息;
S160-3:根据所述比较结果判断电子烟是否处于漏油状态。
在本实施例中,若判断结果为否,则继续进行第二计时。
在本实施例中,请参见图26,在步骤S110-3之前还包括:
S111-3:在漏油检测时间段通过气流端SW给电容式气流传感器210充电;
S112-3:对充电时长进行第一计时;
S113-3:判断第一计时是否大于或等于第一预设时长;
S114-3:若判断结果为是,则停止给电容式气流传感器210充电,且输出第一采样电压为第一电压值的信息;
若判断结果为否,则继续进行第一计时。
另外,在本申请的其他实施例中,在步骤S110-3之前还包括:
在漏油检测时间段通过气流端SW给电容式气流传感器210充电;
实时采样所述气流端SW的电压以获得第一采样电压;
判断第一采样电压是否大于或等于第一电压值;
若判断结果为是,则停止对电容式气流传感器210充电,且输出第一采样电压为第一电压值的信息;
若判断结果为否,则继续给电容式气流传感器210充电。
在本实施例中,第二电压信息为第一电压值与第二电压值的电压差值、第一电压值与第二电压值的电压比值或者电压差值与第一采样电压的比值,所述第二预设电压信息与所述第二电压信息对应。
在本实施例中,请参见图27,步骤S150-3具体包括:
S151-3:判断所述第二电压信息是否大于第一预设子电压信息;
S152-3:若判断结果为是,则判断所述第二电压信息是否大于第二预设子电压信息;其中,第一预设子电压信息小于第二预设子电压信息;
S153-3:若判断结果为是,则输出电子烟处于漏油状态的第一子比较结果信息;
S154-3:若判断结果为否,则输出电子烟处于漏油状态的第二子比较结果信息,其中,所述第二比较结果信息与所述第一比较结果信息相异;
S155-3:若判断结果为否,则输出电子烟不处于漏油状态的第二比较结果信息。
其中,第一比较结果信息包括第一子比较结果信息和第二子比较结果信息,其中,第一子比较结果信息表示漏油比较严重,第二子比较结果信息表示漏油不太严重。
在本实施例中,所述漏油检测方法还包括:在对电子烟是否处于漏油状态进行检测的时间段控制充放电开关K3保持断开截止,以停止所述电容式气流传感器210通过充放电开关K3进行放电。
在本实施例中,请参见图28,步骤S200-3具体包括:
S210-3:在抽吸检测时间段通过气流端SW给所述电容式气流传感器210充电;
S220-3:实时采样获取气流端SW的电压以获得第三采样电压;
S230-3:判断第三采样电压是否大于或等于第三参考电压;
S240-3:若判断结果为是,则进行计数以得到当前计数值,且控制充放电开关K3导通以进行放电,其中,所述充放电开关K3的第一端与气流端SW连接,所述充放电开关K3的第二端与电源接地端GND连接;
S250-3:若判断结果为否,则控制充放电开关K3断开截止以继续进行充电;
S260-3:经过抽吸检测时间段判断当前计数信息是否位于预设的第三计数范围内,其中,所述当前计数信息基于当前计数值获得;
S270-3:若判断结果为是,则输出电子烟处于抽吸状态的信息;其中,所述抽吸检测时间段与对电子烟是否处于漏油状态进行检测的时间段相异。
S280-3:若判断结果为否,则输出电子烟处于非抽吸状态的信息。
第十四实施例
对应于上面实施例的电子烟的漏油检测电路,下面将结合附图29对本申请第十四实施例提供的漏油检测方法进行详细介绍。需要说明的是,附图29所示的漏油检测方法,用于通过第十实施例、第十一实施例、第十二实施例的漏油检测电路300执行,为了便于说明,仅示出了与本申请实施例相关的部分,具体技术细节未揭示的,请参照前面第十实施例、第十一实施例、第十二实施例的漏油检测电路300以及第十三实施例的漏油检测方法,本实施例与第十三实施例的漏油检测方法的主要不同点为通过对第一采样电压由第一电压值下降到第二电压值所需要的时长进行计时,基于计时时长判断电子烟是否处于漏油状态。
请结合参见图21和图29,在本实施例中,在漏油检测时间段通过气流端SW检测电子烟是否处于漏油状态具体包括:
S310-3:接收第一采样电压为第一电压值的信息;
S320-3:触发对放电时长进行第二计时;
S330-3:判断第一采样电压是否下降到第二电压值;
S340-3:若判断结果为是,则将第二计时与第二预设时长进行比较并输出比较结果信息;
S350-3:根据所述比较结果判断电子烟是否处于漏油状态。
在本实施例中,若判断结果为否,则继续进行放电,并继续进行第二计时。
在本实施例中,在步骤S310-3之前还包括的步骤可以参见第十三实施例,在此不再赘述。
在本实施例中,请参见图30,步骤将第二计时与第二预设时长进行比较并输出比较结果信息具体包括:
S341-3:判断第二计时是否小于第二预设时长;
S342-3:若判断结果为是,则输出第一比较结果信息;
S343-3:若判断结果为否,则输出第二比较结果信息。
其中,第一比较结果信息表示电子烟处于漏油状态,第二比较结果信息表示电子烟不处于漏油状态。
另外,在本申请的其他实施例中,第二预设时长包括第一预设子时长和第二预设子时长,第一预设子时长小于第二预设子时长,对应的,第一比较结果信息包括第一子比较结果信息和第二子比较结果信息,步骤将第二计时与第一预设时长进行比较并输出比较结果信息具体包括:
判断所述第二计时是否小于第二预设子时长;
若判断结果为是,则判断所述第二计时是否小于第一预设子时长;
若判断结果为是,则输出电子烟处于漏油状态的第一子比较结果信息;
若判断结果为否,则输出电子烟处于漏油状态的第二子比较结果信息,其中,所述第二比较结果信息与所述第一比较结果信息相异;
若判断结果为否,则输出电子烟不处于漏油状态的第二比较结果信息。
其中,第一子比较结果信息表示漏油比较严重,第二子比较结果信息表示漏油不太严重。
对应于上面实施例的电子烟的漏油检测方法,图9示出了本申请实施例提供的漏油检测电路600的模块图,为了便于说明,仅示出了与本申请实施例相关的部分。
图9为本申请一实施例提供的漏油检测电路600的示意图。如图9所示,该实施例的漏油检测电路600 包括:至少一个处理器620(图9中仅示出一个)、存储器610以及存储在所述存储器610中并可在所述处理器620上运行的计算机程序,所述处理器620执行所述计算机程序时实现上述漏油检测方法实施例中的步骤。本领域技术人员可以理解,图9仅仅是漏油检测电路600的举例,并不构成对漏油检测电路600的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件,例如还可以包括输入输出设备、网络接入设备等。所称处理器620可以是中央处理单元(Central Processing Unit,CPU),该处理器620还可以是其他通用处理器620、数字信号处理器620(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-PrograMable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器620可以是微处理器620或者该处理器620也可以是任何常规的处理器620等。
所述存储器610在一些实施例中可以是漏油检测电路600的内部存储单元,例如漏油检测电路600的硬盘或内存。所述存储器610在另一些实施例中也可以是漏油检测电路600的外部存储设备,例如漏油检测电路600上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。进一步地,所述存储器610还可以既包括漏油检测电路600的内部存储单元也包括外部存储设备。所述存储器610用于存储操作系统、应用程序、引导装载程序(BootLoader)、数据以及其他程序等,例如所述计算机程序的程序代码等。所述存储器610还可以用于暂时地存储已经输出或者将要输出的数据。
本申请实施例还提供了一种存储介质,存储介质存储有计算机程序,计算机程序被处理器620执行时可实现上述漏油检测方法实施例中的步骤。
本申请实施例提供了一种计算机程序产品,当计算机程序产品在终端上运行时,使得终端执行时可实现上述漏油检测方法实施例中的步骤。
本申请实施例还提供一种气流传感器组件200,请参见图3和图18,包括:
电容式气流传感器210;
上述的漏油检测电路300,其中,所述漏油检测电路300与所述电容器气流传感器210连接。
本申请实施例还提供一种电子烟,包括:
上述的气流传感器组件200或者上述的漏油检测电路300;
电池110、发热元件120,其中,所述电池110、发热元件120均与所述漏油检测电路300连接。
第十五实施例
本申请的发明人经过长期研究发现,现有的电子烟的烟油漏到电容式气流传感器内后一般存在4种情形,分别请参见图1a-图1d,发明人经过大量产品拆解、分析、实验发现,烟油漏到电容式气流传感器主要的情形为图1c,漏油大部分是这种情形,其后分析原因,理由为:一般说来,电容式气流传感器的两个电极片之间的距离很小,一般范围为1μm-50μm,而烟油油滴比较大,远大于两个电极片之间的距离,从而烟油油滴通过气流通道滴落到气流传感器的两个电极片之间时,油滴大概率会连接两个电极片。由于烟油油滴类似于导体电阻,从而图1c的等效电路图如图2,也即电容式气流传感器并联了一个烟油电阻。另外,发明人还发现:当电子烟工作后,烟油雾化成气溶胶,气溶胶可能进入烟杆内,当气溶胶冷凝后成为烟油可能落在气流引脚处,可能导致气流引脚与电源供电引脚通过烟油连接(也可看做是漏油),其等效电路图也如图2的情形。本申请根据发明人的上述发现,可以将抽吸状态的检测与漏油状态的检测区隔开,而且可以共用气流端,以下描述具体的实施例来进行说明。
本申请实施例提供一种应用于电子烟的漏油检测方法,请结合参见图31、图33和图3,包括如下步骤:
S100-4:在抽吸检测时间段通过漏油检测电路300的气流端SW检测电子烟是否处于抽吸状态;
S200-4:在漏油检测时间段通过气流端SW检测电子烟是否处于漏油状态;
其中,漏油检测电路300以第一时长为周期进行漏油检测和抽吸检测,其中,第一时长包括抽吸检测时间段和漏油检测时间段,抽吸检测时间段和漏油检测时间段相异。
在本实施例中,漏油检测电路300包括电源供电端BAT、电源接地端GND、气流端SW、雾化端AT、功率开关M,其中,电源供电端BAT用于与电池110的正极连接,电源接地端GND用于与电池110的负极连接,电源接地端GND用于电性接地,气流端SW用于与电容式气流传感器Cs的一个电极连接,电容式气流传感器Cs的另一个电极与电源接地端GND连接,雾化端AT用于与发热元件120的一端连接,发热元件120的另一端与电源接地端GND或者电源供电端BAT连接,雾化端AT还用于与功率开关M的一端连接,功率开关M的另一端与电源供电端BAT或者电源接地端GND连接。
在本实施例中,按照电子烟是否被抽吸划分电子烟的状态,电子烟一般分为两种状态:抽吸状态和未抽吸状态,其中,未抽吸状态包括吹气状态、未吸吹状态,其中,抽吸状态对应用户抽吸电子烟时的状态,吹气状态对应用户向电子烟吹气时的状态,未吸吹状态对应电子烟既未被抽吸、也未被吹气时的状态,电子烟处于不同的状态时会执行不同的动作。在本实施例中,在抽吸检测时间段通过气流端SW检测电子烟 是否处于抽吸状态。
在本实施例中,在漏油检测时间段通过气流端SW检测电子烟是否处于漏油状态,本实施例主要利用漏油电阻RL的特性来辨别是否处于漏油状态,例如当电子烟有漏油时,此时存在与气流传感器Cs并联的漏油电阻RL,在漏油检测时间段无论如何对气流传感器Cs充电,即使充电很长时间段,气流端SW的电压也不会充的很高,当电子烟没有漏油时,此时不存在漏油电阻,在漏油检测时间段对气流传感器Cs进行充电,很快就会充电到电源供电端BAT的电压。当然还可以利用漏油电阻的其他特性来检测电子烟是否处于漏油状态。
在本实施例中,漏油检测电路300以第一时长为周期进行漏油状态检测和抽吸状态检测,其中,第一时长包括抽吸检测时间段、漏油检测时间段,抽吸检测时间段、漏油检测时间段在时间段上没有重叠,也即两者相异,也即抽吸状态检测和漏油状态检测不共用时间段。在本实施例中抽吸检测时间段和漏油检测时间段相邻设置,也即抽吸检测时间段的结束时刻就是漏油检测时间段的开始时刻,或者反过来;另外,在本申请的其他实施例中,抽吸检测时间段和漏油检测时间段还可以不相邻设置,也即还可以存在其他的时间段。
在本实施例中,第一时长包括一个抽吸检测时间段、一个漏油检测时间段,例如,第一时长为40ms,抽吸检测时间段的时长为30ms,漏油检测时间段的时长为10ms。当然,在本申请的其他实施例中,第一时长还可以包括多个抽吸检测时间段、一个漏油检测时间段,这样可以减少抽吸检测的响应时间,减少用户抽吸等待烟油雾化的时间。在本实施例中,第一时长的范围为小于或等于1秒且大于30ms,例如为40ms、50ms、60ms、70ms、80ms、90ms、100ms、200ms、300ms、400ms、500ms、600ms、700ms、800ms、900ms、1s。在本实施例中,漏油检测时间段的时长大于或等于100μs且小于200ms,例如漏油检测时间段的时长为100μs、500μs、1ms、5ms、10ms、20ms、30ms、40ms、50ms、60ms、70ms、80ms、90ms、100ms、150ms、190ms等;抽吸检测时间段的时长大于或等于10ms且小于200ms,例如为10ms、20ms、30ms、40ms、50ms、60ms、70ms、80ms、90ms、100ms、150ms、190ms等。
在本实施例中,由于第一时长包括抽吸检测时间段和漏油检测时间段,并以第一时长为周期进行抽吸状态的检测和漏油状态的检测,而且进行抽吸状态的检测和漏油状态的检测均利用了气流端SW,而且抽吸状态检测和漏油状态检测不共用时间段。从而本实施例的漏油检测方法对漏油状态的检测最多只需要一个第一时长,时间很短,发热元件120不会因为漏油而导致长时间误工作;而且,本实施例利用同一个气流端SW进行抽吸状态检测和漏油状态的检测,气流端SW实现分时复用,不需要对漏油检测电路300增设端子或者引脚,有利于降低成本。
在本实施例中,请参见图32,步骤S200-4具体包括:
S210-4:在漏油检测时间段通过气流端SW给电容式气流传感器Cs充电;
S220-4:触发对充电时长进行第一计时;
S230-4:判断第一计时是否大于或等于漏油检测时长;
S240-4:若判断结果为是,则采样气流端SW的电压以获取第一采样电压,并将第一采样电压与第一参考电压进行比较并输出比较结果信息,且接收比较结果信息并根据比较结果信息判断电子烟是否处于漏油状态。
在本实施例中,当电容式气流传感器Cs未存在连接两个电极的烟油时,且气流端SW与电源接地端GND(或者其他接地连接点)未存在连接两端的冷凝烟油时,此时气流端SW与电源接地端GND存在电容(气流传感器Cs),不存在与电容并联的漏油电阻RL,气流传感器Cs经过漏油检测时长的充电后,气流端SW的电压会充电到接近电源供电端BAT的电压或者与电源供电端BAT的电压相等,从而采样气流端SW的电压以获取第一采样电压,第一采样电压会较大;当电子烟漏油导致存在连接电容式气流传感器Cs的两个电极的烟油时,或者存在连接气流端SW与电源接地端GND的冷凝烟油时,此时气流端SW与电源接地端GND存在电容(气流传感器Cs),还存在与电容并联的漏油电阻,一般漏油电阻的阻值小于10兆欧,例如为8MΩ、5MΩ、4MΩ、2MΩ、1MΩ、800kΩ、500kΩ、300kΩ等,而由于漏油检测时长很长,因而气流传感器Cs的电容接近呈现直流特性,电容呈断开状态,其等效阻值很大,一般大于或等于20MΩ,例如为20MΩ、30MΩ、50MΩ、70MΩ、100MΩ、200MΩ或者更大,远远大于漏油电阻的阻值,从而并联电阻的阻值小于或接近等于漏油电阻的阻值,当充电经过漏油检测时长,由于充电电流已知,气流端SW的电压受漏油电阻的控制,一般气流端SW上的电压为漏油电阻上的电压,一般小于漏油电阻的阻值与充电电流的乘积,从而第一采样电压会较小,通过大量实验可以选出合适的第一参考电压,可以设计为当存在漏油时第一采样电压小于第一参考电压,当不存在漏油时第一采样电压大于或等于第一参考电压,从而通过将第一采样电压与第一参考电压进行比较并输出比较结果信息,根据比较结果信息就可以判断电子烟是否处于漏油状态。第一参考电压的范围例如为大于或等于1V且小于2.8V,例如为1V、1.5V、2V、2.5V等。在本实施例中,漏油检测时间段包括漏油检测时长,漏油检测时长一般大于或等于300μs,较佳大于或等于1ms,例如为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等,漏油检测时长一般小于200ms。
从而,当存在漏油时,也即处于漏油状态时,经过漏油检测时长的充电,此时气流端SW的电压会小于漏油电阻的阻值与第一电流的乘积,第一采样电压会小于第一参考电压,当不存在漏油时,经过漏油检测时长的充电,此时气流端SW的电压会到达电源供电端BAT的电压,第一采样电压会大于或等于第一参考电压,从而本申请通过将经过漏油检测时长充电后第一采样电压与第一参考电压进行比较,其后输出比较结果信息,根据比较结果信息就可以判断电子烟是否漏油,也即电容的两个电极之间是否存在将两者连接的烟油,或者是否存在将气流端SW与接地端连接的烟油,当漏油检测电路300判断电子烟存在漏油时,此时可以控制功率开关M保持断开截止。
另外,在本申请的其他实施例中,还可以通过侦测气流端SW与电源接地端GND的电阻信息来判断电子烟是否处于漏油状态,电阻信息用于表征气流端SW与电源接地端GND的电阻大小,此实施例的具体实现方式可以参照申请人同日申请的专利,该专利的内容也引入到本申请中,在此处不再赘述。另外,在本申请的其他实施例中,还可以在停止充电后,第一采样电压由第一电压值经过预设时长下降到第二电压值,基于第一电压值、第二电压值得到第一电压信息,将第一电压信息与预设的第一预设电压信息进行比较,并根据比较结果信息判断电子烟是否处于漏油状态;或者,在停止充电后,第一采样电压由第一电压值下降到第二电压值所经过的放电时长进行计时,将该计时时长与预设的时长进行比较,并根据比较结果判断电子烟是否处于漏油状态;也即利用是否存在漏油电阻导致气流传感器Cs放电速度的不同来判断电子烟是否处于漏油状态,此实施例的具体实现方式可以参照申请人同日申请的专利,该专利的内容也引入到本申请中,在此处不再赘述。
在本实施例中,按电子烟是否工作将漏油检测电路300分为待机状态和工作状态,这种分类方式为本领域的常规技术,在此不再赘述。
在本实施例中,第一时长按电子烟的不同工作状态分为第一工作时长、第一待机时长,其中,第一工作时长包括漏油检测时间段和抽吸检测时间段,第二工作时长包括漏油检测时间段、抽吸检测时间段和睡眠时间段,漏油检测方法包括:在睡眠时间段停止对电子烟是否处于抽吸状态及是否处于漏油状态进行检测。
在本实施例中,在工作状态,漏油检测电路300以第一工作时长为周期进行漏油状态检测和抽吸状态检测,在待机状态,漏油检测电路300以第一待机时长为周期进行漏油状态检测和抽吸状态检测,由于第一待机时长包括睡眠时间段,从而抽吸状态检测、漏油状态检测的频率会降低,待机功率可以得到降低,有利于降低待机功耗。为了进一步降低待机功耗,在本实施例中,在睡眠时间段,漏油检测电路300除了对睡眠时间段进行计时的单元工作外其他单元均停止工作,例如除基准振荡器、睡眠计时单元在工作外,漏油检测电路300的其他单元均停止工作,例如逻辑控制单元、基准电压产生单元等均停止工作。
在本实施例中,在待机状态控制漏油检测电路300的功率开关M保持断开截止,从而在待机状态发热元件120不会工作。也即只有在工作状态,功率开关M才可能开启导通,进而发热元件120工作以雾化烟油。
为了防止用户正常使用时漏油检测电路300还处于待机状态,造成用户的使用困扰,在本实施例中,漏油检测方法包括:在待机状态的抽吸检测时间段检测电子烟处于抽吸状态且在待机状态的漏油检测时间段检测电子烟不处于漏油状态,则控制漏油检测电路300由待机状态转为工作状态。其中,在同一个第一时长,在抽吸检测时间段检测到电子烟处于抽吸状态,在漏油检测时间段检测电子烟不处于漏油状态,则控制漏油检测电路300由待机状态转为工作状态,当只满足一个条件时,仍然保持处于待机状态,这样处理不会因为漏油误判为抽吸状态,而导致功率开关M可能开启导通。这样设置有利于电子烟长时间不使用时,烟油渗漏到气流传感器Cs中而处于漏油状态,漏油检测电路300会判定电子烟处于抽吸状态和漏油状态,在此种情况下仍然为待机状态,功率开关M仍然会保持断开,发热元件120不会工作,即使电子烟是放在比较偏僻的角落也不会产生安全隐患。
在本实施例中,当漏油检测电路300处于工作状态时,漏油控制方法包括:
在工作状态的抽吸检测时间段检测电子烟未处于抽吸状态时触发对未处于抽吸状态的时长进行第三计时;
当第三计时大于或等于第三预设时长时控制漏油检测电路300由工作状态转为待机状态。
在本实施例中,在工作状态,当处于用户正常抽吸电子烟的间隔时间时,电子烟不会立即进入待机状态,仍然保持为工作状态,当用户抽吸电子烟时,漏油检测电路300检测处于抽吸状态,漏油检测电路300会立即控制功率开关M开启导通,发热元件120会立即工作,很快就能雾化烟油供用户抽吸,不用等待待机状态到工作状态的转换,这样设置有利于提升用户的抽吸体验,同时第三计时进行复位置零。当漏油检测电路300判断处于未抽吸状态持续的时长大于或等于第三预设时长时,此时表示用户比较长时间没有进行抽吸,例如用户已经将电子烟收纳起来,则控制漏油检测电路300由工作状态转为待机状态。在本实施例中,第三预设时长例如大于或等于1分钟,较佳大于或等于5分钟且小于或等于1小时,例如第三预设时长为5min(分钟)、10min、20min、30min、40min、50min、60min等。
在本实施例中,当电子烟处于工作状态,且漏油检测电路300检测电子烟处于漏油状态时,则控制功 率开关M保持断开截止。在工作状态,即使漏油检测电路300将漏油误判为抽吸状态,在本次第一时长的漏油检测时间段或者最长在下次的第一时长的漏油检测时间段,漏油检测电路300就能检测电子烟处于漏油状态,从而可以控制功率开关M保持断开截止。也即,在本实施例中,由于漏油误判为抽吸状态导致发热元件120最长工作时长为第一时长,不会由于漏油导致发热元件120长时间工作,更不会引起火灾等安全问题。
对应于上面实施例的漏油检测方法,图33示出了本申请实施例提供的漏油检测电路300的模块图,为了便于说明,仅示出了与本申请实施例相关的部分,未描述的部分请参照上面的叙述。
请参见图33,在本实施例中,漏油检测电路300包括电源供电端BAT、电源接地端GND、气流端SW、雾化端AT、功率开关,其中,电源供电端BAT和电源接地端GND对应用于与电池110的正负、极连接,气流端SW用于与电容式气流传感器Cs的一个电极连接,电源接地端GND还用于与电容式气流传感器Cs的另一电极连接,雾化端AT用于与发热元件120的一端连接,发热元件120的另一端与电源接地端GND或者电源供电端BAT连接,雾化端AT还用于与功率开关M的一端连接,功率开关M的另一端与电源供电端BAT或者电源接地端GND连接。漏油检测电路300还包括:
抽吸检测模块350,其用于在抽吸检测时间段通过漏油检测电路300的气流端SW检测电子烟是否处于抽吸状态;
漏油检测模块,其用于在漏油检测时间段通过气流端SW检测电子烟是否处于漏油状态。
在本申请一实施例中,漏油检测模块包括:
电流源360,其用于在漏油检测时间段通过气流端SW给电容式气流传感器Cs充电;
第一计时单元330,其用于触发对充电时长进行第一计时;
计时判断单元320,其用于判断第一计时是否大于或等于漏油检测时长;
漏油检测单元310,其用于若判断结果为是,则采样气流端SW的电压以获取第一采样电压,并将第一采样电压与第一参考电压进行比较并输出比较结果信息;
漏油控制单元340,其用于若判断结果为是,则接收比较结果信息并根据比较结果信息判断电子烟是否处于漏油状态。
在本实施例中,功率开关M的控制端与漏油控制单元340连接。在本实施例中,抽吸检测模块350与漏油控制单元340连接。
在本实施例中,漏油检测电路300位于同一个芯片上,一般称为电子烟专用芯片,此时电源供电端BAT为电源供电引脚,电源接地端GND为电源接地引脚,气流端SW为气流引脚,雾化端AT为雾化引脚。另外,在本申请的其他实施例中,漏油检测电路300还可以除功率开关M之外的电路位于同一个芯片上,功率开关M位于另一个芯片上,两个芯片可以封装在一起,也可以不封装在一起。
请结合参见图33、图3,本申请实施例还提供一种气流传感器组件200,包括:
电容式气流传感器Cs;
上述的漏油检测电路300,其中,漏油检测电路300与电容器气流传感器Cs连接。
本申请实施例还提供一种电子烟,包括:
上述的气流传感器组件200或者上述的漏油检测电路300;
电池110、发热元件120,其中,电池110、发热元件120均与漏油检测电路300连接。
对应于上面实施例的电子烟的漏油检测方法,图9示出了本申请实施例提供的漏油检测电路600的模块图,为了便于说明,仅示出了与本申请实施例相关的部分。
图9为本申请一实施例提供的漏油检测电路600的示意图。如图9所示,该实施例的漏油检测电路600包括:至少一个处理器620(图9中仅示出一个)、存储器610以及存储在所述存储器610中并可在所述处理器620上运行的计算机程序,所述处理器620执行所述计算机程序时实现上述漏油检测方法实施例中的步骤。本领域技术人员可以理解,图9仅仅是漏油检测电路600的举例,并不构成对漏油检测电路600的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件,例如还可以包括输入输出设备、网络接入设备等。所称处理器620可以是中央处理单元(Central Processing Unit,CPU),该处理器620还可以是其他通用处理器620、数字信号处理器620(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-PrograMable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器620可以是微处理器620或者该处理器620也可以是任何常规的处理器620等。
所述存储器610在一些实施例中可以是漏油检测电路600的内部存储单元,例如漏油检测电路600的硬盘或内存。所述存储器610在另一些实施例中也可以是漏油检测电路600的外部存储设备,例如漏油检测电路600上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD) 卡,闪存卡(Flash Card)等。进一步地,所述存储器610还可以既包括漏油检测电路600的内部存储单元也包括外部存储设备。所述存储器610用于存储操作系统、应用程序、引导装载程序(BootLoader)、数据以及其他程序等,例如所述计算机程序的程序代码等。所述存储器610还可以用于暂时地存储已经输出或者将要输出的数据。
本申请实施例还提供了一种存储介质,存储介质存储有计算机程序,计算机程序被处理器620执行时可实现上述漏油检测方法实施例中的步骤。
本申请实施例提供了一种计算机程序产品,当计算机程序产品在终端上运行时,使得终端执行时可实现上述漏油检测方法实施例中的步骤。
第十六实施例
本申请的发明人经过长期研究发现,现有的电子烟的烟油漏到电容式气流传感器内后一般存在4种情形,分别请参见图1a-图1d,发明人经过大量产品拆解、分析、实验发现,烟油漏到电容式气流传感器主要的情形为图1c,漏油大部分是这种情形,其后分析原因,理由为:一般说来,电容式气流传感器的两个电极片之间的距离很小,一般范围为1μm-50μm,而烟油油滴比较大,远大于两个电极片之间的距离,从而烟油油滴通过气流通道滴落到气流传感器的两个电极片之间时,油滴大概率会连接两个电极片。由于烟油油滴类似于导体电阻,从而图1c的等效电路图如图2,也即电容式气流传感器并联了一个烟油电阻。另外,发明人还发现:当电子烟工作后,烟油雾化成气溶胶,气溶胶可能进入烟杆内,当气溶胶冷凝后成为烟油可能落在安装控制芯片的电路板上,有可能落到控制芯片的气流引脚处,请参见图1e,可能导致气流引脚与地通过烟油连接(也可看做是漏油),其等效电路图也如图2的情形。本申请根据发明人的上述发现,可以将抽吸状态的检测与漏油状态的检测区隔开,而且可以共用气流端,以下描述具体的实施例来进行说明。
本申请实施例提供一种应用于电子烟的漏油检测方法,请结合参见图34、图39和图3,包括如下步骤:
S100-5:在抽吸检测时间段通过漏油检测电路300的气流端SW对电子烟是否处于抽吸状态进行检测;
在本实施例中,漏油检测电路300包括电源供电端BAT、电源接地端GND、气流端SW、雾化端AT、功率开关M,其中,电源供电端BAT用于与电池110的正极连接,电源接地端GND用于与电池110的负极连接,电源接地端GND用于电性接地,气流端SW用于与电容式气流传感器Cs的一个电极连接,电容式气流传感器Cs的另一个电极与电源接地端GND连接,雾化端AT用于与发热元件120的一端连接,发热元件120的另一端与电源接地端GND或者电源供电端BAT连接,雾化端AT还用于与功率开关M的一端连接,功率开关M的另一端与电源供电端BAT或者电源接地端GND连接。
在本实施例中,按照电子烟是否被抽吸划分电子烟的状态,电子烟一般分为两种状态:抽吸状态和未抽吸状态,其中,未抽吸状态包括吹气状态、未吸吹状态,其中,抽吸状态对应用户抽吸电子烟时的状态,吹气状态对应用户向电子烟吹气时的状态,未吸吹状态对应电子烟既未被抽吸、也未被吹气时的状态,电子烟处于不同的状态时会执行不同的动作。
在本实施例中,漏油检测电路300包括抽吸检测模块,抽吸检测模块用于在抽吸检测时间段通过气流端SW检测电子烟是否处于抽吸状态,当检测到处于抽吸状态时,抽吸检测模块输出抽吸信息,当检测到处于未抽吸状态时,抽吸检测模块输出吹气信息或者未吸吹信息,其中,吹气信息用于表征电子烟处于吹气状态,未吸吹信息用于表征电子烟处于未吸吹状态。
S200-5:接收抽吸信息;
S300-5:触发通过漏油检测电路300的气流端SW对电子烟是否处于漏油状态进行检测。
一般说来,当用户正常抽吸电子烟时,此时气流传感器Cs的电容会变化,例如会变大,抽吸检测模块会判断电子烟处于抽吸状态;当电子烟漏油时,此时气流传感器Cs的电容也会变化,而且跟用户正常抽吸的变化是接近一样的,例如电容也会变大,抽吸检测模块也会误判电子烟处于抽吸状态。从而,当抽吸检测模块判断电子烟处于抽吸状态时,此时存在两种情况,用户正常的抽吸和电子烟漏油。本实施例利用电子烟处于漏油状态时抽吸检测模块必然判定电子烟处于抽吸状态,而且通过漏油电阻RL进行漏油状态的检测,从而可以与抽吸状态的检测区隔开,在抽吸检测模块检测到电子烟处于抽吸状态后才触发进一步进行漏油检测,这样设置判断电子烟是否处于漏油状态的时间很短,而且不需要每次抽吸检测后都配合进行漏油检测,极大的降低了漏油检测对电子烟正常工作的影响。
在本实施例中,漏油检测电路300还包括漏油检测模块,漏油检测模块与抽吸检测模块连接,漏油检测模块用于接收抽吸检测模块输出的信息,漏油检测模块用于通过气流端SW对电子烟是否处于漏油状态进行检测。在本实施例中,当漏油检测模块接收到吹气信息或者未吸吹信息时,漏油检测模块不被触发进行漏油状态的检测,当漏油检测模块接收到抽吸信息时,漏油检测模块被触发通过气流端SW对电子烟是否处于漏油状态进行检测。
本实施例通过接收抽吸信息后,才触发通过气流端SW对电子烟是否处于漏油状态进行检测。这样设置当电子烟处于未抽吸状态时,此时电子烟必然不会存在漏油的情形,不用对电子烟是否处于漏油状态进行检测,极大的降低了漏油检测对抽吸检测的影响,对用户的正常使用影响较小,而且减少了无用的漏油检测的时间,降低了能耗;而且,即使是出现漏油,误判为抽吸状态的时间很短,很快就被触发进行漏油状态的检测,可以检测出电子烟处于漏油状态,不会出现背景技术中提到的长时间将漏油状态误判为抽吸状态的问题,导致发热元件120长时间工作的问题,从而出现安全问题的几率很小。
在本实施例中,在对电子烟是否处于漏油状态检测完成后,又回到下一个周期的抽吸检测。具体而言,在本实施例中,漏油检测电路300以第二时长为周期进行抽吸检测,其中,第二时长包括抽吸检测时间段,也即第二时长大于或等于抽吸检测时间段的时长。在对漏油状态进行检测的时间段暂停下一个第二时长的开启,也即暂停下一个周期的开始,漏油检测为插入的一个突发事件,当漏油检测完成后,下一个第二时长才会又开启。另外,在本申请的其他实施例中,第二时长还包括空白时间段,漏油检测方法还包括:在空白时间段停止对电子烟是否处于抽吸状态及是否处于漏油状态进行检测,在对漏油状态进行检测的时间段暂停对第二时长的计时,也即此时空白时间段暂停开启,插入的漏油检测的时间段(漏油检测时间段)位于抽吸检测时间段和空白时间段之间;当漏油检测完成后,空白时间段恢复开启,第二时长继续计时,当空白时间段完成后,又进行下一个第二时长的抽吸检测,在此处,由于第二时长包括空白时间段,在空白时间段不需要对抽吸状态和漏油状态进行检测,有利于降低功耗。
在本实施例中,请参见图35,在步骤S300-5之后还包括:
S400-5:输出电子烟处于漏油状态的信息;
S510-5:再次接收抽吸信息;
S610-5:禁止对电子烟是否处于漏油状态进行检测。
在本实施例中,经过漏油状态的检测,当漏油检测模块判定为处于漏油状态时,漏油检测模块输出电子烟处于漏油状态的信息,此后,抽吸检测模块又进行抽吸检测,由于电子烟处于漏油状态,从而必然抽吸检测模块会误判电子烟处于抽吸状态,此时漏油检测模块又会再次接收到抽吸信息,此时不会触发漏油检测模块对电子烟是否处于漏油状态进行检测,也即第二时长不会插入对漏油检测的时间段,也即禁止对电子烟是否处于漏油状态进行检测,其后进入下一个第二时长。本实施例通过如此设置,可以减少无意义的漏油检测,也可以减少漏油检测占用的时间,减少资源、能源的浪费。另外,在本申请的其他实施例中,当检测到电子烟处于漏油状态时,此后可以不对电子烟处于抽吸状态还是漏油状态进行检测,并通过电子烟的指示灯指示电子烟处于漏油状态,电子烟不再工作。
在本实施例中,请继续参见图35,在步骤S400-5之后还包括:
S520-5:接收电子烟处于未抽吸状态的信息;
S620-5:解除对电子烟是否处于漏油状态进行检测的禁止。
当电子烟处于漏油状态后,通过各种解决方案,例如用户用力甩动电子烟,漏油状态可能被解除,此时电子烟恢复正常,经过抽吸检测时间段的抽吸检测,抽吸检测模块输出电子烟处于未抽吸状态的信息,漏油检测模块接收到该信息,漏油检测模块被解除对电子烟是否处于漏油状态进行检测的禁止,也即漏油检测模块后续接收到抽吸信息后,漏油检测模块又会被触发进行漏油状态检测。这样设置有利于对恢复正常的电子烟后续又可以进行漏油检测。
在本申请的其他实施例中,当漏油检测模块判断电子烟处于漏油状态时,此后降低抽吸检测的频率,第二时长增长,例如此时第二时长包括空白时间段,这样设置有利于降低功耗;当漏油检测模块判断电子烟未处于漏油状态时,第一时长按照正常的频率进行抽吸状态的检测,例如此时第二时长不包括空白时间段,此时第二时长包括抽吸检测时间段。
在本实施例中,请参见图36,步骤S300-5之后还包括:
S710-5:输出电子烟未处于漏油状态的信息;
S720-5:禁止对电子烟是否处于漏油状态进行检测;
S730-5:触发对禁止时长进行第二计时;
S740-5:判断第二计时是否大于或等于第二预设时长;
S750-5:若判断结果为是,则解除对电子烟是否处于漏油状态进行检测的禁止。
在本实施例中,当漏油检测模块接收到抽吸信息,其后漏油检测模块进行漏油检测,当漏油检测模块输出电子烟未处于漏油状态的信息,此时大概率表示是用户正常抽吸电子烟,而一般用户正常抽吸电子烟不会抽一次就结束,而是在一段时间内密集抽吸,在这段时间内抽一次,然后停一些时间,接着再抽吸,又停一些时间,…。可知,在这段时间是用户正常的抽吸,漏油检测模块在这段时间接收到抽吸信息时,可以不用被触发进行漏油检测,这样处理可以减少由于漏油检测而导致抽吸检测的延迟,不影响用户的使用体验。
在本实施例中,当漏油检测模块输出电子烟未处于漏油状态的信息时,漏油检测电路300禁止漏油检 测模块对电子烟是否处于漏油状态进行检测,并触发对禁止时长进行第二计时,当第二计时大于或等于第二预设时长时,则解除对电子烟是否处于漏油状态进行检测的禁止,也即此后,当再次接收到抽吸信息时,又会被触发进行漏油检测。当第二计时小于第二预设时长时,即使漏油检测模块再次接收到抽吸信息,漏油检测模块也不会被触发对漏油状态进行检测。在本实施例中,第二预设时长例如为大于或等于10min(分钟)且小于或等于60min,例如第二预设时长为10min、20min、30min、40min、50min、60min等。
另外,在本申请的其他实施例中,在步骤S300-5之后还包括:
输出电子烟未处于漏油状态的信息;
禁止对电子烟是否处于漏油状态进行检测;
接收电子烟处于未抽吸状态的信息;
解除对电子烟是否处于漏油状态进行检测的禁止。
其中,经过漏油状态的检测,当漏油检测模块判定为未处于漏油状态时,漏油检测模块输出电子烟未处于漏油状态的信息,此时表示用户在正常使用,为了节省抽吸检测的间隔时间,此后禁止对电子烟是否处于漏油状态进行检测,当漏油检测模块接收到电子烟处于未抽吸状态的信息时,解除对电子烟是否处于漏油状态进行检测的禁止,也即在禁止进行漏油检测的时间段,当漏油检测模块一直接收电子烟处于抽吸状态的信息时,一直禁止进行漏油检测,当漏油检测模块接收到处于未抽吸状态的信息时,漏油检测模块解除对电子烟是否处于漏油状态进行检测的禁止,也即再次接收到抽吸信息时,触发通过气流端对电子烟是否处于漏油状态进行检测。
在本实施例中,请参见图37,步骤S300-5具体包括:
S310-5:触发通过气流端SW给电容式气流传感器Cs充电;
S320-5:触发对充电时长进行第一计时;
S330-5:判断第一计时是否大于或等于漏油检测时长;
S340-5:若判断结果为是,则采样气流端SW的电压以获取第一采样电压,并将第一采样电压与第一参考电压进行比较并输出比较结果信息,且根据比较结果信息判断电子烟是否处于漏油状态。
在本实施例中,当电容式气流传感器Cs未存在连接两个电极的烟油时,且气流端SW与电源接地端GND(或者其他接地连接点)未存在连接两端的冷凝烟油时,此时气流端SW与电源接地端GND存在电容(气流传感器Cs),不存在与电容并联的漏油电阻RL,气流传感器Cs经过漏油检测时长的充电后,气流端SW的电压会充电到接近电源供电端BAT的电压或者与电源供电端BAT的电压相等,从而采样气流端SW的电压以获取第一采样电压,第一采样电压会较大;当电子烟漏油导致存在连接电容式气流传感器Cs的两个电极的烟油时,或者存在连接气流端SW与电源接地端GND的冷凝烟油时,此时气流端SW与电源接地端GND存在电容(气流传感器Cs),还存在与电容并联的漏油电阻RL,一般漏油电阻RL的阻值小于10兆欧,例如为8MΩ、5MΩ、4MΩ、2MΩ、1MΩ、800kΩ、500kΩ、300kΩ等,而由于漏油检测时长很长,因而气流传感器Cs的电容接近呈现直流特性,电容呈断开状态,其等效阻值很大,一般大于或等于20MΩ,例如为20MΩ、30MΩ、50MΩ、70MΩ、100MΩ、200MΩ或者更大,远远大于漏油电阻RL的阻值,从而并联电阻的阻值小于或接近等于漏油电阻RL的阻值,当充电经过漏油检测时长,由于充电电流已知,气流端SW的电压受漏油电阻RL的控制,一般气流端SW上的电压为漏油电阻RL上的电压,一般小于漏油电阻RL的阻值与充电电流的乘积,从而第一采样电压会较小,通过大量实验可以选出合适的第一参考电压,可以设计为当存在漏油时第一采样电压小于第一参考电压,当不存在漏油时第一采样电压大于或等于第一参考电压,从而通过将第一采样电压与第一参考电压进行比较并输出比较结果信息,根据比较结果信息就可以判断电子烟是否处于漏油状态。第一参考电压的范围例如为大于或等于1V且小于2.8V,例如为1V、1.5V、2V、2.5V等。在本实施例中,漏油检测时长一般大于或等于300μs,较佳大于或等于1ms,例如为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等,漏油检测时长一般小于200ms。
从而,当存在漏油时,也即处于漏油状态时,经过漏油检测时长的充电,此时气流端SW的电压会小于漏油电阻RL的阻值与第一电流的乘积,第一采样电压会小于第一参考电压,当不存在漏油时,经过漏油检测时长的充电,此时气流端SW的电压会到达电源供电端BAT的电压,第一采样电压会大于或等于第一参考电压,从而本申请通过将经过漏油检测时长充电后第一采样电压与第一参考电压进行比较,其后输出比较结果信息,根据比较结果信息就可以判断电子烟是否漏油,也即电容的两个电极之间是否存在将两者连接的烟油,或者是否存在将气流端SW与接地端连接的烟油,当漏油检测电路300判断电子烟存在漏油时,此时可以控制功率开关M保持断开截止。本实施例利用同一个气流端SW进行抽吸状态检测和漏油状态的检测,气流端SW实现分时复用,不需要对漏油检测电路300增设端子或者引脚,有利于降低成本。
另外,在本申请的其他实施例中,还可以通过侦测气流端SW与电源接地端GND的电阻信息来判断电子烟是否处于漏油状态,电阻信息用于表征气流端SW与电源接地端GND的电阻大小,此实施例的具体实现方式可以参照申请人同日申请的专利,该专利申请的内容也引入到本申请中,在此处不再赘述。另外,在本申请的其他实施例中,还可以在停止充电后,第一采样电压由第一电压值经过预设时长下降到第二电 压值,基于第一电压值、第二电压值得到第一电压信息,将第一电压信息与预设的第一预设电压信息进行比较,并根据比较结果信息判断电子烟是否处于漏油状态;或者,在停止充电后,第一采样电压由第一电压值下降到第二电压值所经过的放电时长进行计时,将该计时时长与预设的时长进行比较,并根据比较结果判断电子烟是否处于漏油状态;也即利用是否存在漏油电阻RL导致气流传感器Cs放电速度的不同来判断电子烟是否处于漏油状态,此实施例的具体实现方式可以参照申请人同日申请的专利,该专利申请的内容也引入到本申请中,在此处不再赘述。
在本实施例中,漏油检测方法还包括:在对电子烟是否处于漏油状态进行检测的时间段控制充放电开关Kc保持断开截止。
其中,一般说来,漏油检测电路300还包括充放电开关Kc,充放电开关Kc的第一端与气流端SW连接,充放电开关Kc的第二端与电源接地端GND连接,也即充放电开关Kc与气流传感器Cs并联,在对电子烟是否处于漏油状态进行检测的时间段使充放电开关Kc保持断开截止,这样设置可以防止充放电开关Kc导通对漏油检测造成不利影响。
在本实施例中,请参见图38,步骤S100-5具体包括:
S110-5:在抽吸检测时间段通过气流端SW给电容式气流传感器Cs充电;
S120-5:实时采样获取气流端SW的电压以获得第二采样电压;
S130-5:判断第二采样电压是否大于或等于第二预设参考电压;
S140-5:若判断结果为是,则进行累计计数以获得当前计数值,且控制充放电开关Kc导通以进行放电;
S150-5:若判断结果为否,则控制充放电开关Kc断开截止以继续进行充电;
S160-5:经过抽吸检测时间段判断当前计数信息是否小于预设的计数阈值,其中,当前计数信息基于当前计数值获得;
S170-5:若判断结果为是,则输出抽吸信息。
其中,在抽吸检测时间段开始后,通过气流端SW给电容式气流传感器Cs充电,实时判断第二采样电压是否大于或等于第二预设参考电压,若判断结果为是,则进行累计计数以获得当前计数值,且控制充放电开关Kc导通以进行放电,由于充放电开关Kc导通时会将气流传感器Cs两端短接,瞬间就会将气流端SW的电压放到0,其后第二采样电压会小于等于第二预设参考电压,充放电开关Kc断开截止,又进行新一轮的充电,重复对气流传感器Cs进行充电、放电,直到经过抽吸检测时间段,抽吸判断单元323判断当前计数信息是否小于预设的计数阈值,若判断结果为是,则抽吸判断单元323输出电子烟处于抽吸状态的信息;若判断结果为否,则抽吸判断单元323输出电子烟处于未抽吸状态的信息。在本实施例中,当前计数信息可以为当前计数值、当前计数值与基准计数值(预设或者在未吸吹状态经过抽吸检测时间段的计数获得)的差值、差值与基准计数值的比值等,计数阈值对应设置,例如计数阈值为970、30、3%等。对电子烟是否处于抽吸状态进行检测为本领域的常规技术,在此不再赘述。
在本实施例中,在步骤S300-5之后还包括:
输出电子烟处于漏油状态的信息;
对应增大或减小所述计数阈值,以降低误判为抽吸状态的几率。
其中,当电子烟处于漏油状态后,为了降低将漏油误判为抽吸状态的几率,对应增大或减小计数阈值,例如将计数阈值由970减小到950,将计数阈值由30增大到60,将计数阈值由3%增大到6%,通过如此设置,可以减低将漏油时误判为抽吸状态的几率,有利于提升安全性。
为了防止信号扰动、气流串扰而造成抽吸检测模块的误判,进而导致触发漏油检测模块的无效工作,在本申请的其他实施例中,步骤触发通过气流端SW对电子烟是否处于漏油状态进行检测具体包括:
对抽吸信息持续的时长进行第三计时;
判断第三计时是否大于或等于第三预设时长;
若判断结果为是,则触发通过气流端SW对电子烟是否处于漏油状态进行检测。
其中,漏油检测模块包括第三计时单元和第三时长判断单元,第三计时单元与抽吸检测单元连接,第三时长判断单元与第三计时单元连接。当第三计时单元接收到抽吸信息时,第三计时单元被触发开始计时,当第三计时单元计时大于或等于第三预设时长时,第三时长判断单元输出漏油检测信号,漏油控制检测单元进行漏油状态的检测;当第三计时单元尚未计时到第三预设时长时,抽吸检测单元输出未抽吸信号时,此时第三计时单元进行复位置零。在本实施例中,第三预设时长例如为60μs、90μs、100μs、150μs、200μs等,第三预设时长小于1s。此实施例通过对抽吸信息持续的时长进行判断,可以防止信号扰动、气流串扰而导致误触发漏油检测。
对应于上面实施例的漏油检测方法,图39示出了本申请实施例提供的漏油检测电路300的电路模块图,为了便于说明,仅示出了与本申请实施例相关的部分,未描述的部分请参照上面的叙述。
请结合参见图39和图3,在本实施例中,漏油检测电路300包括电源供电端BAT、电源接地端GND、 气流端SW、雾化端AT、功率开关M,其中,电源供电端BAT和电源接地端GND对应用于与电池110的正、负极连接,气流端SW用于与电容式气流传感器Cs的一个电极连接,电源接地端GND还用于与电容式气流传感器Cs的另一电极连接,雾化端AT用于与发热元件120的一端连接,发热元件120的另一端与电源接地端GND或者电源供电端BAT连接,雾化端AT还用于与功率开关M的一端连接,功率开关M的另一端与电源供电端BAT或者电源接地端GND连接。
在本实施例中,漏油检测电路300还包括:
抽吸检测模块,其用于在抽吸检测时间段通过气流端SW对电子烟是否处于抽吸状态进行检测;
漏油检测模块,其用于接收抽吸信息,其中,抽吸信息用于表征电子烟处于抽吸状态;漏油检测模块还用于被触发通过漏油检测电路300的气流端SW对电子烟是否处于漏油状态进行检测。
在本申请一实施例中,漏油检测模块包括:
第一电流源315,其用于通过气流端SW给电容式气流传感器Cs充电;
第一计时单元313,其用于触发对充电时长进行第一计时;
第一计时判断单元312,其用于判断第一计时是否大于或等于漏油检测时长;
漏油检测单元311,其用于若判断结果为是,则采样气流端SW的电压以获取第一采样电压,并将第一采样电压与第一参考电压进行比较并输出比较结果信息;
漏油控制单元314,其用于若判断结果为是,则根据比较结果信息判断电子烟是否处于漏油状态。
在本申请一实施例中,抽吸检测模块包括:
第二电流源324,其用于在抽吸检测时间段通过气流端SW给电容式气流传感器Cs充电;
第二电压比较单元321,其用于实时采样获取气流端SW的电压以获得第二采样电压,并判断第二采样电压是否大于或等于第二预设参考电压;
第二计数单元322,其用于若第二电压比较单元321的判断结果为是,则进行累计计数以获得当前计数值;
充放电开关Kc,其用于若第二电压比较单元321的判断结果为是,则导通以进行放电;其还用于若第二电压比较单元321的判断结果为否,则保持断开截止以继续充电。其中,充放电开关Kc的第一端与气流端SW连接,充放电开关Kc的第二端与电源接地端GND连接;
抽吸判断单元323,其与第二计数单元322连接,其用于经过抽吸检测时间段判断当前计数信息是否小于预设的计数阈值,其中,当前计数信息基于当前计数值获得;
所处抽吸判断单元323还用于若判断结果为是,则输出抽吸信息,若判断结果为否,则输出未抽吸信息。
在本实施例中,第一电流源315和第二电流源324为不同的电流源,但本申请不限于此,在本申请的其他实施例中,第一电流源315和第二电流源324还可以为同一个电流源。
在本实施例中,漏油检测电路300位于同一个芯片上,一般称为电子烟专用芯片,此时电源供电端BAT为电源供电引脚,电源接地端GND为电源接地引脚,气流端SW为气流引脚,雾化端AT为雾化引脚。另外,在本申请的其他实施例中,漏油检测电路300还可以除功率开关M之外的电路位于同一个芯片上,功率开关M位于另一个芯片上,两个芯片可以封装在一起,也可以不封装在一起。
请继续参见图39、图3,本申请实施例还提供一种气流传感器Cs组件200,包括:
电容式气流传感器Cs;
漏油检测电路300,其中,漏油检测电路300与电容器气流传感器Cs连接。
本申请实施例还提供一种电子烟,包括:
气流传感器Cs组件200;
电池110、发热元件120,其中,电池110、发热元件120均与气流传感器Cs组件200的漏油检测电路300连接。
对应于上面实施例的电子烟的漏油检测方法,图9示出了本申请实施例提供的漏油检测电路600的模块图,为了便于说明,仅示出了与本申请实施例相关的部分。
图9为本申请一实施例提供的漏油检测电路600的示意图。如图9所示,该实施例的漏油检测电路600包括:至少一个处理器620(图9中仅示出一个)、存储器610以及存储在所述存储器610中并可在所述处理器620上运行的计算机程序,所述处理器620执行所述计算机程序时实现上述漏油检测方法实施例中的步骤。本领域技术人员可以理解,图9仅仅是漏油检测电路600的举例,并不构成对漏油检测电路600的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件,例如还可以包括输入输出设备、网络接入设备等。所称处理器620可以是中央处理单元(Central Processing Unit,CPU),该处理器620还可以是其他通用处理器620、数字信号处理器620(Digital Signal Processor,DSP)、专用集成电路(Applicion Specific Integred Circuit,ASIC)、现成可编程门阵列(Field-PrograMable Ge Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器620 可以是微处理器620或者该处理器620也可以是任何常规的处理器620等。
所述存储器610在一些实施例中可以是漏油检测电路600的内部存储单元,例如漏油检测电路600的硬盘或内存。所述存储器610在另一些实施例中也可以是漏油检测电路600的外部存储设备,例如漏油检测电路600上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。进一步地,所述存储器610还可以既包括漏油检测电路600的内部存储单元也包括外部存储设备。所述存储器610用于存储操作系统、应用程序、引导装载程序(BootLoader)、数据以及其他程序等,例如所述计算机程序的程序代码等。所述存储器610还可以用于暂时地存储已经输出或者将要输出的数据。
本申请实施例还提供了一种存储介质,存储介质存储有计算机程序,计算机程序被处理器620执行时可实现上述漏油检测方法实施例中的步骤。
本申请实施例提供了一种计算机程序产品,当计算机程序产品在终端上运行时,使得终端执行时可实现上述漏油检测方法实施例中的步骤。
第十七实施例
本申请实施例提供的电子烟,请参见图40,电子烟包括电池110、发热元件120、气流传感器组件200等。其中,电池110、发热元件120分别与气流传感器组件200连接,发热元件120例如为发热丝、加热丝、包含发热丝或者加热丝的陶瓷座、或者其他常规的发热元件120,电池110例如为可充电电池或者不可充电电池,可充电电池例如为锂离子电池、镍镉电池、镍氢电池、锂聚合物电池、铅酸电池等,电池110的工作电压范围一般为小于5V且大于2V,例如为3.2V-4.2V、3.2V-4.45V、2.6V-4.2V等。
在本实施例中,气流传感器组件200包括电容式气流传感器Cs和漏油管控电路300。其中,电容式气流传感器Cs包括电容式MEMS传感器、电容式咪头等,本申请中电容式气流传感器Cs实质上为一个可随气流变化的电容;漏油管控电路300包括电源供电端BAT、电源接地端GND、气流端SW、雾化端AT,其中,电源供电端BAT与电池110的正极连接,电源接地端GND与电池110的负极连接,电源接地端GND用于电性接地,气流端SW与电容式气流传感器Cs的一个电极连接,电容式气流传感器Cs的另一个电极与电源接地端GND连接,雾化端AT与发热元件120的一端连接,发热元件120的另一端与电源接地端GND或者电源供电端BAT连接。
在本实施例中,漏油管控电路300包括功率开关M,功率开关M的一端与电源供电端BAT或者电源接地端GND连接,功率开关M的另一端与雾化端AT连接以与发热元件120串联,从而功率开关M与发热元件120串联,根据电子烟的状态,功率开关M被控制开启导通或者断开截止,进而发热元件120进行加热或者停止加热。在本实施例中,功率开关M为PMOS管,PMOS管的一端与电源供电端BAT连接。在本申请的其他实施例中,功率开关M还可以为NMOS管,NMOS管的一端与电源接地端GND连接。在本实施例中,漏油管控电路300位于同一个芯片上,一般称为电子烟专用芯片,此时电源供电端BAT为电源供电引脚,电源接地端GND为电源接地引脚,气流端SW为气流引脚,雾化端AT为雾化引脚。另外,在本申请的其他实施例中,漏油管控电路300还可以除功率开关M之外的电路位于同一个芯片上,功率开关M位于另一个芯片上,两个芯片可以封装在一起,也可以不封装在一起。
本申请的发明人经过长期研究发现,当电子烟工作后,烟油雾化成气溶胶,气溶胶可能进入烟杆内,当气溶胶冷凝后成为烟油可能落在气流端SW处,请参见图1e,此时其等效电路图如图2所示,相当于电容式气流传感器Cs并联了一个漏油电阻RL。在进行抽吸状态检测时,漏油电阻RL会存在漏电,漏油电阻RL的漏电最终可能导致被误判为电子烟处于抽吸状态,进而引起安全问题。为了解决该问题,本申请的发明人提出以下解决方案,可以降低用户的持有成本。
本申请实施例提供一种应用于电子烟的漏油管控方法,请参见图41,包括以下步骤:
S110-6:接收电子烟处于漏油状态的信息;
在本实施例中,电子烟是否处于漏油状态通过提前检测获得,本实施例通过直接或间接检测气流端SW与电源接地端GND之间的电阻值来确定是否处于漏油状态。
具体说来,请结合参见图2,当气流端SW与电源接地端GND(或者其他接地连接点)未存在连接两端的冷凝烟油时,此时气流端SW与电源接地端GND存在电容(气流传感器Cs),不存在与电容并联的漏油电阻RL,此时电容的等效阻值会很大,一般大于或等于20MΩ,例如为20MΩ、30MΩ、50MΩ、70MΩ、100MΩ、200MΩ或者更大;当电子烟存在连接气流端SW与电源接地端GND的冷凝烟油时,此时气流端SW与电源接地端GND存在电容,还存在与电容并联的漏油电阻RL,一般漏油电阻RL的阻值小于10兆欧,例如为8MΩ、5MΩ、4MΩ、2MΩ、1MΩ、800kΩ、500kΩ、300kΩ等,由于电容的等效电阻会远远大于漏油电阻RL的阻值,从而并联电阻的阻值小于或接近等于漏油电阻RL的阻值;而且,漏油状态的严重程度是与漏油电阻RL的阻值成相关性,漏油越严重,漏油电阻RL的阻值越小,并联电阻的阻值越小,从而,本实施例可以直接或间接基于并联电阻的阻值大小,就可以判断电子烟是否处于漏油状态。当判断为漏油状态时,会输出电子烟处于漏油状态的信息。
S120-6:在抽吸检测时间段增大输出给气流端SW的充电电流,其中,充电电流用于给电容式气流传感器Cs充电,抽吸检测时间段用于对电子烟是否处于抽吸状态进行检测;
S130-6:接收电子烟处于抽吸状态的信息;
S140-6:控制功率开关M导通以使发热元件120工作。
其中,在判断电子烟处于漏油状态后,在后续的对电子烟是否处于抽吸状态进行检测时,也即在抽吸检测时间段,增大给气流端SW的充电电流,随之会增大给电容式气流传感器Cs充电的充电电流。例如,在电子烟未处于漏油状态时,在抽吸检测时间段以第一充电电流输出给气流端SW,第一充电电流会全部用于给电容式气流传感器Cs充电,第一充电电流例如为100nA;在电子烟处于漏油状态后,在其后的抽吸检测时间段以第二充电电流给气流端SW,第二充电电流例如为1000nA,也即充电电流增大到原来的10倍。
从而,当存在漏油电阻RL引起漏电时,假如在抽吸检测时间段输出给气流端SW的充电电流为100nA,漏电电流近似为10nA,最终输出给气流传感器Cs的充电电流近似为90nA,从而漏电电流对充电电流的影响为10%,造成影响会比较大,会误判为抽吸状态,进而引起安全问题;当检测到漏油状态,充电电流由100nA增大到1000nA,由于漏油电阻RL的阻值在短时间内一般保持不变,漏电电流仍然近似为10nA,给气流传感器Cs的充电电流近似为990nA,从而漏电电流对充电电流的影响为1%,造成影响很小,不会误判为抽吸状态,更不会引起安全问题。本申请基于此解决方案可以防止将漏油误判为抽吸状态,不会出现安全问题,而且在漏油状态不用控制电子烟停止工作,有利于降低用户的持有成本。
其后,在后续的抽吸检测时间段,基于气流传感器Cs的电容值的变化检测到电子烟处于抽吸状态时,按照正常的方式控制功率开关M导通以使发热元件120工作,也即,在本实施例中,即使电子烟处于漏油状态,电子烟还可以继续使用,不用进行丢弃,有利于降低用户的持有成本。
在本实施例中,在检测到电子烟处于漏油状态后,在后续的抽吸检测时间段增大给气流端SW的充电电流,该充电电流用于给电容式气流传感器Cs充电,由于增大了充电电流,漏油导致的漏电对充电电流的影响会减小,对气流传感器Cs的充电电流的影响也会减小,而气流传感器Cs的电容值不变,充放电的翻转参考电压(后面提到的第二预设参考电压)也不变,根据气流传感器Cs的充电公式CU=I t,由于漏电导致对充放电周期的影响会很小,进而不容易将漏油误判断为抽吸状态,不会出现安全问题;而且,可以将漏油看作为对充电电流的干扰,在漏油后在抽吸检测时间段增大了给气流端SW的充电电流,漏油导致的漏电对充电电流的影响变小,从而本实施例可以提升充电电流的抗干扰性能;而且,漏的烟油一般会吸收水汽,后续会导致漏油电阻RL的阻值有波动,该波动对增大后的充电电流的影响也很小;再有,即使电子烟处于漏油状态,本实施例的电子烟还可以继续使用,不用丢弃,有利于降低用户的持有成本。
进一步的,在本实施例中,电子烟的漏油状态包括轻中度漏油状态和重度漏油状态,轻中度漏油状态表明电子烟存在漏油,但漏油还不太严重,例如在此状态下漏油电阻RL的阻值大于某个阈值电阻;重度漏油状态表明电子烟存在漏油,且漏油很严重,例如在此状态下漏油电阻RL的阻值小于或等于某个阈值电阻,阈值电阻例如为1MΩ。在本实施例中,在轻中度漏油状态,在抽吸检测时间段增大给气流端SW的充电电流,此后电子烟还可以使用,从而可以降低用户的持有成本;在重度漏油状态,跟现有技术一样控制功率开关M保持关断截止,这样设置可以防止漏油严重时在抽吸检测时间段漏电严重,进而增大电流会导致发热严重,引起火灾等安全事故。还有通过如此设置,可以兼顾成本和安全性。
在本实施例中,请参见图42,步骤S120-6具体包括:
S121-6:根据漏油状态与充电电流的对应关系获得第二充电电流;
S122-6:在抽吸检测时间段将第二充电电流输出给气流端SW。
其中,轻中度漏油状态对应一个第二充电电流,例如第二充电电流为1000nA,第二充电电流大于第一充电电流,第一充电电流为100nA,从而,基于轻重度漏油状态,就可以按图索骥找到对应的第二充电电流,在其后的漏油检测时间段以第二充电电流给电容式气流传感器Cs充电。也即,在本实施例中,分为三段:当电子烟未处于漏油状态时,在抽吸检测时间段将第一充电电流输出给气流端SW,以用于给气流传感器Cs充电;当电子烟处于轻中度漏油状态时,在抽吸检测时间段将第二充电电流输出给气流端SW,以用于给气流传感器Cs充电;当电子烟处于重度漏油状态时,控制电子烟停止工作,也即控制功率开关M保持断开截止。另外,在本申请的其他实施例中,也可以分为两段:当电子烟未处于漏油状态时,在抽吸检测时间段将第一充电电流输出给气流端SW,以用于给气流传感器Cs充电;当电子烟处于漏油状态时,在抽吸检测时间段将第二充电电流输出给气流端SW,以用于给气流传感器Cs充电。另外,在本申请的其他实施例中,漏油状态不限于分为两段,还可以分为更多种状态,例如分为n种状态,对应设有n-1个第二充电电流,其中,n为大于2的整数。
为了检测电子烟是否处于漏油状态,在本实施例中,请参见图43,在步骤S110-6之前还包括:
S111-6:触发通过气流端SW给电容式气流传感器Cs充电;
S112-6:触发对充电时长进行第一计时;
S113-6:判断第一计时是否大于或等于漏油检测时长;
S114-6:若判断结果为是,则采样气流端SW的电压以获取第一采样电压;
S115-6:判断第一采样电压是否小于第一参考电压;
S116-6:若判断结果为是,则输出电子烟处于漏油状态的信息;
S117-6:若判断结果为否,则输出电子烟不处于漏油状态的信息。
其中,当气流端SW与电源接地端GND(或者其他接地连接点)未存在连接两端的冷凝烟油时,此时气流端SW与电源接地端GND存在电容(气流传感器Cs),不存在与电容并联的漏油电阻RL,气流传感器Cs经过漏油检测时长的充电后,气流端SW的电压会充电到接近电源供电端BAT的电压或者与电源供电端BAT的电压相等,从而采样气流端SW的电压以获取第一采样电压(以第一采样电压等于气流端SW的电压为例进行说明),第一采样电压会较大;当存在连接气流端SW与电源接地端GND的冷凝烟油时,此时气流端SW与电源接地端GND存在电容(气流传感器Cs),还存在与电容并联的漏油电阻RL,一般漏油电阻RL的阻值小于10兆欧,由于漏油检测时长很长,因而气流传感器Cs的电容接近呈现直流特性,电容呈断开状态,其等效阻值很大,远远大于漏油电阻RL的阻值,从而并联电阻的阻值小于或接近等于漏油电阻RL的阻值,当充电经过漏油检测时长,由于充电电流已知,气流端SW的电压受漏油电阻RL的控制,一般气流端SW上的电压为漏油电阻RL上的电压,一般小于漏油电阻RL的阻值与充电电流的乘积,从而第一采样电压会较小,通过大量实验可以选出合适的第一参考电压,可以设计为当存在漏油时第一采样电压小于第一参考电压,当不存在漏油时第一采样电压大于或等于第一参考电压,从而通过将第一采样电压与第一参考电压进行比较并输出比较结果信息,根据比较结果信息就可以判断电子烟是否处于漏油状态。第一参考电压的范围例如为大于或等于1V且小于2.8V,例如为1V、1.5V、2V、2.5V等。在本实施例中,漏油检测时长一般大于或等于300μs,较佳大于或等于1ms,例如为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等,漏油检测时长一般小于200ms。在本实施例中,在进行漏油检测所用的充电电流与在抽吸检测时间段所用的充电电流可以为同一个充电电流,也可以为不同的充电电流,当为同一个充电电流时,当漏油导致充电电流增大时,第一参考电压也要随之对应增大。
进一步的,通过将第一参考电压细分,用于区别轻中度漏油状态和重度漏油状态,例如第一参考电压包括第一子参考电压和第二子参考电压,其中,第一子参考电压小于第二子参考电压,当第一采样电压小于第一子参考电压时,此时表示处于严重漏油状态;当第一采样电压大于第一子参考电压且小于第二子参考电压时,此时表示处于轻中度漏油状态;当第一采样电压大于第二子参考电压时,此时表示处于非漏油状态。另外,在本申请的其他实施例中,第一参考电压还可以包括更多个子参考电压,用于将漏油状态进一步细分。
从而,当存在漏油时,也即处于漏油状态时,经过漏油检测时长的充电,此时气流端SW的电压会小于漏油电阻RL的阻值与第一电流的乘积,第一采样电压会小于第一参考电压,当不存在漏油时,经过漏油检测时长的充电,此时气流端SW的电压会到达电源供电端BAT的电压,第一采样电压会大于或等于第一参考电压,从而本申请通过将经过漏油检测时长充电后判断第一采样电压是否小于第一参考电压,若判断结果为是,输出电子烟处于漏油状态的信息,也即存在将气流端SW与接地端连接的烟油。本实施例利用同一个气流端SW进行抽吸状态检测和漏油状态的检测,气流端SW实现分时复用,不需要对漏油管控电路增设端子或者引脚,有利于降低成本。本实施例通过气流端SW的电压判断电子烟是否处于漏油状态的具体实现方式可以参照申请人在先申请的专利,该专利申请的内容也引入到本申请中,在此处不再赘述。另外,在本申请的其他实施例中,本领域的技术人员还可以通过其他常规的知识判断电子烟是否处于漏油状态,例如增设单独的漏油检测端子等。
另外,在本申请的其他实施例中,还可以通过侦测气流端SW与电源接地端GND的电阻信息来判断电子烟是否处于漏油状态以及漏油的程度,电阻信息用于表征气流端SW与电源接地端GND的电阻大小,此实施例的具体实现方式可以参照申请人在先申请的专利,该专利申请的内容也引入到本申请中,在此处不再赘述。另外,在本申请的其他实施例中,还可以在停止充电后,第一采样电压由第一电压值经过预设时长下降到第二电压值,基于第一电压值、第二电压值得到第一电压信息,将第一电压信息与预设的第一预设电压信息进行比较,并根据比较结果信息判断电子烟是否处于漏油状态以及漏油的程度;或者,在停止充电后,第一采样电压由第一电压值下降到第二电压值所经过的放电时长进行计时,将该计时时长与预设的时长进行比较,并根据比较结果判断电子烟是否处于漏油状态以及漏油的程度;也即利用是否存在漏油电阻RL导致气流传感器Cs放电速度的不同来判断电子烟是否处于漏油状态以及漏油的程度,此实施例的具体实现方式可以参照申请人在先申请的专利,该专利申请的内容也引入到本申请中,在此处不再赘述。
一般说来,按照电子烟是否被抽吸划分电子烟的状态,电子烟一般分为两种状态:抽吸状态和未抽吸状态,未抽吸状态包括吹气状态、未吸吹状态。其中,抽吸状态对应用户抽吸电子烟时的状态,吹气状态对应用户向电子烟吹气时的状态,未吸吹状态对应电子烟既未被抽吸、也未被吹气时的状态,电子烟处于不同的状态时会执行不同的动作。为了侦测电子烟是否处于抽吸状态,在本实施例中,请参见图44,在步骤S130-6之前还包括:
S131-6:在抽吸检测时间段实时采样气流端SW的电压以获得第二采样电压;
S132-6:判断第二采样电压是否大于或等于第二预设参考电压;
S133-6:若判断结果为是,则进行累计计数以获得当前计数值,且控制充放电开关Kc导通以进行放电,其中,充放电开关Kc的第一端与气流端SW连接,充放电开关Kc的第二端与电源接地端GND连接;
S134-6:若判断结果为否,则控制充放电开关Kc断开截止以继续进行充电;
S135-6:经过抽吸检测时间段判断当前计数信息是否位于预设的计数范围内,其中,当前计数信息基于当前计数值获得;
S136-6:若判断结果为是,则输出电子烟处于抽吸状态的信息;
S137-6:若判断结果为否,则输出电子烟处于未抽吸状态的信息。
其中,在抽吸检测时间段开始后,输出第二充电电流给气流端SW,电容式气流传感器Cs进行充电,实时采样气流端SW的电压以获得第二采样电压,实时判断第二采样电压是否大于或等于第二预设参考电压,在本实施例中,不论充电电流是否增大,第二预设参考电压不变,也即CU保持不变。若判断结果为是,则进行累计计数以获得当前计数值,且控制充放电开关Kc导通以进行放电,由于充放电开关Kc导通时会将气流传感器Cs两端短接,瞬间就会将气流端SW的电压放到0,其后第二采样电压会小于或等于第二预设参考电压充放电开关Kc断开截止,又进行新一轮的充电,重复对气流传感器Cs进行充电、放电,形成的波形近似为锯齿波,直到经过抽吸检测时间段,判断当前计数信息是否位于预设的计数范围内,其中,当前计数信息基于当前计数值获得,当前计数信息例如为当前计数值、当前计数值与基准计数值(基准计数值为预设或者在未吸吹状态经过抽吸检测时间段的计数获得)的差值、差值与基准计数值的比值、当前计数值与基准计数值的比值等,计数范围对应为计数值范围、差值范围、比值范围。若判断结果为是,则输出电子烟处于抽吸状态的信息,并按照恒功率、恒压等方式控制功率开关M开启导通,电子烟可以正常使用;若判断结果为否,则输出电子烟处于未抽吸状态的信息。
本申请的发明人发现轻中度漏油状态对应一个第二充电电流,只要是处于轻中度漏油状态,在抽吸检测时间段一律将充电电流增大到第二充电电流,这样设置比较粗放,而且由于增大了充电电流,即使是轻微漏油也会显著增大抽吸检测时间段的功耗,降低了电池110的使用时长,尤其会降低待机时电池110的使用时长。为了降低抽吸检测时间段的功耗,本申请提供第十八实施例。
第十八实施例
请参阅图45,图45是本申请第十八实施例的漏油管控方法的部分步骤的具体流程图,本实施例与第十七实施例相似,因此本实施例未描述的部分可以参照第十七实施例,本实施例与第十七实施例的主要不同点为通过侦测参数信息获得对应的第二充电电流。
请参见图45,在本实施例中,步骤S120-6具体包括:
S221-6:通过气流端SW获取第一参数信息,其中,第一参数信息用于表征轻中度漏油状态的漏油程度;
S222-6:根据第一参数信息对应获得第二充电电流,其中,第二充电电流大于第一充电电流,第一充电电流为电子烟未处于漏油状态时在抽吸检测时间段给电容式气流传感器Cs充电的充电电流;
S223-6:在抽吸检测时间段通过第二充电电流给电容式气流传感器Cs充电。
其中,本实施例基于气流端SW获得第一参数信息,进而对应获得第二充电电流,第一参数信息可以为第十七实施例提到的第一采样电压(以此为例进行说明)、电阻信息、第一电压信息等,第一参数信息可以为电阻、电压、放电时长、电压的变化、电阻的变化或者放电时长的变化等,第二充电电流不是一个值,为多个值,不同的第一参数信息对应不同的第二充电电流。
在本实施例中,请参见图46,步骤S122-6具体包括:
S2221:通过第一参数信息、预先设置的多个参数信息范围获得与其对应的参数信息范围,其中,每个第一参数信息属于一个参数信息范围,多个参数信息范围相异;
S2222:根据参数信息范围查找预存的参数信息范围-充电电流表获取第二充电电流,其中,参数信息范围-充电电流表预存参数信息范围与充电电流的对应关系。
其中,参数信息范围与第一参数信息对应,本实施例以第一参数信息为第一采样电压为例进行说明,此时参数信息范围为电压范围,例如,第一参考电压为2.5V,则第一采样电压小于2.5V代表漏油,假设轻中微漏油电压范围为[1.5V,2.5V),第一采样电压小于1.5V表示为严重漏油状态,多个参数信息范围例如为5个,分别为[1.5V,1.7V)、[1.7V,1.9V)、[1.9V,2.1V)、[2.1V,2.3V)、[2.3V,2.5V),电压越大代表漏油越轻,第二充电电流对应为5个,依序对应为1100nA、900nA、700nA、500nA、300nA,也即预存有参数信息范围-充电电流表,如下:
[1.5V,1.7V)→1100nA
从而获得第一参数信息后,例如第一参数信息为2.2V,此时通过第一参数信息、多个参数信息范围获得对应的参数信息范围,例如2.2V对应[2.1V,2.3V)这个参数信息范围,进而通过上面的参数信息范围-充电电流表,可以进一步获得对应的充电电流为500nA,此为第二充电电流。此后在抽吸检测时间段以500nA给气流端SW,进而给气流传感器Cs充电。
本实施例通过第一参数信息将轻中度漏油状态进一步细分,获得对应的参数信息范围,根据参数信息范围查找预存的参数信息范围-充电电流表获取对应的第二充电电流,不同的参数范围有不同的第二充电电流,从而可以根据漏油的程度获得对应的第二充电电流,漏油越严重,第二充电电流越大,漏油越轻,对应的第二充电电流越小,经过如此设置,可以降低抽吸检测时间段的功耗,提升电池110的使用时长,尤其可以提升待机时长;而且,通过第一参数信息将轻中度漏油状态进一步细分,可以获得更匹配的充电电流,使抽吸检测更加准确,更加符合用户的实际抽吸情况。
本实施例中将轻中度漏油状态按照参数信息范围分为五段,对应5个第二充电电流。但本申请不限于于此,在本申请的其他实施例中,还可以将参数信息范围分为两段、三段,对应2个、3个第二充电电流。但本申请不限于此,在本申请的其他实施例中,还可以将参数信息范围分为更多段,例如分为10段、20段、50段、100段、200段等,此时对应具有10个参数信息范围、20个参数信息范围、50个参数信息范围、100个参数信息范围、200个参数信息范围,对应10个第二充电电流、20个第二充电电流、50个第二充电电流、100个第二充电电流、200个第二充电电流,这些参数信息范围相异,也即任意两个参数信息范围没有重叠的范围,这些第二充电电流相异。
上面的漏油状态划分方式比较繁琐,为了划分更加精细且简单,另外,在本申请的其他实施例中,步骤S122-6具体包括:
通过第一参数信息、预存的函数关系式进行计算获得第二充电电流,其中,函数关系式表征参数信息与充电电流的对应关系。
其中,第一参数信息与第二充电电流呈函数关系,当获得第一参数信息后,通过预先设计好的函数关系式,就可以计算得到第二充电电流,其中,函数关系式例如为一次函数、二次函数、三次函数或者更多次的函数,例如该函数关系式可以通过实验或者计算机仿真获得的拟合函数,例如,函数关系式为y=kx+b,其中,x为第一参数信息,y为第二充电电流,k为负常数,b为常数。从而,当获得第一参数信息后,将第一参数信息带入函数关系式,就可以得到对应的第二充电电流。
对应于上面实施例的漏油管控方法,图47示出了本申请实施例提供的漏油管控电路300的电路模块图,为了便于说明,仅示出了与本申请实施例相关的部分,未描述的部分请参照上面的叙述。
请结合参见图40和图47,在本实施例中,漏油管控电路300包括电源供电端BAT、电源接地端GND、气流端SW、雾化端AT、功率开关M,其中,电源供电端BAT和电源接地端GND对应用于与电池110的正、负极连接,气流端SW用于与电容式气流传感器Cs的一个电极连接,电源接地端GND还用于与电容式气流传感器Cs的另一电极连接,雾化端AT用于与发热元件120的一端连接,发热元件120的另一端与电源接地端GND或者电源供电端BAT连接,雾化端AT还用于与功率开关M的一端连接,功率开关M的另一端与电源供电端BAT或者电源接地端GND连接。
在本实施例中,漏油管控电路300还包括:
电流控制单元310,其用于接收电子烟处于漏油状态的信息,其还用于在抽吸检测时间段增大给气流端SW的充电电流,其中,电流控制单元310与气流端SW连接,还用于与后面提到的漏油检测模块330连接;在本实施例中,电流控制单元310包括可控电流源,可控电流源通过控制可以实现输出不同的充电电流。
功率控制单元320,其用于接收电子烟处于抽吸状态的信息,其还用于控制功率开关M导通以使发热元件120工作。
在本实施例中,漏油管控电路300还包括漏油检测模块330,漏油检测模块330用于对电子烟是否处于漏油状态以及漏油的程度进行检测,具体如何检测可以参见上面的方法步骤。在本实施例中,漏油管控电路300还包括抽吸检测模块340,抽吸检测模块340用于对电子烟是否处于抽吸状态进行检测,具体如何检测可以参见上面的方法步骤。
在本实施例中,漏油检测模块330还用于将漏油状态分类为轻中度漏油状态和重度漏油状态,当为轻中度漏油状态时,漏油检测模块330输出电子烟处于轻中度漏油状态的信息,电流控制单元310与漏油检测模块330连接,电流控制单元310接收电子烟处于轻中度漏油状态的信息。
在本实施例中,电流控制单元310还用于通过气流端SW获取第一参数信息,并根据第一参数信息对应获得第二充电电流,且在抽吸检测时间段将第二充电电流输出给气流端SW,以给电容式气流传感器Cs充电。
在本实施例中,电流控制单元310用于通过第一参数信息、预先设置的多个参数信息范围获得其对应的参数信息范围,并根据参数信息范围查找预存的参数信息范围-充电电流表获取第二充电电流。
在本申请的其他实施例中,电流控制单元310用于通过第一参数信息、预存的函数关系式进行计算获得第二充电电流。
在本申请的其他实施例中,电流控制单元310用于根据预存的漏油状态与充电电流的对应关系获得第二充电电流,并在抽吸检测时间段将第二充电电流输出给气流端SW,以给电容式气流传感器Cs充电。
对应于上面实施例的电子烟的漏油管控方法,图48示出了本申请实施例提供的漏油管控电路600的模块图,为了便于说明,仅示出了与本申请实施例相关的部分。
图48为本申请一实施例提供的漏油管控电路600的示意图。如图48所示,该实施例的漏油管控电路600包括:至少一个处理器620(图48中仅示出一个)、存储器610以及存储在存储器610中并可在处理器620上运行的计算机程序,处理器620执行计算机程序时实现上述漏油管控方法实施例中的步骤。本领域技术人员可以理解,图48仅仅是漏油管控电路600的举例,并不构成对漏油管控电路600的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件,例如还可以包括输入输出设备、网络接入设备等。所称处理器620可以是中央处理单元(Central Processing Unit,CPU),该处理器620还可以是其他通用处理器620、数字信号处理器620(Digital Signal Processor,DSP)、专用集成电路(Applicion Specific Integred Circuit,ASIC)、现成可编程门阵列(Field-PrograMable Ge Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器620可以是微处理器620或者该处理器620也可以是任何常规的处理器620等。
存储器610在一些实施例中可以是漏油管控电路600的内部存储单元,例如漏油管控电路600的硬盘或内存。存储器610在另一些实施例中也可以是漏油管控电路600的外部存储设备,例如漏油管控电路600上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。进一步地,存储器610还可以既包括漏油管控电路600的内部存储单元也包括外部存储设备。存储器610用于存储操作系统、应用程序、引导装载程序(BootLoader)、数据以及其他程序等,例如计算机程序的程序代码等。存储器610还可以用于暂时地存储已经输出或者将要输出的数据。
本申请实施例还提供了一种存储介质,存储介质存储有计算机程序,计算机程序被处理器620执行时可实现上述漏油管控方法实施例中的步骤。
本申请实施例提供了一种计算机程序产品,当计算机程序产品在终端上运行时,使得终端执行时可实现上述漏油管控方法实施例中的步骤。
本申请实施例还提供一种气流传感器组件200,请参见图40和图47,包括:
电容式气流传感器Cs;
上述的漏油管控电路300,其中,漏油管控电路300与电容器气流传感器Cs连接。
本申请实施例还提供一种电子烟,包括:
上述的气流传感器组件200或者上述的漏油管控电路300;
电池110、发热元件120,其中,电池110、发热元件120均与漏油管控电路300连接。
第十九实施例
本申请的发明人经过长期研究发现,现有的烟油漏到电容式气流传感器内后一般存在4种情形,分别请参见图1a-图1d,发明人经过大量产品拆解、分析、实验发现,烟油漏到电容式气流传感器主要的情形为图1c,漏油大部分是这种情形,其后分析原因,理由为:一般说来,电容式气流传感器的两个电极片之间的距离很小,一般范围为1μm-50μm,而烟油油滴比较大,远大于两个电极片之间的距离,从而烟油油滴通过气流通道滴落到气流传感器的两个电极片之间时,油滴大概率会连接两个电极片。由于烟油油滴类似于导体电阻,从而图1c的等效电路图如图2,也即电容式气流传感器并联了一个烟油电阻RL。另外,发明人还发现:当电子烟工作后,烟油雾化成气溶胶,气溶胶可能进入烟杆内,当气溶胶冷凝后成为烟油可能落在安装控制芯片的电路板上,有可能落到控制芯片的气流引脚处,请参见图1e,可能导致气流引脚与地通过烟油连接(也可看做是漏油),其等效电路图也如图2的情形,也易导致控制芯片误判为处于抽吸状态,触发发热元件误工作,发热元件长时间保持工作容易烫伤用户,且容易引起安全事故。本申请根据发明人的发现解决背景技术的技术问题,具体请参见本实施例-第二十一实施例。
本申请实施例提供一种电子烟,请参见图1a-图2、图49、图50、图51,电子烟包括电池110、发热元件120、气流传感器组件200等。其中,电池110、发热元件120分别与气流传感器组件200连接,发热元件120例如为发热丝、加热丝、包含发热丝或者加热丝的陶瓷座、或者其他常规的发热元件120等, 电池110例如为可充电电池或者不可充电电池,可充电电池例如为锂离子电池、镍镉电池、镍氢电池、锂聚合物电池、铅酸电池等,电池110的工作电压范围一般为小于5V且大于2V,例如为3.2V-4.2V、3.2V-4.45V、2.6V-4.2V等。
在本实施例中,气流传感器组件200包括电容式气流传感器CS和漏油控制电路130,其中,电容式气流传感器CS包括电容式MEMS传感器、电容式咪头等,本申请中电容式气流传感器CS实质上为一个可随气流变化的电容,漏油控制电路130包括电源供电端BAT、电源接地端GND、气流端SW、雾化端AT等。其中,电源供电端BAT与电池110的正极连接,电源接地端GND与电池110的负极连接,电源接地端GND用于电性接地,气流端SW与电容式气流传感器CS的一个电极连接,电容式气流传感器CS的另一个电极与电源接地端GND连接,雾化端AT与发热元件120的一端连接,发热元件120的另一端与电源接地端GND或者电源供电端BAT连接(图49中以与电源接地端GND连接为例)。
在本实施例中,电子烟包括烟杆和烟弹,其中,烟弹内设有发热元件120,烟弹内还存储有烟油,烟杆内设有电容式气流传感器CS、电池110和漏油控制电路130。本申请的电子烟可以是可充电式电子烟,也可以是一次性电子烟。
一般说来,按照电子烟是否被抽吸划分电子烟的状态,电子烟一般分为三种状态:抽吸状态和未抽吸状态,其中,未抽吸状态包括吹气状态、未吸吹状态,其中,抽吸状态对应用户抽吸电子烟时的状态,吹气状态对应用户向电子烟吹气时的状态,未吸吹状态对应电子烟既未被抽吸、也未被吹气时的状态,电子烟处于不同的状态时会执行不同的动作。
为了侦测电子烟是否处于抽吸状态,请结合参见图49和图50,在本实施例中,漏油控制电路130包括电流源310-7、抽吸检测模块320-7、开关控制单元340-7和第一开关单元350-7。其中,电流源310-7分别与电源供电端BAT、气流端SW连接,抽吸检测模块320-7与气流端SW直接或间接连接,抽吸检测模块320-7采样气流端SW的电压以获得采样电压,采样电压可以与气流端SW的电压相等(此时抽吸检测模块320-7与气流端SW直接连接),也可以小于气流端SW的电压,采样电压可以通过采样单元采样获得,采样单元例如为分压电阻等。抽吸检测模块320-7还与开关控制单元340-7连接,开关控制单元340-7与第一开关单元350-7的控制端连接,第一开关单元350-7一端与雾化端AT连接,雾化端AT用于与发热元件120一端连接,第一开关单元350-7的另一端对应与电源供电端BAT或者电源接地端GND连接。在本实施例中,电流源310-7、抽吸检测模块320-7、开关控制模块为电子烟常规具有的模块单元,用于检测电子烟是否处于抽吸状态。具体而言,当抽吸检测模块320-7判断电子烟处于抽吸状态时,抽吸检测模块320-7通过开关控制单元340-7控制第一开关单元350-7导通或者间歇性导通,当抽吸检测模块320-7判断电子烟处于未抽吸状态时,抽吸检测模块320-7通过开关控制单元340-7控制第一开关单元350-7保持断开截止。
在本实施例中,第一开关单元350-7为PMOS管,PMOS管的一端与电源供电端BAT连接。在本申请的其他实施例中,第一开关单元350-7还可以为NMOS管,NMOS管的一端与电源接地端GND连接。在本申请的其他实施例中,第一开关单元350-7还可以为其他常规的开关单元,例如场效应晶体管等。在本实施例中,漏油控制电路130位于同一个芯片上,一般称为电子烟专用芯片,此时电源供电端BAT为电源供电引脚BAT,电源接地端GND为电源接地引脚GND,气流端SW为气流引脚SW,雾化端AT为雾化引脚AT。另外,在本申请的其他实施例中,漏油控制电路130还可以除第一开关单元350-7之外的电路位于同一个芯片上,第一开关单元350-7位于另一个芯片上,两个芯片可以封装在一起,也可以不封装在一起。
请结合参见图2和50,一般说来,当电子烟未出现漏油时,电流源310-7输出的电流会全部用于给电容式气流传感器CS充电,导致气流端SW的电压会比较快就到达参考电压VREF,到达参考电压VREF之前(小于参考电压VREF)抽吸检测模块320-7输出第一信号,到达参考电压VREF之后抽吸检测模块320-7输出第二信号,第二信号与第一信号相异;当出现漏油时,烟油电阻会对电流源310-7的电流进行分流,也即电流源310-7的电流不会全部用于给电容式气流传感器CS充电,导致抽吸检测模块320-7到达参考电压VREF会比较慢,也即抽吸检测模块320-7输出第一信号持续的时间会较长,本申请实施例通过检测第一信号持续的时长判断是否出现漏油。
请继续参见图49和图50,具体而言,在本实施例中,漏油控制电路130还包括漏油判断模块330-7,漏油判断模块330-7包括漏油计时单元331-7,漏油计时单元331-7与抽吸检测模块320-7连接,当气流端SW的电压小于参考电压VREF时,抽吸检测模块320-7输出第一信号,当气流端SW的电压大于或等于参考电压VREF时,抽吸检测模块320-7输出第二信号。在本实施例中,漏油计时单元331-7通过对抽吸检测模块320-7输出的第一信号持续的时长进行计时以判断是否出现漏油,当第一信号持续的时长大于或等于第一预设时长时,此时符合预设条件,则漏油计时单元331-7输出漏油确认信号,判断出现了漏油,漏油确认信号用于使开关控制单元340-7控制第一开关单元350-7保持断开截止,从而发热元件120不会工作;若计时时长小于第一预设时长则输出未漏油信号,此时不符合预设条件,判断未出现漏油,此时开关控制单元340-7受抽吸检测模块320-7的控制。在本实施例中,参考电压VREF的范围例如为大于或等于500mV且小于或等于1.5V,例如为500mV、600mV、700mV、800mV、900mV、1V、1.1V、1.2V、1.3V、1.4V、 1.5V等。在本实施例中,第一预设时长的范围例如为大于或等于150微秒,例如为150μs、300μs、400μs、500μs、600μs、700μs、800μs、900μs、1000μs等。
本申请实施例通过漏油判断模块330-7判断电子烟是否出现漏油,漏油检测方式简单,抽吸检测和漏油检测能同步进行,不影响用户的使用体验;而且可以充分利用现有的气流端SW、抽吸检测模块320-7,配合现有的电容式气流传感器CS,通过漏油判断模块330-7就可以判断电子烟是否漏油,漏油控制电路130不需要增设端子或者引脚,而且增设的电路比较少,有利于降低成本。再有,本申请通过漏油控制电路130可以判断电子烟是否存在漏油,不会长时间将电子烟漏油误判断为电子烟处于吸烟状态,从而触发发热元件120比较长时间误工作的几率较低,不容易出现安全事故。
请继续参见图50,在本实施例中,抽吸检测模块320-7包括电压比较单元321-7、第一计数单元322-7、抽吸判断单元323-7和放电开关KF。其中,电压比较单元321-7的第一输入端与气流端SW直接或间接连接,以接入采样电压,电压比较单元321-7的第二输入端接入参考电压VREF,在此处电压比较单元321-7的第一输入端为同向端,第二输入端为反向端,第一信号为低电平信号,第二信号为高电平信号,当然在本申请的其他实施例中也可以反过来,此时第一信号为高电平信号,第二信号为低电平信号;电压比较单元321-7的输出端分别与第一计数单元322-7、漏油计时单元331-7、放电开关KF的控制端连接,第一计数单元322-7的输出端与抽吸判断单元323-7的输入端连接,抽吸判断单元323-7的输出端与开关控制单元340-7连接。放电开关KF的第一端与气流端SW连接,放电开关KF的第二端与电源接地端GND连接,也即放电开关KF与气流传感器CS并联。在本实施例中,放电开关KF例如为NMOS管等,但本申请不限于此,在本申请的其他实施例中,放电开关KF还可以为PMOS管或者其他常规的开关单元。
在本实施例中,电子烟进行周期性的抽吸检测,进行抽吸检测的时间称为抽吸检测时间段,抽吸检测时间段的时长例如为30ms,当连续两个抽吸检测时间段抽吸判断单元323-7均判断电子烟处于抽吸状态时,抽吸判断单元323-7才会输出抽吸信号给开关控制单元340-7,开关控制单元340-7控制第一开关单元350-7导通或者间歇性的导通。
具体而言,在进行抽吸检测时,也即在抽吸检测时间段,电流源310-7给气流传感器CS充电,在开始时采样电压会小于第二参考电压VREF,此时电压比较单元321-7输出第一信号,漏油计时单元331-7被触发开始计时,放电开关KF保持断开截止,当采样电压充电到等于或大于参考电压VREF时(此时间段为充电时间段),电压比较单元321-7的输出信号进行改变,由第一信号变为输出第二信号,漏油计时单元331-7进行复位清零,第一计数单元322-7被触发工作并进行计数+1,第二信号控制放电开关KF导通,气流传感器CS两端通过放电开关KF短接,瞬间放电至0V(此时间段为放电时间段),放电后采样电压又小于参考电压VREF,电压比较单元321-7的输出信号又变回为第一信号,漏油计时单元331-7又重新开始计时,放电开关KF保持断开截止,这样完成一个充放电周期,也即充放电周期包括一个充电时间段和一个放电时间段,其后重复前述充电过程和放电过程,也即气流传感器CS又重复充电和放电过程,经过一个抽吸检测时间段,抽吸判断单元323-7根据第一计数单元322-7的计数值,判断电子烟是否处于抽吸状态。具体而言,当电子烟处于不同状态时其充放电周期会有差异,一般周期差异会大于3%,通过利用该差异可以判断电子烟是否处于抽吸状态。在本实施例中,第一计数单元322-7对充放电周期的数目进行计数,经过抽吸检测时间段后获得的计数值为当前计数值,通过当前计数值进行计算可以得到当前计数信息,在本实施例中,当前计数信息即为当前计数值,抽吸判断单元323-7判断当前计数信息是否位于预设的计数范围内就可以判断电子烟是否处于抽吸状态,计数范围例如为小于或等于97%的基准计数值,其中基准计数值为预设或者在未吸吹状态经过抽吸检测时间段的计数获得,例如基准计数值为1000。另外,在本申请的其他实施例中,当前计数信息为当前计数值与基准计数值的差值,此时计数范围为差值范围,例如差值范围为大于或等于30。在本申请的其他实施例中,当前计数信息为差值与基准计数值的比值,此时计数范围为比值范围,例如大于或等于3%。对电子烟是否处于抽吸状态、吹气状态或者未吸吹状态为本领域的常规知识,在此不再赘述。如果抽吸判断单元323-7判断为抽吸状态则对该状态进行存储,当接下来一个抽吸检测时间段仍然判断电子烟处于抽吸状态,结合前面一次是抽吸状态,则抽吸判断单元323-7输出抽吸信号。在本实施例中,漏油计时单元331-7实时判断计时时长是否大于或等于第一预设时长,若计时时长大于或等于第一预设时长,则输出漏油确认信号,若计时时长小于第一预设时长,则输出未漏油信号,判断未出现漏油,此时开关控制单元340-7受抽吸检测模块320-7的控制。在本实施例中,在充电时间段结束后,此时若漏油计时单元331-7的计时时长小于第一预设时长,则漏油计时单元331-7进行复位清零,以方便下一个充放电周期进行漏油检测;此时若漏油计时单元331-7的计时时长大于或等于第一预设时长,则漏油计时单元331-7可以根据需要进行复位清零(本实施例有复位清零)或者不进行复位清零。
在本实施例中,漏油计时单元331-7输出漏油确认信号后,为了控制第一开关单元350-7断开截止,请继续参见图50,在本实施例中,抽吸判断单元323-7具有使能端EN,漏油计时单元331-7与抽吸判断单元323-7的使能端EN连接,当漏油计时单元331-7输出漏油确认信号时,漏油确认信号为使能信号,抽吸判断单元323-7接收使能信号,抽吸判断单元323-7停止工作,并将相关数据清除(例如将上一次抽吸检测时间段存储的抽吸状态清除),从而抽吸判断单元323-7不会存在连续两个抽吸检测时间段均判断 电子烟处于抽吸状态(如果存在漏油,前一次的数据会被清除),从而抽吸判断单元323-7不会输出抽吸信号,开关控制单元340-7不会接收到抽吸信号,从而开关控制单元340-7控制第一开关单元350-7保持断开截止。具体而言,在本实施例中,请结合参见图50和图51,当漏油计时单元331-7输出漏油确认信号后,当到达放电时间段,漏油计时单元331-7又输出未漏油信号,直到下一次充电时间段到达第一预设时长,又输出漏油确认信号,也即每个充放电周期漏油计时单元331-7均会输出漏油确认信号,漏油确认信号会将抽吸判断单元323-7中存储的数据清除,从而出现漏油时抽吸判断单元323-7不会输出抽吸信号给开关控制单元340-7,第一开关单元350-7保持断开截止。
另外,在本申请的其他实施例中,请结合参见图52和图53,漏油计时单元331-7输出漏油确认信号后,为了控制第一开关单元350-7断开截止,漏油计时单元331-7与开关控制单元340-7连接,当漏油计时单元331-7输出漏油确认信号,开关控制单元340-7控制第一开关单元350-7断开截止。在本实施例中,为了实现持续控制第一开关单元350-7断开截止,漏油控制电路130还包括触发器,触发器分别与漏油计时单元331-7、开关控制单元340-7连接,当漏油计时单元331-7输出漏油确认信号时,触发器被触发持续输出关断信号,关断信号用于控制开关控制单元340-7,开关控制单元340-7控制第一开关单元350-7持续断开截止。当漏油故障解除后,可以通过断电重启,实现对触发器的关断信号清除。另外,在本申请的其他实施例中,触发器还可以包括在开关控制单元中,不包括在漏油控制电路130中。
请参见图51、图53,当电压比较单元321-7的输出由第一信号转为第二信号时,在图中漏油计时单元331-7接收到上升沿信号,此时漏油计时单元331-7被触发进行复位清零,复位清零后漏油计时单元331-7不工作,当电压比较单元321-7的输出由第二信号转为第一信号时,在图中漏油计时单元331-7接收到下降沿信号,漏油计时单元331-7被触发开始计时。此处的上升沿、下降沿可以根据需要进行调换,本申请不对此进行限制。
在本实施例中,漏油控制电路130还包括指示单元,指示单元例如为指示灯、显示屏等,指示灯例如为LED灯等,指示单元与漏油计时单元331-7连接,当指示单元接收到漏油确认信号时,指示单元用于指示电子烟处于漏油状态。在本实施例中,为了使指示单元指示漏油状态比较稳定,指示单元与漏油计时单元331-7之间也可以设置触发器,触发器分别与漏油计时单元331-7和指示单元连接,当漏油计时单元331-7输出漏油确认信号时,触发器被触发持续输出漏油指示信号,指示单元接收到漏油指示信号,用于持续对外指示电子烟处于漏油状态。
本申请的发明人发现,本实施例漏油控制电路有一定几率会误判断为漏油,原因为漏油计时单元的输出有一定几率会出现信号抖动。为了解决该问题,本申请提供第二十实施例、第二十一实施例。
第二十实施例
请参阅图54,图54是本申请第二十实施例的气流传感器组件的电路模块图,本实施例与第十九实施例相似,因此本实施例未描述的部分可以参照第十九实施例,本实施例与第十九实施例的主要不同点为漏油判断模块还包括第二计数单元332-7、计数判断单元333-7。
请结合参见图49和图54,在本实施例中,漏油判断模块包括漏油计时单元、第二计数单元332-7和计数判断单元333-7。
其中,漏油计时单元与抽吸检测模块320-7连接,具体漏油计时单元是与电压比较单元321-7的输出端电连接,第二计数单元332-7分别与漏油计时单元、计数判断单元333-7连接,漏油计时单元用于对抽吸检测模块320-7输出的第一信号持续的时长进行计时,若计时时长大于或等于第一预设时长则输出计时符合信号,若计时时长小于第一预设时长则输出计时不符合信号,所述第二计数单元332-7用于对连续接收的计时符合信号进行第二计数,这里的连续是指连续的充放电周期,例如第N个充放电周期(N为正整数)漏油计时单元输出计时符合信号,则第二计数由0变为1,第N+1个充放电周期漏油计时单元输出计时符合信号,则第二计数由1变为2,第N+2个充放电周期漏油计时单元未输出计时符合信号,此时第二计数由2复位变为0,也即第二计数单元332-7复位清零,第N+3个充放电周期漏油计时单元输出计时符合信号,则第二计数又由0变为1,第N+4个充放电周期漏油计时单元输出计时符合信号,则第二计数由1变为2,第N+5个充放电周期漏油计时单元输出计时符合信号,则第二计数由2变为3,...,依次处理,计数判断单元333-7用于判断第二计数是否大于或等于第二预设数量,计数判断单元333-7实时接收第二计数,当第二计数大于或等于第二预设数量,则符合预设条件,计数判断单元333-7输出漏油确认信号,也即漏油判断模块输出漏油确认信号,并且漏油计时单元控制第二计数单元332-7复位清零。在本实施例中,第二预设数量为大于或等于2的整数,例如为2、3、4、5、6、7、8、9、10等。
在本实施例中,计数判断单元333-7的输出端用于与抽吸判断单元323-7连接或者与开关控制单元340-7连接。
由于本实施例的漏油判断模块330-7包括漏油计时单元331-7、第二计数单元332-7和计数判断单元333-7,第二计数单元332-7用于对连续接收的计时符合信号进行第二计数,计数判断单元333-7用于判 断第二计数是否大于或等于第二预设数量,若判断结果为是则计数判断单元333-7输出漏油确认信号。因而,当漏油计时单元偶尔出现信号抖动,由于计数判断单元333-7对第二计数有数量上的要求,因而本实施例的漏油控制电路极大降低出现误判断为漏油的概率,提升了漏油控制电路的精准性。
第二十一实施例
请参阅图55,图55是本申请第二十一实施例的气流传感器组件的电路模块图,本实施例与第十九实施例相似,因此本实施例未描述的部分可以参照第十九实施例,本实施例与第十九实施例的主要不同点为漏油判断模块还包括漏油计时单元、第三计数单元336-7、第三计时单元334-7和计时计数判断单元335-7。
请结合参见图49和图55,在本实施例中,漏油判断模块330-7包括漏油计时单元331-7、第三计数单元336-7、第三计时单元334-7和计时计数判断单元335-7。
其中,漏油计时单元与抽吸检测模块320-7连接,具体漏油计时单元是与电压比较单元321-7的输出端电连接,第三计数单元336-7分别与漏油计时单元、计时计数判断单元335-7连接,第三计时单元334-7与漏油计时单元连接,第三计数单元336-7、第三计时单元334-7可以与漏油计时单元同一个输出端连接,也可以与漏油计时单元不同输出端连接,第三计时单元334-7还与计时计数判断单元335-7连接。
在本实施例中,漏油计时单元用于对抽吸检测模块320-7输出的第一信号持续的时长进行计时,若计时时长大于或等于第一预设时长则输出计时符合信号,若计时时长小于第一预设时长则输出计时不符合信号。在本实施例中,第三计数单元336-7用于对接收的计时符合信号进行第三计数,在这里一次计数周期为一个充放电周期,也即在一个充放电周期内最多只进行一次计数,例如,第M个充放电周期(M为正整数)漏油计时单元输出计时符合信号,则第三计数由0变为1,第M+1个充放电周期漏油计时单元输出计时符合信号,则第二计数由1变为2,第M+2个充放电周期漏油计时单元未输出计时符合信号,此时第二计数仍然为2,第二计数单元332-7只要不接收到复位信号就不会复位清零。在本实施例中,第三计时单元334-7未开始计时且在接收到计时符合信号时触发进行第三计时,第三计时单元334-7从0开始计时,此后第三计时单元334-7持续计时,只要不接收复位清零信号第三计时单元334-7就会一直进行计时,不会停下来。在本实施例中,计时计数判断单元335-7分别与第三计数单元336-7、第三计时单元334-7连接,计时计数判断单元335-7用于判断在第三计时是否小于或等于第三预设时长且第三计数是否大于或等于第三预设数量,若判断结果为均为是,则符合预设条件,计时计数判断单元335-7输出漏油确认信号。而且,当第三计时到达第三预设时长,第三计时单元334-7输出复位信号给第三计数单元336-7以使第三计数单元336-7复位清零,且同时第三计时单元334-7本身复位清零;或者,第三计数到达第三预设数量,第三计数单元336-7输出复位信号给第三计时单元334-7以使第三计时单元334-7复位清零,且同时第三计数单元336-7本身复位清零,从而第三计时单元334-7复位清零;或者,计时计数判断单元335-7分别输出复位信号给第三计数单元336-7和第三计时单元334-7,以使第三计时单元334-7和第三计数单元336-7均复位清零。
在本实施例中,第三预设数量为大于或等于2的整数,例如为2、3、4、5、6、7、8、9、10等;第三预设时长的范围例如为大于或等于500微秒且小于或等于30ms(毫秒),例如为500μs、800μs、1ms、5ms、10ms、20ms、30ms等。本申请实施例并不限定第三预设时长的范围,其可以根据实际需求确定,此处不做赘述。
在本实施例中,计时计数判断单元335-7的输出端用于与抽吸判断单元323-7连接或者与开关控制单元340-7连接。
另外,在本申请的其他实施例中,第三计时单元334-7可以不与计时计数判断单元335-7连接,此时第三计时单元334-7与第三计数单元336-7连接,当第三计时单元334-7到达第三预设时长时其输出信号给第三计数单元336-7,第三计数单元336-7输出第三计数给计时计数判断单元335-7,计时计数判断单元335-7此时判断第三计数是否大于或等于第三预设数量,若判断结果为是,则符合预设条件,也即在第三预设时长内第三计数是大于或等于第三预设数量,若判断结果为否,则不符合预设条件。另外,在本申请的其他实施例中,第三计数单元336-7可以不与计时计数判断单元335-7连接,此时第三计数单元336-7与第三计时单元334-7连接,当第三计数单元336-7到达第三预设数量时其输出信号给第三计时单元334-7,第三计时单元334-7输出第三计时给计时计数判断单元335-7,计时计数判断单元335-7此时判断第三计时是否在第三预设时长内,若判断结果为是,则符合预设条件,也即在第三预设时长内第三计数是大于或等于第三预设数量,若判断结果为否,则不符合预设条件。
由于本实施例的漏油判断模块330-7包括漏油计时单元331-7、第三计数单元336-7、第三计时单元334-7和计时计数判断单元335-7,第三计数单元336-7用于对接收的计时符合信号进行第三计数,所述第三计时单元334-7未开始计时且在接收到计时符合信号时触发进行第三计时,计时计数判断单元335-7用于判断在第三预设时长内第三计数是否大于或等于第三预设数量,若判断结果为是则计时计数判断单元335-7输出漏油确认信号。因而,当漏油计时单元偶尔出现信号抖动,由于计时计数判断单元335-7对第 三计数有数量上的要求且对第三计时有时间上的要求,因而本实施例的漏油控制电路可以极大的降低出现误判断为漏油的概率,提升了漏油控制电路的精准性。
本申请的发明人发现,在上述第二十实施例、第二十一实施例中会出现一个问题:当漏油很严重时,在抽吸检测时间段气流端的电压到达不了参考电压,此时第二计数单元、第三计数单元的计数值会为1,从而导致漏油判断模块会判断没出现漏油,导致判断错误。为了解决该问题,本申请提供第二十二实施例、第二十三实施例。
第二十二实施例
请参阅图56,图56是本申请第二十二实施例的气流传感器组件的电路模块图,本实施例与第二十一实施例相似,因此本实施例未描述的部分可以参照第二十一实施例,本实施例与第二十一实施例的主要不同点为漏油判断模块330-7还包括第一逻辑单元337-7,且漏油计时单元331-7中包括第四预设时长。
请结合参见图49和图56,在本实施例中,漏油判断模块330-7包括漏油计时单元331-7、第三计数单元336-7、第三计时单元334-7、计时计数判断单元335-7和第一逻辑单元337-7。
其中,漏油计时单元331-7与抽吸检测模块320-7连接,具体与电压比较单元321-7的输出端连接,当气流端SW的电压小于参考电压VREF时,电压比较单元321-7输出第一信号,第一信号例如为低电平信号,当气流端SW的电压大于或等于参考电压VREF时,电压比较单元321-7输出第二信号,第二信号例如为高电平信号。在本实施例中,漏油计时单元331-7通过对电压比较单元321-7输出的第一信号持续的时长进行计时以判断是否出现漏油,当第一信号持续的时长大于或等于第一预设时长时,此时漏油计时单元331-7输出计时符合信号,此后漏油计时单元331-7还会继续进行计时,直到电压比较单元321-7输出由第一信号转为第二信号的边沿信号,此时漏油计时单元331-7进行复位清零。在本实施例中,漏油计时单元331-7还用于当第一信号持续的时长大于或等于第四预设时长时,也即漏油计时单元331-7的计时时长大于或等于第四预设时长时,此时漏油计时单元331-7输出第二漏油信号,表明漏油比较严重,此时电流源的电流大部分从烟油电阻RL上经过,导致气流端SW的电压比较长时间充不到参考电压VREF。在本实施例中,第四预设时长大于第一预设时长,例如为第四预设时长大于或等于5倍、6倍、7倍、8倍、9倍、10倍的第一预设时长。在本实施例中,当漏油计时单元331-7的计时时长到达第四预设时长时,漏油计时单元331-7可以复位清零,当然也可以根据需要不进行复位清零。
在本实施例中,第三计数单元336-7、第三计时单元334-7、计时计数判断单元335-7的连接关系请参见第二十一实施例,在此不再赘述。在本实施例中,计时计数判断单元335-7用于判断在第三预设时长内第三计数是否大于或等于第三预设数量,若判断结果为是,计时计数判断单元335-7输出第一漏油信号。在本实施例,第一逻辑单元337-7分别与漏油计时单元331-7、计时计数判断单元335-7连接,当第一逻辑单元337-7接收到第一漏油信号或者第二漏油信号,此时表示符合预设条件,第一逻辑单元337-7输出漏油确认信号,以使开关控制单元控制第一开关单元保持断开截止。也即在本实施例中,计时计数判断单元335-7判断在第三预设时长内第三计数大于或等于第三预设数量,或者漏油计时单元331-7的计时时长大于或等于第四预设时长,此时表示符合预设条件。在本实施例中,第一逻辑单元337-7的输出端与抽吸判断单元的使能端或者开关控制单元连接,具体如何使第一开关单元保持断开截止请参见第十九实施例,在此不再赘述。在本实施例中,第一逻辑单元337-7为或门或者其他逻辑门或者逻辑门的组合,此为本领域技术人员的常规技术,在此不再赘述。
另外,在本申请的其他实施例中,请参见图57,图57与第二十实施例比较相似,第二计数单元332-7、计数判断单元333-7的连接关系与作用请参见第二十实施例,在此不再赘述。漏油计时单元331-7、第一逻辑单元337-7的作用与图56作用一样,在此不再赘述。在此实施例中,计数判断单元333-7用于判断第二计数是否大于或等于第二预设数量,若判断结果为是则输出第二漏油信号。
第二十三实施例
请参阅图58,图58是本申请第二十三实施例的气流传感器组件的电路模块图,本实施例与第二十一实施例相似,因此本实施例未描述的部分可以参照第二十一实施例,本实施例与第二十一实施例的主要不同点为漏油判断模块330-7还包括第四计数单元338-7。
请结合参见图49和图58,在本实施例中,漏油判断模块330-7包括漏油计时单元331-7、第三计数单元336-7、第三计时单元334-7、计时计数判断单元335-7和第四计数单元338-7。其中,漏油计时单元331-7、第三计数单元336-7、第三计时单元334-7、计时计数判断单元335-7的作用和连接关系请参见第二十一实施例中。在本实施例中,第四计数单元338-7分别与第三计时单元334-7、电压比较单元321-7和计时计数判断单元335-7连接,其中,当第三计时单元334-7在未工作且接收到计时符合信号时被触发开始计时时,第四计数单元338-7开始工作,当第三计时单元334-7被复位清零且不工作时,第四计数单元338-7被复位清零且不工作,第四计数单元338-7用于对电压比较单元321-7输出的边沿信号进行第四计数,例如本实施例对上升沿信号(由第一信号变为第二信号的边沿信号)进行第四计数,或者对下降沿 信号(由第二信号变为第一信号的边沿信号,或者反过来)进行第四计数,计时计数判断单元335-7实时与第三计时单元334-7、第四计数单元338-7连接,计时计数判断单元335-7还用于判断在第三计时到达第三预设时长时第四计数是否等于0,若判断结果为是则所述计时计数判断单元335-7也输出漏油确认信号。也即,在本实施例中,当计时计数判断单元335-7判断在第三预设时长内第三计数大于或等于第三预设数量,或者,计时计数判断单元335-7判断第三计时到达第三预设时长时第四计数等于0,则计时计数判断单元335-7输出漏油确认信号。在本实施例中,当漏油比较严重时,此时气流端SW的信号会长时间不能到达参考电压VREF,导致电压比较单元321-7会长时间输出第一信号,不会出现边沿信号,从而第四计数单元338-7不会进行第四计数,第四计数维持为0。
另外,在本申请的其他实施例中,第三计时单元334-7还可以不与计时计数判断单元335-7连接,当第三计时单元334-7未到达第三预设时长时,第四计数单元338-7不输出第四计数给计时计数判断单元335-7,当第三计时单元334-7到达第三预设时长时,第四计数单元338-7输出第四计数给计时计数判断单元335-7,计时计数判断单元335-7判断第四计数是否等于0,若判断结果为是,则计时计数判断单元335-7输出漏油确认信号。在此处,当第三计时单元334-7到达第三预设时长后,第三计时单元334-7还会输出复位信号给第四计数单元338-7,第四计数单元在输出第四计数给计时计数判断单元335-7后进行复位清零。
另外,在本申请的其他实施例中,请参见图59,第四计数单元338-7还可以与漏油计时单元331-7连接,当漏油计时单元331-7输出计时符合信号时,第三计时单元334-7、第四计数单元338-7均会接收到计时符合信号,第三计时单元334-7被触发进行第三计时,同时,第四计数单元338-7被触发开始工作,实现第三计时单元334-7与第四计数单元338-7同步开始工作,第四计数单元338-7工作后进行第四计数,第四计数最开始为0,其后当第四计数单元338-7侦测到电压比较单元321-7输出的边沿信号时,第四计数单元338-7进行累加计数,例如由0变为1,由1变为2等,第四计数单元338-7工作后再次接收计时符合信号后,由于第四计数单元338-7没有处于不工作状态,从而第四计数单元338-7仍然保持为工作状态,且继续进行第四计数。当第三计时单元334-7到达第三预设时长后,第四计数单元338-7会接收到复位信号,复位信号可以来自第三计时单元334-7、第三计数单元338-7、计时计数判断单元335-7等,实现第四计数单元338-7与第三计时单元334-7同步复位清零。从而在此处可以实现第三计时单元334-7、第四计数单元338-7同步开始工作,且同步复位清零停止工作。
另外,在本申请的其他实施例中,漏油判断模块330-7还可以不包括第三计数单元336-7,在此不再赘述。
所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,仅以上述各功能单元、模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能单元、模块完成,即将所述装置的内部结构划分成不同的功能单元或模块,以完成以上描述的全部或者部分功能。实施例中的各功能单元、模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中,上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。另外,各功能单元、模块的具体名称也只是为了便于相互区分,并不用于限制本申请的保护范围。上述系统中单元、模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
应当理解的是,在本文中提及的“多个”是指两个或两个以上。本领域技术人员在考虑说明书及实践这里公开的申请后,将容易想到本申请的其它实施方案。本申请旨在涵盖本申请的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本申请的一般性原理并包括本申请未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本申请的真正范围和精神由下面的权利要求指出。
需要说明的是,本说明书中的各个实施例均采用递进的方式描述,每个实施例重点说明的都是与其它实施例的不同之处,各个实施例之间相同相似的部分互相参见即可。对于装置实施例而言,由于其与方法实施例基本相似,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。
以上所揭露的仅为本申请较佳实施例而已,当然不能以此来限定本申请之权利范围,因此依本申请权利要求所作的等同变化,仍属本申请所涵盖的范围。

Claims (124)

  1. 一种应用于电子烟的漏油检测电路,其特征在于,包括:电源供电端、电源接地端、气流端、雾化端,其中,所述电源供电端和电源接地端对应用于与电池的正、负极连接,所述气流端用于与电容式气流传感器的一个电极连接,所述电源接地端还用于与电容式气流传感器的另一电极连接,所述雾化端用于与发热元件连接;
    其中,所述漏油检测电路还包括第一电流源、漏油检测单元和漏油控制单元,所述第一电流源、所述漏油检测单元均与气流端连接,所述漏油控制单元与所述漏油检测单元连接,所述第一电流源通过气流端用于给电容式气流传感器充电,经过漏油检测时长充电后所述漏油检测单元采样气流端的电压以获得第一采样电压,所述漏油检测单元将所述第一采样电压与第一参考电压进行比较并输出比较结果信息,所述漏油控制单元根据所述比较结果信息判断电子烟是否处于漏油状态。
  2. 根据权利要求1所述的漏油检测电路,其特征在于,所述漏油检测单元包括第一电压比较器,所述第一电压比较器的第一输入端接入第一采样电压,所述第一电压比较器的第二输入端接入第一参考电压,经过漏油检测时长充电后所述第一电压比较器将第一采样电压与第一参考电压进行比较并输出比较结果信息。
  3. 根据权利要求2所述的漏油检测电路,其特征在于,所述漏油控制单元包括第三计时子单元,第三计时子单元的输入端与第一电压比较器的输出端连接,所述第三计时子单元对经过漏油检测时长充电后第一采样电压小于第一参考电压的时长进行计时,当第三计时子单元计时大于或等于第三时长时,第三计时子单元输出漏油确认信号。
  4. 根据权利要求1所述的漏油检测电路,其特征在于,所述漏油检测电路包括功率开关,所述漏油控制单元包括第一计时子单元和逻辑控制子单元,其中,所述逻辑控制子单元分别与漏油检测单元、第一计时子单元、功率开关的控制端连接,所述功率开关的第一端与电源供电端或者电源接地端连接,所述功率开关的第二端与雾化端连接;且,
    第一计时子单元用于对充电时长进行计时,当第一计时子单元计时漏油检测时长后输出第一计时信号给逻辑控制子单元,逻辑控制子单元接收漏油检测单元输出的比较结果信息;或者,
    第一计时子单元还与漏油检测单元连接,第一计时子单元用于对充电时长进行计时,当第一计时子单元计时漏油检测时长后输出第一计时信号给漏油检测单元,漏油检测单元将所述第一采样电压与第一参考电压进行比较并输出比较结果信息给逻辑控制子单元。
  5. 根据权利要求1所述的漏油检测电路,其特征在于,所述漏油检测电路还包括抽吸检测模块、充放电开关,所述抽吸检测模块分别与所述气流端、所述漏油控制单元连接,所述抽吸检测模块用于检测气流传感器的电容或者电容的变化以判断电子烟是否处于抽吸状态,所述抽吸检测模块还可控制充放电开关是否导通,所述充放电开关的第一端与气流端连接,所述充放电开关的第二端与电源接地端连接;
    其中,在所述漏油检测时长所述充放电开关保持断开截止。
  6. 根据权利要求5所述的漏油检测电路,其特征在于,所述抽吸检测模块在抽吸检测时间段实时采样气流端的电压以获得第二采样电压,所述抽吸检测模块包括第二电压比较单元和抽吸判断单元,其中,所述第二电压比较单元的第一输入端接入第二采样电压,其第二输入端接入第二参考电压,所述第二电压比较单元的输出端与抽吸判断单元连接,所述抽吸判断单元与漏油控制单元连接;
    所述第一电流源在漏油检测时间段通过气流端用于给电容式气流传感器充电,其中,所述漏油检测时间段包括所述漏油检测时长,所述第一电流源还在抽吸检测时间段通过气流端用于给电容式气流传感器充电,在抽吸检测时间段当第二采样电压大于或等于第二参考电压时所述第二电压比较单元控制充放电开关导通以对所述电容式气流传感器进行放电,当第二采样电压小于第二参考电压时所述第二电压比较单元控制充放电开关断开截止。
  7. 根据权利要求6所述的漏油检测电路,其特征在于,所述漏油检测电路还包括开关控制单元,所述开关控制单元分别与所述第二电压比较单元的输出端、漏油控制单元、充放电开关的控制端连接,在抽吸检测时间段时所述充放电开关受第一电压比较器的控制,在漏油检测时间段的漏油检测时长时所述开关控制单元控制所述充放电开关保持断开截止。
  8. 根据权利要求5所述的漏油检测电路,其特征在于,所述抽吸检测模块在抽吸检测时间段实时采样气流端的电压以获得第二采样电压,所述抽吸检测模块包括第二电压比较单元和抽吸判断单元,所述漏油检测电路还包括第二电流源,其中,所述第二电压比较单元的第一输入端接入第二采样电压,其第二输入端接入第二参考电压,所述第二电压比较单元的输出端与抽吸判断单元连接,所述抽吸判断单元与漏油控制单元连接,所述第二电流源与所述气流端连接;
    所述第一电流源在漏油检测时间段通过气流端用于给电容式气流传感器充电,其中,所述漏油检测时间段包括所述漏油检测时长,所述第二电流源在抽吸检测时间段通过气流端用于给电容式气流传感器充电,在抽吸检测时间段当第二采样电压大于或等于第二参考电压时所述第二电压比较单元控制所述充放电 开关导通以对所述电容式气流传感器进行放电,当第二采样电压小于第二参考电压时所述第二电压比较单元控制所述充放电开关断开截止。
  9. 根据权利要求6或8所述的漏油检测电路,其特征在于,所述漏油检测电路包括第二开关单元,其中,所述第二开关单元的两端对应与电源供电端、第二电压比较单元的电源端连接;所述漏油控制单元在所述漏油检测时间段控制所述第二开关单元断开截止以使所述第二电压比较单元停止工作,以控制所述充放电开关断开截止。
  10. 根据权利要求6或8所述的漏油检测电路,其特征在于,每个抽吸检测时间段包括多个电容式气流传感器的充放电周期,所述电容充放电周期包括充电时间段和放电时间段,所述充电时间段适用于所述第二采样电压从小于第二参考电压充电到大于或等于第二参考电压,所述放电时间段适用于所述第二采样电压从大于或等于第二参考电压放电到小于第二参考电压,所述漏油检测时长大于或等于10倍电容充放电周期;或者,
    在漏油检测时间段输出给气流端的充电电流大于或等于10倍的在抽吸检测时间段输出给气流端的充电电流。
  11. 根据权利要求1-4任意一项所述的漏油检测电路,其特征在于,所述第一参考电压包括多个子参考电压,多个所述子参考电压相异,所述比较结果信息对应包括多个子比较结果信息,所述漏油检测单元将第一采样电压与多个所述子参考电压进行比较以输出对应的比较结果信息。
  12. 根据权利要求1-4任意一项所述的漏油检测电路,其特征在于,所述漏油检测时长大于或等于1ms;或者,
    所述漏油检测电路位于同一个芯片上,所述电源供电端为电源供电引脚,所述电源接地端为电源接地引脚,所述气流端为气流引脚,所述雾化端为雾化引脚。
  13. 一种应用于电子烟的漏油检测方法,其特征在于,包括:
    通过气流端给电容式气流传感器充电,其中,所述气流端用于与电容式气流传感器的一个电极连接,所述电容式气流传感器的另一个电极用于与电源接地端电连接;
    触发对充电时长进行第一计时;
    判断第一计时是否大于或等于漏油检测时长;
    若判断结果为是,则采样气流端的电压以获取第一采样电压,并将所述第一采样电压与第一参考电压进行比较并输出比较结果信息,且接收所述比较结果信息并根据所述比较结果信息判断电子烟是否处于漏油状态。
  14. 根据权利要求13所述的漏油检测方法,其特征在于,步骤根据所述比较结果信息判断电子烟是否处于漏油状态具体包括:
    对第一比较结果信息的持续时长进行第三计时,其中,所述第一比较结果信息表征第一采样电压小于第一参考电压;
    判断第三计时是否大于或等于第三时长;
    若判断结果为是,则判断电子烟处于漏油状态。
  15. 根据权利要求13所述的漏油检测方法,其特征在于,所述第一参考电压包括第一子参考电压和第二子参考电压,其中,所述第一子参考电压小于第二子参考电压;步骤将所述第一采样电压与第一参考电压进行比较并输出比较结果信息具体包括:
    判断所述第一采样电压是否小于第二子参考电压;
    若判断结果为是,则判断所述第一采样电压是否小于第一子参考电压;
    若判断结果为是,则输出第一子比较结果信息;
    若判断结果为否,则输出第二子比较结果信息,其中,所述第二子比较结果信息与所述第一子比较结果信息相异,所述第二子比较结果信息、所述第一子比较结果信息用于表征电子烟的不同漏油程度。
  16. 根据权利要求13-15任意一项所述的漏油检测方法,其特征在于,所述漏油检测方法还包括:
    在对电子烟是否处于漏油状态进行检测的时间段控制充放电开关保持断开截止,其中,所述充放电开关的第一端与气流端连接,所述充放电开关的第二端与电源接地端连接。
  17. 根据权利要求13-15任意一项所述的漏油检测方法,其特征在于,所述漏油检测方法还包括:
    在抽吸检测时间段通过漏油检测电路的气流端检测电子烟是否处于抽吸状态,其中,对电子烟是否处于漏油状态进行检测的时间段为漏油检测时间段,所述漏油检测时间段与所述抽吸检测时间段相异。
  18. 一种漏油检测电路,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时实现如权利要求13至17中任一项所述的漏油检测方法。
  19. 一种应用于电子烟的漏油检测电路,其特征在于,包括:电源供电端、电源接地端、气流端、雾化端,其中,所述电源供电端和电源接地端对应用于与电池的正、负极连接,所述气流端用于与电容式气 流传感器的一个电极连接,所述电源接地端还用于与电容式气流传感器的另一电极连接,所述雾化端用于与发热元件连接;
    其中,所述漏油检测电路还包括漏油检测单元和漏油控制单元,所述漏油检测单元与气流端连接,所述漏油检测单元通过气流端用于获得第一采样电阻信息,其中,所述第一采样电阻信息用于表征气流端与电源接地端的电阻大小,所述漏油检测单元将所述第一采样电阻信息与第一参考电阻信息进行比较并输出比较结果信息,所述漏油控制单元根据所述比较结果信息判断电子烟是否处于漏油状态。
  20. 根据权利要求19所述的漏油检测电路,其特征在于,所述漏油检测电路还包括第一电流源,所述第一电流源与气流端连接,所述第一电流源通过气流端用于给电容式气流传感器充电,经过漏油检测时长充电后所述漏油检测单元采集气流端的电压以获得第一采样电压,并将第一采样电压、第一电流信息进行计算以得到第一采样电阻信息,其中,所述第一电流信息用于表征第一电流源输出的电流。
  21. 根据权利要求20所述的漏油检测电路,其特征在于,所述漏油检测单元包括除法器和第一电阻比较器,其中,所述除法器的第一输入端接入第一采样电压,所述除法器的第二输入端接入第一电流信息,所述除法器输出第一采样电阻信息,第一电阻比较器的第一输入端接入第一采样电阻信息,所述第一电阻比较器的第二输入端接入第一参考电阻信息,所述第一电阻比较器将第一采样电阻信息与第一参考电阻信息进行比较并输出比较结果信息。
  22. 根据权利要求19所述的漏油检测电路,其特征在于,所述漏油检测单元包括第一分压电阻、第二分压电阻、第三分压电阻、第四分压电阻和压差比较子单元;其中,第一分压电阻的第一端与电源供电端连接,第一分压电阻的第二端与气流端连接,气流端与第三分压电阻的第一端连接,第三分压电阻的第二端与电源接地端连接;第二分压电阻的第一端与第一分压电阻的第一端连接,第二分压电阻的第二端与第四分压电阻的第一端连接,第四分压电阻的第二端与第三分压电阻的第二端连接,其中,第一分压电阻与第三分压电阻的阻值比值和第二分压电阻与第四分压电阻的阻值比值相等;压差比较子单元与气流端连接以得到第一分压值,压差比较子单元与第四分压电阻的第一端连接以得到第二分压值,压差比较子单元将第一分压值、第二分压值相减以得到第一采样电阻信息,压差比较子单元还接收第一参考电阻信息并将第一采样电阻信息与第一参考电阻信息进行比较并输出比较结果信息。
  23. 根据权利要求22所述的漏油检测电路,其特征在于,所述漏油检测电路还包括第一开关单元和第三开关单元,其中,第一开关单元的第一端与电源供电端连接,第一开关单元的第二端分别与第一分压电阻的第一端、第二分压电阻的第一端连接,第三开关单元的第一端与气流端连接,第三开关单元的第二端与第三分压电阻的第一端连接,第一开关单元的控制端、第三开关单元的控制端均与漏油控制单元连接,在对电子烟是否处于漏油状态进行检测的时间段漏油控制单元控制第一开关单元、第三开关单元均开启导通。
  24. 根据权利要求20所述的漏油检测电路,其特征在于,所述漏油检测电路包括功率开关,所述漏油控制单元包括第一计时子单元和逻辑控制子单元,其中,所述逻辑控制子单元分别与漏油检测单元、第一计时子单元、功率开关的控制端连接,所述功率开关的第一端与电源供电端或者电源接地端连接,所述功率开关的第二端与雾化端连接;且,
    第一计时子单元用于对充电时长进行计时,当第一计时子单元计时漏油检测时长后输出第一计时信号给逻辑控制子单元,逻辑控制子单元接收漏油检测单元输出的比较结果信息;或者,
    第一计时子单元还与漏油检测单元连接,第一计时子单元用于对充电时长进行计时,当第一计时子单元计时漏油检测时长后输出第一计时信号给漏油检测单元,漏油检测单元将所述第一采样电阻信息与第一参考电阻信息进行比较并输出比较结果信息给逻辑控制子单元。
  25. 根据权利要求20所述的漏油检测电路,其特征在于,所述漏油控制单元包括第三计时子单元和逻辑控制子单元,第三计时子单元的输入端与漏油检测单元的输出端连接,第三计时子单元的输出端与逻辑控制子单元连接,所述第三计时子单元对经过漏油检测时长充电后第一采样电阻信息小于第一参考电阻信息的时长进行计时,当第三计时子单元计时大于或等于第三时长时,第三计时子单元输出漏油确认信号。
  26. 根据权利要求19-21、24、25任意一项所述的漏油检测电路,其特征在于,所述第一采样电阻信息包括电阻、电压,所述第一参考电阻信息与所述第一采样电阻信息对应。
  27. 根据权利要求20所述的漏油检测电路,其特征在于,所述漏油检测电路还包括抽吸检测模块、充放电开关,所述抽吸检测模块分别与所述气流端、所述漏油控制单元连接,所述抽吸检测模块用于检测气流传感器的电容或者电容的变化以判断电子烟是否处于抽吸状态,所述抽吸检测模块还可控制充放电开关是否导通,所述充放电开关的第一端与气流端连接,所述充放电开关的第二端与电源接地端连接;
    其中,在对电子烟是否处于漏油状态进行检测的时间段所述充放电开关保持断开截止。
  28. 根据权利要求27所述的漏油检测电路,其特征在于,所述抽吸检测模块在抽吸检测时间段实时采样气流端的电压以获得第二采样电压,所述抽吸检测模块包括第二电压比较单元和抽吸判断单元,其中,所述第二电压比较单元的第一输入端接入第二采样电压,其第二输入端接入第二参考电压,所述第二电压比较单元的输出端与抽吸判断单元连接,所述抽吸判断单元与漏油控制单元连接;
    所述第一电流源在漏油检测时间段通过气流端用于给电容式气流传感器充电,其中,所述漏油检测时间段包括所述漏油检测时长,所述第一电流源还在抽吸检测时间段通过气流端用于给电容式气流传感器充电,在抽吸检测时间段当第二采样电压大于或等于第二参考电压时所述第二电压比较单元控制充放电开关导通以对所述电容式气流传感器进行放电,当第二采样电压小于第二参考电压时所述第二电压比较单元控制充放电开关断开截止。
  29. 根据权利要求28所述的漏油检测电路,其特征在于,所述漏油检测电路还包括开关控制单元,所述开关控制单元分别与所述第二电压比较单元的输出端、漏油控制单元、充放电开关的控制端连接,在抽吸检测时间段时所述充放电开关受第一电阻比较器的控制,在漏油检测时间段的漏油检测时长时所述开关控制单元控制所述充放电开关保持断开截止。
  30. 根据权利要求27所述的漏油检测电路,其特征在于,所述抽吸检测模块在抽吸检测时间段实时采样气流端的电压以获得第二采样电压,所述抽吸检测模块包括第二电压比较单元和抽吸判断单元,所述漏油检测电路还包括第二电流源,其中,所述第二电压比较单元的第一输入端接入第二采样电压,其第二输入端接入第二参考电压,所述第二电压比较单元的输出端与抽吸判断单元连接,所述抽吸判断单元与漏油控制单元连接,所述第二电流源与所述气流端连接;
    所述第一电流源在漏油检测时间段通过气流端用于给电容式气流传感器充电,其中,所述漏油检测时间段包括所述漏油检测时长,所述第二电流源在抽吸检测时间段通过气流端用于给电容式气流传感器充电,在抽吸检测时间段当第二采样电压大于或等于第二参考电压时所述第二电压比较单元控制所述充放电开关导通以对所述电容式气流传感器进行放电,当第二采样电压小于第二参考电压时所述第二电压比较单元控制所述充放电开关断开截止。
  31. 根据权利要求28或30所述的漏油检测电路,其特征在于,所述漏油检测电路包括第二开关单元,其中,所述第二开关单元的两端对应与电源供电端、第二电压比较单元的电源端连接;所述漏油控制单元在所述漏油检测时间段控制所述第二开关单元断开截止以使所述第二电压比较单元停止工作,以控制所述充放电开关断开截止。
  32. 根据权利要求28或30所述的漏油检测电路,其特征在于,每个抽吸检测时间段包括多个电容式气流传感器的充放电周期,所述充放电周期包括充电时间段和放电时间段,所述充电时间段适用于所述第二采样电压从小于第二参考电压充电到大于或等于第二参考电压,所述放电时间段适用于所述第二采样电压从大于或等于第二参考电压放电到小于第二参考电压,所述漏油检测时长大于或等于10倍充放电周期,或者,
    在漏油检测时间段输出给气流端的充电电流大于或等于10倍的在抽吸检测时间段输出给气流端的充电电流。
  33. 根据权利要求19-25任意一项所述的漏油检测电路,其特征在于,所述第一参考电阻信息包括多个子参考电阻信息,多个所述子参考电阻信息相异,所述比较结果信息对应包括多个子比较结果信息,所述漏油检测单元将第一采样电阻信息与多个所述子参考电阻信息进行比较以输出对应的比较结果信息。
  34. 根据权利要求19-25任意一项所述的漏油检测电路,其特征在于,所述漏油检测时长大于或等于1ms;或者,
    所述漏油检测电路位于同一个芯片上,所述电源供电端为电源供电引脚,所述电源接地端为电源接地引脚,所述气流端为气流引脚,所述雾化端为雾化引脚。
  35. 一种应用于电子烟的漏油检测方法,其特征在于,包括:
    通过漏油检测电路的气流端获取第一采样电阻信息,其中,所述第一采样电阻信息用于表征气流端与电源接地端的电阻大小,所述漏油检测电路包括电源供电端、电源接地端、气流端、雾化端,其中,所述电源供电端和电源接地端对应用于与电池的正负、极连接,所述气流端用于与电容式气流传感器的一个电极连接,所述电源接地端还用于与电容式气流传感器的另一电极连接,所述雾化端用于与发热元件连接;
    将所述第一采样电阻信息与第一参考电阻信息进行比较并输出比较结果信息;
    接收所述比较结果信息并根据所述比较结果信息判断电子烟是否处于漏油状态。
  36. 根据权利要求35所述的漏油检测方法,其特征在于,步骤通过漏油检测电路的气流端获取第一采样电阻信息具体包括:
    通过所述气流端给所述电容式气流传感器充电;
    触发对充电时长进行第一计时;
    判断第一计时是否大于或等于漏油检测时长;
    若判断结果为是,则采样所述气流端的电压以获取第一采样电压,并将第一采样电压、第一电流信息进行计算以得到第一采样电阻信息,其中,所述第一电流信息用于表征给气流传感器充电的充电电流。
  37. 根据权利要求36所述的漏油检测方法,其特征在于,所述第一采样电阻信息为电压或者电阻。
  38. 根据权利要求35所述的漏油检测方法,其特征在于,步骤通过漏油检测电路的气流端获取第一采样电阻信息具体包括:
    通过气流端获得第一分压值,其中,所述气流端分别连接第一电阻的第二端和第三电阻的第一端,第一电阻和第三电阻串联;
    通过第二分压采样点获得第二分压值,其中,所述第二分压采样点分别连接第二电阻的第二端和第四电阻的第一端,第二电阻与第四电阻串联,第二电阻的第一端与第一电阻的第一端连接,第四电阻的第二端与第三电阻的第二端连接,第二电阻与第四电阻的阻值比值和第一电阻与第三电阻的阻值比值相等;
    将第一分压值、第二分压值相减以得到第二采样电阻信息。
  39. 根据权利要求35所述的漏油检测方法,其特征在于,步骤根据所述比较结果信息判断电子烟是否处于漏油状态具体包括:
    对第一比较结果信息的持续时长进行第三计时,其中,所述第一比较结果信息表征第一采样电阻信息小于第一参考电阻信息;
    判断第三计时是否大于或等于第三时长;
    若判断结果为是,则判断电子烟处于漏油状态。
  40. 根据权利要求35所述的漏油检测方法,其特征在于,所述第一参考电阻信息包括第一预设子参考电阻信息和第二预设子参考电阻信息,其中,所述第一预设子参考电阻信息小于第二预设子参考电阻信息;步骤将所述第一采样电阻信息与第一参考电阻信息进行比较并输出比较结果信息具体包括:
    判断所述第一采样电阻信息是否小于第二预设子参考电阻信息;
    若判断结果为是,则判断所述第一采样电阻信息是否小于第一预设子参考电阻信息;
    若判断结果为是,则输出第一子比较结果信息;
    若判断结果为否,则输出第二子比较结果信息,其中,所述第二子比较结果信息与所述第一子比较结果信息相异,所述第二子比较结果信息、所述第一子比较结果信息用于表征电子烟的不同漏油程度。
  41. 根据权利要求35-40任意一项所述的漏油检测方法,其特征在于,所述漏油检测方法还包括:
    在对电子烟是否处于漏油状态进行检测的时间段控制充放电开关保持断开截止,其中,所述充放电开关的第一端与气流端连接,所述充放电开关的第二端与电源接地端连接。
  42. 一种漏油检测电路,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时实现如权利要求35至41中任一项所述的漏油检测方法。
  43. 一种应用于电子烟的漏油检测电路,其特征在于,包括:电源供电端、电源接地端、气流端、雾化端,其中,所述电源供电端和电源接地端对应用于与电池的正、负极连接,所述气流端用于与电容式气流传感器的一个电极连接,所述电源接地端还用于与电容式气流传感器的另一电极连接,所述雾化端用于与发热元件连接;
    其中,所述漏油检测电路包括漏油检测单元、漏油控制单元和功率开关,所述漏油检测单元与气流端连接以采样获得第一采样电压,所述漏油检测单元还与漏油控制单元连接,所述漏油控制单元与功率开关的控制端连接,所述功率开关的一端与电源供电端或者电源接地端连接,所述功率开关的另一端与雾化端连接;
    其中,所述漏油检测单元用于第一采样电压由第一电压值经过第二预设时长放电至第二电压值,并基于第一电压值、第二电压值计算获得第二电压信息,所述漏油检测单元还用于将第二电压信息与第二预设电压信息进行比较并输出比较结果信息,所述漏油控制单元用于根据比较结果信息判断电子烟是否处于漏油状态。
  44. 根据权利要求43所述的漏油检测电路,其特征在于,所述漏油检测电路包括第一电流源,所述第一电流源与气流端连接以用于在漏油检测时间段给气流传感器充电;
    所述漏油检测单元包括第一计时子单元、计算子单元、第二计时子单元、第二比较子单元,其中,所述第一计时子单元分别与计算子单元、第二计时子单元连接,所述计算子单元用于接收第一采样电压,所述第二计时子单元与计算子单元或者第二比较子单元连接,所述第二比较子单元的一个输入端与计算子单元连接,其另一个输入端接入第二电压信息,其输出端与漏油控制单元连接;
    其中,第一电流源用于给气流传感器充电并触发第一计时子单元对充电时长进行第一计时,当第一计时到达第一预设时长时第一电流源停止给气流传感器充电,且触发所述计算子单元获取第一采样电压为第一电压值,并触发第二计时子单元对放电时长进行第二计时,当第二计时到达第二预设时长时所述计算子单元获取第一采样电压为第二电压值,计算子单元根据第一电压值、第二电压值计算获得第二电压信息并输出给第二比较子单元,第二比较子单元将第二电压信息与第二预设电压信息进行比较并输出比较结果信息。
  45. 根据权利要求43所述的漏油检测电路,其特征在于,所述漏油检测电路包括第一电流源,所述第一电流源与气流端连接以用于在漏油检测时间段给气流传感器充电;
    所述漏油检测单元包括第一电压比较子单元、计算子单元、第二计时子单元、第二比较子单元,其中,所述第一电压比较子单元的一个输入端用于接收第一采样电压,其另一个输入端用于接收预设的第一电压 值,其输出端与第二计时子单元连接,所述计算子单元还用于接收第一采样电压,所述第二计时子单元还与计算子单元或者第二比较子单元连接,所述第二比较子单元的一个输入端与计算子单元连接,其另一个输入端接入第二电压信息,其输出端与漏油控制单元连接;
    其中,第一电流源用于给气流传感器充电,当第一采样电压到达第一电压值时触发第二计时子单元对放电时长进行第二计时,且第一电流源停止给气流传感器充电,当第二计时到达第二预设时长时所述计算子单元获取第一采样电压为第二电压值,计算子单元根据预存或者采样获得的第一电压值、第二电压值计算获得第二电压信息并输出给第二比较子单元,第二比较子单元将第二电压信息与第二预设电压信息进行比较并输出比较结果信息。
  46. 根据权利要求44或45所述的漏油检测电路,其特征在于,所述计算子单元包括减法器,所述减法器接收第一电压值、第二电压值,所述减法器将第一电压值、第二电压值相减以得到第二电压信息;或者,
    所述漏油检测电路包括第一开关单元,所述第一开关单元的第一端与电源供电端连接,所述第一开关单元的第二端与第一电流源电连接,所述第一开关单元的控制端与漏油控制单元连接;当所述漏油控制单元控制第一开关单元导通时所述第一电流源用于给气流传感器充电,当所述漏油控制单元控制第一开关单元断开截止时所述第一电流源用于停止给气流传感器充电。
  47. 根据权利要求43-45任意一项所述的漏油检测电路,其特征在于,所述第二电压信息为第一电压值与第二电压值的电压差值、第一电压值与第二电压值的电压比值或者电压差值与第一采样电压的比值,所述第二预设电压信息与所述第二电压信息对应。
  48. 根据权利要求43-45任意一项所述的漏油检测电路,其特征在于,所述漏油检测电路还包括充放电开关,所述充放电开关的一端与气流端连接,所述充放电开关的另一端与电源接地端连接,在对电子烟是否处于漏油状态进行检测的时间段所述充放电开关保持断开截止。
  49. 根据权利要求48所述的漏油检测电路,其特征在于,所述漏油检测电路还包括第三电压比较单元和抽吸判断单元,所述第三电压比较单元的一个输入端与气流端连接以采样获得第三采样电压,所述第三电压比较单元另一个输入端接入预设的第三参考电压,所述第三电压比较单元的输出端分别与抽吸判断单元、充放电开关的控制端连接,所述抽吸判断的输出端与漏油控制单元连接;
    所述漏油检测电路还包括第二开关单元和第二电流源,其中,所述第二开关单元的第一端与电源供电端连接,所述第二开关单元的第二端分别与第二电流源、第三电压比较单元的电源端连接,所述第二开关单元的控制端与漏油控制单元连接;所述第二电流源与气流端连接以用于在抽吸检测时间段给气流传感器充电,在抽吸检测时间段所述漏油控制单元控制第二开关单元开启导通,当第三采样电压小于第三参考电压时所述第三电压比较单元控制充放电开关断开截止,当第三采样电压大于或等于第三参考电压时所述第三电压比较单元控制充放电开关导通,在对电子烟是否处于漏油状态进行检测的时间段所述漏油控制单元控制第二开关单元断开截止。
  50. 根据权利要求48所述的漏油检测电路,其特征在于,所述漏油检测电路还包括第三电压比较单元和抽吸判断单元,所述第三电压比较单元的一个输入端与气流端连接以采样获得第三采样电压,所述第三电压比较单元另一个输入端接入预设的第三参考电压,所述第三电压比较单元的输出端与抽吸判断单元连接,所述抽吸判断的输出端与漏油控制单元连接;
    所述漏油检测电路还包括开关控制单元,所述开关控制单元的一个输入端与第三电压比较单元的输出端连接,所述开关控制单元的另一个输入端与漏油控制单元连接,所述开关控制单元的输出端与充放电开关单元的控制端连接,在抽吸检测时间段所述充放电开关受第三电压比较单元的输出信号控制,在对电子烟是否处于漏油状态进行检测的时间段所述漏油控制单元控制充放电开关断开截止。
  51. 一种应用于电子烟的漏油检测电路,其特征在于,包括:电源供电端、电源接地端、气流端、雾化端,其中,所述电源供电端和电源接地端对应用于与电池的正负、极连接,所述气流端用于与电容式气流传感器的一个电极连接,所述电源接地端还用于与电容式气流传感器的另一电极连接,所述雾化端用于与发热元件连接;
    其中,所述漏油检测电路包括漏油检测单元、漏油控制单元和功率开关,所述漏油检测单元与气流端连接以采样获得第一采样电压,所述漏油检测单元还与漏油控制单元连接,所述漏油控制单元与功率开关的控制端连接,所述功率开关的一端与电源供电端或者电源接地端连接,所述功率开关的另一端与雾化端连接;
    其中,所述漏油检测单元用于对位于第一电压值的第一采样电压的放电时长进行第二计时,当所述第一采样电压放电到第二电压值时所述漏油检测单元还用于将第二计时与第二预设时长进行比较并输出比较结果信息,所述漏油控制单元用于根据比较结果信息判断电子烟是否处于漏油状态。
  52. 根据权利要求51所述的漏油检测电路,其特征在于,所述漏油检测单元还用于当所述第二计时到达第十预设时长且所述第一采样电压未放电到第二电压值时输出第二比较结果信息,所述漏油控制单元用于根据第二比较结果信息判断电子烟不处于漏油状态。
  53. 根据权利要求51所述的漏油检测电路,其特征在于,所述漏油检测电路包括第一电流源,所述第一电流源与气流端连接以用于在漏油检测时间段给气流传感器充电;
    所述漏油检测单元包括第一计时子单元、计算子单元、第二计时子单元、第二比较子单元、第二时长判断子单元,其中,所述第一计时子单元分别与计算子单元、第二计时子单元连接,所述计算子单元用于接收第一采样电压,所述第二比较子单元的一个输入端与计算子单元连接以获得第二电压值,其另一个输入端接入第一采样电压,其输出端与第二计时子单元或者第二时长判断子单元连接,所述第二时长判断子单元的一个输入端与第二计时子单元连接,其另一个输入端接入第二预设时长,其输出端与漏油控制单元连接;
    其中,第一电流源用于给气流传感器充电并触发第一计时子单元对充电时长进行第一计时,当第一计时到达第一预设时长时第一电流源停止给气流传感器充电,且触发所述计算子单元获取第一采样电压为第一电压值,并触发第二计时子单元对放电时长进行第二计时,所述计算子单元基于第一电压值计算获得第二电压值并输出给所述第二比较子单元,当所述第二比较子单元判断第一采样电压由第一电压值下降到第二电压值时,所述第二时长判断子单元将第二计时与第二预设时长进行比较并输出比较结果信息。
  54. 根据权利要求51所述的漏油检测电路,其特征在于,所述漏油检测电路包括第一电流源,所述第一电流源与气流端连接以用于在漏油检测时间段给气流传感器充电;
    所述漏油检测单元包括第一电压比较子单元、第二计时子单元、第二比较子单元、第二时长判断子单元,其中,所述第一电压比较子单元的一个输入端接入第一采样电压,其第二输入端接入预设的第一电压值,其输出端与第二计时子单元连接,所述第二比较子单元的一个输入端接入第一采样电压,其第二输入端接入预设的第二电压值,其输出端与第二计时子单元或者第二时长判断子单元连接,所述第二时长判断子单元的一个输入端与第二计时子单元连接,其另一个输入端接入第二预设时长,其输出端与漏油控制单元连接;
    其中,第一电流源用于给气流传感器充电,当第一采样电压到达第一电压值时触发第二计时子单元对放电时长进行第二计时,且第一电流源停止给气流传感器充电,当所述第二比较子单元判断第一采样电压由第一电压值下降到第二电压值时,所述第二时长判断子单元将第二计时与第二预设时长进行比较并输出比较结果信息。
  55. 一种应用于电子烟的漏油检测方法,其特征在于,包括:
    接收第一采样电压为第一电压值的信息,其中,所述第一采样电压通过对气流端采样获得,所述气流端用于与电容式气流传感器的一个电极连接,所述电容式气流传感器的另一个电极用于与电源接地端电连接;
    触发对放电时长进行第二计时;
    判断第二计时是否大于或等于第二预设时长;
    若判断结果为是,则获得第一采样电压为第二电压值的信息,并基于第一电压值、第二电压值计算获得第二电压信息;
    将第二电压信息与第二预设电压信息进行比较并输出比较结果信息;
    根据所述比较结果判断电子烟是否处于漏油状态。
  56. 根据权利要求55所述的漏油检测方法,其特征在于,在步骤接收第一采样电压为第一电压值的信息之前还包括:
    在漏油检测时间段通过气流端给电容式气流传感器充电;
    对充电时长进行第一计时;
    判断第一计时是否大于或等于第一预设时长;
    若判断结果为是,则停止给电容式气流传感器充电,且输出第一采样电压为第一电压值的信息。
  57. 根据权利要求55所述的漏油检测方法,其特征在于,在步骤接收第一采样电压为第一电压值的信息之前还包括:
    在漏油检测时间段通过气流端给电容式气流传感器充电;
    实时采样所述气流端的电压以获得第一采样电压;
    判断第一采样电压是否大于或等于第一电压值;
    若判断结果为是,则停止对电容式气流传感器充电,且输出第一采样电压为第一电压值的信息。
  58. 根据权利要求55-57任意一项所述的漏油检测方法,其特征在于,所述比较结果信息包括第一比较结果信息,第一比较结果信息用于表示处于漏油状态,所述第一比较结果信息包括第一子比较结果信息和第二子比较结果信息,所述第二预设电压信息包括第一预设子电压信息和第二预设子电压信息,第一预设子电压信息小于第二预设子电压信息;步骤将第二电压信息与第二预设电压信息进行比较并输出比较结果信息具体包括:
    判断所述第二电压信息是否大于第一预设子电压信息;
    若判断结果为是,则判断所述第二电压信息是否大于第二预设子电压信息;
    若判断结果为是,则输出电子烟处于漏油状态的第一子比较结果信息;
    若判断结果为否,则输出电子烟处于漏油状态的第二子比较结果信息。
  59. 根据权利要求55-57任意一项所述的漏油检测方法,其特征在于,所述漏油检测方法还包括:在对电子烟是否处于漏油状态进行检测的时间段控制充放电开关保持断开截止,以停止所述电容式气流传感器通过充放电开关进行放电,其中,所述充放电开关的一端与气流端连接,所述充放电开关的另一端与电源接地端连接。
  60. 根据权利要求59所述的漏油检测方法,其特征在于,所述漏油检测方法还包括:
    在抽吸检测时间段通过气流端给所述电容式气流传感器充电;
    实时采样获取气流端的电压以获得第三采样电压;
    判断第三采样电压是否大于或等于第三参考电压;
    若判断结果为是,则进行计数以得到当前计数值,且控制充放电开关导通以进行放电,其中,所述充放电开关的第一端与气流端连接,所述充放电开关的第二端与电源接地端连接;
    若判断结果为否,则控制充放电开关断开截止以继续进行充电;
    经过抽吸检测时间段判断当前计数信息是否位于预设的第三计数范围内,其中,所述当前计数信息基于当前计数值获得;
    若判断结果为是,则输出电子烟处于抽吸状态的信息;其中,所述抽吸检测时间段与对电子烟是否处于漏油状态进行检测的时间段相异。
  61. 一种应用于电子烟的漏油检测方法,其特征在于,包括:
    接收第一采样电压为第一电压值的信息,其中,所述第一采样电压通过对气流端采样获得,所述气流端用于与电容式气流传感器的一个电极连接,所述电容式气流传感器的另一个电极用于与电源接地端电连接;
    触发对放电时长进行第二计时;
    判断第一采样电压是否下降到第二电压值;
    若判断结果为是,则将第二计时与第一预设时长进行比较并输出比较结果信息;
    根据所述比较结果判断电子烟是否处于漏油状态。
  62. 根据权利要求61所述的漏油检测方法,其特征在于,在步骤接收第一采样电压为第一电压值的信息之前还包括:
    在漏油检测时间段通过气流端给电容式气流传感器充电;
    对充电时长进行第一计时;
    判断第一计时是否大于或等于第一预设时长;
    若判断结果为是,则停止给电容式气流传感器充电,且输出第一采样电压为第一电压值的信息。
  63. 根据权利要求61所述的漏油检测方法,其特征在于,在步骤接收第一采样电压为第一电压值的信息之前还包括:
    在漏油检测时间段通过气流端给电容式气流传感器充电;
    实时采样所述气流端的电压以获得第一采样电压;
    判断第一采样电压是否大于或等于第一电压值;
    若判断结果为是,则停止对电容式气流传感器充电,且输出第一采样电压为第一电压值的信息。
  64. 一种漏油检测电路,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时实现如权利要求55至63中任一项所述的漏油检测方法。
  65. 一种应用于电子烟的漏油检测方法,其特征在于,包括:
    在抽吸检测时间段通过漏油检测电路的气流端检测电子烟是否处于抽吸状态,其中,所述漏油检测电路包括电源供电端、电源接地端、气流端、雾化端,其中,所述电源供电端和电源接地端对应用于与电池的正、负极连接,所述气流端用于与电容式气流传感器的一个电极连接,所述电源接地端还用于与电容式气流传感器的另一电极连接,所述雾化端用于与发热元件连接;
    在漏油检测时间段通过气流端检测电子烟是否处于漏油状态;
    其中,所述漏油检测电路以第一时长为周期进行漏油检测和抽吸检测,其中,所述第一时长包括抽吸检测时间段和漏油检测时间段,所述抽吸检测时间段和所述漏油检测时间段相异。
  66. 根据权利要求65所述的漏油检测方法,其特征在于,所述第一时长还包括睡眠时间段,所述漏油检测方法还包括:
    在睡眠时间段停止对电子烟是否处于抽吸状态及是否处于漏油状态进行检测。
  67. 根据权利要求66所述的漏油检测方法,其特征在于,所述漏油检测电路包括待机状态和工作状态,在待机状态所述第一时长包括睡眠时间段,在工作状态所述第一时长不包括睡眠时间段。
  68. 根据权利要求67所述的漏油检测方法,其特征在于,在待机状态的睡眠时间段,漏油检测电路除 对睡眠时间段进行计时的单元工作外其他单元均停止工作。
  69. 根据权利要求67所述的漏油检测方法,其特征在于,所述漏油检测方法包括:在待机状态的抽吸检测时间段检测电子烟处于抽吸状态且在待机状态的漏油检测时间段检测电子烟不处于漏油状态,则控制漏油检测电路由待机状态转为工作状态。
  70. 根据权利要求67所述的漏油检测方法,其特征在于,所述漏油检测方法包括:在工作状态的抽吸检测时间段检测电子烟未处于抽吸状态时触发对未处于抽吸状态的时长进行第三计时,当第三计时大于或等于第三预设时长时控制漏油检测电路由工作状态转为待机状态。
  71. 根据权利要求65所述的漏油检测方法,其特征在于,所述第一时长包括多个抽吸检测时间段和一个漏油检测时间段。
  72. 根据权利要求65所述的漏油检测方法,其特征在于,所述抽吸检测时间段与所述漏油检测时间段相邻设置;或者,
    所述漏油检测时段的时长大于或等于100μs且小于200ms;或者,
    所述抽吸检测时间段的时长大于或等于10ms且小于200ms;或者,
    所述第一时长小于或等于1秒且大于30ms。
  73. 根据权利要求65所述的漏油检测方法,其特征在于,步骤在漏油检测时间段通过气流端检测电子烟是否处于漏油状态具体包括:
    在漏油检测时间段通过气流端给所述电容式气流传感器充电;
    触发对充电时长进行第一计时;
    判断第一计时是否大于或等于漏油检测时长;
    若判断结果为是,则采样气流端的电压以获取第一采样电压,并将所述第一采样电压与第一参考电压进行比较并输出比较结果信息,且接收所述比较结果信息并根据所述比较结果信息判断电子烟是否处于漏油状态。
  74. 一种漏油检测电路,其特征在于,包括电源供电端、电源接地端、气流端、雾化端,其中,所述电源供电端和电源接地端对应用于与电池的正负、极连接,所述气流端用于与电容式气流传感器的一个电极连接,所述电源接地端还用于与电容式气流传感器的另一个电极连接,所述雾化端用于与发热元件连接;
    所述漏油检测电路还包括:
    漏油检测控制模块,其用于在漏油检测时间段通过气流端检测电子烟是否漏油;
    抽吸检测模块,其用于在抽吸检测时间段通过气流端检测电子烟是否被抽吸;
    其中,所述漏油检测电路以第一时长为周期进行漏油检测和抽吸检测,其中,所述第一时长包括抽吸检测时间段和漏油检测时间段,所述抽吸检测时间段和所述漏油检测时间段相异。
  75. 根据权利要求74所述的漏油检测电路,其特征在于,所述漏油检测电路位于同一个芯片上,所述电源供电端为电源供电引脚,所述电源接地端为电源接地引脚,所述气流端为气流引脚,所述雾化端为雾化引脚。
  76. 一种漏油检测电路,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时实现如权利要求65至73中任一项所述的漏油检测方法。
  77. 一种应用于电子烟的漏油检测方法,其特征在于,包括:
    在抽吸检测时间段通过漏油检测电路的气流端对电子烟是否处于抽吸状态进行检测,其中,所述漏油检测电路包括电源供电端、电源接地端、气流端、雾化端,其中,所述电源供电端和电源接地端对应用于与电池的正、负极连接,所述气流端用于与电容式气流传感器的一个电极连接,所述电源接地端还用于与电容式气流传感器的另一电极连接,所述雾化端用于与发热元件连接;
    接收抽吸信息,其中,所述抽吸信息用于表征电子烟处于抽吸状态;
    触发通过气流端对电子烟是否处于漏油状态进行检测。
  78. 根据权利要求77所述的漏油检测方法,其特征在于,所述漏油检测电路以第二时长为周期进行抽吸检测,其中,所述第二时长包括抽吸检测时间段;在对漏油状态进行检测的时间段暂停对第二时长的计时或者暂停下一个第二时长的开启。
  79. 根据权利要求78所述的漏油检测方法,其特征在于,所述第二时长包括空白时间段,所述漏油检测方法还包括:
    在空白时间段停止对电子烟是否处于抽吸状态及是否处于漏油状态进行检测。
  80. 根据权利要求77所述的漏油检测方法,其特征在于,在步骤触发通过气流端对电子烟是否处于漏油状态进行检测之后还包括:
    输出电子烟处于漏油状态的信息;
    再次接收抽吸信息;
    禁止对电子烟是否处于漏油状态进行检测。
  81. 根据权利要求80所述的漏油检测方法,其特征在于,在步骤输出电子烟处于漏油状态的信息之后还包括:
    接收电子烟处于未抽吸状态的信息;
    解除对电子烟是否处于漏油状态进行检测的禁止。
  82. 根据权利要求77所述的漏油检测方法,其特征在于,在步骤触发通过气流端对电子烟是否处于漏油状态进行检测之后还包括:
    输出电子烟未处于漏油状态的信息;
    禁止对电子烟是否处于漏油状态进行检测;
    触发对禁止时长进行第二计时;
    判断第二计时是否大于或等于第二预设时长;
    若判断结果为是,则解除对电子烟是否处于漏油状态进行检测的禁止。
  83. 根据权利要求77所述的漏油检测方法,其特征在于,在步骤触发通过气流端对电子烟是否处于漏油状态进行检测之后还包括:
    输出电子烟未处于漏油状态的信息;
    禁止对电子烟是否处于漏油状态进行检测;
    接收电子烟处于未抽吸状态的信息;
    解除对电子烟是否处于漏油状态进行检测的禁止。
  84. 根据权利要求77所述的漏油检测方法,其特征在于,在步骤触发通过气流端对电子烟是否处于漏油状态进行检测之后还包括:
    输出电子烟处于漏油状态的信息;
    降低对对电子烟是否处于抽吸状态进行检测的频率。
  85. 根据权利要求77-84任意一项所述的漏油检测方法,其特征在于,步骤触发通过气流端对电子烟是否处于漏油状态进行检测具体包括:
    触发通过气流端给所述电容式气流传感器充电;
    触发对充电时长进行第一计时;
    判断第一计时是否大于或等于漏油检测时长;
    若判断结果为是,则采样气流端的电压以获取第一采样电压,并将所述第一采样电压与第一参考电压进行比较并输出比较结果信息,且根据所述比较结果信息判断电子烟是否处于漏油状态。
  86. 根据权利要求77-84任意一项所述的漏油检测方法,其特征在于,所述漏油检测方法还包括:
    在对电子烟是否处于漏油状态进行检测的时间段控制充放电开关保持断开截止,其中,所述充放电开关的第一端与气流端连接,所述充放电开关的第二端与电源接地端连接。
  87. 根据权利要求77-84任意一项所述的漏油检测方法,其特征在于,步骤在抽吸检测时间段通过漏油检测电路的气流端对电子烟是否处于抽吸状态进行检测具体包括:
    在抽吸检测时间段通过气流端给所述电容式气流传感器充电;
    实时采样获取气流端的电压以获得第二采样电压;
    判断第二采样电压是否大于或等于第二预设参考电压;
    若判断结果为是,则进行累计计数以获得当前计数值,且控制充放电开关导通以进行放电,其中,所述充放电开关的第一端与气流端连接,所述充放电开关的第二端与电源接地端连接;
    若判断结果为否,则控制充放电开关断开截止以继续进行充电;
    经过抽吸检测时间段判断当前计数信息是否小于预设的计数阈值,其中,所述当前计数信息基于当前计数值获得;
    若判断结果为是,则输出抽吸信息。
  88. 根据权利要求87所述的漏油检测方法,其特征在于,在步骤触发通过气流端对电子烟是否处于漏油状态进行检测之后还包括:
    输出电子烟处于漏油状态的信息;
    对应增大或减小所述计数阈值,以降低误判为抽吸状态的几率。
  89. 根据权利要求77-84任意一项所述的漏油检测方法,其特征在于,步骤触发通过气流端对电子烟是否处于漏油状态进行检测具体包括:
    对抽吸信息持续的时长进行第三计时;
    判断第三计时是否大于或等于第三预设时长;
    若判断结果为是,则触发通过气流端对电子烟是否处于漏油状态进行检测。
  90. 一种漏油检测电路,其特征在于,包括电源供电端、电源接地端、气流端、雾化端,其中,所述电源供电端和电源接地端对应用于与电池的正负、极连接,所述气流端用于与电容式气流传感器的一个电极连接,所述电源接地端还用于与电容式气流传感器的另一个电极连接,所述雾化端用于与发热元件连接;
    所述漏油检测电路还包括:
    抽吸检测模块,其用于在抽吸检测时间段通过气流端对电子烟是否处于抽吸状态进行检测;
    漏油检测模块,其用于接收抽吸信息,其中,所述抽吸信息用于表征电子烟处于抽吸状态;所述漏油检测模块还用于被触发通过漏油检测电路的气流端对电子烟是否处于漏油状态进行检测。
  91. 根据权利要求90所述的漏油检测电路,其特征在于,所述漏油检测电路位于同一个芯片上,所述电源供电端为电源供电引脚,所述电源接地端为电源接地引脚,所述气流端为气流引脚,所述雾化端为雾化引脚。
  92. 一种漏油检测电路,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时实现如权利要求77至89中任一项所述的漏油检测方法。
  93. 一种气流传感器组件,其特征在于,包括:
    电容式气流传感器;
    如权利要求1-12、18-34、42-54、64、74-76、90-92任意一项所述的漏油检测电路,其中,所述漏油检测电路与所述电容器气流传感器连接。
  94. 一种电子烟,其特征在于,包括:
    如权利要求93所述的气流传感器组件或者如权利要求1-12、18-34、42-54、64、74-76、90-92任意一项所述的漏油检测电路;
    电池、发热元件,其中,所述电池、发热元件均与所述漏油检测电路连接。
  95. 一种应用于电子烟的漏油管控方法,其特征在于,包括:
    接收电子烟处于漏油状态的信息;
    在抽吸检测时间段增大输出给气流端的充电电流,其中,所述气流端用于与电容式气流传感器的一个电极连接,所述电容式气流传感器的另一个电极用于与电源接地端连接,所述充电电流用于给电容式气流传感器充电,所述抽吸检测时间段用于对电子烟是否处于抽吸状态进行检测;
    接收电子烟处于抽吸状态的信息;
    控制功率开关导通以使发热元件工作,其中,所述功率开关的第一端与电源供电端或者电源接地端连接,所述功率开关的另一端与雾化端连接,所述雾化端还用于与发热元件的一端连接,所述发热元件的另一端用于对应与电源接地端或者电源供电端连接。
  96. 根据权利要求95所述的漏油管控方法,其特征在于,所述漏油状态包括轻中度漏油状态和重度漏油状态,步骤接收电子烟处于漏油状态的信息具体包括:
    接收电子烟处于轻中度漏油状态的信息。
  97. 根据权利要求96所述的漏油管控方法,其特征在于,步骤在抽吸检测时间段增大给气流端的充电电流具体包括:
    通过气流端获取第一参数信息,其中,所述第一参数信息用于表征轻中度漏油状态的漏油程度;
    根据第一参数信息对应获得第二充电电流,其中,所述第二充电电流大于第一充电电流,所述第一充电电流为电子烟未处于漏油状态时在抽吸检测时间段给电容式气流传感器充电的充电电流;
    在抽吸检测时间段将第二充电电流输出给所述气流端,以给电容式气流传感器充电。
  98. 根据权利要求97所述的漏油管控方法,其特征在于,步骤根据第一参数信息对应获得第二充电电流具体包括:
    通过第一参数信息、预先设置的多个参数信息范围获得其对应的参数信息范围,其中,每个第一参数信息属于一个参数信息范围,多个参数信息范围相异;
    根据所述参数信息范围查找预存的参数信息范围-充电电流表获取第二充电电流,其中,参数信息范围-充电电流表预存参数信息范围与充电电流的对应关系。
  99. 根据权利要求97所述的漏油管控方法,其特征在于,步骤根据第一参数信息对应获得第二充电电流具体包括:
    通过第一参数信息、预存的函数关系式进行计算获得第二充电电流,其中,所述函数关系式表征参数信息与充电电流的对应关系。
  100. 根据权利要求97-99任意一项所述的漏油管控方法,其特征在于,所述第一参数信息为电阻、电压、放电时长、电压的变化、电阻的变化或者放电时长的变化。
  101. 根据权利要求95所述的漏油管控方法,其特征在于,步骤在抽吸检测时间段增大给气流端的充电电流具体包括:
    根据预存的漏油状态与充电电流的对应关系获得第二充电电流,其中,所述第二充电电流大于第一充电电流,所述第一充电电流为电子烟未处于漏油状态时在抽吸检测时间段给气流端的充电电流;
    在抽吸检测时间段将第二充电电流输出给气流端,以给电容式气流传感器充电。
  102. 根据权利要求95-99、101任意一项所述的漏油管控方法,其特征在于,在步骤接收电子烟处于漏油状态的信息之前还包括:
    触发通过气流端给所述电容式气流传感器充电;
    触发对充电时长进行第一计时;
    判断第一计时是否大于或等于漏油检测时长;
    若判断结果为是,则采样气流端的电压以获取第一采样电压;
    判断所述第一采样电压是否小于第一参考电压;
    若判断结果为是,则输出电子烟处于漏油状态的信息。
  103. 根据权利要求95-99、101任意一项所述的漏油管控方法,其特征在于,在步骤接收电子烟处于抽吸状态的信息之前还包括:
    在抽吸检测时间段实时采样气流端的电压以获得第二采样电压;
    判断第二采样电压是否大于或等于第二预设参考电压;
    若判断结果为是,则进行累计计数以获得当前计数值,且控制充放电开关导通以进行放电,其中,所述充放电开关的第一端与气流端连接,所述充放电开关的第二端与电源接地端连接;
    若判断结果为否,则控制充放电开关断开截止以继续进行充电;
    经过抽吸检测时间段判断当前计数信息是否位于预设的计数范围内,其中,所述当前计数信息基于当前计数值获得;
    若判断结果为是,则输出电子烟处于抽吸状态的信息。
  104. 一种漏油管控电路,其特征在于,包括电源供电端、电源接地端、气流端、雾化端和功率开关,其中,所述电源供电端和电源接地端对应用于与电池的正负、极连接,所述气流端用于与电容式气流传感器的一个电极连接,所述电源接地端还用于与电容式气流传感器的另一个电极连接,所述雾化端用于与发热元件的一端连接,所述发热元件的另一端用于与电源接地端或者电源供电端连接,所述雾化端还用于与功率开关的一端连接,所述功率开关的另一端用于与电源供电端或者电源接地端连接;
    所述漏油管控电路还包括:
    电流控制单元,其用于接收电子烟处于漏油状态的信息,其还用于在抽吸检测时间段增大给气流端的充电电流,其中,电流控制单元与气流端连接;
    功率控制单元,其用于接收电子烟处于抽吸状态的信息,其还用于控制功率开关导通以使发热元件工作。
  105. 根据权利要求104所述的漏油管控电路,其特征在于,所述漏油管控电路位于同一个芯片上,所述电源供电端为电源供电引脚,所述电源接地端为电源接地引脚,所述气流端为气流引脚,所述雾化端为雾化引脚。
  106. 一种漏油管控电路,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时实现如权利要求95至103中任一项所述的漏油管控方法。
  107. 一种气流传感器组件,其特征在于,包括:
    电容式气流传感器;
    如权利要求104-106任意一项所述的漏油管控电路,其中,所述漏油管控电路与所述电容器气流传感器连接。
  108. 一种电子烟,其特征在于,包括:
    如权利要求107所述的气流传感器组件或者如权利要求104-106任意一项所述的漏油管控电路;
    电池、发热元件,其中,所述电池、发热元件均与所述漏油管控电路连接。
  109. 一种应用于电子烟的漏油控制电路,其特征在于,包括:电源供电端、电源接地端、气流端,其中,所述电源供电端和电源接地端用于对应与电池的正、负极连接,所述气流端用于与电容式气流传感器的一个电极连接,所述电源接地端还用于与电容式气流传感器的另一电极连接;
    其中,所述漏油控制电路还包括电流源、抽吸检测模块、漏油判断模块、开关控制单元和第一开关单元,其中,所述电流源、抽吸检测模块均与气流端连接,所述漏油判断模块、所述开关控制单元均与所述抽吸检测模块连接,所述开关控制单元用于与第一开关单元的控制端连接,所述第一开关单元用于与发热元件串联;所述漏油判断模块根据抽吸检测模块输出的第一信号持续的时长判断是否符合预设条件,若符合预设条件则漏油判断模块输出漏油确认信号,以使开关控制单元控制第一开关单元保持断开截止。
  110. 根据权利要求109所述的漏油控制电路,其特征在于,所述漏油判断模块包括漏油计时单元,所述漏油计时单元与所述抽吸检测模块连接,所述漏油计时单元用于对抽吸检测模块输出的第一信号持续的时长进行计时,若计时时长大于或等于第一预设时长则输出漏油确认信号。
  111. 根据权利要求109所述的漏油控制电路,其特征在于,所述漏油判断模块包括漏油计时单元、第 二计数单元和计数判断单元,其中,所述漏油计时单元与所述抽吸检测模块连接,所述第二计数单元分别与所述漏油计时单元、计数判断单元连接;所述漏油计时单元用于对抽吸检测模块输出的第一信号持续的时长进行计时,若计时时长大于或等于第一预设时长则输出计时符合信号,所述第二计数单元用于对连续接收的计时符合信号进行第二计数,所述计数判断单元用于判断第二计数是否大于或等于第二预设数量,若判断结果为是则所述计数判断单元输出漏油确认信号,其中,第二预设数量为大于或等于2的整数。
  112. 根据权利要求109所述的漏油控制电路,其特征在于,所述漏油判断模块包括漏油计时单元、第三计数单元、第三计时单元和计时计数判断单元,其中,所述漏油计时单元与所述抽吸检测模块连接,所述第三计数单元与所述漏油计时单元连接,所述第三计时单元与所述漏油计时单元连接,所述第三计时单元和/或所述第三计数单元与所述计时计数判断单元连接;所述漏油计时单元用于对抽吸检测模块输出的第一信号持续的时长进行计时,若计时时长大于或等于第一预设时长则输出计时符合信号,所述第三计数单元用于对接收的计时符合信号进行第三计数,所述第三计时单元未开始计时且在接收到计时符合信号时触发进行第三计时,所述计时计数判断单元用于判断在第三预设时长内第三计数是否大于或等于第三预设数量,若判断结果为是则所述计时计数判断单元输出漏油确认信号,其中,第三预设数量为大于或等于2的整数。
  113. 根据权利要求109所述的漏油控制电路,其特征在于,所述漏油判断模块包括漏油计时单元、第三计时单元、第四计数单元和计时计数判断单元,其中,所述漏油计时单元与所述抽吸检测模块连接,所述第三计时单元与所述漏油计时单元连接,所述第四计数单元与所述第三计时单元连接和/或所述抽吸检测模块连接,所述第四计数单元与所述计时计数判断单元连接或者所述第三计时单元、所述第四计数单元均与所述计时计数判断单元连接,所述漏油计时单元用于对抽吸检测模块输出的第一信号持续的时长进行计时,若计时时长大于或等于第一预设时长则输出计时符合信号,所述第三计时单元未开始计时且在接收到计时符合信号时触发进行第三计时,在所述第三计时单元进行第三计时所述第四计数单元用于对抽吸检测模块的输出由第一信号转为第二信号的边沿信号或者由第二信号转为第一信号的边沿信号进行第四计数,所述计时计数判断单元用于判断第三计时到达第三预设时长时第四计数是否等于0,若判断结果为是则所述计时计数判断单元输出漏油确认信号;其中,第二信号与第一信号相异。
  114. 根据权利要求109所述的漏油控制电路,其特征在于,所述漏油判断模块包括漏油计时单元,其中,所述漏油计时单元与所述抽吸检测模块连接,所述漏油计时单元用于对抽吸检测模块输出的第一信号持续的时长进行计时,若计时时长大于或等于第一预设时长则输出计时符合信号,若计时时长大于或等于第四预设时长则所述漏油判断模块输出漏油确认信号;其中,第四预设时长大于第一预设时长。
  115. 根据权利要求109-114任意一项所述的漏油控制电路,其特征在于,所述抽吸检测模块包括电压比较单元,所述电压比较单元的一个输入端与气流端连接,所述电压比较单元的另一个输入端接入参考电压,所述电压比较单元的输出端与漏油判断模块连接,当所述气流端的电压小于所述参考电压时所述电压比较单元输出第一信号。
  116. 根据权利要求115所述的漏油控制电路,其特征在于,所述抽吸检测模块还包括第一计数单元和抽吸判断单元,所述第一计数单元与所述电压比较单元的输出端连接,所述抽吸判断单元与所述第一计数单元连接,所述抽吸判断单元还与所述开关控制单元连接,所述漏油判断模块与所述抽吸判断单元的使能端连接,所述漏油确认信号为使能信号,当所述抽吸判断单元接收到所述漏油确认信号时其停止工作,以使开关控制单元控制第一开关单元保持断开截止。
  117. 根据权利要求116所述的漏油控制电路,其特征在于,所述抽吸判断单元基于第一计数单元输出的计数值获得当前计数信息,在连续两个抽吸检测时间段所述抽吸判断单元判断当前计数信息是否位于预设的计数范围内以判断是否处于抽吸状态,若连续两个抽吸检测时间段当前计数信息均位于预设的计数范围内则判断电子烟处于抽吸状态;
    当抽吸判断单元接收到漏油确认信号时,抽吸判断单元将前一个抽吸检测时间段当前计数信息位于预设的计数范围内的对应数据清除。
  118. 根据权利要求115所述的漏油控制电路,其特征在于,所述抽吸检测模块包括第一计数单元和抽吸判断单元,所述第一计数单元与所述电压比较单元的输出端连接,所述抽吸判断单元与所述第一计数单元连接,所述抽吸判断单元还与所述开关控制单元连接,所述漏油判断模块与所述开关控制单元连接,当所述开关控制单元接收到漏油确认信号时其用于控制第一开关单元保持断开截止。
  119. 根据权利要求115所述的漏油控制电路,其特征在于,还包括放电开关,所述放电开关的一端与气流端连接,所述放电开关的另一端与电源接地端连接,所述放电开关的控制端与所述电压比较单元的输出端连接,当所述放电开关的控制端接收第一信号时所述放电开关保持断开截止,当所述放电开关的控制端接收第二信号时所述放电开关保持开启导通,其中,当所述气流端的电压大于或等于所述参考电压时所述电压比较单元输出第二信号。
  120. 根据权利要求109-114任意一项所述的漏油控制电路,其特征在于,所述漏油控制电路还包括指示单元,所述指示单元与所述漏油判断模块连接,当所述指示单元接收到漏油确认信号时所述指示单元用 于指示电子烟处于漏油状态。
  121. 根据权利要求110-114任意一项所述的漏油控制电路,其特征在于,所述第一预设时长的范围为大于或等于150微秒。
  122. 根据权利要求109-11任意一项所述的漏油控制电路,其特征在于,所述漏油控制电路除第一开关单元之外的电路位于同一个芯片上,所述第一开关单元位于另一个芯片上,所述电源供电端为电源供电引脚,所述电源接地端为电源接地引脚,所述气流端为气流引脚;或者,
    所述漏油控制电路位于同一个芯片上,所述电源供电端为电源供电引脚,所述电源接地端为电源接地引脚,所述气流端为气流引脚。
  123. 一种气流传感器组件,其特征在于,包括:
    电容式气流传感器;
    如权利要求109-122任意一项所述的漏油控制电路,其中,所述漏油控制电路的气流端、电源接地端对应与电容式气流传感器的两端连接。
  124. 一种电子烟,其特征在于,包括:
    如权利要求109-122任意一项所述的漏油控制电路或者如权利要求123所述的气流传感器组件;
    电池、发热元件,其中,所述电池的正极与漏油控制电路的电源供电端连接,所述电池的负极与漏油控制电路的电源接地端连接,所述发热元件与漏油控制电路的第一开关单元串联连接。
PCT/CN2023/137349 2022-12-16 2023-12-08 一种漏油管控电路、漏油检测电路、漏油控制电路、方法、气流传感器组件及电子烟 WO2024125396A1 (zh)

Applications Claiming Priority (14)

Application Number Priority Date Filing Date Title
CN202211623645.1 2022-12-16
CN202211637580.6 2022-12-16
CN202211623657.4 2022-12-16
CN202211623635.8 2022-12-16
CN202211623635 2022-12-16
CN202211623645 2022-12-16
CN202211637580 2022-12-16
CN202211637211 2022-12-16
CN202211623657 2022-12-16
CN202211637211.7 2022-12-16
CN202211628417 2022-12-17
CN202211628417.3 2022-12-17
CN202310442649.8 2023-04-23
CN202310442649 2023-04-23

Publications (1)

Publication Number Publication Date
WO2024125396A1 true WO2024125396A1 (zh) 2024-06-20

Family

ID=91484370

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/137349 WO2024125396A1 (zh) 2022-12-16 2023-12-08 一种漏油管控电路、漏油检测电路、漏油控制电路、方法、气流传感器组件及电子烟

Country Status (1)

Country Link
WO (1) WO2024125396A1 (zh)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019153012A1 (en) * 2018-02-05 2019-08-08 Iconic Ventures, Inc. Vaporizer
CN110179163A (zh) * 2019-06-11 2019-08-30 深圳市合元科技有限公司 电子烟的控制方法及电子烟
CN115177036A (zh) * 2022-08-01 2022-10-14 深圳市创芯微电子有限公司 咪头电路的漏油检测方法、咪头电路、咪头及电子产品
CN115399518A (zh) * 2022-09-29 2022-11-29 苏州敏芯微电子技术股份有限公司 漏油检测装置、电子烟及漏油检测方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019153012A1 (en) * 2018-02-05 2019-08-08 Iconic Ventures, Inc. Vaporizer
CN110179163A (zh) * 2019-06-11 2019-08-30 深圳市合元科技有限公司 电子烟的控制方法及电子烟
CN115177036A (zh) * 2022-08-01 2022-10-14 深圳市创芯微电子有限公司 咪头电路的漏油检测方法、咪头电路、咪头及电子产品
CN115399518A (zh) * 2022-09-29 2022-11-29 苏州敏芯微电子技术股份有限公司 漏油检测装置、电子烟及漏油检测方法

Similar Documents

Publication Publication Date Title
US10149496B2 (en) Electronic cigarette controller and electronic cigarette
CN202233002U (zh) 具有计数显示功能的电子香烟
US20200196671A1 (en) Electronic cigarette control method and electronic cigarette
EP0516293A1 (en) Control device for flavor-generating article
US10912332B2 (en) Electronic cigarette and control method thereof
CN106037014B (zh) 电子烟及其控制方法
CN108827372B (zh) 一种电子烟状态检测电路、检测方法及电子烟
CN109832677A (zh) 电子烟的控制方法及电子烟
CN103107376B (zh) 电子烟电池的电量查询方法、系统及电子烟
CN106659242A (zh) 电子烟、电子烟的蓝牙组件、吸烟信息采集系统及方法
CN109892699B (zh) 电子烟抽吸次数统计方法、电子烟、存储介质及设备
CN113303503B (zh) 一种烟杆、电子烟
WO2024125396A1 (zh) 一种漏油管控电路、漏油检测电路、漏油控制电路、方法、气流传感器组件及电子烟
CN114401468A (zh) 一种无线耳机组件
CN111227320A (zh) 通过触控压力传感器控制预热的电子烟及其预热方法
CN115363256A (zh) 一种童锁控制电路、方法及电子烟
WO1983004120A1 (en) Smoke detector of the ionization type
CN207652091U (zh) 电子烟盒及电子烟系统
CN113303506B (zh) 一种烟杆、电子烟
CN106094039A (zh) 电子雾化装置电路检测方法及装置
CN114301144A (zh) 一种电池保护组件、电子装置及控制方法
CN209198429U (zh) 气体检测仪
CN112182503A (zh) 气雾发生器基于剩余电量的口数推算方法
CN114422898A (zh) 一种无线耳机组件
CN114223955A (zh) 一种电子烟