An EMS management method and device suitable for multiple types of batteries and a storage medium
By acquiring battery data to identify and coordinate charging batteries and dynamically adjust charging power, the problem of uneven resource allocation during charging of various battery types is solved, realizing intelligent self-sacrifice and safe charging management, and improving charging efficiency and battery life.
Patent Information
- Application Number
- CN202511343489.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-09-19
- Publication Date
- 2026-03-17
- Estimated Expiration
- 2045-09-19
AI Technical Summary
Existing charging management systems struggle to achieve dynamic balance when multiple types of batteries are charging simultaneously, leading to uneven distribution of charging resources, potential current contention, and impact on charging efficiency and battery life. Furthermore, they are difficult to design self-sacrifice mechanisms based on user needs.
By acquiring target data and historical usage data of the battery, the system identifies batteries that require collaborative charging, determines whether collaborative charging should be performed, determines the charging power based on the latest full charge time and battery capacity, and dynamically adjusts the power in conjunction with the maximum output power of the total power line to design an intelligent self-sacrifice scheme.
It enables dynamic balance charging of various battery types, improves overall charging efficiency and battery life, avoids overload risks, optimizes charging resource allocation, and enhances user experience.
Smart Images

Figure CN120863406B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of battery management, and in particular to an EMS management method, apparatus and storage medium adapted to multiple types of batteries. Background Technology
[0002] With the increasing prevalence of electric vehicles and energy storage devices, simultaneous charging of multiple battery types is becoming more common. However, existing charging management systems often struggle to achieve dynamic balance when dealing with batteries of various types, capacities, and states of charge simultaneously. This leads to uneven distribution of charging resources and even "current contention," increasing the burden on charging equipment and potentially causing unfair charging of weaker batteries, affecting charging efficiency and battery life. Furthermore, in existing technologies, when a vehicle connects to a charging device, it may cause an excessive drop in charging power for other vehicles in the vicinity, thus impacting the overall charging experience.
[0003] Furthermore, existing charging management systems struggle to design a battery self-sacrifice mechanism based on user habits and needs without impacting user demands. For batteries that are not in a hurry to fully charge, moderate slow charging can protect battery performance, free up more charging resources, and improve the charging efficiency of other batteries.
[0004] Therefore, this invention discloses an EMS management method, device, and storage medium adapted to multiple types of batteries. It can dynamically adjust the charging power allocation according to the user characteristics, battery characteristics, and charging needs of the battery, avoid current contention, achieve fair allocation of charging resources, and combine user habits to design an intelligent battery self-sacrifice scheme to improve overall charging efficiency and battery life. Summary of the Invention
[0005] This application provides an EMS management method, device, and storage medium that is compatible with multiple types of batteries. It solves the technical problems in the prior art, such as the difficulty in achieving dynamic balance charging based on the user characteristics and battery characteristics when multiple types of batteries are charging simultaneously in a small area, and the difficulty in designing a battery self-sacrifice mechanism without affecting user needs.
[0006] To achieve the above objectives, this application adopts the following technical solution:
[0007] Firstly, an EMS management method adaptable to multiple battery types is provided, including:
[0008] Acquire target data and historical usage data of the battery while it is charging; the target data includes the battery level and charging port number; the historical usage data includes the charging time and the time the user unplugs the charger.
[0009] The battery for collaborative charging is obtained based on the charging port number, and it is determined whether collaborative charging should be performed.
[0010] Yes, the latest full charge time for each collaborative charging battery is determined based on its historical usage data, and the charging power of the battery is determined based on the latest full charge time and the battery capacity.
[0011] No, obtain the battery's dynamic charging power and charge the battery according to the dynamic charging power.
[0012] In conjunction with the first aspect above, in one possible implementation, acquiring target data and historical usage data of the battery during battery charging includes:
[0013] When the battery is charging, the battery power is obtained through the battery's built-in fuel gauge chip. The charging device identifies the current battery based on its serial number and associates the corresponding charging port number with the current battery. The charging time and the time when the user unplugged the charger are extracted from the battery usage database.
[0014] In conjunction with the first aspect above, in one possible implementation, obtaining the collaboratively charged battery based on the charging port number includes:
[0015] When the battery is inserted into the charging port, the charging port number of the charging port currently being used by the battery is extracted. Based on the charging port number, the interfering charging port of the current charging port is extracted from the charging device database. The interfering charging port and the current charging port are marked as reference charging ports. The interfering charging port is a charging port that shares a main power line with the current charging port and is selected manually.
[0016] The maximum power required by the battery corresponding to the reference charging port under maximum charging power is obtained, and the maximum output power of the total power line corresponding to the current reference charging port is extracted from the charging device database. When the maximum power required is greater than the maximum output power, the battery corresponding to the reference charging port is marked as a co-charging battery. When the maximum power required is not greater than the maximum output power, the co-charging battery is not marked. The maximum charging power of the battery is set at the factory, and the maximum output power of the total power line is set according to the current carrying capacity of the power line.
[0017] In conjunction with the first aspect mentioned above, in one possible implementation, determining whether to perform collaborative charging includes:
[0018] Obtain the percentage of each battery's capacity relative to its corresponding total capacity, and integrate these percentages into a percentage group. Obtain the variance of the percentage group and determine if the variance is less than a set variance. If yes, calculate the characteristic percentage by averaging the percentages in the percentage group. If no, remove the percentage in the percentage group with the largest absolute value of the difference from the average value, recalculate the variance of the remaining percentages in the percentage group, and re-determine the variance until the variance in the percentage group is less than the set variance. Then, calculate the characteristic percentage by averaging the remaining percentages in the percentage group. The set variance is determined empirically.
[0019] Determine whether the feature ratio is lower than the ratio threshold; if yes, send a request to the user for collaborative charging, and if the user agrees, collaborative charging will proceed; if the user disagrees, collaborative charging will not proceed; if no, collaborative charging will not proceed; wherein, the ratio threshold is set based on the maximum output power of the total wire corresponding to the reference charging port, and the ratio threshold is proportional to the maximum output power of the total wire corresponding to the reference charging port.
[0020] In conjunction with the first aspect above, in one possible implementation, the latest full charge time for each co-charging battery is determined based on historical usage data of each co-charging battery, including:
[0021] When the battery is charging, determine whether the charging time falls on a weekday; if yes, mark the weekday in the historical data as the reference time for the current battery; if no, mark the non-weekday in the historical data as the reference time for the current battery.
[0022] The historical charging time of the battery within the reference time is obtained, and the charging time is arranged in chronological order of the day to obtain a time series. A dynamic window is determined based on the number of charging times recorded for the current battery. Based on the dynamic window, the time period with the largest number of historical charging times is selected from the time series and marked as the target time period.
[0023] When the battery charging time falls within the target time period, the user unplugs the battery at each charging time within the target time period. These user unplugging times are then grouped into time groups from beginning to end. A fixed time range within each user's unplugging time within the time group is marked as the reference time range for the current user's unplugging time. The number of times each user unplugs the battery within each reference time range is marked as the reference number for that user's unplugging time. The user's unplugging time with the highest reference number is marked as the latest time the battery can be fully charged. The fixed time range is manually set and is typically one-tenth of the dynamic window.
[0024] When the battery charging time is not within the target period, the time required to fully charge is calculated based on the standard charging power and the battery capacity, and the latest charging time is determined according to the time required to fully charge. The standard charging power is determined based on the battery's maximum charging power, which is generally 70% of the maximum charging power.
[0025] In conjunction with the first aspect above, in one possible implementation, determining the dynamic window based on the current number of charge cycles recorded by the battery includes:
[0026] A1: Extract the current battery charging count CS and determine whether the charging count CS is less than the count threshold YZ; if yes, proceed to A2; if no, set the dynamic window value to the minimum value of the standard window range; where the standard window range is manually set based on experience, and is generally set to [20min, 100min];
[0027] A2: Based on calculation formula Determine the dynamic window DT; when the dynamic window DT is less than the minimum value of the standard window range, use the minimum value of the standard window range as the dynamic window of the current battery; when the dynamic window DT is greater than the maximum value of the standard window range, use the maximum value of the standard window range as the dynamic window of the current battery; where DZ is the maximum value of the standard window range.
[0028] In conjunction with the first aspect mentioned above, in one possible implementation, determining the battery charging power based on the latest full charge time and battery capacity includes:
[0029] The estimated charging time is determined based on the latest full charge time and the current time. The estimated charging time is then multiplied by the error elimination ratio to determine the actual charging time. The error elimination ratio is determined based on the dispersion of the user's historical unplugging time corresponding to the current battery.
[0030] The amount of energy to be charged is determined by the battery level, and the reference charging power per second of the current battery is determined based on the amount of energy to be charged and the available charging time. Based on computation Determine the current battery power percentage The power ratio Multiply by the maximum output power of the total power supply to obtain the expected charging power per second for each battery. When the expected charging power Greater than the reference charging power At that time, the reference charging power will be used. As the current battery charging power; when the expected charging power Not greater than the reference charging power At that time, the expected charging power will be The current charging power of the battery is represented by i, where i is the battery number of the co-charging battery, with a value range of [1, n], and n is the maximum value of the battery number.
[0031] In conjunction with the first aspect above, one possible implementation of obtaining the dynamic charging power of the battery includes:
[0032] The system acquires the battery level of each collaborative charging battery in real time, marks those that are not fully charged as dynamic charging batteries, and extracts the standard charging power of the dynamic charging batteries. Based on computation Determine the dynamic charging power of the dynamic charging battery. Where j is the number of the dynamic charging battery, and the value of j is in the range of [0, m], and m is the maximum value of the dynamic charging battery number; ZCG represents the maximum charging power of the dynamic charging battery numbered j; ZCG represents the maximum output power of the total wires corresponding to the co-charging battery.
[0033] Secondly, an EMS management device adaptable to multiple types of batteries is provided, including: a communication unit and a processing unit;
[0034] The communication unit is used to acquire target data and historical usage data of the battery during charging; wherein, the target data includes the battery level and charging port number; and the historical usage data includes the charging time and the time the user unplugs the plug.
[0035] The processing unit is used to obtain the battery for collaborative charging based on the charging port number and to determine whether collaborative charging should be performed.
[0036] Yes, the latest full charge time for each collaborative charging battery is determined based on its historical usage data, and the charging power of the battery is determined based on the latest full charge time and the battery capacity.
[0037] No, obtain the battery's dynamic charging power and charge the battery according to the dynamic charging power.
[0038] Thirdly, this application provides a storage medium, characterized in that it is used to store a computer program, which, when executed, implements an EMS management method adapted to multiple types of batteries.
[0039] This application provides an EMS management method, device, and storage medium adaptable to various types of batteries, with the following advantages:
[0040] 1. This invention acquires the battery's charge level, charging port number, and historical usage data during battery charging; it identifies the co-charging battery based on the charging port number and determines whether to perform co-charging; if yes, it determines the latest charging time for each co-charging battery based on its historical usage data, and determines the battery's charging power based on the latest charging time and battery charge level; if no, it acquires the battery's dynamic charging power and charges the battery according to the dynamic charging power. This solves the technical problems in the prior art where, when multiple types of batteries are charging simultaneously in a small area, it is difficult to achieve a dynamic balance in charging based on the user characteristics and battery characteristics, and it is difficult to design a battery self-sacrifice mechanism without affecting user needs; this invention can improve the overall charging efficiency and battery life when multiple types of batteries are charging simultaneously.
[0041] 2. This step calculates the power ratio and combines it with the maximum output power of the total power line to ensure the system can rationally allocate the charging power of each battery, ensuring the total output power does not exceed the safe range. When the expected charging power exceeds the reference charging power, the system will automatically adjust to the reference value to prevent overload risks caused by excessive power; conversely, it will use the expected charging power to fully utilize the output capacity of the total power line and improve charging efficiency. This dynamic power allocation mechanism not only improves the intelligence level of charging management but also extends the lifespan of batteries and charging equipment, reducing maintenance costs. By comprehensively considering the latest charging time, battery capacity, and the output capacity of the total power line, the system can optimize the allocation of charging resources, ensuring that each battery is fully charged in the shortest possible time while avoiding safety hazards caused by improper power allocation.
[0042] It should be understood that the descriptions of technical features, technical solutions, beneficial effects, or similar language in this application do not imply that all features and advantages can be achieved in any single embodiment. Rather, it is understood that the description of a feature or beneficial effect means that a specific technical feature, technical solution, or beneficial effect is included in at least one embodiment. Therefore, the descriptions of technical features, technical solutions, or beneficial effects in this specification do not necessarily refer to the same embodiment. Furthermore, the technical features, technical solutions, and beneficial effects described in this embodiment can be combined in any suitable manner. Those skilled in the art will understand that embodiments can be implemented without one or more specific technical features, technical solutions, or beneficial effects of a particular embodiment. In other embodiments, additional technical features and beneficial effects may be identified in specific embodiments that do not embody all embodiments. Attached Figure Description
[0043] Figure 1 A schematic diagram illustrating the steps of an EMS management method adapted to multiple battery types, provided in an embodiment of this application;
[0044] Figure 2 A schematic diagram illustrating the steps for obtaining the latest fully charged time of the collaboratively charged battery, provided in an embodiment of this application.
[0045] Figure 3 This is a schematic diagram of the structure of an EMS management device adapted to multiple types of batteries, provided in an embodiment of this application. Detailed Implementation
[0046] In the description of this application, unless otherwise stated, " / " means "or," for example, A / B can mean A or B. The "and / or" in this document is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, and B alone. Furthermore, "at least one" means one or more, and "multiple" means two or more. The terms "first," "second," etc., do not limit the quantity or order of execution, and "first," "second," etc., do not necessarily imply differences.
[0047] It should be noted that, in this application, the terms "exemplary" or "for example" are used to indicate that something is being described as an example, illustration, or illustration. Any embodiment or design described as "exemplary" or "for example" in this application should not be construed as being more preferred or advantageous than other embodiments or design solutions. Specifically, the use of terms such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner.
[0048] like Figure 1 As shown in the figure, an EMS management method adapted to multiple battery types is provided in this application embodiment, including:
[0049] S1. Acquire target data and historical usage data of the battery while it is charging; the target data includes the battery level and charging port number; the historical usage data includes the charging time and the time the user unplugs the charger.
[0050] S2. Obtain the battery for collaborative charging based on the charging port number, and determine whether collaborative charging should be performed;
[0051] Yes, the latest full charge time for each collaborative charging battery is determined based on its historical usage data, and the charging power of the battery is determined based on the latest full charge time and the battery capacity.
[0052] No, obtain the battery's dynamic charging power and charge the battery according to the dynamic charging power.
[0053] It should be noted that the battery EMS management method designed in this invention not only involves the internal management of the battery, but also involves adjusting the internal power according to the external environment, making the battery management more adaptable to scenarios where multiple types of batteries are charged at the same time.
[0054] In one possible implementation of this application embodiment, the above-mentioned S1 can be implemented by the following S101, which will be described in detail below:
[0055] S101. Acquire target data and historical usage data of the battery during battery charging, including:
[0056] When the battery is charging, the battery power is obtained through the battery's built-in fuel gauge chip. The charging device identifies the current battery based on its serial number and associates the corresponding charging port number with the current battery. The charging time and the time when the user unplugged the charger are extracted from the battery usage database.
[0057] In one possible implementation of this application embodiment, the above-mentioned S2 can be implemented by the following S201, S202, S203, S204, S205 and S206, which are described in detail below:
[0058] S101. Obtain the collaborative charging battery based on the charging port number, including:
[0059] When the battery is inserted into the charging port, the charging port number of the charging port currently being used by the battery is extracted. Based on the charging port number, the interfering charging port of the current charging port is extracted from the charging device database. The interfering charging port and the current charging port are marked as reference charging ports. The interfering charging port is a charging port that shares a main power line with the current charging port and is selected manually.
[0060] The maximum power required by the battery corresponding to the reference charging port under maximum charging power is obtained, and the maximum output power of the total power line corresponding to the current reference charging port is extracted from the charging device database. When the maximum power required is greater than the maximum output power, the battery corresponding to the reference charging port is marked as a co-charging battery. When the maximum power required is not greater than the maximum output power, the co-charging battery is not marked. The maximum charging power of the battery is set at the factory, and the maximum output power of the total power line is set according to the current carrying capacity of the power line.
[0061] It's important to note that by extracting the charging port number and combining it with the charging device database, the system can accurately identify interfering charging ports sharing a main power line with the current charging port, thus marking these ports as reference charging ports. This process ensures a comprehensive power demand assessment for all charging devices sharing the main power line, avoiding potential risks from localized optimization. Secondly, by calculating the maximum power requirement of the battery corresponding to the reference charging port at maximum charging power and comparing it with the maximum output power of the main power line, the system can promptly detect potential overload risks. When the maximum required power exceeds the maximum output power, the relevant battery is marked as a co-charging battery, triggering a co-charging mechanism to rationally allocate charging power and avoid safety hazards caused by overload. Simultaneously, this mechanism also optimizes charging efficiency, extends the lifespan of batteries and charging devices, and improves the user experience.
[0062] Furthermore, by using the battery's maximum charging power and the total cable's maximum output power as evaluation criteria, the system can ensure the safety and stability of the charging process, avoiding equipment damage or charging interruptions caused by improper power distribution.
[0063] This approach not only effectively prevents overload risks during charging but also optimizes the allocation of charging resources through a collaborative charging mechanism, improving overall charging efficiency and safety, and providing users with a more intelligent, reliable, and efficient charging solution.
[0064] It should be noted that when the battery is not marked for collaborative charging, the battery will be charged according to the factory-set maximum charging power or standard charging power.
[0065] S202. Determine whether to perform collaborative charging, including:
[0066] Obtain the percentage of each battery's capacity relative to its corresponding total capacity, and integrate these percentages into a percentage group. Obtain the variance of the percentage group and determine if the variance is less than a set variance. If yes, calculate the characteristic percentage by averaging the percentages in the percentage group. If no, remove the percentage in the percentage group with the largest absolute value of the difference from the average value, recalculate the variance of the remaining percentages in the percentage group, and re-determine the variance until the variance in the percentage group is less than the set variance. Then, calculate the characteristic percentage by averaging the remaining percentages in the percentage group. The set variance is determined empirically.
[0067] Determine whether the feature ratio is lower than the ratio threshold; if yes, send a request to the user for collaborative charging, and if the user agrees, collaborative charging will proceed; if the user disagrees, collaborative charging will not proceed; if no, collaborative charging will not proceed; wherein, the ratio threshold is set based on the maximum output power of the total wire corresponding to the reference charging port, and the ratio threshold is proportional to the maximum output power of the total wire corresponding to the reference charging port.
[0068] It is worth noting that this step increases the representativeness of the characteristic proportions by obtaining the power ratio of each battery and calculating the variance of the proportion group. When the variance is less than the set variance, it indicates that the power ratio of each battery is relatively uniform. In this case, the calculation of the characteristic proportions can obtain a power ratio that represents the overall power ratio of each battery. If the variance is large, the variance is recalculated by removing the power ratio that deviates the largest from the average value until the condition is met, ensuring the stability and consistency of the data. This process can effectively avoid the problem of inaccurate characteristic proportions caused by abnormal power of individual batteries.
[0069] Secondly, by determining whether the characteristic ratio is below a threshold, the system can dynamically adjust the conditions for collaborative charging based on the maximum output power of the total power line corresponding to the reference charging port. The threshold is proportional to the maximum output power of the total power line, ensuring that collaborative charging requests are made within the capacity of the total power line. This avoids overload risks caused by improper power allocation and fully utilizes the output capacity of the total power line, improving charging efficiency. When the characteristic ratio is below the threshold, the system sends a collaborative charging request to the user, respecting the user's decision and enhancing system flexibility and user experience. If the user agrees, collaborative charging is executed, thus optimizing the allocation of charging resources; if the user disagrees, the current charging state is retained, avoiding the inconvenience that might result from forced collaborative charging.
[0070] In summary, the process of determining whether to initiate collaborative charging, through precise data processing and dynamic condition judgment, effectively optimizes the allocation of charging resources, improves charging efficiency and safety, and simultaneously considers user experience and system flexibility. This intelligent charging management approach provides users with a more efficient, reliable, and personalized charging solution, and has significant practical application value.
[0071] It should be noted that when no collaborative charging is performed, the dynamic charging power of the battery is obtained, and the battery is charged according to the dynamic charging power.
[0072] It should be noted that in the process of removing the proportion of electricity with the largest absolute value of the difference from the average value in the proportion group, recalculating the variance of the remaining proportion of electricity in the proportion group and re-judging the variance, the average value is the average value of the proportion of electricity retained in the current variance judgment step.
[0073] It should be noted that, among the proportions in the proportion group with the largest absolute difference from the average value, if there are both a maximum and a minimum proportion with the largest absolute difference from the average value of the proportions in the proportion group, the largest proportion will be removed first.
[0074] It should be noted that if, after removing more than 90% of the battery percentage, the variance of the remaining battery percentage is still not less than the set variance, then the average value of the original battery percentages in the percentage group will be used as the characteristic percentage.
[0075] like Figure 2 As shown, S203, determine the latest full charge time for each collaborative charging battery based on its historical usage data, including:
[0076] When the battery is charging, determine whether the charging time falls on a weekday; if yes, mark the weekday in the historical data as the reference time for the current battery; if no, mark the non-weekday in the historical data as the reference time for the current battery.
[0077] The historical charging time of the battery within the reference time is obtained, and the charging time is arranged in chronological order of the day to obtain a time series. A dynamic window is determined based on the number of charging times recorded for the current battery. Based on the dynamic window, the time period with the largest number of historical charging times is selected from the time series and marked as the target time period.
[0078] When the battery charging time falls within the target time period, the user unplugs the battery at each charging time within the target time period. These user unplugging times are then grouped into time groups from beginning to end. A fixed time range within each user's unplugging time within the time group is marked as the reference time range for the current user's unplugging time. The number of times each user unplugs the battery within each reference time range is marked as the reference number for that user's unplugging time. The user's unplugging time with the highest reference number is marked as the latest time the battery can be fully charged. The fixed time range is manually set and is typically one-tenth of the dynamic window.
[0079] When the battery charging time is not within the target period, the time required to fully charge is calculated based on the standard charging power and the battery capacity, and the latest charging time is determined according to the time required to fully charge. The standard charging power is determined based on the battery's maximum charging power, which is generally 70% of the maximum charging power.
[0080] It's worth noting that this step, by determining whether the battery charging time falls on a weekday and using the corresponding historical data as a reference, allows the system to more accurately analyze users' charging habits and usage patterns. Charging behavior can differ significantly between weekdays and non-weekdays; therefore, analyzing historical data based on weekdays or non-weekdays improves prediction accuracy and ensures the reasonableness of the latest charging time.
[0081] Secondly, by acquiring historical charging times within a reference period and arranging them chronologically to form a time series, the system can identify the distribution patterns and peak periods of charging time. Using a dynamic window, the system selects the time period with the highest number of historical charging times from the time series as the target time period, which helps capture user charging behavior characteristics, thereby more accurately predicting the latest full charge time. The introduction of the dynamic window allows the system to adapt to the charging frequency and usage patterns of different batteries, further improving the flexibility and accuracy of predictions.
[0082] When the battery charging time falls within the target time period, the system extracts the user's unplugging time corresponding to each charging time within the target time period. Using these times as the center, a fixed-duration time range is marked as a reference time range. The number of reference times is counted, and the user unplugging time with the most frequent reference time is selected as the latest charging time. This method not only considers the user's actual unplugging behavior but also ensures the stability and consistency of the prediction results through a fixed-duration reference time range. The fixed duration is typically one-tenth of the dynamic window; this proportion effectively balances the breadth and accuracy of the reference range, avoiding prediction bias caused by an excessively large or small range.
[0083] When the battery charging time is outside the target time period, the system calculates the time required for a full charge based on the standard charging power and battery capacity, and determines the latest charging time accordingly. The standard charging power is typically 70% of the battery's maximum charging power; this setting considers both battery charging efficiency and the safety and stability of the charging process. Through this method, the system can reasonably estimate the latest charging time even in the absence of sufficient historical data, ensuring the continuity and reliability of collaborative charging management.
[0084] In summary, this step, by combining historical usage data, user behavior analysis, and charging power calculation, can accurately predict the latest full charge time of the battery during collaborative charging. This prediction method not only improves the intelligence level of battery charging management but also optimizes the allocation of charging resources, enhancing charging efficiency and user experience. Furthermore, through dynamic window and fixed duration settings, the system can flexibly adapt to different charging environments and user needs, ensuring the accuracy and reliability of the prediction results. This data-driven battery charging management approach provides a scientific basis for collaborative charging and offers users a more efficient, reliable, and personalized charging solution, possessing significant practical application value.
[0085] It should be noted that arranging the charging time in chronological order to obtain a time series means: removing the date from the charging time, and then sorting the charging time after removing the date in chronological order to obtain the time series; for example: August 1, 2025, 17:30, August 2, 2025, 17:36, August 3, 2025, 17:28, then the time series is 17:28, 17:30, 17:36.
[0086] It should be noted that the specific explanation of selecting the time period with the highest number of historical charging times from the time series based on the dynamic window is as follows: if the duration of the dynamic window is 60 minutes, then the period from 0:00 to 23:59:59 is divided into several time periods based on the sliding window with a size of 60 minutes; for example: 0:00-01:00, 0:01-01:01, 0:02-01:02, ... 23:58-23:59, 23:59-23:59:59.
[0087] It should be noted that grouping the times when several users unplugged their devices into time groups, arranged from chronological order, is done after removing the dates and grouping the times when users unplugged their devices into time groups, arranged from chronological order.
[0088] S204. Determine the dynamic window based on the current number of charge cycles recorded by the battery, including:
[0089] A1: Extract the current battery charging count CS and determine whether the charging count CS is less than the count threshold YZ; if yes, proceed to A2; if no, set the dynamic window value to the minimum value of the standard window range; where the standard window range is manually set based on experience, and is generally set to [20min, 100min];
[0090] A2: Based on calculation formula Determine the dynamic window DT; when the dynamic window DT is less than the minimum value of the standard window range, use the minimum value of the standard window range as the dynamic window of the current battery; when the dynamic window DT is greater than the maximum value of the standard window range, use the maximum value of the standard window range as the dynamic window of the current battery; where DZ is the maximum value of the standard window range.
[0091] It's worth noting that this step, by extracting the current battery charging count (CS) and comparing it with the count threshold (YZ), allows the system to determine whether the battery is in the initial charging phase. When CS is less than YZ, the battery's charging behavior may not yet be stable, so it's necessary to jump to A2 for further dynamic window calculation to ensure that more historical data is covered when the number of charging counts is low, thus improving prediction accuracy. Conversely, when CS is greater than or equal to YZ, the battery's charging behavior has stabilized, so the dynamic window is directly set to the minimum value of the standard window range, reducing computation while ensuring prediction accuracy.
[0092] Secondly, in step A2, the calculation formula is used. By defining a dynamic window DT, the system can dynamically adjust the window size based on changes in the number of charging cycles (CS). As CS increases, the exponential function exp(CS / YZ) increases, leading to a decrease in DT. This dynamic adjustment adapts to changes in battery charging behavior: when the number of charging cycles is low, a larger window covers more historical data, improving prediction accuracy; when the number of charging cycles is high, a smaller window reduces computation and improves efficiency. Simultaneously, by limiting DT to the minimum and maximum values within the standard window range, the system ensures the rationality of the dynamic window, avoiding prediction bias caused by excessively large or small windows.
[0093] This step also adapts to the charging characteristics of different batteries. Different batteries may have different charging cycles and usage patterns, and the dynamic window adjustment can better accommodate these differences, ensuring a more accurate prediction of the latest full charge time. Simultaneously, through a manually set standard window range, the system can be adjusted based on practical experience, further improving the reliability of the prediction.
[0094] In summary, this step, by dynamically adjusting the window size and combining the number of charging cycles with the standard window range, effectively improves the accuracy and efficiency of predicting the latest charging time, providing strong support for collaborative charging management. This method not only optimizes resource utilization but also enhances the reliability of data analysis.
[0095] S205. Determining the battery charging power based on the latest full charge time and battery capacity, including:
[0096] The estimated charging time is determined based on the latest full charge time and the current time. The estimated charging time is then multiplied by the error elimination ratio to determine the actual charging time. The error elimination ratio is determined based on the dispersion of the user's historical unplugging time corresponding to the current battery.
[0097] The amount of energy to be charged is determined by the battery level, and the reference charging power per second of the current battery is determined based on the amount of energy to be charged and the available charging time. Based on computation Determine the current battery power percentage The power ratio Multiply by the maximum output power of the total power supply to obtain the expected charging power per second for each battery. When the expected charging power Greater than the reference charging power At that time, the reference charging power will be used. As the current battery charging power; when the expected charging power Not greater than the reference charging power At that time, the expected charging power will be The current charging power of the battery is represented by i, where i is the battery number of the co-charging battery, with a value range of [1, n], and n is the maximum value of the battery number.
[0098] It is worth noting that this step, by calculating the power ratio and combining it with the maximum output power of the total power line, enables the system to rationally allocate the charging power of each battery, ensuring that the total output power does not exceed the safe range. When the expected charging power exceeds the reference charging power, the system automatically adjusts to the reference value to prevent overload risks caused by excessive power; conversely, it uses the expected charging power to fully utilize the output capacity of the total power line and improve charging efficiency. This dynamic power allocation mechanism not only improves the intelligence level of charging management but also extends the lifespan of batteries and charging equipment, reducing maintenance costs. By comprehensively considering the latest charging time, battery capacity, and the output capacity of the total power line, the system can achieve optimized allocation of charging resources, ensuring that each battery is fully charged in the shortest possible time while avoiding safety hazards caused by improper power allocation.
[0099] S206. Obtain the dynamic charging power of the battery, including:
[0100] The system acquires the battery level of each collaborative charging battery in real time, marks those that are not fully charged as dynamic charging batteries, and extracts the standard charging power of the dynamic charging batteries. Based on computation Determine the dynamic charging power of the dynamic charging battery. Where j is the number of the dynamic charging battery, and the value of j is in the range of [0, m], and m is the maximum value of the dynamic charging battery number; ZCG represents the maximum charging power of the dynamic charging battery numbered j; ZCG represents the maximum output power of the total wires corresponding to the co-charging battery.
[0101] It is worth noting that the step of obtaining the dynamic charging power of the battery has significant advantages. First, by acquiring the battery level of each co-charging battery in real time and marking batteries that are not fully charged as dynamic charging batteries, the system can dynamically track the charging status of the batteries, ensuring the real-time nature and accuracy of the charging process. Then, the standard charging power of the dynamic charging batteries is extracted, and the dynamic charging power is determined through calculation. The system can then rationally allocate charging power based on the actual needs of the current batteries and the maximum output power of the total power line, avoiding the risk of overload due to improper power allocation. The calculation of dynamic charging power considers the maximum charging power of the batteries and the output power limitations of the total power line, ensuring the safety and efficiency of the charging process. Furthermore, by dynamically adjusting the charging power, the system can adapt to real-time changes in battery level and dynamic adjustments in charging demand, improving the intelligence level of charging management. This dynamic charging power allocation mechanism not only optimizes the utilization of charging resources but also extends the lifespan of batteries and charging equipment, improving overall charging efficiency and user experience.
[0102] The above primarily describes the solutions of the embodiments of this application from the perspective of device implementation. It is understood that each device, for example, an EMS management device adaptable to multiple battery types, includes at least one of the hardware structures and software modules corresponding to each function in order to achieve the above-mentioned functions. Those skilled in the art should readily recognize that, based on the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed in hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0103] This application embodiment can divide an EMS management device adapted to multiple battery types into functional units based on the above method example. For example, each function can be divided into separate functional units, or two or more functions can be integrated into one processing unit. The integrated unit can be implemented in hardware or as a software functional unit. It should be noted that the unit division in this application embodiment is illustrative and only represents a logical functional division; other division methods may be used in actual implementation.
[0104] When using integrated units, Figure 3The above embodiment shows a possible structural schematic diagram of an EMS management device (referred to as communication device 30) that is adapted to multiple types of batteries. The communication device 30 includes a processing unit 301 and a communication unit 302, and may also include a storage medium (referred to as storage unit 303). Figure 3 The schematic diagram shown can be used to illustrate the structure of an EMS management device adapted to multiple types of batteries involved in the above embodiments.
[0105] when Figure 3 The schematic diagram shown illustrates the structure of an EMS management device adapted to multiple battery types involved in the above embodiments. The processing unit 301 is used to control and manage the operation of the EMS management device adapted to multiple battery types, the communication unit 302 is used for the EMS management device adapted to multiple battery types to communicate with other devices, and the storage unit 303 is used to store the program code and data of the EMS management device adapted to multiple battery types.
[0106] For example, communication unit 302 is used to acquire target data and historical usage data of the battery when the battery is charging; wherein, the target data includes the battery level and the charging port number; and the historical usage data includes the charging time and the time the user unplugs the plug.
[0107] Processing unit 301: used to obtain the battery for collaborative charging based on the charging port number, and to determine whether collaborative charging should be performed;
[0108] Yes, the latest full charge time for each collaborative charging battery is determined based on its historical usage data, and the charging power of the battery is determined based on the latest full charge time and the battery capacity.
[0109] No, obtain the battery's dynamic charging power and charge the battery according to the dynamic charging power.
[0110] Although this application has been described herein in conjunction with various embodiments, those skilled in the art, by reviewing the accompanying drawings, disclosure, and appended claims, will understand and implement other variations of the disclosed embodiments in carrying out the claimed application. In the claims, the word "comprising" does not exclude other components or steps, and "a" or "an" does not exclude multiple instances. A single processor or other unit can implement several functions listed in the claims. While different dependent claims may recite certain measures, this does not mean that these measures cannot be combined to produce good results.
[0111] Although this application has been described in conjunction with specific features and embodiments, it is obvious that various modifications and combinations can be made thereto without departing from the spirit and scope of this application. Accordingly, this specification and drawings are merely illustrative descriptions of the application as defined by the appended claims, and are considered to cover any and all modifications, variations, combinations, or equivalents within the scope of this application. Clearly, those skilled in the art can make various alterations and modifications to this application without departing from the spirit and scope of this application. Thus, if such modifications and modifications fall within the scope of the claims of this application and their equivalents, this application is also intended to include such modifications and modifications.
[0112] Some of the data in the above calculation formula are obtained by removing dimensions and taking their numerical values. The calculation formula is a calculation formula that is closest to the real situation, obtained by software simulation of a large amount of collected data. The preset parameters and preset thresholds in the calculation formula are set by those skilled in the art according to the actual situation or obtained through simulation of a large amount of data.
Claims
1. An EMS management method for adapting to multiple types of batteries, characterized by, The application relates to a method for charging a battery, and the method comprises the following steps: acquiring target data and historical use data of the battery when the battery is being charged; wherein the target data comprises battery power and a charging port number; the historical use data comprises charging time and user plug-out time; acquiring a battery for cooperative charging based on the charging port number, and determining whether to perform cooperative charging; yes, determining the latest full-charge time of each battery for cooperative charging according to the historical use data of each battery for cooperative charging, and determining the charging power of the battery based on the latest full-charge time and the battery power; no, acquiring the dynamic charging power of the battery, and charging the battery according to the dynamic charging power; the method for determining the latest full-charge time of each battery for cooperative charging according to the historical use data of each battery for cooperative charging comprises the following steps: when the battery is being charged, determining whether the charging time of the battery is in a weekday; yes, marking the weekday in the historical data as the reference time of the current battery; no, marking the non-weekday in the historical data as the reference time of the current battery; acquiring the historical charging time of the battery within the reference time, arranging the charging time in time sequence according to the time sequence of one day, and determining the dynamic window according to the charging frequency recorded by the current battery; based on the dynamic window, the time period with the maximum historical charging time is selected from the time sequence, and the time period is marked as the target time period; when the charging time of the battery is in the target time period, the user plug-out time corresponding to each charging time in the target time period is extracted, a plurality of user plug-out times are integrated into a time group according to the time from front to back, each user plug-out time in the time group is taken as the center, the time range within a fixed time length is marked as the reference time range of the current user plug-out time, and the frequency of the user plug-out time in each reference time range is marked as the reference frequency of the corresponding user plug-out time; the user plug-out time with the maximum reference frequency is marked as the latest full-charge time of the current battery; when the charging time of the battery is not in the target time period, the full-charge required time is calculated based on the standard charging power and the battery power, and the latest full-charge time is determined according to the full-charge required time; wherein the standard charging power is determined according to the maximum charging power of the battery.
2. The EMS management method for adapting to multiple types of batteries according to claim 1, wherein, the method for acquiring the target data and the historical use data of the battery when the battery is being charged comprises the following steps: when the battery is being charged, the battery power of the battery is acquired through the built-in power meter chip of the battery, the current battery is identified by the charging device according to the number of the battery, and the corresponding charging port number is bound to the current battery; the charging time and the user plug-out time of the current battery in the historical charging are extracted from the battery use database.
3. The EMS management method for adapting to multiple types of batteries according to claim 1, wherein, the method for acquiring the battery for cooperative charging based on the charging port number comprises the following steps: when the battery is inserted into the charging port, the charging port number of the charging port currently used by the current battery is extracted, the interference charging port of the current charging port is extracted from the charging device database based on the charging port number, and the interference charging port and the current charging port are marked as the reference charging port; wherein the interference charging port is a charging port sharing one total power line with the current charging port, and is obtained through manual selection. The maximum required power of the battery corresponding to the reference charging port under the maximum charging power is obtained, and the maximum output power of the total electric wire corresponding to the current reference charging port is extracted from the charging device database; when the maximum required power is greater than the maximum output power, the battery corresponding to the reference charging port is marked as a cooperative charging battery; when the maximum required power is not greater than the maximum output power, no cooperative charging battery is marked; wherein the maximum charging power of the battery is set when the battery is manufactured, and the maximum output power of the total electric wire is set according to the current carrying capacity of the electric wire.
4. The EMS management method for adapting to multiple types of batteries according to claim 1, wherein, The judgment whether to perform cooperative charging includes: The battery capacity proportion of each battery in the corresponding total capacity is obtained, and a plurality of proportions are integrated into a proportion group, the variance of the proportion group is obtained, and it is judged whether the variance is less than a set variance; yes, the average value of the proportions in the proportion group is calculated to obtain a characteristic proportion; no, the battery capacity proportion with the largest absolute value of the difference from the average value in the proportion group is removed, the variance of the remaining battery capacity proportions in the proportion group is recalculated, and the variance judgment is performed again until the variance in the proportion group is less than the set variance, and the average value of the remaining battery capacity proportions in the proportion group is calculated to obtain the characteristic proportion; It is judged whether the characteristic proportion is lower than a proportion threshold; yes, a cooperative charging request is sent to the user, and if the user agrees, cooperative charging is performed, and if the user disagrees, cooperative charging is not performed; no, cooperative charging is not performed.
5. The EMS management method for adapting multiple types of batteries according to claim 1, wherein, The dynamic window is determined according to the charging frequency recorded by the current battery, and includes: A1: the charging frequency CS recorded by the current battery is extracted, and it is judged whether the charging frequency CS is less than a frequency threshold YZ; yes, jump to A2; no, the dynamic window is valued as the minimum value of the standard window range; A2: based on a calculation formula determining a dynamic window DT; when the dynamic window DT is less than the minimum value of the standard window range, taking the minimum value of the standard window range as the dynamic window of the current battery; when the dynamic window DT is greater than the maximum value of the standard window range, taking the maximum value of the standard window range as the dynamic window of the current battery; wherein DZ is the maximum value of the standard window range.
6. The EMS management method for adapting to multiple types of batteries according to claim 3, wherein, The charging power of the battery is determined based on the latest full charging time and the battery capacity, and includes: The expected charging duration is determined based on the latest full charging time and the current time, and the expected charging duration is multiplied by an error elimination proportion to determine the chargeable duration; wherein the error elimination proportion is determined according to the dispersion of the historical plug-out time of the user corresponding to the current battery; The amount of energy to be charged is determined by the battery level, and the reference charging power per second of the current battery is determined based on the amount of energy to be charged and the available charging time. Based on computation Determine the current battery power percentage The power ratio Multiply by the maximum output power of the total power supply to obtain the expected charging power per second for each battery. When the expected charging power Greater than the reference charging power At that time, the reference charging power will be used. As the current battery charging power; when the expected charging power Not greater than the reference charging power At that time, the expected charging power will be The current charging power of the battery is represented by i, where i is the battery number of the co-charging battery, with a value range of [1, n], and n is the maximum value of the battery number.
7. The EMS management method for adapting multiple types of batteries according to claim 1, wherein, The dynamic charging power of the battery is obtained, and includes: Real-time acquisition of the battery power of each cooperative charging battery, marking the cooperative charging battery not fully charged as a dynamic charging battery, extracting the standard charging power of the dynamic charging battery , determining the dynamic charging power of the dynamic charging battery based on a calculation formula ; wherein j is the number of the dynamic charging battery, and the value range of j is [0, m], and m is the maximum value of the dynamic charging battery number; is the maximum charging power of the dynamic charging battery numbered j; and ZCG is the maximum output power of the total electric wire corresponding to the cooperative charging battery. 8. An EMS management device for adapting to multiple types of batteries, for operating an EMS management method for adapting to multiple types of batteries according to any one of claims 1 to 7, characterized in that, It includes: A communication unit and a processing unit; The communication unit is used to obtain the target data and the historical use data of the battery when the battery is charging; wherein the target data includes the battery capacity and the charging port number; the historical use data includes the charging time and the user plug-out time; The processing unit is used to obtain the cooperative charging battery based on the charging port number, and judge whether to perform cooperative charging; Yes, the latest full charging time of each cooperative charging battery is determined according to the historical use data of each cooperative charging battery, and the charging power of the battery is determined based on the latest full charging time and the battery capacity; No, the dynamic charging power of the battery is obtained, and the battery is charged according to the dynamic charging power.
9. A storage medium, characterized by A computer program for storing is provided, and the computer program is executed to realize the EMS management method for adapting to multiple types of batteries according to any one of claims 1 to 7.
Citation Information
Patent Citations
EMS-controlled special-shaped battery charging and discharging balancing method
CN119651845A
Electric Vehicle Charger Control System Linked with Energy Management System
US20220153162A1