Load constant power output system and electronic cigarette based on microcontroller

Through the load constant power output system based on the microcontroller, the voltage value is sampled by the MOS tube and the voltage divider resistor, the power stability of the heating wire is controlled, which solves the power instability caused by the change in the resistance value of the heating wire in electronic cigarette equipment, and improves the power instability problem. Product experience.

CN116649637BActive Publication Date: 2024-12-06GUANGDONG ZHIANXIN TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310795425.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-06-30
Publication Date
2024-12-06
Estimated Expiration
2043-06-30

AI Technical Summary

Technical Problem

When the resistance value of the heating wire changes, existing electronic cigarette equipment cannot maintain the constant working power, resulting in unstable heating temperature and affecting the product experience.

Method used

Using a load constant power output system based on a microcontroller, the microcontroller module, the microcontroller module, the heat generation driving module and the power supply module are used to sample the voltage value by using the MOS tube and the voltage divider resistor to control the on-duty cycle of the switching unit. , realize the power stability of the heating wire.

Benefits of technology

No complex hardware is required, and the constant power of the heating wire is achieved at low cost, improving the user experience of electronic cigarettes and ensuring the stable operation of the heating wire under different environmental conditions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116649637B_ABST
    Figure CN116649637B_ABST
Patent Text Reader

Abstract

The present invention discloses a load constant power output system and an electronic cigarette based on a microcontroller. The system includes a microcontroller module and a microphone module, a heating drive module, and a power supply module respectively connected thereto. The microphone module is used to sense airflow; the power supply module is used to supply power; the heating drive module includes a heating wire, a first switch unit, a second switch unit, and a voltage-dividing resistor. The first switch unit and the second switch unit are respectively connected between a battery and the heating wire, and connected to the microcontroller module. A voltage-dividing resistor is arranged between the second switch unit and the heating wire, and a sampling point connected to the microcontroller module is provided between the voltage-dividing resistor and the heating wire; the microcontroller module is used to obtain the battery voltage and the heating resistance value according to the control of the heating drive module, and then control the working power of the heating wire to tend to a predetermined value. The present invention can estimate the conduction duty cycle required to maintain the constant power of the heating wire, and this process does not need to rely on complex hardware and does not need to increase high costs.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of electronic equipment, and in particular to a load constant power output system and an electronic cigarette based on a microcontroller. Background Art

[0002] With the rapid development of society, various consumer electronic products have emerged, such as electric toothbrushes, shavers, electronic cigarettes, etc. Among the numerous consumer electronic products, many products require constant power output technology, that is, when the output voltage and current of the device change, the output power remains unchanged.

[0003] Especially in electronic cigarette devices, which have heating wires, the resistance of the heating wires is not constant and will be affected by the working environment and its own material. For example, when the electronic cigarette is bumped or bent, the conduction between the heating wire and the e-liquid and the metal shell of the electronic cigarette will change, and when the voltage of the heating wire remains unchanged, its working power will not be stable, that is, the heating temperature is unstable, which will lead to a poor product experience. If the working power of the heating wire can be kept constant, the product experience will be greatly improved.

[0004] Existing simple heating electronic devices achieve constant power by using constant voltage or constant current technology. For example, a voltage regulator is used to make the voltage on the heating wire always constant. In this way, the power will always change. When the power is different, the operation of the heating wire will be unstable. Summary of the invention

[0005] In view of the above technical problems, the present invention provides a load constant power output system and an electronic cigarette based on a microcontroller, which solves the problem of how to achieve load constant power output at low cost in the prior art, and adopts the following technical solution.

[0006] Other features and advantages of the present invention will become apparent from the following detailed description, or may be learned in part by practice of the present invention.

[0007] Based on one aspect of the present invention, a load constant power output system based on a microcontroller is proposed, the system comprising a microcontroller module and a microphone module, a heating drive module, and a power supply module respectively connected to the microcontroller module, wherein:

[0008] The microphone module is used to send a trigger signal to the micro-control module when airflow passes through;

[0009] The power supply module includes a battery, which is used to supply power to the micro-control module and the heating drive module;

[0010] The heating drive module includes a heating wire, a first switch unit, a second switch unit, and a voltage-dividing resistor. The first switch unit and the second switch unit are respectively connected between the battery and the heating wire, and are respectively connected to the microcontroller module. The voltage-dividing resistor is arranged between the second switch unit and the heating wire, and a sampling point connected to the microcontroller module is arranged between the voltage-dividing resistor and the heating wire.

[0011] The microcontrol module is used to, when receiving the trigger signal, turn the first switch unit on and then off, and turn the second switch unit on and then off, and obtain a first sampling voltage value and a second sampling voltage value at the sampling point when turned on, respectively, and obtain the battery voltage of the battery based on the first sampling voltage value, and obtain the heating resistance of the heating wire based on the battery voltage and the second sampling voltage, and based on the heating resistance and the battery voltage, control the on-duty cycle of the first switch unit so that the working power of the heating wire tends to a predetermined value.

[0012] Furthermore, the first switch unit includes a first MOS tube, the second switch unit includes a second MOS tube, the microcontrol module includes an MCU chip, the gate of the first MOS tube is connected to the first PWM signal output pin of the MCU chip, the source thereof is connected to the battery, the drain thereof is connected to one end of the heating wire, and the other end of the heating wire is grounded, the gate of the second MOS tube is connected to the second PWM signal output pin of the MCU chip, the source thereof is connected to the battery, the drain thereof is connected to one end of the voltage dividing resistor, and the other end of the voltage dividing resistor is connected between the drain of the first MOS tube and the heating wire.

[0013] Furthermore, the sampling point is arranged between the voltage-dividing resistor and the heating wire.

[0014] Furthermore, a current limiting resistor is provided between the sampling point and the MCU chip.

[0015] Furthermore, the power supply module includes a charging chip and a USB socket connected to each other, and the charging chip is used to charge the battery after the USB socket is connected to a power source.

[0016] Furthermore, the system also includes an LED module, and the LED module includes multiple groups of LED lights, and different groups of LED lights are respectively connected to the micro-control module.

[0017] Furthermore, the microcontroller module is specifically used for:

[0018] Obtaining a current first voltage of the heating wire based on the first sampling voltage;

[0019] Obtaining the battery voltage based on a preset ratio of the resistance value of the first switch unit to the resistance value range of the heating wire;

[0020] Obtaining a current second voltage of the heating wire based on the second sampling voltage;

[0021] Obtaining the heating resistance based on the preset resistance of the second switch unit, the resistance of the voltage-dividing resistor, the second voltage and the battery voltage;

[0022] A maintenance voltage of the first switch unit is obtained based on the heating resistance and the predetermined value, and a ratio of the maintenance voltage to the battery voltage is the on-duty ratio for controlling the operation of the first switch unit.

[0023] Further, when the heating resistance is obtained, if the heating resistance is lower than a threshold value, the micro-control module turns off the first switch unit and the second switch unit.

[0024] Based on another aspect of the present invention, an electronic cigarette is provided, wherein the electronic cigarette comprises the load constant power output system as described above.

[0025] The technical solution of the present invention has the following beneficial effects:

[0026] Based on the first switch unit, the second switch unit, the voltage divider and the microcontroller module, the sampling data of the first switch unit and the second switch unit when they are respectively turned on are estimated to obtain the resistance of the heating wire, and the conduction duty cycle required to maintain the constant power of the heating wire is estimated according to the resistance of the heating wire. This process does not need to rely on complex hardware, but can be achieved through the switch unit and MCU chip that most existing electronic devices have, without increasing high costs. When the present invention is applied to electronic cigarettes, it can greatly improve the product experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] Figure 1 This is a structural block diagram of a load constant power output system implemented based on a microcontroller in an embodiment of this specification;

[0028] Figure 2 is a circuit schematic diagram of a heating drive module in an embodiment of the present invention;

[0029] Figure 3 is a circuit schematic diagram of a microcontroller module in an embodiment of the present invention;

[0030] Figure 4 is a circuit schematic diagram of an airflow sensor in an embodiment of the present invention;

[0031] Figure 5 is a circuit schematic diagram of a power supply module in an embodiment of the present invention;

[0032] Figure 6 is a circuit schematic diagram of an LED module in an embodiment of the present invention;

[0033] Figure 7 Schematic diagram of the structure of the electronic cigarette in an embodiment of the present invention. DETAILED DESCRIPTION

[0034] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as being limited to the examples set forth herein; on the contrary, these embodiments are provided so that the present invention will be more comprehensive and complete, and the concepts of the example embodiments are fully conveyed to those skilled in the art. The described features, structures, or characteristics may be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present invention. However, those skilled in the art will appreciate that the technical solutions of the present invention may be practiced while omitting one or more of the specific details, or other methods, steps, etc. may be adopted. In other cases, known technical solutions are not shown or described in detail to avoid obscuring various aspects of the present invention.

[0035] In addition, the accompanying drawings are only schematic illustrations of the present invention. The same reference numerals in the drawings represent the same or similar parts, and thus their repeated description will be omitted.

[0036] like Figure 1-3As shown, the embodiment of the present specification provides a load constant power output system based on a microcontroller, a load constant power output system based on a microcontroller, the system includes a microcontroller module 1 and a microphone module 2, a heating drive module 3, and a power supply module 4 respectively connected to the microcontroller module 1, wherein: the microphone module 2 is used to send a trigger signal to the microcontroller module 1 when the airflow passes through; the power supply module 4 includes a battery, which is used to power the microcontroller module 1 and the heating drive module 3; the heating drive module 3 includes a heating wire L1, a first switch unit, a second switch unit, and a voltage divider resistor R8, the first switch unit and the second switch unit are respectively connected between the battery and the heating wire L1, and are respectively connected to A micro-control module 1, a voltage-dividing resistor R8 is arranged between the second switch unit and the heating wire L1, and a sampling point connected to the micro-control module 1 is provided between the voltage-dividing resistor R8 and the heating wire L1; the micro-control module 1 is used to make the first switch unit turned on and then turned off and the second switch unit turned on and then turned off when receiving a trigger signal, and to obtain a first sampling voltage value and a second sampling voltage value at the sampling point when turned on, and to obtain the battery voltage of the battery based on the first sampling voltage value, and to obtain the heating resistance of the heating wire L1 based on the battery voltage and the second sampling voltage, and to make the working power of the heating wire L1 tend to a predetermined value by controlling the on-duty cycle of the first switch unit based on the heating resistance and the battery voltage.

[0037] Specifically, Figure 2 and Figure 3 Provided is a circuit diagram of a microcontroller module and an exemplary circuit diagram of a heating drive module. The first switch unit includes a first MOS tube Q1, the second switch unit includes a second MOS tube Q2, the microcontroller module includes an MCU chip U2, the gate of the first MOS tube Q1 is connected to the first PWM signal output pin PB3_SDD of the MCU chip U2, its source is connected to the battery, its drain is connected to one end of the heating wire L1, and the other end of the heating wire L1 is grounded, the gate of the second MOS tube Q2 is connected to the second PWM signal output pin PB2_AIN7_PWM2 of the MCU chip U2, its source is connected to the battery, its drain is connected to one end of the voltage-dividing resistor R8, and the other end of the voltage-dividing resistor R8 is connected between the drain of the first MOS tube Q1 and the heating wire L1. Specifically, the sampling point is set between the voltage-dividing resistor R8 and the heating wire L1, which is connected to the ADC port of the MCU chip, and a current-limiting resistor R5 is set between the sampling point and the MCU chip U2.

[0038] In order to realize the circuit function of electronic cigarette, Figure 4An airflow sensor U3 is shown. The airflow sensor U3 can sense the inhalation action in the electronic cigarette. When the user inhales, it means that the electronic cigarette is about to be used. The airflow sensor U3 can feedback the trigger signal to the MCU chip U2, and the MCU chip U2 can start working. Specifically, the airflow sensor U3 is a 3-pin microphone, and its OUT pin is connected to an IO port of the MCU chip U2, such as PB4, which is set to input mode. The MCU chip U2 reads the pin status of PB4 and executes the corresponding logic instructions, thereby effectively identifying whether to enter the working mode.

[0039] like Figure 5 As shown, the power supply module 4 includes a charging chip U1 and a USB socket J1 connected to each other. The charging chip U1 is used to charge the battery after the USB socket J1 is powered on. Specifically, the USB socket is a TYPE-C socket, which is connected to an external power supply through a TYPE-C data line. The CHRG pin of the charging chip U1 is connected to an IO port of the MCU chip U2, such as PB5, and is set to input mode. When the battery is not fully charged or not charged during charging, the CHRG pin of the charging chip U1 is low level, and it is high level when fully charged. The MCU chip U2 reads the pin status of PB5 and executes the corresponding logic instructions, thereby effectively identifying the charging effect.

[0040] like Figure 6 As shown, the system also includes an LED module 5, and the LED module 5 includes multiple groups of LED lights. Different groups of LED lights are respectively connected to the microcontroller module 1. The light-emitting colors of different groups of LED lights are different. The light-emitting colors of LED lights in the same group can be the same or different. Each group of LED lights is respectively connected to different IO ports of the MCU chip U2. The IO ports connected to the MCU chip U2 and the LED lights are all set to output mode. Different display effects of the LED lights can be achieved according to corresponding logical instructions. The display effect can be used to show different working states of the MCU chip 2, the heating wire L1, and the battery.

[0041] In addition, Figure 2-Figure 6 In the figure, the battery is represented by the letters VBAT.

[0042] Based on the above-mentioned usage limitation of the microcontroller module 1 in the load constant power output system based on the microcontroller, the working method of the MCU chip is specifically supplemented:

[0043] Obtaining a current first voltage of the heating wire based on the first sampled voltage;

[0044] Obtaining a battery voltage based on a ratio of a preset resistance value of the first switch unit to a resistance range of the heating wire;

[0045] Obtaining a current second voltage of the heating wire based on the second sampling voltage;

[0046] Obtaining a heating resistance value based on a preset resistance value of the second switch unit, a resistance value of the voltage-dividing resistor, the second voltage, and a battery voltage;

[0047] A maintenance voltage of the first switch unit is obtained based on the heating resistance and the predetermined value, and a ratio of the maintenance voltage to the battery voltage is a conduction duty ratio for controlling the operation of the first switch unit.

[0048] Among them, the first sampling voltage value is the sampling value when the first switch unit is turned on and the second switch unit is turned off, and the second sampling voltage value is the sampling value when the first switch unit is turned off and the second switch unit is turned on; the battery voltage refers to the current voltage of the battery. The output voltage of the battery is different at different power consumption stages, different power moments, and different decay rates; the heating resistance literally refers to the resistance of the heating wire, and actually also includes the environmental resistance. The environmental resistance will change due to various environmental conditions, such as the cigarette oil sticking to the heating wire changing the resistance, the metal shell of the electronic cigarette being damaged and the heating wire being short-circuited, etc.; the on-duty cycle refers to the PWM signal that drives the first switch unit, i.e., the first MOS tube, to turn on within a unit time; the predetermined value refers to the set constant power value.

[0049] In summary, based on Figure 2 A detailed explanation of the combination of all the above steps:

[0050] When the user starts, the MCU chip 2 receives the trigger information of the airflow sensor, and then immediately turns on the output pin PB3_SDD of the first PWM signal. In the low-level state controlled by the output pin PB3_SDD, the first MOS tube Q1 is turned on. At this time, the ADC port connected to the MCU chip 2 reads the voltage value of the heating wire L1, that is, the first sampling voltage value. Since it is in the initial startup state, the resistance value of the heating wire L1 can be estimated as a predetermined range, such as 1.5Ω to 3Ω. The internal resistance of the first MOS tube Q1 is generally about 50mΩ, and the voltage ratio is 2000:50=40:1. Therefore, the voltage division caused by the internal resistance of the first MOS tube can be ignored, and the voltage of the ADC port can be approximately considered as the battery voltage. At this time, the battery voltage ADC_BAT can be obtained and saved.

[0051] After obtaining the battery voltage ADC_BAT, the output pin PB3_SDD is closed, and then the PWM2 end, that is, the second PWM signal output pin PB2_AIN7_PWM2, is turned on, so that the second MOS tube Q2 is turned on. At this time, the voltage-dividing resistor R8, the heating wire L1 and the internal resistance of the second MOS tube Q2 divide the battery voltage ADC_BAT. The resistance value of the second MOS tube Q2 is about 50mΩ, the voltage-dividing resistor R8 is a large constant value, such as 10Ω, and the resistance of the heating wire is R_hot, in Ω. At this time, the voltage-dividing ratio is about 50 :10000:1000R_hot=1:200:20R_hot, because the battery voltage ADC_BAT has been obtained in the first step, the voltage divider value ADC_P of the heating wire can be read through the ADC end at this time, that is, the second sampling voltage value, and the path current I_P=(ADC_BAT-ADC_P) / (0.05+10) can be calculated, and the heating resistance of the heating wire L1 is R_hot=ADC_P / I_P=ADC_P / ((ADC_BAT-ADC_P) / (0.05+10)).

[0052] Through the current battery voltage ADC_BAT and the resistance value R_hot of the heating wire, the duty cycle of achieving constant power can be calculated. For example, if the constant power is 9W, for example, the battery voltage ADC_BAT is 4V, the resistance value R_hot of the heating wire LT is 1.5Ω, and the internal resistance of the first MOS tube Q1 is 50mΩ, it can be calculated that the required DC voltage V_LINE at the first MOS tube Q1 end is the square root of 9W*1.5Ω, that is, 3.67V, 3.67V / 4V=91%, so at this time, the PWM waveform with a 91% conduction duty cycle can be obtained when the PWM1 port outputs.

[0053] In addition, after obtaining the heating resistance R_hot, more functions can be obtained based on this value, such as judging the heating resistance R_hot. If the heating resistance is lower than the threshold or is not within the range, the MCU chip 2 needs to control the first MOS tube Q1 and the second MOS tube Q2 to turn off. If the heating resistance R_hot is lower than the safe value, the heating wire may be short-circuited. In the case of a short circuit, the battery outputs a large current, which will cause harm to the user. The high-intensity output of the battery will also cause the battery to be damaged, thereby reducing its life. Therefore, after obtaining the heating resistance R_hot, a safety judgment can be made.

[0054] Based on the same idea, Figure 7 As shown, an exemplary embodiment of the present disclosure further provides an electronic cigarette 700, which may include any of the above-mentioned load constant power output systems, and other contents may include structures of any electronic cigarette in the prior art, such as e-liquid, an oil storage tank, a mouthpiece, an electronic tank, etc.

[0055] The specific details of each module / unit in the above-mentioned electronic cigarette have been described in detail in the above-mentioned system. The undisclosed details can be found in the implementation method of the system part, so they will not be repeated here.

[0056] Those skilled in the art will readily appreciate other embodiments of the invention after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention that follow the general principles of the invention and include common knowledge or customary techniques in the art that are not disclosed in the present invention. The specification and embodiments are to be considered exemplary only, and the true scope and spirit of the invention are indicated by the claims.

[0057] It should be understood that the present invention is not limited to the exact construction that has been described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present invention is limited only by the appended claims.

Claims

1. A load constant power output system based on a microcontroller, characterized in that: The system includes a microcontroller module and a microphone module, a heating drive module, and a power supply module respectively connected to the microcontroller module, wherein: The microphone module is used to send a trigger signal to the micro-control module when airflow passes through; The power supply module includes a battery, which is used to supply power to the micro-control module and the heating drive module; The heating drive module includes a heating wire, a first switch unit, a second switch unit, and a voltage-dividing resistor. The first switch unit and the second switch unit are respectively connected between the battery and the heating wire, and are respectively connected to the microcontroller module. The voltage-dividing resistor is arranged between the second switch unit and the heating wire, and a sampling point connected to the microcontroller module is arranged between the voltage-dividing resistor and the heating wire. The microcontrol module is used to, when receiving the trigger signal, turn the first switch unit on and then off and the second switch unit on and then off, and obtain a first sampling voltage value and a second sampling voltage value at the sampling point when turned on, obtain the battery voltage of the battery based on the first sampling voltage value, and obtain the heating resistance of the heating wire based on the battery voltage and the second sampling voltage, and control the on-duty cycle of the first switch unit based on the heating resistance and the battery voltage so that the working power of the heating wire tends to a predetermined value, and the microcontrol module is specifically used to: Obtaining a current first voltage of the heating wire based on the first sampling voltage; Obtaining the battery voltage based on a preset ratio of the resistance value of the first switch unit to the resistance range of the heating wire; Obtaining a current second voltage of the heating wire based on the second sampling voltage; Obtaining the heating resistance based on the preset resistance of the second switch unit, the resistance of the voltage-dividing resistor, the second voltage and the battery voltage; A maintenance voltage of the first switch unit is obtained based on the heating resistance and the predetermined value, and a ratio of the maintenance voltage to the battery voltage is the on-duty ratio for controlling the operation of the first switch unit.

2. The load constant power output system based on a microcontroller according to claim 1 is characterized in that: The first switch unit includes a first MOS tube, the second switch unit includes a second MOS tube, the microcontroller module includes an MCU chip, the gate of the first MOS tube is connected to the first PWM signal output pin of the MCU chip, the source of the first MOS tube is connected to the battery, the drain of the first MOS tube is connected to one end of the heating wire, and the other end of the heating wire is grounded, the gate of the second MOS tube is connected to the second PWM signal output pin of the MCU chip, the source of the second MOS tube is connected to the battery, the drain of the second MOS tube is connected to one end of the voltage-dividing resistor, and the other end of the voltage-dividing resistor is connected between the drain of the first MOS tube and the heating wire.

3. The load constant power output system based on a microcontroller according to claim 2 is characterized in that: The sampling point is arranged between the voltage dividing resistor and the heating wire.

4. The load constant power output system based on a microcontroller according to claim 3 is characterized in that: A current limiting resistor is arranged between the sampling point and the MCU chip.

5. The load constant power output system based on a microcontroller according to claim 1, characterized in that: The power supply module comprises a charging chip and a USB socket connected to each other, and the charging chip is used to charge the battery after the USB socket is connected to a power source.

6. The load constant power output system based on a microcontroller according to claim 1, characterized in that: The system further comprises an LED module, wherein the LED module comprises a plurality of groups of LED lamps, and the LED lamps of different groups are respectively connected to the microcontroller module.

7. The load constant power output system based on a microcontroller according to claim 1, characterized in that: When the heating resistance is obtained, if the heating resistance is lower than a threshold value, the micro-control module turns off the first switch unit and the second switch unit.

8. An electronic cigarette, characterized in that: The electronic cigarette comprises the load constant power output system as described in any one of claims 1-7.