Indicator light control method and circuit, electronic cigarette device and storage medium
By using the airflow sensor and cartridge interface detection in the e-cigarette device to determine the airflow pressure and plugging status, the problem of misjudgment of plugging and unplugging actions is solved, and the user experience and equipment reliability are improved.
Patent Information
- Application Number
- CN202210195152.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-02-28
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2042-02-28
AI Technical Summary
Existing e-cigarette devices are easily misjudged as smoking when the user inserts and pulls out the cigarette cartridge, causing the indicator light to light up incorrectly, affecting the user experience.
The airflow sensor is used to obtain the airflow pressure in the pipeline, determine whether it is greater than the preset threshold, and detect whether a cartridge is plugged into the cartridge interface. If it is not plugged in, the indicator light will stop working to avoid misjudgment.
It effectively prevents the action of inserting and removing the cigarette cartridge from being misjudged as the action of smoking, improves the user experience, ensures that the indicator light only flashes during actual smoking, and prevents users from mistakenly thinking that the device is faulty.
Smart Images

Figure CN114403514B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of electronic cigarettes, and in particular to an indicator light control method and circuit, an electronic cigarette device and a storage medium. Background Art
[0002] An electronic cigarette device is an electronic product that imitates a cigarette, including key components such as airflow sensors. When a user uses an electronic cigarette device, the smoking action generates airflow, which changes the capacitance on the airflow sensor. The chip on the airflow sensor determines whether the user has a smoking action based on the change in the sensed capacitance value.
[0003] At present, in the actual use of some electronic cigarette devices, the user's action of plugging and pulling out the cigarette cartridge will also generate airflow, which flows in the cigarette cartridge pipe or the smoking pipe. When the airflow is sensed by the airflow sensor, if it exceeds the trigger threshold of the airflow sensor, the indicator light of the electronic cigarette device will light up. The indicator light is lit to indicate the presence of a smoking action. At this time, the action of plugging and pulling out the cigarette cartridge is mistakenly judged as a smoking action, thereby affecting the user's experience. Summary of the invention
[0004] The main purpose of the present invention is to provide an indicator light control method and circuit, an electronic cigarette device and a storage medium, aiming to solve the technical problem in the prior art that the action of inserting and removing the cigarette cartridge of the electronic cigarette device is easily misjudged as the action of smoking, resulting in a poor user experience.
[0005] To achieve the above object, the present invention adopts the following technical solution:
[0006] In a first aspect, the present invention provides an indicator light control method, the method is applied to an electronic cigarette device, the electronic cigarette device comprising:
[0007] A housing, wherein the housing has a pipe therein, and the housing is further provided with a cigarette cartridge interface connected to the pipe, wherein the cigarette cartridge interface is used to plug in the cigarette cartridge;
[0008] An indicator light, the indicator light being arranged on the housing;
[0009] an airflow sensor, the airflow sensor being disposed in the pipeline;
[0010] The method comprises:
[0011] Acquiring the airflow pressure in the pipeline by means of the airflow sensor;
[0012] Determining whether the value of the airflow pressure is greater than a preset threshold;
[0013] When it is determined that the value of the airflow pressure is greater than the preset threshold, detecting whether a cigarette cartridge is plugged into the cigarette cartridge interface;
[0014] If it is detected that the cigarette cartridge interface is not plugged with a cigarette cartridge, the indicator light is controlled to stop working.
[0015] Optionally, in the above indicator light control method, after the step of determining whether the value of the airflow pressure is greater than a preset threshold, the method further includes:
[0016] When it is determined that the value of the airflow pressure is greater than the preset threshold value, generating an indication control signal according to the airflow pressure;
[0017] After the step of detecting whether a cigarette cartridge is plugged into the cigarette cartridge interface, the method further includes:
[0018] If it is detected that a cigarette cartridge is plugged into the cigarette cartridge interface, the indicator light is controlled to work normally according to the indication control signal.
[0019] In a second aspect, the present invention provides an indicator light control circuit, which is applied to an electronic cigarette device, wherein the electronic cigarette device is provided with a cartridge interface and an indicator light, wherein the cartridge interface is used to plug in a cartridge; the circuit comprises:
[0020] A pressure acquisition module, a control module, a cigarette cartridge detection module and an indication drive module connected in sequence, wherein the control module is connected to the indication drive module, the cigarette cartridge detection module is connected to the cigarette cartridge interface, and the indication drive module is connected to the indicator light;
[0021] The pressure acquisition module is used to obtain the airflow pressure and output the airflow pressure;
[0022] The control module is used to determine whether the protection start condition is met according to the airflow pressure, output a detection control signal, and output an indication control signal; wherein the protection start condition includes that the value of the airflow pressure is greater than a preset threshold;
[0023] The cigarette cartridge detection module is used to detect whether a cigarette cartridge is plugged into the cigarette cartridge interface according to the detection control signal, and output a cigarette cartridge detection signal;
[0024] The indication driving module is used to control the indicator light to stop working or work normally according to the cigarette cartridge detection signal and the indication control signal.
[0025] Optionally, in the above indicator light control circuit, the cigarette cartridge detection module includes:
[0026] A detection drive unit and a voltage comparison unit connected to each other, wherein the detection drive unit is connected to the cigarette cartridge interface, and the voltage comparison unit is respectively connected to the control module and the indication drive module;
[0027] The detection drive unit is used to control the current flow and output a voltage signal according to whether the cigarette cartridge interface is connected to a cigarette cartridge;
[0028] The voltage comparison unit is used to compare the voltage signal according to the detection control signal and output a cigarette cartridge detection signal.
[0029] Optionally, in the above indicator light control circuit, the detection drive unit includes a driver U1 and a field effect transistor Q1;
[0030] The driver U1 is connected to the gate of the field effect tube Q1, the source of the field effect tube Q1 is connected to the working voltage VDD and the voltage comparison unit respectively, the drain is connected to the voltage comparison unit and the cigarette cartridge interface VOUT respectively, and the cigarette cartridge interface VOUT is connected to the heating wire RL of the cigarette cartridge;
[0031] The voltage comparison unit includes a comparator U2;
[0032] The input end of the comparator U2 is connected to the detection driving unit, the enabling end is connected to the control module, and the output end is connected to the indication driving module.
[0033] Optionally, in the above indicator light control circuit, the indicator driving module includes:
[0034] A logic processing unit, a current amplifying unit and a voltage stabilizing protection unit connected in sequence, wherein the logic processing unit is connected to the cigarette cartridge detection module and the control module respectively, and the current amplifying unit is connected to the indicator light;
[0035] The logic processing unit is used to perform logic processing on the received cigarette cartridge detection signal and the indication control signal, control the circuit to be turned on or off, so as to control the indicator light to work normally or stop working, and output a reference current when the circuit is turned on;
[0036] The current amplification unit is used to amplify the reference current and output a driving current to light up the indicator light;
[0037] The voltage stabilization protection unit is used to provide voltage stabilization protection for the indicator light.
[0038] Optionally, in the above indicator light control circuit, the logic processing unit includes a logic processor U3;
[0039] The first input end of the logic processor U3 is connected to the cigarette cartridge detection module, the second input end is connected to the control module, the first output end is connected to the current amplification unit, and the second output end is grounded;
[0040] The current amplification unit includes a field effect transistor Q2, a field effect transistor Q3 and a resistor R1;
[0041] The drain of the field effect transistor Q2 is connected to the logic processing unit, the source is connected to the working voltage VDD, the gate is connected to the gate of the field effect transistor Q3, the source of the field effect transistor Q3 is connected to the working voltage VDD, the drain is connected to one end of the resistor R1, and the other end of the resistor R1 is respectively connected to the voltage stabilizing protection unit and the indicator LED1;
[0042] The voltage stabilizing protection unit includes a resistor R2 and a transistor Q4;
[0043] One end of the resistor R2 is connected to the current amplifying unit, and the other end is connected to the collector of the transistor Q4. The base of the transistor Q4 is vacant, and the emitter is grounded.
[0044] Optionally, in the above indicator light control circuit, the indicator driving module further includes:
[0045] A brightness adjustment unit connected to the logic processing unit;
[0046] The brightness adjustment unit is used to adjust the brightness of the indicator light by adjusting the current in the circuit;
[0047] The brightness adjustment unit includes an LED step current controller U4 and an LED DC current controller U5;
[0048] The LED step current controller U4 and the LED DC current controller U5 are respectively connected to the logic processing unit.
[0049] In a third aspect, the present invention provides an electronic cigarette device, the device comprising:
[0050] A housing, wherein the housing has a pipe therein, and the housing is further provided with a cigarette cartridge interface connected to the pipe, wherein the cigarette cartridge interface is used to plug in the cigarette cartridge;
[0051] An indicator light, the indicator light being arranged on the housing;
[0052] an airflow sensor, the airflow sensor being disposed in the pipeline;
[0053] A control circuit board, the control circuit board is arranged in the housing, and the control circuit board is respectively connected to the airflow sensor, the cigarette cartridge interface and the indicator light;
[0054] Wherein, the control circuit board is provided with an indicator light control circuit as claimed in any one of claims 4 to 8.
[0055] In a fourth aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program can be executed by one or more processors to implement the indicator light control method as described above.
[0056] The above one or more technical solutions provided by the present invention may have the following advantages or at least achieve the following technical effects:
[0057] The present invention proposes an indicator light control method and circuit, an electronic cigarette device and a storage medium. When the airflow pressure is obtained, it is determined whether the airflow pressure is greater than a preset threshold. If so, the indicator light false trigger protection is activated, and the indicator light is controlled to work normally or stop working by detecting whether a cigarette cartridge is plugged into the cigarette cartridge interface. When the user plugs in and out the cigarette cartridge to generate airflow, the cigarette cartridge interface cannot sense the presence of a cigarette cartridge. At this time, even if the airflow reaches the preset threshold, the indicator light will not flash, avoiding misjudging the plugging and unplugging action of the cigarette cartridge as a smoking action and causing the indicator light to flash, causing the user to mistakenly believe that there is a fault in the electronic cigarette device, thereby improving the user's experience. The present invention implements the indicator light control method through a circuit, has a simple structure, low device cost, and a small size. On the premise of ensuring that the size of the electronic cigarette device does not increase, the indicator light false trigger protection function is added to prevent misjudgment of actions and further improve the user's experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0058] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.
[0059] Figure 1 It is a flow chart of the indicator light control method of the present invention;
[0060] Figure 2 It is a connection block diagram of the indicator light control circuit of the present invention;
[0061] Figure 3 for Figure 2 The circuit schematic diagram of the cigarette cartridge detection module in one state;
[0062] Figure 4 for Figure 2 The circuit schematic diagram of the cigarette cartridge detection module in another state;
[0063] Figure 5 for Figure 2 The circuit schematic diagram of the drive module is shown in FIG.
[0064] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0065] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution in the embodiment of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiment of the present invention. Obviously, the described embodiment is only a part of the embodiment of the present invention, not all the embodiments. Based on the embodiment of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0066] It should be noted that in the present invention, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "includes..." does not exclude the existence of other identical elements in the process, method, article or system including the element.
[0067] In addition, in the present invention, unless otherwise clearly specified and limited, the terms "connection", "fixed", etc. should be understood in a broad sense. For example, "connection" can be a fixed connection, a detachable connection, or an integrated connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium; it can be the internal connection between two elements or the interaction relationship between two elements.
[0068] In the present invention, the suffixes such as "module", "component" or "unit" used to represent elements are only used to facilitate the description of the present invention, and they themselves have no specific meaning. Therefore, "module", "component" or "unit" can be used in a mixed manner. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to the specific circumstances. In addition, the technical solutions of each embodiment can be combined with each other, but it must be based on the ability of ordinary technicians in this field to implement. When the combination of technical solutions is contradictory or cannot be implemented, it should be considered that such combination of technical solutions does not exist and is not within the scope of protection required by the present invention.
[0069] An analysis of the prior art found that the electronic cigarette device includes key components such as airflow sensors, and the airflow sensor is equipped with a chip that plays an important role in analysis and control. When a user uses the electronic cigarette device, the smoking action will generate airflow, which will cause the capacitance on the airflow sensor to change. The chip on the airflow sensor will analyze the change in the sensed capacitance value to determine whether the user has a smoking action. Specifically, when the chip senses that the change in capacitance value exceeds the trigger threshold, it can be determined that there is a smoking action at this time, thereby controlling the heating wire to work and starting the LED light to flash, informing the user that the smoking action has begun.
[0070] Due to various factors such as the brand, industrial design, and function of the electronic cigarette device, there are many changes in the internal structure, especially the pipe design. At present, in the actual use of some electronic cigarette devices, the user's plugging and unplugging of the cigarette cartridge will also generate airflow, which flows in the cigarette cartridge pipe or the smoking pipe. When the airflow is sensed by the airflow sensor, if it exceeds the trigger threshold of the airflow sensor, it is easy to be mistakenly judged as the presence of smoking action, causing the LED light to start flashing by mistake, which can easily make users mistakenly think that there is a problem with the electronic cigarette device, thereby affecting the user's experience.
[0071] In view of the technical problem in the prior art that the action of inserting and removing the cigarette cartridge of the electronic cigarette device is easily misjudged as the action of smoking, resulting in a poor user experience, the present invention provides an indicator light control method, and the overall idea is as follows:
[0072] The airflow pressure in the pipeline is obtained through the airflow sensor; whether the value of the airflow pressure is greater than a preset threshold is determined; when it is determined that the value of the airflow pressure is greater than the preset threshold, whether a cigarette cartridge is plugged into the cigarette cartridge interface is detected; if it is detected that the cigarette cartridge interface is not plugged into a cigarette cartridge, the indicator light is controlled to stop working.
[0073] Through the above technical solution, when the airflow pressure is obtained, it is determined whether the airflow pressure is greater than the preset threshold. If so, the indicator light false trigger protection is started, and the indicator light is controlled to work normally or stop working accordingly by detecting whether a cartridge is plugged into the cartridge interface. When the user plugs in and out the cartridge to generate airflow, the cartridge interface cannot sense the presence of a cartridge. At this time, even if the airflow reaches the preset threshold, the indicator light will not flash, thereby avoiding misjudging the plugging and unplugging action as a smoking action and causing the indicator light to flash, causing the user to mistakenly believe that there is a fault in the electronic cigarette device, thereby improving the user's usage experience.
[0074] Embodiment 1
[0075] Reference Figure 1 The flowchart of the present invention provides an embodiment of the indicator light control method of the present invention, and the indicator light control method is applied to an electronic cigarette device, and the electronic cigarette device includes:
[0076] A housing, wherein the housing has a pipe therein, and the housing is further provided with a cigarette cartridge interface connected to the pipe, wherein the cigarette cartridge interface is used to plug in the cigarette cartridge;
[0077] An indicator light, the indicator light being arranged on the housing and being used to prompt the user to take a smoke action;
[0078] An airflow sensor is disposed in the pipeline and is used to collect airflow pressure.
[0079] A circuit board is provided with a control chip, and the method of this embodiment is specifically applied to the control chip.
[0080] The control chip may include a memory, and the memory is used to store various types of data, such as instructions of any application or method in the electronic cigarette device, and data related to the application; optionally, the memory may also be a storage device independent of the control chip;
[0081] Specifically, the memory may include a computer program, and the control chip is used to call the computer program stored in the memory and perform the following operations:
[0082] Acquiring the airflow pressure in the pipeline by means of the airflow sensor;
[0083] Determining whether the value of the airflow pressure is greater than a preset threshold;
[0084] When it is determined that the value of the airflow pressure is greater than the preset threshold, detecting whether a cigarette cartridge is plugged into the cigarette cartridge interface;
[0085] If it is detected that the cigarette cartridge interface is not plugged with a cigarette cartridge, the indicator light is controlled to stop working.
[0086] Based on the above electronic cigarette device, the following Figure 1 The flowchart shown in the figure describes in detail the indicator light control method of this embodiment. The method may include the following steps:
[0087] Step S10: obtaining the airflow pressure in the pipeline through the airflow sensor.
[0088] Specifically, an airflow sensor is provided in the pipe of the electronic cigarette device to sense and collect the airflow generated in the pipe, which may be the airflow generated by the smoking action or the airflow generated by plugging and unplugging the cigarette cartridge. The airflow sensor may be a capacitive pressure sensor, which senses the airflow using a capacitive element. The capacitive element deforms under the pressure of the airflow, converts the pressure into an electrical output that is related to the pressure, and specifically outputs an electrical signal to the control chip, which can obtain the airflow pressure, that is, obtain an electrical signal indicating the magnitude of the airflow pressure.
[0089] Step S20: determining whether the airflow pressure value is greater than a preset threshold.
[0090] In the prior art, after the control chip obtains the airflow pressure, it can determine that there may be a smoking action at this time according to a preset program, and generate a display control signal to control the display light to flash. However, since the airflow may be the airflow generated by the plug-in cigarette cartridge, the display light cannot be directly controlled by the display control signal.
[0091] Based on the above defects, the present invention adds a false triggering protection function of the indicator light to the electronic cigarette device, that is, firstly judge whether the value of the airflow pressure is greater than the preset threshold value according to the obtained airflow pressure, wherein the preset threshold value can be the minimum pressure value set when designing the control chip program. If the value of the airflow pressure is greater than the preset threshold value, it means that there is indeed airflow in the pipeline of the electronic cigarette device at this time, and the start condition of the false triggering protection of the indicator light is met, then step S50 can be continued to be executed, that is, the false triggering protection function of the indicator light can be started; if the value of the airflow pressure is not greater than the preset threshold value, that is, less than or equal to the preset threshold value, it means that there is no airflow in the pipeline of the electronic cigarette device at this time, then return to step S10, and continue to sense the airflow through the airflow sensor.
[0092] Step S50: When it is determined that the value of the airflow pressure is greater than the preset threshold, an indication control signal is generated according to the airflow pressure.
[0093] When the airflow pressure is greater than the preset threshold, the control chip will generate an indication control signal according to the preset program to control the indicator light to flash, indicating the smoking action. This step is convenient for the control indicator light to work normally when the action corresponding to the airflow is not the action of plugging and unplugging the cigarette cartridge, but the action of smoking.
[0094] Step S30: When it is determined that the value of the airflow pressure is greater than the preset threshold, detecting whether a cigarette cartridge is plugged into the cigarette cartridge interface.
[0095] When the airflow pressure value is greater than the preset threshold, the control chip detects whether a cigarette cartridge is plugged into the cigarette cartridge interface. It can be judged by the on-off of the current in the circuit. Because a heating wire is provided in the cigarette cartridge, when the cigarette cartridge is inserted, the current in the circuit is connected and the heating wire of the cigarette cartridge will heat up. If the cigarette cartridge is not inserted, the current in the circuit will not flow.
[0096] By judging whether a cigarette cartridge is plugged in, it can be distinguished whether it is a smoking action or a plugging and unplugging action. When the user is plugging and unplugging the cigarette cartridge, the heating wire of the cigarette cartridge will not heat up and the current will not flow, so it can be determined that the action corresponding to the airflow generated at this time is not a smoking action.
[0097] It should be noted that in the specific implementation process, step S50 and step S30 can be performed simultaneously. Step S50 generates an indication control signal for the subsequent control of the indicator light, and step S30 performs a cartridge plug-in judgment to determine whether the action corresponding to the airflow generation is a smoking action or a cartridge plug-in action.
[0098] Step S60: If it is detected that a cigarette cartridge is plugged into the cigarette cartridge interface, the indicator light is controlled to work normally according to the indication control signal.
[0099] If it is detected that a cigarette cartridge is plugged into the cigarette cartridge interface, it means that the user action that generates the airflow is a smoking action. Correspondingly, the indicator light false triggering protection function does not start the protection, that is, the control chip works normally, and the indicator light flashes normally according to the indication control signal generated in step S50, prompting the smoking action.
[0100] Step S40: If it is detected that the cigarette cartridge interface is not plugged into a cigarette cartridge, the indicator light is controlled to stop working.
[0101] If it is detected that there is no cigarette cartridge plugged in the cigarette cartridge interface, it means that the user action that generates the airflow is the action of plugging and unplugging the cigarette cartridge, and the indicator light false triggering protection function starts the protection. Regardless of whether the control chip generates an indication control signal, the indicator light is controlled to stop working, that is, the indicator light does not flash, so that the user will not mistakenly believe that the electronic cigarette device misjudges the action of plugging and unplugging the cigarette cartridge as the action of smoking and indicates it, thereby thinking that the electronic cigarette device has a malfunction.
[0102] It should be noted that according to the above method, the electronic cigarette device of this embodiment has four states:
[0103] The first is that the airflow pressure does not reach the preset threshold, and the cigarette cartridge interface is not plugged into the cigarette cartridge. At this time, the indicator light does not flash, that is, no smoking action is prompted, because step S50 or step S30 is not executed at all;
[0104] The second is that the airflow pressure does not reach the preset threshold, and the cigarette cartridge interface is plugged with a cigarette cartridge. At this time, the indicator light does not flash, that is, no smoking action is prompted, because step S50 or step S30 will not be executed at this time;
[0105] The third is that the airflow pressure reaches the preset threshold, but there is no cigarette cartridge plugged into the cigarette cartridge interface. At this time, the indicator light does not flash, that is, there is no prompt for smoking action, because the airflow at this time is the airflow generated by the action of plugging and unplugging the cigarette cartridge. If the indicator light flashes, there is a misjudgment of the action;
[0106] The fourth is that the airflow pressure reaches the preset threshold, and a cigarette cartridge is plugged into the cigarette cartridge interface. At this time, the indicator light flashes to prompt the smoking action, because the airflow at this time is the airflow generated by the user's smoking action. The indicator light flashes normally, which means that the normal smoking action prompt is in progress.
[0107] In this embodiment, the control chip is connected to the airflow sensor and can be integrated or placed in a separate circuit board. By using the method of this embodiment, the control chip turns off the indicator light when it detects the action of plugging or unplugging the cigarette cartridge, so that the user will not misjudge the current action as a smoking action, thereby avoiding affecting the user's experience.
[0108] The indicator light control method provided in the present embodiment determines whether the airflow pressure is greater than a preset threshold when the airflow pressure is obtained. If so, the indicator light false trigger protection is activated, and the indicator light is controlled to work normally or stop working accordingly by detecting whether a cigarette cartridge is plugged into the cigarette cartridge interface. When the user plugs in and out the cigarette cartridge to generate airflow, the cigarette cartridge interface cannot sense the presence of a cigarette cartridge. At this time, even if the airflow reaches the preset threshold, the indicator light will not flash, thereby avoiding misjudging the action of plugging and unplugging the cigarette cartridge as a smoking action and causing the indicator light to flash, causing the user to mistakenly believe that there is a fault in the electronic cigarette device, thereby improving the user's usage experience.
[0109] Embodiment 2
[0110] Based on the same inventive concept, Figure 2 , an embodiment of the indicator light control circuit of the present invention is proposed, and the indicator light control circuit is applied to an electronic cigarette device. The electronic cigarette device is the same as the electronic cigarette device of the first embodiment, and will not be described again here.
[0111] Combine the following Figure 2 The connection block diagram shown in the figure describes the indicator light control circuit of this embodiment in detail. The circuit may include:
[0112] A pressure acquisition module, a control module, a cigarette cartridge detection module and an indication drive module connected in sequence, wherein the control module is connected to the indication drive module, the cigarette cartridge detection module is connected to the cigarette cartridge interface, and the indication drive module is connected to the indicator light;
[0113] The pressure acquisition module is used to obtain the airflow pressure and output the airflow pressure;
[0114] The control module is used to determine whether the protection start condition is met according to the airflow pressure, output a detection control signal, and output an indication control signal; wherein the protection start condition includes that the value of the airflow pressure is greater than a preset threshold;
[0115] The cigarette cartridge detection module is used to detect whether a cigarette cartridge is plugged into the cigarette cartridge interface according to the detection control signal, and output a cigarette cartridge detection signal;
[0116] The indication driving module is used to control the indicator light to stop working or work normally according to the cigarette cartridge detection signal and the indication control signal.
[0117] Specifically, the pressure acquisition module acquires the airflow pressure and outputs an electrical signal indicating the size of the airflow pressure to the control module; the control module determines the size of the airflow pressure to determine whether the airflow pressure reaches a preset threshold value, and if so, generates a detection control signal and an indication control signal, and outputs the detection control signal to the cigarette cartridge detection module, and outputs the indication control signal to the indication drive module; the cigarette cartridge detection module detects whether a cigarette cartridge is plugged into the cigarette cartridge interface based on the received detection control signal, and if so, outputs a high-level cigarette cartridge detection signal to the indication drive module, and if not, outputs a low-level cigarette cartridge detection signal to the indication drive module; the indication drive module controls the indicator light to work normally based on the received cigarette cartridge detection signal and indication control signal, when both the cigarette cartridge detection signal and the indication control signal are high-level, and when either the cigarette cartridge detection signal or the indication control signal is low-level or both are low-level, the control indicator light stops working.
[0118] Furthermore, the smoke cartridge detection module may include:
[0119] A detection drive unit and a voltage comparison unit connected to each other, wherein the detection drive unit is connected to the cigarette cartridge interface, and the voltage comparison unit is respectively connected to the control module and the indication drive module;
[0120] The detection drive unit is used to control the current flow and output a voltage signal according to whether the cigarette cartridge interface is connected to a cigarette cartridge;
[0121] The voltage comparison unit is used to compare the voltage signal according to the detection control signal and output a cigarette cartridge detection signal.
[0122] When a cigarette cartridge is connected to the cigarette cartridge interface, current flows in the detection drive unit and a first voltage signal is output to the voltage comparison unit. When a cigarette cartridge is not connected to the cigarette cartridge interface, current does not flow in the detection drive unit and a second voltage signal is output to the voltage comparison unit. The voltage comparison unit compares the received voltage signal, i.e., the first voltage signal or the second voltage signal, according to the detection control signal and outputs the comparison result, i.e., the cigarette cartridge detection signal, to the indication control module.
[0123] Furthermore, the detection driving unit includes a driver U1 and a field effect transistor Q1;
[0124] The driver U1 is connected to the gate of the field effect tube Q1, the source of the field effect tube Q1 is connected to the working voltage VDD and the voltage comparison unit respectively, the drain is connected to the voltage comparison unit and the cigarette cartridge interface VOUT respectively, and the cigarette cartridge interface VOUT is connected to the heating wire RL of the cigarette cartridge;
[0125] The voltage comparison unit includes a comparator U2;
[0126] The input end of the comparator U2 is connected to the detection driving unit, the enabling end is connected to the control module, and the output end is connected to the indication driving module.
[0127] Specifically, the driver U1 is connected to the gate of the field effect tube Q1, the source of the field effect tube Q1 is respectively connected to the working voltage VDD and the positive input terminal of the comparator U2, the drain is respectively connected to the negative input terminal of the comparator U2 and the cartridge interface VOUT, the cartridge interface VOUT is connected to the heating wire RL of the cartridge, the enable terminal of the comparator U2 is connected to the control module, receives the detection control signal EN_CMP, the output terminal is connected to the indication drive module, and outputs the cartridge detection signal VL_EN. Among them, the field effect tube Q1 can be a PMOS tube (Positive channel Metal Oxide Semiconductor), which is a MOS tube with an N-type substrate and a P-channel, and transports current by the flow of holes.
[0128] like Figure 3 The figure shows the circuit schematic diagram of the cigarette cartridge detection module when the cigarette cartridge interface is connected to the cigarette cartridge. A heating wire RL is provided in the cigarette cartridge, and the heating wire RL is connected to the drain of the field effect tube Q1 through the cigarette cartridge interface VOUT (PIN); the field effect tube Q1 is a PMOS switch, and the conduction or shutdown of the field effect tube Q1 is used to control whether the current flows to the heating wire RL for heating. The positive input terminal and the negative input terminal of the comparator U2 receive voltage signals to calculate the voltage drop ΔV.
[0129] When the heating wire RL is connected to the detection drive unit, the field effect tube Q1 is turned on, generating a voltage drop ΔV, ΔV = I_load × Ron_pmos, where I_load represents the on-current, and Ron_pmos represents the impedance when the PMOS is turned on. The comparator U2 compares the ΔV voltage and generates a high potential output, that is, the cartridge detection signal VL_EN is output in a high level state.
[0130] like Figure 4The circuit schematic diagram of the cartridge detection module is shown in the state where the cartridge interface is not connected to the cartridge. When the heating wire RL is not connected to the detection drive unit, the field effect tube Q1 is turned off, and the driver U1 drives the field effect tube Q1 to generate a voltage drop ΔV. At this time, the comparator U2 compares the ΔV voltage and generates a low potential output, that is, the cartridge detection signal VL_EN is output in a low level state.
[0131] Furthermore, the indication driving module includes:
[0132] A logic processing unit, a current amplifying unit and a voltage stabilizing protection unit connected in sequence, and a brightness adjustment unit connected to the logic processing unit, the logic processing unit is respectively connected to the cigarette cartridge detection module and the control module, and the current amplifying unit is connected to the indicator light;
[0133] The logic processing unit is used to perform logic processing on the received cigarette cartridge detection signal and the indication control signal, control the circuit to be turned on or off, so as to control the indicator light to work normally or stop working, and output a reference current when the circuit is turned on;
[0134] The current amplification unit is used to amplify the reference current and output a driving current to light up the indicator light;
[0135] The voltage stabilization protection unit is used to provide voltage stabilization protection for the indicator light;
[0136] The brightness adjustment unit is used to adjust the brightness of the indicator light by adjusting the current in the circuit.
[0137] The logic processing unit performs logic processing on the received cartridge detection signal and indication control signal, and controls the circuit of the indication drive module to be turned on or off. The logic processing unit can use an OR gate logic processor. Only when the cartridge detection signal is 1 and the indication control signal is also 1, the circuit of the indication drive module is controlled to be turned on and the reference current is output to control the normal operation of the indicator light. When the cartridge detection signal is 0 or the indication control signal is 0, that is, the cartridge detection signal is 0 and the indication control signal is also 0, the cartridge detection signal is 0 and the indication control signal is 1, and the cartridge detection signal is 1 and the indication control signal is 0, the circuit of the indication drive module is controlled to be disconnected to control the indicator light to stop working. The current amplification unit amplifies the reference current I_REF output by the logic processing unit when the cartridge detection signal is 1 and the indication control signal is also 1, and outputs the drive current I_LED. The indicator light LED1 can light up after receiving the drive current I_LED.
[0138] The voltage stabilizing protection unit provides voltage stabilizing protection for the indicator light, ensuring that the stabilizing current is stable and does not fluctuate, thereby avoiding damage to the indicator light LED1.
[0139] The logic processing unit is also connected to the brightness adjustment unit, which adjusts the display brightness of the indicator light by adjusting the current in the circuit of the indicator driving module to realize more functions of the electronic cigarette device, for example, indicating the intensity of the smoking action by the display brightness of the indicator light.
[0140] Furthermore, the logic processing unit includes a logic processor U3;
[0141] The first input end of the logic processor U3 is connected to the cigarette cartridge detection module, the second input end is connected to the control module, the first output end is connected to the current amplification unit, and the second output end is connected to the brightness adjustment unit;
[0142] The current amplification unit includes a field effect transistor Q2, a field effect transistor Q3 and a resistor R1;
[0143] The drain of the field effect transistor Q2 is connected to the logic processing unit, the source is connected to the working voltage VDD, the gate is connected to the gate of the field effect transistor Q3, the source of the field effect transistor Q3 is connected to the working voltage VDD, the drain is connected to one end of the resistor R1, and the other end of the resistor R1 is respectively connected to the voltage stabilizing protection unit and the indicator LED1;
[0144] The voltage stabilizing protection unit includes a resistor R2 and a transistor Q4;
[0145] One end of the resistor R2 is connected to the current amplifying unit, and the other end is connected to the collector of the transistor Q4. The base of the transistor Q4 is connected to the ground, and the emitter is grounded.
[0146] The brightness adjustment unit includes an LED step current controller U4 and an LED DC current controller U5;
[0147] The LED step current controller U4 and the LED DC current controller U5 are respectively connected to the logic processing unit.
[0148] Specifically, Figure 5The figure shows the circuit schematic diagram of the indicator drive module. The indicator light adopts an LED lamp, which is connected to the indicator light interface LED (PIN) set on the circuit board. The first input end of the logic processor U3 is connected to the cigarette cartridge detection module, specifically connected to the output end of the comparator U2 in the cigarette cartridge detection module, and receives the cigarette cartridge detection signal VL_EN; the second input end is connected to the control module, and receives the indication control signal EN_LED; the first output end is connected to the current amplification unit, specifically connected to the drain of the field effect tube Q2, and outputs the reference current I_REF; the second output end is connected to the brightness adjustment unit, specifically connected to the LED step current controller U4 and the LED DC current controller U5, respectively, and outputs the step current I_STEP and the DC current I_DC, respectively. It should be noted that in an electronic cigarette device without a brightness adjustment unit, the second output end can be directly grounded. Since in the actual application of the electronic cigarette device, the indicator light may need to adjust the brightness or flash, so in this embodiment, the LED DC current controller U5 adjusts the current in the circuit to achieve the brightness adjustment function or flashing function of the LED light; and because in the actual application of the electronic cigarette device, the indicator light may need a gradual brightening and dimming function, so in this embodiment, the LED step current controller U4 increases or decreases the current in the circuit in a step-like manner to achieve the gradual brightening and dimming function of the LED light. Among them, the logic processor U3 can be an OR gate logic processor.
[0149] The drain of the field effect transistor Q2 is connected to the first output terminal of the logic processor U3, receiving the reference current I_REF, the source of the field effect transistor Q2 is connected to the working voltage VDD, the gate is connected to the gate of the field effect transistor Q3, the drain of the field effect transistor Q2 is also connected to the gate of the field effect transistor Q2, the source of the field effect transistor Q3 is connected to the working voltage VDD, the drain is connected to one end of the resistor R1, and the drive current I_LED is output, and the other end of the resistor R1 is respectively connected to one end of the resistor R2 and the indicator LED1. The field effect transistor Q2 and the field effect transistor Q3 form a current mirror circuit, amplifying the reference current I_REF by a preset multiple to obtain the amplified drive current I_LED, I_LED=n×I_REF, where n represents the preset amplification multiple, and then the LED lamp is driven by the drive current I_LED to make it light up.
[0150] One end of the resistor R2 is connected to the other end of the resistor R1, and the other end of the resistor R2 is connected to the collector of the transistor Q4. The base of the transistor Q4 is connected to the ground, and the emitter is grounded. The resistor R2 and the transistor Q4 are used to realize voltage stabilization protection, so that the driving current I_LED can be kept at a fixed value, and will not fluctuate unstably with the on and off of the circuit of the indicating driving module, thereby preventing the LED lamp from being burned out.
[0151] The indicator light control circuit provided in this embodiment is used to implement the indicator light control method as described in the first embodiment. The circuit has a simple structure, low device cost, and a small size. On the premise that the size of the electronic cigarette device is not increased, the indicator light false triggering protection function is added to prevent misjudgment of the action and further improve the user experience.
[0152] It should be noted that the functions that can be realized by each module in the indicator light control circuit provided in this embodiment and the corresponding technical effects achieved can also refer to the description of the specific implementation method in the indicator light control method embodiment of the present invention. For the sake of brevity of the specification, they will not be repeated here.
[0153] Embodiment 3
[0154] Based on the same inventive concept, this embodiment provides an electronic cigarette device, which includes:
[0155] A housing, wherein the housing has a pipe therein, and the housing is further provided with a cigarette cartridge interface connected to the pipe, wherein the cigarette cartridge interface is used to plug in the cigarette cartridge;
[0156] An indicator light, the indicator light being arranged on the housing;
[0157] an airflow sensor, the airflow sensor being disposed in the pipeline;
[0158] A control circuit board, the control circuit board is arranged in the housing, and the control circuit board is respectively connected to the airflow sensor, the cigarette cartridge interface and the indicator light;
[0159] Wherein, the control circuit board is provided with the indicator light control circuit as described in the second embodiment.
[0160] Specifically, the control circuit board of the electronic cigarette device may include a control chip and a memory; a computer program is stored in the memory, and when the computer program is executed by the control chip, all or part of the steps of the indicator light control method embodiment of the present invention are implemented.
[0161] It will be appreciated that the apparatus may further comprise a communication bus.
[0162] Specifically, the communication bus is used to realize the connection and communication between components such as the cigarette cartridge interface, indicator light, airflow sensor and control circuit board.
[0163] The memory is used to store various types of data, which may include, for example, instructions for any application or method in the electronic cigarette device, and data related to the application. The memory may be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory or flash memory; optionally, the memory may also be a storage device independent of the control chip.
[0164] The control chip is used to call the computer program stored in the memory and execute the indicator light control method as described above. The control chip can be an application specific integrated circuit (Application Specific Integrated Circuit, referred to as ASIC), a digital signal processor (Digital Signal Processor, referred to as DSP), a digital signal processing device (Digital Signal Processing Device, referred to as DSPD), a programmable logic device (Programmable Logic Device, referred to as PLD), a field programmable gate array (Field Programmable Gate Array, referred to as FPGA), a controller, a microcontroller, a microprocessor or other electronic components, which are used to execute all or part of the steps of each embodiment of the indicator light control method as described above.
[0165] Embodiment 4
[0166] Based on the same inventive concept, this embodiment provides a computer-readable storage medium, such as a flash memory, a hard disk, a multimedia card, a card-type memory (for example, an SD or DX memory, etc.), a random access memory (RAM), a static random access memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a disk, an optical disk, a server, etc., wherein a computer program is stored on the storage medium, and the computer program can be executed by one or more processors. When the computer program is executed by the processor, all or part of the steps of each embodiment of the indicator light control method of the present invention can be implemented.
[0167] It should be noted that the serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0168] The above descriptions are only optional embodiments of the present invention, and are not intended to limit the patent scope of the present invention. All equivalent structures or equivalent process changes made using the contents of the present invention's specification and drawings, or directly or indirectly applied in other related technical fields, are included in the patent protection scope of the present invention.
Claims
1. A method for controlling an indicator light, characterized in that: The method is applied to an electronic cigarette device, and the electronic cigarette device comprises: A housing, wherein the housing has a pipe therein, and the housing is further provided with a cigarette cartridge interface connected to the pipe, wherein the cigarette cartridge interface is used to plug in the cigarette cartridge; An indicator light, the indicator light being arranged on the housing; an airflow sensor, the airflow sensor being disposed in the pipeline; The method comprises: Acquiring the airflow pressure in the pipeline by means of the airflow sensor; Determining whether the value of the airflow pressure is greater than a preset threshold; When it is determined that the value of the airflow pressure is greater than the preset threshold, detecting whether the cartridge interface is plugged with a cartridge; wherein the cartridge interface being plugged with a cartridge indicates that the user action generating the airflow pressure is a smoking action, and the cartridge interface not being plugged with a cartridge indicates that the user action generating the airflow pressure is an action of plugging and unplugging a cartridge; If it is detected that the cigarette cartridge interface is not plugged with a cigarette cartridge, the indicator light is controlled to stop working.
2. The indicator light control method according to claim 1, characterized in that: After the step of determining whether the value of the airflow pressure is greater than a preset threshold, the method further includes: When it is determined that the value of the airflow pressure is greater than the preset threshold value, generating an indication control signal according to the airflow pressure; After the step of detecting whether a cigarette cartridge is plugged into the cigarette cartridge interface, the method further includes: If it is detected that a cigarette cartridge is plugged into the cigarette cartridge interface, the indicator light is controlled to work normally according to the indication control signal.
3. An indicator light control circuit, characterized in that: The circuit is applied to an electronic cigarette device, and the electronic cigarette device is provided with a cigarette cartridge interface and an indicator light, and the cigarette cartridge interface is used to plug in the cigarette cartridge; the circuit includes: A pressure acquisition module, a control module, a cigarette cartridge detection module and an indication drive module connected in sequence, wherein the control module is connected to the indication drive module, the cigarette cartridge detection module is connected to the cigarette cartridge interface, and the indication drive module is connected to the indicator light; The pressure acquisition module is used to obtain the airflow pressure and output the airflow pressure; The control module is used to determine whether the protection start condition is met according to the airflow pressure, output a detection control signal, and output an indication control signal; wherein the protection start condition includes that the value of the airflow pressure is greater than a preset threshold; The cartridge detection module is used to detect whether a cartridge is plugged into the cartridge interface according to the detection control signal, and output a cartridge detection signal; if a cartridge is plugged into the cartridge interface, a high-level cartridge detection signal is output; if no cartridge is plugged into the cartridge interface, a low-level cartridge detection signal is output; the cartridge interface being plugged into a cartridge indicates that the user action generating the airflow pressure is a smoking action; the cartridge interface not being plugged into a cartridge indicates that the user action generating the airflow pressure is an action of plugging and unplugging a cartridge; The indication driving module is used to control the indicator light to stop working or work normally according to the cigarette cartridge detection signal and the indication control signal.
4. The indicator light control circuit according to claim 3, characterized in that: The cigarette cartridge detection module comprises: A detection drive unit and a voltage comparison unit connected to each other, wherein the detection drive unit is connected to the cigarette cartridge interface, and the voltage comparison unit is respectively connected to the control module and the indication drive module; The detection drive unit is used to control the current flow and output a voltage signal according to whether the cigarette cartridge interface is connected to a cigarette cartridge; The voltage comparison unit is used to compare the voltage signal according to the detection control signal and output a cigarette cartridge detection signal.
5. The indicator light control circuit according to claim 4, characterized in that: The detection driving unit includes a driver U1 and a field effect transistor Q1; The driver U1 is connected to the gate of the field effect tube Q1, the source of the field effect tube Q1 is connected to the working voltage VDD and the voltage comparison unit respectively, the drain is connected to the voltage comparison unit and the cigarette cartridge interface VOUT respectively, and the cigarette cartridge interface VOUT is connected to the heating wire RL of the cigarette cartridge; The voltage comparison unit includes a comparator U2; The input end of the comparator U2 is connected to the detection driving unit, the enabling end is connected to the control module, and the output end is connected to the indication driving module.
6. The indicator light control circuit according to claim 3, characterized in that: The indication driving module comprises: A logic processing unit, a current amplifying unit and a voltage stabilizing protection unit connected in sequence, wherein the logic processing unit is connected to the cigarette cartridge detection module and the control module respectively, and the current amplifying unit is connected to the indicator light; The logic processing unit is used to perform logic processing on the received cigarette cartridge detection signal and the indication control signal, control the circuit to be turned on or off, so as to control the indicator light to work normally or stop working, and output a reference current when the circuit is turned on; The current amplification unit is used to amplify the reference current and output a driving current to light up the indicator light; The voltage stabilization protection unit is used to provide voltage stabilization protection for the indicator light.
7. The indicator light control circuit according to claim 6, characterized in that: The logic processing unit includes a logic processor U3; The first input end of the logic processor U3 is connected to the cigarette cartridge detection module, the second input end is connected to the control module, the first output end is connected to the current amplification unit, and the second output end is grounded; The current amplification unit includes a field effect transistor Q2, a field effect transistor Q3 and a resistor R1; The drain of the field effect transistor Q2 is connected to the logic processing unit, the source is connected to the working voltage VDD, the gate is connected to the gate of the field effect transistor Q3, the source of the field effect transistor Q3 is connected to the working voltage VDD, the drain is connected to one end of the resistor R1, and the other end of the resistor R1 is respectively connected to the voltage stabilizing protection unit and the indicator LED1; The voltage stabilizing protection unit includes a resistor R2 and a transistor Q4; One end of the resistor R2 is connected to the current amplifying unit, and the other end is connected to the collector of the transistor Q4. The base of the transistor Q4 is vacant, and the emitter is grounded.
8. The indicator light control circuit according to claim 6, characterized in that: The indication driving module also includes: A brightness adjustment unit connected to the logic processing unit; The brightness adjustment unit is used to adjust the brightness of the indicator light by adjusting the current in the circuit; The brightness adjustment unit includes an LED step current controller U4 and an LED DC current controller U5; The LED step current controller U4 and the LED DC current controller U5 are respectively connected to the logic processing unit.
9. An electronic cigarette device, characterized in that: The device comprises: A housing, wherein the housing has a pipe therein, and the housing is further provided with a cigarette cartridge interface connected to the pipe, wherein the cigarette cartridge interface is used to plug in the cigarette cartridge; An indicator light, the indicator light being arranged on the housing; an airflow sensor, the airflow sensor being disposed in the pipeline; A control circuit board, the control circuit board is arranged in the housing, and the control circuit board is respectively connected to the airflow sensor, the cigarette cartridge interface and the indicator light; Wherein, the control circuit board is provided with an indicator light control circuit as claimed in any one of claims 3 to 8.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: The computer program can be executed by one or more processors to implement the indicator light control method as claimed in claim 1 or 2.
