Charging circuit and electronic equipment
By using dual-channel in-situ detection and transistor switching in the charge pump circuit, the problem of inconsistent charging power across multiple power interfaces in electronic devices is solved, enabling efficient and safe fast charging with dual power interfaces, simplifying the charging logic and improving the user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-29
- Publication Date
- 2026-03-13
AI Technical Summary
The inconsistent charging power of multiple power interfaces in existing electronic devices leads to low charging efficiency, poor user experience, complex charging mutual exclusion logic, increased hardware and software costs, and insufficient safety.
The system employs dual-channel presence detection and dual-channel drive using a charge pump circuit, combined with two transistor switches, to achieve charging mutual exclusion logic for dual power interfaces. This eliminates the need to rely on system software logic, ensuring charging safety and stability.
It enables high-power fast charging from both power interfaces, simplifies the charging logic, improves user experience and charging safety, reduces system dependence, and avoids the charging risk during dead battery activation.
Smart Images

Figure CN121663727A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of electronic equipment technology, specifically to a charging circuit and an electronic device. Background Technology
[0002] Electronic devices typically have a power interface, which can be used not only to connect a charger but also as a data transfer interface. For example, the mainstream power interface for devices such as mobile phones and tablets is currently the USB Type-C interface, which is used for charging the device and transferring data.
[0003] As electronic devices integrate more and more functions, some devices have two Type-C ports. For example, some tablets have two Type-C ports. One port is used for fast charging and data transfer, while the other port mainly provides video signal input. This allows the tablet to be used as a portable external display while also providing basic low-power charging.
[0004] In this scenario, because the charging power of the multiple power interfaces is different, users need to select the appropriate interface when charging electronic devices. Moreover, the charging circuits of the two power interfaces are independent of each other, resulting in complex mutual exclusion logic and affecting the charging function. Summary of the Invention
[0005] To improve the charging effect of electronic devices and realize dual-interface charging, this disclosure provides a charging circuit and an electronic device having the charging circuit.
[0006] In a first aspect, embodiments of this disclosure provide a charging circuit, including:
[0007] The first power interface and the second power interface are used to connect power supply equipment;
[0008] The charge pump circuit includes a first power supply terminal and a second power supply terminal. The first power supply terminal is connected to the first power interface through a first transistor switch and to the second power interface through a second transistor switch. The second power supply terminal is connected to a battery.
[0009] The charge pump circuit is configured to: when a target power interface of the first power interface and the second power interface is detected to be connected to a power supply device, control the transistor switch connected to the target power interface to turn on, and control the transistor switch not connected to the target power interface to turn off.
[0010] In some embodiments, the first transistor switch includes a first terminal, a second terminal and a first control terminal, the second transistor switch includes a third terminal, a fourth terminal and a second control terminal, the first terminal is connected to the first power interface, the third terminal is connected to the second power interface, and the second terminal and the fourth terminal are connected to the first power terminal of the charge pump circuit.
[0011] The charge pump circuit further includes a first driving terminal and a second driving terminal. The first driving terminal is connected to the first control terminal, and the second driving terminal is connected to the second control terminal. The first driving terminal and the second driving terminal are used to output control levels.
[0012] In some embodiments, the charge pump circuit further includes a first detection terminal and a second detection terminal, the first detection terminal being connected to the first power interface and the second detection terminal being connected to the second power interface, the first detection terminal and the second detection terminal being used to detect voltage values.
[0013] In some embodiments, the charge pump circuit is configured as follows:
[0014] If the voltage value of the first power interface is detected to be greater than or equal to the voltage threshold by the first detection terminal, the first power interface is determined to be the target power interface, and the first transistor switch is turned on by the first driving terminal and the second transistor switch is turned off by the second driving terminal.
[0015] If the voltage value of the second power interface is detected to be greater than or equal to the voltage threshold by the second detection terminal, the second power interface is determined to be the target power interface, and the second transistor switch is turned on by the second driving terminal, and the first transistor switch is turned off by the first driving terminal.
[0016] In some embodiments, a power management circuit is also included, which includes a third power terminal and a fourth power terminal. The third power terminal is connected to the first power interface through the first transistor switch and to the second power interface through the second transistor switch. The fourth power terminal is connected to the battery.
[0017] In some embodiments, the power management circuit further includes a charging protocol terminal, which is connected to the protocol terminal of the first power interface and / or the second power interface, and the power management circuit establishes a fast charging connection with the power supply device through the charging protocol terminal.
[0018] In some embodiments, the first transistor switch includes a first transistor and a second transistor connected in series, wherein the body diode of the first transistor and the body diode of the second transistor have opposite conduction directions;
[0019] The second transistor switch includes a third transistor and a fourth transistor connected in series, wherein the body diode of the third transistor and the body diode of the fourth transistor have opposite conduction directions.
[0020] In some embodiments, the charging circuit further includes a first power supply circuit, the input terminal of which is connected to the first power supply terminal of the charge pump circuit, and the output terminal is connected to the first power interface and the second power interface respectively. The first power supply circuit is used to supply power to the electrical equipment connected to the first power interface and the second power interface.
[0021] In some embodiments, the charging circuit further includes a second power supply circuit and a third power supply circuit, the input terminals of the second power supply circuit and the third power supply circuit are connected to the third power supply terminal of the power management circuit, the output terminal of the second power supply circuit is connected to the first power interface, and the output terminal of the third power supply circuit is connected to the second power interface.
[0022] The second power supply circuit is used to supply power to the electrical equipment connected to the first power interface, and the third power supply circuit is used to supply power to the electrical equipment connected to the second power interface.
[0023] Secondly, this disclosure provides an electronic device including the charging circuit of any of the above embodiments, wherein the first power interface and the second power interface are power interfaces disposed on the frame of the electronic device and respectively located on both sides of the electronic device.
[0024] The charging circuit of this disclosure includes a first power interface, a second power interface, and a charge pump circuit. The charge pump circuit includes a first power terminal and a second power terminal. The first power terminal is connected to the first power interface via a first transistor switch, and the second power terminal is connected to the second power interface via a second transistor switch. The second power terminal is connected to a battery. When the charge pump circuit detects that a power interface is connected to a power supply device, it controls the transistor switch connected to the power supply device to turn on and controls the other transistor switch to turn off. In this disclosure, the two power interfaces can use the same charging current, improving charging efficiency and user experience. Furthermore, the charging mutual exclusion logic is implemented through the charge pump circuit, without relying on system software logic, resulting in higher charging safety and stability. Attached Figure Description
[0025] To more clearly illustrate the technical solutions in the specific embodiments of this disclosure or the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this disclosure. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0026] Figure 1 This is a schematic diagram of the structure of a charging circuit in an exemplary embodiment of this disclosure.
[0027] Figure 2 This is a schematic diagram of the charging circuit in another exemplary embodiment of the present disclosure.
[0028] Figure 3 This is a schematic diagram of the structure of a transistor switch in a charging circuit according to an exemplary embodiment of this disclosure.
[0029] Figure 4 This is a schematic diagram of the charging circuit in another exemplary embodiment of the present disclosure.
[0030] Figure 5 This is a schematic diagram of the charging circuit in another exemplary embodiment of the present disclosure.
[0031] Figure 6 This is a structural block diagram of an electronic device according to an exemplary embodiment of the present disclosure. Detailed Implementation
[0032] The technical solutions of this disclosure will now be clearly and completely described with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this disclosure, not all of them. All other embodiments obtained by those skilled in the art based on the embodiments of this disclosure without inventive effort are within the scope of protection of this disclosure. Furthermore, the technical features involved in the different embodiments of this disclosure described below can be combined with each other as long as they do not conflict with each other.
[0033] Electronic devices such as mobile phones, tablets, and wearable devices all have the ability to store electricity. In order to charge electronic devices, they are usually equipped with a charging port. By connecting a charger through the charging port, the electronic devices can be charged.
[0034] With the development and standardization of electronic device interface protocols, the mainstream charging interface on consumer electronic devices is currently the USB Type-C interface, also known as "Type-C interface" or "C port". The Type-C interface can not only provide charging function, but also provide data transmission capability for electronic devices.
[0035] With the continuous development and advancement of electronic devices, people have increasingly higher demands for their functionality. Taking tablet computers as an example, to leverage their large screen and portability, some manufacturers have incorporated two Type-C ports. One Type-C port functions like a traditional charging port, providing fast charging and data transfer capabilities. The other Type-C port primarily provides DP_IN functionality, serving as a video signal input. This allows external electronic devices to be connected, enabling the tablet to be used as an extended screen. In a typical scenario, the tablet can be connected to a laptop, thus acting as an external monitor for the laptop.
[0036] In related technologies, the circuits of the two power interfaces of electronic devices are independent, thus providing different capabilities. For charging, the interface primarily used for charging can provide high-power (e.g., 68W) fast charging, while the interface primarily used for video signal input can only provide basic low-power (e.g., 5W, 10W) charging. Because the charging power of the two interfaces differs, users need to select the appropriate interface when connecting the charger to achieve fast charging; if connected incorrectly, only low-power charging will be possible.
[0037] Furthermore, to ensure charging safety and stability, the charging logic of the two interfaces must be mutually exclusive, meaning only one interface can charge at a time. In related technologies, since the charging circuits of the two interfaces are independent, control must rely on system software logic. Specifically, two detection signals can be used to detect the presence of the chargers at each interface. When the charger at one interface is present, the charging circuit of the other interface is disconnected. On the one hand, this charging mutual exclusion logic is complex, increasing hardware and software costs. On the other hand, it lacks safety and stability. For example, when the battery is reactivated after a dead charge, the charging mutual exclusion logic cannot be implemented because the system is not powered on. In this case, both power sources operate simultaneously, easily leading to charging accidents.
[0038] As can be seen from the above, electronic devices with multiple power interfaces in the related technologies have poor charging efficiency and user experience due to inconsistent charging power. Moreover, the charging mutual exclusion logic is complex, costly, and lacks safety and stability.
[0039] Based on this, the present disclosure provides a charging circuit and an electronic device having the charging circuit. By utilizing dual-channel presence detection of the charge pump circuit and combining it with two-channel transistor switches, the charging mutual exclusion logic of the dual power interfaces is realized with a simple circuit. It does not rely on system software logic, has higher stability and security, and since both power interfaces are connected to the same charging circuit, the charging power is the same, and both can achieve high-power fast charging, improving the user charging experience.
[0040] In some embodiments, this disclosure provides a charging circuit that can be applied to an electronic device. The electronic device described in this disclosure can be any suitable type of device, such as a smartphone, tablet computer, wearable device, laptop computer, etc., and this disclosure does not limit this.
[0041] Figure 1 The following diagram illustrates the structure of a charging circuit according to some embodiments of this disclosure. Figure 1 This needs to be explained.
[0042] like Figure 1 As shown, the charging circuit of this disclosure includes two power interfaces, namely a first power interface 110 and a second power interface 120.
[0043] The first power interface 110 and the second power interface 120 refer to two interfaces on an electronic device that can be used for charging at least once. This disclosure does not limit the type of power interface, which may be, for example, a USB Type-A interface, a MicroUSB interface, a USB Type-C interface, etc.
[0044] In this embodiment of the disclosure, the first power interface 110 and the second power interface 120 can be the same type of interface or different types of interfaces. For example, in one example, both the first power interface 110 and the second power interface 120 are Type-C interfaces. In another example, the first power interface 110 is a Type-C interface, and the second power interface 120 is another type of interface.
[0045] In this embodiment of the disclosure, both the first power interface 110 and the second power interface 120 can be connected to an external power supply device. The power supply device can refer to a related device used to supply power to the electronic device. For example, the power supply device can be a charger. The charger is connected to an external power source and then connected to the first power interface 110 or the second power interface 120 by plugging and unplugging to realize the charging of the electronic device.
[0046] It is worth noting that the first power interface 110 and the second power interface 120 not only provide charging functionality for electronic devices, but also provide data transmission capabilities. For example, taking the Type-C interface as an example, the Type-C interface can not only achieve fast charging through protocol interaction with the charger, but also transmit data such as audio, video, and files with other connected devices via the data bus.
[0047] This disclosure mainly relates to the charging function of electronic devices, so data interaction will not be described in detail. However, it is understood that the two power interfaces of this disclosure can also support the interaction and transmission of audio, video or other data.
[0048] Continue to refer to Figure 1 As shown, the charging power supply also includes a charge pump circuit 300. A charge pump (CP) is a DC / DC converter circuit that uses a capacitor as an energy storage element. The voltage of the capacitor is controlled by switching devices, thereby achieving various boost / buck operation modes. The charge pump circuit has a very simple structure and a transformation efficiency of 90%–95%, making it widely used in charging circuits of consumer electronic devices to achieve high-power, high-efficiency fast charging.
[0049] In related technologies, typically only one power interface connects to the charge pump for fast charging, while the other power interface connects to the PMIC (Power Management Integrated Circuit) for low-power charging. To implement charging mutual exclusion logic, two additional presence detection channels are needed to detect whether the two power interfaces are connected to the charger. Furthermore, through system software logic, if one power interface is connected to the charger, the power supply circuit of the other channel is disconnected. This way, even if both power interfaces are connected to the charger simultaneously, only one can charge, ensuring charging safety. However, this approach has the drawbacks mentioned earlier: implementing charging mutual exclusion logic is complex, increasing hardware and software costs, and lacks sufficient safety in situations such as reactivation from a dead battery.
[0050] In this embodiment, the dual-channel presence detection and dual-channel drive of the charge pump circuit are combined with two transistor switches to implement charging mutual exclusion logic for the dual power interfaces. In related technologies, some charge pump chips support dual-channel power supply voltage (Vbus) detection. In practice, one of them is usually used as a backup. In this embodiment, the dual-channel Vbus detection of the charge pump chip itself can be used to realize charger presence detection for both power interfaces.
[0051] Specifically, see Figure 1 As shown, the charging circuit includes a first transistor switch 210 and a second transistor switch 220. A first power interface 110 is connected to the first power supply terminal of the charge pump circuit 300 via the first transistor switch 210. A second power interface 120 is connected to the first power supply terminal of the charge pump circuit 300 via the second transistor switch 220.
[0052] The first power supply terminal of the charge pump circuit can refer to the power input terminal of the charge pump circuit 300, and the second power supply terminal of the charge pump circuit 300 can refer to the power output terminal. The second power supply terminal is connected to the storage battery 400, so that the power input from the first power supply terminal is stepped up and down by the charge pump circuit 300, and then flows into the storage battery 400 through the second power supply terminal to charge the storage battery 400.
[0053] The first transistor switch 210 and the second transistor switch 220 refer to switching circuits that can be controlled to open and close. That is, each transistor switch must include at least an input terminal, an output terminal, and a control terminal, with the control terminal used to control the connection between the input and output terminals. When the input and output terminals are connected, current can flow through the transistor switch. Conversely, when the input and output terminals are disconnected, current cannot flow through the transistor switch.
[0054] In this embodiment, the on / off control of the first transistor switch 210 and the second transistor switch 220 is performed by the charge pump circuit 300. As can be seen from the foregoing, the charge pump chip itself can provide dual-path drive, so the on / off of the first transistor switch 210 and the second transistor switch 220 can be controlled by dual-path drive respectively.
[0055] In this embodiment of the disclosure, the control logic of the charge pump circuit 300 includes at least: when it is detected that a target power interface of the first power interface 110 and the second power interface 120 is connected to a power supply device, controlling the transistor switch connected to the target power interface to turn on, and controlling the transistor switch connected to a non-target power interface to turn off.
[0056] Combination Figure 1 As shown, the presence detection of the charge pump circuit 300 refers to confirming whether the power interface is connected to a power supply device (i.e., a charger) by detecting the level of the power supply voltage Vbus of the power interface. For example, when the first power interface 110 is connected to an external power supply device, the level of the power supply voltage Vbus is pulled high. The charge pump circuit 300 confirms that the first power interface 110 is connected to the charger based on the detection signal, thereby determining that the first power interface 110 is the target power interface.
[0057] In this example, the charge pump circuit 300 includes dual-channel presence detection, which can detect whether the first power interface 110 and the second power interface 120 are connected to a power supply device, respectively. Simultaneously, the charge pump circuit 300 includes dual-channel drive, which can control the on / off state of the first transistor switch 210 and the second transistor switch 220, respectively.
[0058] For example, in one scenario, if the first power interface 110 is connected to a power supply device, then the first power interface 110 is the target power interface. The charge pump circuit 300 can then output a control signal to the control terminal of the first transistor switch 210 via one of its drives, causing the first transistor switch 210 to conduct. Simultaneously, to ensure charging safety, the charge pump circuit 300 outputs a control signal to the control terminal of the second transistor switch 220 via another drive, causing the second transistor switch 220 to deactivate. At this point, the current flow is as follows: the current supplied by the external power supply device passes through the first power interface 110, then through the first transistor switch 210 to the charge pump circuit 300, and after being stepped up and down by the charge pump circuit 300, it reaches the battery 400 for charging. Even if the charger is also plugged into the second power interface 120, since the second transistor switch 220 is in the deactivated state, no current flows into the second power interface 120, achieving charging mutual exclusion.
[0059] For example, in another example, if the second power interface 120 is connected to a power supply device, then the second power interface 120 is the target power interface. The charge pump circuit 300 can then output a control signal to the control terminal of the second transistor switch 220 through one of its drives, causing the second transistor switch 220 to conduct. Simultaneously, to ensure charging safety, the charge pump circuit 300 outputs a control signal to the control terminal of the first transistor switch 210 through another drive, causing the first transistor switch 210 to deactivate. At this time, the current flow is as follows: the current supplied by the external power supply device passes through the second power interface 120, then through the second transistor switch 220 to the charge pump circuit 300, and after being stepped up and down by the charge pump circuit 300, it reaches the battery 400 for charging. Even if the charger is also plugged into the first power interface 110, since the first transistor switch 210 is in the deactivated state, no current flows into the first power interface 110, achieving charging mutual exclusion.
[0060] It is understood that in the charging circuit of the present disclosure embodiment, the charging mutual exclusion logic follows: whichever power interface is plugged into the power supply device first, that power interface is used for charging, and the power interface plugged into the power supply device later will not be charged.
[0061] The charging circuit of this disclosure differs from related technical solutions mainly in the following two aspects:
[0062] 1) The charging circuits at the back end of both power interfaces are identical, meaning both are connected to a charge pump circuit. Therefore, high-power fast charging can be provided regardless of the power interface, and the fast charging logic and power are completely consistent, eliminating the need to distinguish between charging interfaces. When charging electronic devices, users only need to plug the charger into either power interface to achieve high-power fast charging, improving the user's charging experience.
[0063] 2) The charging mutual exclusion logic of the two power interfaces is directly implemented by using the dual-channel presence detection and dual-channel drive of the charge pump chip. No additional detection circuit is required, nor is it dependent on the system software logic. As long as the charge pump chip is powered on, the charging mutual exclusion logic can work normally, ensuring charging safety and stability.
[0064] For example, during a dead battery activation, the motherboard and electrical components of the electronic device are all powered down due to the battery being depleted for a long time. If a charger is connected at this time, it will take some time for the motherboard to power up and the system to resume normal operation. During this time, the system software logic cannot work properly. If two power interfaces are connected to the charger at the same time, simultaneous charging may occur, affecting charging safety.
[0065] In this embodiment, the charging mutual exclusion method is executed by the charge pump circuit 300, which does not rely on system software logic. Thus, during the dead-charge activation process, the charge pump circuit can be powered on and put into operation after the charger is connected, thereby executing the above-mentioned charging mutual exclusion method without waiting for the motherboard to power on and the system to run, thus improving charging safety and stability.
[0066] In some embodiments, the first transistor switch 210 and the second transistor switch 220 may be, for example, transistors or MOS transistors (Metal-Oxide-Semiconductor Field-Effect Transistors), and this disclosure is not limited thereto.
[0067] Taking a MOSFET as an example, a MOSFET has three terminals: gate (G), source (S), and drain (D). The basic working principle of a MOSFET is that by applying a control level to the gate (G), the source (S) and drain (D) are turned on or off. MOSFETs can be divided into NMOS and PMOS, and according to different control levels, they can be divided into enhancement-mode and depletion-mode. In the embodiments of this disclosure, there are no restrictions on the type of MOSFET, and all types can implement the solution of this disclosure.
[0068] See Figure 2 For example, the first transistor switch 210 includes a MOSFET 211, and the second transistor switch includes a MOSFET 221. The first terminal of the first transistor switch 210 is also the source (S) of the MOSFET 211, the second terminal of the first transistor switch 210 is also the drain (D) of the MOSFET 211, and the first control terminal of the first transistor switch 210 is also the gate (G) of the MOSFET 211. The third terminal of the second transistor switch 220 is also the source (S) of the MOSFET 221, the fourth terminal of the second transistor switch 220 is also the drain (D) of the MOSFET 221, and the second control terminal of the second transistor switch 220 is also the gate (G) of the MOSFET 221.
[0069] In this example, the source S of MOSFET 211 is connected to the Vbus pin of the first power interface 110, the drain D of MOSFET 211 is connected to the first power supply terminal Vbus_in of the charge pump circuit 300, the gate G of MOSFET 211 is connected to the first driving terminal driver_1 of the charge pump circuit 300, and the first detection terminal sense_1 of the charge pump circuit 300 is connected to the Vbus pin of the first power interface 110.
[0070] The source (S) of MOSFET 221 is connected to the Vbus pin of the second power interface 120, the drain (D) of MOSFET 221 is connected to the second power supply terminal (Vbus_in) of the charge pump circuit 300, and the gate (G) of MOSFET 221 is connected to the second drive terminal (driver_2) of the charge pump circuit 300. Simultaneously, the second detection terminal (sense_2) of the charge pump circuit 300 is connected to the Vbus pin of the second power interface 120. The second power supply terminal (Vbus_out) of the charge pump circuit 300 is connected to the battery 400.
[0071] exist Figure 2 In the example, the function of the first detection terminal sense_1 is to detect the Vbus voltage of the first power interface 110, thereby realizing the presence detection of the first power interface 110. For example, when the first power interface 110 is connected to an external charger, the Vbus line voltage will be pulled high. When the first detection terminal sense_1 detects that the Vbus voltage of the first power interface 110 is greater than or equal to a certain voltage threshold, it can determine that the first power interface 110 is connected to the charger, that is, the presence state of the first power interface 110 is in place. At this time, the charge pump circuit 300 outputs a control signal through the first driving terminal driver_1. The control signal is a level signal. The gate G of the MOSFET 211 controls the source S and drain D to conduct according to the control signal, so that the current flowing in from the first power interface 110 can reach the first power terminal Vbus_in of the charge pump circuit 300 through the MOSFET 211. After being processed by the charge pump circuit 300 for step-up and step-down, it charges the battery 400 through the second power terminal Vbus_out.
[0072] At the same time, the second driving terminal driver_2 of the charge pump circuit 300 outputs a control signal to the gate G of the MOS transistor 221. The control signal is a level signal. The gate G of the MOS transistor 221 controls the source S and drain D to disconnect according to the control signal, so that even if the second power interface 120 is plugged into the charger, no current will flow, realizing the mutual exclusion of charging between the two power interfaces.
[0073] Similarly, in Figure 2In the example, the function of the second detection terminal sense_2 is to detect the Vbus voltage of the second power interface 120, thereby realizing the presence detection of the second power interface 120. For example, when the second power interface 120 is connected to an external charger, the Vbus line voltage will be pulled up. When the second detection terminal sense_2 detects that the Vbus voltage of the second power interface 120 is greater than or equal to a certain voltage threshold, it can determine that the second power interface 120 is connected to the charger, that is, the presence state of the second power interface 120 is present.
[0074] At this time, the charge pump circuit 300 outputs a control signal through the second drive terminal driver_2. The control signal is a level signal. The gate G of the MOS transistor 221 controls the source S and drain D to conduct according to the control signal. Thus, the current flowing in from the second power interface 120 can reach the first power terminal Vbus_in of the charge pump circuit 300 through the MIS transistor 221. After being processed by the charge pump circuit 300 to step up and down, it charges the battery 400 through the second power terminal Vbus_out.
[0075] At the same time, the first driving terminal driver_1 of the charge pump circuit 300 outputs a control signal to the gate G of the MOS transistor 211. The control signal is a level signal. The gate G of the MOS transistor 211 controls the source S and drain D to disconnect according to the control signal, so that even if the first power interface 110 is plugged into the charger, no current will flow, realizing mutual exclusion of charging between the two power interfaces.
[0076] As can be seen from the above, the charging circuits at the back end of the first power interface 110 and the second power interface 120 are the same. Therefore, regardless of which power interface is used for charging, the charge pump circuit 300 can be used to achieve full-power fast charging, thereby improving charging efficiency and user experience.
[0077] It is worth noting that those skilled in the art can undoubtedly understand and fully implement the process of establishing a fast charging connection between an electronic device and a power supply device by referring to the fast charging protocols of relevant technologies, and this disclosure will not elaborate on this.
[0078] In addition, Figure 2 In the example, both the first transistor switch 210 and the second transistor switch 220 are single transistor switches, that is, they include only one MOS transistor. In other embodiments, the first transistor switch 210 and the second transistor switch 220 may also be a series MOS pair.
[0079] It is understandable that a MOSFET generally includes a body diode (also called a parasitic diode). In order to avoid leakage of current in the body diode of a single MOSFET when it is off, two MOSFETs connected in series can be used to form a MOSFET pair, and the conduction directions of the body diodes of the two MOSFETs are set to be opposite.
[0080] Figure 3 Only partial circuit diagrams of the first transistor switch 210 and the second transistor switch 220 are shown. Figure 3 In the example, the first transistor switch 210 includes a first transistor 212 and a second transistor 213 connected in series. The body diode 214 of the first transistor 212 and the body diode 215 of the second transistor 213 have opposite conduction directions. Therefore, when both transistors are off, the unidirectional conduction of the two body diodes effectively prevents leakage. Similarly, the second transistor switch 220 includes a third transistor 222 and a fourth transistor 223 connected in series. The body diode 224 of the third transistor 222 and the body diode 225 of the fourth transistor 223 have opposite conduction directions. Therefore, when both transistors are off, the unidirectional conduction of the two body diodes effectively prevents leakage.
[0081] PMIC refers to the power management circuit of an electronic device. It generally includes a power management chip and its peripheral circuits. It is mainly used to control all power supplies in the electronic device. At the same time, PMIC can provide basic power charging for the battery. For example, in the constant voltage charging stage or trickle charging stage of fast charging, PMIC can be used to achieve low power charging.
[0082] See Figure 4 As shown, in some embodiments, the charging circuit of this disclosure example further includes a power management circuit (PMIC). The power management circuit includes a third power supply terminal and a fourth power supply terminal. The third power supply terminal refers to the power input terminal of the PMIC, i.e., the Vbus_in pin, and the fourth power supply terminal refers to the power output terminal of the PMIC, i.e., the Vbus_out pin. In this disclosure embodiment, the third power supply terminal is connected to the first transistor switch 210 and the second transistor switch 220, and the fourth power supply terminal is connected to the battery.
[0083] In this embodiment of the present disclosure, during low-power charging, the power supply can bypass the charge pump circuit 300 and instead charge the battery 400 through the PMIC. Its working principle is the same as that of the aforementioned embodiment, and will not be repeated here.
[0084] In this embodiment, the PMIC may further include a charging protocol terminal, which may refer to the PMIC's PDPHE port, DP / DM port, etc., used to connect to the protocol terminal on the power interface, thereby enabling fast charging protocol interaction and handshake connection with an external charger to establish a fast charging process with specified power and mode. Fast charging protocols include, but are not limited to, PD protocol, QC protocol, or other proprietary protocols. Those skilled in the art can undoubtedly understand and fully implement the process of establishing fast charging protocol interaction and handshake connection between the electronic device and the charger by referring to relevant technologies, and this disclosure will not elaborate further.
[0085] OTG (On-The-Go) is a technology standard that allows portable electronic devices to connect directly to other devices via an interface for power transmission or data exchange. Nowadays, many smartphones and tablets support OTG reverse charging. Reverse charging refers to using an electronic device as a power source to supply power to other devices. A typical scenario is that a tablet's OTG function can be used to connect it to a smartphone, allowing the tablet to charge the smartphone.
[0086] In some embodiments of this disclosure, the charging circuit further includes a power supply circuit that can provide OTG reverse charging functionality for the electronic device, thereby enabling the electronic device to charge external electrical devices.
[0087] like Figure 5 As shown, in some embodiments, the charging circuit of this disclosure example further includes a first power supply circuit, which may be, for example, a DC / DC boost or buck circuit. The input terminal of the first power supply circuit is connected to the first power supply terminal of the charge pump circuit, i.e. Figure 5 In this context, CP_Vbus_in represents the first power supply terminal of the charge pump circuit 300. The output terminal of the first power supply circuit can be connected to the first power interface 110 and the second power interface 120 via a switch. Specifically, the output terminal of the first power supply circuit is connected to the Vbus pin of the first power interface 110 and the second power interface 120, respectively.
[0088] The function of a switch is to control the on / off state of a power supply circuit. A switch can be a transistor switch, such as a MOSFET or a triode, and this disclosure does not limit it.
[0089] It is understandable that when OTG reverse charging is enabled, the battery 400 acts as a power source, outputting current. This current then passes through the charge pump circuit 300 and reaches the first power supply circuit. From there, the first power supply circuit supplies power to external electronic devices via either the first power interface 110 or the second power interface 120. It is worth noting that because the first power supply circuit is powered by the charge pump circuit 300, it can provide a high-power reverse charging function. For example, in one example, the first power supply circuit can output up to 33W of power, thus enabling rapid charging of external devices.
[0090] Continue to refer to Figure 5 In some embodiments, the charging circuit of this disclosure further includes a second power supply circuit and a third power supply circuit, the input terminals of which are connected to the third power supply terminal of the power management circuit PMIC, i.e. Figure 5In this context, PMIC_Vbus_in represents the third power supply terminal of the PMIC. The output of the second power supply circuit is connected to the first power interface 110; specifically, the output of the second power supply circuit is connected to the Vbus pin of the first power interface 110. The output of the third power supply circuit is connected to the second power interface 120; specifically, the output of the third power supply circuit is connected to the Vbus pin of the second power interface 120.
[0091] In this embodiment of the disclosure, the second power supply circuit and the third power supply circuit are powered by the PMIC, that is, the battery 400 is used as the power source. The output current passes through the PMIC and then reaches the second power supply circuit and the third power supply circuit. Then, the second power supply circuit is used to power the first power interface, or the third power supply circuit is used to power the second power interface.
[0092] In some implementations, the second and third power supply circuits can employ DC / DC boost or buck circuits. Additionally, the second and third power supply circuits can be equipped with overvoltage protection (OVP) circuits. The OVP circuit's function is to prevent excessively high output voltage and can disconnect the circuit if the output voltage exceeds a threshold.
[0093] In this example, the second and third power supply circuits are powered by the PMIC, and thus the reverse charging power they can provide is generally low, such as 10W or 5W, which can improve the charging power of electrical equipment.
[0094] As can be seen from the above, in this embodiment of the disclosure, the power supply circuit can provide OTG reverse charging function for electronic devices, and both power interfaces can realize reverse charging. In addition, different power supply circuits can output power of different power, and users can choose high-power reverse charging or basic power reverse charging, thereby improving power supply efficiency and user experience.
[0095] In some embodiments, this disclosure provides an electronic device that may include the charging circuit of any of the above embodiments. In these embodiments, the type of electronic device is not limited; it may be any suitable device type, such as a smartphone, tablet computer, wearable device, laptop computer, etc.
[0096] Taking a tablet computer as an example, the first power interface and the second power interface can be located on the bezel of the tablet computer, respectively on the two sides of the tablet computer. For example, in landscape mode, the first power interface can be located on the left side of the tablet computer, while the second power interface can be located on the right side of the tablet computer.
[0097] It is understandable that if related technical solutions are adopted, the charging power of the power interfaces on both sides of the tablet is different. Therefore, when charging the tablet, the user must select the appropriate power interface to plug in the charger to achieve fast charging. However, in the embodiment of this disclosure, since the charging power of the two power interfaces is exactly the same, the user only needs to plug the charger into either power interface, which greatly simplifies the charging process and improves the user experience.
[0098] In addition, in this embodiment of the present disclosure, the charging mutual exclusion logic of the dual power interface relies on the charge pump circuit and does not rely on the system software of the electronic device. Therefore, for processes such as dead-charge activation, even if the system is not powered on, it will not affect the operation of the mutual exclusion logic of the charge pump circuit, thereby avoiding or reducing the risk of charging the two power interfaces at the same time and improving charging safety and stability.
[0099] Figure 6 The diagram illustrates the electronic device structure in some embodiments of this disclosure, which will be discussed below in conjunction with... Figure 6 Some embodiments of the electronic device described herein will be explained.
[0100] Reference Figure 6 The electronic device 1800 may include one or more of the following components: a processing component 1802, a memory 1804, a power supply component 1806, a multimedia component 1808, an audio component 1810, an input / output (I / O) interface 1812, a sensor component 1816, and a communication component 1818.
[0101] Processing component 1802 typically controls the overall operation of electronic device 1800, such as operations associated with display, telephone calls, data communication, camera operation, and recording operations. Processing component 1802 may include one or more processors 1820 to execute instructions. Furthermore, processing component 1802 may include one or more modules to facilitate interaction between processing component 1802 and other components. For example, processing component 1802 may include a multimedia module to facilitate interaction between multimedia component 1808 and processing component 1802. As another example, processing component 1802 may read executable instructions from memory to implement relevant functions of the electronic device.
[0102] Memory 1804 is configured to store various types of data to support the operation of electronic device 1800. Examples of this data include instructions for any application or method operating on electronic device 1800, contact data, phonebook data, messages, pictures, videos, etc. Memory 1804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.
[0103] Power supply component 1806 provides power to various components of electronic device 1800. Power supply component 1806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to electronic device 1800.
[0104] The multimedia component 1808 includes a display screen that provides an output interface between the electronic device 1800 and the user. In some embodiments, the multimedia component 1808 includes a front-facing camera and / or a rear-facing camera. When the electronic device 1800 is in an operating mode, such as a shooting mode or a video mode, the front-facing camera and / or the rear-facing camera can receive external multimedia data. Each front-facing camera and rear-facing camera can be a fixed optical lens system or have focal length and optical zoom capabilities.
[0105] Audio component 1810 is configured to output and / or input audio signals. For example, audio component 1810 includes a microphone (MIC) configured to receive external audio signals when electronic device 1800 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 1804 or transmitted via communication component 1818. In some embodiments, audio component 1810 also includes a speaker for outputting audio signals.
[0106] I / O interface 1812 provides an interface between processing component 1802 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.
[0107] Sensor assembly 1816 includes one or more sensors for providing state assessments of various aspects of electronic device 1800. For example, sensor assembly 1816 may detect the on / off state of electronic device 1800, the relative positioning of components such as the display and keypad of electronic device 1800, changes in position of electronic device 1800 or a component of electronic device 1800, the presence or absence of user contact with electronic device 1800, the orientation or acceleration / deceleration of electronic device 1800, and temperature changes of electronic device 1800. Sensor assembly 1816 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 1816 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 1816 may also include an accelerometer, gyroscope, magnetometer, pressure sensor, or temperature sensor.
[0108] Communication component 1818 is configured to facilitate wired or wireless communication between electronic device 1800 and other devices. Electronic device 1800 can access wireless networks based on communication standards, such as Wi-Fi, 2G, 3G, 4G, 5G, or 6G, or combinations thereof. In one exemplary embodiment, communication component 1818 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 1818 also includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
[0109] In an exemplary embodiment, the electronic device 1800 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components.
[0110] Obviously, the above embodiments are merely examples for clear illustration and are not intended to limit the embodiments. Those skilled in the art will recognize that other variations or modifications can be made based on the above description. It is neither necessary nor possible to exhaustively list all embodiments here. However, obvious variations or modifications derived therefrom are still within the scope of protection of this disclosure.
Claims
1. A charging circuit, characterized in that, include: The first power interface and the second power interface are used to connect power supply equipment; The charge pump circuit includes a first power supply terminal and a second power supply terminal. The first power supply terminal is connected to the first power interface through a first transistor switch and to the second power interface through a second transistor switch. The second power supply terminal is connected to a battery. The charge pump circuit is configured to: when a target power interface of the first power interface and the second power interface is detected to be connected to a power supply device, control the transistor switch connected to the target power interface to turn on, and control the transistor switch not connected to the target power interface to turn off.
2. The charging circuit according to claim 1, characterized in that, The first transistor switch includes a first terminal, a second terminal, and a first control terminal; the second transistor switch includes a third terminal, a fourth terminal, and a second control terminal; the first terminal is connected to the first power interface; the third terminal is connected to the second power interface; and the second terminal and the fourth terminal are connected to the first power terminal of the charge pump circuit. The charge pump circuit further includes a first driving terminal and a second driving terminal. The first driving terminal is connected to the first control terminal, and the second driving terminal is connected to the second control terminal. The first driving terminal and the second driving terminal are used to output control levels.
3. The charging circuit according to claim 2, characterized in that, The charge pump circuit further includes a first detection terminal and a second detection terminal. The first detection terminal is connected to the first power interface, and the second detection terminal is connected to the second power interface. The first detection terminal and the second detection terminal are used to detect voltage values.
4. The charging circuit according to claim 3, characterized in that, The charge pump circuit is configured as follows: If the voltage value of the first power interface is detected to be greater than or equal to the voltage threshold by the first detection terminal, the first power interface is determined to be the target power interface, and the first transistor switch is turned on by the first driving terminal and the second transistor switch is turned off by the second driving terminal. If the voltage value of the second power interface is detected to be greater than or equal to the voltage threshold by the second detection terminal, the second power interface is determined to be the target power interface, and the second transistor switch is turned on by the second driving terminal, and the first transistor switch is turned off by the first driving terminal.
5. The charging circuit according to any one of claims 1 to 4, characterized in that, It also includes a power management circuit, which includes a third power terminal and a fourth power terminal. The third power terminal is connected to the first power interface through the first transistor switch and to the second power interface through the second transistor switch. The fourth power terminal is connected to the battery.
6. The charging circuit according to claim 5, characterized in that, The power management circuit also includes a charging protocol terminal, which is connected to the protocol terminal of the first power interface and / or the second power interface. The power management circuit establishes a fast charging connection with the power supply device through the charging protocol terminal.
7. The charging circuit according to claim 1, characterized in that, The first transistor switch includes a first transistor and a second transistor connected in series, wherein the body diode of the first transistor and the body diode of the second transistor have opposite conduction directions; The second transistor switch includes a third transistor and a fourth transistor connected in series, wherein the body diode of the third transistor and the body diode of the fourth transistor have opposite conduction directions.
8. The charging circuit according to claim 1, characterized in that, It also includes a first power supply circuit, the input of which is connected to the first power supply terminal of the charge pump circuit, and the output terminal is connected to the first power interface and the second power interface respectively. The first power supply circuit is used to supply power to the electrical equipment connected to the first power interface and the second power interface.
9. The charging circuit according to claim 5, characterized in that, It also includes a second power supply circuit and a third power supply circuit. The input terminals of the second power supply circuit and the third power supply circuit are connected to the third power supply terminal of the power management circuit. The output terminal of the second power supply circuit is connected to the first power interface, and the output terminal of the third power supply circuit is connected to the second power interface. The second power supply circuit is used to supply power to the electrical equipment connected to the first power interface, and the third power supply circuit is used to supply power to the electrical equipment connected to the second power interface.
10. An electronic device, characterized in that, The device includes a charging circuit according to any one of claims 1 to 9, wherein the first power interface and the second power interface are power interfaces disposed on the frame of the electronic device and respectively located on both sides of the electronic device.