Intelligent switching method, device and storage medium for battery mode
The battery management system obtains information and load information, determines the battery working mode and switches based on user needs, solves the problem that traditional batteries cannot automatically adjust the mode, and achieves stable operation and user experience improvement.
Patent Information
- Application Number
- CN202411846443.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-16
- Publication Date
- 2025-07-25
- Estimated Expiration
- 2044-12-16
AI Technical Summary
Traditional batteries cannot automatically adjust the working mode according to users' usage needs, resulting in poor user experience.
The battery management system obtains the basic information and load information of the target battery, determines the target working mode based on user needs, and generates a switching command to control the battery to switch to the target working mode within the preset time period.
It realizes automatic adjustment of the battery working mode according to user needs and load conditions, ensuring that the battery operates stably in different usage scenarios, and avoiding the problem of incompatibility between the mode and the load.
Smart Images

Figure CN119340520B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of battery control, and in particular, to an intelligent battery mode switching method, device, and storage medium. Background Art
[0002] As the main energy supply for current RVs, yachts, and portable electronic devices, optimizing the performance of batteries is crucial for extending battery life, enhancing power output, and safety. Traditional batteries usually can only operate in a fixed working mode. For example, in the standard mode, the power supply is stable but the power output is limited, or in the high-power mode, a greater power output can be provided but the battery life will be shortened. They cannot automatically adjust the working mode according to the user's usage requirements, resulting in a poor user experience. Therefore, how to achieve the function of automatically adjusting the working mode according to the usage requirements urgently needs to be solved. Summary of the Invention
[0003] Embodiments of this application provide an intelligent battery mode switching method, device, and storage medium, which achieve the function of automatically adjusting the working mode according to the user's usage requirements.
[0004] In a first aspect, embodiments of this application provide an intelligent battery mode switching method, which includes:
[0005] Obtain the target battery basic information of the target battery through a battery management system; the target battery includes one of the following: a starting dual-purpose battery, an RV battery, a marine battery, a golf cart battery, a battery for energy storage;
[0006] Determine the target load corresponding to the target battery;
[0007] Determine the working modes supported by the target battery according to the target battery basic information and the target load, and obtain n working modes; the n working modes include at least two of the following: normal mode, power mode, long-life mode, fast charge mode, sleep mode; n is an integer greater than 1;
[0008] Determine the first working mode in which the target battery is in at the current moment;
[0009] Obtain the target battery usage requirements of the target user;
[0010] Determine the target working mode according to the target battery usage requirements, the target load, the first working mode, and the n working modes;
[0011] Determine the target switching instruction corresponding to the target working mode, and send the target switching instruction to the target battery to control the target battery to enter the target working mode within a first preset time period; the starting moment of the first preset time period is later than the current moment.
[0012] In a second aspect, an embodiment of the present application provides a battery mode intelligent switching device, which includes: an acquisition unit, a control unit, and a mode switching unit, where:
[0013] The acquisition unit is used to obtain the basic information of the target battery through the battery management system; the target battery includes one of the following: a start - dual - purpose battery, a recreational vehicle battery, a marine battery, a golf cart battery, and an energy storage battery;
[0014] The control unit is used to determine the target load corresponding to the target battery; determine the working modes supported by the target battery according to the basic information of the target battery and the target load, and obtain n working modes; the n working modes include at least two of the following: normal mode, power mode, long - life mode, fast - charge mode, and sleep mode; n is an integer greater than 1; determine the first working mode in which the target battery is in at the current moment;
[0015] The acquisition unit is further used to obtain the target battery usage requirement of the target user;
[0016] The control unit is further used to determine the target working mode according to the target battery usage requirement, the target load, the first working mode, and the n working modes;
[0017] The mode switching unit is used to determine the target switching instruction corresponding to the target working mode, and send the target switching instruction to the target battery to control the target battery to enter the target working mode within a first preset time period; the start time of the first preset time period is later than the current moment.
[0018] In a third aspect, an embodiment of the present application provides an electronic device, including: a processor and a memory, where the memory is used to store one or more programs, and among them, the above - mentioned one or more programs are stored in the above - mentioned memory and are configured to be executed by the above - mentioned processor, and the above - mentioned programs include instructions for executing the steps in the first aspect of the present application.
[0019] In a fourth aspect, an embodiment of the present application provides a computer - readable storage medium, where the computer - readable storage medium stores a computer program for electronic data exchange, and the computer program enables a computer to execute some or all of the steps described in the first aspect of the present application.
[0020] Fifth aspect, embodiments of the present application provide a computer program product, where the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute some or all of the steps described in the first aspect of the present application. The computer program product may be a software installation package.
[0021] Implementing the present application has the following beneficial effects:
[0022] It can be seen that for a battery mode intelligent switching method described in the present application, the target working mode is determined based on the target battery usage requirement, the target load, the first working mode, and n working modes. The target battery usage requirement reflects the user's subjective expectation, while the target load represents the objective requirement of the actual electrical device for the battery. The combination of the two ensures that the determined target working mode can not only meet the usage effect desired by the user but also match the actual load situation, avoiding the situation where the mode is incompatible with the load and cannot work properly. Thus, the function of automatically adjusting the working mode according to the user's usage requirement is realized. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the background art, the following will describe the drawings required to be used in the embodiments of the present application or the background art.
[0024] Figure 1 is a schematic structural diagram of a battery management system provided by an embodiment of the present application;
[0025] Figure 2 is a flowchart of a battery mode intelligent switching method provided by an embodiment of the present application;
[0026] Figure 3 is a block diagram of the functional units of a battery mode intelligent switching device provided by an embodiment of the present application;
[0027] Figure 4 is a schematic structural diagram of an electronic device provided by an embodiment of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0028] In order to enable those skilled in the art to better understand the solution of the present application, the following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only some embodiments of the present application, rather than all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without making creative efforts shall fall within the protection scope of the present application.
[0029] The terms "first", "second", etc. in the description, claims, and the above-mentioned drawings of this application are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units is not limited to the listed steps or units, but optionally further includes steps or units not listed, or optionally further includes other steps or units inherent to these processes, methods, products, or devices.
[0030] Reference to "embodiment" herein means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of this application. The phrase appears in various places in the description and does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment mutually exclusive with other embodiments. Those skilled in the art explicitly and implicitly understand that the embodiments described herein can be combined with other embodiments.
[0031] The electronic device described in the embodiments of this application may include a battery management system.
[0032] Some professional terms involved in this application will be explained below:
[0033] Battery management system: A system that cooperates to monitor the battery status, used to manage and monitor the battery charging and discharging processes. The main purpose is to intelligently manage and maintain the battery to ensure that the battery can provide stable and reliable performance during its lifespan, while maximizing the extension of the battery's service life.
[0034] Battery operating mode: Refers to the internal chemical reactions, energy conversions, and the ways and states of external power supply or charging of the battery under different application scenarios and usage conditions. For example, in the normal mode, parameters such as the charging and discharging current and voltage of the battery are maintained at a relatively balanced level, neither overly pursuing high-power output nor overly restricting the charging and discharging speed to extend the lifespan. Another example is that in the long-life mode, the charging and discharging current and voltage of the battery are strictly controlled within a certain range to avoid overcharging, over-discharging, and large-current charging and discharging, etc., which may damage the battery, in order to extend the battery life.
[0035] Intelligent Bluetooth 5.0 technology: A new generation of Bluetooth standard released by the Bluetooth Technology Alliance in 2016. It adopts a low-power broadcast and connection mode, greatly reducing the power consumption of Bluetooth, significantly reducing the power consumption of the device when using the Bluetooth function, and thus extending the battery life of the device.
[0036] Please refer to Figure 1 , Figure 1 is a schematic structural diagram of a battery management system provided by the embodiments of this application; consisting ofFigure 1 It can be known that the battery management system may include: a battery management module, a target battery, and a target load, where:
[0037] The battery management module is used to obtain various basic information of the target battery or the target load, such as parameters of the battery voltage, current, temperature, power, etc. By monitoring and analyzing these real-time data, the target working mode required by the target battery is determined according to the preset algorithms and strategies, and then the corresponding target switching instruction is generated.
[0038] The main function of the target battery is to store electrical energy and convert chemical energy into electrical energy to supply power to the target load when needed. Different types of batteries, such as lithium-ion batteries, lead-acid batteries, nickel-metal hydride batteries, etc., have different energy densities, charge and discharge characteristics, and cycle lives, etc.
[0039] The target load refers to the device or system powered by the battery, which reflects the actual demand for the battery's electrical energy. Different target loads have different power requirements, operating voltage ranges, operating time requirements, etc., and these requirements directly affect the working mode and charge and discharge strategy of the battery.
[0040] The above battery management system can also control the target battery to switch between different working modes by using the battery mode intelligent switching method provided in the embodiments of the present application. Specifically: obtaining the basic information of the target battery through the battery management system; determining the target load corresponding to the target battery; determining the working modes supported by the target battery according to the basic information of the target battery and the target load, and obtaining n working modes; determining the first working mode in which the target battery is at the current moment; obtaining the target battery usage requirement of the target user; determining the target working mode according to the target battery usage requirement, the target load, the first working mode, and the n working modes; determining the target switching instruction corresponding to the target working mode, and sending the target switching instruction to the target battery to control the target battery to enter the target working mode within the first preset time period.
[0041] Please refer to Figure 2 , Figure 2 which is a flowchart of a battery mode intelligent switching method provided by the embodiments of the present application; the method may include the following steps:
[0042] S201. Obtain the basic information of the target battery through the battery management system; the target battery includes one of the following: a starting and dual-purpose battery, a recreational vehicle battery, a marine battery, a golf cart battery, a battery for energy storage.
[0043] In the embodiments of the present application, the basic information of the battery may include at least one of the following: battery type, operating voltage range, operating current range, battery capacity, service life of the battery, health state of the battery, number of charge and discharge cycles of the battery, etc., which are not limited herein.
[0044] In a specific embodiment, the unique identifier of the target battery can be obtained through the battery management system, and then, based on this unique identifier, the basic battery information can be queried from a preset database to obtain the basic information of the target battery. The preset database is used to store the working data of the battery management system and the target battery.
[0045] S202. Determine the target load corresponding to the target battery.
[0046] In the embodiments of the present application, the target load may include at least one of the following: mobile phone, computer, RV, boat yacht, golf cart, energy storage system, etc., which is not limited herein.
[0047] In a specific embodiment, the line connection condition of the target battery can be obtained through the battery management system, and based on this line connection condition, the load connected to the target battery can be determined to obtain the target load. For example, assuming that the target battery is only connected to an RV, the target load is the RV.
[0048] S203. Determine the working modes supported by the target battery based on the basic information of the target battery and the target load, and obtain n working modes; the n working modes include at least two of the following: normal mode, power mode, long-life mode, fast charge mode, sleep mode; n is an integer greater than 1.
[0049] In the embodiments of the present application, the basic information of the target battery and the target load can be analyzed to find out the working modes supported by the target battery, and n working modes are obtained.
[0050] Optionally, in step S203, the basic information of the target battery includes the target battery type, the first working voltage range, and the first working current range. Determining the working modes supported by the target battery based on the basic information of the target battery and the target load to obtain n working modes includes:
[0051] S31. Determine the target working mode set corresponding to the target battery type; the target working mode set includes k working modes; k is an integer greater than or equal to n;
[0052] S32. Obtain the second working voltage range and the second working current range corresponding to the target load;
[0053] S33. Determine the target working voltage range based on the first working voltage range and the second working voltage range;
[0054] S34. Determine the target working current range based on the first working current range and the second working current range;
[0055] S35. Select the working modes corresponding to the target working voltage range from the target working mode set to obtain a first working mode set;
[0056] S36. Select the working modes corresponding to the target working current range from the target working mode set to obtain a second working mode set;
[0057] S37. Determine the intersection between the first working mode set and the second working mode set to obtain a third working mode set; the third working mode set includes the n working modes.
[0058] In the embodiments of the present application, the target working mode set corresponding to the target battery type can be determined. Specifically, the mapping relationship between the preset battery type and the working mode set can be stored in advance, and the target working mode set corresponding to the target battery type can be determined based on this mapping relationship; then, the second working voltage range and the second working current range corresponding to the target load can be obtained. For example, the usage document of the target load can be obtained, and the working voltage range and the working current range of the target load, that is, the second working voltage range and the second working current range, can be obtained from this usage document; then, the voltage coincidence range between the first working voltage range and the second working voltage range, that is, the target working voltage range, can be determined; similarly, the current coincidence range between the first working current range and the second working current range, that is, the target working current range, can also be determined.
[0059] Furthermore, the working modes corresponding to the target working voltage range can be selected from the target working mode set to obtain a first working mode set. Specifically, each working mode can correspond to a working voltage range and a working current range. Determine the working voltage ranges corresponding to each working mode in the target working mode set to obtain k working voltage ranges, and detect whether there is an overlapping part between these k working voltage ranges and the target working voltage range. If a certain working voltage range has an overlapping part and the overlapping ratio is greater than or equal to the preset overlapping ratio (for example, 50%), then the working mode corresponding to this working voltage range is selected into the first working mode set. For example, assume that the target working voltage range is 30V - 80V, and the working voltage range corresponding to the power mode is 50V - 100V, then the overlapping part is 50V - 80V, and the overlapping ratio = (80 - 50) / (80 - 30) = 60%. Since 60% is greater than the preset overlapping ratio of 50%, the power mode is selected into the first working mode set; then, the working modes corresponding to the target working current range can be selected from the target working mode set to obtain a second working mode set. Specifically, the obtaining method of the second working mode set can be the same as that of the first working mode set; finally, the intersection between the first working mode set and the second working mode set can be obtained to obtain a third working mode set, that is, the n working modes.
[0060] In this way, by selecting a third set of working modes that match both the target working voltage range and the target working current range from the set of target working modes, a stable power supply can be provided for the load. In a complex power consumption environment, such as when a recreational vehicle is in motion or a yacht is sailing on the water, the power consumption requirements of various devices will constantly change. Through this precise mode matching, it can be ensured that the power system always operates stably, avoiding problems such as device restart and data loss caused by unstable power supply.
[0061] Optionally, the first working voltage range can be 12V - 120V.
[0062] S204. Determine the first working mode in which the target battery is currently in.
[0063] In the embodiments of the present application, at the current moment, the operating state of the target battery can be detected through a battery management system, and the first working mode can be determined according to this operating state. For example, when the target battery is at a high charge level and has low power consumption, the first working mode can be the sleep mode. Another example is that when the target battery is at a low charge level and has high power consumption, the first working mode can be the power mode.
[0064] S205. Obtain the target battery usage requirements of the target user.
[0065] In the embodiments of the present application, the target battery usage requirements can include at least one of the following: endurance requirements, lifespan requirements, power requirements, etc., which are not limited herein.
[0066] In a specific embodiment, devices related to the target battery (i.e., target loads), such as mobile phones, computers, recreational vehicles, etc., can be collected through a battery management system, and data during their usage, including usage duration, usage frequency, charging time, depth of discharge, etc., can be collected to obtain historical battery usage data. The target battery usage requirements can be predicted based on the historical battery usage data. For example, data such as the daily time distribution of a user's mobile phone usage and the usage duration of each application can be collected through the battery management system to analyze the user's power consumption behavior pattern, thereby obtaining the target battery usage requirements. Alternatively, the target battery usage requirements can also be manually input into the battery management system by the user.
[0067] S206. Determine the target working mode according to the target battery usage requirements, the target load, the first working mode, and the n working modes.
[0068] In the embodiments of the present application, the target battery usage requirements, the target load, the first working mode, and the n working modes can be analyzed to determine the working mode to be switched to next, that is, the target working mode.
[0069] Optionally, in step S206, determining the target working mode according to the target battery usage requirement, the target load, the first working mode, and the n working modes includes:
[0070] A1. Determine the target user requirement parameters corresponding to the target battery usage requirement; the target user requirement parameters include at least one of the following: voltage parameter, current parameter, power parameter, battery life parameter;
[0071] A2. Determine the working modes corresponding to the target user requirement parameters among the n working modes to obtain a fourth set of working modes;
[0072] A3. Obtain the lowest load requirement parameters corresponding to the target load; the lowest load requirement parameters include at least one of the following: load requirement voltage parameter, load requirement current parameter, load requirement power parameter;
[0073] A4. Determine the target usage scenario corresponding to the target load;
[0074] A5. Adjust the lowest load requirement parameters based on the target usage scenario to obtain the target load requirement parameters;
[0075] A6. Determine the working modes corresponding to the target load requirement parameters among the n working modes to obtain a fifth set of working modes;
[0076] A7. When the first working mode is included in both the fourth set of working modes and the fifth set of working modes, determine the target working mode according to the first working mode.
[0077] In the embodiments of the present application, the load requirement parameters are specific quantitative indicators or characteristic data that describe the requirements put forward by the load on the power supply (for example, the target battery), and reflect various characteristics of the electrical energy that the load needs to obtain from the power supply during normal operation.
[0078] In a specific embodiment, the target user demand parameters corresponding to the target battery usage requirements can be determined. Specifically, the target demand category corresponding to the target battery usage requirements can be determined first. For example, the endurance demand, power demand, safety demand, etc. Then, the target user demand parameters can be determined according to the target demand category. It can be a pre-stored mapping relationship between the preset demand category and the user demand parameters. Based on this mapping relationship, the target user demand parameters corresponding to the target demand category can be determined. Next, the working modes among the n working modes that can meet the target user demand parameters can be determined, and at least one working mode, that is, the fourth working mode set, can be obtained. Then, the lowest load demand parameters corresponding to the target load can be obtained. Specifically, the target load basic information (such as the load voltage range) of the target load can be obtained through the battery management system, and the lowest load demand parameters can be determined according to the target load basic information. For example, assuming the load voltage range is 12V - 30V, then the lowest load demand parameter is 12V.
[0079] Furthermore, the load type of the target load can be obtained through the battery management system, and then the target usage scenario can be determined according to the load type. For example, assuming the load type is the vehicle type, then the target usage scenario is the vehicle driving scenario. Next, the lowest load demand parameters can be adjusted based on the target usage scenario to obtain the target load demand parameters. Specifically, the target influence factor of the target load for the target usage scenario can be determined. It can be a pre-stored mapping relationship between the preset usage scenario and the influence factor. Based on this mapping relationship, the target influence factor corresponding to the target usage scenario can be determined. The value range of the target influence factor is 0 - 10. Next, the lowest load demand parameters can be adjusted according to the target influence factor. The specific calculation formula is as follows:
[0080] Target load demand parameter = Lowest load demand parameter * (1 + Target influence factor);
[0081] The target load demand parameters can be obtained according to the above formula. Next, the working modes among the n working modes that can meet the target load demand parameters can be determined, and the fifth working mode set can be obtained. When the first working mode is included in both the fourth working mode set and the fifth working mode set, it indicates that the first working mode can meet the needs of both the target user and the target load. Then, the first working mode can be determined as the target working mode, and the target battery does not need to switch the working mode.
[0082] Thus, by determining the target user demand parameters, it is possible to accurately understand the specific requirements of the user for battery performance, such as specific voltage, current, power, and battery life, etc. Therefore, a more targeted appropriate working mode can be provided. Additionally, the minimum load demand parameters can be obtained and adjusted based on the usage scenario to obtain the target load demand parameters that better fit the actual load situation, ensuring that the battery meets both the user's needs and the load requirements, and improving energy utilization efficiency and system stability.
[0083] Optionally, when the first working mode is not included in the fourth working mode set or the first working mode is not included in the fifth working mode set, the method includes:
[0084] B1. Determine the intersection between the fourth working mode set and the fifth working mode set to obtain a sixth working mode set;
[0085] B2. When the sixth working mode set is not an empty set, obtain the operation data and environment data of the target battery at the current moment to obtain the current operation data and the current environment data;
[0086] B3. Determine the current evaluation value according to the current operation data;
[0087] B4. Obtain the evaluation value corresponding to each working mode in the sixth working mode set to obtain m evaluation values; m is a positive integer less than or equal to n;
[0088] B5. Determine the difference between each of the m evaluation values and the current evaluation value to obtain m evaluation differences;
[0089] B6. Determine the first adjustment difficulty value corresponding to each of the m evaluation differences to obtain m first adjustment difficulty values;
[0090] B7. Determine the power consumption impact parameter of the current environment data on the target battery to obtain the environment power consumption impact parameter;
[0091] B8. Obtain the estimated power consumption for mode switching corresponding to each working mode in the sixth working mode set to obtain m estimated power consumptions for mode switching;
[0092] B9. Determine m actual power consumptions for mode switching based on the environment power consumption impact parameter and the m estimated power consumptions for mode switching;
[0093] B10. Determine the second adjustment difficulty value corresponding to each of the m actual power consumptions for mode switching to obtain m second adjustment difficulty values;
[0094] B11. Determine m target adjustment difficulty values based on the m first adjustment difficulty values and the m second adjustment difficulty values;
[0095] B12. Determine the minimum difficulty value among the m target adjustment difficulty values, and determine the working mode corresponding to the minimum difficulty value as the target working mode.
[0096] In the embodiments of the present application, the current environmental data may include at least one of the following: temperature data, humidity data, the area of dust or impurities on the surface of the target battery, etc., which is not limited herein; the evaluation value of the working mode represents the comprehensive quantitative evaluation result of the quality or compliance with a certain standard of the working mode in a specific aspect (for example, in terms of battery life). The value range of the evaluation value can be 0 - 100. The larger the evaluation value, the better the corresponding working mode performs in the specific aspect.
[0097] In a specific embodiment, obtain the intersection between the fourth working mode set and the fifth working mode set to obtain the sixth working mode set; when the sixth working mode set is not an empty set, the operation data and environmental data of the target battery at the current moment can be obtained to obtain the current operation data and the current environmental data. Specifically, various operation parameters of the battery, such as the remaining power of the battery, the battery working voltage, the battery working current, etc., can be monitored and recorded in real time through the battery management system, so as to obtain the current operation data. Then, the environmental data around the target battery can also be detected through an environmental sensor (for example, a temperature sensor) to obtain the current environmental data; then, the current evaluation value can be determined according to the current operation data. Specifically, data such as the battery capacity, charge-discharge efficiency, and internal resistance change amount in the current operation data can be used as evaluation indicators, and the current values of each evaluation indicator are weighted and summed according to their corresponding weights to obtain the current evaluation value. For example, assume that the weight of the battery capacity is 0.2, the weight of the charge-discharge efficiency is 0.3, and the weight of the internal resistance change amount is 0.5. The battery capacity in the current operation data is 80%, the charge-discharge efficiency is 85%, and the internal resistance change amount is 10% (expressed as the internal resistance growth rate). Then:
[0098] Current evaluation value = (0.2×80% + 0.3×85% + 0.5×10%)×100 = 63.5;
[0099] Next, the evaluation value corresponding to each working mode in the sixth working mode set (including m working modes) can be obtained to get m evaluation values. Specifically, the mapping relationship between the preset working mode and the evaluation value can be stored in advance, and based on this mapping relationship, the evaluation value corresponding to each working mode in the sixth working mode set can be determined to obtain m evaluation values. Then, the difference between each evaluation value in the m evaluation values and the current evaluation value can be calculated to obtain m evaluation differences. Then, the first adjustment difficulty value corresponding to each evaluation difference in the m evaluation differences can be determined to obtain m first adjustment difficulty values. Similarly, the mapping relationship between the preset evaluation difference and the first adjustment difficulty value can be stored in advance, and based on this mapping relationship, the m first adjustment difficulty values corresponding to the m evaluation differences can be determined. Further, the power consumption impact parameter of the current environmental data on the target battery can be determined to obtain the environmental power consumption impact parameter. Specifically, the current environmental data can include the environmental temperature. Then, the power consumption impact of different environmental data on the target battery can be analyzed. The target battery can be set to the first working mode, and then the target battery can be placed under different environmental data for testing. The battery management system monitors and records the power consumption data of the target battery, so as to obtain the power consumption impact parameters of different environmental data on the target battery and obtain multiple power consumption impact parameters. For example, in a high-temperature environment, the power consumption of the target battery will increase (decrease) by what percentage. In a suitable environment, the power consumption of the target battery will remain unchanged or even decrease. In this way, the environmental power consumption impact parameter corresponding to the current environmental data among these multiple power consumption impact parameters can be determined. The value range of the environmental power consumption impact parameter can be -0.25 - 0.25.
[0100] Further, the estimated mode switching power consumption corresponding to each working mode in the sixth working mode set can be obtained to get m estimated mode switching power consumptions. Specifically, the mapping relationship between the preset working mode and the estimated mode switching power consumption can be stored in advance, and based on this mapping relationship, the estimated mode switching power consumption corresponding to each working mode in the sixth working mode set can be determined to obtain m estimated mode switching power consumptions. Then, based on the environmental power consumption impact parameter and the m estimated mode switching power consumptions, the m actual mode switching power consumptions can be determined. The specific calculation formula is as follows:
[0101] The first actual mode switching power consumption = the first estimated mode switching power consumption * (1 + the environmental power consumption impact parameter);
[0102] Among them, the first estimated mode switching power consumption is any one of the m estimated mode switching power consumptions; the first actual mode switching power consumption is the first actual mode switching power consumption corresponding to the first estimated mode switching power consumption; by calculating according to the above formula m times, m actual mode switching power consumptions can be obtained; then, for each actual mode switching power consumption among the m actual mode switching power consumptions, the corresponding second adjustment difficulty value can be determined, obtaining m second adjustment difficulty values. Specifically, a mapping relationship between the preset actual mode switching power consumption and the second adjustment difficulty value can be pre-stored, and based on this mapping relationship, the m second adjustment difficulty values corresponding to the m actual mode switching power consumptions can be determined; then, based on the m first adjustment difficulty values and the m second adjustment difficulty values, m target adjustment difficulty values can be determined. Specifically, the corresponding second adjustment difficulty value among the m first adjustment difficulty values and the m second adjustment difficulty values can be directly added to obtain m target adjustment difficulty values; finally, the minimum difficulty value among the m target adjustment difficulty values can be found, and the working mode corresponding to the minimum difficulty value can be determined as the target working mode.
[0103] In this way, by determining the intersection of the fourth working mode set and the fifth working mode set to obtain the sixth working mode set, it is possible to focus on the working modes that both meet certain conditions and are relevant to the current situation, avoiding blind consideration of all working modes, narrowing the scope of subsequent analysis and decision-making, and improving the accuracy and efficiency of mode selection.
[0104] Optionally, the target working mode includes at least one working mode. When the sixth working mode set is not an empty set, the method further includes:
[0105] C1. Obtain the target working mode switching data of the target battery within a second preset time period; the end time of the second preset time period is earlier than the current time;
[0106] C2. Based on the target working mode switching data, determine the average running duration corresponding to each working mode in the sixth working mode set, obtaining m average running durations;
[0107] C3. Determine the target switching frequency corresponding to the target working mode switching data;
[0108] C4. Divide the first preset time period based on the target switching frequency to obtain j partial time periods; j is a positive integer;
[0109] C5. Assign priorities to each working mode in the sixth working mode set according to the m average running durations, obtaining m priorities; the longer the average running duration, the higher the priority;
[0110] C6. Assign a working mode to each of the j partial time periods according to the m priorities, obtaining j working modes;
[0111] C7. Determine the target working mode based on the j working modes.
[0112] In the embodiments of the present application, the second preset time period may be preset in advance or by default.
[0113] In a specific embodiment, the target working mode switching data of the target battery within the second preset time period can be obtained. Specifically, all the working data of the target battery within the second preset time period can be queried from the above preset database, and then the working mode switching data can be extracted from these working data to obtain the target working mode switching data. Then, the average running duration corresponding to each working mode in the sixth working mode set can be determined based on the target working mode switching data, obtaining m average running durations. Specifically, the m working modes in the sixth working mode set can be determined first, and then, according to the target working mode switching data, the running times and total running durations of each working mode can be determined. Dividing the total running duration by the running times can obtain the average running duration. In this way, m average running durations can be obtained.
[0114] Further, the target switching frequency can be determined according to the target working mode switching data. Specifically, the number of working mode switches in the target working mode switching data can be determined first to obtain the total number of switches. Then, the total number of switches is divided by the second preset time period to obtain the target switching frequency. Next, the first preset time period can be divided based on the target switching frequency to obtain j partial time periods. For example, assuming that the first preset time period is from 8:00 to 16:00 on a certain day and the target switching frequency is 0.5 times per hour, then 8:00 - 16:00 can be divided into four time periods: 8:00 - 10:00, 10:00 - 12:00, 12:00 - 14:00, and 14:00 - 16:00, that is, j = 4. Then, the m average running durations can be used to assign priorities to each working mode in the sixth working mode set to obtain m priorities. The longer the average running duration corresponding to the working mode, the higher the priority. Next, based on the m priorities, a working mode can be assigned to each of the j partial time periods to obtain j working modes. Specifically, the m priorities can be sorted in descending order first to obtain the first priority order, and the list of working modes to be assigned corresponding to the first priority order can be obtained. Starting from the highest priority in the first priority order, working modes are assigned to the j partial time periods in sequence. If m is greater than or equal to j, there are enough working modes to choose from. Each time a working mode is assigned, it is removed from the list of working modes to be assigned to avoid repeated assignment. If m is less than j, working modes can be assigned to the j partial time periods in sequence starting from the highest priority. When all the working modes in the list of working modes to be assigned have been assigned once, the assignment can start again from the working modes with high priorities and be cyclically assigned to the partial time periods that have not obtained working modes in sequence, so as to obtain j working modes. Finally, the target working mode can be determined based on the j working modes. Specifically, the j working modes can be sorted according to their corresponding partial time periods to obtain the working mode order of the target battery in the first preset time period, that is, the target working mode.
[0115] In this way, by dividing the first preset time period into j partial time periods according to the target switching frequency and assigning a working mode to each partial time period, flexible configuration of different working modes in different time stages is achieved. This can better meet the different working requirements that the battery may face at different times. For example, a more efficient working mode can be adopted during a time period with high device load, and an energy-saving mode can be adopted during a time period with low load, thereby optimizing the overall performance of the system and the energy utilization efficiency.
[0116] Optionally, when the sixth working mode set is an empty set, the method includes:
[0117] D1. Obtain the operation data of the target battery within the second preset time period to obtain the first operation data set;
[0118] D2. Obtain the moments corresponding to each mode switching operation of the target battery in the second preset time period, and obtain i moments; i is a positive integer;
[0119] D3. Determine the operation data corresponding to each moment in the i moments in the first operation data set, and obtain i pieces of operation data;
[0120] D4. Determine the similarity between the i pieces of operation data and the current operation data, and obtain i similarities;
[0121] D5. Determine the maximum similarity among the i similarities, and determine the target mode switching operation corresponding to the maximum similarity;
[0122] D6. Determine the second working mode corresponding to the target mode switching operation, and determine the target working mode according to the second working mode.
[0123] In the embodiments of the present application, all the working data of the target battery in the second preset time period can be queried from the above preset database to obtain the first operation data set. Then, the moments corresponding to each mode switching operation of the target battery can be obtained from the above target working mode switching data to obtain i moments. Then, the operation data corresponding to each moment in the i moments in the first operation data set can be determined to obtain i pieces of operation data. Specifically, the first operation data set can be traversed, and a suitable search algorithm can be used to find the data records matching the i moments according to the timestamp field of the data. For example, if the first operation data set is small, a simple linear search can be used to implement it. However, if the first operation data set is large, a high-efficiency search algorithm such as a binary search algorithm can be used to improve the search speed.
[0124] Next, the similarity between the i operating data and the current operating data can be determined to obtain i similarities. Specifically, key variables or metrics that can represent the essential characteristics of the data are selected from the operating data. For example, for battery operating data, voltage, current, temperature, remaining power, etc. can be selected as key features, and the operating data at each moment is combined into a feature vector according to the selected key features. For example, if voltage and current are selected as key features, then for the operating data at a certain moment, a two-dimensional feature vector (voltage value, current value) can be constructed. In this way, the i operating data and the current operating data can both be transformed into feature vectors, obtaining i feature vectors and a current feature vector. Then, a suitable similarity algorithm (such as Euclidean distance) can be used to calculate the similarity between each of the i feature vectors and a current feature vector, obtaining i similarities. Then, the maximum similarity among the i similarities can be found to determine the target mode switching operation corresponding to the maximum similarity. Finally, the second working mode corresponding to the target mode switching operation is determined. For example, assuming that the target mode switching operation is to switch the target battery from the power mode to the long-life mode (i.e., the second working mode), the second working mode is determined as the target working mode.
[0125] In this way, through the method of similarity comparison, the mode switching operation and the corresponding working mode that are most suitable for the current operating state are accurately selected from numerous historical mode switching situations, which can better adapt to factors such as the current specific working conditions, load requirements, and environmental conditions of the battery. Thus, the accuracy of determining the target working mode is improved.
[0126] S207. Determine the target switching instruction corresponding to the target working mode, and send the target switching instruction to the target battery to control the target battery to enter the target working mode within the first preset time period; the starting moment of the first preset time period is later than the current moment.
[0127] In the embodiment of the present application, the first preset time period can be preset in advance or by default.
[0128] In a specific embodiment, a switching instruction for controlling the target battery to enter the target working mode, that is, the target switching instruction, can be generated. For example, the mapping relationship between the preset working mode and the switching instruction can be pre-stored, and the target switching instruction corresponding to the working mode is determined based on this mapping relationship. Then, the target switching instruction can be sent to the target battery, thereby controlling the target battery to enter the target working mode within the first preset time period.
[0129] Optionally, the method further includes:
[0130] S71. Obtain a first switching instruction sent by the target user through a preset control method; the preset control method includes at least one of the following: button control method, APP control method, Bluetooth control method, WiFi control method, voice control method;
[0131] S72. Determine that the first switching instruction is the target switching instruction, execute the step of determining the target switching instruction corresponding to the target working mode, and send the target switching instruction to the target battery to control the target battery to enter the target working mode within a first preset time period.
[0132] In the embodiment of the present application, a first switching instruction sent by the target user through a preset control method can be obtained. For example, the preset control method can be a button control method. By setting dedicated physical or virtual buttons for the target battery, these buttons can be physical buttons or touch buttons, and each button corresponds to a different function, including a button for triggering the working mode switch. For example, a separate "mode switch" button can be set. After the user clicks the "mode switch" button, the working mode that the target battery will enter can be selected, and then a first switching instruction is generated according to the selected working mode. Another example is that the preset control method can be a Bluetooth control method. The user terminal (such as a mobile phone, computer, etc.) can use the intelligent Bluetooth 5.0 technology to establish a Bluetooth connection with the battery management system. The target user can select the working mode on the user terminal, and then the user terminal will generate a corresponding switching instruction and send it to the battery management system through the established Bluetooth connection. The switching instruction contains the application mode information selected by the target user and related setting parameters, etc.
[0133] Next, the first switching instruction can be determined as the target switching instruction, and directly execute the step of determining the target switching instruction corresponding to the target working mode, and send the target switching instruction to the target battery to control the target battery to enter the target working mode within a first preset time period.
[0134] Implementing the present application has the following beneficial effects:
[0135] It can be seen that in a battery mode intelligent switching method described in the present application, the target working mode is determined according to the target battery usage requirement, target load, first working mode, and n working modes. The target battery usage requirement reflects the subjective expectation of the user, while the target load represents the objective requirement of the actual electrical device for the battery. The combination of the two ensures that the determined target working mode can not only meet the usage effect desired by the user but also match the actual load situation, avoiding the situation where the mode is incompatible with the load and cannot work properly. Thus, the function of automatically adjusting the working mode according to the user's usage requirement is realized.
[0136] Please refer toFigure 3 , Figure 3 is a functional unit composition block diagram of an intelligent battery mode switching device 300 provided by an embodiment of the present application; the intelligent battery mode switching device 300 includes: an acquisition unit 301, a control unit 302, and a mode switching unit 303, where:
[0137] The acquisition unit 301 is configured to obtain target battery basic information of a target battery through a battery management system; the target battery includes one of the following: a starting dual-purpose battery, a recreational vehicle battery, a marine battery, a golf cart battery, and an energy storage battery;
[0138] The control unit 302 is configured to determine a target load corresponding to the target battery; determine working modes supported by the target battery according to the target battery basic information and the target load, and obtain n working modes; the n working modes include at least two of the following: a normal mode, a power mode, a long-life mode, a fast charge mode, and a sleep mode; n is an integer greater than 1; determine a first working mode in which the target battery is in at the current moment;
[0139] The acquisition unit 301 is further configured to obtain a target battery usage requirement of a target user;
[0140] The control unit 302 is further configured to determine a target working mode according to the target battery usage requirement, the target load, the first working mode, and the n working modes;
[0141] The mode switching unit 303 is configured to determine a target switching instruction corresponding to the target working mode, and send the target switching instruction to the target battery to control the target battery to enter the target working mode within a first preset time period; a starting moment of the first preset time period is later than the current moment.
[0142] Optionally, the target battery basic information includes a target battery type, a first working voltage range, and a first working current range. In terms of determining the working modes supported by the target battery according to the target battery basic information and the target load, and obtaining n working modes, the control unit 302 is specifically configured to:
[0143] Determine a target working mode set corresponding to the target battery type; the target working mode set includes k working modes; k is an integer greater than or equal to n;
[0144] Obtain a second working voltage range and a second working current range corresponding to the target load;
[0145] Determine a target working voltage range according to the first working voltage range and the second working voltage range;
[0146] Determine a target operating current range according to the first operating current range and the second operating current range;
[0147] Select an operating mode corresponding to the target operating voltage range from the target operating mode set to obtain a first operating mode set;
[0148] Select an operating mode corresponding to the target operating current range from the target operating mode set to obtain a second operating mode set;
[0149] Determine the intersection between the first operating mode set and the second operating mode set to obtain a third operating mode set; the third operating mode set includes the n operating modes.
[0150] Optionally, the first operating voltage range is 12V - 120V.
[0151] Optionally, in terms of determining the target operating mode according to the target battery usage requirement, the target load, the first operating mode, and the n operating modes, the control unit 302 is specifically configured to:
[0152] Determine a target user requirement parameter corresponding to the target battery usage requirement; the target user requirement parameter includes at least one of the following: voltage parameter, current parameter, power parameter, battery life parameter;
[0153] Determine an operating mode corresponding to the target user requirement parameter among the n operating modes to obtain a fourth operating mode set;
[0154] Obtain a lowest load requirement parameter corresponding to the target load; the lowest load requirement parameter includes at least one of the following: load requirement voltage parameter, load requirement current parameter, load requirement power parameter;
[0155] Determine a target usage scenario corresponding to the target load;
[0156] Adjust the lowest load requirement parameter based on the target usage scenario to obtain a target load requirement parameter;
[0157] Determine an operating mode corresponding to the target load requirement parameter among the n operating modes to obtain a fifth operating mode set;
[0158] When the first operating mode is included in both the fourth operating mode set and the fifth operating mode set, determine the target operating mode according to the first operating mode.
[0159] Optionally, when the fourth working mode set does not include the first working mode, or the fifth working mode set does not include the first working mode, the battery mode intelligent switching device 300 is specifically configured to:
[0160] Determine the intersection between the fourth working mode set and the fifth working mode set to obtain a sixth working mode set;
[0161] When the sixth working mode set is not an empty set, obtain the operation data and environment data of the target battery at the current moment to obtain the current operation data and current environment data;
[0162] Determine the current evaluation value according to the current operation data;
[0163] Obtain the evaluation value corresponding to each working mode in the sixth working mode set to obtain m evaluation values; m is a positive integer less than or equal to n;
[0164] Determine the difference between each evaluation value in the m evaluation values and the current evaluation value to obtain m evaluation differences;
[0165] Determine the first adjustment difficulty value corresponding to each evaluation difference in the m evaluation differences to obtain m first adjustment difficulty values;
[0166] Determine the power consumption impact parameter of the current environment data on the target battery to obtain the environment power consumption impact parameter;
[0167] Obtain the estimated mode switching power consumption corresponding to each working mode in the sixth working mode set to obtain m estimated mode switching power consumptions;
[0168] Based on the environment power consumption impact parameter and the m estimated mode switching power consumptions, determine m actual mode switching power consumptions;
[0169] Determine the second adjustment difficulty value corresponding to each actual mode switching power consumption in the m actual mode switching power consumptions to obtain m second adjustment difficulty values;
[0170] Based on the m first adjustment difficulty values and the m second adjustment difficulty values, determine m target adjustment difficulty values;
[0171] Determine the minimum difficulty value among the m target adjustment difficulty values, and determine the working mode corresponding to the minimum difficulty value as the target working mode.
[0172] Optionally, the target working mode includes at least one working mode. When the sixth working mode set is not an empty set, the battery mode intelligent switching device 300 is specifically configured to:
[0173] Obtain the target working mode switching data of the target battery within the second preset time period; the end time of the second preset time period is earlier than the current time;
[0174] Based on the target working mode switching data, determine the average running duration corresponding to each working mode in the sixth working mode set, and obtain m average running durations;
[0175] Determine the target switching frequency corresponding to the target working mode switching data;
[0176] Based on the target switching frequency, divide the first preset time period into j partial time periods; j is a positive integer;
[0177] According to the m average running durations, assign priorities to each working mode in the sixth working mode set, and obtain m priorities; the longer the average running duration, the higher the priority;
[0178] According to the m priorities, assign a working mode to each of the j partial time periods, and obtain j working modes;
[0179] Based on the j working modes, determine the target working mode.
[0180] Optionally, when the sixth working mode set is an empty set, the battery mode intelligent switching device 300 is specifically configured to:
[0181] Obtain the operation data of the target battery within the second preset time period, and obtain the first operation data set;
[0182] Obtain the time corresponding to each mode switching operation of the target battery in the second preset time period, and obtain i times; i is a positive integer;
[0183] Determine the operation data corresponding to each time in the first operation data set among the i times, and obtain i operation data;
[0184] Determine the similarity between the i operation data and the current operation data, and obtain i similarities;
[0185] Determine the maximum similarity among the i similarities, and determine the target mode switching operation corresponding to the maximum similarity;
[0186] Determine the second working mode corresponding to the target mode switching operation, and determine the target working mode according to the second working mode.
[0187] Optionally, the battery mode intelligent switching device 300 is specifically configured to:
[0188] Obtain a first switching instruction sent by the target user through a preset control method; the preset control method includes at least one of the following: button control method, APP control method, Bluetooth control method, WiFi control method, voice control method;
[0189] Determine that the first switching instruction is the target switching instruction, execute the step of determining the target switching instruction corresponding to the target working mode, and send the target switching instruction to the target battery to control the target battery to enter the target working mode within a first preset time period.
[0190] In specific implementation, the battery mode intelligent switching device 300 described in the embodiments of the present invention may also execute other implementation manners described in the battery mode intelligent switching method provided in the embodiments of the present invention, which will not be elaborated here.
[0191] Please refer to Figure 4 , Figure 4 FIG. is a schematic structural diagram of an electronic device provided in an embodiment of the present application. The electronic device includes a processor, a memory, a communication interface, and one or more programs. The processor, the memory, and the communication interface are interconnected through a bus. The above one or more programs are stored in the above memory and are configured to be executed by the above processor. The above one or more programs include instructions for executing other implementation manners described in the battery mode intelligent switching method provided in the embodiments of the present invention, which will not be elaborated here.
[0192] An embodiment of the present application also provides a computer storage medium. The computer storage medium stores a computer program for electronic data exchange. The computer program enables a computer to execute some or all of the steps of any method described in the above method embodiments. The above computer may include an electronic device.
[0193] An embodiment of the present application also provides a computer program product. The computer program product includes a non-transitory computer-readable storage medium storing a computer program. The computer program is operable to enable a computer to execute some or all of the steps of any method described in the above method embodiments. The computer program product may be a software installation package. The above computer may include an electronic device.
[0194] It should be noted that for the foregoing method embodiments, for the sake of simple description, they are all expressed as a series of action combinations. However, those skilled in the art should know that the present application is not limited by the described action sequence, because according to the present application, certain steps may be performed in other sequences or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily essential to the present application.
[0195] In the above embodiments, the descriptions of the respective embodiments have their own focuses. For parts not detailed in a certain embodiment, reference may be made to the relevant descriptions of other embodiments.
[0196] In several embodiments provided in the present application, it should be understood that the disclosed device can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the above division of units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed coupling or direct coupling or communication connection to each other can be through some interfaces. The indirect coupling or communication connection of the device or unit can be in an electrical or other form.
[0197] The units described above as separate components may or may not be physically separated. The components displayed as units may or may not be physical units, that is, they may be located in one place or distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0198] In addition, the functional units in the various embodiments of the present application can be integrated into one processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
[0199] If the above integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable memory. Based on such an understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a memory and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the above methods in the various embodiments of the present application. The aforementioned memory includes: various media such as USB flash drives, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), mobile hard disks, magnetic disks, or optical discs that can store program codes.
[0200] The above has introduced the embodiments of the present application in detail. Specific examples are used herein to expound the principle and implementation manner of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for those of ordinary skill in the art, according to the idea of the present application, there will be changes in the specific implementation manner and application scope. In summary, the content of this specification should not be construed as a limitation to the present application.
Claims
1. An intelligent battery mode switching method, characterized in that, The method includes: Obtaining target battery basic information of a target battery through a battery management system; the target battery includes one of the following: a start - dual - purpose battery, a recreational vehicle battery, a marine battery, a golf cart battery, an energy storage battery; Determining a target load corresponding to the target battery; Determining working modes supported by the target battery according to the target battery basic information and the target load, obtaining n working modes; the n working modes include at least two of the following: a normal mode, a power mode, a long - life mode, a fast - charge mode, a sleep mode; n is an integer greater than 1; Determining a first working mode in which the target battery is in at the current moment; Obtaining a target battery usage requirement of a target user; Determining a target working mode according to the target battery usage requirement, the target load, the first working mode, and the n working modes; Determining a target switching instruction corresponding to the target working mode, and sending the target switching instruction to the target battery to control the target battery to enter the target working mode within a first preset time period; the starting moment of the first preset time period is later than the current moment; Among them, determining the target working mode according to the target battery usage requirement, the target load, the first working mode, and the n working modes includes: Determining target user requirement parameters corresponding to the target battery usage requirement; the target user requirement parameters include at least one of the following: a voltage parameter, a current parameter, a power parameter, a battery life parameter; Determining working modes in the n working modes corresponding to the target user requirement parameters, obtaining a fourth working mode set; Obtaining minimum load requirement parameters corresponding to the target load; the minimum load requirement parameters include at least one of the following: a load - required voltage parameter, a load - required current parameter, a load - required power parameter; Determining a target usage scenario corresponding to the target load; Adjusting the minimum load requirement parameters based on the target usage scenario to obtain target load requirement parameters; Determining working modes in the n working modes corresponding to the target load requirement parameters, obtaining a fifth working mode set; When the first working mode is included in both the fourth working mode set and the fifth working mode set, determining the target working mode according to the first working mode; Among them, when the first working mode is not included in the fourth working mode set, or the first working mode is not included in the fifth working mode set, the method includes: Determining an intersection between the fourth working mode set and the fifth working mode set, obtaining a sixth working mode set; When the sixth working mode set is not an empty set, obtaining operation data and environment data of the target battery at the current moment, obtaining current operation data and current environment data; the current environment data includes at least one of the following: temperature data, humidity data, the area of dust or impurities on the surface of the target battery; Determining a current evaluation value according to the current operation data; Obtain the evaluation values corresponding to each working mode in the sixth working mode set to obtain m evaluation values; m is a positive integer less than or equal to n; specifically, a mapping relationship between the preset working mode and the evaluation value can be pre-stored, and based on this mapping relationship, determine the evaluation value corresponding to each working mode in the sixth working mode set to obtain the m evaluation values; Determine the difference between each evaluation value in the m evaluation values and the current evaluation value to obtain m evaluation differences; Determine the first adjustment difficulty value corresponding to each evaluation difference in the m evaluation differences to obtain m first adjustment difficulty values; Determine the power consumption impact parameter of the target battery by the current environmental data to obtain the environmental power consumption impact parameter; Obtain the estimated mode switching power consumption corresponding to each working mode in the sixth working mode set to obtain m estimated mode switching power consumptions; Determine m actual mode switching power consumptions based on the environmental power consumption impact parameter and the m estimated mode switching power consumptions; Determine the second adjustment difficulty value corresponding to each actual mode switching power consumption in the m actual mode switching power consumptions to obtain m second adjustment difficulty values; Determine m target adjustment difficulty values based on the m first adjustment difficulty values and the m second adjustment difficulty values; Determine the minimum difficulty value among the m target adjustment difficulty values, and determine the working mode corresponding to the minimum difficulty value as the target working mode.
2. The method according to claim 1, characterized in that The target battery basic information includes the target battery type, the first working voltage range, and the first working current range. Determining the working modes supported by the target battery according to the target battery basic information and the target load to obtain n working modes includes: Determine the target working mode set corresponding to the target battery type; the target working mode set includes k working modes; k is an integer greater than or equal to n; Obtain the second working voltage range and the second working current range corresponding to the target load; Determine the target working voltage range according to the first working voltage range and the second working voltage range; Determine the target working current range according to the first working current range and the second working current range; Select the working modes corresponding to the target working voltage range from the target working mode set to obtain the first working mode set; Select the working modes corresponding to the target working current range from the target working mode set to obtain the second working mode set; Determine the intersection between the first working mode set and the second working mode set to obtain the third working mode set; the third working mode set includes the n working modes.
3. The method according to claim 2, characterized in that, The first working voltage range is 12V - 120V.
4. The method according to claim 1, wherein The target working mode includes at least one working mode. When the sixth working mode set is not an empty set, the method further includes: Obtain the target working mode switching data of the target battery within the second preset time period; the end time of the second preset time period is earlier than the current time; Determine the average running duration corresponding to each working mode in the sixth working mode set based on the target working mode switching data to obtain m average running durations; Determine the target switching frequency corresponding to the target operating mode switching data; Based on the target switching frequency, divide the first preset time period into j partial time periods; j is a positive integer; According to the m average operating durations, assign priorities to each operating mode in the sixth operating mode set to obtain m priorities; the longer the average operating duration, the higher the priority; According to the m priorities, assign an operating mode to each of the j partial time periods to obtain j operating modes; Determine the target operating mode based on the j operating modes.
5. The method according to claim 4, wherein When the sixth operating mode set is an empty set, the method includes: Obtain the operating data of the target battery within the second preset time period to obtain a first operating data set; Obtain the moments corresponding to each mode switching operation of the target battery within the second preset time period to obtain i moments; i is a positive integer; Determine the operating data corresponding to each moment in the first operating data set among the i moments to obtain i operating data; Determine the similarity between the i operating data and the current operating data to obtain i similarities; Determine the maximum similarity among the i similarities, and determine the target mode switching operation corresponding to the maximum similarity; Determine the second operating mode corresponding to the target mode switching operation, and determine the target operating mode according to the second operating mode.
6. The method according to any one of claims 1 to 3, characterized in that The method further includes: Obtain a first switching instruction issued by the target user through a preset control method; the preset control method includes at least one of the following: button control method, APP control method, Bluetooth control method, WiFi control method, voice control method; Determine that the first switching instruction is the target switching instruction, execute the step of determining the target switching instruction corresponding to the target operating mode, and send the target switching instruction to the target battery to control the target battery to enter the target operating mode within the first preset time period.
7. An intelligent battery mode switching device, characterized in that, The device includes: an acquisition unit, a control unit, and a mode switching unit, where: The acquisition unit is used to obtain the target battery basic information of the target battery through a battery management system; the target battery includes one of the following: start - dual - purpose battery, RV battery, marine battery, golf cart battery, energy storage battery; The control unit is used to determine the target load corresponding to the target battery; determine the operating modes supported by the target battery according to the target battery basic information and the target load to obtain n operating modes; the n operating modes include at least two of the following: normal mode, power mode, long - life mode, fast - charge mode, sleep mode; n is an integer greater than 1; determine the first operating mode in which the target battery is located at the current moment; The acquisition unit is further used to obtain the target battery usage requirement of the target user; The control unit is further used to determine the target operating mode according to the target battery usage requirement, the target load, the first operating mode, and the n operating modes; The mode switching unit is configured to determine a target switching instruction corresponding to the target operating mode, and send the target switching instruction to the target battery to control the target battery to enter the target operating mode within a first preset time period; a starting moment of the first preset time period is later than the current moment; Among them, in terms of determining the target operating mode according to the target battery usage requirement, the target load, the first operating mode, and the n operating modes, the control unit is specifically configured to: Determine a target user requirement parameter corresponding to the target battery usage requirement; the target user requirement parameter includes at least one of the following: a voltage parameter, a current parameter, a power parameter, and a battery life parameter; Determine an operating mode corresponding to the target user requirement parameter among the n operating modes to obtain a fourth set of operating modes; Obtain a minimum load requirement parameter corresponding to the target load; the minimum load requirement parameter includes at least one of the following: a load requirement voltage parameter, a load requirement current parameter, and a load requirement power parameter; Determine a target usage scenario corresponding to the target load; Adjust the minimum load requirement parameter based on the target usage scenario to obtain a target load requirement parameter; Determine an operating mode corresponding to the target load requirement parameter among the n operating modes to obtain a fifth set of operating modes; When the first operating mode is included in both the fourth set of operating modes and the fifth set of operating modes, determine the target operating mode according to the first operating mode; Among them, when the first operating mode is not included in the fourth set of operating modes, or the first operating mode is not included in the fifth set of operating modes, the control unit is further specifically configured to: Determine an intersection between the fourth set of operating modes and the fifth set of operating modes to obtain a sixth set of operating modes; When the sixth set of operating modes is not an empty set, obtain operation data and environment data of the target battery at the current moment to obtain current operation data and current environment data; the current environment data includes at least one of the following: temperature data, humidity data, and an area of dust or impurities on the surface of the target battery; Determine a current evaluation value according to the current operation data; Obtain an evaluation value corresponding to each operating mode in the sixth set of operating modes to obtain m evaluation values; m is a positive integer less than or equal to n; specifically, a mapping relationship between a preset operating mode and an evaluation value may be stored in advance, and based on this mapping relationship, determine an evaluation value corresponding to each operating mode in the sixth set of operating modes to obtain the m evaluation values; Determine a difference between each evaluation value in the m evaluation values and the current evaluation value to obtain m evaluation differences; Determine a first adjustment difficulty value corresponding to each evaluation difference in the m evaluation differences to obtain m first adjustment difficulty values; Determine a power consumption influence parameter of the current environment data on the target battery to obtain an environment power consumption influence parameter; Obtain an estimated mode switching power consumption corresponding to each operating mode in the sixth set of operating modes to obtain m estimated mode switching power consumptions; Determine m actual power consumption for mode switching based on the environmental power consumption impact parameter and the m estimated power consumptions for mode switching; Determine a second adjustment difficulty value corresponding to each actual power consumption for mode switching among the m actual power consumptions for mode switching, obtaining m second adjustment difficulty values; Determine m target adjustment difficulty values based on the m first adjustment difficulty values and the m second adjustment difficulty values; Determine the minimum difficulty value among the m target adjustment difficulty values, and determine the working mode corresponding to the minimum difficulty value as the target working mode.
8. A computer-readable storage medium, characterized in that, Store a computer program for electronic data interchange, wherein the computer program causes a computer to execute the method according to any one of claims 1-6.
Citation Information
Patent Citations
Charging and discharging control method and device, terminal equipment and storage medium
CN116231787A