Power supply unit control system
By dynamically controlling the rated power of the PSU and using EWMA to adjust the charger current limit, the problem of inflexible PSU power adjustment in existing technologies is solved, achieving higher processor performance and faster charging speed, while reducing the overall size and noise of the system.
Patent Information
- Application Number
- CN202280089423.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2022-02-09
- Filing Date
- 2022-11-27
- Publication Date
- 2024-11-08
AI Technical Summary
Existing power supply units (PSUs) are not flexible enough in power regulation in computing devices, resulting in problems with overall system size, heat and noise, and fixed rated power limits processor performance improvement.
By dynamically controlling the rated power of the PSU and using the exponentially weighted moving average (EWMA) to adjust the charger current limit, the output power is adaptively adjusted according to the temperature and initial power level of the PSU to avoid overload caused by instantaneous changes.
It achieves higher processor performance and faster charging speeds without violating PSU reliability specifications, while reducing processor throttling requirements and avoiding plug-in non-charging events.
Smart Images

Figure CN118922798A_ABST
Abstract
Description
Background Art
[0001] Power supplies for desktop and mobile PCs contribute significantly to the overall size, heat, and noise of the system. For example, a typical office desktop computer includes a 250W-300W power supply (PSU). However, the actual power consumed by the system when running normal office desktop computer applications is typically 70-150W, including about 10%-30% power losses. For example, if a PC can be shipped with a 150W power supply, this will save costs for the manufacturer and reduce the overall size of the power supply, enabling a smaller PC. PSUs are typically set to a fixed power rating across a wide operating range. For example, the PSU power rating on some laptop devices may be limited to a static fixed power rating, such as 60W, 95W, 120W, etc. Summary of the invention
[0002] The described technology provides an apparatus including a power supply unit (PSU) and a PSU control system stored in a memory and executable by one or more processor units, the PSU control system encoding computer executable instructions on the memory for executing a computer process on the one or more processor units, the computer process including: receiving an internal temperature of the PSU for a duration, determining a plurality of exponentially weighted moving averages (EWMAs) of the internal temperature of the PSU for the duration, comparing the EWMAs to a temperature threshold associated with the duration, and limiting the output power of the charger using a charger current limit input to the charger based at least in part on determining that the EWMA exceeds the temperature threshold associated with the duration. In an alternative embodiment of the technology disclosed herein, the computer process includes receiving an initial condition of the PSU, such as a sensed PSU power level for the duration, determining a plurality of EWMAs of the sensed PSU power level for the duration, comparing the EWMAs to a sensed power level threshold associated with the duration, and limiting the output power of the charger using a charger current limit input to the charger based at least in part on determining that the EWMA exceeds the sensed power level threshold associated with the duration.
[0003] This Summary is provided to introduce a selection of concepts in a simplified form that are further described below in the Detailed Description. This Summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
[0004] Other implementations are also described and listed herein. BRIEF DESCRIPTION OF THE DRAWINGS
[0005] Figure 1A computing system is shown that includes a PSU control system that regulates output power based at least in part on a measured temperature of the PSU.
[0006] Figure 2 An example graph illustrating a PSU control method disclosed herein using a measured temperature of a PSU is shown.
[0007] Figure 3 An alternative example computing system is shown that includes a PSU control system that adjusts output power based at least in part on an initial power level of the PSU.
[0008] Figure 4 An alternative example graph illustrating the PSU control method disclosed herein using the initial power level of the PSU.
[0009] Figure 5 An example graph showing the performance improvements achieved using the PSU control system disclosed herein.
[0010] Figure 6 An example operation of the PSU control system disclosed herein is shown.
[0011] Figure 7 An alternative example operation of the PSU control system disclosed herein is shown.
[0012] Figure 8 An example system is shown that may be used to implement the battery pack control system disclosed herein. DETAILED DESCRIPTION
[0013] The technology disclosed herein includes a power supply unit (PSU) system in which the rated power of the PSU is dynamically controlled. In some embodiments disclosed herein, the rated power of the PSU may be controlled based at least in part on an algorithm. In general, the PSU is set to a fixed rated power across a wide operating range. For example, the rated power of the PSU on some laptop devices may be limited to a static fixed rated power, such as 60W, 95W, 120W, etc. For some power supplies, there may be an opportunity to draw more power than the specified static fixed rated power, but this excess needs to be limited by the actual load level, the duration at those load levels, the internal state of the PSU, and the internal temperature of the PSU. The average value of the internal temperature of the PSU or the initial PSU state when inserted can be used as a good proxy to identify the maximum load that the PSU can handle at a given time.
[0014] Embodiments of the system disclosed herein provide an architecture and method for controlling a power supply unit (PSU) to allow for adjustment of the output power that the PSU can supply. Embodiments disclosed herein use various factors to control the output power that the PSU can supply over a period of time, and if at least some of the multiple factors are exceeded, the output power that the PSU can supply is adjusted downward. Embodiments of the technology for adjusting the PSU output power over time utilize the measured temperature of the PSU, the current limit that the PSU can supply, and the amount of time that the PSU operates at or above various temperature thresholds. Another embodiment of the technology for adjusting the PSU output power over time utilizes the initial PSU power level at startup, the current limit that the PSU can supply, and a set of time limits for the amount of time of the average power that the PSU can supply at different levels. Adjusting the PSU output power level based at least in part on the initial PSU power level at startup or the PSU internal temperature alleviates the stress level on the PSU while still providing a higher PSU output power level to the device components.
[0015] The embodiments disclosed herein provide benefits over existing PSU control systems by enabling opportunistic higher PSU power ratings without violating the reliable duration specifications of the PSU. As a result, the embodiments disclosed herein greatly enhance the burst performance of various processors of various computing devices, such as CPUs, GPUs, etc. Another benefit of the disclosed embodiments is that they allow for prevention of plug-in-not-charging (PINC) events for computing devices. In addition, when compared to existing methods of limiting the charger current limit to a fixed level, which requires throttling the processor to maintain a fixed PSU power rating, the embodiments disclosed herein require less processor throttling. This is very beneficial for applications (such as games) in which the systems disclosed herein are used, where higher frames per second (FPS) rates can be obtained from higher PSU power ratings than previous fixed levels with less component throttling, but still within duration-based limits at various PSU power ratings.
[0016] Figure 1 A PSU control system 100 is shown that adjusts output power based at least in part on a measured temperature of a PSU 102. The PSU control system 100 may be implemented on a computing device 104. In the illustrated embodiment, the PSU control system 100 includes a communication link 120 for communicating between the PSU 102 and a communication interface 106 of the computing device 104. For example, the communication interface 106 may be a USB Type-C Power Delivery (USBC PD) controller or a Microsoft Surflink Controller. TMCommunication interface. The communication link 120 may be used to measure the temperature of the PSU 102. The PSU 102 may provide power to the charger 110 of the computing device 104.
[0017] The communication interface 106 may send the PSU temperature to the embedded microcontroller 108. The embedded microcontroller 108 may be configured to implement one or more algorithms for averaging the temperature of the PSU over different durations and dynamically generating a charger current limit 122. The charger current limit 122 may be sent as an input to the charger 110, which provides current to the processor 114. For example, the processor 114 may be a CPU of the device 104, a dedicated GPU (DGPU) of the device 104, etc.
[0018] In addition, the embedded microcontroller 108 may also generate a limit threshold based at least in part on the PSU temperature and the timer, and send the limit threshold to the processor power software manager. An example of a processor power software manager may be Microsoft TM System Management Framework (SMF) 112. In one embodiment, SMF 112 generates performance parameters (such as system and component level power caps) for processor 314 using limit thresholds, which can throttle processor 314 performance.
[0019] In one embodiment, the embedded microcontroller 108 may receive and store the temperature of the PSU 102 for different durations and generate an exponentially weighted moving average (EWMA) of the internal temperature of the PSU 102 for the different durations. For example, the embedded controller 108 may generate an EWMA of the internal temperature of the PSU 102 for rolling durations of 0.1 hours, 0.2 hours, 0.3 hours, 0.5 hours, 1 hour, 1.5 hours, etc. In one embodiment, the embedded microcontroller 108 may generate the EWMA as an exponential EWMA for various durations using Equation 1 provided below:
[0020] EWMA t =EWMA t-1 +Δt / τ*(It-EWMA t-1 )
[0021] Here, EWMA t is the EWMA at time t, EWMA t-1 is the EWMA at time t-1, I tis the internal temperature of the PSU 102 received from the communication interface 106 for time t, Δt is the time elapsed between t-1 and t, and τ is a uniquely designed time constant for each EWMA associated with the average value. For example, τ may be 30 seconds, 60 seconds, 90 seconds, etc. Using either the WMA or the EWMA and comparing them to the threshold value allows the operations disclosed herein to avoid unnecessarily setting the target load maximum flag in response to transient changes in PSU conditions, such as transient changes in the PSU internal temperature, etc. This results in a smoother operation for managing the power output level of the PSU.
[0022] In addition, the embedded microcontroller 108 may also store a lookup table that stores EWMA output levels associated with various durations and EWMA thresholds for the PSU 102. For example, if the EWMA calculated for a Δt of 0.1 hours is above 110 degrees Celsius (C), then the EWMA output level may be 15, which is associated with a 1.5x current limit to the charger 110. Similarly, if the EWMA calculated for a Δt of 0.2 hours is above 100 degrees Celsius (C), then the EWMA output level may be 14, which is associated with a 1.4x current limit to the charger 110. Such dynamic current limiting of the charger 110 allows the maximum power that can be applied to the processor 114 to be opportunistically or dynamically increased based at least in part on the internal temperature of the PSU 102. This provides the possibility of faster charging of the device 104 and allows performance improvements to be provided to the processor 114 and other peripherals (such as USB-C) of the device 104.
[0023] Lookup Table I, which may be stored in the memory of the embedded microcontroller 108, shows an example relationship between the maximum duration Δt, the EWMA temperature threshold, the EWMA output level, and the charger limit ILIM1 that determines the PSU power threshold. In one embodiment, the maximum duration and the PSU power threshold (charger current ILIM1) are also designed by the PSU reliability guidelines and the thermal design in the PSU.
[0024] Lookup Table I
[0025]
[0026]
[0027] Specifically, Lookup Table 1 shows the dynamic adjustment of PSU maximum power using calculations of various EWMAs based at least in part on internal PSU temperature. Each EWMA has a unique time constant, referred to as Tau (τ). During operation, each individual EWMA for various Tau is associated with a different PSU internal temperature limit. For example, an EWMA for 60 seconds τ corresponds to a temperature limit of 80C and a PSU rating of 1.2x. An EWMA for another 30 seconds τ may correspond to a temperature limit of 70C and a PSU rating of 1.1x.
[0028] Once one of the multiple simultaneously calculated EWMAs reaches the corresponding temperature limit associated with the PSU rated power threshold, a target maximum flag is sent to the software or hardware control algorithm. Thus, for example, if the EWMA calculated for 60 seconds τ reaches 80C, then such a target maximum flag is sent to the software or hardware control algorithm. In response, the control algorithm slows down components in the platform, such as the CPU, DGPU, etc., to maintain the desired PSU rating, in this case 1.2x the PSU rating. Subsequently, when any EWMA, such as the EWMA for 30 seconds τ, reaches 70C, another flag is sent to the control algorithm, and in response, the control algorithm further slows down components in the platform, such as the CPU, DGPU, etc., to maintain the desired PSU rating, in this case 1.1x the PSU rating.
[0029] This embodiment allows a step-down approach to limiting PSU power ratings. Specifically, in order for a higher PSU power rating to be available again, it is necessary to operate at a lower power level (i.e., lower PSU temperature) for a period of time to allow the EWMA time to reduce its value. The disclosed embodiments allow higher PSU ratings to be dynamically used for applications like gaming, where higher PSU power ratings can be used with less component throttling to provide higher frames per second (FPS) rates than previous fixed PSU rating levels, but still within duration-based limits at various PSU power ratings.
[0030] The EWMA PSU temperature thresholds provided herein may be determined theoretically and / or empirically during the manufacturing phase of the device 104. The embedded controller 108 may calculate the actual EWMA for various durations according to Equation 1 above on a rolling basis and compare the calculated EWMA to the EWMA PSU temperature threshold to determine the EWMA output level and the PSU power threshold charger current ILIM1. Thus, for example, if all calculated EWMAs are less than their associated EWMA PSU temperature thresholds, then the EWMA output level is 16, corresponding to 1.6x the charger current ILIM1 of the charger 110, thereby providing a higher PSU output level to the processor 114. Similarly, if the EWMA calculated for a period of 0.1 hours is greater than 110C, then the EWMA output level is 15, corresponding to 1.5x the charger current ILIM1 of the charger 110.
[0031] Figure 2 An example graph 200 of a PSU control method disclosed herein using multiple averages of measured internal temperatures of a PSU is shown. Specifically, graph 200 includes the actual measured internal temperature of the PSU, and individual graphs 202-210 each show a different EWMA moving average of the internal temperature of the PSU, where time t is shown in seconds on the x-axis. Each EWMA moving average has a predefined unique time constant τ, where τ of graph 210 is less than τ of graph 208, less than τ of graph 206, less than τ of graph 204, etc. Each EWMA moving average 202-210 also has an associated temperature target. When the EWMA average reaches its target, the control system will change to I_PSU_EWMA_LVL with an associated level, as illustrated by 212b, 212a, etc.
[0032] For example, at time 1000 seconds, the I_PSU_EWMA_LVL has been indicated as being at 212b because the EWMA average 206 has reached its threshold of 70C. Once the EWMA average of 204 reaches an EWMA average of 65C, the I_PSU_EWMA_LVL will switch to 212a. The period of operation at the I_PSU_EWMA_LVL of 212a may be as long as 1.5 hours, or until the EWMA average of 202 reaches 58C, at which point the I_PSU_EWMA_LVL will be lowered again.
[0033] Graph 220 also shows how the system can adaptively change the duration of the maximum allowed power level (i.e., I_PSU_EWMA_LVL) based on the PSU power load curve. For example, if the load seen at the PSU decreases due to a decrease in system power demand, as shown at time 3500 seconds, but then recovers again at 3800 seconds, then during that time period, each EWMA average has decreased by a different amount. Therefore, the time required to reach each target is again different, and the time allowed at a higher I_PSU_EWMA_LVL level is reduced. This is because the next lower EWMA threshold is reached earlier because the EWMA τ (τ) decays only for a shorter time and the EWMA is rebuilt up to each threshold. Figure 2 In the manner disclosed in the disclosure, adaptively changing the duration of the maximum allowed power level (ie, I_PSU_EWMA_LVL) according to the PSU power load curve alleviates overstressing of the PSU.
[0034] Figure 3 A PSU control system 300 is shown that adjusts output power based at least in part on an initial power level of the PSU. The PSU control system 300 may be implemented on a computing device 304. In the illustrated embodiment, the PSU control system 300 includes a communication link 320 that communicates between a PSU 302 and a communication interface 306 of the computing device 304. For example, the communication interface 306 may be a USB Type-C power delivery (USBC PD) controller or a Microsoft Surflink communication interface. The communication link 320 may be used to receive a PSU rating of the PSU 302. The PSU 302 may supply power to a charger 310 of the computing device 304. In one embodiment, a current sensing component 324a may sense a current output from the PSU 302, and a voltage sensor 324b may sense a voltage output from the PSU 302, wherein the sensed current and the sensed voltage may be used to determine a power output from the PSU 302, also referred to as a sensed output power of the PSU 302.
[0035] Specifically, the communication interface 306 can send the sensed output power of the PSU 302 to the embedded microcontroller 308. The embedded microcontroller 308 can be configured to implement one or more algorithms for averaging the sensed output power of the PSU 302 over different durations and dynamically generating a charger current limit 322. The charger current limit 322 can be communicated as an input to the charger 310, which provides current to the processor 314. For example, the processor 314 can be a CPU of the device 304, a dedicated GPU (DGPU) of the device 304, etc.
[0036] In addition, the embedded microcontroller 308 may also generate a limit threshold based at least in part on the sensed output power of the PSU and the timer, and communicate the limit threshold to a processor power software manager, such as the SMF 312. In one embodiment, the SMF 312 uses the limit threshold to generate performance parameters (such as system and component level power caps) for the processor 314, which can throttle the performance of the processor 314.
[0037] In one embodiment, the embedded microcontroller 308 may receive and store the sensed output power of the PSU 302 for various durations and generate a weighted moving average (WMA) of the sensed power of the PSU 302 for the various durations. For example, the embedded controller 308 may generate an EWMA of the sensed output power of the PSU 302 for rolling durations of 0.1 hours, 0.2 hours, 0.3 hours, 0.5 hours, 1 hour, 1.5 hours, etc. In one embodiment, the embedded microcontroller 308 may generate the WMA as an exponential WMA for the various durations using Equation II provided below:
[0038] EWMA t =EWMA t-1 +△t / τ*(I t -EWMA t-1 )
[0039] Here, EWMA t is the EWMA at time t, EWMA t-1 is the EWMA at time t-1, I t is the sensed output power of the PSU 302 received from the communication interface 306 for time t, Δt is the time elapsed between t-1 and t, and τ is a constant duration related to the average value. For example, τ may be 30 seconds, 60 seconds, 90 seconds, etc.
[0040] In addition, the embedded microcontroller 308 may also store a lookup table that stores EWMA output levels associated with various durations and power thresholds for the PSU 102. For example, if the calculated EWMA of the sensed output power of the PSU 302 for a Δt of 0.1 hours is higher than 1.5x PSU, then the EWMA output level may be 15. Similarly, if the calculated EWMA of the sensed output power of the PSU 302 for a Δt of 0.2 hours is higher than 1.4x PSU, then the EWMA output level may be 14. Such dynamic current limiting of the charger 110 allows the maximum power that can be applied to the processor 314 to be opportunistically or dynamically increased based at least in part on the sensed output power of the PSU 302. This provides the possibility of faster charging of the device 304 and allows performance improvements to be provided to the processor 314 and other peripherals (such as USB-C) of the device 304.
[0041] Lookup Table II, which may be stored in the memory of the embedded microcontroller 308 , shows an example relationship between the maximum duration Δt, the power threshold for EWMA sensing, and the EWMA output level that determines the PSU power threshold.
[0042] Lookup Table II
[0043]
[0044]
[0045] Specifically, lookup table II illustrates dynamically adjusting the PSU maximum power using calculations of various EWMAs based at least in part on the sensed output power of the PSU 302. Each EWMA has a uniquely designed time constant, referred to as tau (τ). During operation, individual separate EWMAs for various tau are associated with different PSU power limits. For example, an EWMA for a tau of 60 seconds corresponds to a PSU rating of 1.2. An EWMA for another tau of 30 seconds may correspond to a PSU rating of 1.15x.
[0046] Once one of the multiple simultaneously calculated EWMAs reaches the corresponding sensed power associated with the PSU rated power threshold, a target maximum flag is sent to the software or hardware control algorithm. Thus, for example, if the sensed power EWMA calculated for 60 seconds τ reaches 1.5x PSU, then such target maximum flag is sent to the software or hardware control algorithm. In response, the control algorithm slows down components in the platform, such as the CPU, DGPU, etc., to maintain the desired PSU rating, in this case 1.5x PSU rating. Subsequently, when any next sensed power EWMA, such as the EWMA for 30 seconds τ, reaches 1.3x PSU, another flag is sent to the control algorithm, and in response, the control algorithm further slows down components in the platform, such as the CPU, DGPU, etc., to maintain the desired PSU rating, in this case 1.3x PSU rating.
[0047] This embodiment allows a step-down approach to limiting PSU power ratings. Specifically, in order for a higher PSU power rating to be available again, it is necessary to operate at a lower power level (i.e., lower PSU temperature) for a period of time to allow the EWMA time to reduce its value. The disclosed embodiments allow higher PSU ratings to be dynamically used for applications like gaming, where higher PSU power ratings can be used with less component throttling to provide higher frames per second (FPS) rates than previous fixed PSU ratings, but still within duration-based limits at various PSU power ratings.
[0048] Figure 4 An example graph 400 of a PSU control method using sensed output power of a PSU disclosed herein is shown. Specifically, the graph 400 includes individual graphs 402-410, each of which shows the relationship between the calculated PSU output power EWMA and a defined time constant Tao (τ) (on the y-axis) and time t (on the x-axis). Each graph from 402 to 410 is designed with a time constant such that a maximum sustainable power level (I_PSU_EWMA_LVL) is established midway between two EWMA thresholds.
[0049] For example, according to graph 404, graph 404 measures its own EWMA with a defined tau (time constant) in parallel with other EWMA graphs. Once 404 the EWMA reaches the corresponding temperature threshold, the maximum sustained PSU power level (i.e., I_PSU_EWMA_LVL, e.g., 1.15x PSU) is allowed for up to 1.5 hours until 202 the EWMA reaches the next lower level threshold. If the calculated EWMA is above 70 watts, then the charger current limit ILIM1 is set such that the PSU power is 1.15x (on the right y-axis), as shown at 412a.
[0050] Similarly, according to graph 406, which measures an EWMA having its own tau (τ) and reaching a threshold temperature, I_PSU_EWMA_LVL is set to 412b and allowed a maximum continuous duration of 0.5 hours until the next EWMA reaches its threshold. Graphs 402, 408, and 410, respectively, illustrate that if the calculated EWMA of the sensed output power is high, then the charger current limit ILIM1 is set to 1.15x (on the right y-axis), as shown at 412a.
[0051] The graph 420 shows how the duration of the maximum allowed power level (i.e., I_PSU_EWMA_LVL) is adaptively changed according to the PSU power load curve. In the example, as the PSU load 412 decreases for such a short duration, soon the next higher PSU peak power is allowed for a shorter duration per I_PSU_EWMA_LVL threshold. This is because the next lower EWMA threshold is reached earlier because the EWMA τ (τ) decays only for a shorter time and the EWMA is rebuilt up to each threshold. Figure 4 In the manner disclosed in the disclosure, adaptively changing the duration of the maximum allowed power level (ie, I_PSU_EWMA_LVL) according to the PSU power load curve alleviates overstressing of the PSU.
[0052] Figure 5 An example graph 500 of the performance improvement achieved using the PSU control system disclosed herein is shown. Specifically, graph 500 shows the maximum power capability (PMAX) on the y-axis at various relative state of charge (RSOC) percentages for device batteries with and without the dynamic PSU system disclosed herein. For example, graph 502 shows the PMAX capability of a 3s2p Zeus New w / 95w PSU without the dynamic PSU disclosed herein, while graph 502a shows the PMAX capability of a 3s2p Zeus New w / 95w PSU with the dynamic PSU disclosed herein. As seen herein, for each value of RSOC%, the PMAX capability of the device with the dynamic PSU is higher.
[0053] Similarly, graph 504 shows the PMAX capability of a 3s2p Zeus Aged w / 95w PSU without the dynamic PSU disclosed herein, while graph 504a shows the PMAX capability of a 3s2p Zeus Aged w / 95w PSU with the dynamic PSU disclosed herein. As can be seen herein, for each value of RSOC%, the PMAX capability of the device with the dynamic PSU is higher.
[0054] Figure 6 Operations 600 of a PSU control system disclosed herein are shown. One or more operations 600 may be performed in an embedded controller of a computing device (such as Figure 1 Operation 602 receives the internal temperature of the PSU. Specifically, operation 602 may receive the internal temperature of the PSU for a duration on a continuous basis. Specifically, operation 602 continuously receives the internal temperature of the PSU at predetermined time intervals.
[0055] Operations 604 and 606 run in parallel to continuously determine the PSU temperature EWMA and determine whether any determined PSU temperature EWMA exceeds a threshold associated therewith. Thus, operation 604 continuously determines the EWMA of the internal temperature of the PSU for the duration. For example, operation 604 may use the above description of Figure 1 The EWMA is determined by using the disclosed equation 1. Specifically, operation 604 is configured to determine a plurality of EWMAs, each of which is associated with an average constant duration (referred to as τ). For example, operation 604 may determine an internal temperature EWMA of 60 seconds τ, an internal temperature EWMA of 30 seconds τ, and so on.
[0056] Operation 606, running in parallel with determination operation 604, determines whether any of the PSU temperature EWMAs exceeds a threshold value associated therewith. Such temperature thresholds may be stored in a lookup table in a memory of the computing device. For example, the temperature threshold associated with a τ of 60 seconds may be 80C, the temperature threshold associated with a τ of 30 seconds may be 70C, etc. If operation 606 determines that the calculated value of an EWMA of one of the plurality of EWMAs is above the temperature threshold value associated with its corresponding τ (τ), then operation 608 sets a target load maximum value flag. Alternatively, operation 608 may communicate the target load maximum value flag to a power software manager, such as SMF 112.
[0057] In addition, operation 610 limits PSU power provided to device components such as the CPU, DGPU, etc. For example, operation 610 limits PSU power by limiting the charger current to the charger, which provides power to the device components. In addition, based at least in part on receiving the target load maximum flag, at operation 612, the power software manager may slow down components in the computing device, such as the CPU, DGPU, etc., so as to maintain a desired PSU rating associated with Tao (τ). When the next EWMA, such as the EWMA of 30 seconds of τ, reaches its temperature threshold, which may be 70C, operations 606 to 612 may be repeated. Dynamic throttling of components based at least in part on the calculated PSU internal temperature EWMA allows for providing higher PSU ratings for applications such as gaming, while also allowing for gradual reductions to limit the PSU power rating.
[0058] Figure 7 700 of an alternative operation of a PSU control system disclosed herein. One or more operations 700 may be performed in an embedded controller of a computing device such as Figure 3 Operation 702 determines an initial condition of the PSU. For example, the initial condition may be a PSU internal temperature, a power capability of the PSU, etc. For example, operation 702 may determine a power output level of the PSU based at least in part on a PSU internal status report, the PSU internal status report being based on the PSU temperature.
[0059] Operations 704 and 706 run in parallel to continuously determine the PSU condition EWMA and determine whether any determined initial PSU condition EWMA exceeds a threshold associated therewith. Thus, operation 704 continuously determines the EWMA of the internal PSU condition for the duration. For example, operation 704 may use the above description of Figure 3 The EWMA is determined by using the disclosed equation II. Specifically, operation 704 is configured to determine a plurality of EWMAs, each of the plurality of EWMAs being associated with an average constant duration, referred to as τ. For example, operation 704 may determine an initial PSU condition EWMA of 60 seconds τ, an initial PSU condition EWMA of 30 seconds τ, and the like. In one embodiment, the initial PSU condition may be a power output level of the PSU based at least in part on a PSU internal status report based on the PSU temperature. For example, based on the temperature of the PSU, the PSU initial rating may be only 1.2x of 0.5 hours instead of 1.6x.
[0060] Operation 706, which runs in parallel with determination operation 704, determines whether any of the initial PSU condition EWMAs, such as the calculated value of the sensed output power EWMA, exceeds a threshold value associated therewith. Such initial PSU condition thresholds may be stored in a lookup table in a memory of the computing device. For example, if the initial PSU condition is the sensed output power, then the threshold value associated with τ of 60 seconds may be 1.5x PSU, the PSU threshold value associated with τ of 30 seconds may be 1.4x PSU, etc. If operation 706 determines that the calculated value of the EWMA of one of the plurality of EWMAs is above the initial PSU condition threshold value associated with its corresponding τ (τ), then operation 708 sets a target load maximum value flag. Alternatively, operation 708 may communicate the target load maximum value flag to a power software manager, such as a service management facility (SMF) 312.
[0061] In addition, operation 710 limits PSU power provided to device components such as a CPU, DGPU, etc. For example, operation 710 limits PSU power by limiting a charger current to a charger that provides power to the device components. In addition, based at least in part on receiving the target load maximum flag, at operation 712, the power software manager may slow down components in the computing device, such as a CPU, DGPU, etc., to maintain a desired PSU rating associated with τ (τ). Operations 706 to 712 may be repeated when the next EWMA (e.g., an EWMA lasting 30 seconds τ) reaches its dynamic PSU condition threshold (which may be 1.5x PSU) through the EWMA. Based at least in part on a calculated PSU condition EWMA, such as a sensed PSU output level, dynamic throttling of components allows for providing a higher PSU rating for applications such as gaming, while also allowing for a gradual reduction to limit the PSU power rating.
[0062] Figure 8 An example system 800 is shown that can be used to implement the battery pack control system disclosed herein. Figure 8 Example hardware and operating environments include computing devices such as computers 20, mobile phones, personal data assistants (PDAs), tablet computers, smart watches, game remote controls, or other types of general computing devices. Figure 8In the embodiment of the present invention, the computer 20 includes a processing unit 21, a system memory 22, and a system bus 23, which operably couples various system components including the system memory 22 to the processing unit 21. There may be only one or more than one processing unit 21, so that the processor of the computer 20 includes a single central processing unit (CPU) or multiple processing units, which is generally referred to as a parallel processing environment. The computer 20 can be a conventional computer, a distributed computer, or any other type of computer; the embodiment is not limited thereto.
[0063] In an example implementation of computing system 800, computer 20 also includes a PSU control system 810, such as a battery pack control system disclosed herein. PSU control system 810 can communicate with power supply 820 to control the power level provided by power supply 820.
[0064] The system bus 23 may be any of several types of bus structures including a memory bus or memory controller, a peripheral bus, a switching fabric, a point-to-point connection, and a local bus using any of a variety of bus architectures. The system memory 22 may also be referred to simply as memory, and includes a read-only memory (ROM) 24 and a random access memory (RAM) 25. A basic input / output system (BIOS) 26 is stored in the ROM 24 and contains the basic routines that help transfer information between elements within the computer 20, such as during startup. The computer 20 also includes a hard disk drive 27 for reading and writing to a hard disk (not shown), a magnetic disk drive 28 for reading and writing to a removable magnetic disk 29, and an optical disk drive 30 for reading and writing to a removable optical disk 31, such as a CD ROM, DVD, or other optical media.
[0065] The computer 20 may be used to implement the battery pack control system disclosed herein. In one embodiment, a frequency opening module including instructions for opening the frequency based at least in part on the sampled reflected modulation signal may be stored in a memory of the computer 20, such as a read only memory (ROM) 24 and a random access memory (RAM) 25.
[0066] In addition, instructions stored on the memory of the computer 20 may be used to use Figure 8 Similarly, instructions stored in the memory of the computer 20 can also be used to implement Figure 4 The memory of the computer 20 may also contain one or more instructions to implement the battery pack control system disclosed herein.
[0067] The hard disk drive 27, magnetic disk drive 28, and optical disk drive 30 are connected to the system bus 23 via a hard disk drive interface 32, a magnetic disk drive interface 33, and an optical drive interface 34, respectively. The drives and their associated tangible computer-readable media provide non-volatile storage of computer-readable instructions, data structures, program modules, and other data for the computer 20. Those skilled in the art will appreciate that any type of tangible computer-readable media may be used in the exemplary operating environment.
[0068] A number of program modules may be stored on the hard disk, magnetic disk 29, optical disk 31, ROM 24 or RAM 25, including an operating system 35, one or more application programs 36, other program modules 37 and program data 38. A user may generate reminders on the personal computer 20 through input devices such as a keyboard 40 and a pointing device 42. Other input devices (not shown) may include a microphone (e.g., for voice input), a camera (e.g., for a natural user interface (NUI)), a joystick, a game pad, a satellite dish, a scanner, etc. These and other input devices are typically connected to the processing unit 21 through a serial port interface 46 coupled to the system bus 23, but may also be connected through other interfaces, such as a parallel port, a game port or a universal serial bus (USB). A monitor 47 or other type of display device is also connected to the system bus 23 via an interface such as a video adapter 48. In addition to the monitor, the computer typically includes other peripheral output devices (not shown), such as speakers and printers.
[0069] The computer 20 can operate in a networked environment using logical connections to one or more remote computers, such as remote computer 49. These logical connections are implemented by a communication device coupled to or as part of the computer 20; the embodiments are not limited to a particular type of communication device. The remote computer 49 can be another computer, a server, a router, a network PC, a client, a peer device, or other common network node, and typically includes many or all of the elements described above with respect to the computer 20. Figure 8 The logical connections depicted include a local area network (LAN) 51 and a wide area network (WAN) 52. Such networking environments are commonplace in office networks, enterprise-wide computer networks, intranets and the Internet, which are all types of networks.
[0070] When used in a LAN networking environment, the computer 20 is connected to the local area network 51 through a network interface or adapter 53, which is a type of communication device. When used in a WAN networking environment, the computer 20 typically includes a modem 54, a network adapter, a type of communication device, or any other type of communication device for establishing communications via the wide area network 52. The modem 54 can be internal or external and is connected to the system bus 23 via the serial port interface 46. In a network environment, the program engine or portions thereof described relative to the personal computer 20 can be stored in a remote memory storage device. It should be understood that the network connections shown are examples and other means of communication devices for establishing a communication link between computers can be used.
[0071] In an exemplary embodiment, software or firmware instructions for the PSU control system 810 may be stored in the system memory 22 and / or the storage device 29 or 31 and processed by the processing unit 21. Battery pack control system schemes and data may be stored in the system memory 22 and / or the storage device 29 or 31 as permanent data storage.
[0072] In contrast to tangible computer-readable storage media, intangible computer-readable communication signals may embody computer-readable instructions, data structures, program modules, or other data residing in a modulated data signal, such as a carrier wave or other signal transmission mechanism. The term "modulated data signal" means a signal that has one or more of its characteristics set or changed in such a manner as to encode information in the signal. By way of example, and not limitation, intangible communication signals include wired media, such as a wired network or direct-wired connection, and wireless media, such as acoustic, RF, infrared and other wireless media.
[0073] Some embodiments of the battery pack control system may include an article of manufacture. The article of manufacture may include a tangible storage medium storing logic. Examples of storage media may include one or more types of computer-readable storage media capable of storing electronic data, including volatile memory or non-volatile memory, removable or non-removable memory, erasable or non-erasable memory, writable or rewritable memory, etc. Examples of logic may include various software elements, such as software components, programs, applications, computer programs, applications, system programs, machine programs, operating system software, middleware, firmware, software modules, routines, subroutines, functions, methods, processes, software interfaces, application program interfaces (APIs), instruction sets, computing codes, computer codes, code segments, computer code segments, words, values, symbols, or any combination thereof. For example, in one embodiment, an article of manufacture may store executable computer program instructions that, when executed by a computer, cause the computer to perform methods and / or operations according to the described embodiments. Executable computer program instructions may include any suitable type of code, such as source code, compiled code, interpreted code, executable code, static code, dynamic code, etc. Executable computer program instructions can be implemented according to a predefined computer language, method or syntax to instruct the computer to perform certain functions. Instructions can be implemented using any suitable high-level, low-level, object-oriented, visual, compiled and / or interpreted programming language.
[0074] The PSU control system disclosed herein may include various tangible computer-readable storage media and intangible computer-readable communication signals. Tangible computer-readable storage devices may be embodied by any available medium accessible by the battery pack control system disclosed herein, and include volatile and non-volatile storage media, removable and non-removable storage media. Tangible computer-readable storage media do not include intangible and temporary communication signals, and include volatile and non-volatile, removable and non-removable storage media implemented by any method or technology for storing information such as computer-readable instructions, data structures, program modules or other data. Tangible computer-readable storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CDROM, digital versatile disk (DVD) or other optical disk storage, cassettes, tapes, magnetic disk storage or other magnetic storage devices, or any other tangible medium that can be used to store the required information and can be accessed by the battery pack control system disclosed herein. Compared to tangible computer-readable storage media, intangible computer-readable communication signals may embody computer-readable instructions, data structures, program modules or other data residing in modulated data signals, such as carrier waves or other signal transmission mechanisms. The term "modulated data signal" means a signal that has one or more of its characteristics set or changed in such a manner as to encode information in the signal. By way of example, and not limitation, intangible communications signals include signals that move over a wired medium, such as a wired network or direct-wired connection, and signals that move over wireless media, such as acoustic, RF, infrared and other wireless media.
[0075] Embodiments disclosed herein provide an apparatus including a power supply unit (PSU) and a PSU control system stored in a memory and executable by one or more processor units, the PSU control system encoding computer executable instructions on the memory for executing a computer process on the one or more processor units, the computer process including: receiving an internal temperature of the PSU for a duration, determining a plurality of exponentially weighted moving averages (EWMAs) of the PSU internal temperature for the duration, comparing the EWMAs to a temperature threshold associated with the duration, and limiting the output power of the charger using a charger current limit input to the charger based at least in part on determining that the EWMA exceeds the temperature threshold associated with the duration. In an alternative embodiment of the technology disclosed herein, the computer process includes receiving an initial condition of the PSU, such as a sensed PSU power level for the duration, determining a plurality of EWMAs of the sensed PSU power level for the duration, comparing the EWMAs to a sensed power level threshold associated with the duration, and limiting the output power of the charger using a charger current limit input to the charger based at least in part on determining that the EWMA exceeds the sensed power level threshold associated with the duration.
[0076] An alternative embodiment discloses one or more physically manufactured computer-readable storage media encoding computer-executable instructions for executing a computer process on a computer system, the computer process including receiving an internal temperature of a PSU for a duration, determining a plurality of exponentially weighted moving averages (EWMAs) of the internal temperature of the PSU for the duration, comparing the EWMAs to a temperature threshold associated with the duration, and based at least in part on determining that the EWMAs exceed the temperature threshold associated with the duration, limiting the output power of the charger using a charger current limit input to the charger, and setting a target load maximum flag.
[0077] The method disclosed herein includes receiving an internal temperature of a PSU for a duration, determining a plurality of exponentially weighted moving averages (EWMAs) of the internal temperature of the PSU for the duration, comparing the EWMAs to a temperature threshold associated with the duration, and limiting an output power of the charger using a charger current limit input to the charger based at least in part on determining that the EWMA exceeds the temperature threshold associated with the duration, and setting a target load maximum flag.
[0078] The embodiments described herein are implemented as logical steps in one or more computer systems. Logical operations can be implemented as (1) a series of processor-implemented steps executed in one or more computer systems, and (2) interconnected machines or circuit modules within one or more computer systems. The implementation is a matter of choice, depending on the performance requirements of the computer system utilized. Therefore, the logical operations that constitute the embodiments described herein are variously referred to as operations, steps, objects, or modules. In addition, it should be understood that unless explicitly stated or a specific order is inherent to the claim language, the logical operations can be performed in any order. The above description, examples, and data, as well as the attached appendix, provide a complete description of the structure and use of exemplary embodiments.
Claims
1. A device, include: Memory; one or more processor units; Power supply unit (PSU); a PSU control system stored in the memory and executable by the one or more processor units, the PSU control system encoding computer executable instructions on the memory for executing a computer process on the one or more processor units, the computer process comprising: receiving an internal temperature of the PSU over a duration; determining a plurality of exponentially weighted moving averages (EWMAs) of the internal temperature of the PSU for the duration; comparing the EWMA to a temperature threshold associated with the duration; and Based at least in part on determining that the EWMA exceeds the temperature threshold associated with the duration, limiting output power of the charger using a charger current limit input to the charger.
2. The apparatus of claim 1 , wherein determining the exponentially weighted moving average (EWMA) of the internal temperature of the PSU for the duration further comprises: include: An exponentially weighted moving average (EWMA) of the internal temperature of the PSU for the duration is determined.
3. The apparatus of claim 2, wherein the computer executable instructions further include: A plurality of EWMAs of the internal temperature of the PSU for a plurality of durations are determined.
4. The apparatus of claim 3, wherein the computer executable instructions further include: A temperature threshold lookup table is stored in the memory, the temperature threshold lookup table including a plurality of EWMA thresholds and a plurality of charger current limits, each charger current limit of the plurality of charger current limits being associated with a combination of one of the plurality of durations and one of the plurality of EWMA thresholds.
5. The apparatus of claim 2, wherein the computer executable instructions further include: setting a target load maximum flag based at least in part on determining that the EWMA exceeds a temperature threshold associated with the duration; as well as Slowing down the operation of one or more components of the device.
6. The apparatus of claim 1, wherein the computer executable instructions further include: determining an initial PSU power level at startup of the device; as well as The charger current limit input to the charger is determined based at least in part on the initial PSU power level at the startup of the device.
7. A method, include: receiving an internal temperature of a power supply unit (PSU) over a duration; determining an exponentially weighted moving average (EWMA) of the internal temperature of the PSU for the duration; comparing the EWMA to a temperature threshold associated with the duration; as well as Based at least in part on determining that the EWMA exceeds the temperature threshold associated with the duration, limiting output power of the charger using a charger current limit input to the charger.
8. The method of claim 7, wherein determining the exponentially weighted moving average (EWMA) of the internal temperature of the PSU for the duration further comprises: include: An exponentially weighted moving average (EWMA) of the internal temperature of the PSU for the duration is determined.
9. The method according to claim 8, further comprising: include: A plurality of EWMAs of the internal temperature of the PSU for a plurality of durations are determined.
10. The method according to claim 9, further comprising: include: A temperature threshold lookup table is stored in the memory, the temperature threshold lookup table including a plurality of EWMA thresholds and a plurality of charger current limits, each charger current limit of the plurality of charger current limits being associated with a combination of one of the plurality of durations and one of the plurality of EWMA thresholds.
11. The method according to claim 9, further comprising: include: determining an initial PSU power level at startup of the device; as well as The charger current limit input to the charger is determined based at least in part on the initial PSU power level at the startup of the device.
12. The method of claim 11, wherein determining the initial PSU power level at the start-up of the device further comprises: include: A PSU input current is received from a current sensor and the PSU input current is multiplied by the PSU voltage level.
13. One or more physically manufactured computer-readable storage media encoding computer-readable instructions for executing a computer process on a computer system, the computer process include: receiving an internal temperature of the PSU over a duration; determining an exponentially weighted moving average (EWMA) of the internal temperature of the PSU for the duration; comparing the EWMA to a temperature threshold associated with the duration; as well as Based at least in part on determining that the EWMA exceeds the temperature threshold associated with the duration, limiting the output power of the charger using a charger current limit input to the charger and setting a target load maximum flag.
14. The one or more computer-readable storage media of claim 13, wherein determining the exponentially weighted moving average (EWMA) of the internal temperature of the PSU for the time period further comprises: include: An exponentially weighted moving average (EWMA) of the internal temperature of the PSU for the duration is determined.
15. The one or more physically manufactured computer-readable storage media of claim 13, wherein the computer-executable instructions further include: A plurality of EWMAs of the internal temperature of the PSU for a plurality of durations are determined.
