Power supply circuit, chip, electronic equipment and power supply control method
By switching the power supply path when the battery module is fully charged and using the electrical signal of the charging device to supply power, the problems of shortened battery module life and unstable power in multi-cell power supply architecture are solved, and stable power supply and extended life of battery module are achieved.
Patent Information
- Application Number
- CN202311121016.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-31
- Publication Date
- 2025-02-28
AI Technical Summary
In existing multi-cell power supply architectures, when the battery module is fully charged and connected to a charging device, the multi-cell power supply port still draws power from the battery module, resulting in a shortened battery module lifespan and unstable power output.
When the battery module is fully charged, the power supply switching module disconnects the power supply port of the multi-cell battery module from the battery module and connects the power supply to the charging interface, using the electrical signal of the charging device to supply power, thus avoiding frequent charging and discharging.
This reduces damage to the battery module's lifespan and ensures stable battery power when fully charged, without affecting the power output when the charging device is disconnected.
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of electronic circuits, and in particular to a power supply circuit, a chip, an electronic device and a power supply control method. Background Art
[0002] With the rapid development of charging technology, more and more electronic devices are equipped with multi-cell power supply architectures, which can supply power to loads with different power supply voltage requirements. For loads with higher power supply voltage requirements, power can be directly drawn from multiple cells to improve power supply efficiency. The current multi-cell power supply architecture still needs to be optimized. Summary of the invention
[0003] The embodiments of the present application disclose a power supply circuit, a chip, an electronic device and a power supply control method, which can avoid the multi-cell power supply port from drawing power from the battery module when the charging device is connected and the battery module is in a fully charged state, thereby reducing the adverse effects on the life of the battery module.
[0004] The embodiment of the present application discloses a power supply circuit, including:
[0005] A charging interface, used to connect to a charging device and receive an electrical signal input by the charging device;
[0006] A battery module, comprising at least two battery cells;
[0007] Multi-cell power supply port;
[0008] A power supply switching module is respectively connected to the charging interface, the battery module and the multi-cell power supply port. The power supply switching module is used to disconnect the first path between the multi-cell power supply port and the battery module when the battery module is in a fully charged state, and to connect the second path between the multi-cell power supply port and the charging interface, so as to supply power to the multi-cell power supply port according to the electrical signal input by the charging device.
[0009] An embodiment of the present application discloses a chip, comprising the power supply circuit as described above.
[0010] An embodiment of the present application discloses an electronic device, including the power supply circuit as described above, or including the chip as described above.
[0011] The present application discloses a power supply control method, including:
[0012] When the battery module is in a fully charged state, the power supply switching module is controlled to disconnect the first path between the multi-cell power supply port and the battery module, and to connect the second path between the multi-cell power supply port and the charging interface, so as to supply power to the multi-cell power supply port according to the electrical signal input by the charging device connected to the charging interface.
[0013] The embodiments of the present application disclose a power supply circuit, a chip, an electronic device and a power supply control method. The power supply circuit includes a charging interface, a battery module including at least two battery cells, a multi-battery power supply port and a power supply switching module. The charging interface is used to connect to a charging device and receive an electrical signal input by the charging device. When the battery module is in a fully charged state, the power supply switching module disconnects a first path between the multi-battery power supply port and the battery module, and connects a second path between the multi-battery power supply port and the charging interface to supply power to the multi-battery power supply port according to the electrical signal input by the charging device. This can avoid the problem that when the charging device is connected and the battery module is in a fully charged state, the multi-battery power supply port draws power from the battery module, causing the battery module to be frequently charged and discharged when fully charged, and can reduce the adverse effects on the life of the battery module. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0015] Figure 1 It is a schematic diagram of a dual-cell power supply architecture in the related art;
[0016] Figure 2 This is an application scenario diagram of a power supply circuit in an embodiment;
[0017] Figure 3 is a structural block diagram of a power supply circuit in one embodiment;
[0018] Figure 4 is a structural block diagram of a power supply circuit in another embodiment;
[0019] Figure 5 is a structural block diagram of a power supply circuit in another embodiment;
[0020] Figure 6 is a structural block diagram of a power supply circuit in another embodiment;
[0021] Figure 7 is a structural block diagram of a power supply circuit in another embodiment;
[0022] Fig. 8A is a circuit diagram of a power supply circuit in one embodiment;
[0023] Figure 8B is a circuit diagram of a power supply circuit in another embodiment;
[0024] Figure 8C is a circuit diagram of a power supply circuit in another embodiment;
[0025] Fig.8D is a circuit diagram of a power supply circuit in another embodiment;
[0026] Fig. 9 A structural block diagram of a chip in an embodiment;
[0027] Fig.10 FIG. 4 is a flow chart of a power supply control method in an embodiment. DETAILED DESCRIPTION
[0028] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0029] It should be noted that the terms "including" and "having" and any variations thereof in the embodiments of the present application and the accompanying drawings are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device including a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products or devices.
[0030] It is understood that the terms "first", "second", etc. used in this application may be used in this article to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish a first element from another element. For example, without departing from the scope of this application, the first switch unit may be referred to as the second switch unit, and similarly, the second switch unit may be referred to as the first switch unit. Both the first switch unit and the second switch unit are switch units, but they are not the same switch unit. The term "plurality" used in this application refers to two or more. The term "and / or" used in this application refers to one of the schemes, or any combination of multiple schemes.
[0031] Figure 1 Schematic diagram of a dual-cell power supply architecture in the related art. Figure 1As shown in the figure, in the related art, for electronic devices equipped with a dual-cell power supply architecture, it is generally necessary to use a 2:1 CP (Charger pump) to step down the dual-cell voltage V2X output by the battery module to a single-cell voltage V1X, and power the electronic device system through a charging IC (integrated circuit). For some loads that require a higher power supply voltage, the dual-cell voltage V2X can be directly obtained from the battery module for power supply to improve power supply efficiency.
[0032] When an electronic device is connected to an adapter via a USB (Universal Serial Bus) interface (such as a Type-C interface) and the battery module is in a fully charged state, it is generally necessary to disconnect the BAT FET (battery Field Effect Transistor) in the charging IC. At this time, the single-cell power supply port can draw power from the connected adapter and use the charging voltage input by the connected adapter to power the system instead of drawing power from the battery module. This can prevent the battery module from being frequently charged and discharged when the adapter is connected and the battery module is in a fully charged state. In the scenario where the adapter is connected and the battery module is in a fully charged state, if the battery module is frequently charged and discharged, it will affect the battery life and the power of the battery module when the adapter is unplugged. It is possible that the power of the battery module is not 100% (i.e., not fully charged) when the adapter is unplugged.
[0033] In related technologies, when an electronic device is connected to an adapter and the battery module is in a fully charged state, the single-cell power supply port can be powered by the adapter, but the dual-cell power supply port still needs to draw power from the battery module, which will still affect the life of the battery module and the power of the battery module when the adapter is unplugged.
[0034] The embodiments of the present application disclose a power supply circuit, a chip, an electronic device and a power supply control method, which can prevent a multi-cell power supply port from drawing power from a battery module when a charging device is connected and the battery module is in a fully charged state, thereby reducing the adverse effects on the life of the battery module and will not affect the power of the battery module when the adapter is unplugged.
[0035] Figure 2 FIG. 1 is an application scenario diagram of a power supply circuit in an embodiment. Figure 2As shown, the charging device 20 can charge the electronic device 10, and the charging method can be wired charging or wireless charging. The electronic device 10 can include but is not limited to a mobile phone, a tablet computer, a wearable device, a laptop computer, a PC (Personal Computer), etc., and the charging device 20 can include but is not limited to an adapter, a mobile power supply, etc.
[0036] The charging device 20 can establish a charging channel with the electronic device 10, and a charging circuit can be formed between the two. After the charging channel is established between the electronic device 10 and the charging device 20, the charging device 20 can output an electrical signal to the electronic device 10, and the electrical signal may include a charging voltage and / or a charging current. The charging device 20 can charge the battery module using the received charging voltage and / or charging current.
[0037] In some embodiments, a communication connection may also be established between the charging device 20 and the electronic device 10. The electronic device 10 maintains communication with the charging device 20 during the direct charging process, and the charging device 20 and the electronic device 10 may negotiate charging parameters (such as charging current, charging voltage, etc.) during the charging process, transmit battery module status data (such as the battery module power, etc.) during the charging process through the established communication connection, but are not limited thereto.
[0038] like Figure 3 As shown, in one embodiment, a power supply circuit 300 is provided, which may include a charging interface 310, a battery module 320, a multi-cell power supply port 330 and a power supply switching module 340, wherein the power supply switching module 340 may be connected to the charging interface 310, the battery module 320 and the multi-cell power supply port 330 respectively.
[0039] The charging interface 310 is used to connect to a charging device and receive an electrical signal input by the charging device.
[0040] The charging interface 310 can be connected to the charging device in a wired or wireless manner. For example, the charging interface 310 may include but is not limited to a USB charging interface, such as a Type-C charging interface, etc., which can be connected to the charging device via a USB cable and receive the electrical signal input by the charging device; for another example, the charging interface 310 may include a wireless charging interface, which can be used to receive electromagnetic signals sent by the charging device and convert the electromagnetic signals into electrical signals. The method of receiving electromagnetic signals may include but is not limited to electromagnetic induction, electromagnetic resonance, electromagnetic coupling, etc., but is not limited to these.
[0041] The electrical signal input by the electrical device may include a charging current and / or a charging voltage. Further, the charging voltage may include a stable DC voltage. The stable DC voltage may be a constant DC voltage or a nearly constant DC voltage (with a very small amplitude). The constant DC voltage refers to a DC voltage with a fixed voltage. The stable DC voltage may be used to charge the battery module and / or to power the load in the electronic device.
[0042] Optionally, the charging voltage may also be an AC voltage, which has a positive and negative direction conversion, and the voltage magnitude and direction usually change periodically over time. The power supply circuit 300 may process the input AC voltage through a rectifier circuit, a voltage conversion circuit, etc. in the charging IC to obtain a stable DC voltage, and use the stable DC voltage to charge the battery module and / or power the load in the electronic device.
[0043] The battery module 320 includes at least two battery cells.
[0044] The battery module 320 may include a plurality of battery cells, which may be connected in series. The maximum supply voltage that the battery module 320 can output may be the product of the supply voltage of a single battery cell and the number of battery cells. For example, the battery module 320 includes 2 battery cells, and the supply voltage of a single battery cell is 4.5V (volts), then the maximum supply voltage that the battery module 320 can output may be 9V. Optionally, the supply voltage of a single battery cell may be the rated voltage of a single battery cell. It should be noted that the supply voltage of a single battery cell is only used to illustrate the embodiment of the present application, and does not limit the supply voltage of a single battery cell.
[0045] The multi-cell power supply port 330 can be used to power a first load, which may refer to a load that requires a larger power supply voltage. Furthermore, the power supply voltage required by the first load may be greater than the power supply voltage of a single battery cell. For example, the power supply voltage of a single battery cell is 4.5V, and the power supply voltage required by the first load may be 6V, 9V, 8V, 10V, etc., but is not limited to this.
[0046] The power supply switching module 340 is used to disconnect the first path between the multi-cell power supply port 330 and the battery module 320 when the battery module 320 is in a fully charged state, and to connect the second path between the multi-cell power supply port 330 and the charging interface 310 to supply power to the multi-cell power supply port 330 according to the electrical signal input by the charging device.
[0047] The battery module 320 is in a fully charged state, which means that the battery module 320 is in a fully charged state, for example, the power of the battery module 320 has reached the maximum power. In the related art, when the battery module 320 is in a fully charged state, the multi-cell power supply port 330 draws power from the battery module 320, which will affect the life of the battery module and the power of the battery module 320 when the adapter is unplugged.
[0048] In the embodiment of the present application, a power supply switching module 340 may be provided on the first path between the multi-cell power supply port 330 and the battery module 320, and on the second path between the multi-cell power supply port 330 and the charging interface 310. When the battery module 320 is in a fully charged state, the power supply switching module 340 may disconnect the first path between the multi-cell power supply port 330 and the battery module 320, thereby preventing the multi-cell power supply port 330 from drawing power from the battery module 320. The power supply switching module 340 may also conduct the second path between the multi-cell power supply port 330 and the charging interface 310, so that the charging interface 310 receives the electrical signal input by the charging device and can transmit it to the multi-cell power supply port 330, so as to supply power to the multi-cell power supply port 330 according to the electrical signal input by the charging device.
[0049] When the battery module 320 is in a fully charged state, the first power supply voltage may be input to the multi-cell power supply port 330 through the charging voltage and / or charging current input by the charging device. In some embodiments, the multi-cell power supply port 330 may be connected to the first load through a conversion module, and the multi-cell power supply port 330 may input the first power supply voltage to the conversion module, and the conversion module may convert the first power supply voltage to obtain the second power supply voltage required by the first load, so as to use the second power supply voltage to power the first load.
[0050] In some embodiments, the power supply switching module 340 is also used to open the first path between the multi-cell power supply port 330 and the battery module 320 and disconnect the second path between the multi-cell power supply port 330 and the charging interface 310 when the battery module 320 is not in a fully charged state, so as to supply power to the multi-cell power supply port 330 according to the voltage output by the battery module 320.
[0051] When the battery module 320 is not in a fully charged state, the power supply switching module 340 can conduct the first path between the multi-cell power supply port 330 and the battery module 320, and disconnect the second path between the multi-cell power supply port 330 and the charging interface 310. The battery module 320 can input a first power supply voltage to the multi-cell power supply port 330 through the first path. Optionally, the first power supply voltage can be the maximum power supply voltage of the battery module 320 to supply power to the first load. When the battery module 320 is not in a fully charged state, the multi-cell power supply port 330 can draw power from the battery module 320, and can directly obtain a larger power supply voltage, which can improve the power supply efficiency and thus improve the overall endurance of the electronic device where the power supply circuit 300 is located.
[0052] In an embodiment of the present application, the power supply circuit 300 includes a charging interface 310, a battery module 320 including at least two battery cells, a multi-cell power supply port 330 and a power supply switching module 340. The charging interface 310 is used to connect to a charging device and receive an electrical signal input by the charging device. When the battery module is in a fully charged state, the power supply switching module 340 disconnects the first path between the multi-cell power supply port 330 and the battery module 320, and connects the second path between the multi-cell power supply port 330 and the charging interface 310 to supply power to the multi-cell power supply port 330 according to the electrical signal input by the charging device. This can avoid the problem that when the charging device is connected and the battery module 320 is in a fully charged state, the multi-cell power supply port 330 draws power from the battery module 320, causing the battery module 320 to frequently charge and discharge when fully charged, thereby reducing the adverse effects on the life of the battery module 320.
[0053] like Figure 4 As shown, in one embodiment, the power supply circuit 300, in addition to the charging interface 310, the battery module 320, the multi-cell power supply port 330 and the power supply switching module 340, may also include a single-cell power supply port 350 and a switch module 360. The single-cell power supply port 350 is connected to the charging interface 310, and the switch module 360 can be connected to the battery module 320 and the single-cell power supply port 350 respectively.
[0054] The single-cell power supply port 350 can be used to power a second load, which may refer to a load that requires a larger power supply voltage. Furthermore, the power supply voltage required by the second load may be less than or equal to the power supply voltage of a single cell. For example, the power supply voltage of a single cell is 4.5V, and the power supply voltage required by the second load may be 4V, 3.6V, etc., but is not limited to this.
[0055] The switch module 360 is used to disconnect the third path between the single-cell power supply port 350 and the battery module 320 when the battery module 320 is in a fully charged state, so as to supply power to the single-cell power supply port 350 according to the electrical signal input by the charging device.
[0056] When the battery module 320 is in a fully charged state, the switch module 360 can be in an off state to disconnect the third path between the single-cell power supply port 350 and the battery module 320, thereby preventing the single-cell power supply port 350 from drawing power from the battery module 320. The single-cell power supply port 350 can receive the electrical signal transmitted by the charging interface 310 to power the single-cell power supply port 350 according to the electrical signal input by the charging device.
[0057] Optionally, the switch module 360 may include, but is not limited to, switch devices such as FET (Field Effect Transistor), MOS (Metal-Oxide-Semiconductor Field-Effect Transistor), or other switch devices.
[0058] In the embodiment of the present application, when the battery module 320 is in a fully charged state, both the single-cell power supply port 350 and the multi-cell power supply port 330 are powered by the electrical signal input by the charging device. This can avoid the problem of frequent charging and discharging of the battery module 320 due to drawing power from the battery module 320 when the charging device is connected and the battery module 320 is in a fully charged state. This can reduce the adverse effects on the life of the battery module and will not affect the power of the battery module 320 when the adapter is unplugged.
[0059] In some embodiments, the switch module 360 is also used to open a third path between the single-cell power supply port 350 and the battery module 320 when the battery module 320 is not in a fully charged state, so as to supply power to the single-cell power supply port 350 according to the voltage output by the battery module 320.
[0060] When the battery module 320 is not in a fully charged state, the switch module 360 may be in an on state to conduct the third path between the single-cell power supply port 350 and the battery module 320 , and the battery module 320 may transmit a power supply voltage to the single-cell power supply port 350 to power the single-cell power supply port 350 .
[0061] Since the single-cell power supply port 350 supplies power to the second load, the power supply voltage required by the second load is relatively low, and the battery module 320 generally outputs the maximum power supply voltage, therefore, the voltage output by the battery module 320 needs to be stepped down. Figure 4As shown, in one embodiment, the power supply circuit 300 further includes a first buck module 370 , and the first buck module 370 can be connected to the battery module 320 and the switch module 360 respectively.
[0062] The first voltage reduction module 370 is used to reduce the voltage of the first voltage output by the battery module 320 to obtain a second voltage.
[0063] The switch module 360 is further used to open the third path between the single-cell power supply port 350 and the first step-down module 370 when the battery module 320 is not in a fully charged state, so as to supply power to the single-cell power supply port 350 according to the second voltage.
[0064] The first voltage output by the battery module 320 may be the maximum supply voltage of the battery module 320, and the maximum supply voltage may be the product of the supply voltage of a single battery cell and the number of battery cells included in the battery module 320. When the battery module 320 is not in a fully charged state, the switch module 360 may be in a conducting state to conduct the third path between the single-cell power supply port 350 and the first step-down module 370. The first step-down module 370 may step down the first voltage output by the battery module 320 at a ratio of N:1, where N may be the number of battery cells included in the battery module 320, and the obtained second voltage may be equal to the supply voltage of a single battery cell. Optionally, the first step-down module 370 may include N:1CP, etc., but is not limited thereto.
[0065] When the battery module 320 is not in a fully charged state, the first voltage output by the battery module 320 is stepped down by the first step-down module 370 to obtain a second voltage that meets the requirements of the single-cell power supply port 350, which can meet the power supply requirements of the second load and improve the power supply stability.
[0066] Furthermore, the switch module 360 is also used to disconnect the third path between the single-cell power supply port 350 and the first step-down module 370 when the battery module 320 is in a fully charged state, so as to supply power to the single-cell power supply port 350 according to the electrical signal input by the charging device.
[0067] In some embodiments, Figure 5 As shown, the power supply circuit 300 may further include a second buck module 380 , which may be connected to the charging interface 310 and the single-cell power supply port 350 , respectively. Further, the second buck module 380 may also be connected to the power supply switching module 340 .
[0068] The second step-down module 380 is used to step down the charging voltage input by the charging device to obtain a charging voltage that meets the requirements of the single-cell power supply port 350 .
[0069] Since most of the loads in the electronic device are second loads, the required power supply voltage is relatively low. Therefore, when the battery module 320 is in a fully charged state, the second step-down module 380 can input the charging voltage after the step-down process to the single-cell power supply port 350 and the multi-cell power supply port 330, respectively, so as to supply power to the single-cell power supply port 350 and the multi-cell power supply port 330 at the same time. In this solution, when the battery module 320 is in a fully charged state, the voltages input to the single-cell power supply port 350 and the multi-cell power supply port 330 can be the same, both of which are the charging voltages output by the second step-down module 380. Although the power-taking efficiency will be reduced compared to the method of directly taking power from the battery module 320 by the multi-cell power supply port 330 (because the first load is small, the reduced power-taking efficiency has a small impact), it can avoid the problem of frequent charging and discharging of the battery module 320 in a fully charged state, and can reduce the adverse effects on the life of the battery module.
[0070] Optionally, the second step-down module 380 may include a Buck circuit (step-down conversion circuit), etc., but is not limited thereto.
[0071] In the embodiment of the present application, when the battery module 320 is in a fully charged state, the single-cell power supply port 350 and the multi-cell power supply port 330 are both powered by the electrical signal input by the charging device, which can avoid the problem of frequent charging and discharging of the battery module 320 due to power being drawn from the battery module 320 when the charging device is connected and the battery module 320 is in a fully charged state; when the battery module 320 is not in a fully charged state, the single-cell power supply port 350 and the multi-cell power supply port 330 are both powered by the battery module 320, and the multi-cell power supply port 330 draws power directly from the battery module 320, which improves the power drawing efficiency, and the single-cell power supply port 350 draws power from the first step-down module 370, which meets the different power supply voltage requirements of the multi-cell power supply port 330 and the single-cell power supply port 350.
[0072] like Figure 6 As shown, in one embodiment, the power supply circuit 300 further includes a processor 390 , which may be connected to the power supply switching module 340 .
[0073] The processor 390 is used to control the power supply switching module 340 to disconnect the first path between the multi-cell power supply port 330 and the battery module 320 when detecting that the battery module 320 is in a fully charged state.
[0074] The processor 390 is further configured to control the power supply switching module 340 to conduct the first path between the multi-cell power supply port 330 and the battery module 320 when it is detected that the battery module 320 is not in a fully charged state.
[0075] The processor 390 can detect whether the battery module 320 is in a fully charged state, and control the power supply switching module 340 according to the detection result. In some embodiments, the processor 390 can detect whether the battery module 320 is in a fully charged state in one or more of the following ways:
[0076] Method 1: Obtain the power of the battery module 320 in real time or according to a preset first time period, and determine whether the power has reached the maximum power, such as determining whether the power of the battery module 320 has reached 100%. If the power of the battery module 320 has reached the maximum power, it can be determined that the battery module 320 is in a fully charged state. If the power of the battery module 320 has not reached the maximum power, it can be determined that the battery module 320 is not in a fully charged state.
[0077] Method 2: Acquire the voltage of the battery module 320 in real time or according to a preset second time period, and determine whether the voltage of the battery module 320 reaches the maximum voltage and maintains the maximum voltage for a time greater than or equal to a time threshold. If the voltage of the battery module 320 reaches the maximum voltage and maintains the maximum voltage for a time greater than or equal to a time threshold, it can be determined that the battery module 320 is in a fully charged state; otherwise, it can be determined that the battery module 320 is not in a fully charged state.
[0078] Method three, when the charging interface 310 is connected to the charging device, the remaining power of the battery module 320 when connected to the charging device is obtained, and the amount to be charged is determined based on the remaining power. The amount to be charged is the amount of power that needs to be charged in the battery module 320. The charging power of the charging device can be obtained, and the estimated charging time is determined based on the amount to be charged and the charging power. The estimated charging time refers to the estimated time required for the battery module 320 to be fully charged from the remaining power. When the connection time of the charging device (referring to the time when the charging interface 310 is connected to the charging device this time) reaches the estimated charging time, it can be determined that the battery module 320 is in a fully charged state. Otherwise, it can be determined that the battery module 320 is not in a fully charged state.
[0079] It should be noted that the way in which the processor 390 detects whether the battery module 320 is in a fully charged state is not limited to the above-mentioned ways, and may also be other ways, which are not limited here.
[0080] When the processor 390 detects that the battery module 320 is in a fully charged state, the processor 390 may send a first control signal to the power supply switching module 340, and control the power supply switching module 340 to disconnect the first path between the multi-cell power supply port 330 and the battery module 320 according to the first control signal to prevent the multi-cell power supply port 330 from drawing power from the battery module 320, and may enable the power supply switching module 340 to connect the second path between the charging interface 310 and the multi-cell power supply port 330 to utilize the electrical signal input by the charging device to power the multi-cell power supply port 330.
[0081] When the processor 390 detects that the battery module 320 is not in a fully charged state, the processor 390 may send a second control signal to the power supply switching module 340, and control the power supply switching module 340 to turn on the first path between the multi-cell power supply port 330 and the battery module 320 according to the second control signal, and may enable the power supply switching module 340 to disconnect the second path between the charging interface 310 and the multi-cell power supply port 330. The multi-cell power supply port 330 can directly obtain a larger power supply voltage from the battery module 320 to improve the power supply efficiency.
[0082] Optionally, the processor 390 may also be connected to the switch module 360, and the processor 390 is also used to control the switch module 360 to disconnect the third path between the single-cell power supply port 330 and the battery module 320 when it is detected that the battery module 320 is in a fully charged state; and is used to control the switch module 360 to connect the third path between the single-cell power supply port 330 and the battery module 320 when it is detected that the battery module 320 is not in a fully charged state.
[0083] When the processor 390 detects that the battery module 320 is in a fully charged state, the processor 390 may send a third control signal to the switch module 360, and control the switch module 360 to be in a disconnected state according to the third control signal, so as to disconnect the third path between the single-cell power supply port 330 and the battery module 320, and the single-cell power supply port 350 may be powered by the electrical signal input by the charging device. When the processor 390 detects that the battery module 320 is not in a fully charged state, the processor 390 may send a fourth control signal to the switch module 360, and control the switch module 360 to be in a conductive state according to the fourth control signal, so as to connect the third path between the single-cell power supply port 330 and the battery module 320, and the single-cell power supply port 330 may be powered by the voltage output by the battery module 320, and further, the single-cell power supply port 330 may be powered by the second voltage obtained after the voltage reduction processing by the first voltage reduction module.
[0084] Optionally, the above-mentioned first control signal, second control signal, third control signal and fourth control signal may include but are not limited to level signals, wherein the first control signal and the second control signal are different level signals, and the third control signal and the fourth control signal are different level signals, thereby triggering the power supply switching module 340 and the switch module 360 to switch to different states to work.
[0085] In the embodiment of the present application, the power supply circuit 300 can accurately control the working status of the power supply switching module 340 and the switch module 360 through the processor 390, thereby achieving precise control of the conduction / disconnection of the first path, the second path and the third path, thereby improving the accuracy of control.
[0086] like Figure 7 As shown, in one embodiment, the power supply switching module 340 may include a first switch unit 342 and a second switch unit 344, the first switch unit 342 may be connected to the battery module 320 and the multi-cell power supply port 330 respectively, and the second switch unit 344 may be connected to the multi-cell power supply port 330 and the charging interface 310 respectively. Further, the first end of the second switch unit 344 may be connected to the output end of the second step-down module 380, and the second end of the second switch unit 344 may be connected to the multi-cell power supply port 330.
[0087] The first switch unit 342 is used to be in an off state when the battery module 320 is in a fully charged state, so as to disconnect the first path between the multi-cell power supply port 330 and the battery module 320 .
[0088] The second switch unit 344 is used to be in a conducting state when the battery module 320 is in a fully charged state, so as to conduct a second path between the multi-cell power supply port 330 and the charging interface 310 .
[0089] When the battery module 320 is in a fully charged state, the first switch unit 342 may be in an off state to disconnect the first path between the multi-cell power supply port 330 and the battery module 320, and the battery module 320 cannot transmit voltage to the multi-cell power supply port 330; the second switch unit 344 may be in an on state to connect the second path between the multi-cell power supply port 330 and the charging interface 310, and further, to connect the second path between the multi-cell power supply port 330 and the second step-down module 380, and the second step-down module 380 may transmit the charging voltage after the step-down process to the multi-cell power supply port 330 to supply power to the multi-cell power supply port 330.
[0090] In some embodiments, the first switch unit 342 is also used to be in a conductive state when the battery module 320 is not in a fully charged state, so as to conduct the first path between the multi-cell power supply port 330 and the battery module 320; the second switch unit 344 is also used to be in a disconnected state when the battery module 320 is not in a fully charged state, so as to disconnect the second path between the multi-cell power supply port 330 and the charging interface 310.
[0091] When the battery module 320 is not in a fully charged state, the first switch unit 342 may be in an on state to conduct the first path between the multi-cell power supply port 330 and the battery module 320, and the battery module 320 may transmit the maximum power supply voltage to the multi-cell power supply port 330, thereby improving the power supply efficiency; the second switch unit 344 may be in an off state to disconnect the second path between the multi-cell power supply port 330 and the charging interface 310, and the multi-cell power supply port 330 does not use the charging device for power supply.
[0092] In some embodiments, the first switch unit 342 may include a first MOS tube and a first GPIO (General-purpose input / output) port, the first end of the first MOS tube may be connected to the multi-cell power supply port 330, the second end of the first MOS tube is connected to the battery module 320, and the third end of the first MOS tube is connected to the first GPIO port.
[0093] The first GPIO port is used to input a first level signal to the first MOS tube when the battery module 320 is in a fully charged state, and to input a second level signal to the first MOS tube when the battery module 320 is not in a fully charged state.
[0094] The first MOS transistor is used to be in a disconnected state according to the first level signal when receiving a first level signal, and to be in a conductive state according to the second level signal when receiving a second level signal.
[0095] The first MOS tube may be an N-type MOS tube or a P-type MOS tube, which is not limited in the embodiments of the present application. The gate of the first MOS tube may be connected to the first GPIO port, and the first level signal and the second level signal are different level signals, for example, the first level signal may be a low level signal, and the second level signal may be a high level signal; or, the first level signal may be a high level signal, and the second level signal may be a low level signal, etc. Whether the first level signal and the second level signal are specifically high level or low level can be determined by the level signal required to drive the first MOS tube to disconnect / conduct.
[0096] Furthermore, the gate of the first MOS tube may be connected to a first MOS driver, the first MOS driver may be connected to a first GPIO port, and the first GPIO port may input a first level signal or a second level signal to the first MOS driver to drive the first MOS tube to be disconnected or turned on.
[0097] In some embodiments, the first GPIO port may be connected to the processor 390. When the processor 390 detects that the battery module 320 is in a fully charged state, the processor 390 may input a first level signal to the first GPIO port to drive the first MOS tube to be disconnected. When the processor 390 detects that the battery module 320 is not in a fully charged state, the processor 390 may input a second level signal to the first GPIO port to drive the first MOS tube to be turned on.
[0098] In the embodiment of the present application, through the first MOS tube and the first GPIO port, the conduction / disconnection of the first path between the multi-cell power supply port 330 and the battery module 320 can be accurately controlled, thereby accurately controlling the multi-cell power supply port 330 to draw power from the charging device or from the battery module 320, thereby improving the control accuracy and control efficiency.
[0099] In some embodiments, the second switch unit 344 may include a diode, the anode of the diode may be connected to the charging interface 310, the cathode of the diode may be connected to the multi-cell power supply port 330, and further, the anode of the diode may be connected to the second step-down module 380. When the battery module 320 is in a fully charged state, the electrical signal input by the charging device supplies power to the multi-cell power supply port 330 via the diode.
[0100] When the battery module 320 is in a fully charged state, the first MOS tube is in a disconnected state, so the anode voltage of the diode is greater than the cathode voltage, the diode is turned on, and the second step-down module 380 can input the stepped-down charging voltage into the multi-cell power supply port 330 through the diode to power the multi-cell power supply port 330.
[0101] For example, Fig. 8A FIG. 1 is a circuit diagram of a power supply circuit in an embodiment. Fig. 8AAs shown, the charging interface 310 may be a Type-C interface, and the battery module 320 may include 2 cells. The Type-C interface can be connected to a charging device (such as an adapter, a mobile power supply, etc.). The charging device inputs a charging voltage through the Type-C interface, and the charging voltage is stepped down by the Buck circuit to obtain a voltage VPH_PWR. The dual-cell power supply IC may include a dual-cell power supply port and a single-cell power supply port. The dual-cell power supply port is connected to the source of the first MOS tube Q, the drain of the first MOS tube Q is connected to the battery module 320, and the gate of the first MOS tube Q is connected to the first MOS driver. The anode of the diode D is connected to the output end of the Buck circuit, the cathode of the diode D is connected to the dual-cell power supply port, and the cathode of the diode D is grounded through a capacitor. The switch module 360 includes a BAT FET, the single-cell power supply port can be connected to the first end of the BAT FET, the second end of the BAT FET can be connected to the output end of the 2:1CP, and the input end of the 2:1CP is connected to the battery module 320.
[0102] When the battery module 320 is in a fully charged state, the BAT FET is disconnected, and the voltage VPH_PWR output by the Buck circuit supplies power to the single-cell power supply port. The first MOS tube Q is disconnected, and since the anode voltage of the diode D (voltage VPH_PWR) is greater than the cathode voltage (ground), the diode D is turned on, and the voltage VPH_PWR output by the Buck circuit supplies power to the dual-cell power supply port, thereby realizing the use of the charging voltage input by the charging device to supply power to the single-cell power supply port and the dual-cell power supply port respectively.
[0103] When the battery module 320 is not in a fully charged state, the BAT FET is turned on, and the 2:1CP can step down the voltage V2X output by the battery module 320 to obtain the voltage V1X, and input the voltage V1X to the single-cell power supply port to supply power to the single-cell power supply port. The first MOS tube Q is turned on, and the battery module 320 can transmit the voltage V2X to the dual-cell power supply port. Since the anode voltage of the diode D (voltage VPH_PWR) is less than the cathode voltage (voltage V2X), the diode D is reverse biased, and the dual-cell power supply port draws power from the battery module 320.
[0104] For example, Figure 8B FIG. 1 is a circuit diagram of a power supply circuit in another embodiment. Figure 8BAs shown, the dual-cell power supply IC may also include a GPIO port, and the processor 390 may be connected to the GPIO port. When the processor 390 detects that the battery module 320 is in a fully charged state, it may send a low-level signal to the GPIO port, and the GPIO port sends the low-level signal to the first MOS driver to drive the first MOS tube Q to disconnect. When the processor 390 detects that the battery module 320 is not in a fully charged state, it may send a high-level signal to the GPIO port, and the GPIO port sends the high-level signal to the first MOS driver to drive the first MOS tube Q to turn on.
[0105] Optionally, the GPIO port can also be connected to the driver of the BAT FET. When the processor 390 detects that the battery module 320 is in a fully charged state, the GPIO port can send the low-level signal sent by the processor 390 to the first MOS driver and the BATFET driver respectively, so as to drive the first MOS tube Q and the BAT FET to be disconnected respectively; when the processor 390 detects that the battery module 320 is not in a fully charged state, the GPIO port can send the high-level signal sent by the processor 390 to the first MOS driver and the BATFET driver respectively, so as to drive the first MOS tube Q and the BAT FET to be turned on respectively. The first MOS tube and the BAT FET can share the same GPIO port, which can reduce the complexity of the electronic circuit and reduce the control complexity.
[0106] In some embodiments, the second switch unit 344 may also include a second MOS tube and a second GPIO port, the first end of the second MOS tube is connected to the multi-cell power supply port 330, the second end of the second MOS tube is connected to the cathode of the diode, and the third end of the second MOS tube is connected to the second GPIO port.
[0107] The second GPIO port is used to input a second level signal to the second MOS tube when the battery module 320 is in a fully charged state, and to input a first level signal to the second MOS tube when the battery module 320 is not in a fully charged state.
[0108] The second MOS transistor is used to be in a conducting state according to the second level signal when receiving the second level signal, and to be in a disconnecting state according to the first level signal when receiving the first level signal.
[0109] The second MOS tube may be an N-type MOS tube or a P-type MOS tube. Further, the type of the second MOS tube may be the same as that of the first MOS tube. The gate of the second MOS tube may be connected to the second GPIO port. Further, the gate of the second MOS tube may be connected to the second MOS driver. The second MOS driver may be connected to the second GPIO port. The second GPIO port may input a first level signal or a second level signal to the second MOS driver to drive the second MOS tube to disconnect or conduct.
[0110] In some embodiments, the second GPIO port may be connected to the processor 390. When the processor 390 detects that the battery module 320 is in a fully charged state, the processor 390 may input a second level signal to the second GPIO port to drive the second MOS tube to turn on. When the processor 390 detects that the battery module 320 is not in a fully charged state, the processor 390 may input a first level signal to the second GPIO port to drive the second MOS tube to turn off.
[0111] The first MOS tube and the second MOS tube are in opposite working states. When the battery module 320 is in a satisfied state, the first MOS tube is disconnected and the second MOS tube is turned on; when the battery module 320 is not in a satisfied state, the first MOS tube is turned on and the second MOS tube is disconnected. Therefore, when the processor 390 detects that the battery module 320 is in a fully charged state, the first level signal and the second level signal can be input to the first MOS tube and the second MOS tube respectively to trigger the first MOS tube to disconnect and trigger the second MOS tube to turn on. When the processor 390 detects that the battery module 320 is not in a fully charged state, the second level signal and the first level signal can be input to the first MOS tube and the second MOS tube respectively to trigger the first MOS tube to turn on and trigger the second MOS tube to disconnect.
[0112] Optionally, since the first MOS tube and the second MOS tube are in opposite working states, their working states are complementary, and thus they can share the same GPIO port, that is, the first GPIO port and the second GPIO port can be the same GPIO port. It should be noted that the first GPIO port and the second GPIO port can also be different GPIO ports, which is not limited in the embodiments of the present application.
[0113] In the embodiment of the present application, by connecting a second MOS tube in series at the cathode of the diode, it is possible to solve the problem that when a charging device is connected and the battery module 320 is activated, the voltage output by the battery module 320 may be lower than the charging voltage after the voltage reduction processing by the second step-down module 380, resulting in leakage, thereby improving the safety of the power supply circuit 300.
[0114] For example, Figure 8C FIG. 1 is a circuit diagram of a power supply circuit in another embodiment. Figure 8C As shown, the dual-cell power supply port can be connected to the source of the second MOS tube P, the drain of the second MOS tube P is connected to the cathode of the diode D, and the gate of the second MOS tube P is connected to the second MOS driver. When the battery module 320 is in a fully charged state, the second MOS tube P is turned on, the anode voltage of the diode D is greater than the cathode voltage, the diode D is turned on, and the voltage VPH_PWR output by the Buck circuit supplies power to the dual-cell power supply port. When the battery module 320 is not in a fully charged state, the second MOS tube P is disconnected, the anode voltage of the diode D is less than the cathode voltage, the diode D is reverse biased, and the dual-cell power supply port draws power from the battery module 320. By disconnecting the second MOS tube P, the voltage VPH_PWR can be prevented from leaking to the battery module 320 through the diode D and the anti-parallel diode of the first MOS tube Q.
[0115] For example, Fig.8D FIG. 1 is a circuit diagram of a power supply circuit in another embodiment. Fig.8D As shown, the GPIO port of the dual-cell power supply IC can be connected to the first MOS driver and the second MOS driver. When the processor 390 detects that the battery module 320 is in a fully charged state, it can send a low-level signal to the first MOS driver and a high-level signal to the second MOS driver through the GPIO port to drive the first MOS tube Q to be disconnected and drive the second MOS tube P to be turned on. When the processor 390 detects that the battery module 320 is not in a fully charged state, it can send a high-level signal to the first MOS driver and a low-level signal to the second MOS driver through the GPIO port to drive the first MOS tube Q to be turned on and drive the second MOS tube P to be disconnected.
[0116] It should be noted that the above-mentioned first MOS tube, second MOS tube, diode, etc. can be fully or partially arranged in the charging IC or the dual-cell power supply IC, thereby reducing the complexity of the entire peripheral circuit.
[0117] In an embodiment of the present application, the processor 390 in the power supply circuit 300 can accurately control the conduction or disconnection of the first path, the second path and the third path when it is detected that the battery module 320 is in a fully charged state or not in a fully charged state, so as to ensure that when the battery module 320 is in a fully charged state, the multi-cell power supply port 330 and the single-cell power supply port 350 are both powered by charging equipment, thereby avoiding the problem of frequent charging and discharging of the battery module 320 when it is fully charged, and ensuring that when the battery module 320 is not in a fully charged state, the multi-cell power supply port 330 draws power from the battery module 320, thereby improving the power supply efficiency.
[0118] It should be noted that the connection between the components involved in the above embodiments may refer to an electrical connection, which may be a direct connection or an indirect connection.
[0119] like Fig. 9 As shown, in one embodiment, a chip 900 is provided. The chip 900 may include the power supply circuit 300 provided in the above embodiments.
[0120] In one embodiment, an electronic device is provided. The electronic device may include the power supply circuit 300 provided in the above embodiments, or the electronic device may include the above chip 900 .
[0121] like Fig.10 As shown, in one embodiment, a power supply control method is provided, which can be applied to the above-mentioned electronic device, and / or to the above-mentioned chip 900, and / or to the above-mentioned power supply circuit 300. The method may include the following steps:
[0122] Step 1010, when the battery module is in a fully charged state, control the power supply switching module to disconnect the first path between the multi-cell power supply port and the battery module, and connect the second path between the multi-cell power supply port and the charging interface, so as to supply power to the multi-cell power supply port according to the electrical signal input by the charging device connected to the charging interface.
[0123] In one embodiment, the method also includes: when the battery module is in a fully charged state, controlling the switch module to disconnect the third path between the single-cell power supply port and the battery module, and connecting the single-cell power supply port to the charging interface to power the single-cell power supply port according to the electrical signal input by the charging device.
[0124] In one embodiment, the method further includes: when the battery module is not in a fully charged state, controlling the switch module to conduct a third path between the single-cell power supply port and the battery module to supply power to the single-cell power supply port according to the voltage output by the battery module.
[0125] In one embodiment, the method also includes: when the battery module is not in a fully charged state, controlling the power supply switching module to connect the first path between the multi-cell power supply port and the battery module, and disconnecting the second path between the multi-cell power supply port and the charging interface, so as to supply power to the multi-cell power supply port according to the voltage output by the battery module.
[0126] In one embodiment, the power supply switching module includes a first switch unit and a second switch unit; step 1010 includes: when the battery module is in a fully charged state, controlling the first switch unit to be in an off state to disconnect the first path between the multi-cell power supply port and the battery module, and making the second switch unit in an on state to connect the second path between the multi-cell power supply port and the charging interface.
[0127] In one embodiment, the method further includes: when the battery module is not in a fully charged state, controlling the first switch unit to be in an on state to conduct a first path between the multi-cell power supply port and the battery module, and placing the second switch unit in an off state to disconnect a second path between the multi-cell power supply port and the charging interface.
[0128] In one embodiment, the first switch unit includes a first MOS tube and a first GPIO port; the step of controlling the first switch unit to be in an off state includes: inputting a first level signal to the first GPIO port so that the first GPIO port inputs the first level signal to the first MOS tube to drive the first MOS tube to be in an off state.
[0129] The step of controlling the first switch unit to be in a conducting state includes: inputting a second level signal to the first GPIO port so that the first GPIO port inputs the second level signal to the first MOS tube to drive the first MOS tube to be in a conducting state.
[0130] In one embodiment, the second switch unit includes a diode, a second MOS transistor and a second GPIO port. The step of putting the second switch unit in a conducting state includes: inputting a second level signal to the second GPIO port so that the second GPIO port inputs the second level signal to the second MOS transistor to drive the second MOS transistor to be in a conducting state.
[0131] The step of putting the second switch unit in an off state includes: inputting a first level signal to the second GPIO port so that the second GPIO port inputs the first level signal to the second MOS tube to drive the second MOS tube to be in an off state.
[0132] It should be noted that the description of the power supply control method provided in the embodiment of the present application can refer to the relevant description of the power supply circuit provided in the above embodiments, and will not be repeated here.
[0133] In an embodiment of the present application, when the battery module is in a fully charged state, the power supply switching module can be controlled to disconnect the first path between the multi-cell power supply port and the battery module, and connect the second path between the multi-cell power supply port and the charging interface, so as to supply power to the multi-cell power supply port according to the electrical signal input by the charging device. This can avoid the problem that when the charging device is connected and the battery module is in a fully charged state, the multi-cell power supply port draws power from the battery module, causing the battery module to frequently charge and discharge when fully charged, and can reduce the adverse effects on the life of the battery module.
[0134] An embodiment of the present application discloses an electronic device, including a memory and a power supply circuit. The power supply circuit includes a processor. A computer program is stored in the memory. When the computer program is executed by the processor, the processor implements the methods described in the above embodiments.
[0135] An embodiment of the present application discloses a computer-readable storage medium storing a computer program, wherein the computer program implements the methods described in the above embodiments when executed by a processor.
[0136] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing related hardware through a computer program, and the program can be stored in a non-volatile computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a disk, an optical disk, a ROM, etc.
[0137] As used herein, any reference to memory, storage, database, or other medium may include nonvolatile and / or volatile memory. Suitable nonvolatile memory may include ROM, programmable ROM (Programmable ROM, PROM), erasable PROM (Erasable PROM, EPROM), electrically erasable PROM (Electrically Erasable PROM, EEPROM), or flash memory. Volatile memory may include random access memory (RAM), which is used as an external cache memory. By way of illustration and not limitation, RAM may be in a variety of forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), memory bus direct RAM (RDRAM) and direct memory bus dynamic RAM (DRDRAM).
[0138] It should be understood that "one embodiment" or "an embodiment" mentioned throughout the specification means that specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. Those skilled in the art should also be aware that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required by the present application.
[0139] In the various embodiments of the present application, it should be understood that the size of the serial numbers of the above-mentioned processes does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0140] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0141] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0142] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0143] The above is a detailed introduction to a power supply circuit, chip, electronic device and power supply control method disclosed in the embodiments of the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method and core idea of the present application. At the same time, for those of ordinary skill in the art, according to the idea of the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A power supply circuit, characterized in that: include: A charging interface, used to connect to a charging device and receive an electrical signal input by the charging device; A battery module, comprising at least two battery cells; Multi-cell power supply port; A power supply switching module is respectively connected to the charging interface, the battery module and the multi-cell power supply port. The power supply switching module is used to disconnect the first path between the multi-cell power supply port and the battery module when the battery module is in a fully charged state, and to connect the second path between the multi-cell power supply port and the charging interface, so as to supply power to the multi-cell power supply port according to the electrical signal input by the charging device.
2. The power supply circuit according to claim 1, characterized in that: The power supply circuit further includes: A single-cell power supply port connected to the charging interface; A switch module is connected to the battery module and the single-cell power supply port, respectively. The switch module is used to disconnect the third path between the single-cell power supply port and the battery module when the battery module is in the fully charged state, so as to supply power to the single-cell power supply port according to the electrical signal input by the charging device.
3. The power supply circuit according to claim 2, characterized in that: The switch module is also used to connect the third path between the single-cell power supply port and the battery module when the battery module is not in the fully charged state, so as to supply power to the single-cell power supply port according to the voltage output by the battery module.
4. The power supply circuit according to claim 3, characterized in that: The power supply circuit further includes: A first step-down module, connected to the battery module and the switch module respectively, and configured to step down the first voltage output by the battery module to obtain a second voltage; The switch module is further used to connect the third path between the single-cell power supply port and the first step-down module when the battery module is not in the fully charged state, so as to supply power to the single-cell power supply port according to the second voltage.
5. The power supply circuit according to claim 1, characterized in that: The power supply switching module is also used to connect the first path between the multi-cell power supply port and the battery module, and disconnect the second path between the multi-cell power supply port and the charging interface when the battery module is not in the fully charged state, so as to supply power to the multi-cell power supply port according to the voltage output by the battery module.
6. The power supply circuit according to any one of claims 1 to 5, characterized in that: The power supply switching module includes a first switch unit and a second switch unit, the first switch unit is connected to the battery module and the multi-cell power supply port respectively, and the second switch unit is connected to the multi-cell power supply port and the charging interface respectively; The first switch unit is used to be in a disconnected state when the battery module is in the fully charged state, so as to disconnect a first path between the multi-cell power supply port and the battery module; The second switch unit is used to be in a conducting state when the battery module is in the fully charged state, so as to conduct a second path between the multi-cell power supply port and the charging interface.
7. The power supply circuit according to claim 6, characterized in that: The first switch unit is further configured to be in a conducting state when the battery module is not in the fully charged state, so as to conduct a first path between the multi-cell power supply port and the battery module; The second switch unit is also used to be in a disconnected state when the battery module is not in the fully charged state, so as to disconnect the second path between the multi-cell power supply port and the charging interface.
8. The power supply circuit according to claim 7, characterized in that: The first switch unit includes a first MOS tube and a first general purpose input and output GPIO port, the first end of the first MOS tube is connected to the multi-cell power supply port, the second end of the first MOS tube is connected to the battery module, and the third end of the first MOS tube is connected to the first GPIO port; The first GPIO port is used to input a first level signal to the first MOS tube when the battery module is in the fully charged state, and to input a second level signal to the first MOS tube when the battery module is not in the fully charged state; The first MOS transistor is configured to be in a disconnected state according to the first level signal when receiving the first level signal, and to be in a conductive state according to the second level signal when receiving the second level signal.
9. The power supply circuit according to claim 7 or 8, characterized in that: The second switch unit includes a diode, an anode of the diode is connected to the charging interface, and a cathode of the diode is connected to the multi-cell power supply port; When the battery module is in the fully charged state, the electrical signal input by the charging device supplies power to the multi-cell power supply port via the diode.
10. The power supply circuit according to claim 9, characterized in that: The second switch unit further includes a second MOS tube and a second GPIO port, wherein a first end of the second MOS tube is connected to the multi-cell power supply port, a second end of the second MOS tube is connected to the cathode of the diode, and a third end of the second MOS tube is connected to the second GPIO port; The second GPIO port is used to input a second level signal to the second MOS tube when the battery module is in the fully charged state, and to input a first level signal to the second MOS tube when the battery module is not in the fully charged state; The second MOS transistor is used to be in a conducting state according to the second level signal when receiving the second level signal, and to be in a disconnecting state according to the first level signal when receiving the first level signal.
11. The power supply circuit according to any one of claims 1 to 5, characterized in that: The power supply circuit also includes: a processor, configured to control the power supply switching module to disconnect the first path between the multi-cell power supply port and the battery module when detecting that the battery module is in the fully charged state; The processor is further configured to control the power supply switching module to conduct a first path between the multi-cell power supply port and the battery module when it is detected that the battery module is not in the fully charged state.
12. A chip, characterized in that: The invention comprises a power supply circuit as claimed in any one of claims 1 to 11.
13. An electronic device, characterized in that: It comprises the power supply circuit as claimed in any one of claims 1 to 11, or comprises the chip as claimed in claim 12.
14. A power supply control method, characterized in that: include: When the battery module is in a fully charged state, the power supply switching module is controlled to disconnect the first path between the multi-cell power supply port and the battery module, and to connect the second path between the multi-cell power supply port and the charging interface, so as to supply power to the multi-cell power supply port according to the electrical signal input by the charging device connected to the charging interface.
15. The power supply control method according to claim 14, characterized in that: The method further comprises: When the battery module is in the fully charged state, the control switch module disconnects the third path between the single-cell power supply port and the battery module, and the single-cell power supply port is connected to the charging interface to supply power to the single-cell power supply port according to the electrical signal input by the charging device.
16. The power supply control method according to claim 15, characterized in that: The method further comprises: When the battery module is not in the fully charged state, the switch module is controlled to conduct a third path between the single-cell power supply port and the battery module, so as to supply power to the single-cell power supply port according to the voltage output by the battery module.
17. The power supply control method according to claim 14, characterized in that: The method further comprises: When the battery module is not in the fully charged state, the power supply switching module is controlled to connect the first path between the multi-cell power supply port and the battery module, and disconnect the second path between the multi-cell power supply port and the charging interface, so as to supply power to the multi-cell power supply port according to the voltage output by the battery module.
18. The power supply control method according to any one of claims 14 to 17, characterized in that: The power supply switching module includes a first switch unit and a second switch unit; the first switch unit is connected to the battery module and the multi-cell power supply port respectively, and the second switch unit is connected to the multi-cell power supply port and the charging interface respectively; When the battery module is in a fully charged state, controlling the power supply switching module to disconnect a first path between the multi-cell power supply port and the battery module and connecting a second path between the multi-cell power supply port and the charging interface includes: When the battery module is in a fully charged state, the first switch unit is controlled to be in an off state to disconnect the first path between the multi-cell power supply port and the battery module, and the second switch unit is controlled to be in an on state to connect the second path between the multi-cell power supply port and the charging interface.
19. The power supply control method according to claim 18, characterized in that: The method further comprises: When the battery module is not in the fully charged state, the first switch unit is controlled to be in the on state to conduct the first path between the multi-cell power supply port and the battery module, and the second switch unit is controlled to be in the off state to disconnect the second path between the multi-cell power supply port and the charging interface.