A circuit, power supply method, electronic device, and computer program product

By dynamically adjusting the power supply path through circuit design between the battery and electronic devices, the problem of insufficient battery output voltage under low temperature or low pressure conditions is solved, achieving stable power supply and extended battery life.

CN115001065BActive Publication Date: 2026-01-27HUAWEI TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210353890.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-06
Publication Date
2026-01-27
Estimated Expiration
2042-04-06

AI Technical Summary

Technical Problem

In low-temperature scenarios, the internal resistance of the battery increases exponentially, causing the output voltage to drop sharply, which cannot meet the normal operation of electronic devices. Furthermore, electronic devices may malfunction under low voltage conditions, resulting in the inability to fully utilize the power.

Method used

A circuit design is adopted, including a first power supply path, a second power supply path and a third power supply path connected in series. Through a first boost circuit and a one-way conductive switch, the power supply path is dynamically adjusted to provide a stable voltage, prevent overcurrent in the battery and boost circuit, and extend the battery power supply time.

Benefits of technology

In low-temperature or low-pressure conditions, a boost circuit powers electronic devices, ensuring normal operation, extending battery life, reducing power loss, and improving battery utilization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115001065B_ABST
    Figure CN115001065B_ABST
Patent Text Reader

Abstract

The application provides a circuit, an electronic device, a power supply method and a computer program product, and relates to the technical field of electronic devices. The electronic device comprises at least a battery, a working circuit and a voltage boosting circuit. When the working circuit is powered by the battery, the working circuit is powered by the voltage boosting circuit in response to the electronic device meeting low-temperature or low-voltage conditions. In the power supply path switching process, to ensure that the working circuit is not powered off, the voltage boosting circuit first powers the working circuit through a diode, and then closes the path in which the battery powers the working circuit. Before the path in which the battery powers the working circuit is closed, the voltage boosting circuit is controlled to ensure that the voltage supplied by the voltage boosting circuit to the working circuit through the diode is not greater than the voltage supplied by the battery to the working circuit, so that the voltage boosting circuit path does not back-irrigate current to the battery path. Meanwhile, the diode in the voltage boosting path ensures that the battery path does not back-irrigate current to the voltage boosting path.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of electronic technology, and more particularly to a circuit, power supply method, electronic device and computer program product. Background Technology

[0002] Currently, in low-temperature scenarios, the internal resistance of batteries increases exponentially, causing a sharp drop in battery output voltage. This makes it impossible for electronic devices to operate normally, leading to malfunctions or even shutdowns, significantly reducing the user experience. Simultaneously, in scenarios where the battery output voltage is low but still has usable charge, the electronic device may also malfunction because the battery voltage is below its preset operating voltage threshold, preventing the device from fully utilizing the battery's charge. Summary of the Invention

[0003] This application provides a circuit, power supply method, electronic device, and computer program product. When the battery is in a low temperature or low pressure state and cannot supply power to the electronic device normally, a boost circuit supplies power to the working circuit, thereby improving the battery life of the electronic device in a low temperature or low pressure state.

[0004] In a first aspect, this application provides a circuit applied to an electronic device including a battery and a first working circuit. The circuit may include: a processing circuit, a battery 110, a first working circuit, a first power supply path 160 connected in series between the battery and the first working circuit, a second power supply path 1611 connected in series between the battery and the first working circuit, and a third power supply path 1612 connected in series between the battery and the first working circuit. The first power supply path 160 may include a first switch 120, which can provide battery voltage to the first working circuit. The first switch 120 may include a first control terminal, which can be used to receive control signals from the processing circuit. The second power supply path 1611 may include a first boost circuit 131, which can perform boost conversion according to the battery voltage. The second power supply path 1611 may also include a first one-way conductive switch 1301, with the first boost circuit 131 connected in series between the battery 110 and the first one-way conductive switch 1301. A series connection is established between the first boost circuit 131 and the first working circuit, wherein the conduction direction of the first one-way conductive switch 1301 is from the first boost circuit 131 to the first working circuit; the third power supply path 1612 may include the first boost circuit 131 and the second switch 1303, the second switch 1303 and the first one-way conductive switch 1301 are connected in parallel, and the third power supply path 1612 can provide the voltage after boost conversion by the first boost circuit 131 to the first working circuit through the second switch 1303, wherein the second switch 1303 may include a second control terminal, which can be used to receive control signals from the processing circuit. When the second power supply path 1611 and the third power supply path 1612 are in the open state, and the first working circuit is powered through the first power supply path 160, when the processing circuit detects that the electronic device 100 meets the first preset condition, the processing circuit controls the second power supply path 1611 to be turned on. The second power supply path 1611 provides the voltage after boost conversion by the first boost circuit 131 to the first working circuit through the first one-way conductive switch 1301. When the second power supply path 1611 is turned on, the processing circuit controls the first switch 120 to be turned off, so that the first power supply path 160 is turned off. When the first switch 120 is turned off, the processing circuit controls the second switch 1303 to be turned on, so that the third power supply path 1612 is turned on. The third power supply path 1612 can provide the voltage after boost conversion by the first boost circuit 131 to the first working circuit through the second switch 1303. At this time, the first one-way conductive switch 1301 is turned off, so that the second power supply path 1611 is turned off.

[0005] Before disconnecting the first power supply path 160, the second power supply path 1611 is already connected. This allows the first working circuit to be powered through the second power supply path 1611 even when power supply through the first power supply path 160 stops, preventing the first working circuit from losing power due to the disconnection of the first power supply path 160. When the voltage provided by the second power supply path 1611 to the first working circuit is less than the voltage provided by the first power supply path 160, the first one-way conductive switch 1301, being unidirectionally conductive, is turned off. This prevents the output current of the battery 110 from becoming too large, further preventing the output current of the battery 110 from exceeding its overcurrent point and thus avoiding the battery 110 stopping operation and causing the first working circuit to lose power. Since the second power supply path 1611, after being connected, further connects the third power supply path 1612, causing the first one-way conductive switch 1301 to turn off and the second power supply path 1611 to disconnect, the power consumption of the first one-way conductive switch 1301 is reduced, extending the power supply time of the battery 110.

[0006] In conjunction with the first aspect, in the embodiments of this application, when the second power supply path 1611 and the third power supply path 1612 are in an open state, and the first working circuit is powered through the first power supply path 160, when the processing circuit detects that the electronic device 100 meets the first preset condition, the processing circuit controls the second power supply path 1611 to be turned on. After the second power supply path 1611 provides the voltage after the first boost circuit 131 has performed boost conversion to the first working circuit through the first one-way conductive switch 1301, the voltage provided by the second power supply path 1611 to the first working circuit is not greater than the voltage provided by the first power supply path 160 to the first working circuit.

[0007] Since the voltage provided by the second power supply path 1611 to the first working circuit is not greater than the voltage provided by the first power supply path 160 to the first working circuit, it can prevent the output current of the second power supply path 1611 from being too large when the voltage provided by the second power supply path 1611 to the first working circuit is greater than the voltage provided by the first power supply path 160 to the first working circuit. This further prevents the output current of the first boost circuit 131 from being too large and exceeding the overcurrent point of the first boost circuit 131, thus avoiding the first boost circuit 131 from stopping working and causing the voltage obtained by the first working circuit from the first power supply path 160 to be too low and unable to work normally.

[0008] In conjunction with the first aspect, in this embodiment of the application, when the second power supply path 1611 is turned on, the voltage after the first boost circuit 131 performs boost conversion is the first voltage. When the first one-way conductive switch 1301 is turned off, the second power supply path 1611 is disconnected, and the voltage after the first boost circuit 131 performs boost conversion can be adjusted to the second voltage. The first boost circuit 131 supplies power to the first working circuit through the second switch 1303, wherein the second voltage is lower than the first voltage. Since the output voltage of the first boost circuit 131 is reduced after the first one-way conductive switch 1301 is turned off, the voltage difference between the input voltage and the output voltage of the first boost circuit 131 can be reduced, thereby improving the conversion efficiency of the first boost circuit 131 and extending the power supply time of the battery 110.

[0009] In conjunction with the first aspect, in the embodiments of this application, the first switch 120 may include a transistor or a metal-oxide-semiconductor field-effect transistor (MOSFET), and the second switch 1303 may include a transistor or a metal-oxide-semiconductor field-effect transistor (MOSFET).

[0010] In conjunction with the first aspect, in the embodiments of this application, the first unidirectional conductive switch 1301 may include a diode.

[0011] In some embodiments, the first one-way conductive switch 1301 can be part of the second switch 1303, which can save the circuit board area occupied by the first one-way conductive switch 1301 and allow more electronic devices to be placed on the circuit board.

[0012] In some embodiments, the first switch 120 can be a PMOS transistor, which does not require an additional power supply to drive it. When it is turned on, its impedance is relatively low, which can reduce the power consumption of the switch.

[0013] In conjunction with the first aspect, in this embodiment of the application, the circuit may further include: a first temperature sensor 111, a second temperature sensor 151, a power detection circuit, and a voltage detection circuit, wherein the first temperature sensor 111 may be disposed on the battery 110. The first temperature sensor 111 and the second temperature sensor 151 may be used to detect temperature, the power detection circuit may be used to detect the power of the battery 110, and the voltage detection circuit may be used to detect the voltage of the battery 110. The first preset condition includes at least one of the following: the temperature detected by the first temperature sensor 111 is not higher than a first preset temperature threshold, the power of the battery 110 detected by the power detection circuit is not higher than a first preset battery capacity threshold, the voltage of the battery 110 detected by the voltage detection circuit is not higher than a first preset voltage threshold, or the temperature detected by the second temperature sensor 151 is not higher than a second preset temperature threshold.

[0014] When the electronic device 100 meets the first preset condition, the battery 110 is in a low-voltage state and cannot provide the voltage required by the first working circuit. At this time, the voltage of the battery 110 is boosted by the first boost circuit 131, so that the boosted voltage of the battery 110 can be provided to the first working circuit, and the first working circuit can work normally.

[0015] In some embodiments, the battery 110 can be a silicon anode lithium-ion battery, which can improve the energy density of the battery compared with the traditional graphite anode lithium-ion battery. At the same time, since the voltage of the silicon anode lithium-ion battery is lower than that of the graphite anode lithium-ion battery under the same power, the use of silicon anode lithium-ion battery can make it easier for the electronic device 100 to meet the above-mentioned first preset condition, so that the first boost circuit 131 boosts the voltage of the battery 110 and provides the boosted voltage to the first working circuit. Since the boosted voltage can reach the working voltage required by the first working circuit, the first working circuit can work normally, thereby improving the battery life of the silicon anode lithium-ion battery.

[0016] In conjunction with the first aspect, in this embodiment of the application, when the third power supply path 1612 supplies power to the first working circuit through the second switch 1303, when the processing circuit detects that the electronic device 100 meets the second preset condition, the processing circuit controls the second power supply path 1611 to be turned on and the third power supply path 1612 to be turned off. The second power supply path 1611 can provide the voltage after boost conversion by the first boost circuit 131 to the first working circuit through the first one-way conductive switch 1301. When the second power supply path 1611 is turned on, the processing circuit can also control the first switch 120 to be turned on, so that the first power supply path 160 is turned on, and the first power supply path 160 can supply power to the first working circuit through the first switch 120. When the first switch 120 is turned on, the processing circuit controls the second power supply path 1611 to be turned off.

[0017] Before disconnecting the second power supply path 1611, the first power supply path 160 is already connected. This ensures that when power supply to the first working circuit stops through the second power supply path 1611, power can still be supplied through the first power supply path 160, preventing power loss to the first working circuit due to the disconnection of the second power supply path 1611. Simultaneously, since the second power supply path 1611 is disconnected when the first power supply path 160 is connected, the first one-way conductive switch 1301 is turned off. This eliminates the power consumption of the first one-way conductive switch 1301 and also avoids the power loss caused by the first boost circuit 131 performing voltage boosting of the battery 110, thus extending the power supply time of the battery 110.

[0018] In some embodiments, the second preset condition may include at least one of the following: the temperature detected by the first temperature sensor 111 is higher than a third preset temperature threshold; the charge of the battery 110 detected by the power detection circuit is higher than a second preset battery capacity threshold; the voltage of the battery 110 detected by the voltage detection circuit is higher than a second preset voltage threshold; or the temperature detected by the second temperature sensor 151 is higher than a fourth preset temperature threshold.

[0019] When the processing circuit detects that the electronic device 100 meets the second preset condition and the battery 110 is not in a low-voltage state, the battery 110 can provide the voltage required by the first working circuit. At this time, after the first power supply path 160 is turned on, the second power supply path 1611 is turned off, so that the first one-way conductive switch 1301 is turned off. This can save the power consumption of the first one-way conductive switch 1301, and also save the power loss caused by the first boost circuit to boost the voltage of the battery 110, thus extending the power supply time of the battery 110.

[0020] In some embodiments, the first preset temperature threshold and the third preset temperature threshold are different, the first preset battery capacity threshold and the second preset battery capacity threshold are different, the first preset voltage threshold and the second preset voltage threshold are different, and the second preset temperature threshold and the fourth preset temperature threshold are different.

[0021] In conjunction with the first aspect, in this embodiment of the application, the circuit may further include an external power interface, and the first switch 120 may be connected in series between the battery 110 and the external power interface. The external power interface may be used to electrically connect to an external power supply device. When the external power supply device and the external power interface are electrically connected, the processing circuit may control the external power supply device to provide charging current to the battery 110 through the first switch 120.

[0022] When the electronic device 100 meets the first preset condition, the battery 110 is in a low-voltage state and cannot provide the voltage required by the first working circuit. At this time, by charging the battery 110 through an external power supply device, the voltage of the battery 110 can be changed to a normal state, and the external power supply device can provide the voltage required by the first working circuit, so that the first working circuit can work normally.

[0023] In conjunction with the first aspect, in this embodiment of the application, the circuit may further include an external power interface. When the third power supply path 1612 provides the voltage after boost conversion by the first boost circuit 131 to the first working circuit through the second switch 1303, when the processing circuit detects that the external power supply device is electrically connected to the external power interface, the processing circuit can control the second power supply path 1611 to be turned on. The second power supply path 1611 can provide the voltage after boost conversion by the first boost circuit 131 to the first working circuit through the first one-way conductive switch 1301. When the second power supply path 1611 is turned on and the third power supply path 1612 is turned off, the processing circuit can also control the external power supply device to supply power to the first working circuit through the external power interface, wherein the voltage provided by the external power supply device to the first working circuit is not less than the voltage provided by the second power supply path 1611 to the first working circuit.

[0024] Specifically, since the voltage provided by the external power supply device to the first working circuit is not less than the voltage provided by the second power supply path 1611 to the first working circuit, it can prevent the output current of the second power supply path 1611 from being too large when the voltage provided by the external power supply device to the first working circuit is less than the voltage provided by the second power supply path 1611 to the first working circuit. This further prevents the output current of the first boost circuit 131 from being too large and exceeding the overcurrent point of the first boost circuit 131, thus avoiding the first boost circuit 131 from stopping work. However, when the voltage provided by the external power supply device to the first working circuit is greater than the voltage provided by the first power supply path 160 to the first working circuit, the first one-way conductive switch 1301 is turned off because it has one-way conductivity. This can prevent the output current of the external power supply device from being too large and further prevent the output current of the external power supply device from being too large and exceeding the overcurrent point of the external power supply device, thus avoiding the external power supply device from stopping work. This would cause the first working circuit to obtain power only through the first boost circuit 131, thereby reducing the working time of the first working circuit. When the electronic device 100 meets the first preset condition, the battery 110 is in a low-voltage state and cannot provide the voltage required by the first working circuit. At this time, by charging the battery 110 through an external power supply device, the first working circuit can be provided with the voltage required by the first working circuit, so that the first working circuit can work normally.

[0025] In some embodiments, when the first operating circuit is powered by the second power supply path 1611 and an external power supply device, the second power supply path 1611 is disconnected.

[0026] In conjunction with the first aspect, in this embodiment of the application, the circuit may further include an external power interface. When the third power supply path 1612 provides the voltage after boost conversion by the first boost circuit 131 to the first working circuit through the second switch 1303, when the processing circuit detects that the external power supply device is electrically connected to the external power interface, the processing circuit can control the second power supply path 1611 to be turned on. The second power supply path 1611 can provide the voltage after boost conversion by the first boost circuit 131 to the first working circuit through the first one-way conductive switch 1301. When the second power supply path 1611 is turned on and the third power supply path 1612 is turned off, the processing circuit can control the first switch 120 to be turned on. The first power supply path 160 supplies power to the first working circuit through the first switch 120, wherein the voltage provided by the first power supply path 160 to the first working circuit through the first switch 120 is not less than the voltage provided by the second power supply path 1611 to the first working circuit. The first switch 120 can also be connected in series between the battery 110 and the external power interface. When the first switch 120 is turned on, the processing circuit can control the external power device to provide power supply current and charging current to the first working circuit and the battery 110 respectively through the external power interface. The voltage provided by the external power device to the first working circuit is not less than the voltage provided by the second power supply path 1611 to the first working circuit.

[0027] Specifically, since the voltage provided by the external power supply device to the first working circuit is not less than the voltage provided by the second power supply path 1611 to the first working circuit, it can prevent the output current of the second power supply path 1611 from being too large when the voltage provided by the external power supply device to the first working circuit is less than the voltage provided by the second power supply path 1611 to the first working circuit. This further prevents the output current of the first boost circuit 131 from being too large and exceeding the overcurrent point of the first boost circuit 131, thus avoiding the first boost circuit 131 from stopping work. However, when the voltage provided by the external power supply device to the first working circuit is greater than the voltage provided by the first power supply path 160 to the first working circuit, the first one-way conductive switch 1301 is turned off because it has one-way conductivity. This can prevent the output current of the external power supply device from being too large and further prevent the output current of the external power supply device from being too large and exceeding the overcurrent point of the external power supply device, thus avoiding the external power supply device from stopping work. Consequently, the first working circuit only obtains power through the first boost circuit 131, which reduces the working time of the first working circuit. When the electronic device 100 meets the first preset condition, the battery 110 is in a low-voltage state and cannot provide the voltage required by the first working circuit. At this time, by charging the battery 110 through an external power supply device, the first working circuit can be provided with the voltage required by the first working circuit, so that the first working circuit can work normally.

[0028] In some embodiments, when the first operating circuit is powered by the second power supply path 1611 and an external power supply device, the second power supply path 1611 is disconnected.

[0029] In conjunction with the first aspect, in the embodiments of this application, the circuit described above may further include a second working circuit, and the voltage after the first boost circuit 131 performs boost conversion may also supply power to the second working circuit.

[0030] Since the voltage after the first boost circuit 131 performs the boost conversion can directly power the second working circuit, it avoids the need for the voltage after the first boost circuit 131 to be converted by other electronic devices to power the second working circuit. This saves the power loss caused by other electronic devices converting the voltage, improves the efficiency of the first boost circuit, and avoids the need to add an extra boost circuit, thus saving the area occupied by the circuit board.

[0031] In some embodiments, the circuit may further include a third switch 1304 and a second unidirectional conductive switch 1302, wherein the second unidirectional conductive switch 1302 is connected in series between the first working circuit and the first unidirectional conductive switch 1301, the third switch 1304 and the second unidirectional conductive switch 1302 are connected in parallel, and the conduction direction of the second unidirectional conductive switch 1302 is from the first working circuit to the first unidirectional conductive switch 1301; the second switch 1303 and the first unidirectional conductive switch 1301 are connected in parallel. The second power supply path 1611 may further include a third switch 1304, wherein the third switch 1304 is connected in series between the first unidirectional conductive switch 1301 and the first working circuit; the third power supply path 1612 may further include a third switch 1304, wherein the third switch 1304 is connected in series in the third power supply path 1612; when the first working circuit is powered through the first power supply path 160, the third switch 1304 may be in the open state, the first boost circuit 131 may be in the working state, and the voltage after boosting and converting by the first boost circuit 131 may power the second working circuit.

[0032] When the voltage after boost conversion by the first boost circuit 131 directly powers the second working circuit, if the voltage provided by the first boost circuit 131 to the second working circuit is greater than the voltage provided by the first power supply path 160 to the first working circuit, the second one-way conductive switch 1302, being unidirectionally conductive, will be turned off. This prevents the output current of the first boost circuit 131 from exceeding its overcurrent point, thus avoiding the first boost circuit 131 from stopping operation and causing the second working circuit to lose power. Conversely, if the voltage provided by the first boost circuit 131 to the second working circuit is less than the voltage provided by the first power supply path 160 to the first working circuit, the first one-way conductive switch 1301, being unidirectionally conductive, will be turned off. This prevents the output current of the battery 110 from exceeding its overcurrent point, thus avoiding the battery 110 from stopping operation and causing the first and second working circuits to lose power.

[0033] In some embodiments, the third switch 1304 may include a transistor or a metal-oxide-semiconductor field-effect transistor (MOSFET).

[0034] In conjunction with the first aspect, in this embodiment of the application, the circuit further includes an output component that can output a prompt message that indicates that the electronic device 100 meets the first preset condition.

[0035] In some embodiments, the second one-way conductive switch 1302 can be part of the third switch 1304, which can save the circuit board area occupied by the second one-way conductive switch 1302 and allow more electronic devices to be placed on the circuit board.

[0036] In some embodiments, the circuit may further include a fourth power supply path 165, wherein the fourth power supply path 165 includes a second boost circuit 132, a third switch 1304, and a third unidirectional conductive switch. The input terminal of the second boost circuit 132 is electrically connected to the battery 110, and the third unidirectional conductive switch is connected in series between the output terminal of the second boost circuit 132 and the third switch 1304. The voltage provided to the first operating circuit through the fourth power supply path 165 is no greater than the voltage provided to the first operating circuit through the second power supply path 1611. Since the circuit can simultaneously boost the voltage of the battery 110 through two boost circuits to power the first operating circuit, it can provide a larger input current to the first operating circuit, thereby supporting higher system loads.

[0037] In some embodiments, the second power supply path 1611 may further include a first resistor R1, wherein the first resistor R1 is connected in series between the first boost circuit 131 and the first one-way conductive switch 1301; the fourth power supply path 165 may further include a second resistor R2, wherein the second resistor R2 is connected in series between the second boost circuit 132 and the third one-way conductive switch. When the voltage provided to the first working circuit through the fourth power supply path 165 is not equal to the voltage provided to the first working circuit through the second power supply path 1611, the first resistor R1 and the second resistor R2 can make the current provided to the first working circuit by the second power supply path 1611 and the fourth power supply path 165 equal, avoiding excessive current provided to the first working circuit by either the second power supply path 1611 or the fourth power supply path 165, which would cause the boost circuit output current to be too high, triggering overcurrent protection and preventing normal operation.

[0038] Secondly, this application provides a power supply method applied to an electronic device 100, wherein the electronic device 100 includes a battery 110, a first working circuit, a first power supply path 160, a second power supply path 1611, and a third power supply path 1612 connected in series between the battery and the first working circuit. The first power supply path 160 may include a first switch 120, through which the first power supply circuit 160 provides battery voltage to the first working circuit; the second power supply path 1611 may include a first boost circuit 131, which can perform boost conversion according to the battery voltage, and the second power supply path 1611 can supply power to the first working circuit according to the voltage after boost conversion by the first boost circuit 131; the third power supply path 1612 may include the first boost circuit 131, and the third power supply path 1612 can supply power to the first working circuit according to the voltage after boost conversion by the first boost circuit 131; the second power supply path 1611 may also include a first one-way conductive switch 1301, wherein the first boost circuit 131 is connected in series between the battery 110 and the first one-way conductive switch 1301, and the first one-way conductive switch 1301 is connected in series between the first boost circuit 131 and the first working circuit, and the conduction direction of the first one-way conductive switch 1301 is the direction from the first boost circuit 131 to the first working circuit. The method specifically includes: when the second power supply path 1611 and the third power supply path 1612 are in an open state, and the first working circuit is powered through the first power supply path 160, when the electronic device 100 meets the first preset condition, the second power supply path 1611 is turned on, and the first working circuit can be powered through the first power supply path 160 and the second power supply path 1611, wherein the voltage provided by the second power supply path 1611 to the first working circuit is not greater than the voltage provided by the first power supply path 160 to the first working circuit; when the second power supply path 1611 is turned on, the first power supply path 160 can be turned off and the third power supply path 1612 can be turned on; when the third power supply path 1612 is turned on and the second power supply path 1611 is turned off, the first working circuit can be powered through the third power supply path 1612.

[0039] Before disconnecting the first power supply path 160, the second power supply path 1611 is already connected. This allows the first working circuit to be powered through the second power supply path 1611 even when power supply through the first power supply path 160 stops, preventing the first working circuit from losing power due to the disconnection of the first power supply path 160. When the voltage provided by the second power supply path 1611 to the first working circuit is less than the voltage provided by the first power supply path 160, the first one-way conductive switch 1301, being unidirectionally conductive, is turned off. This prevents the output current of the battery 110 from becoming too large, further preventing the output current of the battery 110 from exceeding its overcurrent point and thus avoiding the battery 110 stopping operation and causing the first working circuit to lose power. Since the second power supply path 1611, after being connected, further connects the third power supply path 1612, causing the first one-way conductive switch 1301 to turn off and the second power supply path 1611 to disconnect, the power consumption of the first one-way conductive switch 1301 is reduced, extending the power supply time of the battery 110.

[0040] In conjunction with the second aspect, in the embodiments of this application, when the second power supply path 1611 and the third power supply path 1612 are in an open state, and the first working circuit is powered through the first power supply path 160, when the electronic device 100 meets the first preset condition, the second power supply path 1611 is turned on, and the first working circuit can be powered through the first power supply path 160 and the second power supply path 1611. In this case, the voltage provided by the first boost circuit 131 to the first working circuit through the first one-way conductive switch 1301 is not greater than the voltage provided by the first power supply path 160 to the first working circuit.

[0041] Since the voltage provided by the second power supply path 1611 to the first working circuit is not greater than the voltage provided by the first power supply path 160 to the first working circuit, it can prevent the output current of the second power supply path 1611 from being too large when the voltage provided by the second power supply path 1611 to the first working circuit is greater than the voltage provided by the first power supply path 160 to the first working circuit. This further prevents the output current of the first boost circuit 131 from being too large and exceeding the overcurrent point of the first boost circuit 131, thus avoiding the first boost circuit 131 from stopping working and causing the voltage obtained by the first working circuit from the first power supply path 160 to be too low and unable to work normally.

[0042] In conjunction with the second aspect, in this embodiment of the application, the aforementioned electronic device 100 may further include: a first temperature sensor 111, a second temperature sensor 151, a power detection circuit, and a voltage detection circuit, wherein the first temperature sensor 111 may be disposed on the battery 110. The first temperature sensor 111 and the second temperature sensor 151 may be used to detect temperature, the power detection circuit may be used to detect the power level of the battery 110, and the voltage detection circuit may be used to detect the voltage of the battery 110. The first preset condition includes at least one of the following: the temperature detected by the first temperature sensor 111 is not higher than a first preset temperature threshold; the power level of the battery 110 detected by the power detection circuit is not higher than a first preset battery capacity threshold; the voltage of the battery 110 detected by the voltage detection circuit is not higher than a first preset voltage threshold; or the temperature detected by the second temperature sensor 151 is not higher than a second preset temperature threshold.

[0043] When the electronic device 100 meets the first preset condition, the battery 110 is in a low-voltage state and cannot provide the voltage required by the first working circuit. At this time, the voltage of the battery 110 is boosted by the first boost circuit 131, so that the boosted voltage of the battery 110 can be provided to the first working circuit, and the first working circuit can work normally.

[0044] In conjunction with the second aspect, in this embodiment of the application, when the first working circuit is powered by the third power supply path 1612, if the electronic device 100 meets the second preset condition, the second power supply path 1611 is turned on, and the third power supply path 1612 is turned off, so the first working circuit can be powered through the second power supply path 1611. When the second power supply path 1611 is turned on, the first power supply path 160 is turned on, so the first working circuit can be powered through the first power supply path 160 and the second power supply path 1611. When the first power supply path 160 is turned on, the second power supply path 1611 is turned off, so the first working circuit can be powered through the first power supply path 160.

[0045] Before disconnecting the second power supply path 1611, the first power supply path 160 is already connected. This ensures that when power supply to the first working circuit stops through the second power supply path 1611, power can still be supplied through the first power supply path 160, preventing power loss to the first working circuit due to the disconnection of the second power supply path 1611. Simultaneously, since the second power supply path 1611 is disconnected when the first power supply path 160 is connected, the first one-way conductive switch 1301 is turned off. This eliminates the power consumption of the first one-way conductive switch 1301 and also avoids the power loss caused by the first boost circuit 131 performing voltage boosting of the battery 110, thus extending the power supply time of the battery 110.

[0046] In some embodiments, the first preset temperature threshold and the third preset temperature threshold are different, the first preset battery capacity threshold and the second preset battery capacity threshold are different, the first preset voltage threshold and the second preset voltage threshold are different, and the second preset temperature threshold and the fourth preset temperature threshold are different.

[0047] In some embodiments, the electronic device 100 may further include: a first temperature sensor 111, a second temperature sensor 151, a power detection circuit, and a voltage detection circuit, wherein the first temperature sensor 111 may be disposed on the battery 110. The first temperature sensor 111 and the second temperature sensor 151 may be used to detect temperature, the power detection circuit may be used to detect the power level of the battery 110, and the voltage detection circuit may be used to detect the voltage of the battery 110. The second preset condition may include at least one of the following: the temperature detected by the first temperature sensor 111 is higher than a third preset temperature threshold, the power level of the battery 110 detected by the power detection circuit is higher than a second preset battery capacity threshold, the voltage of the battery 110 detected by the voltage detection circuit is higher than a second preset voltage threshold, or the temperature detected by the second temperature sensor 151 is higher than a fourth preset temperature threshold.

[0048] When the electronic device 100 meets the second preset condition, the battery 110 is not in a low-voltage state. The battery 110 can provide the voltage required by the first working circuit. At this time, after the first power supply path 160 is turned on, the second power supply path 1611 is turned off, so that the first one-way conductive switch 1301 is turned off. This can save the power consumption of the first one-way conductive switch 1301, and also save the power loss caused by the first boost circuit to boost the voltage of the battery 110, which can extend the power supply time of the battery 110.

[0049] In some embodiments, after the second power supply path 1611 is turned on and before the first power supply path 160 is turned on, the output voltage of the first boost circuit 131 is adjusted so that after the first power supply path 160 is turned on, the voltage provided to the first working circuit through the second power supply path 1611 is not greater than the voltage provided to the first working circuit through the first power supply path 160.

[0050] Specifically, since the voltage supplied to the first working circuit through the second power supply path 1611 is no greater than the voltage supplied to the first working circuit through the first power supply path 160, it can prevent the output current of the second power supply path 1611 from being too large when the voltage supplied to the first working circuit through the second power supply path 1611 is greater than the voltage supplied to the first working circuit through the first power supply path 160. This further prevents the output current of the first boost circuit 131 from being too large and exceeding the overcurrent point of the first boost circuit 131, thus avoiding the first boost circuit 131 from stopping work. When the voltage supplied to the first working circuit through the second power supply path 1611 is less than the voltage supplied to the first working circuit through the first power supply path 160, the first one-way conductive switch 1301 is turned off because it has one-way conductivity. This can prevent the output current of the battery 110 from being too large and further prevent the output current of the battery 110 from being too large and exceeding the overcurrent point of the battery 110, thus avoiding the battery 110 from stopping work and causing the first working circuit to lose power.

[0051] In conjunction with the second aspect, in this embodiment of the application, the method further includes: when the first working circuit is powered through the third power supply path 1612, and the power interface of the external power supply device and the electronic device 100 is electrically connected, the second power supply path 1611 can be turned on; when the third power supply path 1612 is turned off, the first working circuit can be powered through the second power supply path 1611; when the second power supply path 1611 is turned on, the first working circuit can also be powered through the external power supply device, wherein the voltage provided by the external power supply device to the first working circuit is not less than the voltage provided by the second power supply path 1611 to the first working circuit.

[0052] Specifically, since the voltage provided by the external power supply device to the first working circuit is not less than the voltage provided by the second power supply path 1611 to the first working circuit, it can prevent the output current of the second power supply path 1611 from being too large when the voltage provided by the external power supply device to the first working circuit is less than the voltage provided by the second power supply path 1611 to the first working circuit. This further prevents the output current of the first boost circuit 131 from being too large and exceeding the overcurrent point of the first boost circuit 131, thus avoiding the first boost circuit 131 from stopping work. However, when the voltage provided by the external power supply device to the first working circuit is greater than the voltage provided by the first power supply path 160 to the first working circuit, the first one-way conductive switch 1301 is turned off because it has one-way conductivity. This can prevent the output current of the external power supply device from being too large and further prevent the output current of the external power supply device from being too large and exceeding the overcurrent point of the external power supply device, thus avoiding the external power supply device from stopping work. This would cause the first working circuit to obtain power only through the first boost circuit 131, thereby reducing the working time of the first working circuit. When the electronic device 100 meets the first preset condition, the battery 110 is in a low-voltage state and cannot provide the voltage required by the first working circuit. At this time, by charging the battery 110 through an external power supply device, the first working circuit can be provided with the voltage required by the first working circuit, so that the first working circuit can work normally.

[0053] In some embodiments, the first switch 120 may also be connected in series between the battery 110 and the power interface of the electronic device 100. When the second power supply path 1611 is turned on, the first working circuit can be powered by an external power supply device. When the first switch 120 is turned on, the battery 110 can be charged by an external power supply device. The voltage provided by the external power supply device to the first working circuit is not less than the voltage provided by the second power supply path 1611 to the first working circuit.

[0054] When the electronic device 100 meets the first preset condition, the battery 110 is in a low-voltage state and cannot provide the voltage required by the first working circuit. At this time, by charging the battery 110 through an external power supply device, the voltage of the battery 110 can be changed to a normal state, and the external power supply device can provide the voltage required by the first working circuit, so that the first working circuit can work normally.

[0055] In some embodiments, when the first operating circuit is powered by the second power supply path 1611 and an external power supply device, the second power supply path 1611 is disconnected.

[0056] In conjunction with the second aspect, in this embodiment of the application, when the first working circuit is powered by the third power supply path 1612, when the external power supply device is electrically connected to the electronic device 100, the second power supply path 1611 can be turned on, and the first working circuit can be powered through the second power supply path 1611; when the second power supply path 1611 is turned on and the third power supply path 1612 is turned off, the first power supply path 160 can be turned on, and the first working circuit can be powered through the first power supply path 160 and the second power supply path 1611, wherein the voltage provided by the first power supply path 160 to the first working circuit is not less than the voltage provided by the second power supply path 1611 to the first working circuit. The first switch 120 can also be connected in series between the battery 110 and the power interface of the electronic device 100. When the first power supply path 160 is turned on, the first switch 120 is turned on, and the external power supply device can provide power supply current and charging current to the first working circuit and the battery 110 respectively, wherein the voltage provided by the external power supply device to the first working circuit is not less than the voltage provided by the second power supply path 1611 to the first working circuit.

[0057] Specifically, since the voltage provided by the external power supply device to the first working circuit is not less than the voltage provided by the second power supply path 1611 to the first working circuit, it can prevent the output current of the second power supply path 1611 from being too large when the voltage provided by the external power supply device to the first working circuit is less than the voltage provided by the second power supply path 1611 to the first working circuit. This further prevents the output current of the first boost circuit 131 from being too large and exceeding the overcurrent point of the first boost circuit 131, thus avoiding the first boost circuit 131 from stopping work. However, when the voltage provided by the external power supply device to the first working circuit is greater than the voltage provided by the first power supply path 160 to the first working circuit, the first one-way conductive switch 1301 is turned off because it has one-way conductivity. This can prevent the output current of the external power supply device from being too large and further prevent the output current of the external power supply device from being too large and exceeding the overcurrent point of the external power supply device, thus avoiding the external power supply device from stopping work. Consequently, the first working circuit only obtains power through the first boost circuit 131, which reduces the working time of the first working circuit. When the electronic device 100 meets the first preset condition, the battery 110 is in a low-voltage state and cannot provide the voltage required by the first working circuit. At this time, by charging the battery 110 through an external power supply device, the first working circuit can be provided with the voltage required by the first working circuit, so that the first working circuit can work normally.

[0058] In some embodiments, when the first operating circuit is powered by the second power supply path 1611 and an external power supply device, the second power supply path 1611 is disconnected.

[0059] In conjunction with the second aspect, in the embodiments of this application, the above-mentioned electronic device 100 may further include a second working circuit, and the voltage after the first boost circuit 131 performs boost conversion may also power the second working circuit.

[0060] Since the voltage after the first boost circuit 131 performs the boost conversion can directly power the second working circuit, the voltage after the first boost circuit 131 performs the boost conversion needs to be converted by other electronic devices to power the second working circuit, thus saving the power loss caused by other electronic devices converting the voltage.

[0061] In some embodiments, the third power supply path 1612 may further include a second switch 1303, wherein the second switch 1303 is connected in series with the third power supply path 1612, and the second switch 1303 is connected in parallel with the first one-way conductive switch 1301. When the electronic device 100 meets the first preset condition, it can turn on the first one-way conductive switch, making the second power supply path 1611 conduct, at which time the second switch 1303 is off; when the second power supply path 1611 is on, the electronic device 100 turns off the first switch 120, making the first power supply path 160 off; when the electronic device 100 turns off the first power supply path 160, the electronic device 100 turns on the second switch 1303, making the third power supply path 1612 conduct, and the first one-way conductive switch 1301 is off; when the first one-way conductive switch 1301 is off, the second power supply path 1611 is off, and the third power supply path 1612 can supply power to the first working circuit through the second switch 1303.

[0062] Since the second switch 1303 is connected in parallel with the first one-way conductive switch 1301, when the first working circuit is powered by the second power supply path 1611, the third power supply path 1612 can be turned on by turning on the second switch 1303, thereby turning off the first one-way conductive switch 1301. This saves the power consumption of the first one-way conductive switch 1301 and extends the power supply time of the battery 110.

[0063] In some embodiments, the electronic device 100 may further include a third switch 1304 and a second one-way conductive switch 1302, wherein the third switch 1304 and the second one-way conductive switch 1302 are connected in parallel, the third switch 1304 may also be connected in series with the second switch 1303 in the third power supply path 1612, and the third switch 1304 may also be connected in series with the first one-way conductive switch 1301 in the second power supply path 1611. When the second power supply path 1611 and the third power supply path 1612 are in an open state, and the first working circuit is powered through the first power supply path 160, the first boost circuit 131 may be in a working state, and the voltage after boost conversion by the first boost circuit can power the second working circuit, wherein the second power supply path 1611 and the second switch 1303 are in an open state;

[0064] When the voltage after boost conversion by the first boost circuit 131 directly powers the second working circuit, if the voltage provided by the first boost circuit 131 to the second working circuit is greater than the voltage provided by the first power supply path 160 to the first working circuit, the second one-way conductive switch 1302, being unidirectionally conductive, will be turned off. This prevents the output current of the first boost circuit 131 from exceeding its overcurrent point, thus avoiding the first boost circuit 131 from stopping operation and causing the second working circuit to lose power. Conversely, if the voltage provided by the first boost circuit 131 to the second working circuit is less than the voltage provided by the first power supply path 160 to the first working circuit, the first one-way conductive switch 1301, being unidirectionally conductive, will be turned off. This prevents the output current of the battery 110 from exceeding its overcurrent point, thus avoiding the battery 110 from stopping operation and causing the first and second working circuits to lose power. When the electronic device 100 meets the first preset condition, it can turn on the third switch 1304 and the first one-way conductive switch 1301, so that the second power supply path 1611 is connected, and the second switch 1303 is disconnected. When the second power supply path 1611 is connected, the electronic device 100 disconnects the first switch 120, so that the first power supply path 160 is disconnected. When the electronic device 100 disconnects the first power supply path 160, the electronic device 100 turns on the second switch 1303, so that the third power supply path 1612 is connected, and the first one-way conductive switch 1301 is cut off. When the first one-way conductive switch 1301 is cut off, the second power supply path 1611 is disconnected, and the third power supply path 1612 can supply power to the first working circuit through the second switch 1303 and the third switch 1304.

[0065] In conjunction with the second aspect, in this embodiment of the application, the electronic device 100 may further include an output component, and the above method further includes: outputting prompt information through the output component, the prompt information being used to prompt the electronic device 100 to meet a first preset condition.

[0066] In some embodiments, the above-mentioned prompt information may also be used to prompt the user whether to enable any of the possible implementation methods of the second aspect described above.

[0067] In conjunction with the second aspect, in the embodiments of this application, the first unidirectional conductive switch 1301 may include a diode; the second unidirectional conductive switch 1302 may include a diode; the third unidirectional conductive switch 1303 may include a diode; the first switch 120 may include a transistor or a metal-oxide-semiconductor field-effect transistor (MOSFET); the second switch may include a transistor or a metal-oxide-semiconductor field-effect transistor (MOSFET); and the third switch may include a transistor or a metal-oxide-semiconductor field-effect transistor (MOSFET).

[0068] Thirdly, this application provides an electronic device 100, which may include a battery 110, a first working circuit, a first power supply path 160, a second power supply path 1611, and a third power supply path 1612 connected in series between the battery and the first working circuit. The first power supply path 160 can supply power to the first working circuit based on the battery voltage. The second power supply path 1611 may include a first boost circuit 131, which can perform voltage boosting based on the battery voltage. The second power supply path 1611 can supply power to the first working circuit based on the voltage boosted by the first boost circuit 131. The first power supply path 1611 includes a first boost circuit 131, which can supply power to the first working circuit based on the voltage after boost conversion by the first boost circuit 131. The second power supply path 1611 includes a first one-way conductive switch 1301, wherein the first boost circuit 131 is connected in series between the battery 110 and the first one-way conductive switch 1301, and the first one-way conductive switch 1301 is connected in series between the first boost circuit 131 and the first working circuit. The conduction direction of the first one-way conductive switch 1301 is from the first boost circuit 131 to the first working circuit. The electronic device 100 may also include at least one processing circuit, at least one memory, multiple application programs, and at least one computer program, wherein at least one computer program is stored in the memory. The one or more computer programs include instructions that, when executed by the electronic device 100, cause the electronic device 100 to perform any of the possible implementations of the second aspect described above.

[0069] Fourthly, this application provides a computer program product containing instructions that, when executed on an electronic device 100, can cause the electronic device 100 to perform any of the possible implementation methods described in the second aspect above. The electronic device 100 may include a battery 110, a first working circuit, a first power supply path 160, a second power supply path 1611, and a third power supply path 1612 connected in series between the battery and the first working circuit. The first power supply path 160 can supply power to the first working circuit based on the battery voltage; the second power supply path 1611 may include a first boost circuit 131, which can perform voltage boosting based on the battery voltage, and the second power supply path 1611 can be used to supply power to the first working circuit based on the voltage boosted by the first boost circuit 131; the third power supply path 1612... The power supply path 1612 may include a first boost circuit 131, and the third power supply path 1612 may supply power to the first working circuit based on the voltage after boost conversion by the first boost circuit 131; the second power supply path 1611 may include a first one-way conductive switch 1301, wherein the first boost circuit 131 is connected in series between the battery 110 and the first one-way conductive switch 1301, the first one-way conductive switch 1301 is connected in series between the first boost circuit 131 and the first working circuit, and the conduction direction of the first one-way conductive switch 1301 is the direction from the first boost circuit 131 to the first working circuit. Attached Figure Description

[0070] Figures 1a-1c A schematic diagram of the structure of a set of electronic devices provided in the embodiments of this application.

[0071] Figures 2a-2c A schematic diagram of the structure of another set of electronic devices provided in the embodiments of this application.

[0072] Figures 3a-3b A schematic diagram of the structure of another set of electronic devices provided in the embodiments of this application.

[0073] Figures 4a-4c A schematic diagram of the structure of another set of electronic devices provided in the embodiments of this application.

[0074] Figures 5a-5c A schematic diagram of the structure of another set of electronic devices provided in the embodiments of this application.

[0075] Figures 6a-6c A schematic diagram of the structure of another set of electronic devices provided in the embodiments of this application.

[0076] Figures 7a-7c A schematic diagram of the structure of another set of electronic devices provided in the embodiments of this application.

[0077] Figures 8a-8c A schematic diagram of the structure of another set of electronic devices provided in the embodiments of this application.

[0078] Figures 9a-9d A schematic diagram of the structure of another set of electronic devices provided in the embodiments of this application.

[0079] Figures 10a-10c A schematic diagram of the structure of another set of electronic devices provided in the embodiments of this application.

[0080] Figures 11a-11b A schematic diagram of the structure of another set of electronic devices provided in the embodiments of this application.

[0081] Figures 12a-12c A schematic diagram of the structure of another set of electronic devices provided in the embodiments of this application.

[0082] Figures 13a-13c A schematic diagram of the structure of another set of electronic devices provided in the embodiments of this application.

[0083] Figures 14a-14c A schematic diagram of the structure of another set of electronic devices provided in the embodiments of this application.

[0084] Figures 15a-15c A schematic diagram of the structure of another set of electronic devices provided in the embodiments of this application.

[0085] Figures 16a-16c A schematic diagram of the structure of another set of electronic devices provided in the embodiments of this application.

[0086] Figures 17a-17d A schematic diagram of the structure of another set of electronic devices provided in the embodiments of this application.

[0087] Figures 18a-18c A schematic diagram of the structure of another set of electronic devices provided in the embodiments of this application.

[0088] Figures 19a-19b A schematic diagram of the structure of another set of electronic devices provided in the embodiments of this application.

[0089] Figure 20 A flowchart of a power supply method provided in an embodiment of this application.

[0090] Figures 21a-21c A set of graphical user interfaces provided for embodiments of this application Detailed Implementation

[0091] The following is a further detailed description with reference to the accompanying drawings. In the embodiments of this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or explanations. Specifically, the use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a specific manner. It should be understood that in the description of the embodiments of this application, "coupling" includes direct coupling or indirect coupling, and "connection" includes direct connection or indirect connection.

[0092] For example, the power supply circuit, power supply method and electronic device provided in the embodiments of this application can be applied to electronic devices such as mobile phones, foldable electronic devices, tablet computers, desktop computers, laptop computers, handheld computers, laptops, ultra-mobile personal computers (UMPC), netbooks, cellular phones, PDAs (Personal Digital Assistants), AR devices, VR devices, artificial intelligence devices, wearable devices, in-vehicle devices, smart home devices, smart city devices and so on. The embodiments of this application do not impose any limitations on this.

[0093] like Figures 1a-1c The diagram shows a set of electronic devices provided in an embodiment of this application. The electronic device 100 may include a battery 110, a first switch 120, a first switch module 130, a first transformer circuit 131, a power management module 140, and a system circuit 150. The battery 110 may include a temperature sensor 111. The system circuit 150 may include one or more operating circuits (e.g., operating circuits A to N), a fuel gauge 112, a temperature sensor 151, and a processing circuit 152. The battery 110 may be electrically connected to the fuel gauge 112, and the processing circuit 152 may be electrically connected to the fuel gauge 112, the temperature sensor 111, and the temperature sensor 151. The processing circuit 152 may control the operating states of the first switch 120, the first switch module 130, and the first transformer circuit 131.

[0094] It should be noted that the processing circuit 152 may be composed of one or more processing units. The processing circuit 152 can control the first switch 120 to be turned on or off via the signal line C1. In response to the input signal at the control terminal of the first switch 120 being an off signal (for example, the off signal received by the control terminal of the first switch 120 can be a signal output by the processing circuit 152, or a signal generated based on the signal output by the processing circuit 152), the first switch 120 is off; in response to the input signal at the control terminal of the first switch 120 being an on signal (for example, the on signal received by the control terminal of the first switch 120 can be a signal output by the processing circuit 152, or a signal generated based on the signal output by the processing circuit 152), the first switch 120 is on. For ease of description, in the following embodiments, it will be uniformly described that the processing circuit 152 can control the first switch 120 to be turned on or off via the signal line C1, and the first switch 120 is turned on or off in response to the input signal at the control terminal of the first switch 120 being an on signal or an off signal. The processing circuit 152 can control the first switch module 130 to be turned on or off via signal line C3. In response to an input signal to the control terminal of the first switch module 130 being an off signal (exemplarily, the off signal received by the control terminal of the first switch module 130 can be a signal output by the processing circuit 152, or a signal generated based on the signal output by the processing circuit 152), the first switch module 130 is turned off; in response to an input signal to the control terminal of the first switch module 130 being an on signal (exemplarily, the on signal received by the control terminal of the first switch module 130 can be a signal output by the processing circuit 152, or a signal generated based on the signal output by the processing circuit 152), the first switch module 130 is turned on. For ease of description, in the following embodiments, it will be uniformly described that the processing circuit 152 can control the first switch module 130 to be turned on or off via signal line C3, and the first switch module 130 is turned on or off in response to an input signal to the control terminal of the first switch module 130 being an on signal or an off signal. The processing circuit 152 can control the first transformer circuit 131 to operate or shut down via signal line C2. In response to the input signal at the control terminal of the first transformer circuit 131 being an operating signal (for example, the operating signal received by the control terminal of the first transformer circuit 131 can be the signal output by the processing circuit 152 or a signal generated based on the signal output by the processing circuit 152), the first transformer circuit 131 operates; in response to the input signal at the control terminal of the first transformer circuit 131 being a shut-off signal (for example, the shut-off signal received by the control terminal of the first transformer circuit 131 can be the signal output by the processing circuit 152 or a signal generated based on the signal output by the processing circuit 152), the first transformer circuit 131 shuts down.For ease of description, in the following embodiments, it is uniformly described that the processing circuit 152 can control the first transformer circuit 131 to work or turn off through the signal line C2. In response to the input signal at the control terminal of the first transformer circuit 131 being a working signal or a turning-off signal, the first transformer circuit 131 works or turns off.

[0095] In this embodiment of the application, the first transformer circuit 131 may include a buck circuit and a boost circuit.

[0096] In this embodiment, the working circuit may include any one or more circuits selected from memory, logic circuits, input / output modules (e.g., display screen, audio module, etc.), communication modules (e.g., Bluetooth module, cellular module, etc.), and electronic devices. It should be noted that this embodiment does not impose specific limitations on the type or number of circuits included in the working circuit.

[0097] like Figure 1a As shown, battery 110 can be electrically connected to the first terminal of first switch 120, and battery 110 can provide voltage V11 to first switch 120; the second terminal of first switch 120 can be electrically connected to the input terminal of power management module 140; the output terminal of power management module 140 can be electrically connected to system circuit 150. Processing circuit 152 controls first switch 120 to conduct through signal line C1. In response to the input signal at the control terminal of first switch 120 being a conduction signal, first switch 120 conducts, and battery 110 can supply power to power management module 140 through first switch 120. The second terminal of first switch 120 can provide voltage V12 to power management module 140, which is then converted by power management module 140 to supply power to system circuit 150. For example, as shown... Figure 1aAs shown, the battery 110 can supply power to the system circuit 150 through path 160. Path 160 is used to indicate the current flow of the battery 110 to the system circuit 150 through the first switch 120 and the power management module 140. The output voltage and output current of the battery 110 can be coupled to the system circuit 150 through the first switch 120 and the power management module 140 to provide power to it. The processing circuit 152 can be electrically connected to the temperature sensor 111, the fuel gauge 112, and the temperature sensor 151 respectively. When the battery 110 supplies power to the system circuit 150 through the path 160, the processing circuit 152 can detect the temperature T1 through the temperature sensor 111 or the temperature T2 through the temperature sensor 152. The processing circuit 152 can also detect the battery charge E1 through the fuel gauge 112. The processing circuit 152 can also detect the battery voltage through the fuel gauge 112. The processing circuit 152 can determine that the electronic device 100 meets a first condition by detecting at least one of the following: the battery voltage, the battery charge, the battery temperature, or the ambient temperature. The first condition may include at least one of the following: the temperature of the battery 110 is not higher than a first preset temperature threshold, or the charge of the battery 110 is not higher than a first preset battery capacity threshold, or the voltage of the battery 110 is not higher than a first preset voltage threshold, or the ambient temperature is not higher than a second preset temperature threshold. The electronic device 100 can have a preset operating voltage threshold, which can be a second preset voltage threshold. Therefore, the first preset voltage threshold must not be lower than the second preset voltage threshold. To ensure that the electronic device 100 can work normally, the voltage V11 of the battery 110 must not be lower than the second preset voltage threshold. It should be noted that this application embodiment does not impose specific limitations on the method by which the processing circuit 152 detects the battery temperature, battery charge, battery voltage, and ambient temperature.

[0098] In this embodiment, the system circuit 150 may include one or more operating circuits, and the power management module 140 may include a boost circuit and a buck circuit. The power management module 140 performs boost or buck conversion on the input voltage through at least one of the boost or buck circuits, and outputs the boosted or bucked voltage through a voltage output terminal. The power management module 140 may have one or more voltage output terminals, which respectively supply power to one or more operating circuits of the system circuit 150.

[0099] In this embodiment of the application, either temperature T1 or temperature T2 can be the battery temperature or the ambient temperature.

[0100] In this embodiment, the first condition can be that the temperature of the battery 110 is not higher than a first preset temperature threshold and the charge of the battery 110 is not higher than a first preset battery capacity threshold. For example, the first preset temperature threshold can be -15 degrees Celsius, and the first preset battery capacity threshold can be 20% of the battery capacity. The processing circuit 152 detecting that the electronic device 100 meets the first condition can include the processing circuit 152 detecting that the temperature of the battery 110 is lower than or equal to -15 degrees Celsius and the charge of the battery 110 is less than or equal to 20% of the battery capacity.

[0101] In some embodiments, the first condition may also be that the voltage of battery 110 is not higher than a first preset voltage threshold. For example, the first preset voltage threshold may be 3.5V. The processing circuit 152 detecting that the electronic device 100 meets the first condition may include the processing circuit 152 detecting that the voltage of battery 110 is less than or equal to 3.5V.

[0102] In some embodiments, the first condition may also be that the temperature of the battery 110 is not higher than a first preset temperature threshold, the charge of the battery 110 is not higher than a first preset battery capacity threshold, and the ambient temperature is not higher than a second preset temperature threshold. For example, the first preset temperature threshold may be -15 degrees Celsius, the first preset battery capacity threshold may be 20% of the battery capacity, and the second preset temperature threshold may be -25 degrees Celsius. The processing circuit 152 detecting that the electronic device 100 meets the first condition may include the processing circuit 152 detecting that the temperature of the battery 110 is lower than or equal to -15 degrees Celsius, the charge of the battery 110 is less than or equal to 20% of the battery capacity, and the ambient temperature is less than or equal to -25 degrees Celsius. Since the internal temperature of battery 110 is usually lower than the battery temperature detected by the temperature sensor, when the temperature sensor detects that the battery temperature is lower than or equal to the first preset temperature threshold, the internal temperature of the battery has already been lower than the first preset temperature threshold. Since the ambient temperature is usually lower than the internal temperature of battery 110, by detecting the battery temperature and the ambient temperature, it is possible to detect whether battery 110 is in a low temperature state more promptly, and thus it is possible to detect whether battery 110 is in a low voltage state more promptly, so as to boost the output voltage of battery 110 in a timely manner, so that electronic device 100 can work normally.

[0103] It should be noted that the embodiments of this application do not impose specific limitations on the first preset temperature threshold, the first preset battery capacity threshold, the first preset voltage threshold, and the second preset temperature threshold.

[0104] like Figure 1bAs shown, battery 110 can be electrically connected to the input terminal of the first transformer circuit 131, and battery 110 can provide voltage V11 to the first transformer circuit 131; the first output terminal of the first transformer circuit 131 can be electrically connected to the first terminal of the first switch module 130; the second terminal of the first switch module 130 can be electrically connected to the input terminal of the power management module 140; and the output terminal of the power management module 140 can be electrically connected to the system circuit 150. The processing circuit 152 can be electrically connected to the first transformer circuit 131. When the processing circuit 152 detects that the electronic device 100 meets the first condition, the processing circuit 152 can control the first transformer circuit 131 to work via signal line C2. Responding to the input signal at the control terminal of the first transformer circuit 131 as a working signal, the first transformer circuit 131 works. After the first transformer circuit 131 transforms the battery voltage, it can output voltage V131 through the first output terminal. The processing circuit 152 can also control the first switch module 130 to conduct via signal line C3. Responding to the input signal at the control terminal of the first switch module 130 as a conduction signal, the first switch module 130 conducts. The power management module 140 uses the output voltage V13 of the first switch module 130 as its input voltage to perform voltage conversion and supply power to the system circuit 150. For example, as shown... Figure 1b As shown, battery 110 can provide power to system circuit 150 via path 161. Path 161 indicates the current flow from battery 110 to system circuit 150 via first transformer circuit 131, first switch module 130, and power management module 140. The output voltage and current of battery 110 can be coupled to system circuit 150 via first transformer circuit 131, first switch module 130, and power module 140 to provide power to electronic device 100. When battery 110 provides power to system circuit 150 via path 161, processing circuit 152 can control first switch 120 to open via signal line C1. In response to signal line C1 output by processing circuit 152, first switch 120 opens, stopping power supply to system circuit 150 via path 160. Since battery 110 can already provide power to system circuit 150 via path 161 before stopping power supply to system circuit 150 via path 160, power outage of electronic device 100 due to opening of first switch 120 can be prevented.

[0105] In this embodiment, the battery 110 can be a silicon anode lithium-ion battery, which can improve the energy density of the battery compared with the traditional graphite anode lithium-ion battery. At the same time, since the voltage of the silicon anode lithium-ion battery is lower than that of the graphite anode lithium-ion battery under the same power, the use of silicon anode lithium-ion battery can make it easier for the electronic device to meet the first condition mentioned above, so that the path 161 is turned on. The battery 110 can provide power to the system circuit 150 through the path 161, so that the electronic device 100 can work normally.

[0106] In this embodiment, before the battery 110 provides power to the system circuit 150 through path 161 when the first switch 120 is turned on, it must be ensured that the output current of the first transformer circuit 131 does not exceed the overcurrent point of the first transformer circuit 131 when the battery 110 provides power to the system circuit 150 through path 161. Since the first switch module 130 acts as a switch when it is turned on, its impedance is very small, even negligible. Therefore, the output voltage V13 of the first switch module 130 and the output voltage V131 of the first transformer circuit 131 can be considered the same. In this embodiment, "same" does not mean absolutely the same. Those skilled in the art will understand that, since they can make appropriate adjustments to the selection of electronic devices according to design needs, due to the tolerances of different electronic device selections and designs, the two voltages being "same" are allowed to have a certain range of deviation, such as a difference of 0.1V, 0.2V, 0.5V, etc. Therefore, in the solution proposed in this application embodiment, before the battery 110 provides power to the system circuit 150 through path 161, the processing circuit 152 can control the output voltage V131 of the first transformer circuit 131 to be lower than or equal to the output voltage V12 of the first switch 120 after passing through the first switch module 130. This avoids the situation where, when the first switch module 130 is turned on and the battery 110 provides power to the system circuit 150 through path 161, the first switch 120 and the first switch module 130 are electrically connected by wires with low wire impedance. If the output voltage V13 of the first switch module 130 is higher than the output voltage V12 of the first switch 120, the output current of the first switch module 130 will be too large, which in turn will cause the output current of the first transformer circuit 131 to be too large, causing the output current of the first transformer circuit 131 to exceed the overcurrent point of the first transformer circuit 131. In this case, the first transformer circuit 131 will activate overcurrent protection and cannot work normally. The output voltage V131 of the first transformer circuit 131 must be higher than the second preset voltage threshold to ensure that when the first switch 120 is turned off, the output voltage V13 of the first switch module 130 can ensure that the electronic device 100 works normally and will not lose power due to the first switch 120 being turned off.

[0107] In this embodiment, the battery 110 is electrically connected to the input terminal of the first transformer circuit 131, and the first output terminal of the first transformer circuit 131 can also be electrically connected to a portion of the system circuit 150. The first output terminal of the first transformer circuit 131 is used to supply power to a portion of the system circuit 150. For example, Figure 1c As shown, the first output terminal of the first transformer circuit 131 outputs voltage V131. The battery 110 can provide power to a portion of the system circuit 150 through the first output terminal of the first transformer circuit 131. For example, as shown... Figure 1cAs shown, battery 110 can provide power to a portion of the system circuit 150 via path 162. Path 162 indicates the current flow from battery 110 to system circuit 150 via first transformer circuit 131. The output voltage and current of battery 110 can be coupled to system circuit 150 via first transformer circuit 131 to provide power. Since battery 110 directly provides power to a portion of the system circuit 150 via first transformer circuit 131, it does not require voltage conversion by power management module 140. This eliminates the power loss caused by the operation of internal electronic components in power management module 140 when it performs voltage conversion, thereby improving the utilization rate of the power output from battery 110.

[0108] In some embodiments, when the battery 110 provides power to a portion of the circuitry of the system circuitry 150 through the first output terminal of the first transformer circuitry 131, the portion of the circuitry of the system circuitry 150 may be any one or more of the following: memory card, universal flash storage (UFS), time-of-flight camera (TOF camera), screen (TP), and compass.

[0109] In the above embodiment, when the battery 110 supplies power to the system circuit 150 via path 160, when the processing circuit 152 detects that the electronic device 100 meets the first condition, the processing circuit 152 can control the first transformer circuit 131 to operate, the first switching module 130 to be turned on, and the path 161 to be turned on, so that the system circuit 150 can be supplied with power through the path 161. This makes the output voltage of the first switching module 130 higher than the second preset voltage threshold and not higher than the output voltage of the first switch 120, so that the battery 110 can supply power to the system circuit 150 through the path 161, and also avoids the output current of the first transformer circuit 131 from being too large. The first transformer circuit 131 activates its overcurrent protection, causing a system power outage. After the first transformer circuit 131 operates and the first switch module 130 is turned on, the processing circuit 152 can control the first switch 120 to open, thus disconnecting path 160. Since the output voltage of the first switch module 130 is higher than the second preset voltage threshold before the first switch 120 is turned off, it has the ability to provide power to the system circuit 150. Therefore, after the first switch 120 is turned off, the battery 110 can provide power to the electronic device 100 through path 161, preventing the electronic device 100 from losing power due to the first switch 120 being turned off.

[0110] For example, when the processing circuit 152 detects that the electronic device 100 meets a first condition, the first condition includes that the voltage of the battery 110 is not higher than a first preset voltage threshold, for example, the second preset voltage threshold is 3.4V and the first preset voltage threshold is 3.5V. When the processing circuit detects that the output voltage of the battery 110 is 3.5V, the processing circuit 152 first controls the first transformer circuit 131 to work, the first switch module 130 is turned on, and the first transformer circuit 131 outputs a voltage of 3.5V, so that the battery 110 can supply power to the system circuit 150 via path 161. The processing circuit 152 then controls the switch module 120 to turn off. After the switch module 120 is turned off, the battery 110 can supply power to the electronic device 100 through the first transformer circuit 131.

[0111] like Figure 1b As shown, when battery 110 provides power to system circuit 150 via path 161, processing circuit 152 can also detect temperature via a temperature sensor, for example, temperature T1 detected by temperature sensor 111 or temperature T2 detected by temperature sensor 152; processing circuit 152 can also detect the charge and voltage of battery 110, for example, by detecting battery charge E1 and battery voltage via fuel gauge 112. Processing circuit 152 can determine that electronic device 100 meets a second condition by detecting at least one of battery voltage, battery charge, battery temperature, or ambient temperature. The second condition may include at least one of the following: battery temperature is higher than a third preset temperature threshold, battery charge is higher than a second preset battery capacity threshold, battery voltage is higher than a third preset voltage threshold, or ambient temperature is higher than a fourth preset temperature threshold. When processing circuit 152 detects that electronic device 100 meets the second condition, processing circuit 152 controls first switch 120 to conduct via signal line C1. In response to the input signal at the control terminal of first switch 120 being a conduction signal, first switch 120 conducts, causing path 160 to conduct. For example, as shown... Figure 1a As shown, when the first switch 120 is turned on, the battery 110 can supply power to the system circuit 150 through path 160. When the battery 110 supplies power to the system circuit 150 through path 160, the processing circuit 152 can output signal line C2 to the control terminal of the first transformer circuit 131. In response to this signal line C2, the first transformer circuit 131 stops working, the first output terminal has no output voltage V131, and the battery 110 stops supplying power to the system circuit 150 through path 161. Since the first switch 120 is turned on and path 160 is turned on before the battery 110 stops supplying power to the system circuit 150 through path 161, the battery 110 can supply power to the system circuit 150 through path 160, which can avoid the electronic device 100 from losing power due to the first transformer circuit 131 being turned off.

[0112] In some embodiments, the first preset temperature threshold and the third preset temperature threshold are different, the first preset battery capacity threshold and the second preset battery capacity threshold are different, the first preset voltage threshold and the third preset voltage threshold are different, and the second preset temperature threshold and the fourth preset temperature threshold are different. The first preset temperature threshold, the first preset battery capacity threshold, the first preset voltage threshold, and the second preset temperature threshold are described in detail in the above embodiments and will not be repeated here.

[0113] In this embodiment, when the battery 110 provides power to the system circuit 150 through path 161, before the processing circuit 152 controls the first switch 120 to turn on, it is necessary to ensure that when the first switch 120 is turned on, the output current of the first transformer circuit 131 does not exceed the overcurrent point of the first transformer circuit 131. Since the first switch 120 acts as a switch when it is turned on, its impedance is very small, even negligible. Therefore, the output voltage V12 of the first switch 120 and the output voltage V11 of the battery 110 can be considered the same. In this embodiment, "same" does not mean absolutely the same. Those skilled in the art will understand that, since they can make appropriate adjustments to the selection of electronic devices according to design needs, due to the tolerances of different electronic device selections and designs, the two voltages being "same" are allowed to have a certain range of deviation, such as a difference of 0.1V, 0.2V, 0.5V, etc. Therefore, in the solution proposed in this application embodiment, before the processing circuit 152 controls the first switch 120 to be turned on, the processing circuit 152 can control the output voltage V131 of the first transformer circuit 131 to be no higher than the output voltage V11 of the battery 110 after passing through the first switch module 130. This avoids the situation where, when the first switch 120 is turned on and the battery 110 provides power to the system circuit 150 through the path 160, the output voltage V131 of the first transformer circuit 131 is higher than the output voltage V12 of the first switch 120 because the wire impedance is small. This would cause the output current of the first switch module 130 to be too large, which in turn would cause the output current of the first transformer circuit 131 to be too large, exceeding the overcurrent point of the first transformer circuit 131 and causing the first transformer circuit 131 to activate overcurrent protection and fail to work normally.

[0114] In this embodiment, the battery 110 is electrically connected to the input terminal of the first transformer circuit 131, and the first output terminal of the first transformer circuit 131 can be electrically connected to a portion of the system circuit 150. When path 161 is disconnected, the first transformer circuit 131 can supply power to the system circuit 150 through its first output terminal. For example, Figure 1cAs shown, the battery 110 can also supply power to the system circuit 150 through path 162. The method by which the first transformer circuit 131 supplies power to the system circuit 150 directly through the first output terminal is described in the other embodiments above, and will not be repeated here.

[0115] In some embodiments, when the battery 110 stops providing power to the system circuit 150 through path 161, the processing circuit 152 can also control the first transformer circuit 131 to stop working. At this time, the first output terminal of the first transformer circuit 131 has no output, which can save the power consumption of the first transformer circuit 131.

[0116] like Figures 2a-2c The diagram shown is a structural schematic of another electronic device provided in an embodiment of this application. Figures 2a-2c As shown, based on Figures 1a-1c The illustrated electronic device 100 may further include a charging circuit 170 and an external power interface 180. The charging circuit 170 may include a control module 171 and a charging module 172. The electronic device 100 may also be connected to an external power source 200, which is electrically connected to the electronic device 100 via the external power interface 180. The external power source 200 is electrically connected to the charging module 172 via the external power interface 180, and can provide power to the charging module 172 via one or more conductive lines 210 (e.g., cables). A processing circuit 152 may be electrically connected to the control module 171 and the charging module 172, and the processing circuit 152 can control the operating state of the charging module 172 and the control module 171.

[0117] In this embodiment of the application, the charging circuit 170 may include an integrated charging chip.

[0118] In this embodiment, the external power supply 200 can be a charger or a portable charging device.

[0119] In the embodiments of this application, such as Figure 2c As shown, the first switch 120 can also be set in the charging circuit 170, which can save the circuit board area occupied by the first switch 120 and allow more electronic devices to be placed on the circuit board.

[0120] It should be noted that the processing circuit 152 may consist of one or more processing units. The processing circuit 152 can control the charging module 172 to operate or shut down via signal line C4. In response to an input signal at the control terminal of the charging module 172 being a working signal (exemplarily, the working signal received by the control terminal of the charging module 172 can be a signal output by the processing circuit 152, or a signal generated based on the signal output by the processing circuit 152), the charging module 172 operates. In response to an input signal at the control terminal of the charging module 172 being a shut-off signal (exemplarily, the shut-off signal received by the control terminal of the charging module 172 can be a signal output by the processing circuit 152, or a signal generated based on the signal output by the processing circuit 152), the charging module 172 shuts down. For ease of description, in the following embodiments, it will be uniformly described that the processing circuit 152 can control the charging module 172 to operate or shut down via signal line C4, and the charging module 172 operates or shuts down in response to an input signal at the control terminal of the charging module 172 being a working signal or a shut-off signal.

[0121] like Figures 2a-2c As shown, when the electronic device 100 is connected to the external power supply 200, the external power supply 200 can be electrically connected to the charging module 172, and the external power supply 200 can provide voltage V21 to the charging module 172; the charging module 172 can be electrically connected to the input terminal of the power management module 140; the output terminal of the power management module 140 can be electrically connected to the system circuit 150.

[0122] In one possible embodiment, when the processing circuit 152 detects that the electronic device 100 meets a first condition, for example, such as... Figure 1b As shown, battery 110 can provide power to system circuit 150 via path 161. When processing circuit 152 detects the connection of external power supply 200, processing circuit 152 can control charging module 172 to operate via signal line C4. Responding to the input signal at the control terminal of charging module 172 being a working signal, charging module 172 operates. Charging module 172 can provide voltage V22 to power management module 140, which then performs voltage conversion to supply power to system circuit 150. For example, as... Figure 2a As shown, the external power supply 200 can provide power to the system circuit 150 through path 163. Path 163 is used to indicate the current flow of the external power supply 200 to the system circuit 150 via the charging module 172 and the power management module 140. The output voltage and current of the external power supply 200 can be coupled to the system circuit 150 via the charging module 172 and the power management module 140 to provide power to it.

[0123] In this embodiment of the application, when path 161 is turned on, before the external power supply 200 supplies power to the system circuit 150 through path 163, it is necessary to ensure that when the external power supply 200 supplies power to the system circuit 150 through path 163, the output current of the first transformer circuit 131 cannot exceed the overcurrent point of the first transformer circuit 131. In the solution proposed in this application embodiment, before path 163 is turned on, the processing circuit 152 can control the output voltage V131 of the first transformer circuit 131 to be no higher than the output voltage V22 of the charging module 172 after passing through the first switch module 130. This avoids the situation where, after the external power supply 200 supplies power to the system circuit 150 through path 163, the voltage V13 is higher than the voltage V22. Since the first switch module 130 and the charging module 172 are electrically connected by wires with low wire impedance, the output current of the first switch module 130 is too large, which in turn causes the output current of the first transformer circuit 131 to be too large, exceeding the overcurrent point of the first transformer circuit 131. As a result, the first transformer circuit 131 activates its overcurrent protection and cannot work normally.

[0124] In this embodiment, when the external power supply 200 provides power to the system circuit 150 via path 163, the processing circuit 152 can control the first switch module 130 to disconnect via signal line C3. In response to the input signal at the control terminal of the first switch module 130 being a disconnect signal, the first switch module 130 disconnects, path 161 disconnects, and the battery 110 stops supplying power to the system circuit 150 via path 161. Since the external power supply 200 has already supplied power to the system circuit 150 via path 163 before the battery 110 stops supplying power to the system circuit 150 via path 161, power outages to the electronic device 100 can be avoided when path 161 is disconnected.

[0125] In this embodiment, the external power supply 200 can be electrically connected to the charging module 172; the charging module 172 can be electrically connected to the first switch 120; and the first switch 120 can be electrically connected to the battery 110. When the external power supply 200 provides power to the system circuit 150 through path 163, the processing circuit 152 can control the first switch 120 to turn on through signal line C1. Responding to the input signal at the control terminal of the first switch 120 being a turn-on signal, the first switch 120 turns on. For example, as shown... Figure 2b As shown, the external power supply 200 can also provide charging current to the battery 110 through path 164. Path 164 is used to indicate the direction of the charging current flow from the external power supply 200 to the battery 110 via the charging circuit 170 and the first switch 120. The output voltage and current of the external power supply 200 can be coupled to the battery 110 via the charging circuit 170 and the first switch 120 to provide charging current to it.

[0126] In some embodiments, the control module 171 can also control the operating state of the first switch 120. The processing circuit 152 can control the control module 171 through the signal line C5, so that the control module 171 can control the first switch 120 to be turned on. When the first switch 120 is turned on, the external power supply 200 can also provide charging current to the battery 110 through the path 164.

[0127] In some embodiments, when the external power supply 200 provides power to the system circuit 150 through path 163 and charges the battery 110 through path 164, when the system load of the electronic device 100 is high, the processing circuit 152 detects that the output current of the battery 110 is higher than the first preset current threshold. The output voltage and output current of the external power supply 200 can be fully provided to the system circuit 150, and the battery 110 can also provide power to the system circuit 150 through path 160. That is, the system circuit 150 can obtain input current through both path 160 and path 163 at the same time, so that the electronic device 100 can support a higher system load.

[0128] In this embodiment, the battery 110 is electrically connected to the input terminal of the first transformer circuit 131, and the first output terminal of the first transformer circuit 131 can be electrically connected to a portion of the system circuit 150. The method by which the first transformer circuit 131 directly supplies power to the system circuit 150 through its first output terminal is described in the other embodiments above and will not be repeated here.

[0129] In some embodiments, when the battery 110 stops providing power to the system circuit 150 through path 161, the processing circuit 152 can output a signal to the first transformer circuit 131 to control the first transformer circuit 131 to stop working. At this time, the first output terminal of the first transformer circuit 131 has no output, which can save the power consumption of the first transformer circuit 131.

[0130] In this embodiment, the control module 171 can also control the operating state of the charging module 172. The processing circuit 152 can control the module 171 through the signal line C5, so that the control module 171 can control the charging module 172 to output voltage and current to the power management module 140, so that the external power supply 200 can provide power to the system circuit 150 through the path 163.

[0131] In another possible embodiment, when the processing circuit 152 detects that the electronic device 100 meets a first condition, for example, such as Figure 1b As shown, battery 110 can provide power to system circuit 150 via path 161. When electronic device 100 is connected to external power supply 200, processing circuit 152 can control first switch 120 to turn on via signal line C1. In response to the input signal at the control terminal of first switch 120 being a turn-on signal, first switch 120 turns on. For example, as shown... Figure 1a As shown, path 160 is open, and battery 110 can supply power to system circuit 150 through path 160.

[0132] In this embodiment, when path 161 is on, before the battery 110 provides power to the system circuit 150 through path 160, it must be ensured that the output current of the first transformer circuit 131 does not exceed the overcurrent point of the first transformer circuit 131 when the battery 110 provides power to the system circuit 150 through path 160. Since the first switch 120, as a switch, has very low impedance (even negligible) when it is on, the output voltage V12 of the first switch 120 and the output voltage V11 of the battery 110 can be considered the same. Therefore, in the solution proposed in this embodiment, before the battery 110 provides power to the system circuit 150 through path 160, the processing circuit 152 can output a signal to the first transformer circuit 131 to control that the output voltage V13 of the first transformer circuit 131, after passing through the first switch module 130, is not higher than the output voltage V11 of the battery 110. To prevent the output voltage V13 of the first switch module 130 from being higher than the output voltage V12 of the first switch 120 when the first switch 120 is turned on, since the first switch 120 and the first switch module 130 are electrically connected by a wire with low impedance, when the output voltage V13 of the first switch module 130 is higher than the output voltage V12 of the first switch 120, the output current of the first switch module 130 will be too large, which will in turn cause the output current of the first transformer circuit 131 to be too large, causing the output current of the first transformer circuit 131 to exceed the overcurrent point of the first transformer circuit 131. The first transformer circuit 131 will then activate its overcurrent protection and fail to work normally.

[0133] In this embodiment, the control module 171 can also control the working state of the first switch 120. The processing circuit 152 can control the control module 171 through the signal line C5, so that the control module 171 can control the first switch 120 to be turned on. When the first switch 120 is turned on, the battery 110 can provide power to the system circuit 150 through the path 160.

[0134] In this embodiment, when the battery 110 supplies power to the system circuit 150 through path 160, the processing circuit 152 can control the first switch module 130 to disconnect via signal line C3. Responding to the input signal at the control terminal of the first switch module 130 being a disconnect signal, the first switch module 130 disconnects, path 161 disconnects, and the battery 110 stops supplying power to the system circuit 150 through path 161. Since the battery 110 has already supplied power to the system circuit 150 through path 160 before stopping supplying power through path 161, it can prevent the electronic device 100 from losing power when path 161 is disconnected.

[0135] In some embodiments, the battery 110 is electrically connected to the input terminal of the first transformer circuit 131, and the first output terminal of the first transformer circuit 131 can be electrically connected to a portion of the circuitry of the system circuit 150. The method by which the first transformer circuit 131 directly supplies power to the system circuit 150 through its first output terminal is described in the other embodiments above and will not be repeated here.

[0136] In some embodiments, when the battery 110 stops providing power to the system circuit 150 through path 161, the processing circuit 152 can also control the first transformer circuit 131 to stop working. At this time, the first output terminal of the first transformer circuit 131 has no output, which can save the power consumption of the first transformer circuit 131.

[0137] In this embodiment, when the battery 110 supplies power to the system circuit 150 via path 160, the processing circuit 152 can control the charging module 172 to operate via signal line C4. Responding to the input signal at the control terminal of the charging module 172 being a working signal, the charging module 172 operates. The charging module 172 can provide voltage V22 to the power management module 140, which then performs voltage conversion to supply power to the system circuit 150. For example, as... Figure 2a As shown, external power supply 200 can provide power to system circuit 150 through path 163. External power supply 200 can be electrically connected to charging module 172; charging module 172 can be electrically connected to first switch 120; first switch 120 can be electrically connected to battery 110. When external power supply 200 can provide power to system circuit 150 through path 163, charging module 172 can also provide voltage V22 to first switch 120. Processing circuit 152 can control first switch 120 to conduct through signal line C1. In response to the input signal at the control terminal of first switch 120 being a conduction signal, first switch 120 conducts, and first switch 120 can provide voltage V23 to battery 110. At this time, battery 110 can stop supplying power to system circuit 150 through path 160. For example, as shown... Figure 2b As shown, the external power supply 200 can provide charging current to the battery 110 through path 164. Since the battery 110 has already supplied power to the system circuit 150 through path 163 before it stops supplying power to the system circuit 150 through path 160, the electronic device 100 can avoid power loss when path 160 is disconnected. It should be noted that the method by which the external power supply 200 provides charging current to the battery 110 through path 164 is described in detail in the above embodiments and will not be repeated here.

[0138] In some embodiments, before the external power supply 200 provides power to the system circuit 150 through path 163 and charges the battery 110 through path 164, the processing circuit 152 can control the output voltage V131 of the first transformer circuit 131 to be no higher than the output voltage V22 of the charging module 172 after passing through the first switching module 130, thus preventing the first transformer circuit 131 from activating overcurrent protection and failing to operate normally. See the descriptions of the other embodiments above for details, which will not be repeated here.

[0139] In some embodiments, the control module 171 can also control the operating state of the charging module 172. The processing circuit 152 can control the output signal of the control module 171 through the signal line C5. In response to the signal, the control module 171 can output a signal to the charging module 172 to control the charging module 172 to output voltage and current to the power management module 140, so that the external power supply 200 can provide power to the system circuit 150 through the path 163.

[0140] In some embodiments, when the external power supply 200 provides power to the system circuit 150 through path 163 and charges the battery 110 through path 164, when the system load of the electronic device 100 is high, the processing circuit 152 detects that the output current of the battery 110 is higher than the first preset current threshold. The output voltage and output current of the external power supply 200 can be fully provided to the system circuit 150, and the battery 110 can provide power to the system circuit 150 through path 160. That is, the system circuit 150 can obtain input current through both path 160 and path 163 at the same time, so that the electronic device 100 can support a higher system load.

[0141] like Figures 3a-3b The diagram shown is a structural schematic of another electronic device provided in an embodiment of this application. Figures 3a-3b It shows Figures 1a-1c One embodiment of the first switch module 130 in the middle, based on Figures 1a-1c The electronic device 100 shown may include a first unidirectional conductive switch 1301 in the first switch module 130. The battery 110 may be electrically connected to the input terminal of the first transformer circuit 131, the first output terminal of the first transformer circuit 131 may be electrically connected to the first terminal of the first unidirectional conductive switch 1301, and the second terminal of the first unidirectional conductive switch 1301 may be electrically connected to the input terminal of the power management module 140.

[0142] like Figure 3aAs shown, battery 110 can provide power to system circuit 150 through path 160. When processing circuit 152 detects that electronic device 100 meets the first condition, processing circuit 152 can control the first transformer circuit 131 to work. After the first transformer circuit 131 transforms the battery voltage, it can output voltage V131 through the first output terminal. The first one-way conductive switch 1301 can have one-way conduction. The one-way conduction direction of the first one-way conductive switch 1301 is from the first transformer circuit 131 to the power management module 140. When the output voltage V131 of the first output terminal of the first transformer circuit 131 is higher than the forward conduction voltage of the first one-way conductive switch 1301, the first one-way conductive switch 1301 is turned on. The first output terminal of the first transformer circuit 131 can provide input voltage V13 to the power management module 140 through the first one-way conductive switch 1301, and then the power management module 140 performs voltage conversion to supply power to system circuit 150. For example, as shown... Figure 3b As shown, battery 110 can provide power to system circuit 150 through path 1611. Path 1611 indicates the current flow from battery 110 to system circuit 150 via first transformer circuit 131, first one-way conductive switch 1301, and power management module 140. Battery 110 can be coupled to system circuit 150 via first transformer circuit 131, first one-way conductive switch 1301, and power management module 140 to provide power to electronic device 100. When path 1611 is open, the unidirectionally open first one-way conductive switch 1301 can prevent the output current of battery 110 from becoming too large when the output voltage V12 of first switch 120 is higher than the output voltage V13 of the second terminal of first one-way conductive switch 1301, thus preventing the overcurrent of battery 110 from exceeding its overcurrent protection and preventing power loss to electronic device 100. It should be noted that in this embodiment, the first condition, power management module 140, and system circuit 150 are described in the relevant descriptions of other embodiments above, and will not be repeated here.

[0143] In this embodiment, when path 160 is in the conducting state and before path 1611 is conducting, the processing circuit 152 can control the output voltage V131 of the first transformer circuit 131 to be lower than or equal to the output voltage V12 of the second terminal of the first one-way conductive switch 1301 after passing through the first one-way conductive switch 1301. This prevents the output current of the first transformer circuit 131 from being too large when path 1611 is conducting, which would cause the first transformer circuit 131 to activate overcurrent protection. Since the battery 110 is in a low-voltage state at this time, the electronic device 100 will lose power. The output voltage V131 of the first transformer circuit 131 after passing through the first one-way conductive switch 1301 must be higher than the second preset voltage threshold to ensure that when the first switch 120 is opened, the output voltage V13 of the first one-way conductive switch 1301 can ensure the normal operation of the electronic device 100 and prevent the electronic device 100 from losing power due to the opening of the first switch 120.

[0144] When paths 160 and 1611 are connected, battery 110 provides power to system circuit 150 through path 1611. Processing circuit 152 can control the first switch 120 to open, and battery 110 stops supplying power to system circuit 150 through path 160. Since battery 110 can already provide power to system circuit 150 through path 1611 before it stops supplying power to system circuit 150 through path 160, it can prevent electronic device 100 from losing power due to the opening of the first switch 120.

[0145] For example, in the above embodiment, when the battery 110 supplies power to the system circuit 150 via path 160, when the processing circuit 152 detects that the electronic device 100 meets a first condition, the first condition includes that the voltage of the battery 110 is not higher than a first preset voltage threshold, for example, the second preset voltage threshold is 3.4V and the first preset voltage threshold is 3.5V. When the processing circuit detects that the output voltage of the battery 110 is 3.5V, the processing circuit 152 first controls the first transformer circuit 131 to work. Since the voltage drop of the first one-way conductive switch 1301 is 0... The processing circuit 152 controls the output voltage of the first transformer circuit 131 to be 4.2V, so that the output voltage of the first transformer circuit 131 passes through the first one-way conductive switch 1301, and the output voltage of the first one-way conductive switch 1301 is 3.5V, so that the battery 110 can supply power to the system circuit 150 through the path 1611. The processing circuit 152 then controls the first switch 120 to be disconnected. Since the processing circuit 152 controls the output voltage of the first one-way conductive switch 1301 to be 3.5V, the electronic device 100 can work normally.

[0146] like Figure 3bAs shown, when battery 110 supplies power to system circuit 150 through path 1611, when processing circuit 152 detects that electronic device 100 meets the second condition, processing circuit 152 can control first switch 120 to turn on via signal line C1. Responding to the input signal at the control terminal of first switch 120 being a turn-on signal, first switch 120 turns on. For example, as... Figure 3a As shown, path 160 is conducting. When path 160 is conducting, the first unidirectional conductive switch 1301, which conducts unidirectionally, prevents the output current of the battery 110 from becoming excessively high, exceeding the overcurrent point of the battery 110, and thus causing overcurrent protection of the battery 110, thereby preventing the electronic device from losing power. It should be noted that the second condition is described in detail in the above embodiment and will not be repeated here.

[0147] In this embodiment, before the battery 110 provides power to the system circuit 150 via path 160 when path 1611 is open, the processing circuit 152 can control the output voltage V131 of the first transformer circuit 131 to be lower than or equal to the output voltage V12 of the first switch 120 after passing through the first one-way conductive switch 1301. This prevents the output current of the first transformer circuit 131 from exceeding its overcurrent point when the first switch 120 is open, thus preventing the first transformer circuit 131 from activating its overcurrent protection and failing to operate normally. The method for preventing the first transformer circuit 131 from activating its overcurrent protection is described in the other embodiments above and will not be repeated here.

[0148] In this embodiment, when path 160 is on, processing circuit 152 can control the first transformer circuit 131 to turn off via signal line C2. Responding to the input signal at the control terminal of the first transformer circuit 131 being a turn-off signal, the first transformer circuit 131 turns off, and path 1611 is disconnected. Since the first switch 120 is already on before path 1611 is disconnected, and path 160 is on, battery 110 can supply power to system circuit 150 via path 160, thus preventing power loss to electronic device 100 due to path 1611 being disconnected.

[0149] like Figures 4a-4c The diagram shown is a structural schematic of another electronic device provided in an embodiment of this application. Figures 4a-4c As shown, based on Figures 3a-3bThe illustrated electronic device 100 may further include a charging circuit 170 and an external power interface 180. The charging circuit 170 may include a control module 171 and a charging module 172. The electronic device 100 may also be connected to an external power source 200, which is electrically connected to the electronic device 100 via the external power interface 180. The external power source 200 is electrically connected to the charging module 172 via the external power interface 180, and can provide power to the charging module 172 via one or more conductive lines 210 (e.g., cables). A processing circuit 152 may be electrically connected to the control module 171 and the charging module 172, and the processing circuit 152 can control the operating state of the charging module 172 and the control module 171.

[0150] In this embodiment of the application, the charging circuit 170 may include an integrated charging chip.

[0151] In this embodiment, the external power supply 200 can be a charger or a portable charging device.

[0152] In the embodiments of this application, such as Figure 4c As shown, the first switch 120 can also be set in the charging circuit 170, which can save the circuit board area occupied by the first switch 120 and allow more electronic devices to be placed on the circuit board.

[0153] like Figures 4a-4c As shown, when the electronic device 100 is connected to the external power supply 200, the external power supply 200 can be electrically connected to the charging module 172, and the external power supply 200 can provide voltage V21 to the charging module 172; the charging module 172 can be electrically connected to the input terminal of the power management module 140; the output terminal of the power management module 140 can be electrically connected to the system circuit 150.

[0154] In one possible embodiment, when the battery 110 supplies power to the system circuit 150 via path 1611, when the processing circuit 152 detects the external power supply 200 is connected, the processing circuit 152 can control the charging module 172 to operate via signal line C4. Responding to the input signal at the control terminal of the charging module 172 being a working signal, the charging module 172 operates. The charging module 172 can provide voltage V22 to the power management module 140, which then performs voltage conversion to supply power to the system circuit 150. For example, as... Figure 4a As shown, the external power supply 200 can provide power to the system circuit 150 through path 163.

[0155] In this embodiment of the application, when path 1611 is turned on, before the external power supply 200 supplies power to the system circuit 150 through path 163, it is necessary to ensure that when the external power supply 200 supplies power to the system circuit 150 through path 163, the output current of the first transformer circuit 131 cannot exceed the overcurrent point of the first transformer circuit 131. In the proposed solution of this application embodiment, before path 163 is turned on, the processing circuit 152 can control the output voltage V131 of the first transformer circuit 131 to pass through the first one-way conductive switch 1301. The output voltage V13 of the first one-way conductive switch 1301 is not higher than the output voltage V22 of the charging module 172. This avoids the situation where, after the external power supply 200 supplies power to the system circuit 150 through path 163, the voltage V13 is higher than the voltage V22. Since the first one-way conductive switch 1301 and the charging module 172 are electrically connected by a wire, the wire impedance is small, which leads to the first one-way conductive switch 1301 outputting too large a current. This, in turn, leads to the first transformer circuit 131 outputting too large a current, exceeding the overcurrent point of the first transformer circuit 131. As a result, the first transformer circuit 131 activates its overcurrent protection and cannot work normally.

[0156] In this embodiment, the external power supply 200 can be electrically connected to the charging module 172; the charging module 172 can be electrically connected to the first switch 120; and the first switch 120 can be electrically connected to the battery 110. When the external power supply 200 provides power to the system circuit 150 through path 163, the processing circuit 152 can control the first switch 120 to turn on through signal line C1. For example, Figure 4b As shown, the external power supply 200 can also provide charging current to the battery 110 through path 164. The manner in which the external power supply 200 provides charging current to the battery 110 through path 164 is described in detail in the other embodiments above, and will not be repeated here.

[0157] In some embodiments, the control module 171 can also control the operating state of the first switch 120. The processing circuit 152 can control the control module 171 through the signal line C5, so that the control module 171 can control the first switch 120 to be turned on. When the first switch 120 is turned on, the external power supply 200 can also provide charging current to the battery 110 through the path 164.

[0158] In some embodiments, when the external power supply 200 provides power to the system circuit 150 through path 163 and charges the battery 110 through path 164, when the system load of the electronic device 100 is high, the processing circuit 152 detects that the output current of the battery 110 is higher than the first preset current threshold. The output voltage and output current of the external power supply 200 can be fully provided to the system circuit 150, and the battery 110 can also provide power to the system circuit 150 through path 160. That is, the system circuit 150 can obtain input current through both path 160 and path 163 at the same time, so that the electronic device 100 can support a higher system load.

[0159] In this embodiment, when path 163 is on, processing circuit 152 can control the first transformer circuit 131 to turn off via signal line C2, thereby controlling path 1611 to disconnect. Since external power supply 200 has already supplied power to system circuit 150 through path 163 before path 1611 is disconnected, power outage of electronic device 100 can be avoided when path 1611 is disconnected.

[0160] In another possible embodiment, when battery 110 supplies power to system circuit 150 via path 1611, when processing circuit 152 detects the external power supply 200 connected, processing circuit 152 can control first switch 120 to turn on via signal line C1. In response to the input signal at the control terminal of first switch 120 being a turn-on signal, first switch 120 turns on. For example, as shown... Figure 3a As shown, path 160 is open, and battery 110 can supply power to system circuit 150 through path 160.

[0161] In this embodiment, when path 1611 is on, since the first switch 120 is on and its impedance is very small (even negligible), the output voltage of the second terminal of the first switch circuit 120 and the output voltage V11 of the battery 110 can be considered the same. Therefore, in the solution proposed in this embodiment, before the battery 110 provides power to the system circuit 150 through path 160, the processing circuit 152 can output a signal to the first transformer circuit 131 to control the output voltage V131 of the first transformer circuit 131 to be no higher than the output voltage V11 of the battery 110 after passing through the first one-way conductive switch 1301. This avoids the voltage V13 being higher than the voltage V12 when the first switch 120 is on, which would cause the output current of the first transformer circuit 131 to be too large, causing the output current of the first transformer circuit 131 to exceed the overcurrent point of the first transformer circuit 131, and the first transformer circuit 131 to activate overcurrent protection and fail to work normally.

[0162] In this embodiment, the control module 171 can also control the working state of the first switch 120. The processing circuit 152 can control the control module 171 through the signal line C5, so that the control module 171 can control the first switch 120 to be turned on. When the first switch 120 is turned on, the battery 110 can provide power to the system circuit 150 through the path 160.

[0163] In this embodiment of the application, when path 160 and path 1611 are connected, for example, as shown... Figure 4a As shown, external power supply 200 can provide power to system circuit 150 via path 163. External power supply 200 can be electrically connected to charging module 172; charging module 172 can be electrically connected to first switch 120; first switch 120 can be electrically connected to battery 110. When external power supply 200 can provide power to system circuit 150 via path 163, for example, as... Figure 4b As shown, the external power supply 200 can provide charging current to the battery 110 through path 164, at which point path 160 is disconnected. Since the battery 110 has already supplied power to the system circuit 150 through path 163 before it stops supplying power to the system circuit 150 through path 160, power outages to the electronic device 100 can be avoided when path 160 is disconnected. It should be noted that the specific methods by which the external power supply 200 provides power to the system circuit 150 through path 163 and provides charging current to the battery 110 through path 164 are described in detail in the above embodiments and will not be repeated here.

[0164] In some embodiments, before the external power supply 200 provides power to the system circuit 150 through path 163 and charges the battery 110 through path 164, the processing circuit 152 can control the output voltage V131 of the first transformer circuit 131 to be no higher than the output voltage V22 of the charging module 172 after passing through the first one-way conductive switch 1301, thus preventing the first transformer circuit 131 from activating overcurrent protection and failing to operate normally. When paths 163 and 164 are connected, the processing circuit 152 can also control the first transformer circuit 131 to turn off through signal line C2, thereby controlling path 1611 to disconnect. Since the battery 110 has already supplied power to the system circuit 150 through path 163 before path 1611 is disconnected, it can prevent the electronic device 100 from losing power when path 1611 is disconnected. For specific methods to prevent the first transformer circuit 131 from activating overcurrent protection, please refer to the description of the other embodiments above, which will not be repeated here.

[0165] In some embodiments, when paths 160 and 1611 are connected, before paths 163 and 164 are connected, the processing circuit 152 can control the first transformer circuit 131 to turn off via signal line C2, thereby controlling path 1611 to disconnect. Since the battery 110 has already supplied power to the system circuit 150 through path 160 before path 1611 is disconnected, it can prevent the electronic device 100 from losing power when path 1611 is disconnected.

[0166] In some embodiments, the control module 171 can also control the operating state of the charging module 172. The processing circuit 152 can control the output signal of the control module 171 through the signal line C5. In response to the signal, the control module 171 can output a signal to the charging module 172 to control the charging module 172 to output voltage and current to the power management module 140, so that the external power supply 200 can provide power to the system circuit 150 through the path 163.

[0167] In some embodiments, when the external power supply 200 provides power to the system circuit 150 through path 163 and charges the battery 110 through path 164, when the system load of the electronic device 100 is high, the processing circuit 152 detects that the output current of the battery 110 is higher than the first preset current threshold. The output voltage and output current of the external power supply 200 can be fully provided to the system circuit 150, and the battery 110 can provide power to the system circuit 150 through path 160. That is, the system circuit 150 can obtain input current through both path 160 and path 163 at the same time, so that the electronic device 100 can support a higher system load.

[0168] The first output terminal of the first transformer circuit 131 can also be directly electrically connected to a part of the working circuit of the system circuit 150. Since the output voltage V131 of the first output terminal of the first transformer circuit 131, after passing through the first one-way conductive switch 1301, is greater than the output voltage V12 of the first switch 120, it will trigger overcurrent protection of the first transformer circuit 131. Therefore, in some embodiments, the electronic device 100 also includes a second switch 1303 and a second one-way conductive switch 1302. For example... Figures 5a-5c The diagram shown is a structural schematic of another electronic device provided in an embodiment of this application. Figures 5a-5c It shows Figures 1a-1c Another implementation of the first switch module 130 in the middle, based on Figures 3a-3bThe electronic device 100 shown may further include a first switch module 130 including a second switch 1303 and a second unidirectional conductive switch 1302, wherein the second switch 1303 is connected in series in path 1611, the second unidirectional conductive switch 1302 and the second switch 1303 are connected in parallel, the first end of the second switch 1303 and the first end of the second unidirectional conductive switch 1302 are connected, and the second end of the second switch 1303 and the second end of the second unidirectional conductive switch 1302 are connected.

[0169] In this embodiment of the application, the second one-way conductive switch 1302 can be part of the second switch 1303, which can save the circuit board area occupied by the second one-way conductive switch 1302 and allow more electronic devices to be placed on the circuit board.

[0170] It should be noted that the processing circuit 152 may be composed of one or more processing units. The processing circuit 152 can control the second switch 1303 to be turned on or off via the signal line C31. In response to the input signal at the control terminal of the second switch 1303 being an off signal (exemplarily, the off signal received by the control terminal of the second switch 1303 can be a signal output by the processing circuit 152, or a signal generated based on the signal output by the processing circuit 152), the second switch 1303 is off. In response to the input signal at the control terminal of the second switch 1303 being an on signal (exemplarily, the on signal received by the control terminal of the second switch 1303 can be a signal output by the processing circuit 152, or a signal generated based on the signal output by the processing circuit 152), the first switch 120 is on. For ease of description, in the following embodiments, it will be uniformly described that the processing circuit 152 can control the second switch 1303 to be turned on or off via the signal line C31, and the second switch 1303 is turned on or off in response to the input signal at the control terminal of the second switch 1303 being an on signal or an off signal.

[0171] based on Figure 3b The path 1611 shown is exemplary, as follows: Figure 5b As shown, path 1611 also includes a second switch 1303, which is connected in series to path 1611. Path 1611 is used to indicate the direction of current flow from battery 110 to system circuit 150 via first transformer circuit 131, first one-way conductive switch 1301, second switch 1303 and power management module 140.

[0172] like Figure 5a The path 160 shown and as Figure 3a The path shown, 160, is the same path. For example... Figure 5aAs shown, when path 160 is on, when processing circuit 152 detects that electronic device 100 meets the first condition, processing circuit 152 can control the output voltage V131 of first transformer circuit 131 to be higher than the forward conduction voltage of first one-way conductive switch 1301, and first one-way conductive switch 1301 is on; processing circuit 152 can control second switch 1303 to be on through signal line C31. In response to the input signal of the control terminal of second switch 1303 being a conduction signal, second switch 1303 is on, path 1611 is on, and the first output terminal of first transformer circuit 131 can provide input voltage V13 to power management module 140 through first one-way conductive switch 1301 and second switch 1303, and then the power management module 140 performs voltage conversion to supply power to system circuit 150. For example, as Figure 5b As shown, battery 110 can provide power to system circuit 150 through path 1611. When path 1611 is open, the first unidirectional conductive switch 1301 prevents the output voltage V12 of the first switch 120 from exceeding the output voltage V13 after passing through the first unidirectional conductive switch 1301 and the second switch 1303. This prevents excessive output current from exceeding the overcurrent point of battery 110, thus causing overcurrent protection and preventing power loss to electronic device 100. It should be noted that in this embodiment, the first condition, power management module 140, and system circuit 150 are described in the other embodiments above and will not be repeated here.

[0173] In this embodiment of the application, when path 160 is in the conducting state and before path 1611 is conducting, the processing circuit 152 can control the output voltage V131 of the first transformer circuit 131 to be lower than or equal to the voltage V12 output from the second terminal of the first switch 120 after passing through the first unidirectional conductive switch 1301 and the second switch 1303. This avoids the output current of the first transformer circuit 131 being too large when path 1611 is conducting, which would cause the first transformer circuit 131 to activate overcurrent protection. Since the battery 110 is in a low-voltage state at this time, the electronic device 100 is powered off.

[0174] When paths 160 and 1611 are connected, battery 110 provides power to system circuit 150 through path 1611. Processing circuit 152 can control the first switch 120 to open, and battery 110 stops supplying power to system circuit 150 through path 160. Since battery 110 can already provide power to system circuit 150 through path 1611 before it stops supplying power to system circuit 150 through path 160, it can prevent electronic device 100 from losing power due to the opening of the first switch 120.

[0175] In this embodiment of the application, the output voltage V131 of the first transformer circuit 131 after passing through the first unidirectional conductive switch 1301 and the second switch 1303 must be higher than the second preset voltage threshold to ensure that when the first switch 120 is opened, the output voltage V13 can ensure the normal operation of the electronic device 100 and will not cause the electronic device 100 to lose power due to the opening of the first switch 120.

[0176] like Figures 5a-5c As shown, battery 110 is electrically connected to the input terminal of first transformer circuit 131, and the first output terminal of first transformer circuit 131 can be electrically connected to a portion of the circuitry of system circuit 150. The first output terminal of first transformer circuit 131 outputs voltage V131, and battery 110 can also provide power to a portion of the circuitry of system circuit 150 through the first output terminal of first transformer circuit 131. For example,... Figure 5c As shown, battery 110 can provide power to a portion of the system circuit 150 via path 162. Path 162 indicates the current flow from battery 110 to system circuit 150 via first transformer circuit 131. The output voltage and current of battery 110 can be coupled to system circuit 150 via first transformer circuit 131 to provide power. Since battery 110 directly provides power to a portion of the system circuit 150 via first transformer circuit 131, it does not require voltage conversion by power management module 140. This eliminates the power loss caused by the operation of internal electronic components in power management module 140 when it performs voltage conversion, thereby improving the utilization rate of the power output from battery 110.

[0177] For example, in the above embodiment, when the battery 110 supplies power to the system circuit 150 via path 160, when the processing circuit 152 detects that the electronic device 100 meets a first condition, the first condition includes that the voltage of the battery 110 is not higher than a first preset voltage threshold, for example, the second preset voltage threshold is 3.4V and the first preset voltage threshold is 3.5V. When the processing circuit detects that the output voltage of the battery 110 is 3.5V, the processing circuit 152 first controls the first transformer circuit 131 to work and the second switch 1303 to be turned on. Since the voltage drop of the first one-way conductive switch 1301 is 0.7V, the processing circuit... The processing circuit 152 controls the output voltage of the first transformer circuit 131 to be 4.2V, so that the output voltage of the first transformer circuit 131 after passing through the first one-way conductive switch 1301 and the second switch 1303 is 3.5V, so that the battery 110 can supply power to the system circuit 150 through the path 1611. The processing circuit 152 then controls the first switch 120 to be disconnected. Since the processing circuit 152 controls the output voltage of the first transformer circuit 131 to be 3.5V after passing through the first one-way conductive switch 1301 and the second switch 1303, the electronic device 100 can work normally.

[0178] like Figure 5b As shown, when battery 110 supplies power to system circuit 150 through path 1611, when processing circuit 152 detects that electronic device 100 meets the second condition, processing circuit 152 can control first switch 120 to turn on via signal line C1. Responding to the input signal at the control terminal of first switch 120 being a turn-on signal, first switch 120 turns on. For example, as... Figure 5a As shown, path 160 is conducting. When path 160 is conducting, the first unidirectional conductive switch 1301 prevents the output voltage V12 of the first switch 120 from exceeding the output voltage V13 of the first transformer circuit 131 via the first unidirectional conductive switch 1301 and the second switch 1303. This prevents excessive output current from exceeding the overcurrent point of the battery 110, thus causing overcurrent protection and preventing power loss in the electronic device. It should be noted that the second condition is described in detail in the above embodiment and will not be repeated here.

[0179] In this embodiment of the application, before the battery 110 provides power to the system circuit 150 through the path 1611 is turned on, the processing circuit 152 can control the output voltage V131 of the first transformer circuit 131 after passing through the first one-way conductive switch 1301 and the second switch 1303 to be lower than or equal to the output voltage V12 of the first switch 120. This prevents the output current of the first transformer circuit 131 from exceeding the overcurrent point of the first transformer circuit 131 when the first switch 120 is turned on, thus preventing the first transformer circuit 131 from activating overcurrent protection and failing to work normally.

[0180] In this embodiment, the battery 110 is electrically connected to the input terminal of the first transformer circuit 131, and the first output terminal of the first transformer circuit 131 can be electrically connected to a portion of the system circuit 150. When the second switch 1303 is open and path 1611 is disconnected, the first transformer circuit 131 can supply power to the system circuit 150 through its first output terminal. For example, Figure 5c As shown, battery 110 can also supply power to system circuit 150 via path 162.

[0181] In some embodiments, since the second one-way conductive switch 1302 can have unidirectional conduction, the unidirectional conduction direction of the second one-way conductive switch 1302 is from the first switch 120 to the first transformer circuit 131. When the output voltage V12 of the first switch 120 is higher than the forward conduction voltage of the second one-way conductive switch 1302, the second one-way conductive switch 1302 is turned on. When the first switch 120 is turned on, the second switch 1303 is turned off, and the first transformer circuit 131 outputs voltage through the first output terminal, when the output voltage V131 of the first transformer circuit 131 is greater than the forward conduction voltage of the first one-way conductive switch 1301, the first one-way conductive switch 1301 is turned on. Since the second one-way conductive switch 1302 has unidirectional conduction, the second one-way conductive switch 1302 is not turned on, which can prevent the output voltage V131 of the first transformer circuit 131 from being higher than the forward conduction voltage of the first one-way conductive switch 1301 after passing through the first one-way conductive switch 1301. If the output voltage V12 of switch 120 is turned on, and the second one-way switch 1302 is turned on, the output voltage V131 of the first transformer circuit 131, after passing through the first one-way switch 1301 and the second one-way switch 1302, will be higher than the output voltage V12 of the first switch 120. Since voltages V13 and V12 are electrically connected through wires, the output current at the second terminal of the first one-way switch 1301 will be too large, leading to an excessive output current in the first transformer circuit 131. This will cause the first transformer circuit 131 to activate its overcurrent protection. It cannot work properly; when the output voltage V11 of battery 110 passes through the first switch 120, the output voltage V12 is higher than the forward conduction voltage of the second one-way conductive switch 1302, and the second one-way conductive switch 1302 conducts. Since the first one-way conductive switch 1301 has one-way conduction, the first one-way conductive switch 1301 does not conduct, which can prevent the output voltage of the first switch 120 after passing through the second one-way conductive switch 1302 from being higher than the output voltage V131 of the first transformer circuit 131. If the first one-way conductive switch 1301 conducts, the first When the output voltage of switch 120, after passing through the first one-way conductive switch 1301 and the second one-way conductive switch 1302, is higher than the output voltage V131 of the first transformer circuit 131, since the first transformer circuit 131 and the first one-way conductive switch 1301 or the second one-way conductive switch 1302 are electrically connected by wires, the output current from the second one-way conductive switch 1302 to the first transformer circuit 131 becomes too large, which in turn causes the output current of the battery 110 to become too large, causing the battery 110 to activate its overcurrent protection, thereby preventing the electronic device 100 from losing power.

[0182] In some embodiments, when the battery 110 stops providing power to the system circuit 150 through path 1611, the processing circuit 152 can also control the first transformer circuit 131 to stop working. At this time, the first output terminal of the first transformer circuit 131 has no output, which can save the power consumption of the first transformer circuit 131.

[0183] In this embodiment, when path 160 is on, processing circuit 152 can control the second switch 1303 to be off through signal line C31. In response to the input signal of the control terminal of the second switch 1303 being an off signal, the second switch 1303 is off, and path 1611 is off. Since the first switch 120 is already on before path 1611 is off, path 160 is on, and battery 110 can supply power to system circuit 150 through path 160, which can avoid the electronic device 100 from losing power due to the disconnection of path 1611.

[0184] like Figures 6a-6c The diagram shown is a structural schematic of another electronic device provided in an embodiment of this application. Figures 6a-6c As shown, based on Figures 5a-5c The illustrated electronic device 100 may further include a charging circuit 170 and an external power interface 180. The charging circuit 170 may include a control module 171 and a charging module 172. The electronic device 100 may also be connected to an external power source 200, which can be electrically connected to the electronic device 100 via the external power interface 180. A processing circuit 152 may be electrically connected to the control module 171 and the charging module 172, and the processing circuit 152 can control the operating states of the charging module 172 and the control module 171. It should be noted that the charging circuit 170 and the external power source 200 are described in the relevant descriptions of other embodiments above, and will not be repeated here.

[0185] In the embodiments of this application, such as Figure 6c As shown, the first switch 120 can also be set in the charging circuit 170, which can save the circuit board area occupied by the first switch 120 and allow more electronic devices to be placed on the circuit board.

[0186] like Figures 6a-6c As shown, when the electronic device 100 is connected to the external power supply 200, the external power supply 200 can be electrically connected to the charging module 172, and the external power supply 200 can provide voltage V21 to the charging module 172; the charging module 172 can be electrically connected to the input terminal of the power management module 140; the output terminal of the power management module 140 can be electrically connected to the system circuit 150.

[0187] In one possible embodiment, when the battery 110 supplies power to the system circuit 150 via path 1611, when the processing circuit 152 detects the external power supply 200 is connected, the processing circuit 152 can control the charging module 172 to operate via signal line C4. The charging module 172 can provide voltage V22 to the power management module 140, which then performs voltage conversion to supply power to the system circuit 150. For example, as shown... Figure 6aAs shown, the external power supply 200 can provide power to the system circuit 150 through path 163.

[0188] In this embodiment of the application, when path 1611 is turned on, before the external power supply 200 supplies power to the system circuit 150 through path 163, it is necessary to ensure that when the external power supply 200 supplies power to the system circuit 150 through path 163, the output current of the first transformer circuit 131 cannot exceed the overcurrent point of the first transformer circuit 131. In the proposed solution of this application embodiment, before path 163 is turned on, the processing circuit 152 can control the output voltage V131 of the first transformer circuit 131 after passing through the first one-way conductive switch 1301 and the second switch 1303 to be no higher than the output voltage V22 of the charging module 172. This avoids the situation where, after the external power supply 200 supplies power to the system circuit 150 through path 163, the voltage V13 is higher than the voltage V22. Since the voltages V13 and V22 are electrically connected by wires with low impedance, the output current of the first one-way conductive switch 1301 is too large, which in turn causes the output current of the first transformer circuit 131 to be too large, exceeding the overcurrent point of the first transformer circuit 131. As a result, the first transformer circuit 131 activates its overcurrent protection and cannot work normally.

[0189] In this embodiment, the external power supply 200 can be electrically connected to the charging module 172; the charging module 172 can be electrically connected to the first switch 120; and the first switch 120 can be electrically connected to the battery 110. When the external power supply 200 provides power to the system circuit 150 through path 163, for example, as... Figure 6b As shown, the external power supply 200 can also provide charging current to the battery 110 through path 164. The manner in which the external power supply 200 provides charging current to the battery 110 through path 164 is described in detail in the other embodiments above, and will not be repeated here.

[0190] In some embodiments, the control module 171 can also control the operating state of the first switch 120. See the descriptions of the other embodiments above for details, which will not be repeated here.

[0191] In some embodiments, when the external power supply 200 provides power to the system circuit 150 through path 163 and charges the battery 110 through path 164, when the system load of the electronic device 100 is high, the system circuit 150 can simultaneously obtain input current through paths 160 and 163, enabling the electronic device 100 to support higher system loads. See the descriptions of the other embodiments above for details, which will not be repeated here.

[0192] In this embodiment, when path 163 is on, processing circuit 152 can control the second switch 1303 to open via signal line C31, thereby controlling path 1611 to open. Since external power supply 200 has already supplied power to system circuit 150 through path 163 before path 1611 is opened, power loss to electronic device 100 can be avoided when path 1611 is opened.

[0193] In some embodiments, when the second switch 1303 is open and path 1611 is disconnected, the first transformer circuit 131 can still supply power to the system circuit 150 through the first output terminal. For example, Figure 5c As shown, battery 110 can also supply power to system circuit 150 via path 162. See the descriptions of the other embodiments above for details, which will not be repeated here.

[0194] In some embodiments, since the first one-way conductive switch 1301 and the second one-way conductive switch 1302 have unidirectional conductivity, the first transformer circuit 131 can be prevented from activating its overcurrent protection and failing to operate normally; the battery 110 can also be prevented from activating its overcurrent protection, thereby preventing the electronic device 100 from losing power. See the descriptions of the other embodiments above for details, which will not be repeated here.

[0195] In some embodiments, when the battery 110 stops providing power to the system circuit 150 through path 1611, the processing circuit 152 can also control the first transformer circuit 131 to stop working. At this time, the first output terminal of the first transformer circuit 131 has no output, which can save the power consumption of the first transformer circuit 131.

[0196] In another possible embodiment, when battery 110 supplies power to system circuit 150 via path 1611, when processing circuit 152 detects the external power supply 200 is connected, processing circuit 152 can control the first switch 120 to turn on via signal line C1, for example, as shown in... Figure 5a As shown, path 160 is open.

[0197] In this embodiment, when path 1611 is on, since the first switch 120 is on and its impedance is very small (even negligible), the output voltage at the second terminal of the first switch circuit 120 and the output voltage V11 of the battery 110 can be considered the same. Therefore, in the solution proposed in this embodiment, before the battery 110 provides power to the system circuit 150 through path 160, the processing circuit 152 can output a signal to the first transformer circuit 131 to control the output voltage V131 of the first transformer circuit 131 after passing through the first unidirectional conductive switch 1301 and the second switch 1303 to ensure that the output voltage V13 of the first transformer circuit 131 is not higher than the output voltage V11 of the battery 110. This avoids the voltage V13 being higher than the voltage V12 when the first switch 120 is on, which would cause the output current of the first transformer circuit 131 to be too large, exceeding the overcurrent point of the first transformer circuit 131, triggering the overcurrent protection of the first transformer circuit 131, and preventing it from working normally.

[0198] In this embodiment, the control module 171 can also control the operating state of the first switch 120. See the descriptions of the other embodiments above for details, which will not be repeated here.

[0199] In this embodiment of the application, when path 1611 and path 160 are connected, for example, as shown... Figures 6a-6b As shown, the external power supply 200 can provide power to the system circuit 150 through path 163 and charge the battery 110 through path 164, at which time path 160 is disconnected. See the detailed description in the above embodiments for further details, which will not be repeated here.

[0200] In some embodiments, before the external power supply 200 provides power to the system circuit 150 through path 163 and charges the battery 110 through path 164, the processing circuit 152 can control the output voltage V131 of the first transformer circuit 131 after passing through the first unidirectional conductive switch 1301 and the second switch 1303 to ensure that the output voltage V13 is not higher than the output voltage V22 of the charging module 172, thus preventing the first transformer circuit 131 from activating overcurrent protection and failing to operate normally. When paths 163 and 164 are connected, the processing circuit 152 can also control the second switch 1303 to open through signal line C31, thereby controlling path 1611 to open. Since the battery 110 has already supplied power to the system circuit 150 through path 163 before path 1611 is opened, it can prevent the electronic device 100 from losing power when path 1611 is opened. For details, please refer to the descriptions of the other embodiments above, which will not be repeated here.

[0201] In some embodiments, the control module 171 can also control the operating state of the charging module 172. See the descriptions of the other embodiments above for details, which will not be repeated here.

[0202] In some embodiments, when the external power supply 200 provides power to the system circuit 150 through path 163 and charges the battery 110 through path 164, when the system load of the electronic device 100 is high, the system circuit 150 can simultaneously obtain input current through paths 160 and 163, enabling the electronic device 100 to support higher system loads. See the descriptions of the other embodiments above for details, which will not be repeated here.

[0203] In this embodiment, when paths 160 and 1611 are connected, the processing circuit 152 can control the second switch 1303 to open via signal line C31, thereby controlling path 1611 to open. When path 1611 is open, the processing circuit 152 controls paths 163 and 164 to open. Since the battery 110 has already supplied power to the system circuit 150 through path 160 before path 1611 is opened, the electronic device 100 can be prevented from losing power when path 1611 is opened.

[0204] In some embodiments, when the second switch 1303 is open and path 1611 is disconnected, the first transformer circuit 131 can supply power to the system circuit 150 through the first output terminal, for example, as shown in... Figure 5c As shown, battery 110 can also supply power to system circuit 150 via path 162. Since the first one-way conductive switch 1301 and the second one-way conductive switch 1302 have unidirectional conductivity, the first transformer circuit 131 can be prevented from activating its overcurrent protection and failing to operate normally; the battery 110 can also be prevented from activating its overcurrent protection, thereby preventing the electronic device 100 from losing power. See the descriptions of the other embodiments above for details, which will not be repeated here.

[0205] In some embodiments, when the battery 110 stops providing power to the system circuit 150 through path 1611, the processing circuit 152 can also control the first transformer circuit 131 to stop working. At this time, the first output terminal of the first transformer circuit 131 has no output, which can save the power consumption of the first transformer circuit 131.

[0206] Because the first unidirectional conductive switch 1301 has a high on-state voltage drop, its power consumption is relatively large. When power is supplied to the system circuit 150 through path 1611, the presence of the first unidirectional conductive switch 1301 results in high power consumption in path 1611. Therefore, in some embodiments, the electronic device includes a third switch 1304, which is connected in parallel with the first unidirectional conductive switch 1301. The third switch 1304 has a low on-state impedance and low power consumption. Figures 7a-7c The diagram shown is a structural schematic of another electronic device provided in an embodiment of this application. Figures 7a-7c It shows Figures 1a-1c Another implementation of the first switch module 130 in the middle, based on Figures 3a-3bThe electronic device 100 shown may further include a third switch 1304 in the first switch module 130, wherein the first output terminal of the first transformer circuit 131 is electrically connected to the first terminal of the third switch 1304; the second terminal of the third switch 1304 is electrically connected to the input terminal of the power management module 140; and the third switch 1304 and the first unidirectional conductive switch 1301 are connected in parallel.

[0207] In this embodiment of the application, the first one-way conductive switch 1301 can be part of the third switch 1304, which can save the circuit board area occupied by the first one-way conductive switch 1301 and allow more electronic devices to be placed on the circuit board.

[0208] It should be noted that the processing circuit 152 may be composed of one or more processing units. The processing circuit 152 can control the third switch 1304 to be turned on or off via the signal line C32. In response to the input signal at the control terminal of the third switch 1304 being an off signal (exemplarily, the off signal received by the control terminal of the third switch 1304 can be a signal output by the processing circuit 152, or a signal generated based on the signal output by the processing circuit 152), the third switch 1304 is off. In response to the input signal at the control terminal of the third switch 1304 being an on signal (exemplarily, the on signal received by the control terminal of the third switch 1304 can be a signal output by the processing circuit 152, or a signal generated based on the signal output by the processing circuit 152), the first switch 120 is on. For ease of description, in the following embodiments, it will be uniformly described that the processing circuit 152 can control the third switch 1304 to be turned on or off via the signal line C32, and the third switch 1304 is turned on or off in response to the input signal at the control terminal of the third switch 1304 being an on signal or an off signal.

[0209] In one possible embodiment, such as Figure 7a As shown, when path 160 is on, when processing circuit 152 detects that electronic device 100 meets the first condition, processing circuit 152 can control the output voltage V131 of first transformer circuit 131 to be higher than the forward conduction voltage of first one-way conductive switch 1301, and first one-way conductive switch 1301 is turned on. For example, as shown... Figure 7b As shown, path 1611 is conductive. When path 1611 is conductive, the first unidirectional conductive switch 1301 can prevent the electronic device 100 from losing power. See the descriptions of the other embodiments above for details, which will not be repeated here.

[0210] In this embodiment of the application, when path 160 is in the conducting state, before path 1611 is conducting, it is necessary to avoid the first transformer circuit 131 from activating overcurrent protection when path 1611 is conducting. Since the battery 110 is in a low-voltage state at this time, the electronic device 100 will be powered off. For details, please refer to the description of other embodiments above, which will not be repeated here.

[0211] When paths 160 and 1611 are connected, the processing circuit 152 can control the first switch 120 to open via signal line C1, and the battery 110 stops supplying power to the system circuit 150 through path 160. Since the battery 110 can already provide power to the system circuit 150 through path 1611 before it stops supplying power to the system circuit 150 through path 160, it can prevent the electronic device 100 from losing power due to the opening of the first switch 120.

[0212] In this embodiment, when the battery 110 supplies power to the system circuit 150 through path 1611, the voltage V13 is the voltage V131 minus the voltage drop of the first unidirectional conductive switch 1301. When the battery 110 supplies power to the system circuit 150 through path 1612, the voltage V13 is the voltage V131 minus the voltage drop of the third switch 1304. Since the voltage drop of the first unidirectional conductive switch 1301 is greater than the voltage drop of the third switch 1304, when the output voltage V131 of the first output terminal of the first transformer circuit 131 remains unchanged, the voltage V13 when the battery 110 supplies power to the system circuit 150 through path 1612 is greater than the voltage V13 when the battery supplies power to the system circuit 150 through path 1611. When power is supplied to system circuit 150 via path 1612, the higher the voltage V13, the higher the output voltage V131 of the first transformer circuit 131. Since the input voltage of the first transformer circuit 131 is the output voltage V11 of the battery 110, the higher the output voltage V131 of the first transformer circuit 131, the greater the voltage difference between the input and output voltages of the first transformer circuit 131, and the lower the efficiency of the first transformer circuit 131. Therefore, when the battery 110 supplies power to system circuit 150 via path 1612, in order to save the power consumption of electronic device 100 and extend the standby time of electronic device 100, it is necessary to maximize the efficiency of the first transformer circuit 131, that is, to minimize the output voltage V131 of the first transformer circuit 131. The processing circuit 152 can control the first transformer circuit 131 to reduce the output voltage, so as to minimize the voltage difference between the output and input voltages of the first transformer circuit 131. The output voltage V13 of the third switch 1304 must be higher than the second preset voltage threshold to ensure that when path 1612 is turned on, the output voltage V13 can ensure that the electronic device 100 works normally and will not lose power due to the disconnection of path 1611.

[0213] In some embodiments, the processing circuit 152 can control the output voltage V131 of the first transformer circuit 131 through a pulse width modulation (PWM) signal. For example, the processing circuit 152 can adjust the working time of the first transformer circuit 131 by adjusting the duty cycle of the PWM signal, thereby adjusting the magnitude of the output voltage of the first transformer circuit 131.

[0214] In this embodiment, when path 160 is disconnected, processing circuit 152 can control the third switch 1304 to turn on via signal line C32. Responding to the input signal at the control terminal of the third switch 1304 being a turn-on signal, the third switch 1304 turns on, and the third switch 1304 can provide voltage V13 to the power management module 140 via its second terminal. For example, as shown... Figure 7c As shown, path 1612 is open, and path 1612 is used to indicate the current flow from battery 110 through first transformer circuit 131, third switch 1304 and power management module 140 to system circuit 150. Battery 110 can provide power to system circuit 150 through path 1612. Since the first one-way conductive switch 1301 is bypassed when the third switch 1304 is open, the power consumption of electronic device 100 can be saved and the standby time of electronic device 100 can be extended.

[0215] For example, in the above embodiment, when the battery 110 supplies power to the system circuit 150 via path 160, when the processing circuit 152 detects that the electronic device 100 meets a first condition, the first condition includes that the voltage of the battery 110 is not higher than a first preset voltage threshold, for example, the second preset voltage threshold is 3.4V and the first preset voltage threshold is 3.5V. When the processing circuit detects that the output voltage of the battery 110 is 3.5V, the processing circuit 152 first controls the first transformer circuit 131 to work. Since the voltage drop of the first unidirectional conductive switch 1301 is 0.7V, the processing circuit 152 controls the first transformer circuit 130 to work. The output voltage of the first transformer circuit 131 is 4.2V. After the output voltage of the first one-way conductive switch 1301 passes through the first one-way conductive switch 1301, the output voltage of the first one-way conductive switch 1301 is 3.5V, so that the battery 110 can supply power to the system circuit 150 through the path 1611. The processing circuit 152 then controls the first switch 120 to open. When the first switch 120 is open, the processing circuit 152 controls the third switch 1304 to be turned on, and then controls the output voltage of the first transformer circuit 131 to be 3.5V, so that the output voltage of the third switch 1304 is 3.5V, and the electronic device 100 can work normally.

[0216] In another possible embodiment, such as Figure 7aAs shown, when path 160 is on, when the processing circuit 152 detects that the electronic device 100 meets the first condition, the processing circuit 152 can control the third switch 1304 to be on through the signal line C32, so that path 1612 is on.

[0217] In this embodiment of the application, when path 160 is in the conducting state and before path 1612 is conducting, the processing circuit 152 can control the output voltage V131 of the first transformer circuit 131 to be equal to the output voltage V12 of the second terminal of the third switch 1304 after passing through the third switch 1304. This avoids the situation where, when voltage V13 is higher than V12, the output current of the first transformer circuit 131 is greater than the overcurrent point of the first transformer circuit 131 due to the electrical connection between the third switch 1304 and the first switch 120 via wires, causing the first transformer circuit 131 to be overcurrent protected. Since the battery 110 is in a low-voltage state at this time, the electronic device 100 is powered off. It also avoids the situation where, when voltage V12 is higher than V13, the output current of the battery 110 is greater than the overcurrent point of the battery 110 due to the electrical connection between the third switch 1304 and the first switch 120 via wires, causing the battery 110 to activate overcurrent protection and the electronic device 100 to be powered off.

[0218] In this embodiment, when path 1612 is on, processing circuit 152 can control the first switch 120 to open, and battery 110 stops supplying power to system circuit 150 through path 160. Since battery 110 can already provide power to system circuit 150 through path 1612 before it stops supplying power through path 160, it prevents power loss to electronic device 100 due to the opening of the first switch 120. The output voltage V13 of the third switch 1304 must be higher than the second preset voltage threshold to ensure that when path 1612 is on, the output voltage V13 can guarantee the normal operation of electronic device 100 and prevent power loss due to the opening of path 160.

[0219] For example, in the above embodiment, when the battery 110 supplies power to the system circuit 150 via path 160, when the processing circuit 152 detects that the electronic device 100 meets a first condition, the first condition includes that the voltage of the battery 110 is not higher than a first preset voltage threshold, for example, the second preset voltage threshold is 3.4V and the first preset voltage threshold is 3.5V. When the processing circuit detects that the output voltage of the battery 110 is 3.5V, the processing circuit 152 first controls the first transformer circuit 131 to work and the third switch 1304 to be turned on. The processing circuit 152 controls the output voltage of the first transformer circuit 131 to be 3.5V, so that after the output voltage of the first transformer circuit 131 passes through the third switch 1304, the output voltage of the third switch 1304 is 3.5V, so that the battery 110 can supply power to the system circuit 150 via path 1612, so that the electronic device 100 can work normally. Then the processing circuit 152 controls the first switch 120 to be turned off.

[0220] like Figure 7c As shown, when battery 110 supplies power to system circuit 150 via path 1612, when processing circuit 152 detects that electronic device 100 meets the second condition, processing circuit 152 can control third switch 1304 to open via signal line C32. Responding to the input signal at the control terminal of third switch 1304 being an open signal, third switch 1304 opens, and path 1612 is disconnected. Path 1611 is then connected. When path 1611 is connected, processing circuit 152 can control path 160 to connect, and can also control path 1611 to disconnect after path 160 is connected. See details... Figures 3a-3b Related implementation examples will not be described in detail here.

[0221] like Figures 8a-8c The diagram shown is a structural schematic of another electronic device provided in an embodiment of this application. Figures 8a-8c As shown, based on Figures 7a-7c The illustrated electronic device 100 may further include a charging circuit 170 and an external power interface 180. The charging circuit 170 may include a control module 171 and a charging module 172. The electronic device 100 may also be connected to an external power source 200, which can be electrically connected to the electronic device 100 via the external power interface 180. A processing circuit 152 may be electrically connected to the control module 171 and the charging module 172, and the processing circuit 152 can control the operating states of the charging module 172 and the control module 171. It should be noted that the charging circuit 170 and the external power source 200 are described in the relevant descriptions of other embodiments above, and will not be repeated here.

[0222] In the embodiments of this application, such as Figure 8cAs shown, the first switch 120 can also be set in the charging circuit 170, which can save the circuit board area occupied by the first switch 120 and allow more electronic devices to be placed on the circuit board.

[0223] like Figures 8a-8c As shown, when the electronic device 100 is connected to the external power supply 200, the external power supply 200 can be electrically connected to the charging module 172, and the external power supply 200 can provide voltage V21 to the charging module 172; the charging module 172 can be electrically connected to the input terminal of the power management module 140; the output terminal of the power management module 140 can be electrically connected to the system circuit 150.

[0224] like Figures 8a-8c As shown, based on Figures 4a-4c The electronic device 100, the first switch module 130 may further include a third switch 1304, wherein the first output terminal of the first transformer circuit 131 is electrically connected to the first terminal of the third switch 1304; the second terminal of the third switch 1304 is electrically connected to the input terminal of the power management module 140; the third switch 1304 and the first unidirectional conductive switch 1301 are connected in parallel. When the battery 110 supplies power to the system circuit 150 through path 1612, when the processing circuit 152 detects the external power supply 200 connected, the processing circuit 152 can control the third switch 1304 to open through signal line C32. In response to the input signal of the control terminal of the third switch 1304 being an open signal, the third switch 1304 opens, and path 1612 is disconnected. When path 1612 is disconnected, for example, as... Figure 7b As shown, path 1611 is active. When path 1611 is active, for example, as... Figure 8a As shown, the processing circuit 152 can control the path 163 to be turned on, and can also control the path 1611 to be turned off after the path 163 is turned on. For example, Figure 8b As shown, path 164 can also be controlled to conduct; when path 1611 is conducting, processing circuit 152 can also control path 160 to conduct, and can also control path 1611 to disconnect after path 160 is conducting, and then control paths 163 and 164 to conduct, causing path 160 to disconnect; when path 1611 is conducting, processing circuit 152 can also control path 160 to conduct, and then control paths 163 and 164 to conduct, causing path 160 to disconnect, and can also control path 1611 to disconnect after path 160 is disconnected. See details. Figures 4a-4c Related implementation examples will not be described in detail here.

[0225] like Figures 9a-9d The diagram shown is a structural schematic of another electronic device provided in an embodiment of this application. Figures 9a-9c It shows Figures 1a-1c Another implementation of the first switch module 130 in the middle, based on Figures 5a-5cThe electronic device 100 shown further includes a third switch 1304, a first one-way conductive switch 1301 and the third switch 1304 connected in parallel, a first end of the third switch 1304 and a first end of the first one-way conductive switch 1301 connected in parallel, and a second end of the third switch 1304 and a second end of the first one-way conductive switch 1301 connected in parallel.

[0226] In this embodiment of the application, the first one-way conductive switch 1301 can be part of the third switch 1304, which can save the circuit board area occupied by the first one-way conductive switch 1301 and allow more electronic devices to be placed on the circuit board.

[0227] In one possible embodiment, such as Figure 9a As shown, when path 160 is on, when processing circuit 152 detects that electronic device 100 meets the first condition, processing circuit 152 can control the output voltage V131 of first transformer circuit 131 to be higher than the forward conduction voltage of first one-way conductive switch 1301, and first one-way conductive switch 1301 is turned on; processing circuit 152 can control second switch 1303 to be turned on through signal line C31, for example, as Figure 9b As shown, path 1611 is made conductive. When path 1611 is conductive, the first unidirectional conductive switch 1301 can prevent the electronic device 100 from losing power. See the descriptions of the other embodiments above for details, which will not be repeated here.

[0228] In this embodiment, when path 160 is in the conducting state and before path 1611 is conducting, the processing circuit 152 can control the output voltage V131 of the first transformer circuit 131 to be lower than or equal to the voltage V12 output from the second terminal of the first switch 120 after passing through the first unidirectional conductive switch 1301 and the second switch 1303. This is to prevent the first transformer circuit 131 from activating overcurrent protection when path 1611 is conducting, as the battery 110 is in a low-voltage state at this time, causing the electronic device 100 to lose power. See the descriptions of other embodiments above for details, which will not be repeated here.

[0229] When paths 160 and 1611 are connected, the processing circuit 152 can control the first switch 120 to open via signal line C1, thus disconnecting path 160. Since the battery 110 can already provide power to the system circuit 150 via path 1611 before the battery 110 stops supplying power to the system circuit 150 through path 160, it can prevent the electronic device 100 from losing power due to the opening of the first switch 120.

[0230] In this embodiment of the application, when path 160 is disconnected, processing circuit 152 can control the third switch 1304 to be turned on via signal line C32. For example, Figure 9cAs shown, path 1612 is open, and path 1612 is used to indicate the current flow from battery 110 through first transformer circuit 131, third switch 1304, second switch 1303 and power management module 140 to system circuit 150. Battery 110 can provide power to system circuit 150 through path 1612. Since the first one-way conductive switch 1301 is bypassed when the third switch 1304 is open, the power consumption of electronic device 100 can be saved and the standby time of electronic device 100 can be extended.

[0231] In this embodiment, when the battery 110 provides power to the system circuit 150 through path 1612, in order to save power consumption of the electronic device 100 and extend its standby time, it is necessary to maximize the efficiency of the first transformer circuit 131, that is, to minimize the output voltage V131 of the first transformer circuit 131 and minimize the voltage difference between the output voltage and the input voltage of the first transformer circuit 131. After the output voltage V131 of the first terminal of the first transformer circuit 131 passes through the third switch 1304 and the second switch 1303, the output voltage V13 must be higher than the second preset voltage threshold to ensure that when path 1612 is turned on, the output voltage V13 can ensure the normal operation of the electronic device 100 and prevent the electronic device 100 from losing power due to the disconnection of path 1611. For details, please refer to the description of other embodiments above, which will not be repeated here.

[0232] For example, in the above embodiment, when the battery 110 supplies power to the system circuit 150 via path 160, when the processing circuit 152 detects that the electronic device 100 meets a first condition, the first condition includes that the voltage of the battery 110 is not higher than a first preset voltage threshold, for example, the second preset voltage threshold is 3.4V and the first preset voltage threshold is 3.5V. When the processing circuit detects that the output voltage of the battery 110 is 3.5V, the processing circuit 152 first controls the first transformer circuit 131 to work and the second switch 1303 to be turned on. Since the voltage drop of the first one-way conductive switch 1301 is 0.7V, the processing circuit 152 controls the output of the first transformer circuit 131. The voltage is 4.2V. After the output voltage of the first transformer circuit 131 passes through the first one-way conductive switch 1301 and the second switch 1303, the output voltage is 3.5V, so that the battery 110 can supply power to the system circuit 150 through the path 1611. The processing circuit 152 then controls the first switch 120 to open. When the first switch 120 is open, the processing circuit 152 controls the third switch 1304 to open, and then controls the output voltage of the first transformer circuit 131 to be 3.5V. After the output voltage of the first transformer circuit 131 passes through the third switch 1304 and the second switch 1303, the output voltage is 3.5V, so that the electronic device 100 can work normally.

[0233] In another possible embodiment, such as Figure 9aAs shown, when path 160 is turned on, when the processing circuit 152 detects that the electronic device 100 meets the first condition, the processing circuit 152 can control the second switch 1303 and the third switch 1304 to turn on through signal line C31 and signal line C32 respectively, so that path 1612 is turned on.

[0234] In this embodiment of the application, when path 160 is in the conducting state and before path 1612 is conducting, the processing circuit 152 can control the output voltage V131 of the first transformer circuit 131 to be equal to the voltage V12 output from the second terminal of the first switch 120 after passing through the third switch 1304 and the second switch 1303. This avoids the first transformer circuit 131 from triggering overcurrent protection when voltage V13 is higher than V12, as the battery 110 is in a low-voltage state at this time, causing the electronic device 100 to lose power; it also avoids the battery 110 from activating overcurrent protection when voltage V12 is higher than V13, causing the electronic device 100 to lose power. See the descriptions of the other embodiments above for details, which will not be repeated here.

[0235] In this embodiment, when path 1612 is on, processing circuit 152 can control the first switch 120 to open, and battery 110 stops supplying power to system circuit 150 through path 160. Since battery 110 can already provide power to system circuit 150 through path 1612 before battery 110 stops supplying power to system circuit 150 through path 160, it can prevent electronic device 100 from losing power due to the opening of the first switch 120.

[0236] In some embodiments, after the output voltage V131 of the first transformer circuit 131 passes through the third switch 1304 and the second switch 1303, the output voltage V13 must be higher than the second preset voltage threshold to ensure that when the path 1612 is turned on, the output voltage V13 can ensure that the electronic device 100 works normally and will not lose power due to the disconnection of the path 160.

[0237] like Figures 9a-9d As shown, battery 110 is electrically connected to the input terminal of the first transformer circuit 131, and the first output terminal of the first transformer circuit 131 can be electrically connected to a portion of the system circuit 150. For example, as shown... Figure 9d As shown, battery 110 can provide power to a portion of the circuitry of system circuitry 150 via path 162. See the descriptions of the other embodiments above for details, which will not be repeated here.

[0238] For example, in the above embodiment, when the battery 110 supplies power to the system circuit 150 via path 160, when the processing circuit 152 detects that the electronic device 100 meets the first condition, the first condition includes that the voltage of the battery 110 is not higher than the first preset voltage threshold, for example, the second preset voltage threshold is 3.4V and the first preset voltage threshold is 3.5V. When the processing circuit detects that the output voltage of the battery 110 is 3.5V, the processing circuit 152 first controls the first transformer circuit 131 to work and the third switch 1304 and the second switch 1303 to be turned on. The processing circuit 152 controls the output voltage of the first transformer circuit 131 to be 3.5V, so that the output voltage of the first transformer circuit 131 is 3.5V after passing through the third switch 1304 and the second switch 1303, so that the battery 110 can supply power to the system circuit 150 via path 1612, so that the electronic device 100 can work normally. Then the processing circuit 152 controls the first switch 120 to be turned off.

[0239] like Figure 9c As shown, when battery 110 supplies power to system circuit 150 through path 1612, when processing circuit 152 detects that electronic device 100 meets the second condition, processing circuit 152 can control the third switch 1304 to open via signal line C32, causing path 1612 to open and path 1611 to open. When path 1611 is open, processing circuit 152 can control path 160 to open, and can also control path 1611 to open after path 160 is open. See details. Figures 5a-5c Related implementation examples will not be described in detail here.

[0240] like Figures 10a-10c The diagram shown is a structural schematic of another electronic device provided in an embodiment of this application. Figures 10a-10c As shown, based on Figures 9a-9c The illustrated electronic device 100 may further include a charging circuit 170 and an external power interface 180. The charging circuit 170 may include a control module 171 and a charging module 172. The electronic device 100 may also be connected to an external power source 200, which can be electrically connected to the electronic device 100 via the external power interface 180. A processing circuit 152 may be electrically connected to the control module 171 and the charging module 172, and the processing circuit 152 can control the operating states of the charging module 172 and the control module 171. It should be noted that the charging circuit 170 and the external power source 200 are described in the relevant descriptions of other embodiments above, and will not be repeated here.

[0241] In the embodiments of this application, such as Figure 10c As shown, the first switch 120 can also be set in the charging circuit 170, which can save the circuit board area occupied by the first switch 120 and allow more electronic devices to be placed on the circuit board.

[0242] like Figures 10a-10c As shown, when the electronic device 100 is connected to an external power supply 200, the external power supply 200 can be electrically connected to the charging module 172, and the external power supply 200 can provide voltage V21 to the charging module 172; the charging module 172 can be electrically connected to the input terminal of the power management module 140; the output terminal of the power management module 140 can be electrically connected to the system circuit 150. Based on Figures 6a-6c The electronic device 100, the first switch module 130 may further include a third switch 1304, a first one-way conductive switch 1301 and a third switch 1304 connected in parallel, a first terminal of the third switch 1304 and a first terminal of the first one-way conductive switch 1301 connected in parallel, and a second terminal of the third switch 1304 and a second terminal of the first one-way conductive switch 1301 connected in parallel. When the battery 110 supplies power to the system circuit 150 through path 1612, when the processing circuit 152 detects the access of the external power supply 200, the processing circuit 152 can control the third switch 1304 to open through signal line C32. In response to the input signal of the control terminal of the third switch 1304 being an open signal, the third switch 1304 opens, path 1612 opens, and path 1611 is connected. When path 1611 is connected, for example, as shown... Figure 10a As shown, the processing circuit 152 can control the path 163 to be turned on, and can also control the path 1611 to be turned off after the path 163 is turned on. For example, Figure 10b As shown, path 164 can also be controlled to conduct; when path 1611 is conducted, processing circuit 152 can also control path 160 to conduct, and can also control path 1611 to disconnect after path 160 is conducted, and then control paths 163 and 164 to conduct, so that path 160 is disconnected. See details. Figures 6a-6c Related implementation examples will not be described in detail here.

[0243] In some embodiments, the first switch 120, the second switch 1303, the third switch 1304, the first unidirectional conductive switch 1301, and the second unidirectional conductive switch 1302 involved in the above embodiments can be switches Q1, Q2, Q3, diode D1, and diode D2, respectively. Any one or more of switches Q1, Q2, or Q3 can be a MOSFET (e.g., a PMOS transistor or an NMOS transistor) or a bipolar transistor. The anode of diode D1 is the first terminal of the first unidirectional conductive switch 1301, and the cathode of diode D1 is the second terminal of the first unidirectional conductive switch 1301; the anode of diode D2 is the second terminal of the second unidirectional conductive switch 1302, and the cathode of diode D2 is the first terminal of the second unidirectional conductive switch 1302.

[0244] In this embodiment of the application, the first unidirectional conductive switch 1301 can be part of the third switch 1304, that is, diode D1 can be a parasitic diode of switch Q3; diode D1 can also be a diode connected in parallel with switch Q3; the second unidirectional conductive switch 1302 can be part of the second switch 1303, that is, diode D2 can be a parasitic diode of switch Q2; diode D2 can also be a diode connected in parallel with switch Q2.

[0245] For example, taking the first unidirectional conductive switch 1301 and the second unidirectional conductive switch 1302 as diodes D1 and D2 respectively, and switches Q1, Q2 and Q3 as PMOS transistors, the power supply circuit provided in this application embodiment will be described in detail below. The PMOS transistor has a source (s), gate (g), and drain (d) terminal, and Vgs is the voltage between the gate and source terminals. When Vgs is lower than a first voltage threshold (e.g., -0.4V), the PMOS transistor is turned on. The source (s), gate (g), and drain (d) terminals of switch Q1 are the second terminal, control terminal, and first terminal of the first switch 120, respectively; the source (s), gate (g), and drain (d) terminals of switch Q2 are the first terminal, control terminal, and second terminal of the second switch 1303, respectively; and the source (s), gate (g), and drain (d) terminals of switch Q3 are the second terminal, control terminal, and first terminal of the third switch 1304, respectively.

[0246] It should be noted that the processing circuit 152 can be composed of one or more processing units. The processing circuit 152 can control the switch Q1 to be turned on or off through the signal line C1. In response to the input signal of the control terminal of the switch Q1 being open (for example, the open circuit received by the control terminal of the switch Q1 can be the signal output by the processing circuit 152, or it can be a signal generated based on the signal output by the processing circuit 152), the g pole can be pulled up to the s pole through the pull-up resistor, and Vgs is not lower than the first voltage threshold, and the switch Q1 is turned off; In response to the input signal of the control terminal of the switch Q1 being low (for example, the low level received by the control terminal of the switch Q1 can be the signal output by the processing circuit 152, or it can be a signal generated based on the signal output by the processing circuit 152), and Vgs is lower than the first voltage threshold, the switch Q1 is turned on. For ease of description, in the following embodiments, it is uniformly described that the processing circuit 152 can control the switch Q1 to be turned on or off through the signal line C1, and the switch Q1 is turned on or off in response to the input signal of the control terminal of the switch Q1 being low or open. The processing circuit 152 can control the switch Q2 to be turned on or off via signal line C31. In response to an open circuit input signal at the control terminal of switch Q2 (for example, the open circuit received by the control terminal of switch Q2 can be a signal output by the processing circuit 152, or a signal generated based on the signal output by the processing circuit 152), the gate (g) can be pulled up to the source (s) via a pull-up resistor. When Vgs is not lower than a first voltage threshold, switch Q2 is off. In response to a low level input signal at the control terminal of switch Q2 (for example, the low level received by the control terminal of switch Q2 can be a signal output by the processing circuit 152, or a signal generated based on the signal output by the processing circuit 152), when Vgs is lower than the first voltage threshold, switch Q2 is turned on. For ease of description, in the following embodiments, it is uniformly described that the processing circuit 152 can control the switch Q2 to be turned on or off via signal line C31, and the switch Q2 is turned on or off in response to a low level or an open circuit input signal at the control terminal of switch Q2. The processing circuit 152 can control the switch Q3 to be turned on or off via the signal line C32. In response to the input signal at the control terminal of switch Q3 being open (for example, the open circuit received by the control terminal of switch Q3 can be the signal output by the processing circuit 152, or it can be a signal generated based on the signal output by the processing circuit 152), the gate (g) can be pulled up to the source (s) via a pull-up resistor, and Vgs is not lower than the first voltage threshold, so switch Q3 is turned off. In response to the input signal at the control terminal of switch Q3 being low (for example, the low level received by the control terminal of switch Q3 can be the signal output by the processing circuit 152, or it can be a signal generated based on the signal output by the processing circuit 152), and Vgs is lower than the first voltage threshold, switch Q3 is turned on.For ease of description, in the following embodiments, it is uniformly described that the processing circuit 152 can control the switch Q3 to be turned on or off through the signal line C32. In response to the input signal at the control terminal of the switch Q3 being low or open, the switch Q3 is turned on or off.

[0247] like Figures 11a-11b It shows Figures 3a-3b One embodiment of the first switch 120 and the first one-way conductive switch 1301 in the figure, wherein the first switch 120 may include a switch Q1 and the first one-way conductive switch 1301 may include a diode D1.

[0248] like Figures 11a-11b As shown, battery 110 can be electrically connected to the drain (d) terminal of switch Q1, and the source (s) terminal of switch Q1 can be electrically connected to the input terminal of power management module 140; the anode of diode D1 can be electrically connected to the first output terminal of the first transformer circuit 131, and the cathode of diode D1 can be electrically connected to the input terminal of power management module 140. For example, as... Figure 11a As shown, path 160 indicates the current flow from battery 110 through switch Q1 and power management module 140 to system circuit 150. Processing circuit 152 can control switch Q1 to turn on via signal line C1. In response to a low-level input signal at the control terminal of switch Q1, switch Q1 is on, and path 160 is on. Processing circuit 152 can also control switch Q1 to turn off via signal line C1. In response to an open-circuit input signal at the control terminal of switch Q1, switch Q1 is off, and path 160 is off. Figure 11b As shown, path 1611 is used to indicate the current flow from battery 110 through first transformer circuit 131, diode D1 and power management module 140 to system circuit 150. Processing circuit 152 can control the operation of first transformer circuit 131. First transformer circuit 131 can output voltage V131 through first output terminal. When the output voltage V131 of first transformer circuit 131 is higher than the forward conduction voltage of diode D1, diode D1 conducts and path 1611 is turned on. Processing circuit 152 can also control first transformer circuit 131 to turn off, so that path 1611 is disconnected.

[0249] like Figure 11a As shown, when path 160 is active, when processing circuit 152 detects that electronic device 100 meets the first condition, processing circuit 152 can control path 1611 to be active, and can also control path 160 to be disconnected after path 1611 is active. See details. Figures 3a-3b Related implementation examples will not be described in detail here.

[0250] like Figure 11bAs shown, when path 1611 is active, when processing circuit 152 detects that electronic device 100 meets the second condition, processing circuit 152 can control path 160 to be active, and can also control path 1611 to be disconnected after path 160 is active. See details. Figures 3a-3b Related implementation examples will not be described in detail here.

[0251] like Figures 12a-12c The diagram shown is a structural schematic of another electronic device provided in an embodiment of this application. Figures 12a-12c As shown, based on Figures 11a-11b The illustrated electronic device 100 may further include a charging circuit 170 and an external power interface 180, wherein an external power supply 200 is electrically connected to the electronic device 100 via the external power interface 180. It should be noted that the charging circuit 170, the external power interface 180, and the external power supply 200 are described in the relevant descriptions of the other embodiments above, and will not be repeated here.

[0252] like Figures 12a-12c It shows Figures 4a-4c In one embodiment of the first switch 120 and the first one-way conductive switch 1301, the first switch 120 may include a switch Q1, the first one-way conductive switch 1301 may include a diode D1, the battery 110 may be electrically connected to the drain (d) terminal of switch Q1, and the source (s) terminal of switch Q1 may be electrically connected to the charging module 172. For example, as... Figure 12b As shown, path 164 is used to indicate the current flow from external power supply 200 to battery 110 via charging module 172 and switch Q1. Processing circuit 152 can control switch Q1 to be turned on via signal line C1. In response to the input signal at the control terminal of switch Q1 being low, switch Q1 is turned on, and path 164 is turned on. Processing circuit 152 can also control switch Q1 to be turned off via signal line C1. In response to the input signal at the control terminal of switch Q1 being open, switch Q1 is turned off, and path 164 is turned off.

[0253] like Figure 11b As shown, when path 1611 is on, when processing circuit 152 detects the external power supply 200 is connected, processing circuit 152 can control path 163 to be on, and can also control path 1611 to be off after path 163 is on, and can also control path 164 to be on; when path 1611 is on, processing circuit 152 can also control path 160 to be on, and can also control path 1611 to be off after path 160 is on, and then control paths 163 and 164 to be on, so that path 160 is off; when path 1611 is on, processing circuit 152 can also control path 160 to be on, and then control paths 163 and 164 to be on, so that path 160 is off, and can also control path 1611 to be off after path 160 is off. See details. Figures 4a-4cRelated implementation examples will not be described in detail here.

[0254] like Figures 13a-13c It shows Figures 5a-5c In one embodiment of the first switch 120, the first one-way conductive switch 1301, the second switch 1303, and the second one-way conductive switch 1302, the first switch 120 may include a switch Q1, the first one-way conductive switch 1301 may include a diode D1, the second switch 1303 may include a switch Q2, and the second one-way conductive switch 1302 may include a diode D2.

[0255] In this embodiment, diode D2 can be part of switch Q2, which can save the circuit board area occupied by diode D2 and allow more electronic devices to be placed on the circuit board.

[0256] like Figure 13a As shown, path 160 indicates the current flow from battery 110 through switch Q1 and power management module 140 to system circuit 150. Processing circuit 152 can control switch Q1 to turn on via signal line C1. In response to a low-level input signal at the control terminal of switch Q1, switch Q1 is on, and path 160 is on. Processing circuit 152 can also control switch Q1 to turn off via signal line C1. In response to an open-circuit input signal at the control terminal of switch Q1, switch Q1 is off, and path 160 is off. Figure 13b As shown, diode D1 and switch Q2 are connected in series in path 1611. Path 1611 is used to indicate the current flow from battery 110 through first transformer circuit 131, diode D1, switch Q2, and power management module 140 to system circuit 150. Processing circuit 152 can control the operation of first transformer circuit 131. First transformer circuit 131 can output voltage V131 through its first output terminal. When the output voltage V131 of the first output terminal of first transformer circuit 131 is higher than the forward conduction voltage of diode D1, diode D1 conducts. Processing circuit 152 can control switch Q2 to conduct through signal line C31. In response to the low level input signal at the control terminal of switch Q2, switch Q2 conducts. When diode D1 and switch Q2 conduct, path 1611 is conducted. Processing circuit 152 can control switch Q2 to disconnect through signal line C31. In response to the open circuit input signal at the control terminal of switch Q2, switch Q2 disconnects, and path 1611 is disconnected.

[0257] like Figure 13a As shown, when path 160 is active, when processing circuit 152 detects that electronic device 100 meets the first condition, processing circuit 152 can control path 1611 to be active, and can also control path 160 to be disconnected after path 1611 is active. See details. Figures 5a-5c Related implementation examples will not be described in detail here.

[0258] like Figure 13b As shown, when path 1611 is active, when processing circuit 152 detects that electronic device 100 meets the second condition, processing circuit 152 can control path 160 to be active, and can also control path 1611 to be disconnected after path 160 is active. See details. Figures 5a-5c Related implementation examples will not be described in detail here.

[0259] like Figure 13c As shown, battery 110 can also supply power to part of the operating circuitry of system circuit 150 via path 162, see details below. Figures 5a-5c Related implementation examples will not be described in detail here.

[0260] like Figures 14a-14c The diagram shown is a structural schematic of another electronic device provided in an embodiment of this application. Figures 14a-14c As shown, based on Figures 13a-13c The illustrated electronic device 100 may further include a charging circuit 170 and an external power interface 180, wherein an external power supply 200 is electrically connected to the electronic device 100 via the external power interface 180. It should be noted that the charging circuit 170, the external power interface 180, and the external power supply 200 are described in the relevant descriptions of the other embodiments above, and will not be repeated here.

[0261] like Figures 14a-14c It shows Figures 6a-6c In one embodiment of the first switch 120, the first one-way conductive switch 1301, the second switch 1303, and the second one-way conductive switch 1302, the first switch 120 may include a switch Q1, the first one-way conductive switch 1301 may include a diode D1, the second switch 1303 may include a switch Q2, and the second one-way conductive switch 1302 may include a diode D2. For example, as... Figure 14b As shown, path 164 is used to indicate the current flow from external power supply 200 to battery 110 via charging module 172 and switch Q1. The method by which processing circuit 152 controls path 164 to be on or off is described in [reference needed]. Figures 12a-12c The specific description of the relevant embodiments is omitted here.

[0262] like Figure 13bAs shown, when path 1611 is on, when processing circuit 152 detects the external power supply 200 is connected, processing circuit 152 can control path 163 to be on, and can also control path 1611 to be off after path 163 is on, and can also control path 164 to be on; when path 1611 is on, processing circuit 152 can also control path 160 to be on, and can also control path 1611 to be off after path 160 is on, and then control paths 163 and 164 to be on, so that path 160 is off; when path 1611 is on, processing circuit 152 can also control path 160 to be on, and then control paths 163 and 164 to be on, so that path 160 is off, and can also control path 1611 to be off after path 160 is off. See details. Figures 6a-6c Related implementation examples will not be described in detail here.

[0263] like Figures 15a-15c It shows Figures 7a-7c In one embodiment of the first switch 120, the third switch 1304, and the first one-way conductive switch 1301, the first switch 120 may include switch Q1, the third switch 1304 may include switch Q3, and the first one-way conductive switch 1301 may include diode D1.

[0264] In this embodiment, diode D1 can be part of switch Q3, which can save the circuit board area occupied by diode D1 and allow more electronic devices to be placed on the circuit board.

[0265] like Figure 15a As shown, path 160 is used to indicate the direction of current flow from battery 110 through switch Q1 and power management module 140 to system circuit 150; as Figure 15b As shown, path 1611 is used to indicate the current flow from battery 110 through first transformer circuit 131, diode D1, and power management module 140 to system circuit 150; as Figure 15c As shown, path 1612 indicates the current flow from battery 110 through first transformer circuit 131, switch Q3, and power management module 140 to system circuit 150. Processing circuit 152 can control switch Q3 to be turned on via signal line C32. When the input signal at the control terminal of switch Q3 is low, switch Q3 is turned on, and path 1612 is turned on. Processing circuit 152 can also control switch Q3 to be turned off via signal line C32. When the input signal at the control terminal of switch Q3 is open, switch Q3 is turned off, and path 1612 is turned off. The method by which processing circuit 152 controls path 1611 to be turned on or off is described below. Figures 11a-11b The specific description of the relevant embodiments is omitted here.

[0266] like Figure 15aAs shown, when path 160 is on, when processing circuit 152 detects that electronic device 100 meets the first condition, processing circuit 152 can control path 1611 to be on, and can also control path 160 to be off after path 1611 is on. After path 160 is off, it can also control path 1612 to be on, causing path 1611 to be off. When path 160 is on, when processing circuit 152 detects that electronic device 100 meets the first condition, processing circuit 152 can also control path 1612 to be on, and can also control path 160 to be off after path 1612 is on. See details. Figures 7a-7c Related implementation examples will not be described in detail here.

[0267] like Figure 15c As shown, when path 1612 is on, when processing circuit 152 detects that electronic device 100 meets the second condition, processing circuit 152 can control switch Q3 to open, causing path 1612 to open and path 1611 to open. When path 1611 is on, processing circuit 152 can control path 160 to open, and can also control path 1611 to open after path 160 is on. See details. Figures 7a-7c Related implementation examples will not be described in detail here.

[0268] like Figures 16a-16c The diagram shown is a structural schematic of another electronic device provided in an embodiment of this application. Figures 16a-16c As shown, based on Figures 15a-15c The illustrated electronic device 100 may further include a charging circuit 170 and an external power interface 180, wherein an external power supply 200 is electrically connected to the electronic device 100 via the external power interface 180. It should be noted that the charging circuit 170, the external power interface 180, and the external power supply 200 are described in the relevant descriptions of the other embodiments above, and will not be repeated here.

[0269] like Figures 16a-16c It shows Figures 8a-8c In one embodiment of the first switch 120, the first one-way conductive switch 1301, and the third switch 1304, the first switch 120 may include a switch Q1, the first one-way conductive switch 1301 may include a diode D1, and the third switch 1304 may include a switch Q3. For example, as... Figure 16b As shown, path 164 is used to indicate the current flow from external power supply 200 to battery 110 via charging module 172 and switch Q1. The method by which processing circuit 152 controls path 164 to be on or off is described in [reference needed]. Figures 12a-12c The specific description of the relevant embodiments is omitted here.

[0270] like Figure 15cAs shown, when the battery 110 supplies power to the system circuit 150 through path 1612, when the processing circuit 152 detects that the external power supply 200 is connected, the processing circuit 152 can control the switch Q3 to be disconnected through the signal line C32. In response to the input signal of the control terminal of the switch Q3 being a disconnect signal, the switch Q3 is disconnected, path 1612 is disconnected, and path 1611 is turned on. When path 1611 is active, processing circuit 152 can control path 163 to be active, and can also control path 1611 to be deactivated after path 163 is active, and can also control path 164 to be active; when path 1611 is active, processing circuit 152 can also control path 160 to be active, and can also control path 1611 to be deactivated after path 160 is active, and then control paths 163 and 164 to be active, causing path 160 to be deactivated; when path 1611 is active, processing circuit 152 can also control path 160 to be active, and then control paths 163 and 164 to be active, causing path 160 to be deactivated, and can also control path 1611 to be deactivated after path 160 is deactivated. See details. Figures 8a-8c Related implementation examples will not be described in detail here.

[0271] like Figures 17a-17d It shows Figures 9a-9d In one embodiment of the first switch 120, second switch 1303, third switch 1304, first unidirectional conductive switch 1301, and second unidirectional conductive switch 1302, the first switch 120 may include switch Q1, the second switch 1303 may include switch Q2, the third switch 1304 may include switch Q3, the first unidirectional conductive switch 1301 may include diode D1, and the second unidirectional conductive switch 1302 may include diode D2. The processing circuit 152 can control the operating states of switches Q2, Q3, Q1, and the first transformer circuit 131.

[0272] In this embodiment, diode D1 can be part of switch Q3, and diode D2 can be part of switch Q2. This can save the circuit board area occupied by diodes D1 and D2, allowing the circuit board to accommodate more electronic devices.

[0273] like Figure 17a As shown, path 160 is used to indicate the direction of current flow from battery 110 through switch Q1 and power management module 140 to system circuit 150; as Figure 17b As shown, path 1611 is used to indicate the current flow from battery 110 through first transformer circuit 131, diode D1, switch Q2, and power management module 140 to system circuit 150; as Figure 17cAs shown, path 1612 indicates the current flow from battery 110 through first transformer circuit 131, switch Q3, switch Q2, and power management module 140 to system circuit 150. Processing circuit 152 can control switch Q3 to be turned on via signal line C32 and switch Q2 to be turned on via signal line C31. When switches Q3 and Q2 are turned on, path 1612 is turned on. Processing circuit 152 can also control switch Q3 to be turned off via signal line C32 and switch Q2 to be turned off via signal line C32. When any one or more of switches Q3 or Q2 are turned off, path 1612 is turned off. The method by which processing circuit 152 controls path 1611 to be turned on or off is described below. Figures 13a-13c The specific description of the relevant embodiments is omitted here.

[0274] like Figure 17a As shown, when path 160 is on, when processing circuit 152 detects that electronic device 100 meets the first condition, processing circuit 152 can control path 1611 to be on, and can also control path 160 to be off after path 1611 is on. After path 160 is off, it can also control path 1612 to be on, causing path 1611 to be off. When processing circuit 152 detects that electronic device 100 meets the first condition, processing circuit 152 can also control path 1612 to be on, and can also control path 160 to be off after path 1612 is on. See details. Figures 9a-9c Related implementation examples will not be described in detail here.

[0275] like Figure 17c As shown, when path 1612 is on, when processing circuit 152 detects that electronic device 100 meets the second condition, processing circuit 152 can control switch Q3 to open, causing path 1612 to open and path 1611 to open. When path 1611 is on, processing circuit 152 can control path 160 to open, and can also control path 1611 to open after path 160 is on. See details. Figures 9a-9c Related implementation examples will not be described in detail here.

[0276] like Figure 17d As shown, battery 110 can also supply power to part of the operating circuitry of system circuit 150 via path 162, see details below. Figures 9a-9c Related implementation examples will not be described in detail here.

[0277] like Figures 18a-18c The diagram shown is a structural schematic of another electronic device provided in an embodiment of this application. Figures 18a-18c As shown, based on Figures 17a-17cThe illustrated electronic device 100 may further include a charging circuit 170 and an external power interface 180, wherein an external power supply 200 is electrically connected to the electronic device 100 via the external power interface 180. It should be noted that the charging circuit 170, the external power interface 180, and the external power supply 200 are described in the relevant descriptions of the other embodiments above, and will not be repeated here.

[0278] like Figures 18a-18c It shows Figures 10a-10c In one embodiment of the first switch 120, second switch 1303, third switch 1304, first one-way conductive switch 1301, and second one-way conductive switch 1302, the first switch 120 may include switch Q1, the second switch 1303 may include switch Q2, the third switch 1304 may include switch Q3, the first one-way conductive switch 1301 may include diode D1, and the second one-way conductive switch 1302 may include diode D2. For example, as... Figure 18b As shown, path 164 is used to indicate the current flow from external power supply 200 to battery 110 via charging module 172 and switch Q1. The method by which processing circuit 152 controls path 164 to be on or off is described in [reference needed]. Figures 12a-12c The specific description of the relevant embodiments is omitted here.

[0279] like Figure 17c As shown, when the battery 110 supplies power to the system circuit 150 through path 1612, when the processing circuit 152 detects that the external power supply 200 is connected, the processing circuit 152 can control the switch Q3 to be disconnected through the signal line C32. In response to the input signal of the control terminal of the switch Q3 being a disconnect signal, the switch Q3 is disconnected, path 1612 is disconnected, and path 1611 is turned on. When path 1611 is active, processing circuit 152 can control path 163 to be active, and can also control path 1611 to be deactivated after path 163 is active, and can also control path 164 to be active; when path 1611 is active, processing circuit 152 can also control path 160 to be active, and can also control path 1611 to be deactivated after path 160 is active, and then control paths 163 and 164 to be active, causing path 160 to be deactivated; when path 1611 is active, processing circuit 152 can also control path 160 to be active, and then control paths 163 and 164 to be active, causing path 160 to be deactivated, and can also control path 1611 to be deactivated after path 160 is deactivated. See details. Figures 10a-10c Related implementation examples will not be described in detail here.

[0280] like Figures 19a-19b The diagram shown is a structural schematic of another electronic device provided in an embodiment of this application.

[0281] like Figure 19a As shown, based on Figures 17a-17d The electronic device 100 shown may further include a second transformer circuit 132 and a diode D3. A processing circuit 152 can control the operating state of the second transformer circuit 132. A battery 110 can be electrically connected to the input terminal of the second transformer circuit 132, a first output terminal of the second transformer circuit 132 can be electrically connected to the anode of diode D3, and the cathode of diode D3 can be electrically connected to the cathode of diode D1.

[0282] It should be noted that the processing circuit 152 may consist of one or more processing units. The processing circuit 152 can control the second transformer circuit 132 to operate or shut down via signal line C6. In response to an input signal at the control terminal of the second transformer circuit 132 being a working signal (exemplarily, the working signal received by the control terminal of the second transformer circuit 132 can be a signal output by the processing circuit 152, or a signal generated based on the signal output by the processing circuit 152), the second transformer circuit 132 operates. In response to an input signal at the control terminal of the second transformer circuit 132 being a shut-off signal (exemplarily, the shut-off signal received by the control terminal of the second transformer circuit 132 can be a signal output by the processing circuit 152, or a signal generated based on the signal output by the processing circuit 152), the second transformer circuit 132 shuts down. For ease of description, in the following embodiments, it will be uniformly described that the processing circuit 152 can control the second transformer circuit 132 to operate or shut down via signal line C6, and the second transformer circuit 132 operates or shuts down in response to an input signal at the control terminal of the second transformer circuit 132 being a working signal or a shut-off signal.

[0283] like Figure 19a As shown, when the processing circuit 152 detects that the electronic device 100 meets the first condition, the processing circuit 152 can control the second transformer circuit 132 to work through the signal line C6. Responding to the input signal at the control terminal of the second transformer circuit 132 being a working signal, the second transformer circuit 132 operates. The second transformer circuit 132 can transform and convert the input voltage, and then output voltage V133 through the first output terminal. When the output voltage V133 is higher than the forward conduction voltage of diode D3, diode D3 conducts. The processing circuit 152 can control the second transformer circuit 132 to work through the signal line C6. When control switch Q2 of line C31 is turned on, and diode D3 and switch Q2 are turned on, battery 110 can provide power to system circuit 150 through path 165. Path 165 is used to indicate the current flow from battery 110 to system circuit 150 through second transformer circuit 132, diode D3, switch Q2 and power management module 140. The output voltage and output current of battery 110 can be coupled to system circuit 150 through second transformer circuit 132, diode D3, switch Q2 and power management module 140 to provide power to it.

[0284] In this embodiment, before paths 1611 and 165 are simultaneously turned on, the processing circuit 152 can adjust the output voltage of any one or more of the first transformer circuit 131 or the second transformer circuit 132, so that the output voltage V132 of the second transformer circuit 132, after passing through diode D3, has an output voltage equal to the output voltage V131 of the first transformer circuit 131, after passing through diode D1. This ensures that the output current provided by the battery 110 to the system circuit 150 through paths 1611 and 165 is equal, avoiding situations where the system circuit 150 requires... When the input current is large, the current obtained by system circuit 150 through path 1611 is too large, causing the output current of the first transformer circuit 131 to be too large, exceeding the overcurrent point of the first transformer circuit 131. This results in the first transformer circuit 131 activating its overcurrent protection and failing to operate normally. This also avoids the situation where, when the required input current of system circuit 150 is large, the current obtained by system circuit 150 through path 165 is too large, causing the output current of the second transformer circuit 132 to be too large, exceeding the overcurrent point of the second transformer circuit 132. This would also cause the second transformer circuit 132 to activate its overcurrent protection and fail to operate normally. Path 1611 is described in detail in the above embodiment and will not be repeated here.

[0285] In some embodiments, before paths 1612 and 165 are simultaneously turned on, it is also necessary to avoid the start-up current protection of either the first transformer circuit 131 or the second transformer circuit 132. The specific methods for path 1612 and avoiding the start-up current protection of either the first transformer circuit 131 or the second transformer circuit 132 are described in the above embodiments and will not be repeated here.

[0286] In the above embodiments, since the electronic device can simultaneously supply power to the power management module 140 through path 1611 and path 165, it can provide a larger input current to the power management module 140, thereby enabling it to support higher system loads.

[0287] like Figure 19b As shown, the electronic device 100 may further include resistors R1 and R2. Resistor R1 is connected in series to paths 1611 and 1612. Path 1611 is the current flow path from battery 110 through the first transformer circuit 131, resistor R1, diode D1, switch Q2, and power management module 140 to system circuit 150. Path 1612 is the current flow path from battery 110 through the first transformer circuit 131, resistor R1, switch Q3, switch Q2, and power management module 140 to system circuit 150. Resistor R2 is connected in series to path 165. Path 165 is the current flow path from battery 110 through the second transformer circuit 132, diode D3, resistor R2, switch Q2, and power management module 140 to system circuit 150.

[0288] In this embodiment, resistors R1 and R2 serve to share current. When paths 1611 and 165 are connected, and the output voltage V131 of the first transformer circuit 131, after passing through resistor R1 and diode D1, is higher than the output voltage V133 of the second transformer circuit 132, after passing through resistor R2, the output current provided by battery 110 to system circuit 150 through path 1611 is greater than the output current provided by battery 110 to system circuit 150 through path 165. Therefore, resistor R1 can receive a higher voltage, thereby increasing the output voltage of battery 110 after passing through the first transformer circuit 131, resistor R1, and diode D1. The output voltage decreases until it equals the output voltage of battery 110 after passing through the second transformer circuit 132, diode D3, and resistor R2. This ensures that the output current provided by battery 110 to system circuit 150 through path 1611 and path 165 is equal. This prevents excessive current from being obtained by system circuit 150 through path 1611 when the required input current of system circuit 150 is large. Otherwise, the output current of first transformer circuit 131 would be too large, exceeding the overcurrent point of first transformer circuit 131 and causing first transformer circuit 131 to activate overcurrent protection and fail to work normally. Conversely, when the output voltage V133 of the second transformer circuit 132, after passing through diode D3 and resistor R2, is higher than the output voltage V131 of the first transformer circuit 131, after passing through resistor R1 and diode D1, the output current provided by battery 110 to system circuit 150 through path 165 is greater than the output current provided by battery 110 to system circuit 150 through path 1611. Resistor R2 can receive a higher voltage, thus increasing the output voltage of battery 110 after passing through the second transformer circuit 132, diode D3, and resistor R2. The voltage drop eventually equals the output voltage of battery 110 after passing through the first transformer circuit 131, resistor R1, and diode D1. This ensures that the output current provided by battery 110 to system circuit 150 through paths 165 and 1611 is equal. This prevents excessive current obtained by system circuit 150 through path 165 when the required input current of system circuit 150 is large, which would cause the output current of second transformer circuit 132 to be too large, exceeding the overcurrent point of second transformer circuit 132 and triggering overcurrent protection, thus preventing normal operation of second transformer circuit 132. Path 1611 is described in detail in the above embodiment and will not be repeated here.

[0289] In some embodiments, when paths 1612 and 165 are connected, resistors R1 and R2 have the same current-sharing function as described in the above embodiments, and will not be repeated here. Path 1612 is described in detail in the above embodiments, and will not be repeated here.

[0290] It should be noted that the function of the second transformer circuit 132 is the same as that of the first transformer circuit 131, and the function of diode D3 is the same as that of diode D1. For the functions and related descriptions of the second transformer circuit 132 and diode D3, please refer to the specific description of the first transformer circuit 131 and diode D1 in the above embodiment, which will not be repeated here.

[0291] like Figure 20 The diagram shown is a flowchart of a power supply method according to an embodiment of this application. The method includes, but is not limited to, steps S201 to S202. The method flowchart is described in detail below:

[0292] S201, Processing circuit 152 detects whether electronic device 100 meets the first condition.

[0293] For example, the first condition may include at least one of the following: the temperature of the battery 110 is not higher than a first preset temperature threshold, the charge of the battery 110 is not higher than a first preset battery capacity threshold, the voltage of the battery 110 is not higher than a first preset voltage threshold, and the ambient temperature is not higher than a second preset temperature threshold. It should be noted that the first condition can be found in the relevant descriptions of the foregoing embodiments, and will not be repeated here.

[0294] S202, in response to the processing circuit 152 detecting that the electronic device 100 meets the first condition, the processing circuit 152 activates circuit protection.

[0295] For example, when the processing circuit 152 detects that the electronic device 100 meets the first condition, the processing circuit 152 can activate the power supply circuit of any of the above embodiments to supply power to the electronic device 100, so that the electronic device 100 can work normally and avoid abnormal operation of the electronic device 100.

[0296] In the embodiments of this application, such as Figures 21a-21c The image shows a set of graphical user interfaces provided in an embodiment of this application, such as... Figure 21a As shown, the electronic device 100 includes a display interface 101. When the processing circuit 152 detects that the electronic device 100 meets the first condition, the processing circuit 152 can start the power supply circuit of any of the above embodiments to supply power to the electronic device 100. Before starting the power supply circuit, the electronic device 100 can display a prompt box 102 on the display interface 101. The prompt box 102 displays: "The current device is in a low voltage state and low voltage protection will be activated soon".

[0297] In some embodiments, such as Figure 21bAs shown, the electronic device 100 includes a display interface 101. Before starting the power supply circuit, the electronic device 100 can display a prompt box 102 on the display interface 101. The prompt box 102 displays: "The current device is in a low voltage state. Do you want to start the low voltage protection?" and displays the options of "yes" and "no". When the user selects "yes", the above-mentioned voltage boosting method is started. When the user selects "no", the above-mentioned voltage boosting method is not started.

[0298] In this embodiment, the electronic device 100 has a preset first list, which includes one or more applications installed on the electronic device 100. When the processing circuit 152 detects that the electronic device 100 meets a first condition, the processing circuit 152 can activate the power supply circuit of any of the above embodiments to supply power to the electronic device 100. At this time, the electronic device 100 can keep the currently running application running continuously. When the user selects to launch a new application, the electronic device 100 determines whether the application is an application in the first list. If the application is an application in the first list, it is allowed to run; otherwise, the application is not launched.

[0299] In some embodiments, the applications in the first list can be any one or more of high-power-consumption applications such as flash, games, video recording, photography, and speaker playback. It should be noted that this application embodiment does not impose specific limitations in this regard.

[0300] In some embodiments, such as Figure 21c As shown, the electronic device 100 includes a display interface 101, which includes a camera application icon 103. When the processing circuit 152 detects that the electronic device 100 meets the first condition, the processing circuit 152 can activate the power supply circuit of any of the above embodiments to supply power to the electronic device 100. When the user selects an application that is not in the first list (e.g., a camera application), the electronic device 100 does not run the application. Before running the application, the electronic device 100 can display a prompt box 102 on the display interface 101, which displays: "The current device is in a low voltage state, and the application has been disabled."

[0301] In this embodiment of the application, when the processing circuit 152 activates circuit protection, the user can choose to exit circuit protection. For example, the user can choose to exit circuit protection through touch operation (such as clicking, long press, etc.), or the user can use voice to instruct the electronic device 100 to exit circuit protection.

[0302] This application provides an electronic device. The electronic device includes one or more processing circuits and one or more memories storing one or more computer programs, each computer program comprising instructions. When the instructions are executed by the one or more processing circuits, the electronic device 100 performs the technical solutions described in the above embodiments. Its implementation principle and technical effects are similar to those of the related embodiments described above, and will not be repeated here.

[0303] This application also provides a computer program product containing instructions that, when executed by the electronic device 100, cause the electronic device 100 to perform the technical solutions described in the above embodiments. Its implementation principle and technical effects are similar to those of the related embodiments described above, and will not be repeated here.

[0304] It should also be noted that, in the embodiments of the present invention, relational terms such as first, second, third, etc., are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other encompassing non-exclusive inclusion mean that a method or apparatus that includes a list of elements includes not only those elements, but also other elements not expressly listed, or elements inherent to the method or apparatus. Without further limitations, an element defined by the phrases "comprising..." or "including..." does not exclude the presence of other identical elements in the method or apparatus that includes said element.

[0305] The resistance value relationships, voltage value relationships, and logic level high and low states given in the embodiments of the present invention are only one implementation of the embodiments of the present invention, and the parameter values ​​can be adjusted appropriately according to the needs of the circuit.

[0306] The sequence numbers of the above embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.

[0307] Those skilled in the art will understand that all or part of the steps of the above embodiments can be implemented by hardware or by a program instructing related hardware. The program can be stored in a computer-readable storage medium, such as a read-only memory, a disk, or an optical disk.

[0308] The above description is merely a specific implementation of this embodiment, but the protection scope of this embodiment is not limited thereto. Any changes or substitutions within the technical scope disclosed in this embodiment should be covered within the protection scope of this embodiment. Therefore, the protection scope of this embodiment should be determined by the protection scope of the claims.

Claims

1. A circuit applied to an electronic device including a battery and a first operating circuit, the circuit comprising: The processing circuit includes a first power supply path (160) connected in series between the battery (110) and the first working circuit, a second power supply path (1611) connected in series between the battery (110) and the first working circuit, and a third power supply path (1612) connected in series between the battery (110) and the first working circuit. The first power supply path (160) includes a first switch (120), the first power supply path (160) is configured to provide battery voltage to the first working circuit through the first switch (120), wherein the first switch (120) includes a first control terminal, the first control terminal being used to receive control signals from the processing circuit; The second power supply path (1611) includes a first boost circuit (131), which is used to perform boost conversion according to the voltage of the battery (110); The second power supply path (1611) further includes a first one-way conductive switch (1301), the first boost circuit (131) is connected in series between the battery (110) and the first one-way conductive switch (1301), the first one-way conductive switch (1301) is connected in series between the first boost circuit (131) and the first working circuit, and the conduction direction of the first one-way conductive switch (1301) is the direction from the first boost circuit (131) to the first working circuit; The third power supply path (1612) includes the first boost circuit (131) and the second switch (1303). The second switch (1303) and the first one-way conductive switch (1301) are connected in parallel. The third power supply path (1612) is configured to provide the first working circuit with the voltage after boost conversion by the first boost circuit (131) through the second switch (1303). The second switch (1303) includes a second control terminal, which is used to receive the control signal of the processing circuit. The processing circuit is configured as follows: When the first working circuit is powered through the first power supply path (160), wherein the second power supply path (1611) and the third power supply path (1612) are disconnected, the second power supply path (1611) is controlled to be turned on in response to the electronic device (100) meeting the first preset condition; In response to the second power supply path (1611) being turned on, the second power supply path (1611) is configured to provide the first working circuit with the voltage after boost conversion by the first boost circuit (131) through the first unidirectional conductive switch (1301); The processing circuit is further configured to: After the second power supply path (1611) is turned on, the first switch (120) is turned off. After the first switch (120) is turned off, the second switch (1303) is turned on, wherein when the second switch (1303) is turned on, the first one-way conductive switch (1301) is turned off; The third power supply path (1612) is configured such that, in response to the second switch (1303) being turned on, the third power supply path (1612) supplies power to the first operating circuit through the second switch (1303).

2. The circuit according to claim 1, characterized in that, The processing circuit is further configured to: When the first working circuit is powered through the first power supply path (160), wherein the second power supply path (1611) and the third power supply path (1612) are disconnected, in response to the electronic device (100) meeting the first preset condition, the second power supply path (1611) is controlled to be turned on, and the voltage after the boost conversion of the first boost circuit (131) is controlled, wherein the voltage provided by the first boost circuit (131) to the first working circuit through the first one-way conductive switch (1301) is not greater than the voltage provided by the first power supply path (160) to the first working circuit.

3. The circuit according to claim 1 or 2, characterized in that, The processing circuit is further configured to: In response to the second switch (1303) being turned on, the third power supply path (1612) supplies power to the first working circuit through the second switch (1303), and then controls the first boost circuit (131) to reduce the boosted voltage.

4. The circuit according to claim 1 or 2, characterized in that, The first switch (120) includes a transistor or a metal-oxide-semiconductor field-effect transistor (MOSFET); The second switch (1303) includes a transistor or a metal-oxide-semiconductor field-effect transistor (MOSFET).

5. The circuit according to claim 1 or 2, characterized in that, The first unidirectional conductive switch (1301) includes a diode.

6. The circuit according to claim 1 or 2, characterized in that, The circuit further includes: a first temperature sensor (111), a second temperature sensor (151), a power detection circuit, and a voltage detection circuit, wherein the first temperature sensor (111) is disposed on the battery (110): The first temperature sensor (111) is configured to detect temperature; The second temperature sensor (151) is configured to detect temperature; The power detection circuit is configured to detect the power of the battery (110); The voltage detection circuit is configured to detect the voltage of the battery (110); The first preset condition includes at least one of the following: The temperature detected by the first temperature sensor (111) is not higher than the first preset temperature threshold. The power detection circuit detects that the power of the battery (110) is not higher than the first preset battery capacity threshold. The voltage detected by the voltage detection circuit is not higher than a first preset voltage threshold; or The temperature detected by the second temperature sensor (151) is not higher than the second preset temperature threshold.

7. The circuit according to claim 6, characterized in that, The processing circuit is further configured to: when the third power supply path (1612) supplies power to the first working circuit through the second switch (1303), in response to detecting that the electronic device (100) meets the second preset condition, control the second power supply path (1611) to be turned on; In response to the second power supply path (1611) being turned on, the second power supply path (1611) is configured to provide the first working circuit with the voltage after being boosted and converted by the first boost circuit (131) through the first unidirectional conductive switch (1301), wherein the third power supply path (1612) is turned off after the second power supply path (1611) is turned on. The processing circuit is further configured to: After the second power supply path (1611) is turned on in response to the detection that the electronic device (100) meets the second preset condition, the first switch (120) is controlled to be turned on; In response to the first switch (120) being turned on, the first power supply path (160) is configured to supply power to the first operating circuit through the first switch (120); The processing circuit is also configured to control the second power supply path (1611) to disconnect after the first switch (120) is turned on.

8. The circuit according to claim 7, characterized in that, The second preset condition includes at least one of the following: The temperature detected by the first temperature sensor (111) is higher than the third preset temperature threshold. The power detection circuit detects that the power of the battery (110) is higher than the second preset battery capacity threshold. The voltage detection circuit detects that the voltage of the battery (110) is higher than the second preset voltage threshold; or The temperature detected by the second temperature sensor (151) is higher than the fourth preset temperature threshold.

9. The circuit according to claim 1 or 2, characterized in that, The circuit also includes an external power supply interface. The first switch (120) is also connected in series between the battery (110) and the external power interface; The external power interface is used for electrical connection to an external power supply device; The processing circuit is also configured to: when an external power supply device is electrically connected to the external power supply interface, control the first switch (120) to be turned on, and control the receiving of the charging current from the external power supply device to the battery (110) through the first switch (120).

10. The circuit according to claim 1 or 2, characterized in that, The circuit also includes an external power supply interface. The processing circuit is also configured to: when the third power supply path (1612) supplies power to the first working circuit through the second switch (1303), in response to an external power supply device being electrically connected to the external power supply interface, control the second power supply path (1611) to be turned on; In response to the second power supply path (1611) being turned on, the second power supply path (1611) is configured to provide the first working circuit with the voltage after being boosted and converted by the first boost circuit (131) through the first unidirectional conductive switch (1301), wherein the third power supply path (1612) is turned off after the second power supply path (1611) is turned on; The processing circuit is further configured to: when an external power supply device is electrically connected to the external power supply interface and the second power supply path (1611) is turned on, control the receiving of the power supply current provided by the external power supply device to the first working circuit through the external power supply interface, wherein the voltage provided by the external power supply device to the first working circuit is not less than the voltage provided by the second power supply path (1611) to the first working circuit.

11. The circuit according to claim 1 or 2, characterized in that, The circuit also includes an external power supply interface. The processing circuit is also configured to: when the third power supply path (1612) supplies power to the first working circuit through the second switch (1303), in response to an external power supply device being electrically connected to the external power supply interface, control the second power supply path (1611) to be turned on; In response to the second power supply path (1611) being turned on, the second power supply path (1611) is configured to provide the first working circuit with the voltage after being boosted and converted by the first boost circuit (131) through the first unidirectional conductive switch (1301), wherein the third power supply path (1612) is turned off after the second power supply path (1611) is turned on; The processing circuit is further configured to: when the second power supply path (1611) is turned on in response to an external power supply device being electrically connected to the external power supply interface, control the first switch (120) to turn on; The first power supply path (160) is configured such that when the first switch (120) is turned on, the first power supply path (160) supplies power to the first working circuit through the first switch (120), wherein the voltage supplied by the first power supply path (160) to the first working circuit through the first switch (120) is not less than the voltage supplied by the second power supply path (1611) to the first working circuit; The first switch (120) is also connected in series between the battery (110) and the external power interface; The processing circuit is further configured to: when an external power supply device is electrically connected to the external power interface, after the first switch (120) is turned on, control the receiving of the power supply current of the external power supply device for the first working circuit through the external power interface, and control the receiving of the charging current provided by the external power supply device for the battery (110) through the external power interface, wherein the voltage provided by the external power supply device for the first working circuit is not less than the voltage provided by the second power supply path (1611) for the first working circuit.

12. The circuit according to claim 1 or 2, characterized in that, The electronic device further includes a second operating circuit, wherein the first boost circuit (131) is also configured to supply power to the second operating circuit.

13. The circuit according to claim 12, characterized in that, The circuit also includes a third switch (1304) and a second unidirectional conductive switch (1302); The second one-way conductive switch (1302) is connected in series between the first working circuit and the first one-way conductive switch (1301), and the third switch (1304) and the second one-way conductive switch (1302) are connected in parallel. The conduction direction of the second one-way conductive switch (1302) is the direction from the first working circuit to the first one-way conductive switch (1301). The second switch (1303) and the first unidirectional conductive switch (1301) are connected in parallel. The second power supply path (1611) includes the third switch (1304), which is connected in series between the first unidirectional conductive switch (1301) and the first working circuit. The third power supply path (1612) includes the third switch (1304), which is connected in series to the third power supply path (1612); When the first working circuit is powered through the first power supply path (160), wherein the second power supply path (1611) and the third power supply path (1612) are disconnected, the first boost circuit (131) is in working state when the first working circuit is powered through the first power supply path (160), and the voltage after the boost conversion by the first boost circuit (131) powers the second working circuit, wherein the third switch (1304) is disconnected.

14. The circuit according to claim 13, characterized in that, The third switch (1304) includes a transistor or a metal-oxide-semiconductor field-effect transistor (MOSFET); The second unidirectional conductive switch (1302) includes a diode.

15. The circuit according to claim 1 or 2, characterized in that, The circuit also includes an output component. The output component is used to output prompt information, which is used to prompt the electronic device (100) to meet the first preset condition.

16. A power supply method applied to an electronic device (100), the electronic device (100) comprising: The battery (110), the first working circuit, and the first power supply path (160), the second power supply path (1611) and the third power supply path (1612) connected in series between the battery (110) and the first working circuit; The first power supply path (160) includes a first switch (120), which is used to provide battery voltage to the first operating circuit through the first switch (120); The second power supply path (1611) includes a first boost circuit (131), which is used to perform boost conversion according to the voltage of the battery (110), and the second power supply path (1611) is used to supply power to the first working circuit according to the voltage after boost conversion by the first boost circuit (131). The third power supply path (1612) includes the first boost circuit (131), and the third power supply path (1612) is used to supply power to the first working circuit according to the voltage after boost conversion by the first boost circuit (131); The second power supply path (1611) includes a first one-way conductive switch (1301), the first boost circuit (131) is connected in series between the battery (110) and the first one-way conductive switch (1301), the first one-way conductive switch (1301) is connected in series between the first boost circuit (131) and the first working circuit, and the conduction direction of the first one-way conductive switch (1301) is the direction from the first boost circuit (131) to the first working circuit; The method is characterized by comprising: When the first working circuit is powered through the first power supply path (160), wherein the second power supply path (1611) and the third power supply path (1612) are disconnected, in response to the electronic device (100) satisfying the first preset condition, the second power supply path (1611) is turned on, and the first working circuit is powered through the first power supply path (160) and the second power supply path (1611), wherein the third power supply path (1612) is disconnected; After the second power supply path (1611) is turned on, the first power supply path (160) is turned off, and the first working circuit is powered through the second power supply path (1611). After disconnecting the first power supply path (160), the third power supply path (1612) is turned on, the second power supply path (1611) is disconnected, and the first working circuit is powered through the third power supply path (1612).

17. The power supply method according to claim 16, characterized in that, When the first working circuit is powered through the first power supply path (160), wherein the second power supply path (1611) and the third power supply path (1612) are disconnected, in response to the electronic device (100) meeting the first preset condition, the second power supply path (1611) is turned on, and the first working circuit is powered through the first power supply path (160) and the second power supply path (1611), wherein the voltage provided by the first boost circuit (131) to the first working circuit through the first one-way conductive switch (1301) is not greater than the voltage provided by the first power supply path (160) to the first working circuit.

18. The power supply method according to claim 16 or 17, characterized in that, The electronic device further includes: a first temperature sensor (111), a second temperature sensor (151), a power detection circuit, and a voltage detection circuit, wherein the first temperature sensor (111) is disposed on the battery (110): The first temperature sensor (111) is configured to detect temperature; The power detection circuit is configured to detect the power of the battery (110); The voltage detection circuit is configured to detect the voltage of the battery (110); The first preset condition includes at least one of the following: The temperature detected by the first temperature sensor (111) is not higher than the first preset temperature threshold. The power detection circuit detects that the power of the battery (110) is not higher than the first preset battery capacity threshold. The voltage detected by the voltage detection circuit is not higher than a first preset voltage threshold; or The temperature detected by the second temperature sensor (151) is not higher than the second preset temperature threshold.

19. The power supply method according to claim 16 or 17, characterized in that, The method further includes: When the first working circuit is powered through the third power supply path (1612), in response to the electronic device (100) meeting the second preset condition, the second power supply path (1611) is turned on, and the first working circuit is powered through the second power supply path (1611). After the second power supply path (1611) is turned on, the third power supply path (1612) is turned off. When the second power supply path (1611) is turned on, the first power supply path (160) is turned on, and the first working circuit is powered through the first power supply path (160) and the second power supply path (1611). The voltage provided to the first working circuit through the second power supply path (1611) is not greater than the voltage provided to the first working circuit through the first power supply path (160). After the first power supply path (160) is turned on, the second power supply path (1611) is turned off, and the first working circuit is powered through the first power supply path (160).

20. The power supply method according to claim 19, characterized in that, The electronic device further includes: a first temperature sensor (111), a second temperature sensor (151), a power detection circuit, and a voltage detection circuit, wherein the first temperature sensor (111) is disposed on the battery (110): The first temperature sensor (111) is configured to detect temperature; The power detection circuit is configured to detect the power of the battery (110); The voltage detection circuit is configured to detect the voltage of the battery (110); the second preset condition includes at least one of the following: The temperature detected by the first temperature sensor (111) is higher than the first preset temperature threshold. The battery (110) has a charge level higher than a preset battery capacity threshold. The voltage of the battery (110) is higher than a preset voltage threshold; or The temperature detected by the second temperature sensor (151) is higher than the second preset temperature threshold.

21. The power supply method according to claim 19, characterized in that, The step of turning on the first power supply path (160) after the second power supply path (1611) is turned on includes: after the second power supply path (1611) is turned on, before turning on the first power supply path (160), adjusting the output voltage of the first boost circuit (131), and after the first power supply path (160) is turned on, the voltage provided to the first working circuit through the second power supply path (1611) is not greater than the voltage provided to the first working circuit through the first power supply path (160).

22. The power supply method according to claim 16 or 17, characterized in that, The method further includes: When the first working circuit is powered through the third power supply path (1612), in response to an external power supply device being electrically connected to the power interface of the electronic device (100), the second power supply path (1611) is turned on, and the first working circuit is powered through the second power supply path (1611). After the second power supply path (1611) is turned on, the third power supply path (1612) is turned off. When the second power supply path (1611) is turned on and the third power supply path (1612) is turned off, the first working circuit is powered by the external power supply device; wherein, the voltage provided by the external power supply device to the first working circuit is not less than the voltage provided by the second power supply path (1611) to the first working circuit.

23. The power supply method according to claim 22, characterized in that, The method further includes: a first switch (120) is also connected in series between the battery (110) and the power interface of the electronic device (100); when the second power supply path (1611) is turned on, the first switch (120) is turned on, and the first working circuit is powered by the external power supply device, and the external power supply device charges the battery (110); wherein the voltage provided by the external power supply device to the first working circuit is not less than the voltage provided by the second power supply path (1611) to the first working circuit.

24. The power supply method according to claim 16 or 17, characterized in that, The method further includes: When the first working circuit is powered through the third power supply path (1612), in response to an external power supply device being electrically connected to the electronic device (100), the second power supply path (1611) is turned on, and the first working circuit is powered through the second power supply path (1611), wherein the third power supply path (1612) is turned off after the second power supply path (1611) is turned on. When the first working circuit is powered through the second power supply path (1611), the first power supply path (160) is turned on, and the first working circuit is powered through the first power supply path (160) and the second power supply path (1611), wherein the voltage provided by the first power supply path (160) to the first working circuit is not less than the voltage provided by the second power supply path (1611) to the first working circuit; The first switch (120) is also connected in series between the battery (110) and the power interface of the electronic device (100); when the first power supply path (160) is turned on, the first switch (120) is turned on, and the first working circuit is powered by the external power supply device, and the external power supply device charges the battery (110); wherein, the voltage provided by the external power supply device to the first working circuit is not less than the voltage provided by the second power supply path (1611) to the first working circuit.

25. The power supply method according to claim 16 or 17, characterized in that, The electronic device (100) further includes a second working circuit, wherein the voltage after the first boost circuit (131) performs boost conversion also powers the second working circuit.

26. The power supply method according to claim 25, characterized in that, The third power supply path (1612) also includes a second switch (1303), which is electrically connected in parallel with the first unidirectional conductive switch (1301); The third power supply path (1612) includes the second switch (1303), which is connected in series to the third power supply path (1612); In response to the electronic device (100) meeting the first preset condition, the second power supply path (1611) is turned on, and the first working circuit is powered through the first power supply path (160) and the second power supply path (1611), wherein the third power supply path (1612) is disconnected, including: in response to the electronic device (100) meeting the first preset condition, the first one-way conductive switch (1301) is turned on, and the first working circuit is powered through the first power supply path (160), and the first working circuit is powered through the first one-way conductive switch (1301), wherein the second switch (1303) is disconnected; After the second power supply path (1611) is turned on, the first power supply path (160) is disconnected, and the first working circuit is powered through the second power supply path (1611), including: after the second power supply path (1611) is turned on, the first switch (120) is disconnected, and the first working circuit is powered through the second power supply path (1611). After the electronic device (100) disconnects the first power supply path (160), the electronic device (100) turns on the third power supply path (1612) and disconnects the second power supply path (1611). The first working circuit is powered through the third power supply path (1612), including: after the electronic device (100) disconnects the first power supply path (160), the electronic device (100) turns on the second switch (1303), the first one-way conductive switch (1301) is turned off, so that the second power supply path (1611) is disconnected, and the third power supply path (1612) powers the first working circuit through the second switch (1303).

27. The power supply method according to claim 26, characterized in that, The electronic device (100) further includes a third switch (1304) and a second one-way conductive switch (1302), wherein the third switch (1304) and the second one-way conductive switch (1302) are connected in parallel, and the second switch (1303) and the third switch (1304) are connected in series in the third power supply path (1612). The second power supply path (1611) includes the third switch (1304), and the third switch (1304) and the first unidirectional conductive switch (1301) are connected in series in the second power supply path (1611); The third power supply path (1612) includes the third switch (1304), which is connected in series to the third power supply path (1612); When the first working circuit is powered through the first power supply path (160), wherein the second power supply path (1611) and the third power supply path (1612) are disconnected, the first boost circuit (131) is in working state when the first working circuit is powered through the first power supply path (160), and the voltage after boost conversion by the first boost circuit (131) powers the second working circuit, wherein the second power supply path (1611) and the second switch (1303) are disconnected; In response to the electronic device (100) meeting a first preset condition, the second power supply path (1611) is turned on, and the first working circuit is powered through the first power supply path (160) and the second power supply path (1611), wherein the third power supply path (1612) is disconnected, including: in response to the electronic device (100) meeting the first preset condition, the third switch (1304) is turned on, and the first working circuit is powered through the first power supply path (160), and the first working circuit is powered through the third switch (1304) and the first one-way conductive switch (1301), wherein the second switch (1303) is disconnected; After the second power supply path (1611) is turned on, the first power supply path (160) is disconnected, and the first working circuit is powered through the second power supply path (1611), including: after the second power supply path (1611) is turned on, the first switch (120) is disconnected, and the first working circuit is powered through the second power supply path (1611). After the electronic device (100) disconnects the first power supply path (160), the electronic device (100) turns on the third power supply path (1612) and disconnects the second power supply path (1611). The first working circuit is powered through the third power supply path (1612), including: after the electronic device (100) disconnects the first power supply path (160), the electronic device (100) turns on the second switch (1303), the first one-way conductive switch (1301) is turned off, so that the second power supply path (1611) is disconnected, and the third power supply path (1612) powers the first working circuit through the second switch (1303) and the third switch (1304).

28. The power supply method according to claim 16 or 17, characterized in that, The electronic device (100) further includes an output component, and the method further includes: The output component outputs a prompt message, which is used to prompt the electronic device (100) to meet the first preset condition.

29. The power supply method according to claim 27, characterized in that, The first unidirectional conductive switch (1301) includes a diode; The second unidirectional conductive switch (1302) includes a diode; The first switch (120) includes a transistor or a metal-oxide-semiconductor field-effect transistor (MOSFET); The second switch (1303) includes a transistor or a metal-oxide-semiconductor field-effect transistor (MOSFET); The third switch (1304) includes a transistor or a metal-oxide-semiconductor field-effect transistor (MOSFET).

30. An electronic device comprising: The battery (110), the first working circuit, and the first power supply path (160), the second power supply path (1611) and the third power supply path (1612) connected in series between the battery (110) and the first working circuit; The first power supply path (160) is used to supply power to the first working circuit according to the battery voltage; The second power supply path (1611) includes a first boost circuit (131), which is used to perform boost conversion according to the battery voltage, and the second power supply path (1611) is used to supply power to the first working circuit according to the voltage after boost conversion by the first boost circuit (131). The third power supply path (1612) includes the first boost circuit (131), and the third power supply path (1612) is used to supply power to the first working circuit according to the voltage after boost conversion by the first boost circuit (131); The second power supply path (1611) includes a first one-way conductive switch (1301), the first boost circuit (131) is connected in series between the battery (110) and the first one-way conductive switch (1301), the first one-way conductive switch (1301) is connected in series between the first boost circuit (131) and the first working circuit, and the conduction direction of the first one-way conductive switch (1301) is the direction from the first boost circuit (131) to the first working circuit; The electronic device (100) further includes at least one processing circuit, at least one memory, multiple application programs, and at least one computer program, wherein the at least one computer program is stored in the memory, and the one or more computer programs include instructions that, when executed by the electronic device (100), cause the electronic device (100) to perform the method as described in any one of claims 16-29.

31. A computer program product comprising instructions that, when executed on an electronic device (100), cause the electronic device (100) to perform the method of any one of claims 16 to 29; The electronic device (100) includes: The battery (110), the first working circuit, the first power supply path (160), the second power supply path (1611) and the third power supply path (1612) electrically connected between the battery (110) and the first working circuit; The first power supply path (160) is used to supply power to the first working circuit according to the battery voltage; The second power supply path (1611) includes a first boost circuit (131), which is used to perform boost conversion according to the voltage of the battery (110), and the second power supply path (1611) is used to supply power to the first working circuit according to the voltage after boost conversion by the first boost circuit (131). The third power supply path (1612) includes the first boost circuit (131), and the third power supply path (1612) is used to supply power to the first working circuit according to the voltage after boost conversion by the first boost circuit (131); The second power supply path (1611) includes a first one-way conductive switch (1301), the first boost circuit (131) is connected in series between the battery (110) and the first one-way conductive switch (1301), the first one-way conductive switch (1301) is connected in series between the first boost circuit (131) and the first working circuit, and the conduction direction of the first one-way conductive switch (1301) is the direction from the first boost circuit (131) to the first working circuit.

Citation Information

Patent Citations

  • Battery low-voltage operating circuit and control method thereof

    CN106026249A

  • Terminal, and power supply method thereof and charging and discharging management circuit

    CN113078699A