Recording and analyzing method for dual-battery charging and discharging of notebook computer

By modifying the battery management software configuration and setting the automated charge and discharge control logic interface, the testing challenges of dual-battery laptops were solved, enabling flexible multi-battery data recording and visualization analysis, thus improving testing efficiency and visualization effects.

CN121596983APending Publication Date: 2026-03-03EMDOOR CHINESE ACAD OF SCI CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202511799486.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-12-02
Publication Date
2026-03-03

AI Technical Summary

Technical Problem

Existing battery management software cannot be adapted to the dual-battery design of laptops, and cannot perform effective multi-battery testing and recording analysis.

Method used

Modify the configuration file of the battery management software, read the parameter data of the dual batteries through the EC controller, set up an automated charge and discharge control logic interface on the EC firmware, and combine the central processing unit to perform data conversion and storage to generate a visual test report.

Benefits of technology

It enables flexible testing and data visualization of dual batteries, reducing testing difficulty, minimizing manpower requirements, and improving testing efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121596983A_ABST
    Figure CN121596983A_ABST
Patent Text Reader

Abstract

The invention provides a recording and analyzing method for dual-battery charging and discharging of a notebook computer. The recording and analyzing method comprises the following steps: modifying a configuration file of battery management software; the EC controller reads parameter data of the two batteries through different channels according to a specified period; the EC firmware of the EC controller performs data conversion on the obtained parameter data; the converted parameter data of the two batteries are respectively stored in corresponding EC register positions; the battery management software obtains the parameter information of the two batteries from the corresponding EC register positions in real time through the central processing unit, reads the parameter information and writes the parameter information into a text used for recording data; and the battery management software displays the data on an interface according to the text record, and generates a time curve corresponding to the parameter data according to the function requirement. The method has the beneficial effects that by using the method, the blank of double-battery multi-data recording is filled up, meanwhile, the data analysis difficulty is reduced for the visual display of the data, and the requirement of efficient production can be met.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of laptop computer technology, and more specifically to a method for recording and analyzing the charging and discharging of dual batteries in laptop computers. Background Technology

[0002] As laptop performance continues to improve, users are increasingly concerned about battery life, health, and safety. To ensure battery quality and safety, testing is typically required. In standard laptop testing, battery management software is used to view and test battery functions. This type of software supports standard single-battery laptop function tests, used to view information such as battery voltage and current.

[0003] However, in today's era of multi-specification designs, to meet user needs, laptop designs are no longer limited to single batteries, and multi-functional designs such as dual batteries are used to meet the needs of different industries. This makes conventional battery management software unsuitable for such products, and unable to view and record the testing requirements of multiple batteries.

[0004] Therefore, existing technologies lack a battery management method that can be adapted to laptops with dual-battery designs, and this invention aims to solve this technical bottleneck. Summary of the Invention

[0005] To address the problems in the prior art, this invention provides a method for recording and analyzing the charging and discharging of dual batteries in a laptop computer.

[0006] The present invention provides a recording and analysis method for charging and discharging dual batteries in a laptop computer, comprising the following steps: Step S1: Modify the configuration file of the battery management software; In step S2, the EC controller reads the parameter data of the two batteries through different channels according to a specified cycle. Step S3: The EC firmware of the EC controller performs data conversion on the acquired parameter data; Step S4: The converted parameter data of the two batteries are stored in the corresponding EC register locations. Step S5: The battery management software obtains the parameter information of the two batteries from the corresponding EC register location in real time through the central processing unit, and writes the parameter information into the text file used for recording data. In step S6, the battery management software displays the data on the interface based on the text records and generates time curves of corresponding parameter data according to functional requirements.

[0007] The present invention is further improved in that, in step S2, the EC firmware of the EC controller is equipped with an automatic charge and discharge control logic interface, and the battery management software can perform automatic charge and discharge tests on the battery in power mode through the automatic charge and discharge control logic interface.

[0008] The present invention is further improved, and the specific steps for the automated charge and discharge testing function are as follows: Step A1: Plug the power cord into the laptop to charge the laptop's battery; Step A2: The battery management software records the charging process data into a text file used to record charging test data. Step A3: After the battery is fully charged, a full charge test of a specified duration needs to be performed to verify whether there are any abnormalities after the battery is fully charged; Step A4: After the full charge test is completed, the battery management software controls the EC controller to disconnect the power supply through the automated charge and discharge control logic interface, so that the laptop battery enters the discharge function. Step A5: After the battery has discharged completely, perform a low-charge leakage test; Step A6: After the low power leakage test is completed, the EC controller's EC firmware controls the laptop to charge and power on. Step A7: After the laptop is powered on, the current battery status data is automatically saved to a text file used to record charging test data. Step A8: After saving, determine whether the number of loops is met. If the number of loops is not met, return to step A1. If the number of loops is met, the loop ends and a charge / discharge test report log is generated based on the text of the recorded charging test data.

[0009] The present invention is further improved by using the EC controller to set the charging state of the charging chip to stop charging in step A3, and continuously recording the battery parameter data into the text file used to record the charging test data.

[0010] The present invention is further improved by including the charging process data in step A2, such as charging status, battery voltage, cell voltage, charge percentage, battery temperature, remaining battery capacity, and current battery capacity.

[0011] The present invention is further improved in that the data conversion operation in step S3 includes the conversion between high and low bits and the conversion between temperature bases.

[0012] The present invention is further improved by modifying the contents of the configuration file in step S1 to include the addresses of the two batteries in the registers of the EC controller.

[0013] Compared with the prior art, the beneficial effects of the present invention are as follows: The present invention provides a recording and analysis method for dual-battery charging and discharging of laptops, which can effectively solve the problem that existing battery management software can only work for single-battery devices and has poor flexibility. By using this method, the gap in multi-data recording for dual batteries is filled, and the charging and discharging test of dual batteries is freed from the situation where no test software is available. At the same time, the visualization of data lowers the threshold for viewing dual-battery data. Even junior engineers can easily identify problems in the testing process, and the difficulty of data analysis is also reduced, which can meet the needs of efficient production. Attached Figure Description

[0014] To more clearly illustrate the solutions in this application 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 application. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0015] Figure 1 This is a flowchart of a recording and analysis method for charging and discharging dual batteries in a laptop computer, according to the present invention. Detailed Implementation

[0016] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs; the terminology used herein in the specification of the application is for the purpose of describing particular embodiments only and is not intended to limit the application; the terms “comprising” and “having” and any variations thereof in the specification, claims and foregoing description of the drawings are intended to cover non-exclusive inclusion.

[0017] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.

[0018] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings.

[0019] This invention provides a method for recording and analyzing the charging and discharging of dual batteries in a laptop computer, such as... Figure 1As shown, this method is used in the above system. The detailed implementation method for recording and analyzing the charging and discharging of dual batteries in a laptop computer in this example is as follows: 1. Modify the configuration file of the battery management software.

[0020] By modifying the configuration file, dual-battery designs on different platforms can be flexibly compatible, enabling the battery management software to accurately read the parameter information of the two batteries.

[0021] The configuration file needs to be modified to include the addresses of the two batteries in the registers of the EC controller.

[0022] By modifying the address, the matching of information retrieval addresses can be achieved.

[0023] 2. The EC controller reads the parameter data of the two batteries through different channels according to a specified cycle.

[0024] By reading data at specified intervals, it is possible to obtain changes in battery parameter data over different periods of time.

[0025] The two batteries are connected to the EC controller through different I2C interface channels, and the EC controller is connected to the central processing unit through the LPC channel.

[0026] Battery data includes information from two batteries, which need to be isolated from each other. It also allows for a summary of the total energy, used to calculate the total battery percentage.

[0027] Battery parameters include battery percentage, battery voltage, battery current, remaining battery capacity, current battery capacity, design voltage, design capacity, battery temperature, cell voltage, and number of charge / discharge cycles.

[0028] By reading the battery design voltage and battery design capacity: this data can be used to analyze whether the actual battery voltage read meets the design voltage standard, and the battery full charge capacity can be used to determine whether the battery power is lower than the battery design capacity, thus determining whether the battery is already in a depleted state.

[0029] By reading the battery temperature, this data can be used to analyze whether the battery is operating within its normal temperature range. During charging, it's important to ensure the battery design adheres to the normal temperature range to avoid overcharging and potential safety issues.

[0030] By reading the cell voltage: read the voltage of each cell in the battery to determine if the cell voltages differ too much, which is used to determine if there is an imbalance in the cell voltages of the battery.

[0031] An automated charge and discharge control logic interface is set on the EC firmware of the EC controller. The battery management software can perform automated charge and discharge tests on the battery in power mode through the automated charge and discharge control logic interface.

[0032] This setup effectively solves the problem of requiring long-term human resources during battery charging and discharging tests.

[0033] In actual testing, batteries require at least three charge learning cycles and three actual charge-discharge function tests. Automating the testing process with software can reduce the need for human resources and improve testing efficiency.

[0034] For automated charge / discharge testing, the battery requires data to be collected over a long period to analyze whether the entire charge / discharge process is normal. Therefore, it is necessary to add timestamps to record the battery parameter data.

[0035] The specific steps for the automated charge and discharge testing function are as follows: (1): Plug the power cord into the laptop and the power cord will charge the laptop's battery; (2): The battery management software records the charging process data into a text file used to record charging test data. (3): After the battery is fully charged, a full charge test of a specified duration is required to verify whether there is any abnormality after the battery is fully charged; (4): After the full charge test is completed, the battery management software controls the EC controller to disconnect the power supply through the automatic charge and discharge control logic interface, so that the laptop battery enters the discharge function. (5): After the battery is discharged, perform a low-charge leakage test; (6): After the low power leakage test is completed, the EC firmware of the EC controller controls the laptop to charge and power on. (7): After the laptop is powered on, the current battery status data is automatically saved to a text file used to record charging test data. (8): After saving, determine whether the number of cycles is met. If the number of cycles is not met, return to step A1. If it is met, the cycle ends and a charge / discharge test report log is generated based on the text of the recorded charging test data.

[0036] In step (3) of the “Automatic Charge and Discharge Test Function”, the full charge test verification is mainly achieved by setting the charging state of the charging chip to stop charging through the EC controller and continuously recording the battery parameter data into the text file used to record the charging test data.

[0037] After the battery is fully charged, a 12-hour full-charge test is required to verify whether there are any abnormalities after a full charge. No additional intervention is needed at this time; simply record the normal charge and discharge data.

[0038] The charging process data in step (2) of the “Automatic Charge and Discharge Test Function” includes charging status, battery voltage, cell voltage, charge percentage, battery temperature, remaining battery capacity and current battery capacity.

[0039] Obtaining these parameters provides a foundation for data analysis by staff later on.

[0040] The low-battery leakage test specifically involves the following steps: After the battery is fully discharged, it will automatically enter sleep or power-off mode to prevent over-discharge. It then needs to be left in standby mode for 12 hours to determine if the battery leakage under low-battery conditions is normal.

[0041] By incorporating automation, the charging and discharging processes of the battery are simulated, enabling the verification of the battery's automatic charging and discharging function. This method effectively improves the efficiency of battery function testing, saves testing time, and reduces the need for testing personnel.

[0042] 3. The EC firmware of the EC controller performs data conversion on the acquired parameter data.

[0043] Data conversion enables the system to adapt to the data reading types of battery management software.

[0044] Data conversion operations include high-to-low bit conversion and temperature base conversion, with targeted conversions performed based on different parameter information.

[0045] 4. The parameter data after conversion of the two batteries are stored in the corresponding EC register locations.

[0046] 5. The battery management software obtains the parameter information of the two batteries from the corresponding EC register location in real time through the central processing unit, and then writes the parameter information into the text file used for recording data.

[0047] 6. The battery management software displays the data on the interface based on the text records and generates time curves of corresponding parameter data according to functional requirements.

[0048] By plotting the battery charge percentage over time, staff can easily visualize the battery charging and discharging process.

[0049] The specific strategies and methods for analyzing dual-battery data are as follows: (1) Whether the battery charge curve is smooth and without jumps. During the dual-battery charge and discharge test, the battery charge percentage at each time axis can be judged to see if there are jumps exceeding 2%. When this phenomenon occurs, it indicates that the battery body may have battery imbalance or excessively high or low temperature usage, resulting in a large range of changes in battery charge.

[0050] (2) After the battery is fully charged, check whether the battery is discharging current or charging current. After the battery is fully charged, it should usually be in a stopped charging state to avoid floating charging of the battery, which could damage the battery. At the same time, after the battery is fully charged, it should not discharge to the outside. If the battery discharges to the outside, it indicates that the battery is leaking current or that the motherboard is discharging to the outside after being fully charged.

[0051] (3) Whether the battery operating temperature is within the range specified in the battery specifications. When the battery is charging, the charging temperature must be within the charging temperature range. Overheating during charging indicates that the battery may bulge or have safety issues. During discharge, determine whether the battery can automatically disconnect power when it exceeds the battery discharge range. When the temperature data exceeds the discharge temperature range, it indicates that the battery is operating in an abnormal temperature range, which may easily lead to battery safety failures.

[0052] (4) Laptop batteries are usually multi-cell batteries. In this case, the battery is composed of 2 to 4 cells connected in series. By analyzing the voltage difference between the cells, it is possible to determine whether there is an excessive difference in cell quality. If the voltage difference between the battery cells is too large, it may be due to inconsistent cell quality, resulting in excessive voltage differences.

[0053] As can be seen from the above, the present invention provides a recording and analysis method for dual-battery charging and discharging of laptops, which can effectively solve the problem that existing battery management software can only work on single-battery devices and has poor flexibility. By using this method, the gap in multi-data recording for dual batteries is filled, and the charging and discharging test of dual batteries is freed from the situation where no test software is available. At the same time, the visualization of data lowers the threshold for viewing dual-battery data. Even junior engineers can easily identify problems in the testing process, and the difficulty of data analysis is also reduced, which can meet the needs of efficient production.

[0054] The specific embodiments described above are preferred embodiments of the present invention and are not intended to limit the specific scope of the present invention. The scope of the present invention includes, but is not limited to, these specific embodiments. All equivalent changes made in accordance with the present invention are within the protection scope of the present invention.

Claims

1. A method for recording and analyzing the charging and discharging of dual batteries in a laptop computer, characterized in that, Includes the following steps: Step S1: Modify the configuration file of the battery management software; In step S2, the EC controller reads the parameter data of the two batteries through different channels according to a specified cycle. Step S3: The EC firmware of the EC controller performs data conversion on the acquired parameter data; Step S4: The converted parameter data of the two batteries are stored in the corresponding EC register locations. Step S5: The battery management software obtains the parameter information of the two batteries from the corresponding EC register location in real time through the central processing unit, and writes the parameter information into the text file used for recording data. In step S6, the battery management software displays the data on the interface based on the text records and generates time curves of corresponding parameter data according to functional requirements.

2. The recording and analysis method for dual-battery charging and discharging of a laptop computer according to claim 1, characterized in that: In step S2, the EC controller's EC firmware is equipped with an automated charge and discharge control logic interface. The battery management software can perform automated charge and discharge tests on the battery in power mode through the automated charge and discharge control logic interface.

3. The recording and analysis method for dual-battery charging and discharging of a laptop computer according to claim 2, characterized in that: The specific steps for the automated charge and discharge testing function are as follows: Step A1: Plug the power cord into the laptop to charge the laptop's battery; Step A2: The battery management software records the charging process data into a text file used to record charging test data. Step A3: After the battery is fully charged, a full charge test of a specified duration needs to be performed to verify whether there are any abnormalities after the battery is fully charged; Step A4: After the full charge test is completed, the battery management software controls the EC controller to disconnect the power supply through the automated charge and discharge control logic interface, so that the laptop battery enters the discharge function. Step A5: After the battery has discharged completely, perform a low-charge leakage test; Step A6: After the low power leakage test is completed, the EC controller's EC firmware controls the laptop to charge and power on. Step A7: After the laptop is powered on, the current battery status data is automatically saved to a text file used to record charging test data. Step A8: After saving, determine whether the number of loops is met. If the number of loops is not met, return to step A1. If the number of loops is met, the loop ends, and a charge / discharge test report log is generated based on the text of the recorded charging test data.

4. The recording and analysis method for dual-battery charging and discharging of a laptop computer according to claim 3, characterized in that: The full charge test verification in step A3 mainly involves setting the charging chip's charging state to stop charging through the EC controller and continuously recording the battery's parameter data into a text file used to record charging test data.

5. The recording and analysis method for dual-battery charging and discharging of a laptop computer according to claim 3, characterized in that: The charging process data in step A2 includes charging status, battery voltage, cell voltage, charge percentage, battery temperature, remaining battery capacity, and current battery capacity.

6. The recording and analysis method for dual-battery charging and discharging of a laptop computer according to claim 1, characterized in that: The data conversion operations in step S3 include high-low bit conversion and temperature base conversion.

7. The recording and analysis method for dual-battery charging and discharging of a laptop computer according to claim 1, characterized in that: In step S1, modifying the configuration file includes setting the addresses of the two batteries in the registers of the EC controller.

Citation Information

Patent Citations

  • Double-lithium-battery charging and discharging management circuit

    CN102709990A

  • Battery charging and discharging management system and method

    CN103051005A

  • Laptop battery management device and method based on ShenWei processor

    CN107193359A

  • Method and device for calibrating and checking battery capacity and internal resistance of mobile equipment and storage medium

    CN115754750A

  • Battery cycle life detection method and device, computer equipment and storage medium

    CN117347895A