Power supply structure, electronic device and power supply method of power supply structure

By detecting and determining the circuit cuts off or maintains the electrical connection during the installation sequence of the battery assembly, and supplies power in parallel when the pressure difference is less than the threshold, the problem of charging medium and high voltage batteries to low voltage batteries in parallel design is solved, ensuring safe and reliable power supply.

CN113162166BActive Publication Date: 2025-07-25VIVO MOBILE COMM CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110386686.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-04-12
Publication Date
2025-07-25
Estimated Expiration
2041-07-25

AI Technical Summary

Technical Problem

In multi-battery parallel design, due to the voltage differences between different batteries, high-voltage batteries may charge low-voltage batteries, resulting in risks such as heating of the terminal and battery drumming.

Method used

When the battery assembly installation sequence is detected, the detection and determination circuit is used to cut off or maintain the electrical connection to ensure that the high-voltage battery does not charge the low-voltage battery, and power is supplied in parallel when the voltage difference is smaller than the threshold.

Benefits of technology

It effectively solves the problem of high-voltage batteries charging low-voltage batteries after different voltage batteries are installed in parallel, avoiding risks such as terminal heating and battery drumming.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113162166B_ABST
    Figure CN113162166B_ABST
Patent Text Reader

Abstract

The present application discloses a power supply structure, an electronic device, and a power supply method for the power supply structure. The power supply structure includes a first battery assembly, a second battery assembly, and a main board, wherein: a detection and determination circuit is provided on the main board, and the detection and determination circuit is configured to cut off the electrical connection between the other of the first battery assembly and the second battery assembly and a power supply port when it is detected that one of the first battery assembly and the second battery assembly is first installed on the main board, and maintain the electrical connection between the battery assembly first installed on the main board and the power supply port in a conducting state when it is detected that the other of the first battery assembly and the second battery assembly is also installed on the main board.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of terminal devices, and in particular, to a power supply structure, an electronic device, and a power supply method for the power supply structure. Background Art

[0002] With the development of mobile terminals, the display resolution and size of mobile terminals such as foldable screens and tablets, as well as the processor frequency used by mobile terminals, are all increasing. As a result, mobile terminals have higher requirements for power consumption, and thus the demand for battery capacity is increasing.

[0003] In related technologies, a design method of multiple batteries in parallel is proposed. However, in the assembly process of this design method, due to the voltage differences between different batteries, there is a phenomenon that the high-voltage battery charges the low-voltage battery after being installed on the main board. If the voltage difference between different batteries is too large, there will be a phenomenon that exceeds the rated charging rate of the battery, and in severe cases, there will also be risks such as terminal heating and battery bulging. Summary of the Invention

[0004] This application discloses a power supply structure, an electronic device, and a power supply method for the power supply structure to solve the problem that there is a phenomenon that the high-voltage battery charges the low-voltage battery after batteries with different voltages are installed in parallel on the main board.

[0005] To solve the above problems, this application adopts the following technical solutions:

[0006] In a first aspect, an embodiment of this application discloses a power supply structure, including a first battery component, a second battery component, and a main board. Among them: a detection and determination circuit is provided on the main board, and the detection and determination circuit is used to cut off the electrical connection between the other of the first battery component and the second battery component and the power supply port when it is detected that one of the first battery component and the second battery component is first installed on the main board, and keep the electrical connection between the battery component first installed on the main board and the power supply port conducting when it is detected that the other of the first battery component and the second battery component is also installed on the main board.

[0007] In a second aspect, an embodiment of this application discloses an electronic device, including the power supply structure described in the first aspect above.

[0008] In a third aspect, an embodiment of this application discloses a power supply method for a power supply structure, which is applied to an electronic device, including: cutting off the electrical connection between the second battery component and the power supply port when it is detected that the first battery component is installed on the main board and the second battery component is not installed on the main board; keeping the electrical connection between the second battery component and the power supply port disconnected after it is detected that the second battery component is installed on the main board.

[0009] Fourth aspect, an embodiment of the present application discloses an electronic device, including a processor, a memory, and a program or instruction stored on the memory and executable on the processor. When the program or instruction is executed by the processor, the steps of the power supply method described in the above third aspect are implemented.

[0010] Fifth aspect, an embodiment of the present application discloses a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the power supply method described in the above third aspect are implemented.

[0011] Sixth aspect, an embodiment of the present application discloses a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor, and the processor is used to run a terminal program or instruction to implement the power supply method described in the above third aspect.

[0012] The technical solution adopted by the present application can achieve the following beneficial effects:

[0013] A power supply structure provided by an embodiment of the present application includes a first battery component, a second battery component, and a main board. A detection and determination circuit is provided on the main board. When the detection and determination circuit on the main board detects that one of the first battery component and the second battery component is first installed on the main board, the detection and determination circuit cuts off the electrical connection between the other battery component and the power supply port, and when the other battery component is also installed on the main board, maintains the electrical connection between the battery component first installed on the main board and the power supply port in a conducting state, thereby solving the problem that there is a high-voltage battery component charging a low-voltage battery component after battery components with different voltages are installed in parallel. Description of the Drawings

[0014] Figure 1 It is a partial structural schematic diagram of a detection and determination circuit disclosed in an embodiment of the present application;

[0015] Figure 2 It is a partial structural schematic diagram of another detection and determination circuit disclosed in an embodiment of the present application;

[0016] Figure 3 It is a structural schematic diagram of a detection and determination circuit disclosed in an embodiment of the present application;

[0017] Figure 4 It is a structural schematic diagram of another detection and determination circuit disclosed in an embodiment of the present application;

[0018] Figure 5 It is a battery component structure disclosed in an embodiment of the present application;

[0019] Figure 6 It is a flowchart of a power supply method for a power supply structure disclosed in an embodiment of the present application;

[0020] Figure 7 A schematic structural diagram of an electronic device provided by an embodiment of the present application is shown;

[0021] Figure 8 A schematic hardware structure diagram of an electronic device provided by an embodiment of the present application is shown. Specific implementation manners

[0022] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are some, but not all, of the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without making creative efforts shall fall within the protection scope of the present application.

[0023] Terms such as "first" and "second" in the specification and claims of the present application are used to distinguish similar objects, rather than to describe a specific order or sequence. It should be understood that such data can be interchanged under appropriate circumstances so that the embodiments of the present application can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second", etc. are generally of the same type, and the number of objects is not limited. For example, the first object can be one or multiple. In addition, "and / or" in the specification and claims means at least one of the connected objects, and the character " / " generally represents an "or" relationship between the associated objects before and after.

[0024] A power supply structure disclosed in an embodiment of the present application includes a first battery assembly, a second battery assembly, and a main board. Among them: a detection and determination circuit is provided on the main board, and the detection and determination circuit is used to cut off the electrical connection between the other of the first battery assembly and the second battery assembly and the power supply port when it is detected that one of the first battery assembly and the second battery assembly is first installed on the main board, and keep the electrical connection between the battery assembly first installed on the main board and the power supply port conducting when it is detected that the other of the first battery assembly and the second battery assembly is also installed on the main board.

[0025] For example, when the detection and determination circuit detects that the first battery assembly is first installed on the main board, the electrical connection between the first battery assembly and the power supply port is conducted, and the electrical connection between the second battery assembly and the power supply port is cut off. When it is detected that the second battery assembly is also installed on the main board, the electrical connection between the first battery assembly and the power supply port is maintained. That is to say, when the second battery assembly is also snapped onto the main board, the first battery assembly still provides voltage to the power supply port, and the second battery assembly temporarily does not provide voltage to the power supply port.

[0026] A power supply structure provided by an embodiment of the present application includes a first battery component, a second battery component, and a main board. A detection and determination circuit is provided on the main board. When the detection and determination circuit on the main board detects that one of the first battery component and the second battery component is first installed on the main board, the detection and determination circuit cuts off the electrical connection between the other battery component and the power supply port, and when the other battery component is also installed on the main board, maintains the electrical connection between the battery component first installed on the main board and the power supply port in a conductive state, thereby solving the problem that there is a situation where a high-voltage battery component charges a low-voltage battery component after different-voltage battery components are installed in parallel.

[0027] In a further technical solution, the detection and determination circuit is further configured to, after detecting that the other of the first battery component and the second battery component is also installed on the main board, obtain the voltage difference between the first battery component and the second battery component. When the voltage difference is less than a threshold value, conduct the electrical connection between the first battery component and the power supply port, and conduct the electrical connection between the second battery component and the power supply port. That is to say, when both the first battery component and the second battery component are installed on the main board, the detection and determination circuit obtains the voltage difference between the first battery component and the second battery component. When the voltage difference between the first battery component and the second battery component is less than the threshold value, while maintaining the electrical connection between the battery component first installed on the main board and the power supply port in a conductive state, conduct the electrical connection between the battery component later installed on the main board and the power supply port, so as to realize the parallel connection of the first battery component and the second battery component to supply power to the power supply port. The threshold value can be set to 3 mV.

[0028] In the present application, the first battery component includes a first power supply pin and a first buckling determination pin; the second battery component includes a second power supply pin and a second buckling determination pin; the detection and determination circuit includes a third power supply pin, a fourth power supply pin, a third buckling determination pin, and a fourth buckling determination pin. The third power supply pin and the fourth power supply pin are respectively electrically connected to the power supply port; when the first battery component is installed on the main board, the first power supply pin is electrically connected to the third power supply pin, and the first buckling determination pin is electrically connected to the third buckling determination pin; when the second battery component is installed on the main board, the second power supply pin is electrically connected to the fourth power supply pin, and the second buckling determination pin is electrically connected to the fourth buckling determination pin.

[0029] In this application, the third power supply pin and the fourth power supply pin are respectively electrically connected to the power supply port. When the first battery assembly is installed on the main board, the first power supply pin is electrically connected to the third power supply pin, and the first fastening determination pin is electrically connected to the third fastening determination pin. When the detection and determination circuit detects through the third fastening determination pin and the fourth fastening determination pin that the first battery assembly is installed on the main board first, the first battery assembly provides voltage to the power supply port, and at the same time, the electrical connection between the fourth power supply pin and the power supply port is cut off. When the detection and determination circuit later detects that the second battery assembly is also installed on the main board, the electrical connection between the third power supply pin and the power supply port remains conductive. That is to say, when the second battery assembly is also installed on the main board, the first battery assembly still provides voltage to the power supply port, and the second battery assembly temporarily does not provide voltage to the power supply port.

[0030] Similarly, when the second battery assembly is installed on the main board, the second power supply pin is electrically connected to the fourth power supply pin, and the second fastening determination pin is electrically connected to the fourth fastening determination pin. When the detection and determination circuit detects through the third fastening determination pin and the fourth fastening determination pin that the second battery assembly is installed on the main board first, the second battery assembly provides voltage to the power supply port, and at the same time, the electrical connection between the third power supply pin and the power supply port is cut off. When the detection and determination circuit later detects that the first battery assembly is also installed on the main board, the electrical connection between the fourth power supply pin and the power supply port remains conductive. That is to say, when the first battery assembly is also installed on the main board, the second battery assembly still provides voltage to the power supply port, and the first battery assembly temporarily does not provide voltage to the power supply port.

[0031] Figure 1 It is a partial structural schematic diagram of a detection and determination circuit disclosed in an embodiment of this application. In the embodiment of this application, as Figure 1 shown, the detection and determination circuit further includes: a first on-off unit and a second on-off unit. Among them, the first end of the first on-off unit is electrically connected to the third power supply pin, the second end of the first on-off unit is electrically connected to the power supply port, and the control end of the first on-off unit is electrically connected to the third fastening determination pin and the fourth fastening determination pin respectively; the first end of the second on-off unit is electrically connected to the fourth power supply pin, the second end of the second on-off unit is electrically connected to the power supply port, and the control end of the second on-off unit is electrically connected to the third fastening determination pin and the fourth fastening determination pin.

[0032] When the fourth latching determination pin is at a high level and the third latching determination pin is at a low level, the electrical connection between the first end and the second end of the first on-off unit is disconnected. And when the third latching determination pin becomes at a high level afterwards, the electrical connection between the first end and the second end of the second on-off unit remains conducting. That is to say, when the second battery assembly is first installed on the main board, the electrical connection between the first end and the second end of the first on-off unit is disconnected, and after the first battery assembly is also installed on the main board, the electrical connection between the first end and the second end of the second on-off unit remains conducting, while the electrical connection between the first end and the second end of the first on-off unit remains temporarily disconnected.

[0033] When the third latching determination pin is at a high level and the fourth latching determination pin is at a low level, the electrical connection between the first end and the second end of the second on-off unit is disconnected. And when the fourth latching determination pin becomes at a high level afterwards, the electrical connection between the first end and the second end of the first on-off unit remains conducting. That is to say, when the first battery assembly is first installed on the main board, the electrical connection between the first end and the second end of the second on-off unit is disconnected, and after the second battery assembly is also installed on the main board, the electrical connection between the first end and the second end of the first on-off unit remains conducting, while the electrical connection between the first end and the second end of the second on-off unit remains temporarily disconnected.

[0034] Taking the first battery assembly being first installed on the main board as an example, in an alternative solution, the first on-off unit and the second on-off unit at this time can be PMOS transistors. When the third latching determination pin is at a high level and the fourth latching determination pin is at a low level, the electrical connection between the first end and the second end of the second on-off unit is disconnected, and the electrical connection between the first end and the second end of the first on-off unit is conducting.

[0035] In another alternative solution, the first on-off unit and the second on-off unit at this time can include a NOT gate and an NMOS transistor. When the third latching determination pin is at a high level and the fourth latching determination pin is at a low level, the high level output by the third latching determination pin is converted to a low level through the NOT gate of the second on-off unit, and the low level is input to the control terminal of the NMOS transistor of the second on-off unit to disconnect the electrical connection between the first end and the second end of the NMOS transistor of the second on-off unit. The low level output by the fourth latching determination pin is converted to a high level through the NOT gate of the first on-off unit, and the high level is input to the control terminal of the NMOS transistor of the first on-off unit to conduct the electrical connection between the first end and the second end of the NMOS transistor of the first on-off unit.

[0036] Certainly, the embodiments of the present application do not limit the specific configurations of the first on-off unit and the second on-off unit, as long as the electrical connection between the corresponding first end and the second end can be conducted when the control terminals of the first on-off unit and the second on-off unit are input with a high level.

[0037] In a further technical solution, the detection and determination circuit further includes: a third on-off unit, a fourth on-off unit, a first resistor unit, and a second resistor unit. Among them, the control end of the third on-off unit is electrically connected to the fourth fastening determination pin, the first end of the third on-off unit is electrically connected to the control end of the first on-off unit, the second end of the third on-off unit is grounded, and when a high level is input to the control end of the third on-off unit, it controls the electrical connection between the first end and the second end of the third on-off unit to conduct; the control end of the fourth on-off unit is electrically connected to the third fastening determination pin, the first end of the fourth on-off unit is electrically connected to the control end of the second on-off unit, the second end of the fourth on-off unit is grounded, and when a high level is input to the control end of the fourth on-off unit, it controls the electrical connection between the first end and the second end of the fourth on-off unit to conduct; one end of the first resistor unit is electrically connected to the fourth fastening determination pin, and the other end is electrically connected to the first end of the fourth on-off unit; one end of the second resistor unit is electrically connected to the third fastening determination pin, and the other end is electrically connected to the first end of the third on-off unit; when a low level is input to the control end of the first on-off unit, it controls the electrical connection between the first end and the second end of the first on-off unit to be disconnected; when a low level is input to the control end of the second on-off unit, it controls the electrical connection between the first end and the second end of the second on-off unit to be disconnected.

[0038] The first resistor unit and the second resistor unit can ensure that when another battery assembly is fastened to the main board, the electrical connection between the first end and the second end of the on-off unit electrically connected to the previously fastened battery assembly remains conductive.

[0039] Figure 2 This is a partial structural schematic diagram of another detection and determination circuit disclosed in the embodiments of the present application. In the embodiments of the present application, as Figure 2 shown, the first on-off unit and the second on-off unit can be NMOS transistors. The control ends of the first on-off unit and the second on-off unit are the gates of the NMOS transistors. The first ends of the first on-off unit and the second on-off unit are the sources of the NMOS transistors. The second ends of the first on-off unit and the second on-off unit are the drains of the NMOS transistors. The third on-off unit and the fourth on-off unit can be NPN transistors. The control ends of the third on-off unit and the fourth on-off unit are the bases of the NPN transistors. The first ends of the third on-off unit and the fourth on-off unit are the collectors of the NPN transistors. The second ends of the third on-off unit and the fourth on-off unit are the emitters of the NPN transistors.

[0040] As Figure 2As shown, during the assembly of the power supply structure, when the first battery VBAT1 is first installed on the main board and the second battery VBAT2 is installed on the main board later, when VBAT1 is installed on the main board, the first latching determination pin is electrically connected to the third latching determination pin EN_det1 in the detection determination circuit, making EN_det1 at a high level. The first end and the second end of the fourth switching unit Q4 are turned on, G2 is pulled low, and then the first end and the second end of the second switching unit Q2 are turned off. At this time, the fourth latching determination pin EN_det2 is at a low level, the first end and the second end of the third switching unit Q3 are turned off, G1 is pulled high, the first end and the second end of the first switching unit Q1 are turned on, and the power supply path of VBAT1 is turned on. The voltage of the power supply port VPH is equal to the voltage of VBAT1. At this time, VBAT2 is installed on the main board again. Since the second switching unit Q2 is turned off, VBAT2 will not directly supply power to VPH.

[0041] During the assembly of the power supply structure, when the second battery VBAT2 is first installed on the main board and the first battery VBAT1 is installed on the main board later, when VBAT2 is installed on the main board, the second latching determination pin is electrically connected to the fourth latching determination pin EN_det2 in the detection determination circuit, making EN_det2 at a high level. The first end and the second end of the third switching unit Q3 are turned on, G1 is pulled low, and then the first end and the second end of the first switching unit Q1 are turned off. At this time, the third latching determination pin EN_det1 is at a low level, the first end and the second end of the fourth switching unit Q4 are turned off, G2 is pulled high, the first end and the second end of the second switching unit Q2 are turned on, and the power supply path of VBAT2 is turned on. The voltage of the power supply port VPH is equal to the voltage of VBAT2. At this time, VBAT1 is installed on the main board again. Since the first switching unit Q1 is turned off, VBAT1 will not directly supply power to VPH.

[0042] In a further technical solution, as Figure 3As shown in the figure, the main board further includes: a power management integrated circuit module; wherein, the power management integrated circuit module includes: a first voltage detection pin, a second voltage detection pin, and an enable pin, the first voltage detection pin is electrically connected to the third power supply pin, and the second voltage detection pin is electrically connected to the fourth power supply pin; the detection and determination circuit further includes: a fifth switching unit, a sixth switching unit, a third resistor unit, and a fourth resistor unit; the control end of the fifth switching unit is electrically connected to the enable pin, the first end of the fifth switching unit is electrically connected to the first connection point, the second end of the fifth switching unit is grounded, and when the control end of the fifth switching unit is at a high level, it controls the electrical connection between the first end and the second end of the fifth switching unit to conduct, and the first connection point is the connection point of the first resistor unit, the fourth fastening determination pin, and the control end of the third switching unit; the control end of the sixth switching unit is electrically connected to the enable pin, the first end of the sixth switching unit is electrically connected to the second connection point, the second end of the sixth switching unit is grounded, and when the control end of the sixth switching unit is at a high level, it controls the electrical connection between the first end and the second end of the sixth switching unit to conduct, and the second connection point is the connection point of the second resistor unit, the third fastening determination pin, and the control end of the fourth switching unit; one end of the third resistor unit is electrically connected to the third connection point, and the other end is electrically connected to the fourth power supply pin, and the third connection point is the connection point of the first end of the fourth switching unit, the control end of the second switching unit, and the other end of the first resistor unit; one end of the fourth resistor unit is electrically connected to the fourth connection point, and the other end is electrically connected to the third power supply pin, and the fourth connection point is the connection point of the first end of the third switching unit, the control end of the first switching unit, and the other end of the second resistor unit; the power management integrated circuit module is configured to control the enable pin to output a high level when the voltage difference between the first voltage detection pin and the second voltage detection pin is less than a threshold value.

[0043] In the embodiment of the present application, as Figure 4 shown, the fifth switching unit and the sixth switching unit can be NPN transistors, the control ends of the fifth switching unit and the sixth switching unit are the bases of the NPN transistors, the first ends of the fifth switching unit and the sixth switching unit are the collectors of the NPN transistors, and the second ends of the fifth switching unit and the sixth switching unit are the emitters of the NPN transistors.

[0044] As Figure 4As shown, the first voltage detection pin VBAT1-sense of the power management integrated circuit module (AP+PMIC) is electrically connected to the third power supply pin VBAT1, the second voltage detection pin VBAT2-sense of the power management integrated circuit module (AP+PMIC) is electrically connected to the fourth power supply pin VBAT2, and the enable pin ALL-bat_on of the power management integrated circuit module (AP+PMIC) is electrically connected to the control ends of the fifth switching unit Q5 and the sixth switching unit Q6 respectively. When the power management integrated circuit module (AP+PMIC) detects that the voltage difference between the first voltage detection pin VBAT1-sense and the second voltage detection pin VBAT2-sense is less than the threshold, the power management integrated circuit module (AP+PMIC) controls the enable pin ALL-bat_on to output a high level, the first ends and the second ends of the Q5 and Q6 transistors are turned on, the Q3 and Q4 transistors fail, the first resistor unit R1 can prevent the conduction of the Q5 transistor from pulling down the level of the G2 end of the Q2 transistor, and the second resistor unit R2 can prevent the conduction of the Q6 transistor from pulling down the level of the G1 end of the Q1 transistor. Furthermore, the Q2 and Q1 transistors are turned on, and VBAT1 and VBAT2 are connected in parallel to supply power to the power supply port VPH.

[0045] Figure 5 A battery assembly structure disclosed in an embodiment of the present application. In the present application, as Figure 5 shown, the first battery assembly includes: a first battery, a fifth resistor, and a sixth resistor. Among them, the first power supply pin is electrically connected to the positive electrode of the first battery, the fifth resistor and the sixth resistor are connected in series between the positive electrode and the negative electrode of the first battery, the first snap judgment pin is electrically connected to the fifth connection point, and the fifth connection point is the connection point of the fifth resistor and the sixth resistor; the second battery assembly includes: a second battery, a seventh resistor, and an eighth resistor. Among them, the second power supply pin is electrically connected to the positive electrode of the second battery, the seventh resistor and the eighth resistor are connected in series between the positive electrode and the negative electrode of the second battery, the second snap judgment pin is electrically connected to the sixth connection point, and the sixth connection point is the connection point of the seventh resistor and the eighth resistor.

[0046] Combined with Figure 4 and Figure 5 , when the first battery assembly is installed on the main board, the first power supply pin VBAT is electrically connected to the third power supply pin VBAT1, and the first snap judgment pin DET is electrically connected to the third snap judgment pin EN_det1; when the second battery assembly is installed on the main board, the second power supply pin VBAT is electrically connected to the fourth power supply pin VBAT2, and the second snap judgment pin DET is electrically connected to the fourth snap judgment pin EN_det2.

[0047] Based on the power supply structure disclosed in the embodiments of the present application, an electronic device is disclosed in the embodiments of the present application, including the power supply structure in the above embodiments. There are many types of electronic devices, such as mobile phones, tablets, etc. The embodiments of the present application do not make specific limitations thereto.

[0048] Figure 6 It is a schematic flowchart of a power supply method for a power supply structure disclosed in the embodiments of the present application, which is applied to an electronic device. This method can be executed by the electronic device, such as a terminal device and / or a server. In other words, this method can be executed by software or hardware installed in the terminal device and / or the server. As Figure 6 shown, this method may include the following steps:

[0049] S601. When it is detected that the first battery component is installed on the main board and the second battery component is not installed on the main board, cut off the electrical connection between the second battery component and the power supply port.

[0050] Specifically, when it is detected that the first battery component is installed on the main board and the second battery component is not installed on the main board, the first power supply pin is electrically connected to the third power supply pin, the first fastening determination pin is electrically connected to the third fastening determination pin, the third fastening determination pin is at a high level, and the fourth fastening determination pin is at a low level. Furthermore, the electrical connection between the first end and the second end of the first on-off unit is conducted, and the electrical connection between the first end and the second end of the second on-off unit is disconnected. At this time, the power supply path of the first battery component is turned on, the power supply path of the second battery component is turned off, and the first battery component provides voltage to the power supply port.

[0051] S602. After it is detected that the second battery component is installed on the main board, keep the electrical connection between the second battery component and the power supply port disconnected.

[0052] In the case where the first battery component is installed on the main board first and the second battery component is installed on the main board later, when it is detected that the second battery component is installed on the main board, due to the action of the first resistance unit and the second resistance unit, the electrical connection between the first end and the second end of the first on-off unit remains conducted. That is to say, when the second battery component is also installed on the main board, the power supply path of the first battery component remains turned on, the power supply path of the second battery component remains temporarily turned off, and the first battery component still provides voltage to the power supply port, and the second battery component does not provide voltage to the power supply port temporarily.

[0053] A power supply method for a power supply structure provided by an embodiment of the present application. When it is detected that the first battery component is installed on the main board and the second battery component is not installed on the main board, the electrical connection between the second battery component and the power supply port is cut off. When it is detected that the second battery component is installed on the main board, the electrical connection between the second battery component and the power supply port remains disconnected, effectively solving the problem that there is a high-voltage battery charging a low-voltage battery after battery components with different voltages are installed in parallel.

[0054] In an embodiment of the present application, after it is detected that the second battery component is installed on the main board, the method further includes: obtaining a first power supply voltage of the first battery component and a second power supply voltage of the second battery component; when the voltage difference between the first power supply voltage and the second power supply voltage is less than a threshold, keeping the electrical connection between the first battery component and the power supply port conducting, and conducting the electrical connection between the second battery component and the power supply port. That is to say, when the first battery component is first installed on the main board and the second battery component is also installed on the main board, the power management integrated circuit module detects the first power supply voltage of the first battery component and the second power supply voltage of the second battery component, and calculates the voltage difference between the first power supply voltage and the second power supply voltage. When the voltage difference between the first power supply voltage and the second power supply voltage is less than the threshold, the enable pin of the power management integrated circuit module outputs a high level to the control ends of the fifth switching unit and the sixth switching unit, so that while keeping the electrical connection between the first end and the second end of the first switching unit conducting, the electrical connection between the first end and the second end of the second switching unit also conducts, realizing that the first battery component and the second battery component are connected in parallel to supply power to the power supply port. The threshold can be set to 3 mV.

[0055] In a possible implementation manner, after detecting the first power supply voltage of the first battery component and the second power supply voltage of the second battery component, the method further includes: when the first power supply voltage is greater than the second power supply voltage and the voltage difference between the first power supply voltage and the second power supply voltage is not less than the threshold, keeping the electrical connection between the second battery component and the power supply port disconnected. In this case, keep the electrical connection between the first end and the second end of the first switching unit conducting, and the electrical connection between the first end and the second end of the second switching unit disconnected. The first battery component provides voltage to the power supply port, consuming the first power supply voltage of the first battery component. While the first battery component is working, the power management integrated circuit module continues to detect the first power supply voltage of the first battery component and the second power supply voltage of the second battery component. When the voltage difference between the first power supply voltage and the second power supply voltage is less than the threshold, the enable pin of the power management integrated circuit module outputs a high level to the control ends of the fifth switching unit and the sixth switching unit, so that while keeping the electrical connection between the first end and the second end of the first switching unit conducting, the electrical connection between the first end and the second end of the second switching unit also conducts, realizing that the first battery component and the second battery component are connected in parallel to supply power to the power supply port.

[0056] Similarly, if the second battery module is first installed on the main board and the first battery module is later installed on the main board, its working condition is similar to that when the first battery module is first installed on the main board and the second battery module is later installed on the main board, which will not be elaborated here.

[0057] In another possible implementation manner, after detecting the first power supply voltage of the first battery module and the second power supply voltage of the second battery module, the method further includes: when the first power supply voltage is less than the second power supply voltage and the voltage difference between the first power supply voltage and the second power supply voltage is not less than a threshold value, prompting to charge the first battery module. In this case, by charging the first battery module, the first power supply voltage of the first battery module is increased.

[0058] Similarly, if the second battery module is first installed on the main board and the first battery module is later installed on the main board, its working condition is similar to that when the first battery module is first installed on the main board and the second battery module is later installed on the main board, which will not be elaborated here.

[0059] Further, after prompting to charge the first battery module, the method further includes: detecting the first power supply voltage of the first battery module; when the voltage difference between the first power supply voltage and the second power supply voltage is less than the threshold value, keeping the electrical connection between the first battery module and the power supply port conducting and conducting the electrical connection between the second battery module and the power supply port. Specifically, during the charging process of the first battery module, the power management integrated circuit module continues to detect the first power supply voltage of the first battery module and the second power supply voltage of the second battery module. When the voltage difference between the first power supply voltage and the second power supply voltage is less than the threshold value, the enable pin of the power management integrated circuit module outputs a high level to the control ends of the fifth switching unit and the sixth switching unit, so that the first switching unit and the second switching unit are simultaneously conducted, and the first battery module and the second battery module are connected in parallel to supply power to the power supply port.

[0060] A power supply method for a power supply structure provided by an embodiment of the present application detects the first power supply voltage of the first battery module and the second power supply voltage of the second battery module, calculates the voltage difference between the first power supply voltage and the second power supply voltage, and then determines whether to supply voltage to the power supply port by connecting the first battery module and the second battery module in parallel, which well solves the problem that two battery modules with different voltages will charge each other from the high-voltage battery module to the low-voltage battery module after being installed on the main board.

[0061] Optionally, as Figure 7As shown in the figure, an embodiment of the present application further provides an electronic device 700, including a processor 701, a memory 702, and a program or instruction stored on the memory 702 and executable on the processor 701. When the program or instruction is executed by the processor 701, it implements each process of the power supply method embodiment of the above power supply structure and can achieve the same technical effect. To avoid repetition, it will not be described in detail here.

[0062] Figure 8 FIG. shows a schematic hardware structure diagram of an electronic device provided by an embodiment of the present application.

[0063] The electronic device 800 includes, but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, a memory 809, and a processor 810 and other components.

[0064] Those skilled in the art can understand that the electronic device 800 may further include a power supply (such as a battery) for supplying power to each component. The power supply can be logically connected to the processor 810 through a power management system, so as to implement functions such as management of charging, discharging, and power consumption management through the power management system. Figure 8 The electronic device structure shown in does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or have different component arrangements, which will not be described in detail here.

[0065] It should be understood that in an embodiment of the present application, the input unit 804 may include a graphics processing unit (GPU) 8041 and a microphone 8042. The graphics processing unit 8041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The display unit 806 may include a display panel 8061, and the display panel 8061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 807 includes a touch panel 8071 and other input devices 8072. The touch panel 8071 is also called a touch screen. The touch panel 8071 may include two parts: a touch detection device and a touch controller. The other input devices 8072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be described in detail here.

[0066] In an embodiment of the present application, after receiving downlink data from a network-side device, the radio frequency unit 801 processes it and sends it to the processor 810. Additionally, it sends uplink data to the network-side device. Generally, the radio frequency unit 801 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low-noise amplifier, a duplexer, etc.

[0067] The memory 809 can be used to store software programs or instructions and various data. The memory 809 mainly includes a program or instruction storage area and a data storage area. Among them, the program or instruction storage area can store an operating system, applications or instructions required for at least one function (such as a sound playback function, an image playback function, etc.). In addition, the memory 809 can include a high-speed random access memory and can also include a non-volatile memory. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. For example, at least one disk storage device, a flash memory device, or other non-volatile solid-state storage devices.

[0068] The processor 810 can include one or more processing units. Optionally, the processor 810 can integrate an application processor and a modulation and demodulation processor. Among them, the application processor mainly processes the operating system, the user interface, and applications or instructions, etc., and the modulation and demodulation processor mainly processes wireless communication, such as a baseband processor. It can be understood that the above modulation and demodulation processor may not be integrated into the processor 810.

[0069] Among them, the processor 810 is used to cut off the electrical connection between the second battery component and the power supply port when it detects that the first battery component is installed on the main board and the second battery component is not installed on the main board; and keep the electrical connection between the second battery component and the power supply port disconnected after detecting that the second battery component is installed on the main board.

[0070] The embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, it implements each process of the power supply method embodiment of the above power supply structure and can achieve the same technical effect. To avoid repetition, it will not be elaborated here.

[0071] Among them, the processor is the processor in the terminal described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disks, or optical discs, etc.

[0072] Another embodiment of the present application provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run network-side device programs or instructions to implement each process of the power supply method embodiment of the above power supply structure, and can achieve the same technical effects. To avoid repetition, it will not be elaborated here.

[0073] In the above embodiments of the present application, the differences between the various embodiments are mainly described. As long as the different optimization features between the various embodiments are not contradictory, they can be combined to form a better embodiment. Considering the simplicity of the writing, it will not be elaborated here.

[0074] The above description is only for the embodiments of the present application and is not intended to limit the present application. For those skilled in the art, the present application can have various changes and modifications. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included within the scope of the claims of the present application.

Claims

1. A power supply structure, characterized in that, It includes a first battery assembly, a second battery assembly and a main board, where: A detection and determination circuit is provided on the main board. The detection and determination circuit is used to cut off the electrical connection between the other one of the first battery assembly and the second battery assembly and the power supply port when detecting that one of the first battery assembly and the second battery assembly is first installed on the main board, and keep the electrical connection between the battery assembly first installed on the main board and the power supply port conducting when detecting that the other one of the first battery assembly and the second battery assembly is also installed on the main board; The detection and determination circuit is further used to obtain the pressure difference between the first battery assembly and the second battery assembly after detecting that the other one of the first battery assembly and the second battery assembly is also installed on the main board, and conduct the electrical connection between the first battery assembly and the power supply port and conduct the electrical connection between the second battery assembly and the power supply port when the pressure difference is less than the threshold value.

2. The power supply structure according to claim 1, characterized in that The first battery assembly includes a first power supply pin and a first buckling determination pin; The second battery assembly includes a second power supply pin and a second buckling determination pin; The detection and determination circuit includes a third power supply pin, a fourth power supply pin, a third buckling determination pin, a fourth buckling determination pin, a first on-off unit and a second on-off unit. The third power supply pin and the fourth power supply pin are respectively electrically connected to the power supply port; When the first battery assembly is installed on the main board, the first power supply pin is electrically connected to the third power supply pin, and the first buckling determination pin is electrically connected to the third buckling determination pin; When the second battery assembly is installed on the main board, the second power supply pin is electrically connected to the fourth power supply pin, and the second buckling determination pin is electrically connected to the fourth buckling determination pin; The first end of the first on-off unit is electrically connected to the third power supply pin, the second end of the first on-off unit is electrically connected to the power supply port, and the control end of the first on-off unit is electrically connected to the third buckling determination pin and the fourth buckling determination pin respectively; The first end of the second on-off unit is electrically connected to the fourth power supply pin, the second end of the second on-off unit is electrically connected to the power supply port, and the control end of the second on-off unit is electrically connected to the third buckling determination pin and the fourth buckling determination pin; When the fourth buckling determination pin is at a high level and the third buckling determination pin is at a low level, the electrical connection between the first end and the second end of the first on-off unit is disconnected, and when the third buckling determination pin becomes at a high level later, the electrical connection between the first end and the second end of the second on-off unit remains conducting; When the third buckling determination pin is at a high level and the fourth buckling determination pin is at a low level, the electrical connection between the first end and the second end of the second on-off unit is disconnected, and when the fourth buckling determination pin becomes at a high level later, the electrical connection between the first end and the second end of the first on-off unit remains conducting.

3. The power supply structure according to claim 2, characterized in that, The detection and determination circuit further includes: a third on-off unit, a fourth on-off unit, a first resistor unit, and a second resistor unit, where the control end of the third on-off unit is electrically connected to the fourth fastening determination pin, the first end of the third on-off unit is electrically connected to the control end of the first on-off unit, the second end of the third on-off unit is grounded, and when a high level is input to the control end of the third on-off unit, it controls the electrical connection between the first end and the second end of the third on-off unit to conduct; the control end of the fourth on-off unit is electrically connected to the third fastening determination pin, the first end of the fourth on-off unit is electrically connected to the control end of the second on-off unit, the second end of the fourth on-off unit is grounded, and when a high level is input to the control end of the fourth on-off unit, it controls the electrical connection between the first end and the second end of the fourth on-off unit to conduct; one end of the first resistor unit is electrically connected to the fourth fastening determination pin, and the other end is electrically connected to the first end of the fourth on-off unit; one end of the second resistor unit is electrically connected to the third fastening determination pin, and the other end is electrically connected to the first end of the third on-off unit; when a low level is input to the control end of the first on-off unit, it controls the electrical connection between the first end and the second end of the first on-off unit to disconnect; when a low level is input to the control end of the second on-off unit, it controls the electrical connection between the first end and the second end of the second on-off unit to disconnect.

4. The power supply structure according to claim 3, wherein The main board further includes: a power management integrated circuit module; where the power management integrated circuit module includes: a first voltage detection pin, a second voltage detection pin, and an enable pin, the first voltage detection pin is electrically connected to the third power supply pin, and the second voltage detection pin is electrically connected to the fourth power supply pin; the detection and determination circuit further includes: a fifth on-off unit, a sixth on-off unit, a third resistor unit, and a fourth resistor unit; the control end of the fifth on-off unit is electrically connected to the enable pin, the first end of the fifth on-off unit is electrically connected to the first connection point, the second end of the fifth on-off unit is grounded, and when the control end of the fifth on-off unit is at a high level, it controls the electrical connection between the first end and the second end of the fifth on-off unit to conduct, and the first connection point is the connection point of the first resistor unit, the fourth fastening determination pin, and the control end of the third on-off unit; the control end of the sixth on-off unit is electrically connected to the enable pin, the first end of the sixth on-off unit is electrically connected to the second connection point, the second end of the sixth on-off unit is grounded, and when the control end of the sixth on-off unit is at a high level, it controls the electrical connection between the first end and the second end of the sixth on-off unit to conduct, and the second connection point is the connection point of the second resistor unit, the third fastening determination pin, and the control end of the fourth on-off unit; One end of the third resistor unit is electrically connected to the third connection point, and the other end is electrically connected to the fourth power supply pin. The third connection point is the connection point of the first end of the fourth switching unit, the control end of the second switching unit, and the other end of the first resistor unit; One end of the fourth resistor unit is electrically connected to the fourth connection point, and the other end is electrically connected to the third power supply pin. The fourth connection point is the connection point of the first end of the third switching unit, the control end of the first switching unit, and the other end of the second resistor unit; The power management integrated circuit module is configured to control the enable pin to output a high level when the voltage difference between the first voltage detection pin and the second voltage detection pin is less than a threshold.

5. The power supply structure according to any one of claims 2 to 4, wherein The first battery assembly includes: a first battery, a fifth resistor, and a sixth resistor. Among them, the first power supply pin is electrically connected to the positive electrode of the first battery, the fifth resistor and the sixth resistor are connected in series between the positive electrode and the negative electrode of the first battery, the first snap judgment pin is electrically connected to the fifth connection point, and the fifth connection point is the connection point of the fifth resistor and the sixth resistor; The second battery assembly includes: a second battery, a seventh resistor, and an eighth resistor. Among them, the second power supply pin is electrically connected to the positive electrode of the second battery, the seventh resistor and the eighth resistor are connected in series between the positive electrode and the negative electrode of the second battery, the second snap judgment pin is electrically connected to the sixth connection point, and the sixth connection point is the connection point of the seventh resistor and the eighth resistor.

6. An electronic device, characterized in that, Includes the power supply structure according to any one of claims 1 to 5.

7. A power supply method for a power supply structure, characterized in that Applied to an electronic device, including: When it is detected that the first battery assembly is installed on the main board and the second battery assembly is not installed on the main board, the electrical connection between the second battery assembly and the power supply port is cut off; After detecting that the second battery assembly is installed on the main board, keep the electrical connection between the second battery assembly and the power supply port disconnected; After detecting that the second battery assembly is installed on the main board, the method further includes: Obtain the first power supply voltage of the first battery assembly and the second power supply voltage of the second battery assembly; When the voltage difference between the first power supply voltage and the second power supply voltage is less than a threshold, keep the electrical connection between the first battery assembly and the power supply port conducting, and conduct the electrical connection between the second battery assembly and the power supply port.

8. The power supply method according to claim 7, characterized in that, After detecting the first power supply voltage of the first battery assembly and the second power supply voltage of the second battery assembly, the method further includes: When the first power supply voltage is greater than the second power supply voltage and the voltage difference between the first power supply voltage and the second power supply voltage is not less than the threshold, keep the electrical connection between the second battery assembly and the power supply port disconnected.

9. The power supply method according to claim 7, characterized in that, After detecting the first power supply voltage of the first battery assembly and the second power supply voltage of the second battery assembly, the method further includes: When the first supply voltage is less than the second supply voltage and the voltage difference between the first supply voltage and the second supply voltage is not less than the threshold value, a prompt is given to charge the first battery assembly.

10. The power supply method according to claim 9, characterized in that, After a prompt to charge the first battery assembly is given, the method further includes: Detecting the first supply voltage of the first battery assembly, and when the voltage difference between the first supply voltage and the second supply voltage is less than the threshold voltage, keeping the electrical connection between the first battery assembly and the power supply port conducting and conducting the electrical connection between the second battery assembly and the power supply port.

Citation Information

Patent Citations

  • Battery automatic switching device and control method thereof

    CN108146276A

  • Double-cell switching circuit

    CN202503357U