Electronic cigarette insertion identification system and method
Through the optical detection solution, the light signal reception of light-emitting tubes and photosensitive diodes is used to solve the problem of high misjudgment rate in the magnetic resistance contact identification method of rod-type electronic cigarettes, achieving more accurate electronic cigarette insertion identification and improving customer experience. .
Patent Information
- Application Number
- CN202410992841.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-23
- Publication Date
- 2024-10-01
AI Technical Summary
The existing magnetic resistance contact identification method of rod-type e-cigarettes has a high misjudgment rate and is affected by metal foreign matter and e-liquid residue, resulting in poor customer experience.
An optical detection scheme is adopted to determine whether the e-cigarette is inserted through the light signal reception of the light-emitting tube and the photosensitive diode, avoiding the use of magnetic resistance for judgment, thereby improving the accuracy of identification.
It achieves accurate identification of e-cigarette insertion, reduces the misjudgment rate, improves customer experience, and avoids the impact of metal foreign matter and e-liquid residue.
Smart Images

Figure CN118716692A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of electronic cigarettes, and in particular to an electronic cigarette insertion identification system and method. Background Art
[0002] For rod-type electronic cigarettes, there is a method for manually turning on the cigarette lighting and heating button identification, but the manual turning-on customer experience is poor, and the user needs to manually turn it on after inserting the electronic cigarette.
[0003] The magnetic resistance contact identification method solves the problem of poor customer experience. The electronic cigarette can be inserted, but the magnetic resistance contact method is affected by the entry of metal foreign matter, which affects the magnetic resistance value and causes misjudgment. In addition, the residual influence of smoke oil will affect the magnetic resistance value and cause misjudgment of objects.
[0004] Therefore, the existing rod-type electronic cigarette magnetic resistance contact recognition method has a high recognition misjudgment rate and needs to be improved. Summary of the invention
[0005] The object of the present invention is to provide an electronic cigarette insertion identification system and method to solve the problems raised in the above background technology.
[0006] To achieve the above object, the present invention provides the following technical solutions:
[0007] An electronic cigarette insertion identification system comprises a chip U1, wherein the model of the chip U1 is HX3918, wherein the pin No. 14 of the chip U1 is connected to a 3.3V voltage regulator source, the positive electrode of a light emitting tube IR1, and the positive electrode of a light emitting tube IR2 through a resistor R4, the negative electrode of the light emitting tube IR1 is connected to the negative electrode of the light emitting tube IR2, and the pin No. 3 of the chip U1, and the pins No. 8, 9, and 10 of the chip U1 are respectively connected to an SDA type pin, an SCL type pin, and a GPIO type pin of an MCU, the light emitting tube IR1 is located on the opposite side of the chip U1, and when there is no shielding, the light of the light emitting tube IR1 will irradiate the chip U1, and the light of the light emitting tube IR2 is located on the side of the chip U1, and when there is no shielding, the light of the light emitting tube IR2 cannot irradiate the chip U1; when the electronic cigarette is inserted, the light of the light emitting tube IR1 irradiating the corresponding photosensitive diode inside the chip U1 will be blocked, and the light of the light emitting tube IR2 will be reflected by the electronic cigarette to the corresponding photosensitive diode inside the chip U1.
[0008] As a further solution of the present invention: the input end of the 3.3V voltage-stabilized source is powered by a battery, and the battery power supply voltage is in the range of 3.3-4.6V.
[0009] An electronic cigarette insertion identification method comprises the following steps:
[0010] Step 1: Chip U1 sets the high and low thresholds IR1H and IR1L for the light-emitting diode IR1, and the high and low thresholds IR2H and IR2L for the light-emitting diode IR2. Chip U1 reads the corresponding readings RIR1 and RIR2 of the light-emitting diodes IR1 and IR2.
[0011] Step 2: Based on the magnitude relationships between RIR1 and the high and low thresholds IR1H and IR1L, and between RIR2 and the high and low thresholds IR2H and IR2L, the working state is determined. The working states include: high light or foreign object entry, foreign object blocking the optical path, cleaning brush rotation, and e-cigarette insertion.
[0012] Step 3: After the e-cigarette is inserted and the smoking action is started, when the main control CPU recognizes that the smoking temperature rises to 50 degrees, the optical system (chip U1 and the circuits of the light-emitting diodes IR1 and IR2) is turned off.
[0013] Step 4: After the optical system is turned off, when the main control CPU recognizes that the smoking temperature drops to 50 degrees, the optical system is turned on, and the values of RIR1 and RIR2 are read.
[0014] Step 5: Based on Step 4, if RIR1 < IR1L and RIR2 > IR2H, it is determined that the e-cigarette has not been removed, and the smoking action is not started, and this continues until RIR1 > IR1H.
[0015] Step 6: Based on Step 5, the optical sensor calibration is started to achieve RIR1 = IR1H (±5% deviation, RIR2 = 0).
[0016] As a further solution of the present invention: In Step 2, if RIR1 > IR1L, it is considered that high light or a foreign object has entered, the smoking action is not started, and the values of RIR1 and RIR2 are continuously obtained.
[0017] As a further solution of the present invention: In Step 2, if RIR1 < IR1L and RIR2 < IR2L, it is considered that the optical paths of IR1 and IR2 are blocked by a foreign object, the smoking action is not started and reported to the MCU, and the values of RIR1 and RIR2 are continuously obtained.
[0018] As a further solution of the present invention: In Step 2, if RIR1 produces a recognizable continuous change and the value includes IR1H and IR1L, it is determined that the cleaning brush is rotating, and the smoking action is not started.
[0019] As a further solution of the present invention: In Step 2, if RIR1 < IR1L and RIR2 > IR2H, it is determined that the e-cigarette is inserted, and the smoking action is started.
[0020] Compared with the prior art, the present invention has the following beneficial effects: the present invention uses an optical detection scheme to realize the insertion identification of a rod-type electronic cigarette, and completes the identification of whether the electronic cigarette is inserted by affecting the optical signal reception of the chip U1 after the electronic cigarette is inserted. It does not judge based on magnetic resistance, and will not be affected by metal foreign matter or residual smoke oil. It has high accuracy and is not prone to misjudgment. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] Figure 1 A circuit diagram of an electronic cigarette insertion identification system.
[0022] Figure 2 A schematic diagram of an electronic cigarette insertion identification method.
[0023] Figure 3 It is a schematic diagram of the light emission of the light emitting tubes IR1 and IR2. DETAILED DESCRIPTION
[0024] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0025] See also Figure 1 An electronic cigarette insertion identification system includes a chip U1, the model of the chip U1 is HX3918, the pin 14 of the chip U1 is connected to a 3.3V voltage regulator, the positive electrode of the light-emitting tube IR1, and the positive electrode of the light-emitting tube IR2 through a resistor R4, the negative electrode of the light-emitting tube IR1 is connected to the negative electrode of the light-emitting tube IR2, and the pin 3 of the chip U1, and the pins 8, 9, and 10 of the chip U1 are respectively connected to the SDA type pin, the SCL type pin, and the GPIO type pin of the MCU;
[0026] See also Figure 3 The light emitting tube IR1 is on the opposite side of the chip U1. When there is no shielding, the light of the light emitting tube IR1 will shine on the chip U1. The light emitting tube IR2 is located on the side of the chip U1. When there is no shielding, the light of the light emitting tube IR2 cannot shine on the chip U1. When the electronic cigarette is inserted, the light of the light emitting tube IR1 that shines on the corresponding photosensitive diode inside the chip U1 will be blocked, and the light of the light emitting tube IR2 will be reflected by the electronic cigarette to the corresponding photosensitive diode inside the chip U1.
[0027] In this example: See Figure 1 The input end of the 3.3V voltage regulator source is powered by a battery, and the battery power supply voltage is in the range of 3.3-4.6V.
[0028] Here, take the chip HX3918 as an example. Other chips can also be selected to replace chip U1. The chip HX3918 itself integrates a receiving photosensitive diode and 3 LED driving channels (pins 1, 2, and 3). The chip HX3918 drives the light-emitting diodes IR1 and IR2 according to a certain timing sequence, receives the light intensity signals of the light-emitting diodes IR1 and IR2, and judges the insert inside the chimney by judging the received signals, so as to correctly guide the cigarette lighting action.
[0029] Before the whole machine leaves the factory, calibrate the empty chimney in a dark environment, and set the high and low thresholds IR1H and IR1L of the light-emitting diode IR1, and the high and low thresholds IR2H and IR2L of the light-emitting diode IR2.
[0030] The chip HX3918 is driven according to a certain timing sequence. Here, the light-emitting diodes IR1 and IR2 are used for illustration. Normally, when the electronic cigarette is not inserted and the device is not affected, RIR1 is greater than IR1H, and RIR2 is less than IR2L.
[0031] When the electronic cigarette is not inserted, the read value RIR1 in the corresponding chip U1 is not affected. In a high-light state, it will affect the photosensitive diode inside the chip U1, making the values of RIR1 and RIR2 increase. When a small foreign object enters, it does not completely block the optical path of the light-emitting diode IR1, and the light emitted by the light-emitting diode IR1 will still shine into the receiving area. Therefore, if RIR1>IR1L, it is considered that there is high light or a foreign object enters, and the cigarette lighting action is not started, and the values of RIR1 and RIR2 are continuously obtained.
[0032] For the electronic cigarette, regardless of whether the electronic cigarette is inserted or not, the light emitted by the light-emitting diode IR2 will not be completely blocked. During use, when there is high light, a foreign object or an electronic cigarette enters, in the corresponding state, the read value RIR2 in the chip U1 will change and will not always be less than IR2L. Therefore, if RIR1<IR1L and RIR2<IR2L, it is considered that a foreign object blocks the optical paths of IR1 and IR2 (sticking to the surfaces of the light-emitting diodes IR1 and IR2, and the light is completely blocked. The main factor is that the residual e-liquid completely covers the light-emitting holes of IR1 and IR2), the cigarette lighting action is not started and reported to the MCU, and the values of RIR1 and RIR2 are continuously obtained.
[0033] Since the residual e-liquid will affect the user experience, a cleaning brush is set to clean the device. During this process, RIR1 produces a recognizable continuous change, and the value includes IR1H and IR1L, which is judged to be the rotation of the cleaning brush, and the cigarette lighting action is not started. (When placed normally, there will be no continuous data fluctuations and the value includes IR1H and IR1L. In a high-light situation, the data will always increase or always decrease).
[0034] When the electronic cigarette is inserted, it will block the light-emitting tube IR1 and reflect the light-emitting tube IR2, so RIR1 is very small, RIR2 will change and increase, and RIR1<IR1L、RIR2> IR2H, so if RIR1<IR1L,RIR2> IR2H, determines that the electronic cigarette is inserted and starts the cigarette lighting action.
[0035] In this example: See Figure 2 , an electronic cigarette insertion identification method, comprising the following steps:
[0036] Step 1, Step 1, chip U1 sets the high and low thresholds IR1H and IR1L of the light-emitting tube IR1, and the high and low thresholds IR2H and IR2L of the light-emitting tube IR2, and chip U1 reads the corresponding readings RIR1 and RIR2 of the light-emitting tube IR1 and IR2;
[0037] Step 2, based on the size relationship between RIR1 and the high and low thresholds IR1H and IR1L, and the size relationship between RIR2 and the high and low thresholds IR2H and IR2L, the working status is judged, and the working status includes: high light or foreign matter entering, foreign matter blocking the light path, cleaning brush rotating, and electronic cigarette inserted;
[0038] Step 3, after the electronic cigarette is inserted and the cigarette lighting action is turned on, when the main control CPU recognizes that the cigarette lighting temperature rises to 50 degrees, the optical system (chip U1 and light-emitting tube IR1, IR2 circuit) is turned off;
[0039] Step 4, after turning off the optical system, when the main control CPU recognizes that the cigarette lighting temperature drops to 50 degrees, it turns on the optical system and reads the RIR1 and RIR2 values;
[0040] Step 5: Based on Step 4, RIR1<IR1L,RIR2> IR2H, determines that the electronic cigarette is not unplugged, does not start the cigarette lighting action, and continues until RIR1>IR1H (the electronic cigarette is unplugged at this time);
[0041] Step 6: Based on step 5, start optical sensor calibration to achieve RIR1=IR1H (±5% deviation, RIR2=0).
[0042] The light-emitting tube IR1 directly irradiates the receiving area of the chip U1, and the light-emitting tube IR2 emits light to the receiving area of the chip U1 by irradiating the object in front. When the chimney is empty, the light-emitting tube IR1 directly irradiates U1, and the light-emitting tube IR2 does not emit light to the chip U1, so RIR1=IR1H, RIR2=0.
[0043] In this example: See Figure 2 ,In step 2, if RIR1>IR1L, it is considered that high light or foreign matter has entered, the cigarette lighting action is not started, and the RIR1 and RIR2 values are continuously obtained.
[0044] In this embodiment: Please refer to Figure 2 , in step 2, if RIR1 < IR1L and RIR2 < IR2L, it is considered that foreign objects block the optical paths of IR1 and IR2, the lighting action is not started and reported to the MCU, and the values of RIR1 and RIR2 are continuously obtained.
[0045] In this embodiment: Please refer to Figure 2 , in step 2, if RIR1 generates recognizable continuous changes and the values include IR1H and IR1L, it is determined that the cleaning brush rotates and the lighting action is not started.
[0046] In this embodiment: Please refer to Figure 2 , in step 2, if RIR1 < IR1L and RIR2 > IR2H, it is determined that the electronic cigarette is inserted and the lighting action is started.
[0047] The present invention uses an optical detection scheme to realize the recognition of the insertion of a rod-shaped electronic cigarette. By affecting the optical signal reception of chip U1 after the insertion of the electronic cigarette, the recognition of whether the electronic cigarette is inserted is completed. It does not judge according to the magnetoresistance and is not affected by metal foreign objects and residual e-liquid, with high accuracy and not easy to misjudge.
[0048] For those skilled in the art, it is obvious that the present invention is not limited to the details of the above exemplary embodiments, and can be implemented in other specific forms without departing from the spirit or basic characteristics of the present invention. Therefore, from any point of view, the embodiments should be regarded as exemplary and non-limiting.
[0049] In addition, it should be understood that although this specification is described according to the embodiments, not every embodiment only contains an independent technical solution. This narrative way of the specification is only for clarity. Those skilled in the art should regard the specification as a whole, and the technical solutions in each embodiment can also be appropriately combined to form other embodiments that can be understood by those skilled in the art.
Claims
1. An electronic cigarette insertion identification system, characterized in that: The electronic cigarette insertion recognition system includes a chip U1, whose model is HX3918. The 14th pin of the chip U1 is connected to a 3.3V voltage regulator source, the positive electrode of the light-emitting diode IR1, and the positive electrode of the light-emitting diode IR2 through a resistor R4. The negative electrode of the light-emitting diode IR1 is connected to the negative electrode of the light-emitting diode IR2 and the 3rd pin of the chip U1. The 8th, 9th, and 10th pins of the chip U1 are respectively connected to the SDA type pin, the SCL type pin, and the GPIO type pin of the MCU; the light-emitting diode IR1 is on the opposite side of the chip U1. When there is no occlusion, the light of the light-emitting diode IR1 will shine on the chip U1. The light-emitting diode IR2 is on the side of the chip U1. When there is no occlusion, the light of the light-emitting diode IR2 cannot shine on the chip U1; when the electronic cigarette is inserted, it will block the light of the light-emitting diode IR1 shining on the corresponding photosensitive diode inside the chip U1, and the light of the light-emitting diode IR2 will be reflected by the electronic cigarette to the corresponding photosensitive diode inside the chip U1.
2. The electronic cigarette insertion identification system according to claim 1, characterized in that: The input end of the 3.3V voltage regulator source is powered by a battery, and the battery supply voltage is in the range of 3.3 - 4.6V.
3. An electronic cigarette insertion identification method, applied to the electronic cigarette insertion identification system according to claim 1 or 2, characterized in that: The method for recognizing the insertion of the electronic cigarette includes the following steps: Step 1, the chip U1 sets the high and low thresholds IR1H and IR1L of the light-emitting diode IR1, the high and low thresholds IR2H and IR2L of the light-emitting diode IR2, and the chip U1 reads the corresponding reading values RIR1 and RIR2 of the light-emitting diodes IR1 and IR2; Step 2, based on the magnitude relationship between RIR1 and the high and low thresholds IR1H and IR1L, and the magnitude relationship between RIR2 and the high and low thresholds IR2H and IR2L, to judge the working state, and the working states include: high light or foreign object entering, foreign object blocking the light path, cleaning brush rotating, electronic cigarette inserted; Step 3, after the electronic cigarette is inserted and the smoking action is started, when the main control CPU recognizes that the smoking temperature rises to 50 degrees, turn off the optical system; Step 4, after turning off the optical system, when the main control CPU recognizes that the smoking temperature drops to 50 degrees, turn on the optical system and read the values of RIR1 and RIR2; Step 5, on the basis of Step 4, if RIR1 < IR1L and RIR2 > IR2H, it is determined that the electronic cigarette has not been pulled out, and the smoking action is not started, and it continues until RIR1 > IR1H; Step 6, on the basis of Step 5, start the calibration of the optical sensor to make RIR1 = IR1H.
4. The electronic cigarette insertion identification method according to claim 3, characterized in that: In Step 2, if RIR1 > IR1L, it is considered that high light or foreign object enters, and the smoking action is not started, and the values of RIR1 and RIR2 are continuously obtained.
5. The electronic cigarette insertion identification method according to claim 3, characterized in that: In Step 2, if RIR1 < IR1L and RIR2 < IR2L, it is considered that a foreign object blocks the light paths of IR1 and IR2, the smoking action is not started and reported to the MCU, and the values of RIR1 and RIR2 are continuously obtained.
6. The electronic cigarette insertion identification method according to claim 3, characterized in that: In Step 2, if RIR1 produces a recognizable continuous change and the value includes IR1H and IR1L, it is determined that the cleaning brush rotates and the smoking action is not started.
7. The electronic cigarette insertion identification method according to claim 3, characterized in that: In Step 2, if RIR1 < IR1L and RIR2 > IR2H, it is determined that the electronic cigarette is inserted and the smoking action is started.
