Electronic circuit with fully charged IC and electronic cigarette
By using a combination of charging module, resistor R2, voltage divider resistor and main control unit in the electronic cigarette charging circuit, charging status monitoring is realized, solving the problem of insufficient IO port and reducing production costs.
Patent Information
- Application Number
- CN202421526824.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-28
- Publication Date
- 2025-06-06
- Estimated Expiration
- 2034-06-28
AI Technical Summary
The existing electronic cigarette charging circuit design requires at least two IO ports to realize charging status monitoring, resulting in insufficient IO port MCU chips, which requires more IO port MCU chips, which increases production costs.
By connecting the charging module, resistor R2, voltage divider resistor and main control unit together, the second port outputs low-level and high-level signals to form different charging circuits, realizing charging status monitoring and reducing dependence on the IO port.
It solves the problem of insufficient IO port, reduces the design complexity and production cost of MCU chips, and realizes effective monitoring of the charging status of electronic cigarettes.
Smart Images

Figure CN222953748U_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of electronic cigarettes, and in particular to an electronic circuit and an electronic cigarette fully charged by a charging IC. Background Art
[0002] As a popular alternative to smoking, electronic cigarettes are rapidly gaining popularity around the world due to their ease of use and portability. Charging IC is the charging management chip of electronic cigarettes, which is responsible for managing the charging process of electronic cigarettes. With the development of technology, the design and function of electronic cigarettes are also constantly improving, including the charging system of electronic cigarettes.
[0003] In the existing electronic cigarette charging circuit design, in order to realize the monitoring and management of the charging status of the electronic cigarette, at least two IO ports are usually required. One USB_CD pin is used to detect the input of the USB module voltage, so as to wake up the main control unit to display the charging status; the other CHRG pin is used to change the level from low to high when the battery is full to notify the main control unit that the charge is full. Although this design is effective, when the number of available IO ports of the MCU chip is limited, allocating these IO ports to the charging circuit becomes a problem. When the IO ports of the MCU chip of the electronic cigarette are not enough to support two independent IO ports for charging status monitoring, the usual practice is to use an MCU chip with more IO ports. Although this approach can solve the problem, it brings an additional cost burden. More IO ports mean more complex chip design, which usually leads to increased production costs.
[0004] Therefore, it is necessary to provide an electronic circuit that can save the charging IC of the IO port. Utility Model Content
[0005] In view of this, it is necessary to provide an electronic circuit for fully charging an IC to solve the above problems.
[0006] An embodiment of the present application provides an electronic circuit for charging an IC, comprising:
[0007] Charging module, resistor R2, voltage divider resistor, main control unit;
[0008] The main control unit includes a first port and a second port, the resistor R2 is connected between the first port and the second port, one end of the voltage divider resistor is connected to the first port, and the other end is connected to the charging module;
[0009] A peripheral circuit, one end of which is connected to the charging module, and the other end of which is connected to the main control unit;
[0010] Wherein, the charging module is connected to the main control unit, and when the charging module is charging, the second port outputs a low level to form a first charging circuit connecting the resistor R2 and the ground;
[0011] When the charging module is in a fully charged state, the second port outputs a high level to connect the second charging circuit formed by the resistor R2 and the charging module.
[0012] In at least one embodiment of the present application, the voltage-dividing resistor includes a resistor R3 and a resistor R5, one end of the resistor R5 is connected to the first port, and the other end is connected to the ground line, and one end of the resistor R3 is connected to the first port, and the other end is connected to the charging module.
[0013] In at least one embodiment of the present application, the resistor R3 is connected in series with the resistor R5.
[0014] In at least one embodiment of the present application, the peripheral circuit includes a resistor R1, and the resistor R1 is connected between the main control unit and the charging module.
[0015] In at least one embodiment of the present application, the electronic circuit further includes a capacitor C1, and the capacitor C1 is connected between the charging module and the main control unit.
[0016] In at least one embodiment of the present application, the voltage of the charging module is 5V.
[0017] In at least one embodiment of the present application, the first port detects a connection status of the charging module.
[0018] In at least one embodiment of the present application, the main control unit samples the voltage of the first port to determine the connection status.
[0019] In at least one embodiment of the present application, an electronic cigarette comprises an electronic circuit fully charged by any one of the charging ICs described above.
[0020] The above-mentioned electronic circuit for charging IC is fully charged, by connecting the charging module, resistor R2, voltage-dividing resistor and main control unit together. When the electronic cigarette is charging, the second port outputs a low-level signal, so that the resistor R2 forms a first charging circuit connected to the ground. At this time, the charging module starts to charge the electronic cigarette. When the battery is full, the second port outputs a high-level signal, so that the resistor R2 forms a second charging circuit connected to the charging module. At this time, the voltage-dividing resistor divides the voltage with the resistor R2, so that the main control unit can determine that the battery is full. The problem of requiring at least two IO ports in the prior art to realize the monitoring of the charging status of the electronic cigarette is solved, and the design complexity and production cost of the MCU chip are reduced. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] Figure 1 It is a circuit diagram of an electronic circuit of a charging IC fully charged in an embodiment of the present application.
[0022] Figure 2 is a circuit diagram of the peripheral circuit in the embodiment of the present application.
[0023] Figure 3 This is a circuit diagram of the resistor R2 being grounded in an embodiment of the present application.
[0024] Figure 4 This is a circuit diagram of the resistor R2 connected to the charging module in the embodiment of the present application.
[0025] Main component symbols
[0026] 100. electronic circuit; 10. charging module; 20. voltage-dividing resistor; 30. main control unit; 31. first port; 32. second port; 40. peripheral circuit. DETAILED DESCRIPTION
[0027] The embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments.
[0028] It should be noted that when a component is considered to be "connected" to another component, it may be directly connected to the other component or there may be a central component at the same time. When a component is considered to be "located on" another component, it may be directly located on the other component or there may be a central component at the same time. The terms "top", "bottom", "upper", "lower", "left", "right", "front", "back", and similar expressions used herein are for illustrative purposes only.
[0029] An embodiment of the present application provides an electronic circuit for charging an IC, comprising:
[0030] Charging module, resistor R2, voltage divider resistor, main control unit;
[0031] The main control unit includes a first port and a second port, the resistor R2 is connected between the first port and the second port, one end of the voltage divider resistor is connected to the first port, and the other end is connected to the charging module;
[0032] A peripheral circuit, one end of which is connected to the charging module, and the other end of which is connected to the main control unit;
[0033] Wherein, the charging module is connected to the main control unit, and when the charging module is charging, the second port outputs a low level to form a first charging circuit connecting the resistor R2 and the ground;
[0034] When the charging module is in a fully charged state, the second port outputs a high level to connect the second charging circuit formed by the resistor R2 and the charging module.
[0035] The above-mentioned electronic circuit for charging IC is fully charged, and the charging module, resistor R2, voltage-dividing resistor and main control unit are connected together by setting. When the electronic cigarette is charging, the second port outputs a low-level signal, so that the resistor R2 forms a first charging circuit connected to the ground. At this time, the charging module starts to charge the electronic cigarette. When the battery is full, the second port outputs a high-level signal, so that the resistor R2 forms a second charging circuit connected to the charging module. At this time, the voltage-dividing resistor divides the voltage with the resistor R2, so that the main control unit can determine that the battery is full. The problem of requiring at least two IO ports in the prior art to realize the monitoring of the charging status of the electronic cigarette is solved, and the design complexity and production cost of the MCU chip are reduced.
[0036] Some embodiments of the present application are described in detail below in conjunction with the accompanying drawings. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.
[0037] according to Figure 1-Figure 4 In the embodiment of the present application, an electronic circuit 100 for charging an IC is provided, comprising a charging module 10, a resistor R2, a voltage-dividing resistor 20, and a main control unit 30. The main control unit 30 comprises a first port 31 and a second port 32, the resistor R2 is connected between the first port 31 and the second port 32, one end of the voltage-dividing resistor 20 is connected to the first port 31, and the other end is connected to the charging module 10.
[0038] Wherein, the charging module is connected to the main control unit, and when the charging module is charging, the second port outputs a low level to form a first charging circuit connecting the resistor R2 and the ground; when the charging module is in a full state, the second port outputs a high level to connect the resistor R2 and the second charging circuit formed by the charging module.
[0039] Specifically, the charging module 10 is a USB connector, the first port 31 is a signal pin in the main control unit 30, which is a USB-CD pin, used to detect the connection status of the USB interface and transmit the voltage flowing through the first port to the main control unit, and the second port 32 is CHRG, which is a signal pin of the main control unit 30 and is used to indicate the charging status. The resistor R2 and the voltage divider resistor 20 act together as a voltage divider.
[0040] Furthermore, when the charging module 10 is inserted into the electronic cigarette, the first port 31 receives a signal from the charging module 10, awakens the charging state of the main control unit 30, and during the charging process, the second port 32 is in a low level state, so that the second port 32 is grounded, and the resistor R2 connected to the second port 32 is also connected to the ground, stabilizing the output of the charging module 10 and ensuring that the electronic cigarette starts charging. The resistor R2 affects the level of voltage sensed by the main control unit 30, thereby affecting the judgment of the charging state. When fully charged, the open drain output of the second port 32 is in a high level state, and the second port 32 is in a floating high state. At this time, the CHRG pin is no longer pulled down to the ground level, thereby entering a high impedance state, so that the CHRG pin connected to the resistor R2 is connected to the charging module 10.
[0041] Furthermore, when the charging module 10 is charging the electronic cigarette, the CHRG pin is pulled to a low level by the internal switch, indicating that charging is in progress; when charging is completed or not in progress, the CHRG pin is in a high impedance state, allowing the main control unit 30 to obtain charging status information by monitoring the level state of the CHRG pin, thereby controlling and managing the charging process of the system.
[0042] In summary, during the charging process, since CHRG is at a low level at this time, the transistor in the circuit is turned on, so that the CHRG pin is grounded. In this way, the current will pass through the resistor R2 and the voltage-dividing resistor 20, and finally reach the USB_CD pin. When the charging IC is fully charged, the CHRG level becomes a high level, and the transistor is turned off, so that the CHRG pin is no longer grounded. At this time, the current will directly pass through the resistor R2 and the voltage-dividing resistor 20, and finally reach the USB_CD pin. The main control unit 30 determines whether the charging IC is fully charged by detecting the voltage change of the USB_CD pin.
[0043] In a specific embodiment, the voltage divider resistor 20 includes a resistor R3 and a resistor R5, one end of the resistor R5 is connected to the first port 31 and the other end is connected to the ground line, and one end of the resistor R3 is connected to the first port 31 and the other end is connected to the charging module 10.
[0044] Specifically, in the first embodiment, the resistor R5 is connected in parallel with the resistor R2 and then in series with the resistor R3. At this time, CHRG is at a low level, so the transistor in the circuit is turned on, so that the CHRG pin is grounded. In this way, the current will pass through the voltage divider network composed of the resistors R2, R3 and R5, and finally reach the USB_CD pin. In this process, since CHRG is at a low level, the resistance value of the resistor R5 and the resistor R2 in parallel is large, resulting in the level of USB_CD being pulled down.
[0045] In the second embodiment, the voltage divider network composed of resistors R3 and R2 is connected in parallel with resistor R5. When the charging IC is fully charged, the CHRG level becomes high, and the transistor is cut off, so that the CHRG pin is no longer grounded. At this time, the current will directly pass through the voltage divider network composed of resistors R3 and R2, and then be connected in parallel with resistor R5, and finally reach the USB_CD pin. Since the parallel resistance value of resistors R3 and R2 is small at this time, the level of USB_CD is pulled up. The main control unit 30 determines whether the charging IC is fully charged by detecting the voltage change of the USB_CD pin.
[0046] In a specific embodiment, the resistor R3 is connected in series with the resistor R5.
[0047] Specifically, resistors R3 and R5 are connected in series, so that resistors R3 and R5 form a voltage-dividing resistor network 20, wherein resistor R5 is connected to the ground, and resistor R3 is connected to the charging module 10. A voltage value is generated between the series resistors R3 and R5, which changes with the voltage change during the charging process. This enables the main control unit 30 to accurately determine the charging state of the battery by monitoring this value.
[0048] Furthermore, when charging starts, the charging module 10 provides current and voltage to the electronic cigarette. At this time, the main control unit 30 controls the second port 32 to be in a low level state, and the voltage division on the series resistor R3 and the resistor R5 is small. As charging proceeds, the voltage gradually rises. Due to the voltage division effect of the resistor R3 and the resistor R5, the voltage of the connection point, i.e., the first port 31, will also rise accordingly. The main control unit 30 can determine the current charging state of the battery by monitoring this midpoint voltage. When the battery is fully charged, after the second port 32 outputs a high level signal, the voltage on the USB_CD pin will be mainly determined by the resistor R3 and the resistor R2. The resistor R5 is isolated by the high level of CHRG. At this time, the parallel resistance value of the resistor R3 and the resistor R2 is small. The voltage division at this time will cause the voltage on the USB_CD pin to rise, resulting in the level of USB_CD being pulled up. The main control unit 30 determines that the battery is fully charged by detecting this voltage change.
[0049] In a specific embodiment, the electronic circuit 100 further includes a peripheral circuit 40, one end of which is connected to the charging module 10, and the other end of which is connected to the main control unit 30. The peripheral circuit 40 includes a resistor R1, and the resistor R1 is connected between the main control unit 30 and the charging module 10.
[0050] Specifically, the resistor R1 functions to pull up the enable pin of the charging IC to ensure that the enable pin of the charging IC can be stably pulled up to a high level when there is no input signal or the input signal is at a low level.
[0051] In a specific embodiment, the electronic circuit 100 further includes a capacitor C1 , and the capacitor C1 is connected between the charging module 10 and the main control unit 30 .
[0052] Specifically, when the charging module 10 starts to provide energy to the electronic cigarette, the capacitor C1 helps to smooth the voltage output to ensure that the battery receives a stable charging voltage.
[0053] In a specific embodiment, the voltage of the charging module 10 is 5V.
[0054] Specifically, the charging module 10 provides a voltage of 5 V. This voltage level is the standard output voltage of the USB interface.
[0055] In a specific embodiment, the first port 31 detects the connection status of the charging module 10 .
[0056] Specifically, during the charging process, the first port 31 continuously detects the connection status of the charging module 10 , so as to identify that the charging module 10 is connected to charging.
[0057] In a specific embodiment, the main control unit 30 samples the voltage of the first port 31 to determine the connection status.
[0058] Specifically, the main control unit 30 determines the connection status of the charging module 10 by detecting that the voltage of the USB_CD pin changes from a low level to a high level.
[0059] Furthermore, when the USB is connected, in this embodiment, the USB is 5V, and the USB_CD level changes from low to high, which indicates that charging has started, and the main control unit 30 will display the charging status accordingly.
[0060] During the charging period of the charging IC, the CHRG signal is at a low level. At this time, the circuit behavior refers to the resistor R5 and the resistor R2 connected in parallel and divided by the resistor R3. Based on the given values, we can calculate the voltage of the USB_CD pin:
[0061]
[0062] Among them, V in is the input voltage (USB_5V, ie 5V), and R5∥R2 represents the parallel resistance value of the resistor R5 and the resistor R2.
[0063] When the charging IC is fully charged, the CHRG signal becomes high. At this time, the circuit behavior refers to the resistor R3 and the resistor R2 connected in parallel and divided by the resistor R5. Similarly, we can calculate the voltage of the USB_CD pin:
[0064]
[0065] Wherein, R3||R2 represents the parallel resistance value of R3 and R2.
[0066] According to the description, the MCU chip determines the charging status by sampling the voltage of the USB_CD pin. When the charging IC is charging, the voltage of USB_CD is low, and when it is fully charged, the voltage of USB_CD is high. The MCU determines the direction of full charge by detecting the voltage of the USB_CD pin changing from low level to high level.
[0067] In a specific embodiment, an electronic cigarette includes an electronic circuit 100 fully charged by any one of the charging ICs.
[0068] Specifically, when the electronic cigarette is connected to the charging module, the charging IC starts to control the current to charge the electronic cigarette. The circuit inside the charging IC will continuously monitor the voltage and current of the first port 31.
[0069] By this, the electronic circuit 100 provided above, which is fully charged by a charging IC, is connected together by setting the charging module 10, the resistor R2, the voltage-dividing resistor 20 and the main control unit 30. When the electronic cigarette needs to be charged, the second port 32 outputs a low-level signal, so that the resistor R2 forms a first charging circuit connected to the ground. At this time, the charging module 10 starts to charge the electronic cigarette. When the battery is full, the second port 32 outputs a high-level signal, so that the resistor R2 forms a second charging circuit connected to the charging module 10. At this time, the voltage-dividing resistor 20 divides the voltage with the resistor R2, so that the main control unit 30 can determine that the battery is full. The problem of requiring at least two IO ports in the prior art to realize the monitoring of the charging status of the electronic cigarette is solved, and the design complexity and production cost of the MCU chip are reduced.
[0070] The above is only an implementation method of the present application. It should be pointed out that a person skilled in the art can make improvements without departing from the inventive concept of the present application, but these improvements are within the scope of protection of the present application.
Claims
1. An electronic circuit with a fully charged IC, characterized in that: include: Charging module, resistor R2, voltage divider resistor, main control unit; The main control unit includes a first port and a second port, the resistor R2 is connected between the first port and the second port, one end of the voltage divider resistor is connected to the first port, and the other end is connected to the charging module; A peripheral circuit, one end of which is connected to the charging module, and the other end of which is connected to the main control unit; Wherein, the charging module is connected to the main control unit, and when the charging module is charging, the second port outputs a low level to form a first charging circuit connecting the resistor R2 and the ground; When the charging module is in a fully charged state, the second port outputs a high level to connect the second charging circuit formed by the resistor R2 and the charging module.
2. An electronic circuit for charging an IC according to claim 1, characterized in that: The voltage-dividing resistor includes a resistor R3 and a resistor R5. One end of the resistor R5 is connected to the first port, and the other end is connected to the ground line. One end of the resistor R3 is connected to the first port, and the other end is connected to the charging module.
3. An electronic circuit for charging an IC according to claim 2, characterized in that: The resistor R3 and the resistor R5 are connected in series.
4. An electronic circuit for charging an IC fully charged according to claim 3, characterized in that: The peripheral circuit includes a resistor R1, and the resistor R1 is connected between the main control unit and the charging module.
5. The electronic circuit of claim 1, wherein: The electronic circuit further includes a capacitor C1, and the capacitor C1 is connected between the charging module and the main control unit.
6. The electronic circuit of claim 1, wherein: The voltage of the charging module is 5V.
7. The electronic circuit of claim 1, wherein: The first port detects a connection status of the charging module.
8. An electronic circuit for charging an IC fully charged according to claim 7, characterized in that: The main control unit samples the voltage of the first port to determine the connection state.
9. An electronic cigarette, characterized in that: An electronic circuit comprising a charging IC fully charged as claimed in any one of claims 1 to 8.