Electronic cigarette unlocking control method and circuit

By controlling the charging and discharging time of the microphone sensor with a microcontroller and utilizing the difference in airflow intensity to unlock the e-cigarette, the problem of high unlocking costs for e-cigarettes is solved, and the unlocking cost of e-cigarettes is reduced.

CN116035287BActive Publication Date: 2026-01-02SHENZHEN LONGTECH SMART CONTROL CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211088538.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-06
Publication Date
2026-01-02
Estimated Expiration
2042-09-06

AI Technical Summary

Technical Problem

The current unlocking cost of electronic cigarettes is high, and it is difficult to add mechanical switches and touch buttons, which increases the cost.

Method used

The charging and discharging time of the microphone sensor is controlled by a microcontroller, and the unlocking of the electronic cigarette is controlled by the difference in airflow intensity. The mechanical switch and tactile button structure are eliminated, and the airflow intensity is detected by a circuit composed of a microphone sensor, a constant current source and a microcontroller.

Benefits of technology

This enables the unlocking of e-cigarettes without the need for mechanical switches and touch buttons, reducing the cost of unlocking e-cigarettes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116035287B_ABST
    Figure CN116035287B_ABST
Patent Text Reader

Abstract

The application discloses an unlocking control method and circuit of an electronic cigarette, and the unlocking method comprises the following steps: a single-chip microcomputer sends a detection instruction to control a microphone sensor to start discharging, and after a first time period, the single-chip microcomputer controls the microphone sensor to charge, and a first time point is recorded; when the microphone sensor is charged to a reference voltage, a second time point is recorded; a charging duration is obtained according to the difference between the value of the first time point and the value of the second time point; the electronic cigarette is unlocked according to the charging duration; wherein, when the electronic cigarette is in an inhaling state, the greater the airflow intensity obtained by the microphone sensor, the longer the charging duration; when the electronic cigarette is in an exhaling state, the greater the airflow intensity obtained by the microphone sensor, the shorter the charging duration. According to the charging duration of the microphone sensor, the electronic cigarette is unlocked, and mechanical switches and light touch button structures are not needed, so that the cost of unlocking the electronic cigarette is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of electronic cigarettes, in particular to an electronic cigarette unlocking control method and circuit. BACKGROUND

[0002] The current electronic cigarette lock is to prevent children from accidentally inhaling the electronic cigarette, usually by providing a digital signal through an external switch, such as a mechanical switch to achieve unlocking, or through a light touch button to achieve unlocking. However, due to the limitations of the structure of the electronic cigarette, it is not easy to add a button or a mechanical switch, and it is also necessary to do air leakage treatment at the position of the light touch button, which makes the cost higher.

[0003] Therefore, the prior art still needs to be improved and developed. SUMMARY

[0004] In view of the above shortcomings of the prior art, the purpose of the present application is to provide an electronic cigarette unlocking control method and circuit to solve the problem of high cost of unlocking the electronic cigarette.

[0005] The technical scheme of the present application is as follows:

[0006] An electronic cigarette unlocking control method, comprising:

[0007] The single-chip microcomputer sends a detection instruction to control the microphone sensor to start discharging, and after a first time period, controls the microphone sensor to charge, while recording a first time point, and when the microphone sensor is charged to a reference voltage, records a second time point;

[0008] The charging duration is obtained according to the difference between the value of the first time point and the value of the second time point;

[0009] The electronic cigarette is unlocked according to the charging duration;

[0010] Wherein, when the electronic cigarette is in an inhaling state, the greater the airflow intensity obtained by the microphone sensor, the longer the charging duration;

[0011] When the electronic cigarette is in an exhaling state, the greater the airflow intensity obtained by the microphone sensor, the shorter the charging duration.

[0012] Further provided by the present application, the detection instruction is an instruction sent by the single-chip microcomputer at a preset time interval.

[0013] Further provided by the present application, the electronic cigarette is unlocked according to the charging duration, comprising:

[0014] Determining whether the charging duration is greater than or equal to a first preset value, if not, controlling the electronic cigarette to be in an exhaling state, if yes, controlling the electronic cigarette to be in an inhaling state.

[0015] The further setting of the application, the step of judging whether the charging duration is greater than or equal to the first preset value, if not, controlling the electronic cigarette to be in the exhale state; if yes, controlling the electronic cigarette to be in the inhale state includes:

[0016] When the electronic cigarette is in the exhale state, judging whether the charging duration is less than the second preset value, if not, controlling the electronic cigarette to remain in the locked state; if yes, controlling the electronic cigarette to be unlocked.

[0017] When the electronic cigarette is in the inhale state, judging whether the charging duration is greater than the third preset value, if not, controlling the electronic cigarette to remain in the locked state; if yes, controlling the electronic cigarette to be unlocked.

[0018] The further setting of the application, the step of the single-chip microcomputer issuing a detection instruction to control the microphone sensor to start discharging, and after a first time period, controlling the microphone sensor to charge, and recording a first time point, when the microphone sensor charges to a reference voltage, recording a second time point includes:

[0019] The first preset value, the second preset value and the third preset value are set according to the type of the microphone sensor.

[0020] The further setting of the application, the step of the single-chip microcomputer issuing a detection instruction to control the microphone sensor to start discharging, and after a first time period, controlling the microphone sensor to charge, and recording a first time point, when the microphone sensor charges to a reference voltage, recording a second time point includes:

[0021] Judging whether the voltage value of the microphone sensor in the electronic cigarette is greater than the reference voltage, if yes, controlling the microphone sensor to discharge, and after a first time period, controlling the microphone sensor to charge, and recording a first time point, if not, controlling the electronic cigarette to be in the locked state.

[0022] The further setting of the application, the step of controlling the electronic cigarette to be unlocked according to the charging duration includes: the single-chip microcomputer controls the heating element to heat.

[0023] An electronic cigarette unlocking control circuit, comprising: a single-chip microcomputer, a constant current source and a microphone sensor;

[0024] The constant current source and the microphone sensor are connected, for providing constant current for the microphone sensor;

[0025] The microphone sensor and the single-chip microcomputer are connected, for acquiring airflow intensity;

[0026] The single-chip microcomputer is connected with the constant current source and the microphone sensor respectively;

[0027] The single-chip microcomputer is used for controlling the charging and discharging of the microphone sensor and calculating the charging duration of the microphone sensor, and unlocking the electronic cigarette according to the charging duration.

[0028] The single-chip microcomputer comprises a comparator.

[0029] The positive input end of the comparator is connected with the microphone sensor, the negative input end of the comparator is connected with the internal reference voltage source of the single-chip microcomputer, the comparator is used for comparing the voltage value of the microphone sensor with the internal reference voltage source of the single-chip microcomputer, and the single-chip microcomputer controls the charging and discharging of the microphone sensor according to the comparison result.

[0030] The positive input end of the comparator is also connected with the input and output port of the single-chip microcomputer, the single-chip microcomputer controls the input and output port to output a low level or keep a high resistance state according to the comparison result of the comparator, so as to control the charging and discharging of the microphone sensor.

[0031] The electronic cigarette unlocking control method comprises the following steps: a single-chip microcomputer sends a detection instruction to control the microphone sensor to start discharging, controls the microphone sensor to charge after a first time period, records a first time point, records a second time point when the microphone sensor charges to a reference voltage, obtains a charging duration according to the difference between the first time point and the second time point, and controls the electronic cigarette to unlock according to the charging duration. BRIEF DESCRIPTION OF DRAWINGS

[0032] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings needed to be used in the embodiments or prior art description. Obviously, the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can also be obtained according to the structures shown in these drawings without creative labor.

[0033] Fig. 1 is the flowchart of the electronic cigarette unlocking control method in the present application.

[0034] Fig. 2 is the circuit principle diagram of the electronic cigarette unlocking control circuit in the present application. DETAILED DESCRIPTION

[0035] The present application provides an electronic cigarette unlocking control method and circuit. To make the purpose, technical solutions and effects of the present application clearer and more explicit, the present application is further described in detail below with reference to the drawings and examples. It should be understood that the specific embodiments described herein are only used to explain the present application and do not limit the present application.

[0036] In the embodiments and the patent claims, unless the article is specifically limited, "one", "an", "said" and "the" can also include plural forms. If the description in the embodiments of the present application involves "first", "second", etc., the description of "first", "second", etc. is only for the purpose of description and cannot be understood as indicating or implying the relative importance of the indicated technical features or implicitly indicating the number of the indicated technical features. Therefore, the features limited by "first", "second" can explicitly or implicitly include at least one of the features.

[0037] It should be further understood that the phrase "comprising" used in the specification of the present application means that the features, integers, steps, operations, elements and / or components exist, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or groups thereof. It should be understood that when we say that an element is "connected" or "coupled" to another element, it can be directly connected or coupled to the other element, or there can be intermediate elements. In addition, "connection" or "coupling" used herein can include wireless connection or wireless coupling. The phrase "and / or" used herein includes all or any single unit and all combinations of the associated listed items.

[0038] Those skilled in the art can understand that, unless otherwise defined, all terms (including technical terms and scientific terms) used herein have the same meaning as that generally understood by those skilled in the art to which the present application belongs. It should also be understood that terms such as those defined in a general dictionary should be understood as having meanings consistent with those in the context of the prior art, and should not be interpreted in an idealized or overly formal sense unless specifically defined as such.

[0039] In addition, the technical solutions of each embodiment can be combined with each other, but it must be based on the fact that a person skilled in the art can realize it. When the combination of technical solutions contradicts each other or cannot be realized, it should be considered that the combination of technical solutions does not exist and is not within the protection scope required by the present application.

[0040] Please also refer to Figs. 1-2 The present application provides a preferred embodiment of an electronic cigarette unlocking control method.

[0041] The application provides an electronic cigarette unlocking control method and circuit.

[0042] In an embodiment, Fig. 1 A flowchart of an electronic cigarette unlocking control method is shown, which is an example and is not limited, and the method can be applied to an electronic cigarette.

[0043] The electronic cigarette unlocking method comprises the following steps:

[0044] S1, the single-chip microcomputer sends a detection instruction to control the microphone sensor to start discharging, and after a first time period, the microphone sensor is controlled to charge, and a first time point is recorded, and when the microphone sensor is charged to a reference voltage, a second time point is recorded.

[0045] Specifically, the electronic cigarette is provided with a single-chip microcomputer, and the detection instruction is an instruction sent by the single-chip microcomputer at a preset time interval; wherein the preset time interval is set according to the required detection cycle time. For example: the microphone sensor needs n seconds for one charging-discharging process, and the single-chip microcomputer detects the time of 2 cycles (charging-discharging), and the preset time interval is set to be greater than 2n seconds. The detection instruction is sent by the internal timer of the single-chip microcomputer, which is simpler than the external trigger (switch or button) and can save cost.

[0046] The microphone sensor is equivalent to a variable capacitor, and the microphone sensor is connected with the input and output port of the single-chip microcomputer and a constant current source. When the single-chip microcomputer is not operated, that is, the input and output port is in a high state, the microphone sensor is continuously charged through the constant current source. When the single-chip microcomputer sends a detection instruction, that is, the single-chip microcomputer controls the input and output port to be in a low state, the microphone sensor is discharged, and after the first time period, the single-chip microcomputer controls the input and output port to be in a high resistance state, so that the microphone sensor is continuously charged again through the constant current source. The first time period is set to make the microphone sensor completely discharge, for example, when the first time period is 1us, the microphone sensor is discharged for 1us and then charged again.

[0047] When the microphone sensor discharges after the first time period, that is, at the moment when the charging starts, the voltage of the microphone sensor is 0V, at this moment, the internal timer of the single-chip microcomputer starts timing and marks this moment as the first time point, and when the microphone sensor is charged to the reference voltage, the timer stops timing and records the second time point. It should be noted that the reference voltage is less than the power supply voltage, that is, less than or equal to the voltage when the microphone sensor is fully charged, which is not limited.

[0048] Wherein, when the electronic cigarette is in the inhaling state, the greater the airflow intensity acquired by the microphone sensor is, the longer the charging duration is; when the electronic cigarette is in the exhaling state, the greater the airflow intensity acquired by the microphone sensor is, the shorter the charging duration is.

[0049] The airflow intensity includes inhaling intensity and exhaling intensity. When the airflow flows through the microphone sensor in the positive direction (inhaling), the diaphragm of the microphone sensor vibrates under the inhaling action, thereby reducing the distance between the diaphragm and the plate of the microphone sensor. According to the determination formula of the capacitance, when the dielectric constant and the area of the two plates are constant, the capacitance value is inversely proportional to the distance between the two plates, that is, the capacitance value increases. When the inhaling intensity is different, the degree of reduction between the diaphragm and the plate is different, thereby the degree of increase of the capacitance value is different. The microphone sensor is connected with the constant current power supply, that is, the charging current flowing through the microphone sensor is constant. Therefore, the capacitance value of the microphone sensor is proportional to the charging time of the microphone sensor, that is, when in the inhaling state, the capacitance value of the microphone sensor becomes larger, the charging duration becomes longer, and the greater the inhaling intensity is, the larger the capacitance value of the microphone sensor is, and the longer the charging duration is.

[0050] When the airflow flows through the microphone sensor in the reverse direction (exhaling), the diaphragm of the microphone sensor vibrates under the exhaling action, thereby increasing the distance between the diaphragm and the plate of the microphone sensor. According to the determination formula of the capacitance, when the dielectric constant and the area of the two plates are constant, the capacitance value is inversely proportional to the distance between the two plates, that is, the capacitance value decreases. When the exhaling intensity is different, the degree of increase between the diaphragm and the plate is different, thereby the degree of decrease of the capacitance is different. The microphone sensor is connected with the constant current power supply, that is, the charging current flowing through the microphone sensor is constant. Therefore, the capacitance value of the microphone sensor is proportional to the charging time of the microphone sensor, that is, when in the exhaling state, the capacitance value of the microphone sensor becomes smaller, the charging duration becomes shorter, and the greater the exhaling intensity is, the smaller the capacitance value of the microphone sensor is, and the shorter the charging duration is.

[0051] S2, obtaining the charging duration according to the difference between the value of the first time point and the value of the second time point.

[0052] S3, controlling the electronic cigarette to be unlocked according to the charging duration.

[0053] Specifically, step S3 includes:

[0054] S31, judging whether the charging time is greater than or equal to a first preset value, if not, controlling the electronic cigarette to be in the exhaling state; if yes, controlling the electronic cigarette to be in the inhaling state.

[0055] Specifically, the single-chip microcomputer judges whether the charging duration is greater than or equal to a first preset value, if yes, controls the electronic cigarette to be in the inhaling state; if no, controls the electronic cigarette to be in the exhaling state. The first preset value is the charging duration obtained when there is no airflow flow.

[0056] Specifically, step S31 is followed by:

[0057] S32, when the electronic cigarette is in the exhaling state, judging whether the charging duration is less than a second preset value, if no, controlling the electronic cigarette to remain in the locked state; if yes, controlling the electronic cigarette to be unlocked;

[0058] When the electronic cigarette is in the inhaling state, judging whether the charging duration is greater than a third preset value, if no, controlling the electronic cigarette to remain in the locked state; if yes, controlling the suction value of the electronic cigarette to be unlocked.

[0059] Specifically, since the greater the airflow intensity obtained by the microphone sensor in the exhaling state, the shorter the charging duration, the single-chip microcomputer sets the charging duration to be less than the second preset value, that is, the airflow intensity reaches the preset intensity, so that the electronic cigarette is unlocked, thereby realizing the unlocking of the electronic cigarette by the airflow intensity without external switches or keys, and further reducing the cost.

[0060] Since the greater the airflow intensity obtained by the microphone sensor in the inhaling state, the longer the charging duration, the single-chip microcomputer sets the charging duration to be greater than the third preset value, that is, the airflow intensity reaches the preset intensity, so that the electronic cigarette is unlocked, thereby realizing the unlocking of the electronic cigarette by the airflow intensity without external switches or keys, and further reducing the cost.

[0061] In the above implementation, the airflow intensity is obtained by the microphone sensor, and the relationship between the airflow intensity and the charging duration is utilized to control the charging and discharging of the microphone sensor by the single-chip microcomputer to obtain the charging duration, and the electronic cigarette is unlocked according to the charging duration, that is, the unlocking of the electronic cigarette is realized according to the charging duration of the microphone sensor, without mechanical switches and tactile key structures, thereby reducing the cost of unlocking the electronic cigarette.

[0062] In one embodiment, step S1 is followed by:

[0063] S01, setting the first preset value, the second preset value, and the third preset value according to the type of the microphone sensor; wherein the first preset value is greater than the second preset value; and the first preset value is less than the third preset value.

[0064] If the types of the microphone sensors are different, the capacitance values of the microphone sensors change with the airflow intensity in different degrees, so that the same airflow intensity results in different charging durations, and therefore the first preset value, the second preset value and the third preset value are set according to the microphone sensor types.

[0065] In an embodiment, step S1 comprises:

[0066] If the voltage value of the microphone sensor in the electronic cigarette is greater than the reference voltage, the microphone sensor is discharged, and after a first time period, the single-chip microcomputer in the electronic cigarette controls the microphone sensor to be charged, and a first time point is recorded.

[0067] Specifically, the microphone sensor is equivalent to a variable capacitor, and the microphone sensor is connected with an input and output port of the single-chip microcomputer and a constant current source. When the single-chip microcomputer issues a detection instruction, the single-chip microcomputer determines whether the voltage value of the microphone sensor is greater than a reference voltage. If not, the single-chip microcomputer does not operate, and the electronic cigarette is in a locked state, that is, the input and output port is in a high state, and the microphone sensor is continuously charged through the constant current source. If yes, the single-chip microcomputer controls the input and output port to output a low level to control the microphone sensor to be discharged, and after a first time period, the single-chip microcomputer controls the input and output port to change to a high resistance state, so that the microphone sensor is continuously charged again through the constant current source. It should be noted that the first time period is set to make the microphone sensor completely discharged, and is not specifically limited.

[0068] When the microphone sensor is discharged after the first time period, that is, at the moment when the microphone sensor starts to be charged, the voltage of the microphone sensor is 0V. At this moment, the internal timer of the single-chip microcomputer starts to count, and marks this moment as a first time point. When the microphone sensor is charged to the reference voltage, the single-chip microcomputer controls the microphone sensor to be discharged. After a first time period, the single-chip microcomputer in the electronic cigarette controls the microphone sensor to be charged. When the microphone sensor is charged to the reference voltage, the single-chip microcomputer controls the microphone sensor to be discharged. Such a cycle is repeated for N cycles, until the last charging to the reference voltage, a second time point is recorded, and the charging duration obtained through multiple cycles facilitates more accurate subsequent operation of controlling the electronic cigarette to be unlocked according to the charging duration.

[0069] In an embodiment, step S3 comprises:

[0070] S4, the single-chip microcomputer controls the heating element to heat.

[0071] After the electronic cigarette is unlocked according to the charging time, the single-chip microcomputer controls the heating element to heat, so as to realize the smoking operation.

[0072] The electronic cigarette unlocking control method corresponds to the electronic cigarette unlocking control method described in the above embodiment, Fig. 2 The electronic cigarette unlocking control circuit provided by the embodiment of the application is shown. For the convenience of description, only the parts related to the embodiment of the application are shown.

[0073] As Fig. 2 shown, the electronic cigarette unlocking circuit includes a single-chip microcomputer 100, a constant current source 200, and a microphone sensor 300.

[0074] The constant current source 200 is connected with the microphone sensor 300, for providing constant current for the microphone sensor 300; the microphone sensor 300 is connected with the single-chip microcomputer 100, for acquiring airflow intensity; the single-chip microcomputer 100 is connected with the constant current source 200 and the microphone sensor 300 respectively; the single-chip microcomputer 100 is used for controlling charging and discharging of the microphone sensor 300, calculating charging duration of the microphone sensor 300, and unlocking the electronic cigarette according to the charging duration.

[0075] Specifically, the microphone sensor 300 is equivalent to a variable capacitor, and the capacitance value of the microphone sensor 300 changes according to the airflow intensity acquired by the microphone sensor 300. When in the inhaling state, the greater the airflow intensity acquired by the microphone sensor 300, the greater the capacitance value of the microphone sensor 300, and the greater the capacitance value, the longer the charging duration of the microphone sensor 300; when in the exhaling state, the greater the airflow intensity acquired by the microphone sensor 300, the smaller the capacitance value of the microphone sensor 300, and the smaller the capacitance value, the shorter the charging duration of the microphone sensor 300. The single-chip microcomputer is connected with the microphone sensor 300 through the input and output port GPIO, and the constant current source is connected with the microphone sensor, when the input and output port GPIO of the single-chip microcomputer is in high configuration, the microphone sensor 300 is provided with constant current by the constant current source 200, so as to charge the microphone sensor 300. When the input and output port GPIO of the single-chip microcomputer 100 is in low level, the microphone sensor 300 starts to discharge. Thus, the charging and discharging of the microphone sensor 300 is controlled by the single-chip microcomputer 100, and the charging duration of the microphone sensor 300 is related to the airflow intensity acquired by the microphone sensor 300, therefore, the charging duration of the microphone sensor 300 is calculated by the single-chip microcomputer 100, and the electronic cigarette is unlocked according to the charging duration, so as to realize unlocking of the electronic cigarette by airflow intensity without external switch or key, and further reduce the cost.

[0076] In an embodiment, the single-chip microcomputer 100 includes a comparator 110.

[0077] The positive input end of the comparator 110 is connected with the microphone sensor 300; the negative input end of the comparator 110 is connected with the internal reference voltage source of the single-chip microcomputer 100; the comparator 110 is used for comparing the voltage value of the microphone sensor 300 with the voltage value REFV of the internal reference voltage source of the single-chip microcomputer 100; and the single-chip microcomputer 100 controls the microphone sensor 300 to charge and discharge according to the comparison result.

[0078] Specifically, the positive input end of the comparator 110 is connected with the microphone sensor 300, and is used for acquiring the voltage value of the microphone sensor 300; the negative input end of the comparator 110 is connected with the internal reference voltage source of the single-chip microcomputer 100; if the voltage value of the positive input end of the comparator 110 is higher than that of the negative input end of the comparator 110, i.e. the voltage value of the microphone sensor 300 is higher than the voltage value REFV of the internal reference voltage source, the single-chip microcomputer 100 controls the microphone sensor 300 to discharge; and if the voltage value of the positive input end of the comparator 110 is lower than that of the negative input end of the comparator 110, the single-chip microcomputer 100 controls the microphone sensor 300 to charge. The comparator 110 inside the single-chip microcomputer 100 is used for comparison operation, so as to control the single-chip microcomputer 100 to charge and discharge, and compared with an external comparator, the cost is lower.

[0079] In an embodiment, the positive input end of the comparator 110 is also connected with the input and output port GPIO of the single-chip microcomputer 100; and the single-chip microcomputer 100 controls the input and output port GPIO to output a low level or keep a high resistance state according to the comparison result of the comparator 110, so as to control the microphone sensor 300 to charge and discharge.

[0080] Specifically, the positive input end of the comparator 110 is also connected with the input and output port GPIO of the single-chip microcomputer 100; if the voltage value of the positive input end of the comparator is higher than that of the negative input end of the comparator, i.e. the voltage value of the microphone sensor 300 is higher than the voltage value REFV of the internal reference voltage, the input and output port GPIO of the single-chip microcomputer outputs a low level, so as to control the microphone sensor 300 to discharge; and if the voltage value of the positive input end of the comparator 110 is lower than that of the negative input end of the comparator 110, the input and output port GPIO of the single-chip microcomputer 100 keeps a high state, so as to control the microphone sensor 300 to charge through the constant current source 200.

[0081] According to the electronic cigarette unlocking control method and circuit, the single-chip microcomputer sends a detection instruction to control the microphone sensor to start discharging, and after a first time period, the single-chip microcomputer controls the microphone sensor to charge, and records a first time point; when the microphone sensor is charged to a reference voltage, a second time point is recorded; a charging duration is obtained according to the difference between the value of the first time point and the value of the second time point; the electronic cigarette is unlocked according to the charging duration; when the electronic cigarette is in an inhaling state, the greater the airflow intensity obtained by the microphone sensor, the longer the charging duration; when the electronic cigarette is in an exhaling state, the greater the airflow intensity obtained by the microphone sensor, the shorter the charging duration. The electronic cigarette is unlocked according to the charging duration of the microphone sensor, and a mechanical switch and a light touch button structure are not needed, so that the cost of unlocking the electronic cigarette is reduced.

[0082] It should be understood that the application of the present application is not limited to the above examples, and can be improved or changed according to the above description for those skilled in the art, and all these improvements and changes shall belong to the protection scope of the appended claims of the present application.

Claims

1. An electronic cigarette unlocking control method for electronic cigarette locks, characterized in that, include: The microcontroller issues a detection command to control the microphone sensor to start discharging. After a first time period, it controls the microphone sensor to charge and records the first time point. When the microphone sensor is charged to the reference voltage, it records the second time point. It determines whether the voltage value of the microphone sensor in the electronic cigarette is greater than the reference voltage. If it is, the microcontroller controls the input / output port to output a low level to control the microphone sensor to discharge. After the first time period, the microcontroller controls the input / output port to change to a high impedance state to control the microphone sensor to charge and records the first time point. If not, the microcontroller does not operate, the input / output port is in a high impedance state, the microphone sensor is continuously charged through a constant current source, and the electronic cigarette is controlled to be in a locked state. The charging time is obtained based on the difference between the value at the first time point and the value at the second time point; The electronic cigarette is unlocked based on the charging time; it is determined whether the charging time is greater than or equal to a first preset value. If not, the electronic cigarette is controlled to be in the exhalation state. If so, then control the electronic cigarette to be in the inhalation state; Specifically, when the electronic cigarette is in the inhalation state, the greater the airflow intensity obtained by the microphone sensor, the longer the charging time; when the electronic cigarette is in the inhalation state, it is determined whether the charging time is greater than a third preset value. If not, the electronic cigarette is kept in a locked state; if so, the electronic cigarette is unlocked. When the electronic cigarette is in the exhalation state, the greater the airflow intensity detected by the microphone sensor, the shorter the charging time. When the e-cigarette is in the exhalation state, it is determined whether the charging time is less than a second preset value. If not, the e-cigarette is kept in a locked state; if so, the e-cigarette is unlocked.

2. The electronic cigarette unlocking control method according to claim 1, characterized in that, The detection command refers to the command issued by the microcontroller at preset time intervals.

3. The electronic cigarette unlocking control method according to claim 1, characterized in that, The microcontroller issues a detection command to control the microphone sensor to start discharging, and after a first time period, controls the microphone sensor to charge, while recording the first time point. Before the step of recording the second time point when the microphone sensor is charged to the reference voltage, the following steps are included: The first preset value, the second preset value, and the third preset value are set according to the microphone sensor type.

4. The electronic cigarette unlocking control method according to claim 1, characterized in that, Following the step of controlling the electronic cigarette unlocking based on the charging time, the following is also included: The heating element is controlled by a microcontroller.

5. An electronic cigarette unlocking control circuit that performs the electronic cigarette unlocking control method as described in any one of claims 1-4, characterized in that, include: Microcontroller, constant current source and microphone sensor; The constant current source is connected to the microphone sensor and is used to provide a constant current to the microphone sensor; The microphone sensor is connected to the microcontroller and is used to obtain the airflow intensity; The microcontroller is connected to the constant current source and the microphone sensor respectively, and is used to control the charging and discharging of the microphone sensor and calculate the charging time of the microphone sensor, and unlock the electronic cigarette according to the charging time.

6. The electronic cigarette unlocking control circuit according to claim 5, characterized in that, The microcontroller includes: a comparator; The positive input terminal of the comparator is connected to the microphone sensor; The inverting input of the comparator is connected to the internal reference voltage source of the microcontroller. The comparator is used to compare the voltage value of the microphone sensor with the voltage value of the internal reference voltage source of the microcontroller, and the microcontroller controls the charging and discharging of the microphone sensor according to the comparison result.

7. The electronic cigarette unlocking control circuit according to claim 6, characterized in that, The positive input terminal of the comparator is also connected to the input / output port of the microcontroller. The microcontroller controls the input / output port to output a low level or maintain a high impedance state according to the comparison result of the comparator, so as to control the charging and discharging of the microphone sensor.

Citation Information

Patent Citations

  • Electronic cigarette circuit, electronic cigarette control method and electronic cigarette

    CN113662261A

  • Capacitive airflow detection system

    CN216393045U