Charging efficiency optimization method and system based on W algorithm
By constructing a charging state-temperature influence topology graph and using the W algorithm, the charging power is adjusted in real time, solving the dynamic balance problem between safety and efficiency during extreme charging, reducing the risk of overheating, improving charging safety and efficiency, and extending battery life.
Patent Information
- Application Number
- CN202511534600.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-10-27
- Publication Date
- 2025-11-25
- Estimated Expiration
- 2045-10-27
AI Technical Summary
Existing high-speed charging technology cannot dynamically balance safety and efficiency during the charging process, resulting in the risk of battery overheating and the underutilization of charging potential, especially as the battery ages.
By constructing a charging state-temperature influence topology graph and combining it with the W algorithm, multi-dimensional data is collected in real time, charging power is dynamically adjusted, a dynamic safety temperature threshold is introduced, and weighting coefficients are corrected to optimize charging power.
It achieves a dynamic balance between safety and efficiency under different battery conditions, reduces the risk of overheating, improves charging safety and efficiency, and extends battery life.
Smart Images

Figure CN121012173A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of mobile phone charging efficiency optimization technology, and in particular to a charging efficiency optimization method and a charging efficiency optimization system based on the W algorithm. Background Technology
[0002] As smartphone functions become increasingly sophisticated, users' demands for longer battery life and faster charging speeds are rising, leading to the emergence of high-speed charging technology. By significantly reducing charging time through increased charging power, high-speed charging has become one of the core competitive advantages of current smartphones. However, during the rapid development of high-speed charging technology, a series of technical pain points have gradually emerged, seriously affecting user experience and battery safety.
[0003] During extreme charging, the high input power generates a significant amount of heat inside the battery. If this heat cannot be dissipated quickly, the battery temperature will rise rapidly. Traditional charging control schemes often adjust power based on fixed temperature thresholds, considering only the battery's own temperature without considering the overall operating status of the phone, thus failing to achieve a dynamic balance between safety and efficiency. Furthermore, users may run background programs during extreme charging, consuming memory and CPU resources and generating additional heat. This makes it difficult for the extreme charging system to accurately determine the cause of the temperature rise, resulting in ineffective power regulation. Simultaneously, as the number of battery cycles increases, the battery's high-temperature resistance gradually decreases. The static safe temperature threshold originally suitable for new batteries is no longer safe for older batteries after multiple cycles, leading to a higher risk of overheating during extreme charging for older batteries. This also prevents new batteries from fully utilizing their charging potential, reducing the safety and efficiency of the extreme charging process. Summary of the Invention
[0004] This invention provides a charging efficiency optimization method and system based on the W algorithm to address the shortcomings of low safety and efficiency in the extreme charging process in existing technologies.
[0005] On the one hand, this invention provides a charging efficiency optimization method based on the W algorithm, including: Collect historical data and real-time operating parameters of mobile phone charging, and use a multi-dimensional data association model to construct a charging state-temperature influence topology diagram.
[0006] Based on the charging state-temperature influence topology diagram and combined with the battery safety temperature threshold, a dynamic charging power regulation model is constructed using the W algorithm.
[0007] Real-time collection of dynamic data during the phone's extreme charging process, including battery temperature change rate, memory usage fluctuation value, and background program addition and closure status, is input into the charging power dynamic control model to generate the initial extreme charging power command.
[0008] The battery temperature deviation and charging efficiency deviation are monitored after the initial extreme charging power command is executed. The battery temperature deviation is the difference between the actual temperature and the safety threshold, and the charging efficiency deviation is the difference between the actual charging speed and the theoretical optimal speed. Based on the deviation value, the weight coefficients in the W algorithm are corrected to generate a dynamically adjusted extreme charging power control command.
[0009] Execute the charging power control command until the phone battery is fully charged or the user terminates the charging process.
[0010] According to the charging efficiency optimization method based on the W algorithm provided by the present invention, the historical data of the Extreme Charge includes charging power curves and battery degradation rate records under different temperature ranges, and the real-time operating parameters include real-time battery temperature, memory usage of background programs, and CPU load rate.
[0011] According to the charging efficiency optimization method based on the W algorithm provided by the present invention, the process of constructing the charging state-temperature influence topology diagram includes: Data preprocessing is performed on historical data of mobile phone charging to remove outliers and extract four-dimensional features from the valid data: charging power, battery temperature, memory usage, and CPU load, to construct a feature matrix.
[0012] Define the temperature influence correlation tensor and calculate the first-order correlation strength between any two features. The first-order correlation strength represents the weighted fusion of the linear correlation coefficient and mutual information value between the features.
[0013] The multi-level association relationship is extended, and topological edge weights are generated through tensor decomposition. The edge weights represent the degree of influence of multiple features on battery temperature.
[0014] Remove connection edges whose topological edge weights are below a preset threshold to obtain a charging state-temperature influence topology graph. In the graph, nodes represent charging state features and temperature, and edges represent the correlation and influence relationships between features.
[0015] According to the charging efficiency optimization method based on the W algorithm provided by the present invention, the battery safety temperature threshold includes a dynamic threshold and a static threshold. The static threshold is the maximum safe temperature set by the battery manufacturer, and the dynamic threshold is corrected based on the number of battery cycles.
[0016] According to the charging efficiency optimization method based on the W algorithm provided by the present invention, the process of constructing a dynamic charging power control model using the W algorithm includes: The objective function of the W algorithm is defined as maximizing charging power while keeping the temperature within the safe threshold.
[0017] The core parameters of the W algorithm were determined, including the temperature sensitivity coefficient, memory usage interference coefficient, and background program heat loss coefficient. Each coefficient was obtained through regression analysis of historical data.
[0018] A charging power calculation model is constructed based on the core parameters, and parameter coupling is achieved based on the W algorithm.
[0019] According to the charging efficiency optimization method based on the W algorithm provided by the present invention, the process of real-time acquisition of dynamic data during the mobile phone's extreme charging process includes: Dynamic data includes battery temperature, memory usage, and background program status.
[0020] Battery temperature is collected by a battery thermistor, and the moving average of multiple consecutive collected values is calculated.
[0021] The memory usage rate is obtained through the system memory management interface, which is the ratio of used memory to total memory. The maximum value of multiple consecutive data collections is then calculated.
[0022] The background program status is identified through the application management interface, including newly added and closed background programs. The changes in the number of programs are counted, and heat loss weights are assigned according to program type to generate the heat loss increment of background programs.
[0023] According to the charging efficiency optimization method based on the W algorithm provided by the present invention, the process of monitoring battery temperature deviation and charging efficiency deviation includes: Calculate battery temperature deviation The formula is: In the formula, This is the sliding average of the battery temperature. It has a dynamic safety temperature threshold and adjusts the power according to the battery temperature deviation.
[0024] Calculate charging efficiency deviation The formula is: In the formula, Theoretical charging efficiency, This represents the actual charging efficiency.
[0025] When the battery temperature deviation or charging efficiency deviation exceeds the corresponding preset threshold, the weight coefficients in the W algorithm are corrected.
[0026] According to the charging efficiency optimization method based on the W algorithm provided by the present invention, the process of correcting the weight coefficients in the W algorithm includes: Correction factors are constructed based on battery temperature deviation and charging efficiency deviation. The formula is: In the formula, e is a coefficient measuring the influence of battery temperature deviation on the correction factor, f is a coefficient measuring the influence of charging efficiency deviation on the correction factor, and g is the maximum acceptable efficiency deviation. This is a dynamic safety temperature threshold.
[0027] Corrected temperature sensitivity coefficient The formula is: In the formula, This is the corrected temperature sensitivity coefficient.
[0028] Correct memory usage interference factor Heat loss coefficient of background program The formula is: In the formula, h is the correction coefficient.
[0029] According to the charging efficiency optimization method based on the W algorithm provided by the present invention, the process of generating dynamically adjusted extreme charging power control commands includes: The optimal charging power is recalculated based on the corrected W algorithm parameters.
[0030] Set power adjustment step size limit, generate control instructions, including target power value and adjustment duration, and send the instructions through the mobile phone charging management chip interface.
[0031] On the other hand, the present invention also provides a charging efficiency optimization system based on the W algorithm, comprising: The topology building module is used to collect historical charging data and real-time operating parameters of mobile phones, and to build a charging state-temperature influence topology diagram using a multi-dimensional data association model.
[0032] The model calculation module is used to construct a dynamic charging power control model based on the charging state-temperature influence topology diagram and the battery safety temperature threshold, using the W algorithm.
[0033] The instruction generation module is used to collect dynamic data in real time during the phone's extreme charging process. The dynamic data includes battery temperature change rate, memory usage fluctuation value, background program addition and closing status, which are input into the charging power dynamic control model to generate the initial extreme charging power instruction.
[0034] The deviation correction module is used to monitor the battery temperature deviation and charging efficiency deviation after the initial extreme charging power command is executed. The battery temperature deviation is the difference between the actual temperature and the safety threshold, and the charging efficiency deviation is the difference between the actual charging speed and the theoretical optimal speed. Based on the deviation value, the weight coefficients in the W algorithm are corrected to generate dynamically adjusted extreme charging power control commands.
[0035] The instruction execution module is used to execute the extreme charging power control instructions until the mobile phone battery is fully charged or the user terminates the extreme charging process.
[0036] The charging efficiency optimization method and system based on the W algorithm provided by this invention constructs a charging state-temperature influence topology graph, and performs correlation analysis on multi-dimensional parameters such as battery temperature, charging power, memory occupancy, and CPU load to accurately identify the causes of temperature changes. Simultaneously, the solution introduces a dynamic safety temperature threshold, which is corrected based on the battery cycle count, ensuring that the safety threshold matches the battery degradation state. New batteries can achieve their maximum charging potential within a more reasonable temperature range, while older batteries also receive appropriate safety protection, effectively reducing the overheating risk of batteries in different states during extreme charging and fundamentally improving extreme charging safety.
[0037] The W algorithm constructs a multi-parameter coupled dynamic charging power control model through weighted calculations of temperature sensitivity coefficient, memory usage interference coefficient, and background program heat loss coefficient. While ensuring the temperature does not exceed a safe threshold, it can accurately calculate the optimal charging power, avoiding excessive power reduction caused by background program operation and memory usage, while maximizing charging power within a controllable temperature range. By collecting dynamic data in real time, such as battery temperature change rate, memory usage fluctuation value, and the addition and closing status of background programs, and triggering a weight coefficient correction mechanism based on deviation monitoring, the W algorithm can quickly respond to changes in the phone's operating status. When memory usage suddenly increases or the addition of background programs causes additional heat generation, the algorithm adjusts the core coefficients through correction factors to optimize power commands in a timely manner, avoiding control lag. Simultaneously, the power adjustment step size limit ensures smooth power changes, preventing temperature fluctuations due to sudden changes, thus balancing real-time control and system stability. Attached Figure Description
[0038] To more clearly illustrate the technical solutions in this invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0039] Figure 1 This is a flowchart illustrating the charging efficiency optimization method based on the W algorithm provided in an embodiment of the present invention. Figure 2 This is a schematic diagram of the charging efficiency optimization system based on the W algorithm provided in an embodiment of the present invention. Detailed Implementation
[0040] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this invention. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without creative effort are within the scope of protection of this invention.
[0041] The following is combined Figures 1-2 This invention describes a charging efficiency optimization method and system based on the W algorithm.
[0042] Figure 1 This is a flowchart illustrating the charging efficiency optimization method based on the W algorithm provided in this embodiment of the invention.
[0043] like Figure 1 As shown, the charging efficiency optimization method and system based on the W algorithm provided in this embodiment of the invention can be executed by a charging efficiency optimization method based on the W algorithm, the method including: Collect historical data and real-time operating parameters of mobile phone charging, and use a multi-dimensional data association model to construct a charging state-temperature influence topology diagram.
[0044] Extreme Charge's historical data includes charging power curves and battery degradation rate records under different temperature ranges. Real-time operating parameters include real-time battery temperature, background program memory usage, and CPU load rate.
[0045] Extreme Charge historical data is collected through multiple channels, including mobile phone system background logs, charging management chip records, and laboratory simulation tests, under different usage scenarios. This includes charging power curves and battery degradation rate records at different temperature ranges. Specifically, the charging power curve needs to record continuous data on the change of charging power over time at different ambient temperatures (e.g., low temperature, normal temperature, high temperature) and different remaining battery capacity (e.g., 10%-20%, 50%-60%, 80%-90%).
[0046] Real-time operating parameters are acquired through the phone's built-in sensors and system interface to obtain key operating parameters during the ultra-charging process, including real-time battery temperature, background program memory usage, and CPU load rate. Real-time battery temperature is collected by an integrated thermistor inside the battery. This thermistor must be in close contact with the battery cell to ensure accurate reflection of the cell's actual temperature. For example, placing the thermistor in the center of the battery cell can minimize temperature measurement errors. Background program memory usage is obtained through the system memory management interface. The total memory usage of all currently running background programs (including system processes and third-party application processes) is calculated and compared to the phone's total memory capacity. It's also important to differentiate the memory usage characteristics of different types of programs; for example, large games often consume more memory in the background. CPU load rate is collected through the system process management interface to monitor the CPU's task processing ratio per unit time in real time, preventing excessive heat generated by high CPU load from affecting the ultra-charging process.
[0047] The process of constructing the charging state-temperature effect topology graph includes: Data preprocessing was performed on historical charging data of the mobile phone to remove outliers and extract four dimensions of features from the valid data: charging power, battery temperature, memory usage, and CPU load. A feature matrix F was then constructed. In the formula, The number of valid historical data samples, Let i be the charging power of the i-th sample. Let be the battery temperature of the i-th sample. Let be the memory usage of the i-th sample. Let be the CPU load of the i-th sample.
[0048] Define the temperature effect correlation tensor Let k be the maximum association order. The first-order association strength between any two features is calculated. The first-order association strength represents the weighted fusion of the linear correlation coefficient and mutual information value between the features, as shown in the formula: In the formula, These are the weighting coefficients. Features and Pearson correlation coefficient, Features and mutual information value, , These represent any two of the following characteristics: charging power, battery temperature, memory usage, and CPU load.
[0049] The linear correlation coefficient is calculated using the Pearson correlation coefficient, which measures the degree of linear correlation between two features. The value ranges from -1 to 1. The closer the absolute value is to 1, the stronger the linear correlation. For example, charging power and battery temperature may show a strong positive linear correlation within a certain range. The mutual information value is used to measure the degree of information sharing between two features. The larger the value, the closer the association between the two features.
[0050] Extending the multi-order correlation, topological edge weights are generated through tensor decomposition. These edge weights represent the degree of influence of multiple features on battery temperature, as shown in the formula: In the formula, Features and Topological edge weights between For each element of the m-th order correlation tensor, ×3 represents the product of the tensor along the third dimension. Let m be the eigenvector of the m-th order association. It is the Frobenius norm.
[0051] When charging power, memory usage, and CPU load all change simultaneously, their combined impact on battery temperature needs to be analyzed using tensor decomposition to determine multi-level relationships. Tensor decomposition breaks down a high-dimensional correlation tensor into multiple low-dimensional matrices and vectors. Topological edge weights are generated by calculating the product and norm of the decomposed elements. The magnitude of the edge weight represents the degree of influence of the corresponding feature combination on battery temperature; a larger weight indicates a more significant contribution of that feature combination to battery temperature changes during extreme charging. By comparing the edge weights of different feature combinations, it is possible to determine which feature combinations are the key factors affecting battery temperature.
[0052] Remove connection edges whose topological edge weights are below a preset threshold to obtain a charging state-temperature influence topology graph. In the graph, nodes represent charging state features and temperature, and edges represent the correlation and influence relationships between features.
[0053] Based on the charging state-temperature influence topology diagram and combined with the battery safety temperature threshold, a dynamic charging power control model is constructed using the W algorithm. The W algorithm achieves power optimization decision through weighted calculation of temperature sensitivity coefficient, memory usage interference coefficient, and background program heat loss coefficient.
[0054] Battery safety temperature thresholds include dynamic thresholds and static thresholds. The static threshold is the maximum safe temperature set by the battery manufacturer, while the dynamic threshold is adjusted based on the number of battery cycles, using the following formula: In the formula, For dynamic safety temperature threshold, This is the static safety temperature threshold. Here, N is the degradation coefficient, and N is the number of battery cycles.
[0055] The process of constructing a dynamic charging power control model using the W algorithm includes: Under the premise that the temperature does not exceed the safety threshold, maximizing the charging power is defined as the objective function of the W algorithm, and the objective function formula is: In the formula, Let be the charging power at time t. Let be the battery temperature at time t. Let be the memory usage at time t. Let be the CPU load at time t. To set a safe upper limit for memory usage, This is the safe upper limit for CPU load.
[0056] The core parameters of the W algorithm were determined, including the temperature sensitivity coefficient, memory usage interference coefficient, and background program heat loss coefficient. These coefficients were obtained through regression analysis of historical data, and the formulas are as follows: In the formula, This represents the temperature sensitivity coefficient, which indicates how sensitive the power is to temperature when the temperature reaches a safe threshold. This represents the partial derivative of charging power with respect to temperature when the temperature reaches a safe threshold, reflecting the degree to which temperature changes affect the power at this point.
[0057] In the formula, This is the memory usage coefficient. It is an exponential function of memory usage. This represents the interference coefficient of memory usage, which is the interference coefficient of memory usage on power. It increases as the memory usage rate increases.
[0058] In the formula, c is the CPU load factor. It is an exponential function of CPU load. This represents the heat loss coefficient of the background program, which is the power loss coefficient of the CPU load. It increases as the CPU load increases.
[0059] A charging power calculation model is constructed, and parameter coupling is achieved based on the W algorithm. The formula is as follows: In the formula, Let be the optimal charging power at time t. This refers to the maximum charging power supported by the phone. Target charging temperature, Let t be the battery temperature at time t.
[0060] Real-time collection of dynamic data during the phone's extreme charging process, including battery temperature change rate, memory usage fluctuation value, and background program addition and closure status, is input into the charging power dynamic control model to generate the initial extreme charging power command.
[0061] The process of collecting dynamic data in real time during the phone's extreme charging process includes: Dynamic data includes battery temperature, memory usage, and background program status.
[0062] Battery temperature is collected using a battery thermistor, and the moving average of multiple consecutive collected values is calculated. The formula is: In the formula, s is the size of the moving average window, and s is the index variable for the summation operation.
[0063] Memory usage is obtained through the system memory management interface as the ratio of used memory to total memory, and the maximum value of multiple consecutive data collections is calculated. The formula is: In the formula, Calculate the window size for the maximum value.
[0064] Background application status is identified through the application management interface, which also tracks newly added and closed background applications and tracks changes in the number of applications. It assigns heat loss weights based on program type and generates background program heat loss increments. The formula is: In the formula, Let be the heat loss weight of the i-th program.
[0065] The battery temperature deviation and charging efficiency deviation are monitored after the initial extreme charging power command is executed. The battery temperature deviation is the difference between the actual temperature and the safety threshold, and the charging efficiency deviation is the difference between the actual charging speed and the theoretical optimal speed. Based on the deviation value, the weight coefficients in the W algorithm are corrected to generate a dynamically adjusted extreme charging power control command.
[0066] The process of monitoring battery temperature deviation and charging efficiency deviation includes: Calculate battery temperature deviation The formula is: In the formula, This is a dynamic safety temperature threshold.
[0067] And adjust the power according to the battery temperature deviation, including: when This indicates that the temperature has exceeded the threshold and the power needs to be reduced.
[0068] when At that time, the power increase range is adjusted according to the absolute value of the deviation.
[0069] Calculate charging efficiency deviation The formula is: In the formula, Theoretical charging efficiency, U is the battery voltage. The theoretical charging current, Let be the optimal charging power at time t. For actual charging efficiency, This is the actual charging current. This is the total power input for the mobile phone.
[0070] When the battery temperature deviates Or charging efficiency deviation When the corresponding preset threshold is exceeded, the weight coefficients in the W algorithm are corrected.
[0071] The process of correcting the weight coefficients in the W algorithm includes: Based on battery temperature deviation Deviation from charging efficiency Constructing correction factors The formula is: In the formula, e is a coefficient measuring the influence of battery temperature deviation on the correction factor, f is a coefficient measuring the influence of charging efficiency deviation on the correction factor, and g is the maximum acceptable efficiency deviation. This is a dynamic safety temperature threshold.
[0072] Corrected temperature sensitivity coefficient The formula is: In the formula, This is the corrected temperature sensitivity coefficient. When the temperature exceeds the threshold, the sensitivity is increased, resulting in a greater reduction in power.
[0073] Correct memory usage interference factor Heat loss coefficient of background program The formula is: In the formula, h is a correction coefficient that enhances the power regulation response to memory and CPU load.
[0074] The process of generating dynamically adjusted extreme charge power control commands includes: The optimal charging power was recalculated based on the corrected W algorithm parameters. .
[0075] Set a power adjustment step size limit to avoid temperature fluctuations caused by sudden power changes. The step size formula is: In the formula, i is the step size coefficient, which means that the single power adjustment range does not exceed the corresponding proportion of the maximum charging power.
[0076] The system generates control commands, including target power values and adjustment durations, and sends these commands through the mobile phone charging management chip interface. It also records temperature and efficiency data before and after command execution for future deviation correction.
[0077] The extreme charging power control command is executed until the mobile phone battery is fully charged or the user terminates the extreme charging process.
[0078] After generating a dynamically adjusted high-power charging control command, the command is first structured and parsed to extract key parameters such as the target power value, adjustment duration, and execution priority. The target power value specifies the charging power level to be achieved at the current moment, the adjustment duration defines the time range for the power to transition from the current value to the target value, and the execution priority determines the urgency of the command based on the severity of battery temperature and charging efficiency deviations (e.g., commands for exceeding temperature thresholds have higher priority than regular efficiency optimization commands). After parsing, the command is sent through the phone's built-in charging management chip interface. This interface, acting as the hardware control center, converts the power control signal into an electrical signal recognizable by the charging chip. On one hand, it adjusts the voltage regulation and current control modules within the charging chip to match the corresponding input voltage and current combination according to the target power value. On the other hand, it simultaneously sends a coordination signal to the battery protection board to ensure the battery protection board is in real-time monitoring mode. If overvoltage, overcurrent, or other abnormalities occur during charging, hardware-level protection can be triggered immediately to avoid safety risks during command execution.
[0079] In summary, this embodiment provides a charging efficiency optimization method based on the W algorithm. By constructing a charging state-temperature influence topology graph, it performs correlation analysis on multi-dimensional parameters such as battery temperature, charging power, memory usage, and CPU load, accurately identifying the causes of temperature changes. Simultaneously, the solution introduces a dynamic safety temperature threshold, adjusted based on the battery cycle count, to match the safety threshold with the battery degradation state. This allows new batteries to achieve their maximum charging potential within a more reasonable temperature range, while older batteries receive appropriate safety protection, effectively reducing the overheating risk of batteries in different states during extreme charging and fundamentally improving extreme charging safety.
[0080] The W algorithm constructs a multi-parameter coupled dynamic charging power control model by weighting the temperature sensitivity coefficient, memory usage interference coefficient, and background program heat loss coefficient. While ensuring the temperature does not exceed a safe threshold, it can accurately calculate the optimal charging power, avoiding excessive power reduction due to background program operation and memory usage, and maximizing charging power within a controllable temperature range. For example, when the background program generates only slight additional heat, the algorithm only fine-tunes the power instead of drastically reducing it, effectively maintaining charging efficiency, shortening the overall charging time, and significantly optimizing the user's fast charging experience.
[0081] By collecting dynamic data in real time, such as battery temperature change rate, memory usage fluctuation, and the status of background programs being added and closed, and triggering a weight coefficient correction mechanism based on deviation monitoring, the W algorithm can quickly respond to changes in the phone's operating status. When memory usage suddenly increases or the addition of background programs causes additional heat generation, the algorithm adjusts the core coefficient through a correction factor to optimize power commands in a timely manner and avoid control lag. At the same time, the power adjustment step size limit ensures smooth power changes and prevents temperature fluctuations due to sudden changes, balancing the real-time nature of control with system stability.
[0082] Traditional solutions, due to inaccurate temperature control and fixed safety thresholds, can easily subject batteries to unnecessary high-temperature stress during extreme charging, accelerating battery degradation. This solution, through precise temperature control and dynamic threshold correction, ensures the battery is always charged within an appropriate temperature and power range, avoiding battery damage caused by overheating or improper power surges. Simultaneously, the solution's monitoring of charging efficiency deviations can promptly detect abnormal losses in the charging system, reducing ineffective energy consumption by correcting algorithm parameters, further reducing the additional burden on the battery, effectively extending battery life, and reducing the cost and hassle of battery replacement for users.
[0083] Based on the same general inventive concept, this invention also protects a charging efficiency optimization system based on the W algorithm. The charging efficiency optimization system based on the W algorithm provided by this invention will be described below. The charging efficiency optimization system based on the W algorithm described below can be referred to in correspondence with the charging efficiency optimization method based on the W algorithm described above.
[0084] Figure 2 This is a schematic diagram of the charging efficiency optimization system based on the W algorithm provided in an embodiment of the present invention.
[0085] like Figure 2 As shown, the charging efficiency optimization system based on the W algorithm includes a memory, a processor, and a computer program stored in the memory and capable of running on the processor. The processor includes a topology construction module, a model calculation module, an instruction generation module, a deviation correction module, and an instruction execution module.
[0086] The topology building module is used to collect historical data and real-time operating parameters of mobile phone charging, and to build a charging state-temperature influence topology diagram using a multi-dimensional data association model.
[0087] The model calculation module is used to construct a dynamic charging power control model based on the charging state-temperature influence topology map and the battery safety temperature threshold, using the W algorithm. The W algorithm achieves power optimization decision through weighted calculation of temperature sensitivity coefficient, memory usage interference coefficient, and background program heat loss coefficient.
[0088] The instruction generation module is used to collect dynamic data in real time during the mobile phone's extreme charging process. The dynamic data includes battery temperature change rate, memory usage fluctuation value, background program addition and closing status, which are input into the charging power dynamic control model to generate the initial extreme charging power instruction.
[0089] The deviation correction module is used to monitor the battery temperature deviation and charging efficiency deviation after the initial extreme charging power command is executed. The battery temperature deviation is the difference between the actual temperature and the safety threshold, and the charging efficiency deviation is the difference between the actual charging speed and the theoretical optimal speed. Based on the deviation value, the weight coefficients in the W algorithm are corrected to generate a dynamically adjusted extreme charging power control command.
[0090] The instruction execution module is used to execute the extreme charging power control instruction until the mobile phone battery is fully charged or the user terminates the extreme charging process.
[0091] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.
[0092] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A charging efficiency optimization method based on the W algorithm, characterized in that, include: Collect historical data and real-time operating parameters of mobile phone charging, and use a multi-dimensional data association model to construct a topology diagram of the influence of charging status and temperature. Based on the charging state-temperature influence topology diagram and combined with the battery safety temperature threshold, a dynamic charging power control model is constructed using the W algorithm. Real-time collection of dynamic data during the mobile phone's extreme charging process, including battery temperature change rate, memory usage fluctuation value, and background program addition and closing status, is input into the charging power dynamic control model to generate an initial extreme charging power command; The battery temperature deviation and charging efficiency deviation are monitored after the initial extreme charging power command is executed. The battery temperature deviation is the difference between the actual temperature and the safety threshold, and the charging efficiency deviation is the difference between the actual charging speed and the theoretical optimal speed. Based on the deviation value, the weight coefficient in the W algorithm is corrected to generate a dynamically adjusted extreme charging power control command. The extreme charging power control command is executed until the mobile phone battery is fully charged or the user terminates the extreme charging process.
2. The charging efficiency optimization method based on the W algorithm according to claim 1, characterized in that, The historical data of the Extreme Charge includes charging power curves and battery degradation rate records under different temperature ranges. The real-time operating parameters include real-time battery temperature, memory usage of background programs, and CPU load rate.
3. The charging efficiency optimization method based on the W algorithm according to claim 1, characterized in that, The process of constructing the charging state-temperature effect topology graph includes: The historical data of mobile phone charging is preprocessed to remove outliers and extract four-dimensional features from the valid data, namely charging power, battery temperature, memory usage, and CPU load, and a feature matrix is constructed. Define a temperature-affected correlation tensor and calculate the first-order correlation strength between any two features. The first-order correlation strength represents the weighted fusion of the linear correlation coefficient and mutual information value between the features. The multi-order correlation is extended, and topological edge weights are generated through tensor decomposition. The edge weights represent the degree of influence of multi-feature collaboration on battery temperature. Remove connection edges whose topological edge weights are below a preset threshold to obtain a charging state-temperature influence topology graph. In the graph, nodes represent charging state features and temperature, and edges represent the correlation and influence relationships between features.
4. The charging efficiency optimization method based on the W algorithm according to claim 1, characterized in that, The battery safety temperature threshold includes a dynamic threshold and a static threshold. The static threshold is the maximum safe temperature set by the battery manufacturer, while the dynamic threshold is adjusted based on the number of battery cycles.
5. The charging efficiency optimization method based on the W algorithm according to claim 1, characterized in that, The process of constructing a dynamic charging power control model using the W algorithm includes: The objective function of the W algorithm is defined as maximizing charging power while keeping the temperature within the safe threshold. The core parameters of the W algorithm were determined, including the temperature sensitivity coefficient, memory usage interference coefficient, and background program heat loss coefficient. Each coefficient was obtained through regression analysis of historical data. A charging power calculation model is constructed based on the core parameters, and parameter coupling is achieved based on the W algorithm.
6. The charging efficiency optimization method based on the W algorithm according to claim 1, characterized in that, The process of collecting dynamic data in real time during the phone's extreme charging process includes: The dynamic data includes battery temperature, memory usage, and background program status. The battery temperature is collected by a battery thermistor, and the sliding average value of multiple consecutive collected values is calculated. The memory occupancy rate is obtained through the system memory management interface as the ratio of used memory to total memory, and the maximum value of multiple consecutive collected values is calculated. The background program status is identified through the application management interface to identify newly added and closed background programs, count changes in the number of programs, assign heat loss weights according to program type, and generate background program heat loss increments.
7. The charging efficiency optimization method based on the W algorithm according to claim 1, characterized in that, The process of monitoring battery temperature deviation and charging efficiency deviation includes: Calculate battery temperature deviation The formula is: In the formula, This is the sliding average of the battery temperature. It has a dynamic safety temperature threshold and adjusts the power according to the battery temperature deviation; Calculate charging efficiency deviation The formula is: In the formula, Theoretical charging efficiency, This refers to the actual charging efficiency. When the battery temperature deviation or charging efficiency deviation exceeds the corresponding preset threshold, the weight coefficients in the W algorithm are corrected.
8. The charging efficiency optimization method based on the W algorithm according to claim 7, characterized in that, The process of correcting the weight coefficients in the W algorithm includes: Correction factors are constructed based on battery temperature deviation and charging efficiency deviation. The formula is: In the formula, e is a coefficient measuring the influence of battery temperature deviation on the correction factor, f is a coefficient measuring the influence of charging efficiency deviation on the correction factor, and g is the maximum acceptable efficiency deviation. The dynamic safety temperature threshold; Corrected temperature sensitivity coefficient The formula is: In the formula, This is the corrected temperature sensitivity coefficient; Correct memory usage interference factor Heat loss coefficient of background program The formula is: In the formula, h is the correction coefficient.
9. The charging efficiency optimization method based on the W algorithm according to claim 1, characterized in that, The process of generating dynamically adjusted extreme charge power control commands includes: The optimal charging power is recalculated based on the corrected W algorithm parameters; Set power adjustment step size limit, generate control instructions, including target power value and adjustment duration, and send the instructions through the mobile phone charging management chip interface.
10. A charging efficiency optimization system based on the W algorithm, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the charging efficiency optimization method based on the W algorithm as described in any one of claims 1 to 9.
Citation Information
Patent Citations
Control method for charging current of mobile terminal and mobile terminal
CN104917241A
Tablet computer fault monitoring method and system
CN118277226A
Standby battery charging control method and device, computer equipment and storage medium
CN119891458A
Life-extending recharge control for cold weather lithium-ion power supplies
US20220209320A1
Electronic device and battery heating method
WO2021027611A1