Electronic device with hybrid power supply and hybrid power supply method

Through hybrid power supply technology, the external power supply and battery are used in parallel to provide power, which solves the problem of insufficient power supply for electronic devices under high power requirements, achieving improved processor performance and enhanced system stability.

CN118585052APending Publication Date: 2024-09-03GETAC TECH CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310683255.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-03-01
Filing Date
2023-06-09
Publication Date
2024-09-03

AI Technical Summary

Technical Problem

The power requirements of electronic devices increase under high-efficiency operation, and a single power supply or battery cannot satisfy their operation, resulting in processor downscaling and affecting computer performance.

Method used

Hybrid power supply technology is adopted to monitor the operating power of the processor through the system circuit, charge and discharge circuit, power connector and controller. When the power threshold is reached or exceeded, it switches to the composite power supply mode, using external power supply and battery to provide power in parallel. Release power constraints.

Benefits of technology

While taking into account processor performance, it avoids system instability or overload caused by insufficient power supply, improves the operating performance and reliability of electronic devices, and increases processor performance by 29.45%.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118585052A
    Figure CN118585052A
Patent Text Reader

Abstract

The invention discloses an electronic device with hybrid power supply and a hybrid power supply method. The electronic device with hybrid power supply comprises a system circuit, a charging and discharging circuit, a power supply connector, two batteries and a controller, the charging and discharging circuit is connected with the system circuit, the power connector and the two batteries. The power connector is used for receiving external power. The controller is connected with the processor and the charging and discharging circuit, and the controller has a hybrid power supply situation. The controller detects the operation power of a processor of the system circuit, and when the operation power reaches or exceeds a power threshold value, the controller controls the power supply mode to be switched from the single power supply mode to the composite power supply mode. And in the composite power supply mode, under the control of the controller, the processor releases the power limitation of the operation power, and the charging and discharging circuit supplies power to the system circuit by the battery with relatively high electric quantity in the two batteries and an external power supply at the same time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a power supply technology for an electronic device, and more particularly to an electronic device with hybrid power supply and a hybrid power supply method. Background Art

[0002] Currently, electronic devices are becoming more and more powerful, with more processing power and faster operating speed. The power requirements of electronic devices under high-performance operation are increased. When the power requirements are too high and the electronic devices cannot extract enough energy from a single power source or battery to support their operation, the processor can be reduced in frequency to avoid system abnormalities, but this also means reducing the computer's operating performance. Summary of the invention

[0003] In view of this, the present invention provides an electronic device with hybrid power supply and a hybrid power supply method, which are suitable for using a composite power supply to power a system circuit so that the electronic device has sufficient power to perform high-power operation.

[0004] In one embodiment, an electronic device with hybrid power supply includes a system circuit, a charge and discharge circuit, a power connector, two batteries, and a controller. The system circuit includes a processor. The charge and discharge circuit is connected to the system circuit. The power connector is connected to the charge and discharge circuit and is suitable for receiving an external power source. The two batteries are connected to the charge and discharge circuit and have respective charges. The controller connects the processor and the charge and discharge circuit, and the controller has a hybrid power supply scenario. In the hybrid power supply scenario, the controller detects the operating power of the processor, and switches from a single power supply mode to a composite power supply mode when the operating power reaches or exceeds a power threshold. In the composite power supply mode, the processor releases the power limit of the operating power, and the charge and discharge circuit simultaneously powers the system circuit with the battery with the larger charge of the two charges and the external power supply.

[0005] In one embodiment, a hybrid power supply method includes: monitoring the operating power of a system circuit in a hybrid power supply scenario; and when the operating power reaches or exceeds a power threshold, releasing the power limit of the operating power and supplying power with a composite power source. The step of supplying power with a composite power source includes: receiving an external power source via an adapter; comparing the power levels of two batteries, and designating the operating roles of the two batteries as a draw-off battery or a standby battery according to the power levels of the two batteries; and supplying power to the system circuit with the draw-off battery and the external power source at the same time. Here, the operating role of the battery with a higher power level is designated as a draw-off battery, and the operating role of the battery with a lower power level is designated as a standby battery. BRIEF DESCRIPTION OF THE DRAWINGS

[0006] Figure 1 is a functional block diagram of an electronic device with hybrid power supply according to some embodiments;

[0007] Figure 2 is a flow chart of a hybrid power supply method of some embodiments;

[0008] Figure 3 yes Figure 2 A method flow chart of an embodiment of step S133;

[0009] Figure 4 yes Figure 2 A flowchart of an exemplary method after implementing step S147 in step S130;

[0010] Figure 5 Is implemented Figure 2 A flowchart of an example of determining whether to execute step S170 after step S133;

[0011] Figure 6 Is implemented Figure 2 A flowchart of another example of determining whether to execute step S170 after step S133;

[0012] Figure 7 yes Figure 1 A schematic diagram of an exemplary detailed circuit of a charging and discharging circuit.

[0013]

Explanation of symbols

[0014] 100: System circuit

[0015] 101: Processor

[0016] 110:Charge and discharge circuit

[0017] 111: Charger

[0018] 112,117,118,BT1,BT2,VDD1,VDD2,Vsys: contacts

[0019] 114: Input switch

[0020] 115,116:Battery switch

[0021] 119: Toggle switch

[0022] 120: Power connector

[0023] 130:Battery

[0024] 131: First Battery

[0025] 133: Second battery

[0026] 140: Controller

[0027] 150:Battery connector

[0028] 151: First battery connector

[0029] 153: Second battery connector

[0030] 160:Battery slot

[0031] 170: Cover

[0032] 180: Cover switch

[0033] 190:Adapter

[0034] 200: External power supply

[0035] ACN, ACP, CMSRC, ACDRV, ACOK, IOUT, SDA, SCL, SRN, SRP, LODRV, HIDRV, PHASE: pins

[0036] M1~M8: Transistor

[0037] R1, R2: Current detector

[0038] S100~S170: Steps

[0039] Vin: Electricity

[0040] GND: Ground voltage DETAILED DESCRIPTION

[0041] refer to Figure 1 . An electronic device with hybrid power supply includes a system circuit 100, a charging and discharging circuit 110, a power connector 120, two batteries 130 and a controller 140. The system circuit 100 includes a processor 101, the processor 101 has operating power when the electronic device is running, and the processor 101 has a power threshold. The charging and discharging circuit 110 is connected to the system circuit 100, and the charging and discharging circuit 110 is connected to the power connector 120. The power connector 120 is suitable for coupling an external power source 200. Specifically, the electronic device receives power Vin provided by the external power source 200 via the power connector 120. The two batteries 130 are connected to the charging and discharging circuit 110, and the two batteries 130 can be used to store a certain amount of electricity respectively. The controller 140 connects the processor 101 and the charging and discharging circuit 110.

[0042] refer to Figure 2 The controller 140 has a hybrid power supply scenario. The power supply mode of the electronic device is initially a single power supply mode. After the controller 140 starts the hybrid power supply scenario (step S110), the controller 140 detects the operating power of the processor 101 (step S120).

[0043] In step S120, the controller 140 reads the operating power of the processor 101 and compares the read operating power with a power threshold. When the operating power reaches or exceeds the power threshold (step S122), the controller 140 switches the power supply mode of the electronic device from the single power supply mode to the composite power supply mode (step S130).

[0044] In step S130, the controller 140 first controls the processor 101 to release the power limit of its operating power (step S131), and then controls the charge and discharge circuit 110 to switch its power supply path and adopt the composite power supply mode (step S133). Further, the controller 140 enables the battery 130 with a larger amount of power in the two batteries 130 and the external power supply 200 to power the system circuit 100 at the same time. In other words, take the example that the two batteries 130 are the first battery 131 and the second battery 133 and the power of the first battery 131 is higher than the power of the second battery 133. In step S130, the processor 101 releases its power limit, and the charge and discharge circuit 110 supplies power to the system circuit 100 in parallel with the power stored in the first battery 131 and the power from the external power supply 200.

[0045] In this way, by adopting the composite power supply mode under heavy load (i.e., the operating power reaches or exceeds the power threshold), the performance of the processor 101 can be taken into consideration (e.g., the processor 101 does not operate at a reduced frequency), thereby preventing the electronic device from becoming unstable or even crashing the system circuit 100 due to insufficient power supply, and also preventing the electronic device from being damaged by power overload.

[0046] In some embodiments, in the single power supply mode, the charge and discharge circuit 110 selects a power source (i.e., powered by the battery 130 or powered by the external power source 200) to supply power to the system circuit 100 according to the power state, voltage level, or priority. For example, taking the voltage level as an example, when the electronic device is assembled with two batteries 130 and coupled to the external power source 200 at the same time, the charge and discharge circuit 110 will supply power with the higher voltage of the battery 130 and the external power source 200. In addition, in the single power supply mode, the operating power of the processor 101 will be limited by the set power limit to avoid the operating power of the processor 101 being too high and affecting the stability and reliability of the electronic device. In other words, the processor 101 is set with a power limit to limit the processor 101 to operate within a power range. For example, when the operating power of the processor 101 reaches the standard condition of the set power limit, the processor 101 will automatically reduce the frequency to reduce power consumption. For example, when the processor 101 is an Intel system on a chip (SoC), the set power limit may be, for example, power limit level 1 (Power Limit 1; PL1), power limit level 2 (Power Limit 2; PL2), power limit level 3 (Power Limit 3; PL3), or power limit level 4 (Power Limit; PL4).

[0047] For example, in the single power supply mode, the power of the highest power limit (i.e., PL4) is 62 watts (W), which means that the operating power of the processor 101 must not exceed 62 watts. When the processor 101 operates with TurboBoost technology, the composite power supply mode can increase the power of PL4 to 121 watts, so that the system circuit 100 can operate better and handle higher load tasks. Under heavy load conditions, compared with conventional frequency reduction operation, the composite power supply mode can increase the performance of the processor 101 by 29.45%.

[0048] In some embodiments, the power threshold may be determined based on the peak power of the processor 101 at PL4. In one example, taking the power at PL4 as 62 watts, the power threshold may be 58 watts.

[0049] Continued reference Figure 1 and Figure 2 In some embodiments, the controller 140 selectively activates the hybrid power supply scenario (step S100) based on the battery status of the battery 130 and the power supply status of the external power source 200. In other words, the controller 140 determines whether the second battery 130 and the external power source 200 meet the power supply conditions to determine whether to activate the hybrid power supply scenario.

[0050] In some embodiments, the battery status of the battery 130 includes whether the battery 130 is supplying power normally, the temperature of the battery 130 , and the power level of the battery 130 ; the power status of the external power source 200 refers to whether the external power source 200 is supplying power normally.

[0051] In some embodiments, the electronic device further includes two battery connectors 150, and the two battery connectors 150 are respectively used to couple two batteries 130. Moreover, each battery connector 150 is coupled between the corresponding battery 130 and the charge-discharge circuit 110. That is, the battery 130 is electrically connected to the charge-discharge circuit 110 via the corresponding battery connector 150.

[0052] In some embodiments of step S100, the controller 140 detects the coupling status of the second battery 130 and the coupling status of the external power source 200 (step S101) to determine whether the battery 130 and the external power source 200 are supplying power normally (step S103). Specifically, the controller 140 detects the second battery connector 150 and the power connector 120 to know whether they are coupled to the second battery 130 and the external power source 200 respectively. When it is detected that the second battery connector 150 is coupled to the second battery 130 and the power connector 120 is coupled to the adapter 190, the battery 130 and the external power source 200 are supplying power normally.

[0053] In some embodiments, when the power connector 120 is coupled to the external power source 200 but only one of the two battery connectors 150 is coupled to the battery 130 (for example, the first battery 131 is coupled to the first battery connector 151 and the second battery 133 is not coupled to the second battery connector 153), in step S130, the controller 140 controls the charging and discharging circuit 110 to use the battery 130 coupled to the battery connector 150 and the external power source 200 to simultaneously power the system circuit 100, but because the other battery connector 150 is not coupled to the battery 130, no charging operation is performed.

[0054] In some embodiments, after confirming that the battery 130 and the external power source 200 can supply power normally, the battery information of the two batteries 130 is read through the two battery connectors 150 (step S105). The battery information includes the temperature and power of each of the two batteries 130. The controller 140 compares the read temperature of each battery 130 with the predetermined temperature (step S107), and compares the read power of each battery 130 with the enabled power (step S107). When the temperature of any one of the batteries 130 is greater than the predetermined temperature and the power of the battery 130 is greater than the enabled power, the controller 140 determines that the power supply condition is met, and the hybrid power supply scenario can be activated (step S110).

[0055] In some embodiments, if the battery 130 and the external power source 200 supply power normally, but the temperature of the two batteries 130 is not greater than the predetermined temperature or the power of the two batteries 130 is not greater than the enabling power, the controller 140 determines that the power supply condition is not met and cannot activate the hybrid power supply scenario.

[0056] In some embodiments, during step S103 and step S107, if the controller 140 determines that the two batteries 130 or the external power source 200 cannot supply power normally, or the temperatures of the two batteries 130 are not greater than the predetermined temperature or the power levels of the batteries 130 are not greater than the enabling power levels, the controller 140 may return to step S101 and repeat the process of step S100 to determine whether to detect the batteries 130 and the external power source 200 to activate the hybrid power supply scenario when the batteries 130 and the external power source 200 can supply power normally.

[0057] refer to Figure 1 and Figure 3 In some embodiments, the power connector 120 can be coupled to an adapter 190 and connected to the external power source 200 via the adapter 190 (step S141 ). Therefore, the charge and discharge circuit 110 can receive power from the external power source 200 via the power connector 120 .

[0058] In some embodiments of step S133, the controller 140 compares the power levels of the two batteries 130 read by the battery connector 150 (step S143). Then, the controller 140 specifies the operation role of the two batteries 130 according to the power levels of the two batteries 130 (step S145), and controls the charge and discharge circuit 110 to power the system circuit 100 with the load battery and the external power supply at the same time (step S147).

[0059] Here, it is assumed that the two batteries 130 are the first battery 131 and the second battery 133, and the power of the first battery 131 is higher than that of the second battery 133. Specifically, the controller 140 designates the first battery 131 with a higher power as a load battery, and designates the second battery 133 with a lower power as a standby battery (step S145). Furthermore, the charge-discharge circuit 110 uses the first battery 131 and the external power supply 200 to supply power to the system circuit 100 (step S147).

[0060] refer to Figure 1 and Figure 4In some embodiments, following the previous example, in the composite power supply mode, the power of the first battery 131 (currently operating as a load battery) gradually decreases as the system circuit 100 operates for an increasing amount of time, while the power of the second battery 133 (currently operating as a standby battery) remains unchanged. Therefore, in the composite power supply mode, the controller 140 will continue to monitor the power of the two batteries 130 to switch the operating roles of the two batteries 130 when the power of the two batteries 130 is opposite (i.e., the power of the second battery 133 is higher than that of the first battery 131).

[0061] Specifically, after step S147, the controller 140 reads the power of the first battery 131 and the second battery 133 through the battery connector 150, and compares the power values ​​of the two batteries 130 (step S151). When the power of the second battery 133 that is not currently supplying power (i.e., the battery 130 that is currently serving as a standby battery) is greater than the power of the first battery 131 that is currently supplying power to the system circuit 100 together with the external power source 200 (i.e., the battery 130 that is currently serving as a draw battery) (step S152), the controller 140 controls the processor 101 to reduce its operating power (step S153), and then controls the charge and discharge circuit 110 to exchange the operating roles of the two batteries 130 (step S155), and then uses the second battery 133 as a draw battery in parallel with the external power source 200 to supply power to the system circuit 100 (step S157).

[0062] On the contrary, when the controller 140 compares the power of the first battery 131 currently supplying power and the second battery 133 currently not supplying power, and determines that the power of the first battery 131 is still higher than the power of the second battery 133, the charge-discharge circuit 110 does not exchange the battery roles.

[0063] Here, the above steps S151 to S159 may be repeatedly executed to continuously monitor the power levels of the two batteries 130 and to exchange the operating roles in a timely manner.

[0064] In some embodiments of step S153, the processor 101 can reduce the operating power so that the operating power of the system circuit 100 is limited to below a certain power. The certain power can be determined according to the operating power of PL1, PL2, PL3 or PL4 set by the designer. In this way, it can be avoided that the electronic device is abnormally shut down due to the excessive operating power of the processor 101 during the exchange of the two batteries 130.

[0065] In addition to controlling the charge-discharge circuit 110 to swap the charge-discharge battery 130, the controller 140 also controls the processor 101 to release the power limit (step S159). After step S159, the process returns to step S151 and subsequent steps to continuously monitor the power levels of the two batteries 130, so as to switch the operating roles of the two batteries 130 when the power levels of the two batteries 130 are reversed again.

[0066] refer to Figure 5 In some embodiments, after the electronic device adopts the composite power supply mode in step S133, the controller 140 compares the power level of each battery 130 with a preset disable power level (step S161). The disable power level is smaller than the enable power level, for example, the enable power level is 15% of the power level of the battery 130, and the disable power level is 10%. When the power levels of both batteries 130 are smaller than the disable power levels (step S163), the controller 140 switches from the composite power supply mode back to the single power supply mode (step S170).

[0067] Otherwise, the current battery 130 and the external power source 200 can continue to provide power to the system circuit 100. For example, if only one battery 130 has a power level lower than the disable power level or both batteries 130 have a power level higher than the disable power level, the composite power supply mode is continued.

[0068] In some embodiments, after the controller 140 switches back to the single power supply mode because the power level of the second battery 130 is lower than the disable power level, the charge and discharge circuit 110 enables the external power source 200 to power the system circuit 100 while preferentially charging the battery 130 with lower power level.

[0069] Continued reference Figure 1 and Figure 5 In some embodiments, the controller 140 detects the two battery connectors 150 and the power connector 120 (step S165), and determines whether the power connector 120 is disconnected from the adapter 190 or whether both battery connectors 150 are disconnected from the battery 130.

[0070] When the controller 140 determines whether the power connector 120 and the battery connector 150 are disconnected, the controller 140 may determine four situations. The four situations are: (1) the power connector 120 is disconnected from the adapter 190 (step S167); (2) both battery connectors 150 are disconnected from the two batteries 130 (step S167); (3) only one of the battery connectors 150 is disconnected from the battery 130 (step S166); (4) neither the two battery connectors 150 nor the power connector 120 is disconnected (step S166).

[0071] When the power connector 120 is disconnected from the adapter 190 , the controller 140 switches back to the single power supply mode because the electronic device can no longer receive the external power 200 (step S170 ).

[0072] When the two battery connectors 150 are disconnected from the two batteries 130 , only the external power source 200 can provide power to the electronic device via the power connector 120 , and the controller 140 switches back to the single power supply mode (step S170 ).

[0073] When only one battery connector 150 (e.g., the first battery connector 151) is disconnected from one of the batteries 130 (e.g., the first battery 131), the other battery 130 (e.g., the second battery 133) and the external power source 200 can still provide power to the system circuit 100 at the same time, and the composite power supply mode is continuously used. In addition, when all three are not disconnected, the composite power supply mode is also continuously used.

[0074] In some embodiments, steps S161 to S166 can be repeated to avoid the situation where the battery 130 and the external power supply 200 are insufficient to supply the system circuit 100 with power, and the composite power supply mode is still adopted. Otherwise, when the power supply to the system circuit 100 is insufficient, the processor 101 is still in a heavy load state, which may cause the electronic device to shut down abnormally.

[0075] In some embodiments, the two batteries 130 in the battery slot 160 can both be removed and replaced, both cannot be removed and replaced, or only one of the batteries can be removed and replaced.

[0076] Re-reference Figure 1 . In some embodiments, in order to allow both batteries 130 to be removed and replaced, the electronic device has a battery slot 160, a cover 170, and a cover switch 180. The battery 130 is assembled in the battery slot 160. The battery connector 150 may be located at the battery slot 160, and when the battery 130 is assembled correctly, the battery 130 is coupled to the battery connector 150. The battery slot 160 has an opening, and the cover 170 is located on the opening of the battery slot 160. The cover switch 180 is disposed on the battery slot 160 and is used to fix the cover 170 on the battery slot 160. In some embodiments, when the cover switch 180 is turned on, the cover 170 is opened, and the battery 130 can be removed from the battery slot 160, so that the user can replace the battery 130.

[0077] refer to Figure 1 and Figure 6In some embodiments, after step S163, the controller 140 detects the status of the cover switch 180 of the battery slot 160 and the power connector 120 (step S168). The controller 140 uses the opening of the cover switch 180 as a signal that the user will replace the battery 130, and the controller 140 can switch back to the single power supply mode before replacing the battery 130. Therefore, when the controller 140 determines that the cover switch 180 is turned on or the power connector 120 is disconnected, the controller 140 switches from the composite power supply mode to the single power supply mode (step S170).

[0078] Likewise, in some embodiments, step S168 and step S169 may be executed in any process after adopting the composite power supply mode.

[0079] In the embodiment of step S170, when the controller 140 switches back to the single power supply mode, the processor 101 can reduce the operating power to a level that does not cause the electronic device to have operational stability or reliability problems. In the single power supply mode, the system circuit 100 can be powered by the external power supply 200 or by the battery 130. Figure 1 and Figure 7 The charge and discharge circuit 110 obtains power Vin from the external power source 200 via the contacts VDD1 and VDD2. The charge and discharge circuit 110 obtains power Vin from the battery 130 via the contacts BT1 and BT2. The contacts VDD1 and VDD2 connect the charge and discharge circuit 110 and the external power source 200. The contact VDD2 is connected in series with the contact 112 to supply the power Vin from the external power source 200 to the controller 140, and the power Vin from the external power source 200 and the battery 130 is output to the system circuit 100 via the contact Vsys. In addition, the charge and discharge circuit 110 is connected to the controller 140 via the contacts 112, 117, and 118.

[0080] In some embodiments, the charge and discharge circuit 110 may include a charger 111, an input switch 114, a current detector R1, battery switches 115, 116, a current detector R2, and a switch 119. The input switch 114, the current detector R1, the battery switches 115, 116, the current detector R2, and the switch 119 are respectively coupled to pins of the charger 111.

[0081] In some embodiments, the charger 111 has multiple pins, which may be pins ACN, ACP, CMSRC, ACDRV, ACOK, IOUT, SDA, SCL, SRN, SRP, LODRV, HIDRV, and PHASE, etc.

[0082] In some embodiments, the input switch 114 includes two transistors M1 and M2 connected in series between the contact VDD1 and the current detector R1. In the following embodiments, the transistor M1 and the transistor M2 are N-type transistors. The pin ACDRV of the charger 111 is connected to the gates of the transistor M1 and the transistor M2. The pin CMSRC of the charger 111 is connected to the contact between the transistor M1 and the transistor M2. The pin ACP of the charger 111 is connected to the contact between the transistor M2 and the current detector R1. The pin ACN of the charger 111 is also connected to the current detector R1.

[0083] Furthermore, the drain of the transistor M1 receives the external power supply 200 via the contact VDD1. The source of the transistor M1 is connected to the source of the transistor M2, and the drain of the transistor M2 is connected to the first end of the current detector R1. The second end of the current detector R1 is connected to the contact Vsys. The current detector R1 converts the power Vin input to the charge and discharge circuit 110 via the contact VDD1 from voltage to current and outputs it to the system circuit 100 via the contact Vsys.

[0084] In some embodiments, the transistor M2 is turned on, current may flow from the source of the transistor M2 to the drain of the transistor M2 , and the power Vin may enter the charge and discharge circuit 110 through the transistor M2 .

[0085] Continued reference Figure 7 . In some embodiments, the battery switch 115 and the battery switch 116 include a transistor M3, a transistor M4, a transistor M5, and a transistor M6, respectively. In the following embodiments, the transistors M3, M4, M5, and M6 are P-type transistors as an example. The pin PHASE of the charger 111 is connected to the connection end of the drain of the transistor M3 and the drain of the transistor M5. The sources of the transistor M3 and the transistor M5 are coupled to the sources of the transistor M4 and the transistor M6, respectively. The drains of the transistor M4 and the transistor M6 obtain the power Vin from the battery 130 via two contacts BT1 and BT2, respectively. The contacts of the gates of the transistors M3, M4 and the transistors M5 and M6 are connected to the controller 140 via contacts 117 and 118, respectively.

[0086] The current detector R2 can be connected between the junction of the transistor M3 and the transistor M5 and the pin PHASE. The pin SRP of the charger 111 is connected to the first end of the current detector R2, and the pin SRN of the charger 111 is connected to the second end of the current detector R2. The current detector R2 can be used to detect the current magnitude input from the battery 130 to the charge and discharge circuit 110, so that the charger 111 can obtain the current change of the battery 130 during charging and discharging at any time.

[0087] When the power Vin of the battery 130 can be obtained through the contacts BT1 and BT2, the battery switches 115 and 116 receive signals from the controller 140 and are turned on or off when the controller 140 adopts the composite power supply mode, so that the power Vin of the battery 130 can enter the charging and discharging circuit 110 to power the system circuit 100.

[0088] Continuing with the previous example (the power of the first battery 131 is higher than the power of the second battery 133, so the operation role of the first battery 131 is a draw battery, and the operation role of the second battery 133 is a standby battery), it is assumed that the first battery 131 provides power Vin to the charge and discharge circuit 110 via the contact BT1, and the second battery 133 provides power Vin to the charge and discharge circuit 110 via the contact BT2. The controller 140 controls the transistor M4 to turn on via the contact 117, and the power Vin can be input into the charge and discharge circuit 110. At this time, the controller 140 controls the transistor M6 to turn off via the contact 118, so that the power Vin of the second battery 133 cannot be input into the charge and discharge circuit 110, and is reserved for standby use.

[0089] On the contrary, when the first battery 131 operates as a standby battery and the second battery 133 operates as a load battery, the controller 140 controls the transistor M6 to be turned on via the contact 118 so that the power Vin is transmitted to the charge and discharge circuit 110 .

[0090] In some embodiments, the switch 119 includes a transistor M7 and a transistor M8. In the following embodiments, the transistors M7 and M8 are N-type transistors. The drain of the transistor M7 is connected to the contact Vsys, the gate of the transistor M7 is connected to the pin HIDRV of the charger 111, the source of the transistor M7 is connected to the drain of the transistor M8, and the contact is connected between the current detector R2 and the pin PHASE of the charger 111. The pin LODRV of the charger 111 is connected to the gate of the transistor M8, and the source of the transistor M8 is connected to the ground voltage GND.

[0091] When the transistor M7 is turned on, the power Vin from the battery 130 can flow from the source of the transistor M7 to the drain of the transistor M7, so that the battery 130 can be connected in parallel with the external power source 200 to power the system circuit 100. Furthermore, when the controller 140 adopts the single power supply mode and the external power source 200 provides the power Vin to the system circuit 100, the transistor M7 is turned off.

[0092] Through the cooperation of the controller 140, the input switch 114, the charger 111, the switching switch 119, and the battery switches 115 and 116, the external power supply 200 and the battery 130 can be connected in parallel to power the system circuit 100 in the composite power supply mode; in the single power supply mode, the external power supply 200 or the battery 130 can be used to power the system circuit 100.

[0093] In some embodiments, the current detectors R1 and R2 of the charge-discharge circuit 110 may be, for example, two resistors, two capacitors, two inductors, a diode or any combination thereof.

[0094] In some embodiments, the electronic device may be a computing device, for example, a desktop computer, a notebook computer, a laptop computer, a tablet computer, etc.

[0095] In some embodiments, the processor 101 may be, but is not limited to, a central processing unit (CPU), a system on chip (SOC), a general-purpose or special-purpose microprocessor, a digital signal processor (DSP), a programmable controller, an application specific integrated circuit (ASIC), a programmable logic device (PLD), other similar processing devices, or a combination of these devices.

[0096] In some embodiments, the type of the battery 130 can be a dry cell battery, a lithium battery, a nickel-metal hydride battery, a lead-acid battery, a solar cell, or a combination of other conventional batteries.

[0097] In some embodiments, the enabling power level may be 15% of the total power of the battery 130 , and the disabling power level may be 10% of the total power of the battery 130 .

[0098] In some embodiments, the predetermined temperature of the battery 130 is set based on the temperature at which each type of battery can be normally discharged. For example, the predetermined temperature of the battery 130 using a lithium battery to power an electronic device may be zero degrees Celsius to avoid affecting the composite power supply to the electronic device due to poor discharge capacity of the battery 130 at too low a temperature.

[0099] In some embodiments, the adapter 190 can be an AC / DC converter, a switching power supply, a linear power supply, a wireless charging adapter, a USB-C PD fast charging adapter, or any other power adapter with a power bus specification.

[0100] In some embodiments, the charger 111 may be implemented with a chip, wherein the chip may be, for example, BQ24735, BQ25792, MAX77829, LTC4015, etc.

[0101] In some embodiments, transistors M1, M2, M7, M8 and transistors M3, M4, M5, M6 are implemented with different channel type transistors. In some embodiments, transistors M1, M2, M3, M4, M5, M6, M7, M8 can be implemented with other types of switch devices such as N-type transistors, P-type transistors, bipolar junction transistors (BJTs), insulated gate bipolar junction transistors (IGBTs), etc. For example, transistors M1, M2, M7, M8 are implemented with N-type transistors, while transistors M3, M4, M5, M6 are implemented with P-type transistors.

[0102] In summary, in some embodiments, an electronic device using the composite power supply mode may have sufficient power to maintain high-power operation.

Claims

1. An electronic device with hybrid power supply, characterized in that: Include: A system circuit includes: a processor; a charging and discharging circuit connected to the system circuit; A power connector connected to the charging and discharging circuit and suitable for coupling to an external power source; Two batteries, connected to the charging and discharging circuit, each having two capacities; and a controller connected to the processor and the charging and discharging circuit, wherein the controller has a hybrid power supply scenario; Wherein, in the hybrid power supply scenario, the controller detects an operating power of the processor, and switches from a single power supply mode to a composite power supply mode when the operating power reaches or exceeds a power threshold; and Wherein, in the composite power supply mode, the processor releases a power limit of the operating power, and the charge-discharge circuit simultaneously supplies power to the system circuit with the battery and the external power supply having a larger power of the two powers.

2. The electronic device with hybrid power supply according to claim 1, characterized in that: The controller selectively enters the hybrid power supply scenario according to a battery status of the two batteries and a power supply status of the external power source.

3. The electronic device with hybrid power supply according to claim 2, characterized in that: When the two batteries and the external power supply are both supplying power, the temperature of any of the batteries is greater than a predetermined temperature, and the power level of any of the batteries is greater than a consistent power level, the controller enters the hybrid power supply scenario.

4. The electronic device with hybrid power supply according to claim 3, characterized in that: In a hybrid power supply scenario, when the power levels of the two batteries are both less than a disable power level, the controller switches from the composite power supply mode back to the single power supply mode, and the enable power level is greater than the disable power level.

5. The electronic device with hybrid power supply according to claim 4, characterized in that: Also includes: Two battery connectors, connected to the charging and discharging circuit and respectively coupled to the two batteries, wherein the controller is also connected to the power connector and the two battery connectors; In the hybrid power supply scenario, the controller further detects the connection status of the two battery connectors and the power connector, and when the power connector is disconnected from an adapter or the two battery connectors are disconnected from the battery, the controller switches from the composite power supply mode back to the single power supply mode.

6. The electronic device with hybrid power supply according to claim 4, characterized in that: Also includes: a battery slot, wherein the two batteries are assembled in the battery slot; A cover body, located on the opening of the battery slot; and a cover switch, disposed on the battery slot, for fixing the cover on the battery slot; In the hybrid power supply scenario, the controller further detects the switch state of the cover switch and the connection state of the power connector, and when the power connector is disconnected from an adapter or the cover switch is turned on, the controller switches back from the composite power supply mode to the single power supply mode.

7. The electronic device with hybrid power supply according to claim 4, characterized in that: The enabling power is 15%, and the disabling power is 10%.

8. The electronic device with hybrid power supply according to claim 3, characterized in that: The predetermined temperature is 0°C.

9. The electronic device with hybrid power supply according to claim 1, characterized in that: In the hybrid power supply scenario, when the power level of the battery that is not currently supplying power is greater than the power level of the battery that is currently supplying power, the processor reduces the operating power, and the charge-discharge circuit exchanges the discharge of the two batteries.

10. The electronic device with hybrid power supply according to claim 1, wherein: In the hybrid power supply scenario, when the power levels of the two batteries are both less than a disable power level, the controller switches from the composite power supply mode back to the single power supply mode, and the enable power level is greater than the disable power level.

11. The electronic device with hybrid power supply according to claim 10, characterized in that: Also includes: Two battery connectors, connected to the charging and discharging circuit and respectively coupled to the two batteries, wherein the controller is also connected to the power connector and the two battery connectors; In a hybrid power supply scenario, the controller further detects the connection status of the two battery connectors and the power connector, and when the power connector is disconnected from an adapter or the two battery connectors are disconnected from the two batteries, the controller switches back from the composite power supply mode to the single power supply mode.

12. The electronic device with hybrid power supply according to claim 10, characterized in that: Also includes: a battery slot, wherein the two batteries are assembled in the battery slot; A cover body, located on the opening of the battery slot; and a cover switch, disposed on the battery slot, for fixing the cover on the battery slot; In which, in a hybrid power supply scenario, the controller further detects the switch state of the cover switch and the connection state of the power connector, and when the power connector is disconnected from the external power supply or the cover switch is turned on, the controller switches from the composite power supply mode back to the single power supply mode.

13. A hybrid power supply method, characterized in that: Include: In a hybrid power supply scenario, monitoring an operating power of a system circuit; When the operating power reaches or exceeds a power threshold, a power limit of the operating power is released, and power is supplied in a composite power supply mode, wherein the steps of the composite power supply mode include: receiving an external power source via an adapter; and Comparing two charges of two batteries, and respectively assigning two operating roles to the two batteries according to the two charges of the two batteries, wherein the operating role of the battery with a higher charge is a draw battery, and the operating role of the battery with a lower charge is a standby battery; and The system circuit is powered by the load battery and the external power supply at the same time.

14. The hybrid power supply method according to claim 13, characterized in that: Also includes: The hybrid power supply scenario is selectively entered according to a battery status of the two batteries and a power supply status of the external power source.

15. The hybrid power supply method according to claim 14, characterized in that: The step of selectively entering the hybrid power supply scenario according to the battery status of the two batteries and the power supply status of the external power supply includes: entering the hybrid power supply scenario when the two batteries and the external power supply are both powered, the temperature of any of the batteries is greater than a predetermined temperature, and the power of any of the batteries is greater than a consistent power.

16. The hybrid power supply method according to claim 15, characterized in that: The step of supplying power with the composite power supply also includes: comparing the power level of each of the batteries with a disable power level, wherein the enable power level is greater than the disable power level; and When the power levels of the two batteries are both less than the disable power level, the composite power supply mode is switched back to a single power supply mode.

17. The hybrid power supply method according to claim 16, characterized in that: The step of supplying power with the composite power supply also includes: Detecting two battery connectors and a power connector, wherein the two battery connectors are respectively coupled to the two batteries and the power connector is coupled to the adapter; and When the power connector is disconnected from the adapter, or the two battery connectors are both disconnected from the battery, the combined power supply mode is switched back to the single power supply mode.

18. The hybrid power supply method according to claim 16, characterized in that: The steps of the composite power supply mode also include: Detecting a cover switch and a power connector of a battery slot, wherein the two batteries are assembled in the battery slot and the power connector is coupled to the adapter; and When the power connector is disconnected from the adapter or the cover switch is opened, the composite power supply mode is switched back to the single power supply mode.

19. The hybrid power supply method according to claim 15, characterized in that: The predetermined temperature is 0°C.

20. The hybrid power supply method according to claim 14, characterized in that: The step of selectively entering the hybrid power supply scenario according to the battery status of the two batteries and the power supply status of the external power source comprises: Detecting two battery connectors and a power connector; When the two battery connectors are respectively coupled to the two batteries and the power connector is coupled to the adapter, determining whether the external power source and the two batteries meet a power supply condition; When the power supply condition is met, entering the hybrid power supply scenario; and When the power supply condition is not met, the hybrid power supply scenario is not entered; The step of determining whether the external power source and the second battery meet the power supply condition includes: confirming whether the power connector receives the external power; Reading battery information of the two batteries via the two battery connectors, wherein the battery information of each battery includes a temperature of the battery and the power level of the battery; comparing the temperature of each of the batteries with a predetermined temperature; Comparing the power of each battery with a consistent power; When the power connector receives the external power, the temperature of any of the batteries is greater than the predetermined temperature, and the power level of any of the batteries is greater than the enabling power level, determining that the power supply condition is satisfied; and When the power connector does not receive the external power, the temperature of the second battery is not greater than the predetermined temperature, or the power level of the second battery is not greater than the enabling power level, it is determined that the power supply condition is not satisfied.

21. The hybrid power supply method according to claim 13, characterized in that: The steps of the composite power supply mode also include: comparing the power of the loaded battery with the power of the standby battery; When the power of the standby battery is greater than the power of the loaded battery, reducing the operating power; and After the step of reducing the operating power, the operating roles of the two batteries are exchanged.

22. The hybrid power supply method according to claim 13, characterized in that: The steps of the composite power supply mode also include: comparing the power level of each of the batteries with a disable power level; and When the power levels of the two batteries are both less than the disable power level, the composite power supply mode is switched back to a single power supply mode.

23. The hybrid power supply method according to claim 22, characterized in that: The step of supplying power with the composite power supply also includes: Detecting two battery connectors and a power connector, wherein the two battery connectors are respectively coupled to the two batteries and the power connector is coupled to the adapter; and When the power connector is disconnected from the power adapter, or any one of the battery connectors is disconnected from the battery, the combined power supply mode is switched back to the single power supply mode.

24. The hybrid power supply method according to claim 22, characterized in that: The steps of the composite power supply mode also include: Detecting a cover switch and a power connector of a battery slot, wherein the two batteries are assembled in the battery slot and the power connector is coupled to the adapter; and When the power connector is disconnected from the power adapter or the cover switch is opened, the composite power supply mode is switched back to the single power supply mode.