Electronic cigarette device and control method thereof
By using a touch chip instead of ASIC chip in electronic cigarettes, detecting the capacitance changes of the empty micrometer and controlling the atomizer status, the problem of misstarting start or shutdown in the prior art is solved, the detection reliability is improved and cost and power consumption is reduced. .
Patent Information
- Application Number
- CN202411118173.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-15
- Publication Date
- 2024-12-13
- Estimated Expiration
- 2044-08-15
AI Technical Summary
Existing electronic cigarettes are controlled by switching air and ASIC chips to start and stop, which is prone to error startup or shutdown.
A touch chip is used instead of the ASIC chip inside the switch air meter. The capacitance change detection of the air meter is completed through the touch chip, and a corresponding level signal is sent to the main control chip to control the on or off state of the electronic cigarette.
It improves the reliability of capacitance detection, avoids the misstart or shutdown problems caused by temperature drift and oil leakage, reduces cost and power consumption, and achieves accurate control of different smoke levels.
Smart Images

Figure CN118642419B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of electronic cigarettes, and in particular to an electronic cigarette device and a control method thereof. Background Art
[0002] The technology of electronic cigarettes has developed very fast, from simple disposable electronic cigarettes to electronic cigarettes with display functions. Electronic cigarettes with display functions have changed from black and white digital displays to color TFT (Thin Film Transistor) displays, and from display functions to display and touch functions, usually through touch screens. Electronic cigarettes with touch screens can not only intuitively display the real-time information of users using electronic cigarettes, such as the amount of e-liquid, power, number of inhalations, smoking mode, smoke volume, etc., but also set parameters and select smoking modes through the touch screen, so that users can understand the status of electronic cigarettes.
[0003] At present, electronic cigarettes with display functions usually use switch microphones to detect users' smoking. The switch microphone is an airflow control switch, such as Figure 1 As shown, the suction work of the electronic cigarette is generally realized through the ASIC (Application Specific Integrated Circuit) chip U2. When the user inhales into the mouthpiece, the airflow enters the air microphone MIC1 of the switch microphone through the air inhalation channel of the electronic cigarette, causing the capacitance of the air microphone MIC1 to change accordingly, and the ASIC chip U2 recognizes and processes it and outputs a control signal, thereby controlling the electric heating wire to heat the oil in the cigarette cartridge to emit smoke, thereby realizing the start and stop of the electronic cigarette.
[0004] The switch microphone generally uses a fixed capacitance reference value to compare with the current capacitance value, and the comparison value is detected by the ASIC chip and further works. However, the heating wire of the electronic cigarette will produce high-temperature smoke oil during the heating process, and the smoke oil will be atomized, causing the capacitance detection of the switch microphone to drift. In addition, the leakage of oil and water during the use of the electronic cigarette will lead to inaccurate capacitance detection results, causing the electronic cigarette to start or shut down by mistake.
[0005] In the process of implementing the present invention, the inventors found that there are at least the following problems in the prior art:
[0006] Existing electronic cigarettes use a switch microphone and an ASIC chip to control start and stop, which can easily lead to problems of false start or shutdown. Summary of the invention
[0007] The purpose of the present invention is to provide an electronic cigarette device and a control method thereof, so as to solve the technical problem that the existing electronic cigarette in the prior art is easy to be started or shut down by mistake by cooperating with the switch microphone and the ASIC chip to start and stop. The preferred technical solutions among the many technical solutions provided by the present invention can produce many technical effects as described below.
[0008] To achieve the above object, the present invention provides the following technical solutions:
[0009] An electronic cigarette device provided by the present invention comprises a main control chip, a touch chip, N air microphones and N atomizers, N≥1; one end of each of the air microphones is connected to a target touch channel pin of the touch chip, and the other end is grounded; the N air microphones are arranged in one-to-one correspondence with the N atomizers;
[0010] The touch chip is used to obtain the capacitance change value of the empty microphone in each of the empty microphones, obtain the level signal of the empty microphone according to the first capacitance change value of the empty microphone, and send the level signal of the empty microphone to the main control chip; the capacitance change value of the empty microphone is the capacitance change amount of the empty microphone within a set time;
[0011] The main control chip is used to obtain the level signal of the air microphone in each of the air microphones, and then control the atomizer corresponding to the air microphone to be in an on state or a off state according to the level signal of the air microphone; wherein the on state is a state in which the atomizer generates smoke, and the off state is a state in which the atomizer does not generate smoke; the touch chip is connected to the main control chip through M GPIO pins of the touch chip, N≥M≥1; the touch chip sends the level signal of the air microphone to the main control chip through the GPIO pins; the electronic cigarette device also includes a touch screen, and the touch screen is connected to the touch chip through the non-target touch channel pin of the touch chip; the touch chip includes a self-capacitance detection circuit, and the self-capacitance detection circuit is connected to the air microphone through the target touch channel pin to obtain the capacitance change value of the air microphone.
[0012] Optionally, in the case that the touch chip has only one GPIO pin, the touch chip further includes N registers, the N registers are arranged in one-to-one correspondence with the N space microphones, and the N registers are respectively used to store information of the corresponding space microphones.
[0013] Optionally, when the touch chip has N GPIO pins, the N GPIO pins of the touch chip are set in a one-to-one correspondence with the N space microphones; and the main control chip receives the level signal of the space microphone corresponding to the GPIO pin through the GPIO pin.
[0014] A control method of an electronic cigarette device, applied to an electronic cigarette device as described in any one of the above items, comprises the following steps:
[0015] In each empty microphone of the electronic cigarette device, a capacitance change value of the empty microphone is obtained by a touch chip, and then a level signal of the empty microphone is obtained according to the capacitance change value; the capacitance change value of the empty microphone is the capacitance change amount of the empty microphone within a set time;
[0016] According to the level signal of the air microphone, the atomizer corresponding to the air microphone is controlled to be in an on state or a off state; wherein the on state is a state in which the atomizer generates smoke, and the off state is a state in which the atomizer does not generate smoke.
[0017] Optionally, controlling an atomizer corresponding to the air microphone to be in an on state or a off state according to the level signal of the air microphone includes:
[0018] If the capacitance change value of the air microphone is not less than the upper threshold, the high level signal of the GPIO pin of the touch chip is read, and the atomizer corresponding to the air microphone is controlled to be in an on state;
[0019] If the capacitance change value of the air microphone is less than the lower threshold, the low level signal of the GPIO pin of the touch chip is read, and the atomizer corresponding to the air microphone is controlled to be in a closed state.
[0020] Optionally, after acquiring the capacitance change value of the space microphone through the touch chip, the method further includes:
[0021] If the capacitance change value of the air microphone is between the upper threshold and the first level threshold, the high level signal of the GPIO pin of the touch chip and the first smoke level corresponding to the capacitance change value are read, and the atomizer corresponding to the air microphone is controlled to be in an on state and in a first smoke level state, where the first smoke level state is a state where the atomizer generates a first set amount of smoke;
[0022] If the capacitance change value of the air microphone is between the first level threshold and the second level threshold, the high level signal of the GPIO pin of the touch chip and the second smoke level corresponding to the capacitance change value are read, and the atomizer corresponding to the air microphone is controlled to be in an on state and in a second smoke level state, where the second smoke level state is a state where the atomizer generates a second set amount of smoke;
[0023] If the capacitance change value of the air microphone is greater than the second level threshold, the high level signal of the GPIO pin of the touch chip and the third smoke volume level corresponding to the capacitance change value are read, and the atomizer corresponding to the air microphone is controlled to be in an on state and in a third smoke volume level state, where the third smoke volume level state is a state where the atomizer generates a third set amount of smoke;
[0024] The third setting amount is greater than the second setting amount, and the second setting amount is greater than the first setting amount.
[0025] Optionally, after acquiring the capacitance change value of the space microphone through the touch chip, the method further includes:
[0026] Obtaining a capacitance change waveform curve of the empty microphone;
[0027] If the capacitance change value of the air microphone is within the corresponding threshold range, and the capacitance change waveform curve is a smooth curve, a high level signal of the GPIO pin of the touch chip is read, and the atomizer corresponding to the air microphone is controlled to be in a corresponding state;
[0028] If the capacitance change value of the empty microphone is within the corresponding threshold range, and the capacitance change waveform curve is a rough curve, the capacitance change value of the empty microphone obtained by the touch chip is ignored.
[0029] Optionally, after obtaining the capacitance change value of the air microphone through the touch chip of the electronic cigarette device, the method further includes:
[0030] Acquire a capacitance detection value of the empty microphone within a detection time, the detection time being greater than the set time, and the capacitance detection value being a capacitance change of the empty microphone within the detection time;
[0031] If the difference between the capacitance detection value and the capacitance variation is within the interference threshold range, the capacitance detection value of the empty microphone obtained by the touch chip is ignored.
[0032] Implementing one of the above technical solutions of the present invention has the following advantages or beneficial effects:
[0033] The present invention utilizes a touch chip in an electronic cigarette touch screen with a touch function to replace an ASIC chip inside a switch microphone, completes the detection of capacitance changes of an air microphone through the touch chip, and sends a corresponding level signal to a main control chip, so that the main control chip controls the opening or closing of the electronic cigarette; the reliability of using the touch chip to detect the capacitance changes of the air microphone is higher, and the capacitance detection range of the touch chip is large, allowing the capacitance value of the air microphone to change slowly within a certain range, that is, when the capacitance value of the air microphone changes due to external environmental factors such as temperature drift or oil or water leakage, the touch chip will not trigger the touch chip to send a level signal to the main control chip, thereby avoiding the problem of false start or shutdown of the electronic cigarette; and the ASIC chip in the switch microphone is omitted, and the detection of the air microphone is completed through the existing touch chip, which can greatly save the cost of the electronic cigarette product and reduce the power consumption of the whole machine. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. It is obvious that the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work. In the drawings:
[0035] Figure 1 It is a schematic diagram of the circuit structure of the existing switch microphone of the present invention;
[0036] Figure 2 is a schematic diagram of the overall structure of an electronic cigarette device according to a first embodiment of the present invention;
[0037] Figure 3 1 is a schematic diagram of the circuit structure of a touch chip and an air microphone according to a first embodiment of the present invention;
[0038] Figure 4 1 is a schematic diagram of the circuit structure of a self-capacitance detection circuit according to a first embodiment of the present invention;
[0039] Figure 5 is a first equivalent circuit diagram of a self-capacitance detection circuit according to a first embodiment of the present invention;
[0040] Figure 6 is a second equivalent circuit diagram of the self-capacitance detection circuit of Embodiment 1 of the present invention;
[0041] Figure 7 is a flow chart of a method for controlling an electronic cigarette device according to a second embodiment of the present invention;
[0042] Figure 8 This is the first waveform diagram of the change of the space microphone capacitance in the third embodiment of the present invention;
[0043] Fig. 9 1 is a second waveform diagram of the change of the space microphone capacitance according to the third embodiment of the present invention. DETAILED DESCRIPTION
[0044] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, various exemplary embodiments to be described below will refer to the corresponding drawings, which constitute a part of the exemplary embodiments, wherein various exemplary embodiments that may be used to implement the present invention are described. Unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure.
[0045] In the description of the present invention, it should be understood that the terms "center", "longitudinal", "lateral", etc. indicate the orientation or positional relationship based on the drawings, which is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the elements referred to must have a specific orientation, be constructed and operated in a specific orientation. The terms "first", "second", etc. are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. The term "multiple" means two or more. The terms "connected" and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, an integral connection, a mechanical connection, an electrical connection, a communication connection, a direct connection, an indirect connection through an intermediate medium, and can be the internal connection of two elements or the interaction relationship between two elements. The term "and / or" includes any and all combinations of one or more related listed items. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to the specific circumstances.
[0046] In order to illustrate the technical solution of the present invention, a specific embodiment is used below for description, and only the parts related to the embodiment of the present invention are shown.
[0047] Embodiment 1:
[0048] like Figure 2 As shown, the present invention provides an electronic cigarette device, including a main control chip, a touch chip, N air microphones and N atomizers, N≥1; one end of each air microphone is connected to the target touch channel pin of the touch chip, and the other end is grounded; the N air microphones are arranged in a one-to-one correspondence with the N atomizers; the touch chip is used to obtain the capacitance change value of the air microphone in each air microphone, and then obtain the level signal of the air microphone according to the first capacitance change value of the air microphone, and send the level signal of the air microphone to the main control chip; the capacitance change value of the air microphone is the capacitance change amount of the air microphone within a set time; the main control chip is used to obtain the level signal of the air microphone in each air microphone, and then control the atomizer corresponding to the air microphone to be in an on state or a off state according to the level signal of the air microphone; wherein the on state is a state in which the atomizer generates smoke, and the off state is a state in which the atomizer does not generate smoke.
[0049] In this embodiment, the touch chip in the electronic cigarette touch screen with touch function is used to replace the ASIC chip inside the switch microphone. The touch chip completes the detection of the capacitance change of the air microphone and sends the corresponding level signal to the main control chip, so that the main control chip controls the opening or closing of the electronic cigarette. The reliability of using the touch chip to detect the capacitance change of the air microphone is higher. The capacitance detection range of the touch chip is large, and the capacitance value of the air microphone is allowed to change slowly within a certain range. That is, when the change of the capacitance value of the air microphone caused by external environmental factors such as temperature drift or oil leakage and water leakage occurs, it will not trigger the touch chip to send a level signal to the main control chip, thereby avoiding the problem of false start or shutdown of the electronic cigarette. In addition, the ASIC chip in the switch microphone is omitted, and the detection of the air microphone is completed by the existing touch chip, which can greatly save the cost of electronic cigarette products and reduce the power consumption of the whole machine.
[0050] As an alternative embodiment, Figure 3 As shown, the touch chip is connected to the main control chip through M GPIO pins of the touch chip, N≥M≥1; the touch chip sends the level signal of the empty microphone to the main control chip through the GPIO pin. One or more GPIO pins are specially designed for the touch chip to send the level signal of the empty microphone to the main control chip, so that it has the same output function as the switch microphone with an ASIC chip. Even if the ASIC chip is omitted, the main control chip can control the smoke generator according to its output, thereby reducing the cost of the electronic cigarette device. It can also realize the switching of different flavors when using an electronic cigarette. For example, the electronic cigarette includes N flavors of cigarette cartridges, corresponding to which are N empty microphones and N atomizers. The main control chip controls the atomizer corresponding to the empty microphone when it receives the level signal of the empty microphone, thereby realizing that a plurality of different flavors can be switched using one electronic cigarette.
[0051] Specifically, in the case where the touch chip has only one GPIO pin, the touch chip also includes N registers, and the N registers are set in one-to-one correspondence with the N empty microphones. The N registers are respectively used to store the information of the corresponding empty microphones, so that the main control chip can read the information of the empty microphone in a register through the I2C bus, thereby controlling the smoke machine corresponding to the empty microphone corresponding to the register to be in an open state or a closed state. The information of the empty microphone stored in the memory includes the capacitance change value of the corresponding empty microphone, the smoke volume level corresponding to the capacitance change value, the capacitance change waveform corresponding to the capacitance change value, and the number of the atomizer corresponding to the empty microphone. For example, set the No. 1 empty microphone to correspond to the No. 1 register and also to the No. 1 atomizer. When the touch chip detects the No. 1 empty microphone and stores the detected empty microphone information in the No. 1 register, a level signal is sent to the main control chip through the GPIO pin. The main control chip receives the level signal and reads the information of the empty microphone in the No. 1 register, thereby controlling the No. 1 atomizer to be in an open state or a closed state. By setting multiple registers to store the information of the corresponding empty microphones, the control of multiple smoke machines is realized without changing the hardware structure of the touch chip, thereby reducing costs.
[0052] In the case where the touch chip has N GPIO pins, the N GPIO pins of the touch chip are set in one-to-one correspondence with the N empty microphones; the main control chip receives the level signal of the empty microphone corresponding to the GPIO pin through the GPIO pin. For example, set the No. 1 empty microphone to correspond to the No. 1 GPIO pin, and also to the No. 1 atomizer. If the main control chip receives the level signal of the empty microphone through the No. 1 GPIO pin, the No. 1 atomizer is controlled to be in the on state or the off state. By setting multiple GPIO pins, multiple foggers can be controlled without modifying the software, thereby reducing power consumption.
[0053] When the touch chip has A GPIO pins, N>A>1, the A GPIO pins of the touch chip are set in one-to-one correspondence with the A empty microphones; the touch chip includes NA registers, and the NA registers are set in one-to-one correspondence with the remaining NA empty microphones; the main control chip can control the atomizer corresponding to the empty microphone by receiving the level signal of the GPIO pin corresponding to the empty microphone, and can also control the atomizer corresponding to the empty microphone by reading the information of the corresponding empty microphone in the register.
[0054] As an optional embodiment, the electronic cigarette device further includes a touch screen, which touches the non-target touch channel pins (such as Figure 3 In the example, the pins 2 to 13 of the touch chip U1 are connected to the touch chip; the touch chip includes a self-capacitance detection circuit, which detects the touch channel pins (such as Figure 3In the embodiment, the pin 14 of the touch chip U1 is connected to an empty microphone to obtain the capacitance change value of the empty microphone. The self-capacitance detection circuit is connected to the touch screen through the non-target touch channel pin to detect the self-capacitance of the touch screen. Therefore, the touch chip can not only realize the touch function of the electronic cigarette, but also replace the switch microphone in the traditional technology and realize the function of the switch microphone.
[0055] Specifically, Figure 4 As shown, the self-capacitance detection circuit includes: an operational amplifier Amp, a reference capacitor Cb, a feedback capacitor Cf, a first switch and a second switch; the reverse input terminal of the operational amplifier Amp is connected to the capacitor of the air microphone through the second switch, and the positive input terminal is connected to the reference voltage; one end of the reference capacitor Cb is connected to the positive input terminal and the reverse input terminal of the operational amplifier Amp through the first switch and the second switch, respectively, and the other end is connected to the ground and the reference voltage through the first switch and the second switch, respectively; the feedback capacitor Cf is connected in parallel to the reverse input terminal and the output terminal of the operational amplifier Amp. The air microphone is mainly composed of a diaphragm and a back plate. When there is negative pressure suction, the distance between the diaphragm and the back plate becomes smaller, thereby causing the capacitance between the two to change. The self-capacitance detection circuit determines whether there is a person smoking by detecting this capacitance change. The capacitance detection of the air microphone can be performed without the ASIC chip, reducing the cost of the electronic cigarette device.
[0056] Specifically, the first switch includes switch p1, switch p2, switch p3 and switch p4; the second switch includes switch k1, switch k2 and switch k3; the capacitance of the empty microphone is grounded through switch p1; one end of the reference capacitor Cb is connected to the positive input terminal and the reverse input terminal of the operational amplifier Amp through switch p2 and switch k3, respectively, and the other end is connected to the ground and the reference voltage through switch p3 and switch k1, respectively; the reverse input terminal of the operational amplifier Amp is connected to the self-capacitance of the empty microphone through switch k3 and switch k2 in turn; switch p4 is connected in parallel with the feedback capacitor Cf.
[0057] The self-capacitance detection circuit also includes a channel switch SW; the self-capacitance detection circuit is connected to the touch screens of N empty microphones through the channel switch SW, respectively, and is used to turn on the capacitance detection of the N empty microphones and the self-capacitance detection of the touch screen. The channel switch SW controls the on-off of each target touch channel pin and the non-target touch channel pin with the capacitance of the empty microphone and the capacitance of the touch screen, respectively, so as to turn on or off the corresponding capacitance detection. Through the circuit design of this embodiment, not only the normal touch capacitance detection of the touch chip can be realized, but also the capacitance detection of the empty microphone can be realized, thereby realizing the control of the start and stop of the electronic cigarette.
[0058] The working principle of the capacitance detection using the self-capacitance detection circuit is as follows: first, turn on the channel switch SW corresponding to the empty microphone to connect the capacitance CS of the empty microphone to the circuit; then control the first switch to be turned on (i.e., switch p1, switch p2, switch p3 and switch p4), and the second switch (i.e., switch k1, switch k2 and switch k3) to be turned off, and the following is obtained: Figure 5 The equivalent circuit shown in FIG. 1 is to charge the reference capacitor Cb. The output voltage of the operational amplifier Amp is Vo1. The charge amount of the reference capacitor Cb can be obtained as Q1=Vref*Cb. Then the first switch is controlled to be turned off and the second switch is turned on. Figure 6 The equivalent circuit shown in the figure has the capacitor Cs of the microphone connected to it. The output voltage of the operational amplifier Amp is Vo2. The total charge of the capacitor Cs of the microphone and the feedback capacitor Cf can be obtained as Q2=Vref*Cs+(Vref-Vo2)*Cf. Since the charges in the two equivalent circuits are equal, Q1=Q2, that is, Vref*Cb=Vref*Cs+(Vref-Vo2)*Cf, and thus Cs= , in this formula, is the feedback capacitor, is the reference capacitance, is the reference voltage, is the output voltage of the operational amplifier Amp, which can be read by the analog-to-digital converter. These parameters are all known quantities, so the capacitance value of the space microphone capacitor Cs at this time can be calculated, that is, the space microphone capacitance value of the space microphone.
[0059] The reliability of using a touch chip to detect the capacitance change of an empty microphone is higher. The capacitance detection of the ASIC chip of a traditional switch microphone is to convert the capacitance change into a frequency change, and then obtain the capacitance change of the empty microphone by detecting the frequency. Due to the limitations of factors such as cost and power consumption, frequency detection is not stable, and it is not easy to optimize the frequency data, resulting in poor consistency of the data obtained by the capacitance detection of the ASIC chip. The touch chip of this embodiment converts the capacitance change into a voltage change, and then converts it into a digital signal through a high-precision analog-to-digital converter, and then sets an analog filter and a digital FIR filter in the touch chip (such as a mean algorithm, a de-jitter algorithm, or a temperature drift algorithm, etc., can be set for filtering) to filter the voltage, thereby removing the capacitance change of the empty microphone caused by environmental interference, and the obtained capacitance detection result is more reliable.
[0060] The electronic cigarette device of this embodiment also includes a power control module, a sampling module, a storage chip and a display screen; the main control chip controls the amount of smoke generated by the atomizer through the power control module; the sampling module collects the resistance data of the atomizer and transmits it to the main control chip, and the main control chip detects whether the atomizer is working properly based on the resistance data; the storage chip is used to store the empty microphone capacitance value of the empty microphone. The sampling module uses the resistance data of the atomizer in real time. Once the resistance is abnormal, the main control chip immediately cuts off the power supply of the atomizer to stop it from working to avoid safety hazards. The display screen is used to display electronic cigarette information.
[0061] The air microphone is a MEMS air microphone or an electret air microphone. Both MEMS air microphone and electret air microphone have the characteristics of high stability, high temperature resistance and low price, which can improve the stability of the electronic cigarette air microphone and reduce the cost.
[0062] The embodiment is only a specific example and does not represent only one implementation mode of the present invention.
[0063] Embodiment 2:
[0064] The difference between the second embodiment and the first embodiment is that: a control method of an electronic cigarette device is applied to an electronic cigarette device as in the first embodiment, such as Figure 7 As shown, the following steps are included: S1, in each empty microphone of the electronic cigarette device, the capacitance change value of the empty microphone is obtained through the touch chip, and then the level signal of the empty microphone is obtained according to the capacitance change value; the capacitance change value of the empty microphone is the capacitance change amount of the empty microphone within the set time; S2, according to the level signal of the empty microphone, the atomizer corresponding to the empty microphone is controlled to be in the on state or the off state; wherein the on state is the state in which the atomizer produces smoke, and the off state is the state in which the atomizer does not produce smoke. This embodiment is applied to the electronic cigarette device provided in the first embodiment to realize the control of the start and stop of the electronic cigarette, and the capacitance change amount of the empty microphone is detected by the touch chip, and the corresponding level signal is sent to the main control chip according to the capacitance change amount of the empty microphone, so as to realize precise control and improve the user experience.
[0065] Specifically, according to the level signal of the air microphone, the atomizer corresponding to the air microphone is controlled to be in an on state or an off state, including: if the capacitance change value of the air microphone is not less than the upper threshold value, the high level signal of the GPIO pin of the touch chip is read, and the atomizer corresponding to the air microphone is controlled to be in an on state; if the capacitance change value of the air microphone is less than the lower threshold value, the low level signal of the GPIO pin of the touch chip is read, and the atomizer corresponding to the air microphone is controlled to be in an off state. For example, the upper threshold is set to 2000, the lower threshold is set to 1500, and the time is set to 200ms. Preferably, the time is set to a very short period of time, so that it is possible to judge whether there is a smoking action at this time by the change in the capacitance of the empty microphone in a short time; when the capacitance change value of the empty microphone is detected to be greater than or equal to 2000, it means that there is a smoking action at this time, and the atomizer corresponding to the empty microphone is controlled to start producing smoke; if the capacitance change value of the empty microphone is detected to be less than 1500, since the capacitance change amount is large (greater than 2000) before this, if the capacitance change amount is detected to be smaller in a short time (i.e., reduced to less than 1500), it means that the smoking action has stopped at this time, and the atomizer corresponding to the empty microphone is controlled to stop producing smoke. Setting the upper threshold and the lower threshold to be unequal can avoid frequent opening or closing of the atomizer, which causes device abnormality.
[0066] Embodiment three:
[0067] The difference between the third embodiment and the above embodiments is that: on the basis of the start and stop control of the electronic cigarette in the second embodiment, the electronic cigarette can achieve diversified control of the amount of smoke generated by the electronic cigarette according to the suction force. The specific method is as follows:
[0068] After acquiring the capacitance change value of the air microphone through the touch chip, the method further includes: if the capacitance change value of the air microphone is between the upper threshold value and the first level threshold value, reading the high level signal of the GPIO pin of the touch chip and the first smoke volume level corresponding to the capacitance change value, and controlling the atomizer corresponding to the air microphone to be in an on state and in a first smoke volume level state, where the first smoke volume level state is a state where the atomizer generates a first set amount of smoke;
[0069] If the capacitance change value of the air microphone is between the first level threshold and the second level threshold, the high level signal of the GPIO pin of the touch chip and the second smoke volume level corresponding to the capacitance change value are read, and the atomizer corresponding to the air microphone is controlled to be in the on state and in the second smoke volume level state, and the second smoke volume level state is the state in which the atomizer generates a second set amount of smoke;
[0070] If the capacitance change value of the air microphone is greater than the second level threshold, the high level signal of the GPIO pin of the touch chip and the third smoke volume level corresponding to the capacitance change value are read, and the atomizer corresponding to the air microphone is controlled to be in the on state and in the third smoke volume level state, and the third smoke volume level state is the state in which the atomizer produces a third set amount of smoke; wherein the third set amount is greater than the second set amount, and the second set amount is greater than the first set amount. Preferably, the smoke volume is divided into three levels according to the suction force, and the divided levels can be increased or decreased according to the actual situation.
[0071] The traditional switch air microphone with ASIC chip outputs two control signals according to the range of negative pressure change, which can only reflect the two states of inhalation and no inhalation, and cannot truly reflect the change in the suction force of the human mouth, that is, it can only realize the function of turning on or off the electronic cigarette atomizer. In this embodiment, the method of detection by the touch chip is used. The capacitance detection range of the touch chip is large (the capacitance value that can be detected is generally greater than 50pF, and the corresponding capacitance data is 0~32000), and the detection accuracy of capacitance change is high (generally 0.05pF). The capacitance of the air microphone is about 15pF. When the negative pressure suction force is -300Pa, the air microphone will produce a capacitance change of about 0.5pF. Under different negative pressure suction forces, the air microphone will produce different capacitance changes. Therefore, the actual capacitance value change of the air microphone can be accurately detected, thereby obtaining the actual suction force. The main control chip can control the current size of the heating wire according to the suction force to produce different smoke amounts, thereby improving the user's real use experience.
[0072] Specifically, the capacitance data of the empty microphone whose capacitance change is greater than the upper threshold is classified into suction level. If the capacitance change of the empty microphone is less than the upper threshold, it is classified as no suction; if the capacitance change of the empty microphone is between the upper threshold and the first level threshold, it is classified as light suction, corresponding to the first smoke volume level; if the capacitance change value of the empty microphone is between the first level threshold and the second level threshold, it is classified as normal suction, corresponding to the second smoke volume level; if the capacitance change value of the empty microphone is greater than the second level threshold, it is classified as heavy suction, corresponding to the third smoke volume level. And store this information in the register of the touch chip. When the main control chip receives a high-level signal, it reads this information in the register through the I2C bus, and controls the atomizer to produce a corresponding amount of smoke based on this information.
[0073] As shown in Table 1, this is a suction force classification table based on the capacitance change of the air microphone. The touch chip can detect a capacitance change of 50pF, and the corresponding capacitance data is 0~32000. The capacitance change data corresponding to the suction force of -300Pa is about 2000. Therefore, the upper threshold value can be set to 2000, and the data with a capacitance change greater than 2000 can be classified into suction force levels. For example, a capacitance change of less than 2000 is no suction, and a change of 2000~3000 is light suction (3000 is the first level threshold). Value), the capacitance change is 3000~5000 for normal suction (5000 is the second level threshold), and the capacitance change is greater than 5000 for heavy suction, etc. These suction levels are stored in the pre-set register of the touch chip. When the main control chip detects that the level output by the GPIO port of the touch chip is high (indicating that there is a smoking action), the suction level in this register can be read through the I2C interface between the main control chip and the touch chip, and then the heating wire is controlled to produce different amounts of smoke according to the suction level. In this way, the function of small suction and small smoke, and large suction and large smoke is realized to improve the user experience.
[0074]
[0075] Table 1 Classification of suction force
[0076] Embodiment 4:
[0077] The difference between the fourth embodiment and the above embodiments is that: on the basis of the second or third embodiment, the judgment of the waveform curve of the change of the air microphone capacitance is added to achieve more accurate control of the electronic cigarette. The specific method is as follows:
[0078] After obtaining the capacitance change value of the empty microphone through the touch chip, it also includes: obtaining the capacitance change waveform curve of the empty microphone; if the capacitance change value of the empty microphone is within the corresponding threshold range, and the capacitance change waveform curve is a smooth curve, then read the high-level signal of the GPIO pin of the touch chip, and control the atomizer corresponding to the empty microphone to be in the corresponding state; if the capacitance change value of the empty microphone is within the corresponding threshold range, and the capacitance change waveform curve is a non-smooth curve, then ignore the capacitance change value of the empty microphone obtained by the touch chip. Among them, a smooth curve means that there are tangents at each point of the curve, and these tangents rotate continuously with the movement of the tangent point, and visually appear as non-obtrusive and smooth lines without sharp turning points; ignoring the capacitance change value of the empty microphone obtained by the touch chip means that the touch chip deletes the capacitance change value of the empty microphone obtained this time, or the touch chip does not send the level signal of the empty microphone to the main control chip. In extreme environments (such as a large change in the power supply of the electronic cigarette in an instant, a high temperature instantaneous impact, etc.), interference from the external environment may also cause the empty microphone to produce a capacitance change exceeding the upper threshold within the set time, and at this time, it is also likely to cause the electronic cigarette to start by mistake. Therefore, the waveform curve of the empty microphone capacitance change is added for auxiliary judgment. If the curve is smooth, it means that the capacitance change is caused by the human smoking action, and the main control chip should control the atomizer to be in the corresponding state; if the curve is not smooth, it means that the capacitance change is caused by environmental interference, and the main control chip ignores the capacitance change value detected this time. By adding the capacitance change waveform curve, the influence of the environment can be overcome and precise control of the electronic cigarette can be achieved.
[0079] like Figure 8 As shown in the figure, the waveform curve of the capacitance change of the space microphone when a person smokes. In the figure, the horizontal axis is time T (ms), and the vertical axis is the capacitance change value CS (diff) of the space microphone. It can be seen intuitively from the figure that the curve is a flow line, not abrupt, and has no sharp turning points. Fig. 9 As shown in the figure, it is the capacitance change waveform curve of the empty microphone under environmental interference, y1 is the capacitance change waveform curve generated when the electronic cigarette power source changes by 10% in an instant, and y2 is the capacitance change waveform curve generated by the electronic cigarette under the instantaneous impact of high temperature. Both curves have a large capacitance change within the set time, but it is obvious that the curves are not smooth and there are multiple sharp turning points. The main control chip ignores the capacitance change value detected this time.
[0080] As an optional embodiment, if the capacitance change value of the empty microphone is not less than the upper threshold value, and the capacitance change waveform curve is a smooth curve, a high-level signal of the GPIO pin of the touch chip is received, and the atomizer corresponding to the empty microphone is controlled to be in an on state. If the first capacitance change value of the empty microphone is not less than the upper threshold value, and the capacitance change waveform curve is a rough curve, the first capacitance change value of the empty microphone obtained by the touch chip is ignored.
[0081] As an optional implementation, if the capacitance change value of the air microphone is between the upper threshold and the first level threshold, and the capacitance change waveform curve is a smooth curve, then the high-level signal of the GPIO pin of the touch chip and the first smoke volume level corresponding to the capacitance change value are read, and the atomizer corresponding to the air microphone is controlled to be in an on state and in a first smoke volume level state;
[0082] If the capacitance change value of the air microphone is between the first level threshold and the second level threshold, and the capacitance change waveform curve is a smooth curve, then read the high level signal of the GPIO pin of the touch chip and the second smoke volume level corresponding to the capacitance change value, and control the atomizer corresponding to the air microphone to be in the on state and in the second smoke volume level state;
[0083] If the capacitance change value of the air microphone is greater than the second level threshold, and the capacitance change waveform curve is a smooth curve, then read the high level signal of the GPIO pin of the touch chip and the third smoke volume level corresponding to the capacitance change value, and control the atomizer corresponding to the air microphone to be in the on state and in the third smoke volume level state;
[0084] If the capacitance change value of the empty microphone is between the upper threshold and the first level threshold, or between the first level threshold and the second level threshold, or greater than the second level threshold, but the capacitance change waveform curve is not a smooth curve, the first capacitance change value of the empty microphone obtained by the touch chip is ignored.
[0085] The traditional switch microphone with ASIC chip has a small detection range for capacitance and is easily disturbed by environmental factors such as temperature drift. The capacitance change caused by environmental changes is generally within 0.3pF, which will cause the capacitance data to change slowly within 1000, making the electronic cigarette easily mistriggered due to environmental changes; the traditional switch microphone reduces interference by calibrating the reference value. It is necessary to detect the reference capacitance of the switch microphone when power is turned on, and store the capacitance data as a reference value. It is necessary to regularly detect the capacitance of the switch microphone. When a slight change in the capacitance is detected, the stored reference value is updated to avoid the influence of environmental changes. However, the algorithm needs to be calibrated every time the power is turned on, which is relatively complicated. Therefore, this embodiment sets a special algorithm to remove environmental interference, which is as follows:
[0086] After the capacitance change value of the empty microphone is obtained by the touch chip, the method further includes: obtaining the capacitance detection value of the empty microphone within the detection time, the detection time is greater than the set time, and the capacitance detection value is the capacitance change amount of the empty microphone within the detection time; if the difference between the capacitance detection value and the capacitance change amount is within the interference threshold range, then ignoring the capacitance detection value of the empty microphone obtained by the touch chip to avoid the influence of environmental factors and improve the judgment accuracy of the capacitance change amount. Among them, ignoring the capacitance detection value of the empty microphone obtained by the touch chip means that the touch chip deletes the capacitance detection value.
[0087] Take the capacitance change waveform of the air microphone as an example. Figure 8 As shown in the curve S1 in , the setting time is set to 200ms, the detection time is 240ms, the interference threshold range is [-1000, 1000], the capacitance change value of the space microphone at the setting time of 200ms is 2100, and the capacitance change value of the space microphone at the detection time of 240ms is 1600. The difference between the two is 2100-1600=500, and the difference falls within the interference threshold range [-1000, 1000]. This shows that the capacitance change of the space microphone from the setting time to the detection time does not change much. The slight change may be caused by environmental induction. Therefore, the capacitance detection value is ignored to remove environmental interference, and the level signal of the space microphone is not sent to the main control chip. The atomizer maintains the current state, which can save power consumption. If the setting time is set to 200ms, the detection time is 260ms, and the interference threshold range is [-1000, 1000], the capacitance change value of the space microphone at the setting time of 200ms is 2100, and the capacitance change value of the space microphone at the detection time of 240ms is 1000. The difference between the two is 2100-1000=1100. The difference is not within the interference threshold range [-1000, 1000], indicating that the capacitance change of the space microphone has changed significantly from the setting time to the detection time. Therefore, it is necessary to detect the capacitance change value at this time to determine whether the current state of the atomizer needs to be changed at this time. The above algorithm can eliminate the problem of false start of the electronic cigarette caused by environmental interference, and no calibration is required when powering on, which can achieve more accurate control of the electronic cigarette.
[0088] The above description is only the preferred embodiment of the present invention. It is known to those skilled in the art that various changes or equivalent substitutions may be made to these features and embodiments without departing from the spirit and scope of the present invention. In addition, under the teachings of the present invention, these features and embodiments may be modified to adapt to specific circumstances and materials without departing from the spirit and scope of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed herein, and all embodiments falling within the scope of the claims of this application belong to the protection scope of the present invention.
Claims
1. An electronic cigarette device, characterized in that: It includes a main control chip, a touch chip, N air microphones and N atomizers, N≥1; one end of each of the air microphones is connected to the target touch channel pin of the touch chip, and the other end is grounded; the N air microphones are arranged in one-to-one correspondence with the N atomizers; The touch chip is used to obtain the capacitance change value of the empty microphone in each of the empty microphones, obtain the level signal of the empty microphone according to the first capacitance change value of the empty microphone, and send the level signal of the empty microphone to the main control chip; The capacitance change value of the empty microphone is the capacitance change of the empty microphone within the set time; The main control chip is used to obtain the level signal of the air microphone in each of the air microphones, and then control the atomizer corresponding to the air microphone to be in an open state or a closed state according to the level signal of the air microphone; wherein the open state is a state in which the atomizer generates smoke, and the closed state is a state in which the atomizer does not generate smoke; The touch chip is connected to the main control chip through M GPIO pins of the touch chip, N≥M≥1; the touch chip sends the level signal of the space microphone to the main control chip through the GPIO pins; The electronic cigarette device also includes a touch screen, which is connected to the touch chip through a non-target touch channel pin of the touch chip; the touch chip includes a self-capacitance detection circuit, which is connected to the air microphone through the target touch channel pin to obtain a capacitance change value of the air microphone.
2. An electronic cigarette device according to claim 1, characterized in that: In the case that the touch chip has only one GPIO pin, the touch chip further includes N registers, the N registers are arranged in one-to-one correspondence with the N space microphones, and the N registers are respectively used to store information of the corresponding space microphones.
3. An electronic cigarette device according to claim 1, characterized in that: In the case where the touch chip has N GPIO pins, the N GPIO pins of the touch chip are set in one-to-one correspondence with the N space microphones; the main control chip receives the level signal of the space microphone corresponding to the GPIO pins through the GPIO pins.
4. A control method for an electronic cigarette device, characterized in that: An electronic cigarette device as claimed in any one of claims 1 to 3, comprising the following steps: In each empty microphone of the electronic cigarette device, a capacitance change value of the empty microphone is obtained by a touch chip, and then a level signal of the empty microphone is obtained according to the capacitance change value; the capacitance change value of the empty microphone is the capacitance change amount of the empty microphone within a set time; According to the level signal of the air microphone, the atomizer corresponding to the air microphone is controlled to be in an on state or a off state; wherein the on state is a state in which the atomizer generates smoke, and the off state is a state in which the atomizer does not generate smoke.
5. A control method for an electronic cigarette device according to claim 4, characterized in that: According to the level signal of the air microphone, controlling the atomizer corresponding to the air microphone to be in an on state or a off state comprises: If the capacitance change value of the air microphone is not less than the upper threshold, the high level signal of the GPIO pin of the touch chip is read, and the atomizer corresponding to the air microphone is controlled to be in an on state; If the capacitance change value of the air microphone is less than the lower threshold, the low level signal of the GPIO pin of the touch chip is read, and the atomizer corresponding to the air microphone is controlled to be in a closed state.
6. A control method for an electronic cigarette device according to claim 5, characterized in that: After acquiring the capacitance change value of the space microphone through the touch chip, the method further includes: If the capacitance change value of the air microphone is between the upper threshold and the first level threshold, the high level signal of the GPIO pin of the touch chip and the first smoke level corresponding to the capacitance change value are read, and the atomizer corresponding to the air microphone is controlled to be in an on state and in a first smoke level state, where the first smoke level state is a state where the atomizer generates a first set amount of smoke; If the capacitance change value of the air microphone is between the first level threshold and the second level threshold, the high level signal of the GPIO pin of the touch chip and the second smoke level corresponding to the capacitance change value are read, and the atomizer corresponding to the air microphone is controlled to be in an on state and in a second smoke level state, where the second smoke level state is a state where the atomizer generates a second set amount of smoke; If the capacitance change value of the air microphone is greater than the second level threshold, the high level signal of the GPIO pin of the touch chip and the third smoke volume level corresponding to the capacitance change value are read, and the atomizer corresponding to the air microphone is controlled to be in an on state and in a third smoke volume level state, where the third smoke volume level state is a state where the atomizer generates a third set amount of smoke; The third setting amount is greater than the second setting amount, and the second setting amount is greater than the first setting amount.
7. A control method for an electronic cigarette device according to any one of claims 4 to 6, characterized in that: After obtaining the capacitance change value of the space microphone through the touch chip, the method further includes: Obtaining a capacitance change waveform curve of the empty microphone; If the capacitance change value of the air microphone is within the corresponding threshold range, and the capacitance change waveform curve is a smooth curve, a high level signal of the GPIO pin of the touch chip is read, and the atomizer corresponding to the air microphone is controlled to be in a corresponding state; If the capacitance change value of the empty microphone is within the corresponding threshold range, and the capacitance change waveform curve is a rough curve, the capacitance change value of the empty microphone obtained by the touch chip is ignored.
8. The control method of an electronic cigarette device according to claim 7, characterized in that: After obtaining the capacitance change value of the air microphone through the touch chip of the electronic cigarette device, the method further includes: Acquire a capacitance detection value of the empty microphone within a detection time, the detection time being greater than the set time, and the capacitance detection value being a capacitance change of the empty microphone within the detection time; If the difference between the capacitance detection value and the capacitance variation is within the interference threshold range, the capacitance detection value of the empty microphone obtained by the touch chip is ignored.
Citation Information
Patent Citations
Electronic cigarette control method and electronic cigarette
CN105077590A
Electronic cigarette capable of automatically adjusting smoke amount
CN111035071A
Electronic cigarette capable of adjusting taste through touch
CN214156222U
Electronic cigarette capable of preheating atomizer
CN215736912U
Touch control electronic cigarette
US20150320114A1
