Multi-battery charging switching control method, device and equipment and storage medium

Through the multi-battery charging switching control method, charging operations are performed according to the battery status and priority, and the charging mode is switched, which solves the problems of low charging efficiency and insufficient protection in the prior art, and achieves more efficient battery charging and better users Experience.

CN119051186APending Publication Date: 2024-11-29SHANGHAI AVENTURIER TECHNOLOGY DEVELOPMENT CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410953067.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-16
Publication Date
2024-11-29

AI Technical Summary

Technical Problem

The existing battery charging technology is inefficient and cannot reflect the battery charging status in real time. It cannot effectively protect the battery during charging, especially in dual-battery package devices. The customer experience is poor and the charger and battery port cannot be turned off at the same time. Power supply output.

Method used

Provide a multi-battery charging switching control method, by obtaining the status parameters of the battery and the charging base, determining whether the preset charging conditions are met, charging operations are performed according to the priority of the battery, and switching the charging mode in real time to meet the needs of different charging stages. Including obtaining the battery's state of charge and health, preferring to charge the high-efficiency battery, and switching the charging mode during the charging process to improve charging efficiency.

Benefits of technology

By optimizing the charging sequence and mode switching, the battery charging efficiency is improved, the battery performance evaluation is enhanced, the battery life is extended, and the battery capacity and status information is displayed through indicator lights, improving the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119051186A_ABST
    Figure CN119051186A_ABST
Patent Text Reader

Abstract

The invention relates to a multi-battery charging switching control method and device, equipment and a storage medium. The method comprises the steps that state parameters of at least one to-be-charged battery and a charging base are acquired, whether a preset charging condition is met or not is judged according to the state parameters, the charging base comprises at least two battery charging ports, and the number of the to-be-charged batteries is at least one; in response to the condition that the state parameters meet the preset charging condition, the priorities of the batteries are obtained, and charging operation is executed on the battery with the highest priority; acquiring charging state information of the battery in charging in real time, and switching a charging mode according to the charging state information; and in response to the condition that the charging state information of the battery with the highest priority reaches a preset value, starting a simultaneous charging mode, and performing charging operation on the battery with the second highest priority. By adopting the method, the charging operation can be performed according to the priority of the battery, and the charging process is optimized; meanwhile, the charging modes are switched according to the charging state information, and the requirements of different charging stages can be met.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of battery charging technology, and in particular to a multi-battery charging switching control method, device, equipment and storage medium. Background Art

[0002] In recent years, with the rapid development of battery materials and processing technology, the unit capacity of battery cells has also been greatly improved. However, due to the portability of the equipment and the limitations of the physical space of the mechanism, the battery pack cannot be processed to a large size, and the battery pack capacity of the equipment is also limited, which increases the frequency of battery pack charging.

[0003] The commonly used existing charging solutions are that after one battery pack is fully charged, it is necessary to manually replace it with another one, and then plug in the charging harness again to charge it. This has a low charging efficiency, especially for products and equipment using dual battery packs, which require manual checking of the battery charging status, resulting in a poor customer experience and being unfriendly. In addition, during the charging process, the charging status of the battery pack, i.e. overcurrent, overvoltage, overtemperature, etc., cannot be effectively and timely reflected, nor can the battery charging status be effectively displayed in real time. At the same time, when abnormalities such as overcurrent and overvoltage occur during the charging process, the power output of the charger and charging station and the input of the battery port cannot be shut down at the same time, and the double protection effect cannot be achieved. Summary of the invention

[0004] Based on this, it is necessary to provide a multi-battery charging switching control method, device, equipment and storage medium that can perform charging operations according to the priority of the batteries in order to address the above technical problems.

[0005] In one aspect, a multi-battery charging switching control method is provided, the method comprising:

[0006] Acquire status parameters of the battery to be charged and the charging stand, and determine whether preset charging conditions are met according to the status parameters, wherein the charging stand includes at least two battery charging ports and the number of the battery to be charged is at least one;

[0007] In response to the state parameter satisfying a preset charging condition, obtaining the priority of the battery, and performing a charging operation on the battery with the highest priority;

[0008] Acquire the charging status information of the battery being charged in real time, and switch the charging mode according to the charging status information;

[0009] In response to the charging state information of the battery with the highest priority reaching a preset value, the simultaneous charging mode is started to perform a charging operation on the battery with the second highest priority.

[0010] In one embodiment, the state parameters include the battery charging state and the output voltage of the charging stand, and the step of obtaining the state parameters of the battery to be charged and the charging stand, and determining whether the preset charging condition is met according to the state parameters, includes:

[0011] Check whether the state of the battery to be charged is normal;

[0012] In response to the state of the battery to be charged being normal, obtaining the battery charging state of the battery to be charged and the output voltage of the charging stand, and determining whether the output voltage of the charging stand is consistent with a preset charging voltage;

[0013] In response to the output voltage being consistent with the preset charging voltage and the battery charging state being uncharged, the charging stand is allowed to perform a charging operation.

[0014] In one embodiment, obtaining the priority of the battery and performing a charging operation on the battery with the highest priority includes:

[0015] The priority level includes but is not limited to at least one of the battery state of charge and health;

[0016] In response to the charging stand being connected to a plurality of batteries, obtaining the battery charge state of each battery respectively;

[0017] If the difference between the highest value and the lowest value of the battery state of charge among the multiple batteries is greater than a threshold, the multiple batteries are prioritized from high to low according to the battery state of charge, and the battery with the highest battery state of charge is selected to perform the charging operation first;

[0018] If the difference between the highest value and the lowest value of the battery state of charge among the multiple batteries is less than or equal to a threshold, the multiple batteries are prioritized from high to low according to their health, and the battery with the highest health is selected to perform charging operations first.

[0019] In one embodiment, obtaining the priority of the batteries and performing a charging operation on the battery with the highest priority further includes:

[0020] In response to the charging cradle being connected to a single battery, performing a charging operation on the battery;

[0021] During the charging operation, if the charging base is connected to other batteries, the battery currently being charged is controlled to continue charging.

[0022] In one embodiment, the charging status information includes the voltage, current and temperature of the battery, and the charging mode includes a constant current charging mode, a constant voltage charging mode and a pulse charging mode; and switching the charging mode according to the charging status information includes:

[0023] In response to the voltage of the battery with the highest priority being greater than or equal to a first preset voltage value, starting the charging circuit of the battery with the second highest priority, and charging the two batteries simultaneously in a simultaneous charging mode;

[0024] In response to the voltage of any battery being greater than or equal to a second predetermined voltage value, switching to a pulse charging mode for charging;

[0025] The first preset voltage value and the second preset voltage value can be set or updated according to the average temperature of the battery.

[0026] In one embodiment, the method further comprises:

[0027] Determine whether a charging operation is abnormal according to the charging status information; wherein the abnormality includes one of battery removal, charging overcurrent, charging overvoltage and charging overtemperature;

[0028] In response to the abnormality of the charging operation, the charging operation of the battery currently being charged is stopped, and it is detected whether the battery charging port is connected to other batteries. If so, the charging port with the highest priority among the other batteries is switched to charge.

[0029] In one embodiment, the method further comprises:

[0030] The power level and status information of the corresponding battery are displayed by the indicator lights on the charging base, wherein each battery corresponds to a plurality of indicator lights, and the indicator lights include a power level light and a fault light.

[0031] On the other hand, a battery pack charging stand charging switching control device is provided, the device comprising:

[0032] A status parameter acquisition module, used to acquire status parameters of the battery to be charged and the charging base, and determine whether a preset charging condition is met according to the status parameters, wherein the charging base includes at least two battery charging ports and the battery to be charged is at least one;

[0033] a priority acquisition module, configured to acquire the priority of the battery in response to the state parameter satisfying a preset charging condition, and perform a charging operation on the battery with the highest priority;

[0034] A charging mode switching module, used to obtain the charging status information of the battery being charged in real time and switch the charging mode according to the charging status information;

[0035] The simultaneous charging module is used to start the simultaneous charging mode in response to the charging state information of the battery with the highest priority reaching a preset value, and perform a charging operation on the battery with the second highest priority.

[0036] In another aspect, a computer device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the following steps are implemented:

[0037] Acquire status parameters of the battery to be charged and the charging stand, and determine whether preset charging conditions are met according to the status parameters, wherein the charging stand includes at least two battery charging ports and the number of the battery to be charged is at least one;

[0038] In response to the state parameter satisfying a preset charging condition, obtaining the priority of the battery, and performing a charging operation on the battery with the highest priority;

[0039] Acquire the charging status information of the battery being charged in real time, and switch the charging mode according to the charging status information;

[0040] In response to the charging state information of the battery with the highest priority reaching a preset value, the simultaneous charging mode is turned on to perform a charging operation on the battery with the second highest priority.

[0041] In another aspect, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:

[0042] Acquire status parameters of the battery to be charged and the charging stand, and determine whether preset charging conditions are met according to the status parameters, wherein the charging stand includes at least two battery charging ports and the number of the battery to be charged is at least one;

[0043] In response to the state parameter satisfying a preset charging condition, obtaining the priority of the battery, and performing a charging operation on the battery with the highest priority;

[0044] Acquire the charging status information of the battery being charged in real time, and switch the charging mode according to the charging status information;

[0045] In response to the charging state information of the battery with the highest priority reaching a preset value, the simultaneous charging mode is started to perform a charging operation on the battery with the second highest priority.

[0046] The above-mentioned multi-battery charging switching control method, device, equipment and storage medium perform charging operations according to the priority of the battery, more comprehensively evaluate the performance status of the battery, and select the optimal charging plan based on the evaluation results to optimize the charging process; at the same time, the charging mode is switched according to the charging status information to adapt to the needs of different charging stages, and two batteries can also be charged in a simultaneous charging mode to improve the charging efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] Figure 1It is a flowchart of a multi-battery charging switching control method in one embodiment;

[0048] Figure 2 It is a structural block diagram of a multi-battery charging switching control device in one embodiment;

[0049] Figure 3 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0050] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0051] In one embodiment, Figure 1 As shown, a multi-battery charging switching control method is provided, comprising the following steps:

[0052] Step S1, obtaining status parameters of the battery to be charged and the charging base, and judging whether the preset charging conditions are met according to the status parameters, wherein the status parameters include the battery charging status and the output voltage of the charging base, the charging base includes at least two battery charging ports, and the battery to be charged is at least one.

[0053] It should be noted that the charging station provides at least two battery charging positions for connecting batteries, and each battery is independent of each other and can be charged and plugged in separately. When a battery is connected to the charging station, the charging station can communicate with the battery and detect the connected battery to be charged. For example, the temperature, voltage, current and other parameters inside the battery are detected by sensors to determine whether the battery status is normal. In addition, the chip information inside the battery can be read to obtain information such as the battery model, production date, and usage status, so as to help determine whether the battery pack is in a normal state.

[0054] When it is detected that the battery status is normal, the battery charging status of the battery to be charged and the output voltage of the charging base are obtained at the same time, and it is determined whether the output voltage of the charging base matches the preset charging voltage. If the two match, it means that the charging base is a standard charging device. Therefore, when the battery charging status is not charged, the charging base is allowed to perform charging operations, and the battery pack power information is read through the communication interface between the charging base and the battery pack; otherwise, it means that the charging base is not a standard charging device, there may be charging safety hazards, and charging through the charging base is prohibited.

[0055] It should be noted that the charging station is equipped with LED lights to display the power and status information of the corresponding battery, wherein each battery is equipped with multiple LED lights on the corresponding side of the charging station to display the power information, and the corresponding LED lights can flash according to the amount of power, so as to judge the change of the charge amount of the battery pack. For example, when SOC is less than 25%, LED1 lights flash, and the rest are not lit; when 25% ≤ SOC < 50%, LED1 lights are always on, and LED2 flashes; when 50% ≤ SOC < 75%, LED1 and LED2 lights are always on, and LED3 flashes; when 75% ≤ SOC < 100%, LED1, LED2, and LED3 lights are always on, and LED4 lights flashes; when SOC ≥ 100%, all lights are always on.

[0056] Step S2, in response to the state parameter satisfying the preset charging condition, obtain the priority of the battery, and perform a charging operation on the battery with the highest priority. The priority includes but is not limited to at least one of the battery state of charge and health, and can be set according to actual charging needs.

[0057] Specifically, if the difference between the highest and lowest state of charge of multiple batteries is greater than a threshold, the multiple batteries are prioritized from high to low according to the state of charge, and the battery with the highest state of charge is selected to perform the charging operation first. For example, when two batteries are connected to the charging station, the SOC (State of Charge) of the two batteries is obtained respectively. If the difference between the SOCs of the two batteries is greater than a threshold, the battery with the higher state of charge is selected to perform the charging operation first.

[0058] It should be noted that SOC refers to the state of charge of the battery, which is used to reflect the remaining capacity of the battery. Its numerical value is defined as the ratio of the remaining capacity to the battery capacity, usually expressed as a percentage. For example, the SOCs of the two batteries connected to the charging station are 0% and 60% respectively. At this time, if the threshold is set to 20%, since the difference in the SOCs of the two batteries is greater than 20%, the battery with an SOC of 60% is preferentially selected for charging, so that one battery can be quickly charged first to meet actual usage needs.

[0059] It is understandable that, taking two batteries as an example, during normal use, one of the batteries is usually selected for discharge, and the second battery will not be enabled until it is exhausted. Therefore, without plugging in or out the batteries, there are usually two situations when charging: the first battery is exhausted and the second battery has an uneven remaining power; or the first battery has an uneven remaining power and the second battery is fully charged. Therefore, the power of the first battery that is discharged first will always be less than that of the second battery, so the second battery will be selected for charging first when charging. In this way, if there is not enough time to fully charge both batteries, the second battery will be selected for discharge first when it is used next time, which is conducive to balancing the service life and performance of the two batteries and improving the user experience and value of the entire charging station.

[0060] Furthermore, if the difference between the highest value and the lowest value of the battery state of charge among the multiple batteries is less than or equal to a threshold, the multiple batteries are prioritized from high to low according to their health, and the battery with the highest health is selected to perform the charging operation first.

[0061] Among them, the health of the battery refers to the degree of deviation of the current performance of the battery from the normal design indicators, which can reflect the aging condition of the battery, including multiple indicators such as battery capacity, battery internal resistance, mechanical deformation and cyclic charge and discharge performance. The health of the battery will gradually decrease with the increase of usage time and charge and discharge times. For example, the battery capacity will gradually decay, and the battery internal resistance will increase as the battery ages, resulting in a decrease in working power and cycle times. In addition, the cyclic charge and discharge performance will gradually decrease, resulting in an inability to provide sufficient power or fast charging. In order to evaluate the health of the battery, multiple tests such as charge and discharge tests, internal resistance tests, and capacity tests are usually performed to judge the health of the battery and estimate the battery's decay performance.

[0062] Understandably, when a battery is in poor health, its charging efficiency may be reduced, which means it takes longer to fully charge or can receive less power in the same charging time. Therefore, when the purpose is to quickly charge a battery for use, choosing batteries with better health to charge first can make full use of the battery's health, maximize the charging efficiency, avoid overcharging batteries with poor health, and thus extend the battery's service life.

[0063] It should be noted that when only a single battery is connected to the charging base, the battery is directly charged when the battery status is detected to be normal. If other batteries are connected to the charging base during the charging process, the current charging object will not be changed at this time.

[0064] Step S3, acquiring the charging status information of the battery in real time, and switching the charging mode according to the charging status information, wherein the charging status information includes the voltage, current and temperature of the battery, and the charging mode includes a constant current charging mode, a constant voltage charging mode and a pulse charging mode.

[0065] It should be noted that when charging the battery, in order to charge quickly, a stage charging method combining a constant current charging mode and a constant voltage charging mode is usually used. First, charge to a predetermined voltage value with a relatively large constant current, and then change to a constant voltage to complete the remaining charging. Generally, the conversion voltage between the two stages is the constant voltage of the second stage, that is, the first preset voltage value. This stage charging method can fully charge the battery relatively quickly, but since the performance of the multiple batteries connected is not completely consistent, it may cause overcharging of the batteries. Therefore, the stage charging method used in this application is also combined with a pulse charging mode. Charging the battery with a periodic pulsating current can give the battery time to restore its original state, thereby maintaining a relatively fast charging speed while also allowing the battery to be charged relatively fully.

[0066] Step S4, in response to the charging status information of the battery with the highest priority reaching a preset value, starting the simultaneous charging mode and performing a charging operation on the battery with the second highest priority.

[0067] Specifically, when the voltage of the battery with the highest priority is less than a first preset voltage value, the battery is charged in a constant current charging mode; when the voltage of the battery with the highest priority reaches the first preset voltage value, the charging circuit of the battery with the second highest priority is turned on, and the two batteries are charged simultaneously in a simultaneous charging mode until the battery with the highest priority is fully charged, at which time its charging circuit is cut off and charging is stopped; when the voltage of any battery is greater than or equal to a second preset voltage value, charging is switched to a pulse charging mode.

[0068] For example, the second predetermined voltage value can be set as the overvoltage point of the battery. When the voltage of any battery reaches the second predetermined voltage value, it indicates that the battery has an abnormal phenomenon such as overvoltage. Therefore, charging is stopped for a predetermined time and then continued. The battery voltage gradually increases until it reaches the second predetermined voltage value again. Charging is stopped again for a predetermined time, and the process is repeated to form a charging pulse. The predetermined charging time can be determined according to the specific capacity of the battery. In this charging method, the battery will not be overcharged and can be charged more fully.

[0069] Furthermore, the first preset voltage value and the second preset voltage value can be set or updated according to the average temperature of the battery. For example, these values ​​can be set before the charging process begins, and these values ​​can be updated as the charging process proceeds, so that the control of the charging process fully considers the influence of temperature. In addition, in order to achieve more accurate compensation, the second preset voltage value corresponding to each battery can also be set and updated according to the temperature of each battery.

[0070] Furthermore, the charging status information can be used to determine whether the charging operation is abnormal, including battery removal, charging overcurrent, charging overvoltage, and charging overtemperature. If the battery being charged is abnormal during the charging process, the input of the charging port of this battery will be turned off, and the charging output of the charging seat on that side will be turned off, and the corresponding fault light of the charging seat indicator will flash. At this time, if the battery status detection of other battery charging ports is normal, the battery with the highest priority among other batteries will be switched to charge.

[0071] It should be understood that although Figure 1 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 1 At least part of the steps may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps.

[0072] In one embodiment, Figure 2 As shown, a multi-battery charging switching control device is provided, including: a state parameter acquisition module, a priority acquisition module, a charging mode switching and simultaneous charging module, wherein:

[0073] A status parameter acquisition module, used to acquire status parameters of the battery to be charged and the charging base, and determine whether the preset charging conditions are met according to the status parameters, wherein the charging base includes at least two battery charging ports and the battery to be charged is at least one;

[0074] A priority acquisition module, configured to acquire the priority of the battery in response to the state parameter satisfying a preset charging condition, and perform a charging operation on the battery with the highest priority;

[0075] A charging mode switching module is used to obtain the charging status information of the battery in real time and switch the charging mode according to the charging status information;

[0076] The simultaneous charging module is used to start the simultaneous charging mode in response to the charging state information of the battery with the highest priority reaching a preset value, and perform a charging operation on the battery with the second highest priority.

[0077] In a specific embodiment, the status parameters include the battery charging status and the output voltage of the charging stand, the status parameters of the battery to be charged and the charging stand are obtained, and whether the preset charging conditions are met according to the status parameters, including: checking whether the status of the battery to be charged is normal; in response to the status of the battery to be charged being normal, obtaining the battery charging status of the battery to be charged and the output voltage of the charging stand, and judging whether the output voltage of the charging stand is consistent with the preset charging voltage; in response to the output voltage being consistent with the preset charging voltage and the battery charging status being uncharged, allowing the charging stand to perform a charging operation.

[0078] In a specific embodiment, the priority of a battery is obtained, and a charging operation is performed on the battery with the highest priority, including: the priority includes but is not limited to at least one of a battery state of charge and a health level; in response to a plurality of batteries being connected to a charging station, the battery state of charge of each battery is obtained respectively; if the difference between the highest value and the lowest value of the battery state of charge among the plurality of batteries is greater than a threshold value, the plurality of batteries are prioritized from high to low according to the battery state of charge, and the battery with the highest battery state of charge is selected to perform the charging operation first; if the difference between the highest value and the lowest value of the battery state of charge among the plurality of batteries is less than or equal to a threshold value, the plurality of batteries are prioritized from high to low according to the health level, and the battery with the highest health level is selected to perform the charging operation first.

[0079] In a specific embodiment, the priority of the battery is obtained, and a charging operation is performed on the battery with the highest priority, which also includes: in response to a single battery being connected to the charging stand, a charging operation is performed on the battery; during the charging operation, if other batteries are connected to the charging stand, the battery currently being charged is controlled to continue charging.

[0080] In a specific embodiment, the charging status information includes the voltage, current and temperature of the battery, and the charging modes include constant current charging mode, constant voltage charging mode and pulse charging mode; switching the charging mode according to the charging status information includes: in response to the voltage of the battery with the highest priority being greater than or equal to a first preset voltage value, turning on the charging circuit of the battery with the second highest priority, and charging the two batteries simultaneously through the simultaneous charging mode; in response to the voltage of any battery being greater than or equal to a second preset voltage value, switching to the pulse charging mode for charging; wherein the first preset voltage value and the second preset voltage value can be set or updated according to the average temperature of the battery.

[0081] In a specific embodiment, it is determined whether the charging operation is abnormal based on the charging status information; wherein the abnormality includes one of battery removal, charging overcurrent, charging overvoltage and charging overtemperature; in response to the abnormality in the charging operation, the charging operation of the battery currently being charged is stopped, and it is detected whether the battery charging port is connected to other batteries. If so, the charging port with the highest priority among the other batteries is switched to charge.

[0082] In a specific embodiment, the power level and status information of the corresponding battery are displayed by indicator lights on the charging station, wherein each battery corresponds to a plurality of indicator lights, including a power level light and a fault light.

[0083] For the specific definition of the multi-battery charging switching control device, please refer to the definition of the multi-battery charging switching control method above, which will not be repeated here. Each module in the above-mentioned multi-battery charging switching control device can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0084] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Figure 3 As shown. The computer device includes a processor, a memory, a network interface, a display screen and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a multi-battery charging switching control method is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covered on the display screen, or a button, trackball or touchpad set on the computer device housing, or an external keyboard, touchpad or mouse, etc.

[0085] Those skilled in the art will understand that Figure 3 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0086] In one embodiment, a computer device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the following steps when executing the computer program: obtaining status parameters of a battery to be charged and a charging base, and determining whether a preset charging condition is satisfied based on the status parameters, wherein the charging base comprises at least two battery charging ports and the battery to be charged is at least one; in response to the status parameters satisfying the preset charging condition, obtaining the priority of the battery, and performing a charging operation on the battery with the highest priority; obtaining charging status information of the battery being charged in real time, and switching the charging mode based on the charging status information; in response to the charging status information of the battery with the highest priority reaching a preset value, turning on a simultaneous charging mode, and performing a charging operation on the battery with the second highest priority.

[0087] In one embodiment, the processor also implements the following steps when executing the computer program: checking whether the status of the battery to be charged is normal; in response to the status of the battery to be charged being normal, obtaining the battery charging status of the battery to be charged and the output voltage of the charging stand, and determining whether the output voltage of the charging stand is consistent with a preset charging voltage; in response to the output voltage being consistent with the preset charging voltage and the battery charging status being uncharged, allowing the charging stand to perform a charging operation.

[0088] In one embodiment, the processor further implements the following steps when executing the computer program: in response to multiple batteries being connected to the charging stand, respectively obtaining the battery state of charge of each battery; if the difference between the highest value and the lowest value of the battery state of charge among the multiple batteries is greater than a threshold value, prioritizing the multiple batteries from high to low according to the battery state of charge, and selecting the battery with the highest battery state of charge to perform the charging operation first; if the difference between the highest value and the lowest value of the battery state of charge among the multiple batteries is less than or equal to a threshold value, prioritizing the multiple batteries from high to low according to the health level, and selecting the battery with the highest health level to perform the charging operation first.

[0089] In one embodiment, when the processor executes the computer program, the following steps are also implemented: in response to the charging cradle being connected to a single battery, charging the battery; during the charging operation, if the charging cradle is connected to other batteries, controlling the currently charged battery to continue charging.

[0090] In one embodiment, the processor also implements the following steps when executing the computer program: in response to the voltage of the battery with the highest priority being greater than or equal to a first preset voltage value, turning on the charging circuit of the battery with the second highest priority, and charging the two batteries simultaneously through the simultaneous charging mode; in response to the voltage of any battery being greater than or equal to a second preset voltage value, switching to the pulse charging mode for charging; wherein the first preset voltage value and the second preset voltage value can be set or updated according to the average temperature of the battery.

[0091] In one embodiment, the processor further implements the following steps when executing the computer program: determining whether an abnormality occurs in the charging operation based on the charging status information; wherein the abnormality includes one of battery removal, charging overcurrent, charging overvoltage, and charging overtemperature; in response to an abnormality in the charging operation, stopping the charging operation of the battery currently being charged, and detecting whether the battery charging port is connected to other batteries, and if so, switching to the charging port with the highest priority among the other batteries for charging.

[0092] In one embodiment, when the processor executes the computer program, the following steps are also implemented: the power level and status information of the corresponding battery are displayed through the indicator lights on the charging base, wherein each battery corresponds to multiple indicator lights, including a power light and a fault light.

[0093] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented: obtaining status parameters of a battery to be charged and a charging base, and judging whether a preset charging condition is satisfied based on the status parameters, wherein the charging base includes at least two battery charging ports and the battery to be charged is at least one; in response to the status parameters satisfying the preset charging condition, obtaining the priority of the battery, and performing a charging operation on the battery with the highest priority; obtaining charging status information of the battery being charged in real time, and switching the charging mode based on the charging status information; in response to the charging status information of the battery with the highest priority reaching a preset value, turning on a simultaneous charging mode, and performing a charging operation on the battery with the second highest priority.

[0094] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: checking whether the status of the battery to be charged is normal; in response to the status of the battery to be charged being normal, obtaining the battery charging status of the battery to be charged and the output voltage of the charging stand, and determining whether the output voltage of the charging stand is consistent with the preset charging voltage; in response to the output voltage being consistent with the preset charging voltage and the battery charging status being uncharged, allowing the charging stand to perform a charging operation.

[0095] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: in response to multiple batteries being connected to the charging stand, the battery state of charge of each battery is obtained respectively; if the difference between the highest value and the lowest value of the battery state of charge among the multiple batteries is greater than a threshold value, the multiple batteries are prioritized from high to low according to the battery state of charge, and the battery with the highest battery state of charge is selected to perform the charging operation first; if the difference between the highest value and the lowest value of the battery state of charge among the multiple batteries is less than or equal to a threshold value, the multiple batteries are prioritized from high to low according to the health level, and the battery with the highest health level is selected to perform the charging operation first.

[0096] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: in response to the charging stand being connected to a single battery, a charging operation is performed on the battery; during the charging operation, if the charging stand is connected to other batteries, the battery currently being charged is controlled to continue charging.

[0097] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: in response to the voltage of the battery with the highest priority being greater than or equal to a first preset voltage value, the charging circuit of the battery with the second highest priority is turned on, and the two batteries are charged simultaneously in a simultaneous charging mode; in response to the voltage of any battery being greater than or equal to a second preset voltage value, switching to a pulse charging mode for charging; wherein the first preset voltage value and the second preset voltage value can be set or updated according to the average temperature of the battery.

[0098] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: determining whether an abnormality occurs in the charging operation based on the charging status information; wherein the abnormality includes one of battery removal, charging overcurrent, charging overvoltage, and charging overtemperature; in response to an abnormality in the charging operation, stopping the charging operation of the battery currently being charged, and detecting whether the battery charging port is connected to other batteries, and if so, switching to the charging port with the highest priority among the other batteries for charging.

[0099] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: the power level and status information of the corresponding battery are displayed through the indicator lights on the charging base, wherein each battery corresponds to multiple indicator lights, including a power light and a fault light.

[0100] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0101] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0102] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.

Claims

1. A multi-battery charging switching control method, characterized in that: include: Acquire status parameters of the battery to be charged and the charging stand, and determine whether preset charging conditions are met according to the status parameters, wherein the charging stand includes at least two battery charging ports and the number of the battery to be charged is at least one; In response to the state parameter satisfying a preset charging condition, obtaining the priority of the battery, and performing a charging operation on the battery with the highest priority; Acquire the charging status information of the battery being charged in real time, and switch the charging mode according to the charging status information; In response to the charging state information of the battery with the highest priority reaching a preset value, the simultaneous charging mode is started to perform a charging operation on the battery with the second highest priority.

2. The multi-battery charging switching control method according to claim 1, characterized in that: The state parameters include the battery charging state and the output voltage of the charging stand. The step of obtaining the state parameters of the battery to be charged and the charging stand, and determining whether the preset charging conditions are met according to the state parameters, includes: Check whether the state of the battery to be charged is normal; In response to the state of the battery to be charged being normal, obtaining the battery charging state of the battery to be charged and the output voltage of the charging stand, and determining whether the output voltage of the charging stand is consistent with a preset charging voltage; In response to the output voltage being consistent with the preset charging voltage and the battery charging state being uncharged, the charging stand is allowed to perform a charging operation.

3. The multi-battery charging switching control method according to claim 1, characterized in that: The obtaining the priority of the battery and performing a charging operation on the battery with the highest priority includes: The priority level includes at least one of a battery state of charge and a battery health level; In response to the charging stand being connected to a plurality of batteries, obtaining the battery charge state of each battery respectively; If the difference between the highest value and the lowest value of the battery state of charge among the multiple batteries is greater than a threshold, the multiple batteries are prioritized from high to low according to the battery state of charge, and the battery with the highest battery state of charge is selected to perform the charging operation first; If the difference between the highest value and the lowest value of the battery state of charge among the multiple batteries is less than or equal to a threshold, the multiple batteries are prioritized from high to low according to their health, and the battery with the highest health is selected to perform charging operations first.

4. The multi-battery charging switching control method according to claim 1, characterized in that: The obtaining the priority of the battery and performing a charging operation on the battery with the highest priority also includes: In response to the charging cradle being connected to a single battery, performing a charging operation on the battery; During the charging operation, if the charging base is connected to other batteries, the battery currently being charged is controlled to continue charging.

5. The multi-battery charging switching control method according to claim 1, characterized in that: The charging status information includes the voltage, current and temperature of the battery, and the charging mode includes a constant current charging mode, a constant voltage charging mode and a pulse charging mode; The switching of the charging mode according to the charging status information comprises: In response to the voltage of the battery with the highest priority being greater than or equal to a first preset voltage value, starting the charging circuit of the battery with the second highest priority, and charging the two batteries simultaneously in a simultaneous charging mode; In response to the voltage of any battery being greater than or equal to a second predetermined voltage value, switching to a pulse charging mode for charging; The first preset voltage value and the second preset voltage value can be set or updated according to the average temperature of the battery.

6. The multi-battery charging switching control method according to claim 1, characterized in that: The method further comprises, Determine whether a charging operation is abnormal according to the charging status information; wherein the abnormality includes one of battery removal, charging overcurrent, charging overvoltage and charging overtemperature; In response to the abnormality of the charging operation, the charging operation of the battery currently being charged is stopped, and it is detected whether the battery charging port is connected to other batteries. If so, the charging port with the highest priority among the other batteries is switched to charge.

7. The multi-battery charging switching control method according to claim 1, characterized in that: The method further comprises, The power level and status information of the corresponding battery are displayed by the indicator lights on the charging base, wherein each battery corresponds to a plurality of indicator lights, and the indicator lights include a power level light and a fault light.

8. A multi-battery charging switching control device, characterized in that: The device comprises: A status parameter acquisition module, used to acquire status parameters of the battery to be charged and the charging base, and determine whether a preset charging condition is met according to the status parameters, wherein the charging base includes at least two battery charging ports and the battery to be charged is at least one; a priority acquisition module, configured to acquire the priority of the battery in response to the state parameter satisfying a preset charging condition, and perform a charging operation on the battery with the highest priority; A charging mode switching module, used to obtain the charging status information of the battery being charged in real time and switch the charging mode according to the charging status information; The simultaneous charging module is used to start the simultaneous charging mode in response to the charging state information of the battery with the highest priority reaching a preset value, and perform a charging operation on the battery with the second highest priority.

9. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.