Charging control method and system and electronic equipment
By turning on the charging switch in a high-voltage battery and detecting current information, judging the battery usage status, and turning off the charging and discharging switches in a charging state, sending control signals to the low-voltage battery, the damage caused by the potential difference during charging is solved, and a safer and more efficient charging process is achieved.
Patent Information
- Application Number
- CN202411228951.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-03
- Publication Date
- 2025-03-14
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
When charging two sets of batteries, potential differences are easily generated, resulting in high-voltage batteries charging low-voltage batteries, overcharging, affecting the battery life.
By turning on the charging switch in a high-voltage battery and detecting current information, we can judge the overall usage status. If it is in a charging state, turn off the charging and discharging switches, send control signals to the low-voltage battery, and turn on its charging switch.
It avoids discharge of high-voltage batteries due to voltage differences when charging, reduces battery damage, and ensures that low-voltage batteries only receive charging current from external power supplies, avoiding excessive charging.
Smart Images

Figure CN119611130A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of battery technology, and in particular relates to a charging control method, system and electronic device. Background Art
[0002] With the development of urbanization, more and more users are starting to use short-distance transportation tools such as electric vehicles. Usually, the original electric vehicle purchased by the user only has one battery or a group of batteries. Due to the demand for mileage or power usage, users often increase the number of batteries or battery packs when purchasing the electric vehicle or after using the electric vehicle for a period of time to meet the demand for mileage or power usage.
[0003] In some typical scenarios, when a user adds a battery or battery pack after using an electric vehicle for a period of time, the voltage of the added battery is often different from the voltage of the initial battery due to the influence of the battery power. When the user connects the two and charges them, the battery with a higher voltage will often charge the battery with a lower voltage due to the potential difference between the two. At the same time, an external power source is used to charge both of them. In this process, it is easy to generate a charging current that exceeds the rated charging current in the low-voltage battery, affecting the service life of the low-voltage battery. At the same time, the high-voltage battery may be charged and discharged at the same time, which will also affect the service life of the high-voltage battery. That is, in the related art, when charging two groups of batteries, it is easy to damage the battery. Summary of the invention
[0004] The embodiments of the present application provide a charging control method, system and electronic device, which can solve the problem in the related art that batteries are easily damaged when charging two groups of batteries.
[0005] In a first aspect, an embodiment of the present application provides a charging control method, which is applied to a charging control system, wherein the charging control system further includes a first battery and a second battery, wherein the first battery and the second battery are connected in parallel and in communication, and the method includes:
[0006] The first battery obtains a first voltage of the first battery and a second voltage sent by the second battery;
[0007] The first battery compares the magnitude of the first voltage and the second voltage;
[0008] When the first voltage is greater than the second voltage, the first battery turns on a first charging switch of the first battery, and performs current detection on the first battery to obtain first current information of the first battery;
[0009] The first battery determines the overall usage status of the first battery and the second battery according to the first current information;
[0010] If it is determined that the overall use state is a charging state, the first battery turns off a first charging switch and a first discharging switch of the first battery, and sends a first control signal to the second battery;
[0011] The second battery turns on a second charging switch of the second battery according to the first control signal.
[0012] In a second aspect, an embodiment of the present application provides a charging control system, the system comprising a first battery and a second battery, the first battery and the second battery being connected in parallel and in communication;
[0013] The first battery obtains a first voltage of the first battery and a second voltage sent by the second battery;
[0014] The first battery compares the magnitude of the first voltage and the second voltage;
[0015] When the first voltage is greater than the second voltage, the first battery turns on a first charging switch of the first battery, and performs current detection on the first battery to obtain first current information of the first battery;
[0016] The first battery determines the overall usage status of the first battery and the second battery according to the first current information;
[0017] If it is determined that the overall use state is a charging state, the first battery turns off a first charging switch and a first discharging switch of the first battery, and sends a first control signal to the second battery;
[0018] The second battery turns on a second charging switch of the second battery according to the first control signal.
[0019] In a third aspect, an embodiment of the present application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above-mentioned charging control method when executing the computer program.
[0020] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the steps of the above-mentioned charging control method are implemented.
[0021] In a fifth aspect, an embodiment of the present application provides a computer program product, which, when executed on an electronic device, enables the electronic device to execute the above-mentioned charging control method.
[0022] The beneficial effect of the embodiment of the present application compared with the prior art is that when the voltages of the two battery groups are different, the embodiment of the present application turns on the charging switch of the high-voltage battery (i.e., the first battery) and detects the current information of the high-voltage battery to determine the overall use status of the two battery groups. When the overall use status is the charging state, the charging switch and the discharging switch of the high-voltage battery are turned off to avoid the high-voltage battery being discharged due to the voltage difference while charging, resulting in battery damage. At the same time, the charging switch of the low-voltage battery (i.e., the second battery) is turned on to charge the low-voltage battery, and since the discharge switch of the high-voltage battery connected thereto is turned off, the low-voltage battery will not receive other charging currents except the external power supply, which can avoid the charging current received by it exceeding the rated charging current, resulting in battery damage. That is, the embodiment of the present application can reduce the damage to the two groups of batteries connected to each other during charging. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0024] Figure 1 It is a schematic diagram of an implementation flow of a charging control method provided in an embodiment of the present application;
[0025] Figure 2 It is a structural schematic diagram of a charging control system provided in an embodiment of the present application;
[0026] Figure 3 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0027] In order to make the purpose, technical solutions 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 intended to limit the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work are protected by the present application.
[0028] It should be noted that the terms "include", "comprises" and "have" and any variations thereof in the specification and claims of the present application and the above-mentioned drawings are intended to cover non-exclusive inclusions. For example, a process, method, terminal, product or device that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products or devices. In the claims, specification and drawings of the present application, relational terms such as "first" and "second" are merely used to distinguish one entity / operation / object from another entity / operation / object, and do not necessarily require or imply any such real-time relationship or order between these entities / operations / objects.
[0029] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0030] With the development of urbanization, more and more users are starting to use short-distance transportation tools such as electric vehicles. Usually, the original electric vehicle purchased by the user only has one battery or a group of batteries. Due to the demand for mileage or power usage, users often increase the number of batteries or battery packs when purchasing the electric vehicle or after using the electric vehicle for a period of time to meet the demand for mileage or power usage.
[0031] In some typical scenarios, when a user adds a battery or battery pack after using an electric vehicle for a period of time, the voltage of the added battery is often different from the voltage of the initial battery due to the influence of the battery power. When the user connects the two and charges them, the battery with a higher voltage will often charge the battery with a lower voltage due to the potential difference between the two. At the same time, an external power source is used to charge both of them. In this process, it is easy to generate a charging current that exceeds the rated charging current in the low-voltage battery, affecting the service life of the low-voltage battery. At the same time, the high-voltage battery may be charged and discharged at the same time, which will also affect the service life of the high-voltage battery. That is, in the related art, when charging two groups of batteries, it is easy to damage the battery.
[0032] In view of this, an embodiment of the present application provides a charging control method, which can reduce the damage caused by two groups of interconnected batteries during charging.
[0033] In order to illustrate the technical solution of the present application, a specific embodiment is provided below for illustration.
[0034] Figure 1 A schematic diagram of the implementation flow of a charging control method provided in an embodiment of the present application is shown. The method can be applied to Figure 2 The charging control system shown. The charging control system may include a first battery and a second battery. The first battery and the second battery are connected in parallel and in communication. It should be understood that the first battery and the second battery may be a single battery or a group of batteries composed of a plurality of batteries. The first battery and the second battery may be batteries of the same type, for example, they may be batteries of the same model.
[0035] Specifically, the first battery and the second battery may include an MCU, an AFE (Analog Front End) component, a shunt, and a communication circuit. Among them, the MCU is used to control the corresponding first battery and the second battery to execute the corresponding steps in the above-mentioned charging control method. The AFE component is used to detect the voltage of the battery. The AFE component combined with the shunt can detect the current in the battery. The communication circuit can use 485 (RS-485) and CAN (Controller Area Network) industrial communication protocols to achieve communication connection between the two groups of batteries. Of course, in addition to the above structure, the first battery and the second battery can also use other structures or circuits to achieve the above functions.
[0036] Specifically, the charging control method may include the following steps S101 to S106.
[0037] Step S101: the first battery obtains a first voltage of the first battery and a second voltage sent by the second battery.
[0038] The first voltage is the voltage of the first battery, and the second voltage is the voltage of the second battery.
[0039] In an embodiment of the present application, the first battery can detect its own voltage (first voltage) through a built-in AFE component. Similarly, the second battery can also obtain its own voltage (second voltage). After both obtain their own voltages, they can send their own voltages to the other battery through a communication interface. Exemplarily, the second battery can send the voltage of the second battery (second voltage) to the first battery, and the first battery can obtain its own voltage (first voltage) and the voltage of the second battery (second voltage).
[0040] Step S102: the first battery compares the first voltage and the second voltage.
[0041] In the implementation manner of the present application, after obtaining the first voltage and the second voltage, the first battery can compare the two voltages through an internal MCU or logic circuit and obtain a comparison result.
[0042] The following are some examples of use scenarios of the embodiments of the present application:
[0043] In some scenarios, the electric car initially purchased by the user is only installed with one set of batteries. After driving the electric car, the user wants to increase the battery life or power of the electric car, so he buys a set of batteries of the same model as the initially installed batteries, and connects the two sets of batteries in parallel to form the above-mentioned first battery and second battery. It is understandable that since the first battery and the second battery are not installed and used at the same time, the power between the two is very likely to be different, which leads to different voltages between the two, so the first voltage of the first battery will be greater than the second voltage of the second battery. Of course, the scenario applicable to the embodiment of the present application is not the above one, but is applicable to all scenarios where two or two sets of batteries are connected in parallel.
[0044] Step S103, when the first voltage is greater than the second voltage, the first battery turns on a first charging switch of the first battery, and performs current detection on the first battery to obtain first current information of the first battery.
[0045] The first charging switch is a switch located on the first battery, which is used to control whether the first battery is charged, and can be a charging MOS. The current information is used to indicate whether there is a charging current in the corresponding battery, so the first current information is used to indicate whether there is a charging current in the first battery at this time.
[0046] It should be understood that, usually, for two batteries of the same type, it can be considered that the charge is proportional to the voltage, that is, if the voltage of one battery is greater than the voltage of the other battery, then it can be considered that the charge of the battery with the higher voltage is greater than the charge of the battery with the lower voltage.
[0047] Based on this, in the implementation of the present application, when the comparison result is that the first voltage is greater than the second voltage, it can be considered that the power of the first battery is greater than the power of the second battery. At this time, the first battery can turn on its charging switch and detect whether there is a charging current (first current information) in the first battery through the AFE component combined with the shunt.
[0048] It can be understood that after the first charging switch of the first battery is turned on, if the charging control system is connected to an external power source, then a charging current can be detected in the first battery.
[0049] Step S104: the first battery determines the overall usage status of the first battery and the second battery according to the first current information.
[0050] The overall use state may include a charging state and a discharging state. The charging state means that the charging control system is receiving an external power source and is in a charging state as a whole. The discharging state means other states other than the charging state, for example, the charging control system is in a discharging state as a whole, or the charging control system is in a state of neither charging nor discharging.
[0051] In some specific embodiments of the present application, the first battery determines the overall usage status of the first battery and the second battery according to the first current information, which may specifically include step S401 or step S402.
[0052] Step S401: When the first current information corresponds to the presence of a charging current, the first battery determines that the overall usage state of the first battery and the second battery is a charging state.
[0053] In the implementation of the present application, since the voltage of the first battery is greater than the voltage of the second battery, the second battery will not charge the first battery, and at this time there will be no charging current from the second battery in the first battery. Therefore, when the first current information corresponds to the presence of a charging current, the charging current comes from the external power source, thereby determining that the overall use state of the first battery and the second battery is a charging state, that is, connected to an external power source.
[0054] Step S402: When the first current information corresponds to the absence of a charging current, the first battery determines that the overall usage state of the first battery and the second battery is a discharging state.
[0055] In the implementation mode of the present application, similarly, when the voltage of the first battery is greater than the voltage of the second battery, there will be no charging current from the second battery in the first battery. It should be understood that in the initial state, the charging switch and the discharging switch of the first battery and the second battery are both turned off. Based on this, when the charging switch of the second battery is turned off, if the charging control system is connected to an external power supply, the charging current should be detected in the first battery at this time. Therefore, when the first current information corresponds to the absence of a charging current, it can be determined that the charging control system is not connected to an external power supply, that is, the overall use state of the first battery and the second battery is a discharge state.
[0056] Step S105 , if it is determined that the overall use state is the charging state, the first battery turns off the first charging switch and the first discharging switch of the first battery, and sends a first control signal to the second battery.
[0057] The first discharge switch is a discharge switch located on the first battery, which is used to control whether the first battery discharges to other devices (such as an electric vehicle motor), and can specifically be a discharge MOS. The first control signal is a signal sent from the first battery to the second battery, which is used to control the charging switch of the second battery.
[0058] After determining that the overall use state of the first battery and the second battery is the charging state, since the first voltage of the first battery is greater than the second voltage of the second battery, it can be understood that the power of the first battery is higher than the power of the second battery.
[0059] In order to avoid battery damage caused by the voltage difference between the two groups of batteries during the charging process, in the embodiment of the present application, the first battery turns off the first charging switch and the first discharging switch of the first battery. After the first charging switch and the first discharging switch are turned off, the first battery will neither receive power from the external power supply nor release power to the second battery. In addition, the first battery can also send a first control signal to the second battery to instruct the second battery to turn on the second charging switch of the second battery.
[0060] It is understandable that before executing the above steps S101 to S105, the charging switch and the discharging switch of the first battery can be turned on or off. The charging switch and the discharging switch of the second battery can also be turned on or off. The on and off states of the charging switches and the discharging switches of the first battery and the second battery will not affect the execution of the above steps and subsequent steps.
[0061] Exemplarily, assuming that the initial state of the charging switch of the first battery is turned on, the “the first battery turns on the first charging switch of the first battery” in the above step S103 may be to keep the first charging switch in the turned-on state. Also assuming that the initial state of the charging switch of the first battery is turned off, the “the first battery turns on the first charging switch of the first battery” in the above step S103 may be to convert the first charging switch from the turned-off state to the turned-on state.
[0062] Step S106: the second battery turns on a second charging switch of the second battery according to the first control signal.
[0063] The second charging switch is a switch located on the second battery and is used to control whether the second battery is charged. Specifically, the second charging switch may be a charging MOS.
[0064] In the implementation of the present application, after the second battery receives the first control signal, the second charging switch of the second battery can be turned on. On the basis of turning off the first charging switch and the first discharging switch of the first battery in step S105, the second battery turns on the second charging switch, and when connected to an external power source, the second battery receives the electric energy provided by the external power source and is charged.
[0065] Since the first charging switch and the first discharging switch of the first battery are turned off, the first battery will neither charge nor discharge, and its power level will remain unchanged in a short period of time (the natural loss of battery power is not considered in a short period of time). As the second battery is continuously charged, its power level continues to increase, while the power level of the first battery remains unchanged. Therefore, after a period of time, the power level of the second battery can be consistent with the power level of the first battery. At this time, the voltages of the two groups of batteries will also be consistent, and there will be no voltage difference between the two. At this time, the two are charged or discharged synchronously, which can avoid the problems of the background technology.
[0066] The beneficial effect of the embodiment of the present application compared with the prior art is that when the voltages of the two battery groups are different, the embodiment of the present application turns on the charging switch of the high-voltage battery (i.e., the first battery) and detects the current information of the high-voltage battery to determine the overall use status of the two battery groups. When the overall use status is the charging state, the charging switch and the discharging switch of the high-voltage battery are turned off to avoid the high-voltage battery being discharged due to the voltage difference while charging, resulting in battery damage. At the same time, the charging switch of the low-voltage battery (i.e., the second battery) is turned on to charge the low-voltage battery, and since the discharge switch of the high-voltage battery connected thereto is turned off, the low-voltage battery will not receive other charging currents except the external power supply, which can avoid the charging current received by it exceeding the rated charging current, resulting in battery damage. That is, the embodiment of the present application can reduce the damage to the two groups of batteries connected to each other during charging.
[0067] In some specific implementations of the present application, after the second battery turns on the second charging switch of the second battery according to the first control signal, the method may further include steps S501 to S503.
[0068] Step S501: The second battery performs current detection on the second battery to obtain second current information of the second battery.
[0069] The second current information is used to indicate whether there is a charging current in the second battery at this time.
[0070] In the implementation of the present application, after the second battery turns on the second charging switch, the second battery can perform current detection on the second battery to obtain second current information of the second battery. The specific detection process can refer to the above step S103, which will not be repeated here.
[0071] Step S502: The second battery determines the overall usage status of the first battery and the second battery according to the second current information.
[0072] In the implementation manner of the present application, the specific judgment process can refer to the above-mentioned step S104 and its specific implementation manner, which will not be repeated here.
[0073] Step S503: if it is determined that the overall use state is the charging state, the second battery turns on the second discharge switch of the second battery.
[0074] In the implementation of the present application, under normal circumstances, when an external power source is connected and the charging switch and the discharging switch of the first battery are both turned off, the second battery can be charged smoothly, that is, the second battery is in a charging state. At this time, the second battery can turn on the second discharge switch of the second battery to meet the overall operation requirements of the second battery or to achieve specific functions, such as maintaining the voltage stability of the system, preventing reverse current, protecting other circuit components, etc.
[0075] It is understandable that in some usage scenarios, when the user is charging the electric vehicle (that is, charging the charging control system), for various reasons, the user may disconnect the external power supply before fully charging the electric vehicle. At this time, the first battery and the second battery will switch to the discharge state.
[0076] In some specific embodiments of the present application, after the second battery determines the overall usage status of the first battery and the second battery according to the second current information, the method further includes step S601.
[0077] Step S601: if it is determined that the overall use state is a discharge state, the second battery turns off a second charging switch of the second battery.
[0078] When the overall use state is determined to be a discharge state, since the voltage of the second battery is still lower than that of the first battery, the first battery may still generate a charging current to charge the second battery, and the second battery may be damaged. Based on this, in an embodiment of the present application, after determining that the overall use state is a discharge state, the second battery turns off the second charging switch of the second battery.
[0079] In combination with the above steps S501 to S503, and step S601, the implementation manner of the present application performs secondary detection when the second battery is in a charging state, and turns off the charging switch of the second battery when it is determined that the second battery is actually in a discharging state, thereby protecting the second battery even in special scenarios.
[0080] It should be understood that the second battery can continuously detect the second current information in the second battery. When the second battery is continuously charged, the corresponding charging current continues to exist. When the external power supply is disconnected, there is no charging current in the second battery. The second battery can detect the corresponding current information and determine that the overall usage status is a discharge state.
[0081] The usage scenario corresponding to this embodiment may be: the user may disconnect the external power supply when the power level of the second battery is not consistent with the power level of the first battery, and at this time, the charging control is overall converted to a discharging state.
[0082] In some more specific embodiments of the present application, after the second battery turns off the second charging switch of the second battery if the overall usage state is determined to be the discharging state, the method may further include steps S701 to S704.
[0083] Step S701: The second battery sends a second control signal to the first battery.
[0084] The second control signal is a signal sent from the second battery to the first battery, and is used to control the charging switch of the first battery.
[0085] In an embodiment of the present application, after the second battery determines that the overall usage state is a discharge state and closes the second charging switch, the second battery can send a second control signal to the first battery to instruct the first battery to perform subsequent steps to open the first discharge switch and convert to a discharge state.
[0086] In step S702, the first battery turns on a first charging switch of the first battery according to the second control signal, and performs current detection on the first battery to obtain third current information of the first battery.
[0087] In the implementation of the present application, after the first battery receives the second control signal, the first charging switch of the first battery can be turned on. At this time, the first battery can further detect whether there is a charging current in the first battery, thereby obtaining the third current information of the first battery.
[0088] Step S703: the first battery determines the overall usage status of the first battery and the second battery according to the third current information.
[0089] In the implementation manner of the present application, the specific judgment process can refer to the above-mentioned step S104 and its specific implementation manner, which will not be repeated here.
[0090] It should be understood that a transient current may be generated inside the battery when it is not charged, or no current may be detected at a certain moment when it is charging, which can easily lead to misjudgment. In the implementation mode of the present application, when the second battery determines that the overall usage status is in a discharging state, the overall usage status is judged again by the first battery, which can effectively avoid misjudgment.
[0091] Step S704: if it is determined that the overall use state is a discharge state, the first battery turns on a first discharge switch.
[0092] In an embodiment of the present application, if the first battery again determines that the overall usage status is a discharge state based on the second battery determining that the overall usage status is a discharge state, the first battery can turn on the first discharge switch to enter the discharge state to power the device or prepare to power the device.
[0093] In the embodiment of the present application, after the overall use state of the first battery and the second battery is converted from the charging state to the discharging state, a secondary determination is first performed to avoid misjudgment. When the secondary determination is in the discharging state, the first discharge switch of the first battery is turned on to discharge the first battery with a higher charge first, so that the charge of the first battery is close to that of the second battery, so as to avoid damaging the battery during subsequent charging or use.
[0094] When the first battery and the second battery are connected to an external power supply, the charging switch and the discharging switch of the first battery are turned off, and the charging switch of the second battery is turned on, the second battery will enter a charging state, so the power of the second battery will gradually increase until it is consistent with the power of the first battery.
[0095] In some specific implementations of the present application, after the second battery turns on the second charging switch of the second battery according to the first control signal, the method may further include steps S801 to S804.
[0096] Step S801: The first battery and the second battery continuously obtain a first voltage and a second voltage.
[0097] In the implementation manner of the present application, the first battery and the second battery can continuously monitor their own voltages and obtain the voltage of each other through the built-in AFE component.
[0098] Step S802: when the first battery detects that the first voltage is less than or equal to the second voltage, the first charging switch is turned on, and current detection is performed on the first battery to obtain fourth current information of the first battery.
[0099] It should be understood that when the first battery detects that the first voltage is less than or equal to the second voltage at a certain moment, it can usually be considered that the power of the first battery is consistent with the power of the second battery at this time. Based on this, the usual practice is to charge the first battery and the second battery at the same time from this moment. However, after a lot of research, the applicant found that when the voltage of the second battery increases from lower than the voltage of the first battery to equal to or higher than the voltage of the first battery, it does not necessarily mean that the power of the second battery is consistent with the power of the first battery. Instead, a "pseudo-balance" phenomenon may occur, that is, when the voltage of the second battery increases from lower than the voltage of the first battery to equal to or higher than the voltage of the first battery, it is not caused by the power of the second battery increasing to the same as the power of the first battery, but the second battery has a large voltage change in a short period of time, resulting in a sudden increase in the detected second voltage, making the second voltage greater than or equal to the second voltage. In fact, the power of the second battery is still lower than the power of the first battery.
[0100] Based on this, in the implementation of the present application, when the first battery detects that the first voltage is less than or equal to the second voltage, the first battery does not immediately turn on the first charging switch and the first discharging switch to enter the charging state. Instead, the first charging switch is turned on first, and the current of the first battery is detected to obtain the fourth current information of the first battery, thereby verifying whether the power of the second battery is equal to or greater than that of the first battery.
[0101] Step S803: if the fourth current information corresponds to the presence of a charging current, the first battery turns on the first discharge switch and sends a third control signal to the second battery.
[0102] In the implementation of the present application, if the fourth current information corresponds to the presence of a charging current, it can be considered that the charging current is generated by the second battery charging the first battery, which corresponds to the second battery having a higher power than the first battery. At this time, the first battery can turn on the first discharge switch and send a third control signal to the second battery.
[0103] Step S804: the second battery keeps turning on a second charging switch and a second discharging switch of the second battery according to the third control signal.
[0104] In the implementation of the present application, the second battery receives the third control signal, and the second charging switch and the second discharging switch of the second battery can be kept turned on. At this time, the power levels of the first battery and the second battery are equal or substantially close, so that the two are charged at the same time, and no charging current is generated due to the voltage difference or the generated charging current is very small, which can avoid damage to the battery.
[0105] In some specific implementations of the present application, after the current detection is performed on the first battery to obtain the fourth current information of the first battery, step S901 and step S902 may also be included.
[0106] Step S901: if the fourth current information corresponds to the absence of charging current, the first battery turns off the first charging switch and sends a fourth control signal to the second battery.
[0107] In the implementation of the present application, if the fourth current information corresponds to the absence of charging current, it can be considered that the current power level of the second battery is still lower than the power level of the first battery. That is, the phenomenon of detecting that the first voltage is less than or equal to the second voltage is caused by the above-mentioned "pseudo-balance" phenomenon. Therefore, the first battery turns off the first charging switch, does not enter the charging state, and sends the fourth control signal to the second battery.
[0108] Step S902: the second battery keeps turning on a second charging switch and a second discharging switch of the second battery according to a fourth control signal.
[0109] In the embodiment of the present application, after the second battery receives the fourth control signal, the second charging switch and the second discharging switch of the second battery remain turned on, that is, the second battery continues to charge while the first battery does not charge, so as to reduce the power difference between the two.
[0110] In the embodiment of the present application, after determining that the "pseudo-balance" phenomenon occurs, the charging switch of the first battery is turned off to prevent the first battery from charging the second battery and causing damage to the battery.
[0111] The above implementations are all implemented based on the initial detection that the first voltage of the first battery is greater than the second voltage of the second battery. Now, the implementation corresponding to the initial detection that the first voltage of the first battery is less than the second voltage of the second battery is described. In some implementations of the present application, after the first battery obtains the first voltage of the first battery and the second voltage sent by the second battery, steps S1001 to S1005 may also be included.
[0112] Step S1001, the second battery compares the first voltage and the second voltage;
[0113] Step S1002, when the first voltage is less than the second voltage, the second battery turns on a second charging switch of the second battery, and performs current detection on the second battery to obtain fifth current information of the second battery;
[0114] Step S1003, the second battery determines the overall usage status of the first battery and the second battery according to the fifth current information;
[0115] Step S1004, if it is determined that the overall use state is the charging state, the second battery turns off the second charging switch and the second discharging switch of the second battery, and sends a fifth control signal to the first battery;
[0116] Step S1005 : the first battery turns on a first charging switch of the first battery according to the fifth control signal.
[0117] In the implementation of the present application, when the first voltage is less than the second voltage, the second battery can execute the specific implementation of the first battery in steps S102 to S106, and the first battery can execute the specific implementation of the second battery in steps S102 to S106. That is, when the first voltage is less than the second voltage, the steps executed by the second battery are consistent with the steps executed by the first battery when the first voltage is greater than the second voltage. And, when the first voltage is less than the second voltage, the steps executed by the first battery are consistent with the steps executed by the second battery when the first voltage is greater than the second voltage.
[0118] Figure 2A schematic diagram of the structure of a charging control system provided in an embodiment of the present application is shown. The charging control system 2 includes a first battery and a second battery. The first battery and the second battery are connected in parallel and in communication connection.
[0119] The first battery obtains a first voltage of the first battery and a second voltage sent by the second battery;
[0120] The first battery compares the magnitude of the first voltage and the second voltage;
[0121] When the first voltage is greater than the second voltage, the first battery turns on a first charging switch of the first battery, and performs current detection on the first battery to obtain first current information of the first battery;
[0122] The first battery determines the overall usage status of the first battery and the second battery according to the first current information;
[0123] If it is determined that the overall use state is a charging state, the first battery turns off a first charging switch and a first discharging switch of the first battery, and sends a first control signal to the second battery;
[0124] The second battery turns on a second charging switch of the second battery according to the first control signal.
[0125] The beneficial effect of the embodiment of the present application compared with the prior art is that when the voltages of the two battery groups are different, the embodiment of the present application turns on the charging switch of the high-voltage battery (i.e., the first battery) and detects the current information of the high-voltage battery to determine the overall use status of the two battery groups. When the overall use status is the charging state, the charging switch and the discharging switch of the high-voltage battery are turned off to avoid the high-voltage battery being discharged due to the voltage difference while charging, resulting in battery damage. At the same time, the charging switch of the low-voltage battery (i.e., the second battery) is turned on to charge the low-voltage battery, and since the discharge switch of the high-voltage battery connected thereto is turned off, the low-voltage battery will not receive other charging currents except the external power supply, which can avoid the charging current received by it exceeding the rated charging current, resulting in battery damage. That is, the embodiment of the present application can reduce the damage to the two groups of batteries connected to each other during charging.
[0126] In some embodiments of the present application, after the second battery turns on the second charging switch of the second battery according to the first control signal, the method further includes: the second battery performs current detection on the second battery to obtain second current information of the second battery; the second battery determines the overall usage status of the first battery and the second battery according to the second current information; if the overall usage status is determined to be a charging state, the second battery turns on the second discharge switch of the second battery.
[0127] In some embodiments of the present application, after the second battery determines the overall usage status of the first battery and the second battery according to the second current information, it also includes: if the overall usage status is determined to be a discharge state, the second battery turns off the second charging switch of the second battery.
[0128] In some embodiments of the present application, if the overall usage status is determined to be a discharge state, after the second battery turns off the second charging switch of the second battery, it also includes: the second battery sends a second control signal to the first battery; the first battery turns on the first charging switch of the first battery according to the second control signal, and performs current detection on the first battery to obtain third current information of the first battery; the first battery determines the overall usage status of the first battery and the second battery according to the third current information; if the overall usage status is determined to be a discharge state, the first battery turns on the first discharge switch.
[0129] In some embodiments of the present application, after the second battery turns on the second charging switch of the second battery according to the first control signal, the method further includes: the first battery and the second battery continuously obtain the first voltage and the second voltage; when the first battery detects that the first voltage is less than or equal to the second voltage, the first charging switch is turned on, and the current detection is performed on the first battery to obtain fourth current information of the first battery; if the fourth current information corresponds to the existence of a charging current, the first battery turns on the first discharge switch and sends a third control signal to the second battery; the second battery keeps turning on the second charging switch and the second discharge switch of the second battery according to the third control signal.
[0130] In some embodiments of the present application, after performing current detection on the first battery and obtaining the fourth current information of the first battery, it also includes: if the fourth current information corresponds to the absence of charging current, the first battery turns off the first charging switch and sends a fourth control signal to the second battery; the second battery keeps the second charging switch and the second discharging switch of the second battery turned on according to the fourth control signal.
[0131] In some embodiments of the present application, the overall usage status includes a charging status and a discharging status, and the current information is used to characterize whether there is a charging current. The first battery determines the overall usage status of the first battery and the second battery based on the first current information, including: when the first current information corresponds to the presence of a charging current, the first battery determines that the overall usage status of the first battery and the second battery is a charging status; when the first current information corresponds to the absence of a charging current, the first battery determines that the overall usage status of the first battery and the second battery is a discharging status.
[0132] In some embodiments of the present application, after the first battery obtains the first voltage of the first battery and the second voltage sent by the second battery, it also includes: the second battery compares the first voltage and the second voltage; when the first voltage is less than the second voltage, the second battery turns on the second charging switch of the second battery, and performs current detection on the second battery to obtain fifth current information of the second battery; the second battery determines the overall usage status of the first battery and the second battery according to the fifth current information; if the overall usage status is determined to be a charging state, the second battery turns off the second charging switch and the second discharging switch of the second battery, and sends a fifth control signal to the first battery; the first battery turns on the first charging switch of the first battery according to the fifth control signal.
[0133] like Figure 3 , which is a schematic diagram of an electronic device provided in an embodiment of the present application. The electronic device 3 may include: a processor 301, a memory 302, and a computer program 303 stored in the memory 302 and executable on the processor 301, such as a charging control program. When the processor 301 executes the computer program 303, the steps in the above-mentioned various charging control method embodiments are implemented, such as Figure 1 Steps S101 to S106 are shown.
[0134] The computer program may be divided into one or more modules / units, one or more modules / units are stored in the memory 302 and executed by the processor 301 to complete the present application. One or more modules / units may be a series of computer program instruction segments capable of completing specific functions, and the instruction segments are used to describe the execution process of the computer program in the electronic device.
[0135] The electronic device may include, but is not limited to, a processor 301 and a memory 302. Those skilled in the art will appreciate that Figure 3 These are merely examples of electronic devices and do not constitute a limitation of the electronic device. The electronic device may include more or fewer components than those shown in the figure, or a combination of certain components, or different components. For example, the electronic device may also include input and output devices, network access devices, buses, etc.
[0136] The processor 301 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0137] The memory 302 may be an internal storage unit of the electronic device, such as a hard disk or memory of the electronic device. The memory 302 may also be an external storage device of the electronic device, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the electronic device. Further, the memory 302 may also include both an internal storage unit of the electronic device and an external storage device. The memory 302 is used to store computer programs and other programs and data required by the electronic device. The memory 302 may also be used to temporarily store data that has been output or is to be output.
[0138] It should be noted that, for the convenience and brevity of description, the structure of the above electronic device can also refer to the specific description of the structure in the method embodiment, which will not be repeated here.
[0139] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0140] An embodiment of the present application further provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the steps in the above-mentioned charging control method can be implemented.
[0141] An embodiment of the present application provides a computer program product. When the computer program product runs on a mobile terminal, the mobile terminal can implement the steps in the above-mentioned charging control method when executing the computer program product.
[0142] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0143] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0144] In the embodiments provided in the present application, it should be understood that the disclosed devices / electronic devices and methods can be implemented in other ways. For example, the device / electronic device embodiments described above are merely schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as 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 mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0145] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0146] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0147] If the integrated module / 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 storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.
[0148] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A charging control method, characterized in that: Applied to a charging control system, the charging control system further includes a first battery and a second battery, the first battery and the second battery are connected in parallel and in communication, the method includes: The first battery obtains a first voltage of the first battery and a second voltage sent by the second battery; The first battery compares the first voltage and the second voltage; When the first voltage is greater than the second voltage, the first battery turns on a first charging switch of the first battery, and performs current detection on the first battery to obtain first current information of the first battery; The first battery determines, according to the first current information, an overall usage status of the first battery and the second battery; If it is determined that the overall usage state is a charging state, the first battery turns off the first charging switch and the first discharging switch of the first battery, and sends a first control signal to the second battery; The second battery turns on a second charging switch of the second battery according to the first control signal.
2. The charging control method according to claim 1, characterized in that: After the second battery turns on the second charging switch of the second battery according to the first control signal, the method further includes: The second battery performs current detection on the second battery to obtain second current information of the second battery; The second battery determines, according to the second current information, an overall usage status of the first battery and the second battery; If it is determined that the overall usage state is a charging state, the second battery turns on a second discharge switch of the second battery.
3. The charging control method according to claim 2, characterized in that: After the second battery determines the overall usage status of the first battery and the second battery according to the second current information, the method further includes: If it is determined that the overall usage state is a discharging state, the second battery turns off a second charging switch of the second battery.
4. The charging control method according to claim 3, characterized in that: After the second battery turns off the second charging switch of the second battery if it is determined that the overall usage state is a discharging state, the method further includes: The second battery sends a second control signal to the first battery; The first battery turns on a first charging switch of the first battery according to the second control signal, and performs current detection on the first battery to obtain third current information of the first battery; The first battery determines the overall usage status of the first battery and the second battery according to the third current information; If it is determined that the overall usage state is a discharging state, the first battery turns on the first discharging switch.
5. The charging control method according to claim 1, characterized in that: After the second battery turns on the second charging switch of the second battery according to the first control signal, the method further includes: The first battery and the second battery continuously obtain the first voltage and the second voltage; When the first battery detects that the first voltage is less than or equal to the second voltage, turning on the first charging switch and performing current detection on the first battery to obtain fourth current information of the first battery; If the fourth current information corresponds to the presence of a charging current, the first battery turns on the first discharge switch and sends a third control signal to the second battery; The second battery keeps turning on the second charging switch and the second discharging switch of the second battery according to the third control signal.
6. The charging control method according to claim 5, characterized in that: After the current detection is performed on the first battery to obtain fourth current information of the first battery, the method further includes: If the fourth current information corresponds to the absence of a charging current, the first battery turns off the first charging switch and sends a fourth control signal to the second battery; The second battery keeps turning on the second charging switch and the second discharging switch of the second battery according to the fourth control signal.
7. The charging control method according to claim 1, characterized in that: The overall use state includes a charging state and a discharging state, the current information is used to indicate whether there is a charging current, and the first battery determines the overall use state of the first battery and the second battery according to the first current information, including: When the first current information corresponds to the presence of a charging current, the first battery determines that the overall usage state of the first battery and the second battery is a charging state; When the first current information corresponds to the absence of a charging current, the first battery determines that the overall usage state of the first battery and the second battery is a discharging state.
8. The charging control method according to claim 1, characterized in that: After the first battery acquires the first voltage of the first battery and the second voltage sent by the second battery, the method further includes: The second battery compares the first voltage and the second voltage; When the first voltage is less than the second voltage, the second battery turns on a second charging switch of the second battery, and performs current detection on the second battery to obtain fifth current information of the second battery; The second battery determines the overall usage status of the first battery and the second battery according to the fifth current information; If it is determined that the overall usage state is a charging state, the second battery turns off a second charging switch and a second discharging switch of the second battery, and sends a fifth control signal to the first battery; The first battery turns on a first charging switch of the first battery according to the fifth control signal.
9. A charging control system, characterized in that: The system includes a first battery and a second battery, wherein the first battery and the second battery are connected in parallel and in communication; The first battery obtains a first voltage of the first battery and a second voltage sent by the second battery; The first battery compares the first voltage and the second voltage; When the first voltage is greater than the second voltage, the first battery turns on a first charging switch of the first battery, and performs current detection on the first battery to obtain first current information of the first battery; The first battery determines, according to the first current information, an overall usage status of the first battery and the second battery; If it is determined that the overall usage state is a charging state, the first battery turns off the first charging switch and the first discharging switch of the first battery, and sends a first control signal to the second battery; The second battery turns on a second charging switch of the second battery according to the first control signal.
10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the charging control method according to any one of claims 1 to 8 when executing the computer program.
Citation Information
Patent Citations
Banked battery and voltage balancing method thereof
CN109787322A
Device and method for balancing battery packs connected in parallel to each other
CN113875113A
Electric vehicle battery control method and system, storage medium and intelligent terminal
CN113910979A
Double-battery parallel control system and method for electric vehicle
CN114204649A
Charging control system
CN119058462A