The present disclosure relates to a power supply technology for an electronic device, and particularly relates to an electronic device with hybrid power source and a hybrid power supply method.
Currently, electronic devices have been experiencing an increase in performance, and thus possessing greater processing capabilities and faster operating speeds. On the other hand, because these electronic devices are operated under high-performance conditions, the power demands of these electronic devices rise. When an electronic device is unable to extract sufficient energy from a single power source or a battery to support high-power operations, the processor can perform frequency reduction to prevent system abnormalities. However, this frequency reduction also results in the decrease in the computer's performance.
In view of this, the present disclosure provides an electronic device with hybrid power supply and a method for hybrid power supply, which are suitable for supplying power to a system circuit of the electronic device using a combination of power sources, thereby providing sufficient electrical power for high-power operations.
In one embodiment, an electronic device with a hybrid power source comprises a system circuit, a charging and discharging circuit, a power connector, two batteries, and a controller, wherein the system circuit comprises a processor. The charging and discharging circuit is connected to the system circuit. The power connector is connected to the charging and discharging circuit, wherein the power connector is adapted to couple to an external power source. The two batteries are connected to the charging and discharging circuit, wherein each of the batteries has a corresponding one of energy levels. The controller is connected to the processor and the charging and discharging circuit, wherein the controller has a hybrid power scenario. In the hybrid power scenario, the controller detects an operating power of the processor and is switched from a single power supply mode to a hybrid power supply mode in response to that the operating power reaches or exceeds a power threshold. In the hybrid power supply mode, the processor releases a power limit of the operating power, and the charging and discharging circuit supplies power to the system circuit from both the battery having a greater energy level and the external power source at the same time.
In one embodiment, a method for hybrid power supply comprises: monitoring an operating power of a system circuit in a hybrid power scenario; in response to that the operating power reaches or exceeds a power threshold, releasing a power limit of the operating power and supplying power in a hybrid power supply mode, wherein the steps of the hybrid power supply mode include: receiving an external power through an adapter; comparing energy levels of two batteries and assigning a corresponding one of operational roles to each of the two batteries as discharge battery or standby battery based on the energy levels of the two batteries; and supplying power to the system circuit using both the discharge battery and the external power at the same time. In some embodiments, one of the two batteries having a greater energy level is designated as a discharge battery, and the other one of the two batteries having a lower energy level is designated as a standby battery.
Please refer to
Please refer to
In the step S120, the controller 140 reads the operating power of the processor 101 and compares the read operating power with a power threshold. In response to that the operating power reaches or exceeds the power threshold (the step S122), the controller 140 switches the power supply mode of the electronic device from the single power supply mode to a hybrid power supply mode (the step S130).
In the step S130, the controller 140 first controls the processor 101 to release the power limit of the operating power of the processor 101 (the step S131) and then controls the charging and discharging circuit 110 to switch the power path to the hybrid power supply mode (the step S133). Furthermore, the controller 140 enables the system circuit 100 to be powered by both the battery 130 with the greater energy level and the external power source 200. Considering the case where the batteries 130 comprise a first battery 131 and a second battery 133, and the energy level of the first battery 131 is greater than the energy level of the second battery 133, in the step S130, the processor 101 releases the power limit, and the charging and discharging circuit 110 provides parallel power supply to the system circuit 100 using the energy stored in the first battery 131 and the power from the external power source 200.
Accordingly, by adopting the hybrid power supply mode under the heavy load conditions (i.e., in response to that the operating power reaches or exceeds the power threshold), instability and potential system crashes of the system circuit 100 caused by insufficient power supply can be avoided, while still maintaining the performance of the processor 101 (e.g., performing the operation of the processor 101 without frequency reduction). Additionally, such configuration also prevents damage to the system circuit 100 caused by power overload, ensuring the stable operation of the electronic device.
In some embodiments, in the single power supply mode, the charging and discharging circuit 110 selects one power source (i.e., batteries 130 or external power source 200) to supply power to the system circuit 100 according to the power source status, voltage level, or priority stage. For example, considering the voltage level as a factor, in response to that the electronic device is equipped with two batteries 130 in parallel coupled to the external power source 200, the charging and discharging circuit 110 supplies power to the system circuit 100 by the source with a higher voltage between the batteries 130 and external power source 200. Additionally, in the single power supply mode, the operating power of the processor 101 is limited by a set power limit to ensure the stability and reliability of the electronic device. In other words, in some embodiments, the processor 101 is set with a power limit to restrict the operation of the processor 101 within a specific power range. For example, when the operating power of the processor 101 reaches the specified power limit condition, such as power limit level 1 (PL1), power limit level 2 (PL2), power limit level 3 (PL3), or power limit level 4 (PL4), the processor 101 automatically reduces the frequency of the processor 101 to lower the power consumption. This power limit setting may be apply, for instance, to Intel's System on a Chip (SoC) processors.
For example, in the single power supply mode, the maximum power limit (i.e., PL4) for the power source is set as 62 watts (W), indicating that the operating power of the processor 101 should not exceed 62 watts. However, when the processor 101 operates using Turbo Boost technology and the hybrid power supply mode is adopted, the operating power of power limit (PL4) can be increased to 121 watts, allowing the system circuit 100 to perform better and handle higher loads. In heavy load scenarios, compared to the existing frequency reduction operation of the processor, adopting the hybrid power supply mode can increase the performance of the processor 101 by 29.45%.
In some embodiments, the power threshold can be determined according to the power peak of the processor 101 at PL4. In an exemplary embodiment, taking the power limit of PL4 being 62 watts as an example, the power threshold can be set as 58 watts.
As shown in
In some embodiments, the battery status of the batteries 130 refers to whether the batteries 130 are providing power normally, the temperature of the batteries 130, and the energy levels of the batteries 130. The power supply status of the external power source 200 refers to whether the external power source 200 is providing power normally.
In some embodiments, the electronic device may also include two battery connectors 150, and each of the two battery connectors 150 is adapted to be coupled to a corresponding one of the batteries 130. Furthermore, each of the battery connectors 150 is coupled between the corresponding one of the batteries 130 and the charging and discharging circuit 110. In other words, in some embodiments, each of the batteries 130 is electrically connected to the charging and discharging circuit 110 via the corresponding one of the battery connectors 150.
In some embodiments of the step S100, the controller 140 detects the status of the two batteries 130 and the external power source 200 (the step S101) to determine whether the batteries 130 and external power source 200 are providing power normally (the step S103). Specifically, in some embodiments, the controller 140 detects the two battery connectors 150 and the power connector 120 to determine whether the two battery connectors 150 and the power connector 120 are respectively coupled to the batteries 130 and the external power source 200. If the controller 140 detects that the two battery connectors 150 are coupled to the batteries 130 and the power connector 120 is coupled to the adapter 190, the batteries 130 and the external power source 200 are providing power normally.
In some embodiments, in response to that the power connector 120 is coupled to the external power source 200 but only one of the battery connectors 150 is coupled to the corresponding one of the batteries 130 (for example, the first battery 131 is coupled to the first battery connector 151 while the second battery 133 is not coupled to the second battery connector 153), in the step S130, the controller 140 controls the charging and discharging circuit 110 to supply power to the system circuit 100 using the battery 130 coupled to the battery connector 150 and the external power source 200 at the same time. However, since the other battery connector 150 is not coupled to the battery 130, the other battery 130 does not perform charging operations to the electronic device.
In some embodiments, after the controller 140 confirms that the batteries 130 and the external power source 200 are supplying power normally, the controller 140 reads the battery information of the two batteries 130 through the battery connectors 150 (the step S105). The battery information includes the temperatures and the energy levels of the batteries 130. The controller 140 compares the read temperature of each of the batteries 130 with the predetermined temperature (the step S107), and the controller 140 also compares the energy level of each of the batteries 130 with the enabling energy level (the step S107). In response to that the temperature of any one of the two batteries 130 exceeds the predetermined temperature and the energy level of this battery 130 is greater than the enabling energy level, the controller 140 determines that the power supply conditions are met, and the hybrid power scenario can be initiated (the step S110).
In some embodiments, if the batteries 130 and the external power source 200 are supplying power normally, yet the temperature of both the two batteries 130 is not greater than the predetermined temperature or the energy levels of both the two batteries 130 are not greater than the enabling energy level, the controller 140 determines that the power supply conditions are not met, and the hybrid power scenario cannot be initiated.
In some embodiments, during the step S103 and the step S107, if the controller 140 determines that either the batteries 130 or the external power source 200 is unable to supply power normally, or the controller 140 determines that the temperatures of both the two batteries 130 are not greater than the predetermined temperature or the energy levels of the two batteries 130 are not greater than the enabling energy level, the controller 140 can return to the step S101 and repeat the process of the step S100 to determine whether the batteries 130 and the external power source 200 can be detected and initiate the hybrid power scenario in response to that both the batteries 130 and the external power source 200 can supply power normally.
Please refer to
In some embodiments of the step S133, the controller 140 compares the energy levels of the two batteries 130 obtained from the battery connectors 150 (the step S143). Then, according to the energy levels of the two batteries 130, the controller 140 designates operational roles to the two batteries 130 (the step S145), and the controller 140 controls the charging and discharging circuit 110 to supply power to the system circuit 100 using the battery 130 designated as a discharge battery and the external power source 20 at the same time (the step S147).
For an example, assume that the two batteries 130 are the first battery 131 and the second battery 133, and the energy level of the first battery 131 is greater than that of the second battery 133. Specifically, in this embodiment, the controller 140 designates the first battery 131 which has a greater energy level as the discharge battery, and designates the second battery 133 which has a less energy level as the standby battery (the step S145). The charging and discharging circuit 110 supplies power to the system circuit 100 using the first battery 131 and the external power source 200 at the same time (the step S147).
Please refer to
Specifically, in some embodiments, after the step S147, the controller 140 reads the energy levels of the first battery 131 and the second battery 133 through the battery connectors 150 and compares the values of the energy levels of the two batteries 130 (the step S151). If the energy level of the currently unpowered second battery 133 (i.e., the battery 130 currently designated as the standby battery) is greater than the energy level of the first battery 131, which is currently supplying power to the system circuit 100 along with the external power source 200 (the step S152), the controller 140 controls the processor 101 to reduce the operating power of the processor 101 (the step S153). Then, the controller 140 controls the charging and discharging circuit 110 to exchange the operational roles of the two batteries 130 (the step S155) and then remove the power limit of the processor 101 (the step S157), thereby using the second battery 133 as the discharge battery, which is connected in parallel with the external power source 200 to supply power to the system circuit 100 (the step S159).
On the contrary, when the controller 140 compares the energy level of first battery 131 which is currently powered and the second battery 133 which is currently unpowered and determines that the energy level of the first battery 131 is still greater than the energy level of the second battery 133, the charging and discharging circuit 110 does not exchange the operational roles of the two batteries 130.
In this way, according to some embodiments, the steps S151 to S159 can be executed repeatedly to continuously monitor the energy levels of the two batteries 130 and exchange the operational roles if necessary.
In some embodiments of the step S153, the processor 101 can reduces the operating power of the processor 101 to restrict the operating power of the system circuit 100 to below a certain predetermined power limit. The predetermined power limit can be determined according to the designers' specifications such as PL1, PL2, PL3, or PL4. Therefore, during the role exchange of the two batteries 130, abnormal shutdown of the electronic device caused by excessive operating power of the processor 101 can be prevented.
In addition to controlling the charging and discharging circuit 110 to alternately charging and discharging the two batteries 130, the controller 140 also controls the processor 101 to release the power limit (the step S159). After the step S159, the process returns to execute the step S151 and subsequent steps to continue monitoring the energy levels of the two batteries 130 and exchange the operational roles in response to that the relationship between the energy levels of the batteries 130 is reversed again.
Please refer to
Otherwise, the current state that both the two batteries 130 and the external power source 200 supply power to the system circuit 100 at the same time can be maintained. For example, if only one battery 130 has an energy level less than the disabling energy level, or if both batteries 130 have energy levels greater than the disabling energy level, the hybrid power supply mode will continue to be adopted.
In some embodiments, after the controller 140 switches the power supply mode of the electronic device back to the single power supply mode due to the energy levels of the two batteries 130 are less than the disabling energy level, the charging and discharging circuit 110 charges the battery 130 with less energy level as a first priority while the external power source 200 supplies power to the system circuit 100 at the same time.
As shown in
The controller 140 may determine four conditions when assessing the power connector 120 and/or the battery connectors 150 are not coupled. These conditions are as follows: (1) the power connector 120 is not coupled to the adapter 190 (the step S167); (2) both the two battery connectors 150 are not coupled to the two batteries 130 (the step S167); (3) only one of the two battery connectors 150 is not coupled to the corresponding battery 130 (the step S166); (4) none of the two battery connectors 150 or power connector 120 are not coupled (the step S166).
In the case that the power connector 120 is not coupled to the adapter 190, the controller 140 switches the power supply mode of the electronic device back to the single power supply mode to prevent the electronic device from receiving power from external power source 200 (the step S170).
Similarly, in the case that both the two battery connectors 150 are not coupled to the two batteries 130, only the external power source 200 is available to provide power for the electronic device through the power connector 120, the controller 140 also switches the power supply mode back to the single power supply mode (the step S170).
In the case that only one of the two battery connectors 150 (e.g., the first battery connector 151) is not coupled to the corresponding one of the two batteries 130 (e.g., the first battery 131), while the other battery 130 (e.g., the second battery 133) and external power source 200 can still supply power to the system circuit 100 at the same time, the electronic device continues to operate in the hybrid power supply mode. Similarly, if none of the three (the two battery connectors 150 and the power connector 120) are not coupled, the electronic device continues to operate in the hybrid power supply mode.
In some embodiments, the steps S161 to S166 can be repeatedly executed to prevent the electronic device from adopting the hybrid power supply mode upon the power supplied to the system circuit 100 from the batteries 130 and the external power source 200 is insufficient. Otherwise, inadequate power supply to the system circuit 100 may result in overload of the processor 101, leading to abnormal shutdown and other issues for the electronic device.
In some embodiments, both the two batteries 130 in the battery compartment 160 are replaceable or non-replaceable, or only one of the two batteries 130 is be replaceable.
Please refer to
Please refer to
Similarly, in some embodiments, the steps S168 and S169 can be performed at any moment during the process after the hybrid power supply mode is adopted.
In some embodiments of the step S170, in response to that the controller 140 switches the power supply mode of the electronic device back to the single power supply mode, the processor 101 can reduce the operating power of the processor 101 to ensure the stability and reliability of the electronic device. In the single power supply mode, the system circuit 100 can be powered by the external power source 200 or the batteries 130.
Please refer to
In some embodiments, the charging and discharging 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 power supply mode switch 119. The input switch 114, the current detector R1, the battery switches 115, 116, the current detector R2, and the power supply mode switch 119 are connected to the pins of the charger 111.
In some embodiments, the charger 111 has multiple pins, which may include pins ACN, ACP, CMSRC, ACDRV, ACOK, IOUT, SDA, SCL, SRN, SRP, LODRV, HIDRV, PHASE, or the like.
In some embodiments, the input switch 114 includes two transistors M1 and M2 connected in series between the contact point VDD1 and the current detector R1. In the following examples, the transistors M1 and M2 are assumed to be N-type transistors. The gate of transistors M1 and M2 is connected to the pin ACDRV of the charger 111. The pin CMSRC of the charger 111 is connected to the junction between the transistors M1 and M2. The pin ACP of the charger 111 is connected to the junction between the transistor M2 and the current detector R1. The pin ACN of the charger 111 is connected to the current detector R1.
Furthermore, the drain of the transistor MI receives power from the external power source 200 via the contact point 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 terminal of the current detector R1. The second terminal of the current detector R1 is connected to the contact point Vsys. The current detector R1 converts a voltage input from the external power source 200 via the contact point VDD1 into a current and outputs the current to the system circuit 100 via the contact point Vsys.
In some embodiments, in response to that the transistor M2 is conducting, the current can flow from the source of the transistor M2 to the drain of transistor M2, allowing the power Vin to enter the charging and discharging circuit 110.
Please refer to
The current detector R2 may be connected between the junction of the transistor M3 and the transistor M5 and the pin PHASE of the charger 111. The pin SRP of the charger 111 is connected to the first terminal of the current detector R2, and the pin SRN of the charger 111 is connected to the second terminal of the current detector R2. The current detector R2 is adapted to detect the value of the current from the battery 130 entering the charging and discharging circuit 110, allowing the charger 111 to monitor the current variations during charging and discharging.
In the case where the power Vin from the batteries 130 can be obtained through the contact points BT1 and BT2, the battery switches 115 and 116 receive signals from the controller 140, so that the battery switches 115 and 116 is either conducting or not conducting when the controller 140 adopts the hybrid power supply mode, thereby allowing the power Vin from the battery 130 can enter the charging and discharging circuit 110 to supply power to the system circuit 100.
Based on the foregoing example (where the energy level of the first battery 131 is greater than the energy level of the second battery 133, taking the first battery 131 being the discharge battery and the second battery 133 being the standby battery as an example), let's assume that the power Vin is supplied to the charging and discharging circuit 110 from the first battery 131 through the contact point BT1, and the power Vin is supplied to the charging and discharging circuit 110 from the second battery 133 through contact point BT2. The controller 140 controls the transistor M4 to be conducting through the contact point 117, allowing the power Vin to enter the charging and discharging circuit 110. At the same time, the controller 140 controls the transistor M6 to be not conducting through contact point 118, thus preventing the power Vin from the second battery 133 from entering the charging and discharging circuit 110 and keeping the power Vin from the second battery 133 in standby.
On the contrary, when the operation role of the first battery 131 is the standby battery and the operation role of the second battery 133 is the discharge battery, the controller 140 controls the transistor M6 to be conducting through the contact point 118, thus enabling the power Vin to enter the charging and discharging circuit 110.
In some embodiments, the power supply mode switch 119 includes transistors M7 and M8. In the following examples, the transistors M7 and M8 are assumed to be N-type transistors. The drain of the transistor M7 is connected to the contact point Vsys, the gate of the transistor M7 is connected to the HIDRV pin of the charger 111, and the source of the transistor M7 is connected to the drain of the transistor M8, which is also connected to the current detector R2 and the PHASE pin of the charger 111. The LODRV pin 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.
In response to that the transistor M7 is conducting, the power Vin from the battery 130 can flow from the source of the transistor M7 to the drain of the transistor M7, allowing the battery 130 to be connected in parallel with the external power source 200 to supply power to system circuit 100. On the other hand, when the controller 140 is in the single power supply mode and the external power source 200 is supplying power Vin to the system circuit 100, the transistor M7 is not conducting.
Through the coordination of the controller 140, the input switch 114, the charger 111, the power supply mode switch 119, and the battery switches 115 and 116, the external power source 200 and one of the batteries 130 can be connected in parallel to supply power to the system circuit 100 in the hybrid power supply mode, and the external power source 200 or the battery 130 can supply power to the system circuit 100 in the single power supply mode.
In some embodiments, the current detectors R1 and R2 in the charging and discharging circuit 110 may be implemented using two resistors, two capacitors, two inductors, two diodes, or any combination thereof.
In some embodiments, the electronic device may be a computing device, such as a desktop computer, a laptop computer, a notebook computer, or a tablet computer.
In some embodiments, the processor 101 may be, but 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), or a combination of these devices.
In some embodiments, the batteries 130 may be of various types, including dry batteries, lithium batteries, nickel-hydrogen batteries, lead-acid batteries, solar batteries, or a combination of known battery types
In some embodiments, the enable level may be set as 15% of the total energy level of the battery 130, and the disable level may be set as 10% of the total energy level of the battery 130.
In some embodiments, the predetermined temperature for the batteries 130 is set according to the temperature at which the battery in various types can discharge normally. For example, when lithium batteries are utilized to supply power to the electronic device, the predetermined temperature for the batteries 130 can be set as 0 degrees Celsius to avoid the adverse effects of poor discharge performance at extremely low temperatures on the power supply from the hybrid power source to the electronic device.
In some embodiments, the adapter 190 may be any power adapter that complies with the power bus specifications, such as an AC/DC converter, a switching power supply, a linear power supply, a wireless charging adapter, or a USB-C PD fast charger.
In some embodiments, the charger 111 may be implemented using a single chip, where the chip may be, for example, BQ24735, BQ25792, MAX77829, LTC4015, or other suitable chips.
In some embodiments, the transistors M1, M2, M7, an M8, and the transistors M3, M4, M5, an M6 are implemented using different channel types of transistors. In some embodiments, the transistors M1, M2, M3, M4, M5, M6, M7, an M8 may be realized using N-type transistors, P-type transistors, bipolar junction transistors (BJTs), insulated gate bipolar transistors (IGBTs), or other types of switching devices. For example, the transistors M1, M2, M7, and M8 may be implemented using N-type transistors, while the transistors M3, M4, M5, and M6 may be implemented using P-type transistors.
In conclusion, in some embodiments, electronic devices that adopt the hybrid power supply mode can have sufficient power to support high-power operation.
This application claims the benefit of U.S. provisional application Ser. No. 63/449,272, filed on Mar. 1, 2023. The entirety of the above-mentioned patent application is hereby incorporated by reference herein and made a part of the specification.
Number | Date | Country | |
---|---|---|---|
63449272 | Mar 2023 | US |