Vehicle battery control method, vehicle, and electronic device

By configuring dual battery packs in the vehicle battery system and using relay topology switching to achieve parallel discharge mode, the problem that the backup battery pack cannot participate in the vehicle's power output is solved, improving discharge efficiency and resource utilization, and ensuring the vehicle's continuous power supply capability.

CN123025679APending Publication Date: 2026-11-03FAW CAR CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611253706.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-18
Publication Date
2026-11-03

AI Technical Summary

Technical Problem

In a vehicle battery system, the backup battery pack cannot participate in the vehicle's power output when the main battery pack fails, resulting in low utilization of the vehicle's battery resources.

Method used

By configuring a first battery pack and a second battery pack in the vehicle battery system and utilizing the topology switching of multiple relays to form a parallel discharge mode, the two battery packs can perform discharge operations simultaneously, thereby achieving dual-pack coordinated discharge control.

Benefits of technology

It improves discharge efficiency and overall vehicle battery resource utilization, ensuring that the vehicle can continue to supply power even in the event of a partial battery failure.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123025679A_ABST
    Figure CN123025679A_ABST
Patent Text Reader

Abstract

The application discloses a vehicle battery control method, a vehicle and an electronic device, and the method comprises the following steps: in a discharging state, enabling a parallel discharging mode according to the states of a first battery pack and a second battery pack, controlling a second relay, a fourth relay, a fifth relay, a seventh relay and a ninth relay to be closed, and performing a discharging operation through a discharging circuit of each of the first battery pack and the second battery pack; ending the discharging state based on a discharging end condition; wherein the positive electrode of the first battery pack is connected with the positive electrode of the second battery pack through the second relay, the fourth relay and the seventh relay, the negative electrode of the first battery pack is connected with the negative electrode of the second battery pack through the fifth relay and the ninth relay, a first charging interface and a first driving interface group of a target vehicle are connected between the fifth relay and the ninth relay, and a second driving interface group of the target vehicle is connected between the fourth relay and the seventh relay. The application can improve the discharging efficiency and the utilization rate of the whole vehicle battery resources.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of vehicle battery technology, and more particularly to a vehicle battery control method, a vehicle, and electronic equipment. Background Technology

[0002] The vehicle battery system is the core energy storage and supply carrier in the vehicle's energy management architecture. Its functions include controlling the charging and discharging process of the power battery pack, real-time estimation of the state of charge and state of health, and active or passive balancing adjustment between cells. Currently, vehicle battery systems typically have two battery packs: a main battery pack and a backup battery pack. By default, the main battery pack is used to perform the vehicle's discharge operation. When the main battery pack fails due to a malfunction, the backup battery pack takes over and assumes the vehicle's discharge function. This means that the backup battery pack is idle under most vehicle operating conditions, and its stored energy cannot participate in the vehicle's power output, resulting in low utilization of the vehicle's battery resources. Summary of the Invention

[0003] The main objective of this application is to propose a vehicle battery control method, a vehicle, and an electronic device, which aims to achieve dual-packet coordinated discharge control, thereby improving discharge efficiency and the overall vehicle battery resource utilization rate.

[0004] To achieve the above objectives, one aspect of this application proposes a vehicle battery control method. The method is applied to a vehicle battery system, which includes a first battery pack, a second battery pack, a second relay, a fourth relay, a fifth relay, a seventh relay, and a ninth relay. The positive terminal of the first battery pack is sequentially connected to the positive terminal of the second battery pack via the second relay, the fourth relay, and the seventh relay. The negative terminal of the first battery pack is sequentially connected to the negative terminal of the second battery pack via the fifth relay and the ninth relay. A first charging interface and a first drive interface group of a target vehicle are connected between the fifth relay and the ninth relay, and a second drive interface group of the target vehicle is connected between the fourth relay and the seventh relay. The method includes: When the target vehicle is in a discharge state, the parallel discharge mode is activated according to the corresponding states of the first battery pack and the second battery pack. In the parallel discharge mode, the second relay, the fourth relay, the fifth relay, the seventh relay and the ninth relay are controlled to close, so as to perform discharge operation through the discharge circuits corresponding to the first battery pack and the second battery pack respectively; In response to the discharge termination condition, the target vehicle is controlled to terminate the discharge state.

[0005] To achieve the above objectives, another aspect of this application provides a vehicle, the vehicle comprising: A vehicle battery system includes a first battery pack, a second battery pack, a second relay, a fourth relay, a fifth relay, a seventh relay, and a ninth relay. The positive terminal of the first battery pack is connected to the positive terminal of the second battery pack sequentially through the second relay, the fourth relay, and the seventh relay. The negative terminal of the first battery pack is connected to the negative terminal of the second battery pack sequentially through the fifth relay and the ninth relay. A first charging interface and a first drive interface group of a target vehicle are connected between the fifth relay and the ninth relay. A second drive interface group of the target vehicle is connected between the fourth relay and the seventh relay. The first processing module is used to enable the parallel discharge mode according to the corresponding states of the first battery pack and the second battery pack when the target vehicle is in a discharge state. The second processing module is used to control the closing of the second relay, the fourth relay, the fifth relay, the seventh relay and the ninth relay in the parallel discharge mode, so as to perform discharge operation through the discharge circuits corresponding to the first battery pack and the second battery pack respectively; The third processing module is used to control the target vehicle to end the discharge state in response to the discharge termination condition.

[0006] To achieve the above objectives, another aspect of this application provides an electronic device, the device comprising: At least one processor; At least one memory for storing at least one program; When the at least one program is executed by the at least one processor, the at least one processor implements the above-described vehicle battery control method.

[0007] According to an embodiment of this application, a vehicle battery control method, vehicle, and electronic device are provided. In a discharge state, a parallel discharge mode is activated based on the states of a first battery pack and a second battery pack. This involves controlling the closure of a second, fourth, fifth, seventh, and ninth relay to perform a discharge operation through the respective discharge circuits of the first and second battery packs. The discharge state ends based on a discharge termination condition. Specifically, the positive terminal of the first battery pack is connected to the positive terminal of the second battery pack via the second, fourth, and seventh relays, and the negative terminal of the first battery pack is connected to the negative terminal of the second battery pack via the fifth and ninth relays. The first charging interface and the first drive interface group of the target vehicle are connected between the fifth and ninth relays, and the second drive interface group of the target vehicle is connected between the fourth and seventh relays. According to the technical solution of this application, dual-pack coordinated discharge control can be achieved, thereby improving both discharge efficiency and the overall battery resource utilization rate of the vehicle.

[0008] Other features and advantages of this application will be set forth in the following description and will be apparent in part from the description or may be learned by practicing the application. The objectives and other advantages of this application may be realized and obtained by means of the structures particularly pointed out in the description and the accompanying drawings. Attached Figure Description

[0009] Figure 1 This is a structural diagram of a vehicle battery system provided in this application; Figure 2 This is a flowchart of a vehicle battery control method provided in this application; Figure 3 This is a structural diagram of the discharge circuit for the parallel discharge mode provided in this application; Figure 4 This is a flowchart of the parallel discharge mode provided in this application; Figure 5 This is a structural diagram of the discharge circuit for the first single-packet discharge mode provided in this application; Figure 6 This is a structural diagram of the discharge circuit for the second single-packet discharge mode provided in this application; Figure 7 This is a flowchart of the charging state provided in this application; Figure 8 This is a structural diagram of the charging circuit for the parallel charging mode provided in this application; Figure 9 This is a flowchart of the parallel charging mode provided in this application; Figure 10 This is a structural diagram of the charging circuit for the first single-pack charging mode provided in this application; Figure 11 This is a structural diagram of the charging circuit for the second single-pack charging mode provided in this application; Figure 12 This is a structural diagram of a charging circuit in the series charging mode provided in this application; Figure 13 This is another structural diagram of the charging circuit in the series charging mode provided in this application; Figure 14 This is another structural diagram of the charging circuit in the series charging mode provided in this application; Figure 15 This is a schematic diagram of the vehicle state machine provided in this application; Figure 16 This is a flowchart of the vehicle state switching provided in this application. Detailed Implementation

[0010] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of this application and are not intended to limit it. In the following description, when referring to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with those of this application; they are merely examples of apparatuses and methods consistent with some aspects of the embodiments of this application as detailed in the appended claims.

[0011] It is understood that the terms “first,” “second,” etc., used in this application may be used herein to describe various concepts, but unless otherwise stated, these concepts are not limited by these terms. These terms are only used to distinguish one concept from another. For example, without departing from the scope of the embodiments of this application, first information may also be referred to as second information, and similarly, second information may also be referred to as first information. Depending on the context, the words “if,” “when,” or “in response to a determination” as used herein may be interpreted as “when…” or “when…” or “in response to a determination.”

[0012] As used in this application, the terms "at least one", "multiple", "each", "any", etc., "at least one" includes one, two or more, "multiple" includes two or more, "each" refers to each of the corresponding multiples, and "any" refers to any one of the multiples.

[0013] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of this application only and is not intended to limit this application.

[0014] The vehicle battery system is the core energy storage and supply carrier in the vehicle energy management architecture. Its functions are realized through the internal Battery Management System (BMS), such as the charging and discharging sequence management of the power battery pack, the real-time estimation of the state of charge (SOC) and state of health (SOH), and the active or passive balancing control between cells. It occupies an irreplaceable core position in terms of vehicle functional safety and user experience.

[0015] Currently, vehicle battery systems typically consist of two battery packs: a main battery pack and a backup battery pack. By default, the main battery pack is used to perform the vehicle's charging and discharging operations, while the backup battery pack remains idle while the main battery pack is operating. Its function is only to take over the charging and discharging functions of the vehicle when the main battery pack fails due to faults such as relay sticking or cell short circuits. This means that the backup battery pack is idle under most vehicle operating conditions, and the electrical energy it stores cannot participate in the vehicle's power output, nor can it accept the charging energy input from external charging piles, resulting in low utilization of the vehicle's battery resources.

[0016] In view of this, this application provides a vehicle battery control method, a vehicle, and an electronic device. The solution configures two battery packs, a first battery pack and a second battery pack, in the vehicle battery system. By switching the topology of multiple relays, a discharge circuit for the first battery pack and a discharge circuit for the second battery pack are formed, so that the two battery packs can perform discharge operations simultaneously, realizing dual-pack coordinated discharge control. This can improve discharge efficiency and the utilization rate of vehicle battery resources.

[0017] First, the vehicle battery system provided in the embodiments of this application will be described in detail below with reference to the accompanying drawings.

[0018] Reference Figure 1The vehicle battery system provided in this application embodiment may include, but is not limited to, a first battery pack 100, a second battery pack 200, a second relay K2, a fourth relay K4, a fifth relay K5, a seventh relay K7, and a ninth relay K9. The positive terminal of the first battery pack 100 is connected to the positive terminal of the second battery pack 200 sequentially through the second relay K2, the fourth relay K4, and the seventh relay K7, and the negative terminal of the first battery pack 100 is connected to the negative terminal of the second battery pack 200 sequentially through the fifth relay K5 and the ninth relay K9. The first charging interface and the first drive interface group of the target vehicle are connected between the fifth relay K5 and the ninth relay K9, and the second drive interface group of the target vehicle is connected between the fourth relay K4 and the seventh relay K7. The first drive interface group may include, but is not limited to, a first power distribution unit (PDU) interface, a first front-drive high-voltage interface, and a first rear-drive high-voltage interface, and the second drive interface group may include, but is not limited to, a second PDU interface, a second front-drive high-voltage interface, and a second rear-drive high-voltage interface.

[0019] Optionally, the number of battery cells included in the first battery pack 100 and the second battery pack 200 can be flexibly set according to actual conditions, and this application embodiment does not specifically limit this.

[0020] Alternatively, a first shunt R1 can be provided between the negative terminal of the first battery pack 100 and the fifth relay K5, and a second shunt R2 can be provided between the negative terminal of the second battery pack 200 and the ninth relay K9. Here, the shunt is a high-precision current sensing element based on Ohm's law, which uses the millivolt-level differential voltage generated across its fixed resistor to infer the actual current value in the circuit, providing real-time charging and discharging current data for the charging and discharging control of the target vehicle.

[0021] Alternatively, a first fuse F1 can be provided between the second relay K2 and the positive terminal of the first battery pack 100, and a second fuse F2 can be provided between the seventh relay K7 and the positive terminal of the second battery pack 200. Here, the fuse plays a one-time irreversible physical overcurrent cut-off protection role in the high-voltage power supply circuit of the target vehicle. When the current in the high-voltage power supply circuit exceeds its preset fusing threshold, the fuse element melts instantly, thereby permanently disconnecting the high-voltage power supply circuit physically and preventing the risk of thermal runaway and fire caused by severe short circuit or overload.

[0022] In some implementations, refer to Figure 1A third relay K3 is connected in parallel across the two ends of the second relay K2. The third relay K3 can be configured to close first, and then open when a first disconnection condition is met, thereby achieving pre-charging and improving charging and discharging efficiency. The first disconnection condition can be set according to actual conditions, such as the current reaching a corresponding threshold or a preset time being reached, but it is not limited to these.

[0023] In some implementations, refer to Figure 1 An eighth relay K8 is connected in parallel across the two ends of the seventh relay K7. The eighth relay K8 can be configured to close first, and then open when a second disconnection condition is met, thereby achieving pre-charging and improving charging and discharging efficiency. The second disconnection condition can be set according to actual conditions, such as the current reaching a corresponding threshold or a preset time being reached, but it is not limited to these.

[0024] In some implementations, refer to Figure 1 The system may also include, but is not limited to, the first relay K1, and the second charging port of the target vehicle is connected between the second relay K2 and the fourth relay K4 through the first relay K1.

[0025] In some implementations, refer to Figure 1 The system described above may also include, but is not limited to, a sixth relay K6. One end of the sixth relay K6 is connected between the fifth relay K5 and the negative terminal of the first battery pack 100, and the other end of the sixth relay K6 is connected between the seventh relay K7 and the positive terminal of the second battery pack 200. It is worth noting that the sixth relay K6 and the fourth relay K4 are mutually exclusive; that is, the fourth relay K4 and the sixth relay K6 cannot be closed simultaneously.

[0026] Optionally, if a first shunt R1 is provided between the negative terminal of the first battery pack 100 and the fifth relay K5, then one end of the sixth relay K6 is connected between the fifth relay K5 and the first shunt R1, and the other end of the sixth relay K6 is connected between the seventh relay K7 and the positive terminal of the second battery pack 200.

[0027] In some implementations, the second battery pack 200 is connected in parallel with the vehicle load of the target vehicle.

[0028] The following will combine Figure 1 The relay topology switching strategy in the aforementioned vehicle battery system will be further explained.

[0029] Referring to Table 1, in Table 1, " "Indicates disconnection, " "" indicates closure. In this embodiment of the application, three discharge modes and four charging modes can be achieved through relay topology switching.

[0030] Table 1: Relay Topology Switching Strategy

[0031] I. Discharge Mode: (1) Parallel (V1_Parallel) discharge mode: Only the second relay K2, the fourth relay K4, the fifth relay K5, the seventh relay K7 and the ninth relay K9 are closed. Optionally, during this period, the third relay K3 and the eighth relay K8 can be closed first and then opened to achieve a pre-charging effect.

[0032] (2) First single-pack (V1_A) discharge mode: Only the second relay K2, the fourth relay K4 and the fifth relay K5 are closed. Optionally, during this period, the third relay K3 can be closed first and then opened to achieve a pre-charge effect.

[0033] (3) Second single-pack (V1_B) discharge mode: Only the seventh relay K7 and the ninth relay K9 are closed. Optionally, during this period, the eighth relay K8 can be closed first and then opened to achieve a pre-charge effect.

[0034] II. Charging Mode: (4) Parallel (V1_Parallel) charging mode: Only the first relay K1, the second relay K2, the fourth relay K4, the fifth relay K5, the seventh relay K7, and the ninth relay K9 are closed. Optionally, during this period, the third relay K3 and the eighth relay K8 can be closed first and then opened to achieve a pre-charging effect.

[0035] (5) First single-pack (V1_A) charging mode: Only the first relay K1, the second relay K2, the fourth relay K4 and the fifth relay K5 are closed. Optionally, during this period, the third relay K3 can be closed first and then opened to achieve a pre-charging effect.

[0036] (6) Second single-pack (V1_B) charging mode: Only the first relay K1, the fourth relay K4, the seventh relay K7 and the ninth relay K9 are closed. Optionally, during this period, the eighth relay K8 can be closed first and then opened to achieve a pre-charging effect.

[0037] (7) Series (V2) charging mode: Only the first relay K1, the second relay K2, the sixth relay K6, the seventh relay K7 and the ninth relay K9 are closed. Optionally, during this period, the eighth relay K8 can be closed first and then opened to achieve a pre-charging effect.

[0038] It is worth noting that the first relay K1 is a charging relay, which is open throughout all discharge modes; the sixth relay K6 is a series relay, which is closed only in the series (V2) charging mode.

[0039] Therefore, this application embodiment, through relay topology switching, can realize three discharge modes and four charging modes: parallel (V1_Parallel) discharge mode, first single-packet (V1_A) discharge mode, second single-packet (V1_B) discharge mode, parallel (V1_Parallel) charging mode, first single-packet (V1_A) charging mode, second single-packet (V1_B) charging mode, and series (V2) charging mode. Here, V1 represents the first voltage, and V2 represents the second voltage. The second voltage is higher than the first voltage. Both the first and second voltages can be flexibly set according to actual conditions; for example, the first voltage can be 400V and the second voltage can be 800V, but it is not limited to these. It is worth noting that, except for the series charging mode, which is a high-voltage operation based on the second voltage, all other modes are low-voltage operations based on the first voltage.

[0040] Secondly, the following will combine the above-mentioned vehicle battery system and Figure 1 This application provides a detailed description of a vehicle battery control method based on embodiments.

[0041] This application provides a vehicle battery control method that can be applied to a terminal, a server, or software running on either a terminal or a server. The terminal can be a tablet, laptop, desktop computer, etc., but is not limited to these. The server can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks (CDNs), and big data and artificial intelligence platforms. Additionally, the server can be a node server in a blockchain network, but is not limited to these. Blockchain is a novel application model of computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanisms, and encryption algorithms. Specifically, in some embodiments, the vehicle battery control method provided in this application can be executed by a BMS (Battery Management System).

[0042] Reference Figure 2 The method is applied to the above-mentioned vehicle battery system and may include the following steps S101-S103.

[0043] S101, when the target vehicle is in a discharge state, the parallel discharge mode is activated according to the corresponding states of the first battery pack and the second battery pack.

[0044] It should be noted that the discharge state refers to the state of the target vehicle when the electronic components in the target vehicle are discharged through the aforementioned vehicle battery system. The discharge state can be configured with a parallel (V1_Parallel) discharge mode, which is used to perform discharge operations through the discharge circuits corresponding to the first battery pack 100 and the second battery pack 200, respectively. The discharge operation is the process of discharging the electronic components of the target vehicle, thereby achieving dual-pack coordinated discharge control. Furthermore, the state of each battery pack can include either a normal state or an abnormal state. A normal state indicates that the battery pack does not have any abnormal conditions and is working normally, while an abnormal state indicates that the battery pack has at least one abnormal condition and cannot work. The abnormal conditions can be flexibly set according to the actual situation, such as relay sticking faults, cell short circuits, etc., but are not limited to these. It should be understood that the target vehicle refers to a vehicle equipped with the aforementioned vehicle battery system and applicable to the vehicle battery control method provided in the embodiments of this application.

[0045] In this step, after the target vehicle enters the discharge state, the status of the first battery pack 100 and the second battery pack 200 are detected. If both the first battery pack 100 and the second battery pack 200 are in normal condition, it indicates that both the first battery pack 100 and the second battery pack 200 are working normally, and the parallel (V1_Parallel) discharge mode is activated at this time.

[0046] S102, in parallel discharge mode, controls the closing of the second, fourth, fifth, seventh and ninth relays to perform discharge operations through the discharge circuits corresponding to the first and second battery packs respectively.

[0047] In this step, under the parallel (V1_Parallel) discharge mode, the second relay K2, the fourth relay K4, the fifth relay K5, the seventh relay K7, and the ninth relay K9 are closed to form the discharge circuit of the first battery pack 100 and the discharge circuit of the second battery pack 200. Thus, the first battery pack 100 and the second battery pack 200 perform discharge operations simultaneously, realizing dual-pack coordinated discharge control. This can improve discharge efficiency while increasing the utilization rate of vehicle battery resources.

[0048] S103, in response to the discharge termination condition, controls the target vehicle to end the discharge state.

[0049] It should be noted that the discharge termination condition is used to control the target vehicle to terminate the discharge operation. This discharge termination condition can be flexibly set according to the actual situation; for example, it could be a high-voltage command or a State of Charge (SOC) below 20%, but it is not limited to these.

[0050] In this step, during the discharge period, the target vehicle is continuously monitored to ensure it meets the discharge termination conditions. When the target vehicle meets the discharge termination conditions, the system controls the target vehicle to exit the discharge state, thereby terminating the discharge operation. Optionally, in the parallel (V1_Parallel) discharge mode, when the target vehicle exits the discharge state, the ninth relay K9, the fifth relay K5, the seventh relay K7, the second relay K2, and the fourth relay K4 are sequentially disconnected, thereby disconnecting the discharge circuits of the first battery pack 100 and the second battery pack 200, and terminating the discharge operation.

[0051] In some implementations, refer to Figure 3 The aforementioned control of the closing of the second, fourth, fifth, seventh, and ninth relays may include: Based on the voltages corresponding to the first and second battery packs respectively, the battery pack with the higher voltage is identified as the high-voltage battery pack, and the battery pack with the lower voltage is identified as the low-voltage battery pack. Based on the voltage difference between the high-voltage battery pack and the low-voltage battery pack, the relays associated with the discharge circuit of the high-voltage battery pack and the relays associated with the discharge circuit of the low-voltage battery pack are closed in sequence to form the discharge circuit of the high-voltage battery pack first and then the discharge circuit of the low-voltage battery pack. The relays associated with the discharge circuit of the first battery pack include the second relay, the fourth relay, and the fifth relay; the relays associated with the discharge circuit of the second battery pack include the seventh relay and the ninth relay.

[0052] It should be noted that the voltage difference between the high-voltage battery pack and the low-voltage battery pack refers to the absolute value of the difference between the voltage of the high-voltage battery pack and the voltage of the low-voltage battery pack. This definition applies to all embodiments of this application.

[0053] It is worth noting that the relays associated with the discharge circuit of the first battery pack 100 include the second relay K2, the fourth relay K4, and the fifth relay K5. That is, when the second relay K2, the fourth relay K4, and the fifth relay K5 are closed, the discharge circuit of the first battery pack 100 is formed, such as... Figure 3 As shown. Optionally, during this period, the third relay K3 can be closed first and then opened to achieve a pre-charging effect.

[0054] Furthermore, the relays associated with the discharge circuit of the second battery pack 200 include a seventh relay K7 and a ninth relay K9. That is, when the seventh relay K7 and the ninth relay K9 are closed, the discharge circuit of the second battery pack 200 is formed, such as... Figure 3 As shown. Optionally, during this period, the eighth relay K8 can be closed and then opened to achieve a pre-charge effect.

[0055] It should be understood that in the discharge circuit of the two battery packs, the output terminals are the first drive interface group and the second drive interface group.

[0056] In this embodiment, since the first battery pack 100 and the second battery pack 200 discharge simultaneously in the parallel (V1_Parallel) discharge mode, a voltage difference will exist between them, resulting in circulating current. To limit the degree of circulating current, this embodiment introduces an anti-circulating current strategy in the parallel (V1_Parallel) discharge mode. In the anti-circulating current strategy, the battery pack with the higher voltage is first identified as the high-voltage battery pack, and the battery pack with the lower voltage is identified as the low-voltage battery pack, based on the voltage of the two battery packs. Then, the voltage difference between the two battery packs is calculated based on their voltages, and the relays are controlled to close sequentially accordingly to first form the discharge circuit of the high-voltage battery pack and then the discharge circuit of the low-voltage battery pack. This achieves coordinated discharge control of the two packs while preventing excessive circulating current from affecting the battery cell life and reducing the risk of circulating current.

[0057] In some implementations, refer to Figure 3 and Figure 4 The above-mentioned control of the relays associated with the discharge circuit of the high-voltage battery pack and the relays associated with the discharge circuit of the low-voltage battery pack to close sequentially based on the voltage difference between the high-voltage battery pack and the low-voltage battery pack includes: If the differential pressure is less than the first differential pressure threshold, the relay associated with the discharge circuit of the high-voltage battery pack is closed first, and then the relay associated with the discharge circuit of the low-voltage battery pack is closed, so as to form the discharge circuit of the high-voltage battery pack and the discharge circuit of the low-voltage battery pack in sequence. Alternatively, if the differential pressure is greater than or equal to the first differential pressure threshold, the relay associated with the discharge circuit of the high-voltage battery pack is closed to form the discharge circuit of the high-voltage battery pack. Once the high-voltage battery pack discharges to the first battery condition, the relay associated with the discharge circuit of the low-voltage battery pack is closed to form the discharge circuit of the low-voltage battery pack.

[0058] It should be noted that the first battery condition refers to the conditions for forming the discharge circuit of the low-voltage battery pack. This condition can be flexibly set according to actual circumstances. For example, the first battery condition could be that the voltage difference between the high-voltage battery pack and the low-voltage battery pack is less than a first voltage difference threshold, and the current value of the high-voltage battery pack is less than or equal to a current threshold, but it is not limited to these conditions. The current threshold can also be flexibly set according to actual circumstances; for example, the current threshold could be 10A, but it is not limited to this.

[0059] In this embodiment, in the parallel (V1_Parallel) discharge mode, the voltage difference between the high-voltage battery pack and the low-voltage battery pack is compared with a first voltage difference threshold. The first voltage difference threshold can be flexibly set according to actual conditions; for example, it can be 5V, but it is not limited to this. The comparison results are divided into the following two types.

[0060] (1) The pressure difference between the two battery packs is less than the first pressure difference threshold: This situation indicates that the risk of circulating current is relatively small. In this case, the relay associated with the discharge circuit of the high-voltage battery pack can be closed first, and then the relay associated with the discharge circuit of the low-voltage battery pack can be closed to sequentially form the discharge circuit of the high-voltage battery pack and the discharge circuit of the low-voltage battery pack. Then, the high-voltage battery pack and the low-voltage battery pack can perform discharge operations simultaneously to achieve dual-pack coordinated discharge control.

[0061] Specifically, if the high-voltage battery pack is the first battery pack 100, meaning the voltage of the first battery pack 100 is higher than the voltage of the second battery pack 200, then the fifth relay K5, the second relay K2, the fourth relay K4 (closed first), the ninth relay K9, and the seventh relay K7 are closed sequentially to first form a discharge circuit for the first battery pack 100, and then form a discharge circuit for the second battery pack 200. This allows the first battery pack 100 and the second battery pack 200 to simultaneously perform discharge operations, achieving coordinated discharge control between the two packs. Optionally, the third relay K3 and the eighth relay K8 can be closed first and then opened to achieve pre-charging. The closing sequence of the third relay K3 is between the fifth relay K5 and the second relay K2, and the closing sequence of the eighth relay K8 is between the ninth relay K9 and the seventh relay K7.

[0062] If the high-voltage battery pack is the second battery pack 200, meaning the voltage of the second battery pack 200 is higher than the voltage of the first battery pack 100, then the ninth relay K9, the fourth relay K4 (closed first), the seventh relay K7, the fifth relay K5, and the second relay K2 are closed sequentially to first form a discharge circuit for the second battery pack 200, and then form a discharge circuit for the first battery pack 100. Consequently, the first battery pack 100 and the second battery pack 200 simultaneously perform discharge operations, achieving coordinated discharge control between the two packs. Optionally, the third relay K3 and the eighth relay K8 can be closed first and then opened to achieve pre-charging. The closing sequence of the eighth relay K8 is between the fourth relay K4 and the seventh relay K7, and the closing sequence of the third relay K3 is between the fifth relay K5 and the second relay K2.

[0063] (2) The pressure difference between the two battery packs is greater than or equal to the first pressure difference threshold: This situation indicates a significant circulating current risk. In this case, the relay associated with the discharge circuit of the high-voltage battery pack can be closed first to establish the high-voltage battery pack's discharge circuit, allowing it to perform the discharge operation first. Once the high-voltage battery pack has discharged to the first battery condition, the relay associated with the discharge circuit of the low-voltage battery pack can be closed to establish the low-voltage battery pack's discharge circuit. At this point, the low-voltage battery pack joins the discharge operation, allowing both the high-voltage and low-voltage battery packs to discharge simultaneously. This achieves coordinated discharge control of both packs while preventing excessive circulating current from affecting battery cell lifespan and reducing the circulating current risk.

[0064] Specifically, if the high-voltage battery pack is the first battery pack 100, meaning the voltage of the first battery pack 100 is higher than the voltage of the second battery pack 200, then the fifth relay K5, the fourth relay K4 (closed first), and the second relay K2 are closed sequentially to form a discharge circuit for the first battery pack 100, allowing the first battery pack 100 to perform the discharge operation first. Optionally, the third relay K3 can be closed first and then opened to achieve pre-charging; the closing sequence of the third relay K3 can be between the fourth relay K4 and the second relay K2. Once the first battery pack 100 has discharged to the first battery condition, the ninth relay K9 and the seventh relay K7 are closed sequentially to form a discharge circuit for the second battery pack 200. At this time, the second battery pack 200 joins the discharge operation, allowing both the first battery pack 100 and the second battery pack 200 to perform the discharge operation simultaneously. This achieves coordinated discharge control of the two packs while preventing excessive circulating current from affecting the battery cell life and reducing the risk of circulating current. Optionally, the eighth relay K8 can be closed first and then opened to achieve pre-charging. The closing sequence of the eighth relay K8 can be between the ninth relay K9 and the seventh relay K7.

[0065] If the high-voltage battery pack is the second battery pack 200, meaning the voltage of the second battery pack 200 is higher than the voltage of the first battery pack 100, then the ninth relay K9 and the seventh relay K7 are closed sequentially to form a discharge circuit for the second battery pack 200, allowing the second battery pack 200 to perform the discharge operation first. Optionally, the eighth relay K8 can be closed first and then opened to achieve pre-charging; the closing sequence of the eighth relay K8 can be between the ninth relay K9 and the seventh relay K7. Once the second battery pack 200 discharges to the condition of the first battery, the fifth relay K5, the fourth relay K4 (closed first), and the second relay K2 are closed sequentially to form a discharge circuit for the first battery pack 100. At this time, the first battery pack 100 joins the discharge operation, allowing both the first battery pack 100 and the second battery pack 200 to perform the discharge operation simultaneously. This achieves coordinated discharge control of the two packs while preventing excessive circulating current from affecting the battery cell life and reducing the risk of circulating current. Optionally, the third relay K3 can be closed first and then opened to achieve pre-charging. The closing sequence of the third relay K3 can be between the fourth relay K4 and the second relay K2.

[0066] In some implementations, refer to Figure 5 The above method may also include the following steps S201-S203: S201, When the target vehicle is in a discharge state, the first single-pack discharge mode is activated according to the corresponding states of the first battery pack and the second battery pack respectively. S202, in the first single-pack discharge mode, control the second, fourth and fifth relays to close, so as to perform a discharge operation through the discharge circuit of the first battery pack; S203, in response to the discharge termination condition, controls the target vehicle to end the discharge state.

[0067] It should be noted that the discharge state can also be configured with a first single-pack (V1_A) discharge mode. In this mode, the discharge operation is performed only through the discharge circuit of the first battery pack 100, thereby realizing single-pack discharge control based on the first battery pack 100.

[0068] In this embodiment, after the target vehicle enters the discharge state, the state of the first battery pack 100 and the state of the second battery pack 200 are detected. If the first battery pack 100 is in a normal state but the second battery pack 200 is in an abnormal state, it means that only the first battery pack 100 is working normally. At this time, the first single pack (V1_A) discharge mode is activated.

[0069] In the first single-pack (V1_A) discharge mode, the fifth relay K5, the fourth relay K4 (closed first), and the second relay K2 are closed sequentially to form the discharge circuit of the first battery pack 100, as follows: Figure 5As shown, the discharge operation is then performed solely by the first battery pack 100. Optionally, the third relay K3 can be closed first and then opened to achieve pre-charging, and the closing sequence of the third relay K3 can be between the fourth relay K4 and the second relay K2.

[0070] During discharge, the system continuously monitors whether the target vehicle meets the discharge termination conditions. When the target vehicle meets the discharge termination conditions, the system controls the target vehicle to exit the discharge state, thereby terminating the discharge operation. Optionally, in the first single-pack (V1_A) discharge mode, when the target vehicle exits the discharge state, the fourth relay K4, the second relay K2, and the fifth relay K5 are disconnected sequentially, thereby disconnecting the discharge circuit of the first battery pack 100 and terminating the discharge operation. In this way, when one battery pack fails due to a fault, the remaining battery pack continues to perform the discharge operation, ensuring that the vehicle still has continuous drive power supply function under partial battery failure, thus ensuring that the vehicle's operation is not affected.

[0071] In some implementations, refer to Figure 6 The above method may also include the following steps S301-S303: S301, When the target vehicle is in a discharge state, the second single-pack discharge mode is activated according to the corresponding states of the first battery pack and the second battery pack respectively. S302, in the second single-pack discharge mode, control the closing of the seventh and ninth relays to perform a discharge operation through the discharge circuit of the second battery pack; S303, in response to the discharge termination condition, controls the target vehicle to end the discharge state.

[0072] It should be noted that the discharge state can also be configured with a second single-pack (V1_B) discharge mode. In this mode, the discharge operation is performed only through the discharge circuit of the second battery pack 200, thereby realizing single-pack discharge control based on the second battery pack 200.

[0073] In this embodiment, after the target vehicle enters the discharge state, the state of the first battery pack 100 and the state of the second battery pack 200 are detected. If the second battery pack 200 is in a normal state but the first battery pack 100 is in an abnormal state, it means that only the second battery pack 200 is working normally. At this time, the second single pack (V1_B) discharge mode is activated.

[0074] In the second single-pack (V1_B) discharge mode, the ninth relay K9 and the seventh relay K7 are closed sequentially to form the discharge circuit of the second battery pack 200, as follows. Figure 6As shown, the discharge operation is then performed solely by the second battery pack 200. Optionally, the eighth relay K8 can be closed first and then opened to achieve pre-charging; the closing sequence of the eighth relay K8 can be between the ninth relay K9 and the seventh relay K7.

[0075] During discharge, the system continuously monitors whether the target vehicle meets the discharge termination conditions. When the target vehicle meets the discharge termination conditions, the system controls the target vehicle to exit the discharge state, thereby terminating the discharge operation. Optionally, in the second single-pack (V1_B) discharge mode, when the target vehicle exits the discharge state, the seventh relay K7 and the ninth relay K9 are disconnected sequentially, thereby disconnecting the discharge circuit of the second battery pack 200 and terminating the discharge operation. In this way, when one battery pack fails due to a fault, the remaining battery pack continues to perform the discharge operation, ensuring that the vehicle still has continuous drive power supply under partial battery failure, thus ensuring that the vehicle's operation is not affected.

[0076] In some implementations, refer to Figure 7 The above method may further include the following steps S401-S404: S401, when the target vehicle is in a charging state, based on the maximum voltage at the charging pile during at least one handshake, and combined with the voltages corresponding to the first battery pack and the second battery pack respectively, a first voltage charging mode is activated; wherein, the first voltage charging mode includes a parallel charging mode. S402, in the first voltage charging mode, the parallel charging mode is enabled according to the corresponding states of the first battery pack and the second battery pack respectively; S403, in parallel charging mode, controls the closing of the first relay, second relay, fourth relay, fifth relay, seventh relay and ninth relay to charge the first battery pack through the charging circuit of the first battery pack and to charge the second battery pack through the charging circuit of the second battery pack. S404, in response to the charging termination condition, controls the target vehicle to end the charging state.

[0077] It should be noted that the charging state refers to the state of the target vehicle when the first battery pack 100 and / or the second battery pack 200 in the target vehicle are being charged through an external charging station. The charging state can be configured with four charging modes: parallel charging mode (V1_Parallel), first single pack charging mode (V1_A), second single pack charging mode (V1_B), and series charging mode (V2).

[0078] It is worth noting that the parallel (V1_Parallel) charging mode, the first single-pack (V1_A) charging mode, and the second single-pack (V1_B) charging mode are all charging modes based on the first voltage, collectively referred to as the first voltage charging mode, which is a low-voltage slow charging mode. The series (V2) charging mode is a charging mode based on the second voltage, which is a high-voltage fast charging mode. This means that the target vehicle can undergo both low-voltage slow charging and high-voltage fast charging.

[0079] It is understandable that charging termination conditions are used to terminate the charging operation of the target vehicle. These conditions can be flexibly set according to actual circumstances; for example, they may include a charging termination command, a state of charge (SOC) reaching 100%, etc., but are not limited to these.

[0080] In this embodiment, after the target vehicle enters the charging state, it first initiates a handshake with the external charging pile to establish a communication connection. It then determines whether the handshake with the external charging pile was successful; if so, the subsequent process continues; otherwise, an error is reported.

[0081] Upon successful handshake with an external charging station, a Battery Charging Parameters (BCP) message is sent to the charging station. This BCP message carries the target vehicle's maximum permissible charging voltage and the current voltage of each battery pack, with the maximum permissible charging voltage being the first voltage. The system then receives a Charger Maximum Output Capability (CML) message from the external charging station based on the BCP message. This CML message carries the maximum voltage at the charging station's terminals, defined as the maximum voltage at the charging station during the initial handshake. Note that if a CML message is not received from the external charging station, an error is reported.

[0082] In this case, the conditions for entering the first voltage charging mode may include the following conditions 1)-2): 1) The maximum voltage at the terminal during the initial handshake is greater than the second voltage but less than the voltage threshold, and the voltage difference between the first battery pack 100 and the second battery pack 200 is greater than the second voltage difference threshold, while the voltage threshold is greater than the second voltage. The voltage threshold and the second voltage difference threshold can be flexibly set according to actual conditions; for example, the voltage threshold could be 950V and the second voltage difference threshold could be 20V, but they are not limited to these values.

[0083] Here, condition 1) indicates that the external charging station has high-voltage output capability, capable of outputting a voltage greater than the second voltage; while the latter indicates a significant difference between the voltage of the first battery pack 100 and the voltage of the second battery pack 200, meaning that the battery packs can be safely connected in parallel. For vehicle charging safety, when this condition is met, the system enters the first voltage charging mode to actively downgrade the charging service from the second voltage (high voltage) to the first voltage (low voltage).

[0084] 2) The maximum voltage at the terminal of the pile during the first handshake is less than or equal to the second voltage.

[0085] Here, condition 2) indicates that the external charging station only has low-voltage output capability, meaning it can only output voltages less than or equal to the second voltage. Limited by the charging capability of the external charging station, when this condition is met, it enters the first voltage charging mode, forcing the target vehicle's charging demand to be downgraded from the second voltage (high voltage) to the first voltage (low voltage).

[0086] That is, when any one of the above conditions 1)-2) is met, the first voltage charging mode is entered.

[0087] Optionally, considering the battery preheating issue, the entry condition for the first voltage charging mode may also include the following condition 3): 3) The battery temperature of each battery pack is lower than the temperature threshold. The temperature threshold can be set flexibly according to the actual situation, for example, the temperature threshold can be -20℃, but it is not limited to this.

[0088] Here, condition 3) indicates that the internal temperature of the battery pack is too cold. If high-voltage fast charging is performed under these conditions, the risk of lithium plating in the battery pack will be significantly increased, thereby affecting the battery cell life. Therefore, when this condition is met, the system enters the first voltage charging mode to actively downgrade the charging service of the external charging station from the second voltage (high voltage) to the first voltage (low voltage).

[0089] That is, if any one of the above conditions 1)-2) is met, and if the above condition 3) is met, the first voltage charging mode is entered.

[0090] In the first voltage charging mode, the status of the first battery pack 100 and the second battery pack 200 needs to be further checked. If both the first battery pack 100 and the second battery pack 200 are in normal condition, it means that both the first battery pack 100 and the second battery pack 200 are working normally, and the parallel (V1_Parallel) charging mode is activated at this time.

[0091] In parallel (V1_Parallel) charging mode, the first relay K1, the second relay K2, the fourth relay K4, the fifth relay K5, the seventh relay K7, and the ninth relay K9 are closed to charge the first battery pack 100 through its charging circuit and simultaneously charge the second battery pack 200 through its charging circuit. This achieves dual-pack coordinated charging control, thereby improving charging efficiency and the overall battery resource utilization rate of the vehicle.

[0092] During charging, the system continuously monitors whether the target vehicle meets the charging termination conditions. When the target vehicle meets the charging termination conditions, the system controls the target vehicle to exit the charging state, thereby terminating the charging operation. Optionally, in parallel (V1_Parallel) charging mode, when the target vehicle exits the charging state, the first relay K1, the fourth relay K4, the second relay K2, the seventh relay K7, the fifth relay K5, and the ninth relay K9 are disconnected sequentially to disconnect the charging circuit of the first battery pack 100 and the charging circuit of the second battery pack 200, thereby terminating the charging operation.

[0093] In some implementations, refer to Figure 8 The aforementioned control of the closing of the first, second, fourth, fifth, seventh, and ninth relays may include: Based on the voltages corresponding to the first and second battery packs respectively, the battery pack with the higher voltage is identified as the high-voltage battery pack, and the battery pack with the lower voltage is identified as the low-voltage battery pack. Control the closing of the first and fourth relays; Based on the voltage difference between the high-voltage battery pack and the low-voltage battery pack, the relays associated with the charging circuit of the high-voltage battery pack and the relays associated with the charging circuit of the low-voltage battery pack are controlled to close sequentially, so as to first form the charging circuit of the low-voltage battery pack and then form the charging circuit of the high-voltage battery pack. The relays associated with the charging circuit of the first battery pack include the second relay and the fifth relay, and the relays associated with the charging circuit of the second battery pack include the seventh relay and the ninth relay.

[0094] It is worth noting that the relays associated with the charging circuit of the first battery pack 100 include a second relay K2 and a fifth relay K5. That is, when the first relay K1 and the fourth relay K4 are closed, the charging circuit of the first battery pack 100 is formed when the second relay K2 and the fifth relay K5 are closed, as shown below. Figure 8 As shown. Optionally, during this period, the third relay K3 can be closed first and then opened to achieve a pre-charging effect.

[0095] Furthermore, the relays associated with the charging circuit of the second battery pack 200 include a seventh relay K7 and a ninth relay K9. That is, when the first relay K1 and the fourth relay K4 are closed, the charging circuit of the second battery pack 200 is formed when the seventh relay K7 and the ninth relay K9 are closed, as shown below. Figure 8 As shown. Optionally, during this period, the eighth relay K8 can be closed and then opened to achieve a pre-charge effect.

[0096] It should be noted that, in this case, the current input port in the charging mode based on the first voltage is the PDU interface in each drive interface group, and the current input port in the charging mode based on the second voltage is each charging interface.

[0097] In this embodiment, since the first battery pack 100 and the second battery pack 200 are charged simultaneously in the parallel (V1_Parallel) charging mode, a voltage difference will exist between them, resulting in circulating current. To limit the degree of circulating current, this embodiment introduces an anti-circulating current strategy in the parallel (V1_Parallel) charging mode. In the anti-circulating current strategy, the battery pack with the higher voltage is first identified as the high-voltage battery pack, and the battery pack with the lower voltage is identified as the low-voltage battery pack, based on the voltage of the two battery packs. Then, the voltage difference between the two battery packs is calculated based on their voltages, and the relays are controlled to close sequentially accordingly to first form the charging circuit of the low-voltage battery pack, and then form the charging circuit of the high-voltage battery pack. This achieves dual-pack coordinated charging control while preventing excessive circulating current from affecting the life of the battery cells and reducing the risk of circulating current.

[0098] In some implementations, refer to Figure 8 and Figure 9 The above-mentioned control of the relays associated with the charging circuit of the high-voltage battery pack and the relays associated with the charging circuit of the low-voltage battery pack to close sequentially based on the voltage difference between the high-voltage battery pack and the low-voltage battery pack may include: If the differential pressure is less than the second differential pressure threshold, the relay associated with the charging circuit of the low-voltage battery pack is closed first, and then the relay associated with the charging circuit of the high-voltage battery pack is closed, so as to form the charging circuit of the low-voltage battery pack and the charging circuit of the high-voltage battery pack in sequence. Alternatively, if the differential pressure is greater than or equal to the second differential pressure threshold, the relay associated with the charging circuit of the low-voltage battery pack is closed to form the charging circuit of the low-voltage battery pack. Once the low-voltage battery pack is charged to the second battery condition, the relay associated with the charging circuit of the high-voltage battery pack is closed to form the charging circuit of the high-voltage battery pack.

[0099] It should be noted that the second battery condition refers to the conditions for forming the charging circuit of the high-voltage battery pack. It can be flexibly set according to the actual situation. For example, the second battery condition can be that the SOC of the low-voltage battery pack is greater than or equal to the SOC of the high-voltage battery pack, but it is not limited to this.

[0100] In this embodiment, in the parallel (V1_Parallel) charging mode, the first relay K1 and the fourth relay K4 are closed, and the voltage difference between the high-voltage battery pack and the low-voltage battery pack, as well as a second voltage difference threshold, are compared simultaneously. The second voltage difference threshold can be flexibly set according to actual conditions; for example, it can be 5V, but is not limited to this. The comparison results are divided into the following two types: (1) The pressure difference between the two battery packs is less than the second pressure difference threshold: This situation indicates that the risk of circulating current is relatively small. In this case, the relay associated with the charging circuit of the low-voltage battery pack can be closed first, and then the relay associated with the charging circuit of the high-voltage battery pack can be closed to sequentially form the charging circuits of the low-voltage battery pack and the high-voltage battery pack. In this way, the low-voltage battery pack and the high-voltage battery pack can be charged simultaneously, thereby realizing the coordinated charging control of the two packs.

[0101] Specifically, if the low-voltage battery pack is the first battery pack 100, meaning the voltage of the first battery pack 100 is lower than the voltage of the second battery pack 200, then the fifth relay K5, the second relay K2, the ninth relay K9, and the seventh relay K7 are closed sequentially to first form a charging circuit for the first battery pack 100, and then form a charging circuit for the second battery pack 200. This allows for simultaneous charging of both battery packs, achieving dual-pack coordinated charging control. Optionally, the third relay K3 and the eighth relay K8 can be closed first and then opened to achieve pre-charging. The closing sequence of the third relay K3 is between the fifth relay K5 and the second relay K2, and the closing sequence of the eighth relay K8 is between the ninth relay K9 and the seventh relay K7. In some examples, the relay closing sequence can be: fifth relay K5, third relay K3 (closed first, then opened), second relay K2, fourth relay K4 (closed first), ninth relay K9, eighth relay K8 (closed first, then opened), seventh relay K7, and first relay K1 (closed first).

[0102] If the low-voltage battery pack is the second battery pack 200, meaning the voltage of the second battery pack 200 is lower than the voltage of the first battery pack 100, then the ninth relay K9, the seventh relay K7, the fifth relay K5, and the second relay K2 are closed sequentially to first form a charging circuit for the second battery pack 200, and then form a charging circuit for the first battery pack 100. This allows for simultaneous charging of both the first battery pack 100 and the second battery pack 200, thus achieving dual-pack coordinated charging control. Optionally, the third relay K3 and the eighth relay K8 can be closed first and then opened to achieve pre-charging. The closing sequence of the third relay K3 is between the fifth relay K5 and the second relay K2, and the closing sequence of the eighth relay K8 is between the ninth relay K9 and the seventh relay K7. In some examples, the relay closing sequence can be: ninth relay K9, fourth relay K4 (closed first), eighth relay K8 (closed first and then opened), seventh relay K7, fifth relay K5, third relay K3 (closed first and then opened), second relay K2, and first relay K1 (closed first).

[0103] (2) The pressure difference between the two battery packs is greater than or equal to the second pressure difference threshold: This situation indicates a significant circulating current risk. In this case, the relay associated with the charging circuit of the low-voltage battery pack can be closed first to form a charging circuit for the low-voltage battery pack, thereby charging the low-voltage battery pack. Once the low-voltage battery pack is charged to the second battery condition, the relay associated with the charging circuit of the high-voltage battery pack is closed to form a charging circuit for the high-voltage battery pack. At this point, the high-voltage battery pack joins the charging operation, thus simultaneously charging both the low-voltage and high-voltage battery packs. This achieves coordinated charging control of both packs while preventing excessive circulating current from affecting the battery cell lifespan and reducing the circulating current risk.

[0104] Specifically, if the low-voltage battery pack is the first battery pack 100, meaning the voltage of the first battery pack 100 is lower than the voltage of the second battery pack 200, then the fifth relay K5 and the second relay K2 are closed sequentially to form a charging circuit for the first battery pack 100, thereby charging the first battery pack 100. Optionally, the third relay K3 can be closed first and then opened to achieve pre-charging; the closing sequence of the third relay K3 is between the fifth relay K5 and the second relay K2. Once the first battery pack 100 is charged to the second battery condition, the ninth relay K9 and the seventh relay K7 are closed sequentially to form a charging circuit for the second battery pack 200. At this time, the second battery pack 200 joins the charging operation, thereby simultaneously charging the first battery pack 100 and the second battery pack 200. This achieves dual-pack coordinated charging control while preventing excessive circulating current from affecting the battery cell life and reducing circulating current risk. Optionally, the eighth relay K8 can be closed first and then opened to achieve pre-charging; the closing sequence of the eighth relay K8 is between the ninth relay K9 and the seventh relay K7. In some examples, the relay closing sequence can be: fifth relay K5, fourth relay K4 (closed first), third relay K3 (closed first, then opened), second relay K2, first relay K1 (closed first), ninth relay K9, eighth relay K8 (closed first, then opened), and seventh relay K7.

[0105] If the low-voltage battery pack is the second battery pack 200, meaning the voltage of the second battery pack 200 is lower than the voltage of the first battery pack 100, then the ninth relay K9 and the seventh relay K7 are closed sequentially to form a charging circuit for the second battery pack 200, thereby charging the second battery pack 200. Optionally, the eighth relay K8 can be closed first and then opened to achieve pre-charging; the closing sequence of the eighth relay K8 is between the ninth relay K9 and the seventh relay K7. Once the second battery pack 200 is charged to the second battery condition, the fifth relay K5 and the second relay K2 are closed sequentially to form a charging circuit for the first battery pack 100. At this time, the first battery pack 100 is added to the charging operation, thus simultaneously charging both the first battery pack 100 and the second battery pack 200. This achieves dual-pack coordinated charging control while preventing excessive circulating current from affecting the battery cell life and reducing circulating current risk. In some examples, the relay closing sequence can be: Ninth relay K9, Eighth relay K8 (closed first, then opened), Seventh relay K7, Fourth relay K4 (closed first), First relay K1 (closed first), Fifth relay K5, Third relay K3 (closed first, then opened), and Second relay K2.

[0106] It is worth noting that the battery pack has a preset charging map, which stores the allowed charging rate for a single battery pack. In parallel (V1_Parallel) charging mode, to improve charging efficiency while ensuring charging safety, the current value (CurrReq) of the low-voltage battery pack's charging circuit is set according to the charging rate (C) stored in the charging map, i.e., the charging request current. When the voltage difference between the two battery packs is less than the second voltage difference threshold, the current value corresponding to the charging rate is determined as the current value of the charging circuit of the low-voltage battery pack, i.e., CurrReq = SOPmap, where SOPmap represents the current value corresponding to the charging rate. When the voltage difference between the two battery packs is greater than or equal to the second voltage difference threshold, the product of the current value corresponding to the charging rate and the first coefficient is the current value of the charging circuit of the low-voltage battery pack. The first coefficient is less than 1, i.e., CurrReq = a × SOPmap, where a represents the first coefficient, which can be flexibly set according to the actual situation, for example, a is 0.2, but is not limited to this. In this way, the circulating current risk can be effectively reduced.

[0107] Optionally, in the parallel (V1_Parallel) charging mode, the current value of the charging circuit of the low-voltage battery pack can be twice the current value of the charging circuit of the low-voltage battery pack in the single-pack charging mode.

[0108] In some implementations, refer to Figure 9 The aforementioned condition for charging the low-voltage battery pack to the second battery level, controlling the closing of the relay associated with the charging circuit of the high-voltage battery pack, may include: When the low-voltage battery pack is charged to the second battery condition, if the current value of the low-voltage battery pack is greater than or equal to the current threshold, the current value of the low-voltage battery pack is reduced; otherwise, the current value of the low-voltage battery pack is set to zero, and the relay associated with the charging circuit of the high-voltage battery pack is closed; wherein, the current threshold is greater than zero.

[0109] In this embodiment, to ensure a smooth initiation of the charging operation for the high-voltage battery pack, a current reduction strategy is introduced in the parallel (V1_Parallel) charging mode. In this strategy, when the low-voltage battery pack charges to the second battery condition, a charging circuit for the high-voltage battery pack is prepared to initiate the charging operation. At this point, it is determined whether the current value of the low-voltage battery pack exceeds a current threshold. The current threshold can be flexibly set according to actual conditions; for example, it can be the product of the charging request current and a second coefficient. This second coefficient can also be flexibly set according to actual conditions; for example, it could be 1 / 15, but it is not limited to this.

[0110] If the current value of the low-voltage battery pack is greater than or equal to the current threshold, it indicates that the current in the charging circuit of the low-voltage battery pack is too high. If the charging circuit of the high-voltage battery pack is directly formed at this time, it may cause a charging surge, leading to oscillation of the entire high-voltage power-on circuit. In this case, it is necessary to first reduce the current of the low-voltage battery pack. Specifically, the current value of the low-voltage battery pack is set to the product of the current value of the low-voltage battery pack and a third coefficient, where the third coefficient is less than 1, i.e., CurrReq = b × CurrReq, where b represents the third coefficient. Then, the process returns to the step of judging whether the current value of the low-voltage battery pack is greater than the current threshold, thereby gradually reducing the current in the charging circuit of the low-voltage battery pack, thus providing safe conditions for the high-voltage battery pack to start charging operations. The third coefficient can be flexibly set according to the actual situation; for example, the third coefficient can be 0.5, but it is not limited to this.

[0111] When the current value of the low-voltage battery pack drops to the current threshold, it indicates that the current in the charging circuit of the low-voltage battery pack is normal, the risk of charging surge is small, and the overall high-voltage power-on circuit has sufficient conditions to allow the high-voltage battery pack to start charging. At this time, the current value of the low-voltage battery pack is cleared to zero, i.e., CurrReq=0. Then, the relay associated with the charging circuit of the high-voltage battery pack is closed to form the charging circuit of the high-voltage battery pack, thereby charging the high-voltage battery pack. This can achieve dual-pack coordinated charging control while preventing excessive circulating current from affecting the battery cell life and reducing the risk of circulating current. It should be understood that the current value setting method of the charging circuit of the high-voltage battery pack can follow the current value setting method of the charging circuit of the low-voltage battery pack in the previous embodiment, and will not be repeated here.

[0112] In some implementations, refer to Figure 7 and Figure 10 The above method may also include the following steps S501-S504: S501, when the target vehicle is in a charging state, based on the maximum voltage at the charging pile during at least one handshake, and combined with the voltages corresponding to the first battery pack and the second battery pack respectively, a first voltage charging mode is activated; wherein, the first voltage charging mode includes a first single-pack charging mode. S502, in the first voltage charging mode, the first single-pack charging mode is activated according to the corresponding states of the first battery pack and the second battery pack respectively. S503, in the first single-pack charging mode, controls the first relay, the second relay, the fourth relay and the fifth relay to close, so as to charge the first battery pack through the charging circuit of the first battery pack; S504, in response to the charging termination condition, controls the target vehicle to end the charging state.

[0113] In this embodiment, the description of enabling the first voltage charging mode can follow the description of enabling the first voltage charging mode in the previous embodiment, and will not be repeated here. After entering the first voltage charging mode, it is necessary to further detect the status of the first battery pack 100 and the second battery pack 200. If the first battery pack 100 is in a normal state but the second battery pack 200 is in an abnormal state, it means that only the first battery pack 100 is working normally, and at this time the first single pack (V1_A) charging mode is enabled.

[0114] In the first single-pack (V1_A) charging mode, the fifth relay K5, the fourth relay K4 (closed first), the second relay K2, and the first relay K1 are closed sequentially to form the charging circuit of the first battery pack 100, such as... Figure 10 As shown, the first battery pack 100 is charged accordingly, thereby realizing single-pack charging control. Optionally, the third relay K3 can be closed first and then opened to realize pre-charging, and the closing sequence of the third relay K3 is between the fourth relay K4 and the second relay K2.

[0115] During charging, the system continuously monitors whether the target vehicle meets the charging termination conditions. When the target vehicle meets the charging termination conditions, the system controls the target vehicle to exit the charging state, thereby terminating the charging operation. Optionally, in the first single-pack (V1_A) charging mode, when the target vehicle exits the charging state, the first relay K1, the second relay K2, the fourth relay K4, and the fifth relay K5 are disconnected sequentially to disconnect the charging circuit of the first battery pack 100, thereby terminating the charging operation. Here, when one battery pack fails due to a fault, the remaining battery pack can take over the charging function, ensuring that the vehicle still has the ability to replenish power under partial battery failure. By replenishing power to the remaining battery pack, the system ensures that the vehicle still has the ability to drive and supply power during subsequent operation, effectively avoiding the interruption of vehicle function due to the failure of a single battery pack.

[0116] In some implementations, refer to Figure 7 and Figure 11 The above method may further include the following steps S601-S604: S601, when the target vehicle is in a charging state, based on the maximum voltage at the charging pile during at least one handshake, and combined with the voltages corresponding to the first battery pack and the second battery pack respectively, a first voltage charging mode is activated; wherein, the first voltage charging mode includes a second single-pack charging mode. S602, in the first voltage charging mode, the second single-pack charging mode is activated according to the corresponding states of the first battery pack and the second battery pack respectively. S603, in the second single-pack charging mode, controls the first relay, the fourth relay, the seventh relay and the ninth relay to close, so as to charge the second battery pack through the charging circuit of the second battery pack; S604, in response to the charging termination condition, controls the target vehicle to end the charging state.

[0117] In this embodiment, the description of enabling the first voltage charging mode can follow the description of enabling the first voltage charging mode in the previous embodiment, and will not be repeated here. After entering the first voltage charging mode, it is necessary to further detect the status of the first battery pack 100 and the second battery pack 200. If the second battery pack 200 is in a normal state but the first battery pack 100 is in an abnormal state, it means that only the second battery pack 200 is working normally, and at this time the second single pack (V1_B) charging mode is enabled.

[0118] In the second single-pack (V1_B) charging mode, the ninth relay K9, the seventh relay K7, the fourth relay K4, and the first relay K1 are closed sequentially to form the charging circuit of the second battery pack 200, as follows: Figure 11 As shown, the second battery pack 200 is charged accordingly, thereby realizing single-pack charging control. Optionally, the eighth relay K8 can be closed first and then opened to realize pre-charging, and the closing sequence of the eighth relay K8 is between the ninth relay K9 and the seventh relay K7.

[0119] During charging, the system continuously monitors whether the target vehicle meets the charging termination conditions. When the target vehicle meets the charging termination conditions, the system controls the target vehicle to exit the charging state, thereby terminating the charging operation. Optionally, in the second single-pack (V1_B) charging mode, when the target vehicle exits the charging state, the first relay K1, the fourth relay K4, the seventh relay K7, and the ninth relay K9 are disconnected sequentially to disconnect the charging circuit of the second battery pack 200, thereby terminating the charging operation. Here, when one battery pack fails due to a fault, the remaining battery pack can take over the charging function, ensuring that the vehicle still has the ability to replenish power under partial battery failure. By replenishing power to the remaining battery pack, the system ensures that the vehicle still has the ability to drive and supply power during subsequent operation, effectively avoiding the interruption of vehicle function due to the failure of a single battery pack.

[0120] In some implementations, refer to Figure 7 The above method may also include the following steps S701-S703: S701, when the target vehicle is in a charging state, the series charging mode is activated based on the maximum voltage at the charging terminal during at least two handshakes, combined with the voltage and state of the first and second battery packs respectively. S702, in series charging mode, controls the closing of the first relay, the second relay, the sixth relay, the seventh relay and the ninth relay to charge the first battery pack through the series charging circuit of the first battery pack and to charge the second battery pack through the charging circuit of the second battery pack. S703, in response to the charging termination condition, controls the target vehicle to end the charging state.

[0121] In this embodiment, as described in the previous examples, the maximum voltage at the charging pile during the initial handshake can be obtained through a handshake interaction with the external charging pile. During the process of determining whether the entry conditions for the first voltage charging mode are met, if the maximum voltage at the charging pile during the initial handshake is greater than or equal to a voltage threshold, or if the maximum voltage at the charging pile during the initial handshake is less than the voltage threshold but the voltage difference between the two battery packs is less than or equal to a second voltage difference threshold, then a Battery Ready for Charging (BRO) message is not returned to the external charging pile. Instead, the external charging pile sends a BRO message timeout message, and at least two handshake reconnections are performed with the external charging pile accordingly. The number of handshake reconnections can be flexibly set according to actual conditions; for example, the number of handshake reconnections can be 3, but it is not limited to this.

[0122] In each round of handshake reconnection, after a successful handshake with the external charging pile, a BCP message is resent to the external charging pile. This BCP message still carries the target vehicle's maximum allowable charging voltage and the current voltage of each battery pack. However, unlike the initial handshake, the maximum allowable charging voltage in the reconnection is the second voltage. The CML message returned by the external charging pile based on the BCP message is received. The CML message still carries the maximum voltage at the charging pile. Through multiple rounds of handshake reconnection, the maximum voltage at the charging pile in the CML message of the last handshake reconnection is defined as the maximum voltage at the charging pile after reconnection. It is worth noting that through multiple handshake reconnections, the CML response at the charging pile gradually stabilizes. The maximum voltage at the charging pile in the CML message of the last handshake reconnection can accurately reflect the charging pile's true stable output capability under continuous communication load. Using this as the maximum voltage at the charging pile after reconnection and determining whether the conditions for entering the series (V2) charging mode are met can reduce the risk of incorrect entry into the series (V2) charging mode due to misjudgment in a single handshake, thereby improving vehicle charging safety.

[0123] In this case, the conditions for entering the series (V2) charging mode may include the following conditions 4)-6): 4) The maximum voltage at the terminal during the last handshake is greater than or equal to the voltage threshold.

[0124] Here, condition 4) indicates that the external charging pile has high voltage output capability, which can output a voltage greater than or equal to the voltage threshold.

[0125] 5) Both the first battery pack 100 and the second battery pack 200 are in normal condition.

[0126] Here, condition 5) means that both battery packs are available, ensuring that both battery packs can withstand high voltage and high current when charged in series.

[0127] 6) The pressure difference between the first battery pack 100 and the second battery pack 200 is less than the first pressure difference threshold, and the fourth relay K4 has no sticking fault, and the fifth relay K5 is disconnected.

[0128] Here, the former of condition 6) means that the voltages of the two battery packs are almost identical. This is because the currents of the two battery packs are exactly the same during series charging. If the voltages of the two battery packs are significantly different at this time, one of the battery packs will be forced to overcharge or over-discharge, which will seriously damage the battery pack. Therefore, it is necessary to ensure that the voltages of the two battery packs are almost identical before series charging. The latter means that the high-voltage power supply circuit of the whole vehicle is complete and there is no risk of short circuit before series charging.

[0129] That is, when conditions 4)-6) above are met simultaneously, the series (V2) charging mode is entered. Optionally, when entering the series (V2) charging mode, the power can be turned off first by using the BMS_PoweronAgain=0x1 Power off command, so that there is no current in the high-voltage power-on circuit of the whole vehicle. When the power is turned on again, the physical switch from parallel charging topology to series charging topology is realized, thereby entering the series (V2) charging mode, thus ensuring that the high-voltage relay is not operated with electricity during the relay topology switching process.

[0130] In the series (V2) charging mode, the first relay K1, the second relay K2, the sixth relay K6, the seventh relay K7, and the ninth relay K9 are closed to form a series charging circuit for the first battery pack 100 and a charging circuit for the second battery pack 200. The first battery pack 100 is charged through the series charging circuit of the first battery pack 100, and the second battery pack 200 is charged through the charging circuit of the second battery pack 200, thereby realizing dual-pack coordinated charging control, which improves charging efficiency and the utilization rate of vehicle battery resources.

[0131] During charging, the system continuously monitors whether the target vehicle meets the charging termination conditions. When the target vehicle meets the charging termination conditions, the system controls the target vehicle to exit the charging state, thereby terminating the charging operation.

[0132] In some implementations, refer to Figures 12 to 14 The aforementioned control of the closing of the first, second, sixth, seventh, and ninth relays includes: If the difference between the state of charge of the first battery pack and the state of charge of the second battery pack is less than the charge threshold, then the first relay, the second relay, the sixth relay, the seventh relay and the ninth relay are controlled to close, so as to form a series charging circuit of the first battery pack and a discharge circuit of the second battery pack. The first battery pack is charged through the series charging circuit of the first battery pack, and the discharge operation is performed through the discharge circuit of the second battery pack. or, If the difference between the state of charge of the first battery pack and the state of charge of the second battery pack is greater than or equal to the charge threshold, then the first relay, the second relay, the sixth relay, the seventh relay and the ninth relay are controlled to close, so as to form a series charging circuit of the first battery pack and a discharge circuit of the second battery pack. The first battery pack is charged through the series charging circuit of the first battery pack, and the discharge operation is performed through the discharge circuit of the second battery pack. Once the first battery pack is charged to the condition of the third battery, the second and sixth relays are disconnected, and the fourth relay is closed to disconnect the series charging circuit of the first battery pack and form the series charging circuit of the second battery pack. Once the second battery pack is charged to the condition of the fourth battery, the second and fifth relays are closed to form the charging circuits corresponding to the first and second battery packs, respectively.

[0133] It should be noted that the third battery condition indicates the condition for switching to charging the second battery pack 200; the fourth battery condition indicates the condition for re-entering the charging operation of the first battery pack 100. Both the third and fourth battery conditions can be flexibly set according to actual conditions. For example, the third battery condition can be a SOC of 99%, and the fourth battery condition can be that the voltage difference between the first battery pack 100 and the second battery pack 200 is less than a third voltage difference threshold, and the current value of the second battery pack 200 is less than a current threshold. The third voltage difference threshold can be flexibly set according to actual conditions; for example, it can be 1V, but it is not limited to this.

[0134] It is worth noting that in the series (V2) charging mode, there is only a case where the SOC of the first battery pack 100 is higher than that of the second battery pack 200, because in the high-voltage fast charging architecture, the vehicle load is only connected in parallel with the second battery pack 200.

[0135] In this embodiment, in the series (V2) charging mode, the difference between the state of charge (SOC) of the first battery pack 100 and the second battery pack 200 is calculated based on their respective SOC values ​​and recorded as the SOC difference. Then, this SOC difference is compared with a charge threshold. The charge threshold can be flexibly set according to actual conditions; for example, it can be 5%, but is not limited to this. The comparison results are divided into the following two types: (1) The SOC difference is less than the charge threshold: In this case, the first relay K1, the second relay K2, the sixth relay K6, the seventh relay K7, and the ninth relay K9 are closed sequentially to form a series charging circuit for the first battery pack 100, thereby charging the first battery pack 100. Simultaneously, a discharge circuit is formed for the second battery pack 200, thereby enabling the second battery pack 200 to perform a discharge operation. Figure 12 As shown. The series charging circuit of the first battery pack 100 and the discharge circuit of the second battery pack 200 are maintained until the charging end condition is met and the charging state is exited. It should be noted that the discharge operation here is different from the discharge operation in the aforementioned discharge mode. Since the second battery pack 200 is connected in parallel with the vehicle load, the discharge operation here refers to the operation of the second battery pack 200 being connected in parallel with the vehicle load to divert the current from the external charging pile.

[0136] (2) The SOC difference is greater than or equal to the charge threshold: In this case, the first relay K1, the second relay K2, the sixth relay K6, the seventh relay K7, and the ninth relay K9 are closed sequentially to form a series charging circuit for the first battery pack 100, thereby charging the first battery pack 100. Simultaneously, a discharge circuit is formed for the second battery pack 200, thereby enabling the second battery pack 200 to perform a discharge operation. Figure 12 As shown.

[0137] Once the first battery pack 100 is charged to the third battery condition, for example, when the first battery pack 100 is charged to 99% SOC, the second battery pack 200 is charged separately. Specifically, firstly, using the aforementioned current reduction strategy, the current value of the first battery pack 100 is gradually reduced until the current value of the first battery pack 100 is cleared to zero, and the second relay K2 and the sixth relay K6 are disconnected, thereby disconnecting the series charging circuit of the first battery pack 100. Then, a new handshake is initiated with the external charging station, aiming to resend a new BCP message to the external charging station. This BCP message still carries the maximum allowable charging voltage of the target vehicle and the current voltage of each battery pack, but the maximum allowable charging voltage is now the first voltage, i.e., the charging voltage request is reduced from the second voltage to the first voltage. Afterwards, based on the CML message returned by the external charging station based on the BCP message, the fourth relay K4 is closed to form the series charging circuit of the second battery pack 200, as follows. Figure 13 As shown, the second battery pack 200 is charged accordingly. Note that during the above operation, the first relay K1, the seventh relay K7, and the ninth relay K9 remain closed.

[0138] Once the second battery pack 200 is charged to the conditions for the fourth battery, such as the voltage difference between the two battery packs being less than the third voltage difference threshold and the current value of the second battery pack 200 being less than the current threshold, the first battery pack 100 needs to be included in the charging operation. Specifically, the second relay K2 and the fifth relay K5 are closed to form a charging circuit for the first battery pack 100, thereby charging the first battery pack 100; simultaneously, the charging circuit for the second battery pack 200 remains unchanged, such as... Figure 14 As shown. The two battery packs are charged in parallel until the charging ends in response to the charging termination condition.

[0139] In other words, in the series (V2) charging mode, the process consists of three steps: first, charging the first battery pack 100 at the second voltage; second, charging the first battery pack 100 at the first voltage; and third, charging the two battery packs in parallel. This achieves coordinated charging control of both battery packs while reducing the risk of overcharging or over-discharging either pack due to voltage differences, thus improving battery cell lifespan.

[0140] In some implementations, refer to Figure 15 The target vehicle is equipped with a state machine, which can include the following states: (1) Initial state (init): Upon detecting a wake-up signal, the system enters the initial state. In the initial state, initialization processes are performed, such as diagnosing faults like open-circuit relays. Specifically, if an open-circuit relay fault is diagnosed, a relay open-circuit fault message is reported to the Vehicle Control Unit (VCU). Once initialization is complete (e.g., no faults exist), the system transitions from the initial state to the ready state.

[0141] (2) Standby state: Upon completion of initialization in the initial state, the system transitions to the ready state. In the ready state, it waits for the HCU_BattMainCnctCmd power-on command and the charging station connection confirmation (Control Circuit, CC) signal. If the HCU_BattMainCnctCmd power-on command is detected but the CC signal is not, the system transitions to the discharging state. If the HCU_BattMainCnctCmd power-on command is not detected within a preset time period, the system transitions to the sleep state. If both the HCU_BattMainCnctCmd power-on command and the CC signal are detected, the system transitions to the charging state.

[0142] (3) Discharge state (Disch): When the HCU_BattMainCnctCmd power-on command is detected in the ready state but no CC signal is detected, the system transitions from the ready state to the discharge state. In the discharge state, the system uses relay topology switching to enable any one of the following modes: parallel (V1_Parallel) discharge mode, first single-packet (V1_A) discharge mode, or second single-packet (V1_B) discharge mode, to perform the discharge operation. During this period, it is necessary to continuously diagnose whether a relay sticking fault exists and report the current discharge mode and the on / off status of each relay to the VCU. Specifically, if a relay sticking fault is diagnosed, a relay sticking fault message is reported to the VCU, and the discharge operation is stopped. If a CC signal is detected during discharge, the system transitions from the discharge state to the charging state. If a power-off command is detected during discharge, the system transitions from the discharge state to the power-off state.

[0143] (4) Charging state (AC / DC): When the CC signal is monitored in the discharge state, or the HCU_BattMainCnctCmd power-on command and CC signal are detected in the ready state, the system transitions from the discharge state or the ready state to the charging state. In the charging state, the system uses relay topology switching to enable any one of the following modes: parallel (V1_Parallel) charging mode, first single-pack (V1_A) charging mode, second single-pack (V1_B) charging mode, or series (V2) charging mode, to charge the first battery pack 100 and / or the second battery pack 200. The first three charging modes are AC charging modes, and the series (V2) charging mode is a DC charging mode. During this period, it is necessary to continuously diagnose whether a relay sticking fault exists and report the current charging mode and the on / off status of each relay to the VCU. Specifically, if a relay sticking fault is diagnosed, a relay sticking fault message is reported to the VCU, and the charging operation is stopped. When plugging in a charging device while it is not powered off, if a power-off command is detected during this period, the device transitions from the charging state to the powered-off state. If no power-off command is detected during this period and the charging end condition is met, the device transitions from the charging state to the discharging state. When plugging in a charging device while it is powered off, if the charging end condition is met during this period, the device transitions from the charging state to the powered-off state.

[0144] (5) Power Down: When a power-down command is detected in either the discharging or charging state, the system transitions from the discharging or charging state to the power-down state. In the power-down state, all relays are disconnected, and a relay sticking fault is diagnosed. If a fault is found, a relay sticking fault message is reported to the VCU. Simultaneously, the system continuously monitors for a wake-up signal within a preset time period. If a wake-up signal is detected, the system transitions from the power-down state to the ready state; otherwise, it transitions from the power-down state to the sleep state.

[0145] (6) Sleep state: When no HCU_BattMainCnctCmd power-on command is detected within a preset time period in the ready state, or no wake-up signal is detected within a preset time period in the power-off state, the system enters the sleep state from either the ready or power-off state. In the sleep state, the system remains in sleep mode and continuously monitors for the wake-up signal. If a wake-up signal is detected, the system enters the wake-up state from the sleep state.

[0146] Based on the above, referring to Figure 16 The specific power-on and power-off procedures for the target vehicle are as follows: S801 detects a wake-up signal and enters the initial state. In the initial state, initialization processing is performed. If a relay open-circuit fault is diagnosed during initialization, a relay open-circuit fault message is reported to the VCU, and the initial state remains unchanged. Upon completion of initialization, the system switches from the initial state to the ready state.

[0147] In the ready state, S802 receives the HCU_BattMainCnctCmd power-on command sent by the VCU. If no CC signal is detected at this time, it enters the discharge state; otherwise, it enters the charging state. The vehicle is then powered on.

[0148] S803, in either the discharge or charging state, activates the corresponding operating mode and closes the relay. During this period, it continuously reports the current operating mode and relay status to the VCU and continuously diagnoses whether a relay sticking fault exists. If so, it reports the relay sticking fault to the VCU. If a power-down command is detected, it enters the power-down state.

[0149] S804, in the power-off state, disconnects all relays and diagnoses whether there is a relay sticking fault. If so, it reports the relay sticking fault to the VCU; otherwise, it reports the relay status to the VCU. The vehicle is then powered off.

[0150] In addition, refer to Figure 1 This application also provides a vehicle, which may include: The vehicle battery system includes a first battery pack 100, a second battery pack 200, a second relay K2, a fourth relay K4, a fifth relay K5, a seventh relay K7, and a ninth relay K9. The positive terminal of the first battery pack 100 is connected to the positive terminal of the second battery pack 200 sequentially through the second relay K2, the fourth relay K4, and the seventh relay K7. The negative terminal of the first battery pack 100 is connected to the negative terminal of the second battery pack 200 sequentially through the fifth relay K5 and the ninth relay K9. The first charging interface and the first drive interface group of the target vehicle are connected between the fifth relay K5 and the ninth relay K9, and the second drive interface group of the target vehicle is connected between the fourth relay K4 and the seventh relay K7. The first processing module is used to enable the parallel discharge mode according to the corresponding states of the first battery pack 100 and the second battery pack 200 when the target vehicle is in a discharge state. The second processing module is used to control the closing of the second relay K2, the fourth relay K4, the fifth relay K5, the seventh relay K7 and the ninth relay K9 in parallel discharge mode, so as to perform discharge operation through the discharge circuits corresponding to the first battery pack 100 and the second battery pack 200 respectively. The third processing module is used to control the target vehicle to end the discharge state in response to the discharge termination condition.

[0151] The aforementioned vehicles can be private cars, such as sedans, sport utility vehicles (SUVs), multi-purpose vehicles (MPVs), or pickup trucks, or commercial vehicles, such as vans, buses, small trucks, or large trailers, or new energy vehicles such as hybrid and pure electric vehicles.

[0152] The content of the above method embodiments is applicable to this vehicle embodiment. The specific functions implemented in this vehicle embodiment are the same as those in the above method embodiments, and the beneficial effects achieved are also the same as those achieved in the above method embodiments.

[0153] Finally, this application also provides an electronic device that may include: At least one processor; At least one memory for storing at least one program; When at least one program is executed by at least one processor, the at least one processor implements the vehicle battery control method described above.

[0154] The aforementioned memory, as a non-transitory network system, can be used to store non-transitory software programs and non-transitory computer-executable programs. Furthermore, the memory may include high-speed random access memory, and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid-state storage device. In some embodiments, the memory may optionally include memory remotely located relative to the processor, and these remote memories can be connected to the processor via a network. Examples of the aforementioned networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.

[0155] The aforementioned memory can be implemented as a read-only memory (ROM), static storage device, dynamic storage device, or random access memory (RAM). The memory can store the operating system and other applications. When the technical solutions provided in the embodiments of this specification are implemented through software or firmware, the relevant program code is stored in the memory and called by the processor to execute the methods of the embodiments of this application.

[0156] The aforementioned processor can be implemented using a general-purpose central processing unit (CPU), microprocessor, application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to achieve the technical solutions provided in the embodiments of this application.

[0157] In some embodiments, the above-mentioned electronic device may further include: Input / output interfaces are used to implement information input and output; The communication interface is used to enable communication and interaction between this device and other devices. Communication can be achieved through wired means (such as USB, Ethernet cable, etc.) or wireless means (such as mobile network, WIFI, Bluetooth, etc.). A bus is used to transfer information between various components of a device, such as processors, memory, input / output interfaces, and communication interfaces. The processor, memory, input / output interface, and communication interface can communicate with each other within the device via a bus.

[0158] The embodiments described in this application are for the purpose of more clearly illustrating the technical solutions of the embodiments of this application, and do not constitute a limitation on the technical solutions provided by the embodiments of this application. As those skilled in the art will know, with the evolution of technology and the emergence of new application scenarios, the technical solutions provided by the embodiments of this application are also applicable to similar technical problems.

[0159] Those skilled in the art will understand that the technical solutions shown in the figures do not constitute a limitation on the embodiments of this application, and may include more or fewer steps than shown, or combine certain steps, or different steps.

[0160] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.

[0161] Those skilled in the art will understand that all or some of the steps in the methods disclosed above, as well as the functional modules / units in the systems and devices, can be implemented as software, firmware, hardware, or suitable combinations thereof.

[0162] The terms “first,” “second,” “third,” “fourth,” etc. (if present) in the specification and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms “comprising” and “having,” and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0163] It should be understood that in this application, "at least one (item)" means one or more, and "more than" means two or more. "And / or" is used to describe the relationship between related objects, indicating that three relationships can exist. For example, "A and / or B" can represent three cases: only A exists, only B exists, and both A and B exist simultaneously, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one (item) of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one (item) of a, b, or c can represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, and c can be single or multiple.

[0164] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of the units described above is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.

[0165] The units described above as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0166] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0167] If the integrated unit is implemented as 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 technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes multiple instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned storage medium includes various media capable of storing programs, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0168] The preferred embodiments of the present application have been described above with reference to the accompanying drawings, but this does not limit the scope of the claims of the present application. Any modifications, equivalent substitutions, and improvements made by those skilled in the art without departing from the scope and substance of the embodiments of the present application shall be within the scope of the claims of the present application.

Claims

1. A vehicle battery control method, characterized in that, The method is applied to a vehicle battery system, the system including a first battery pack, a second battery pack, a second relay, a fourth relay, a fifth relay, a seventh relay, and a ninth relay; the positive terminal of the first battery pack is connected to the positive terminal of the second battery pack sequentially through the second relay, the fourth relay, and the seventh relay, and the negative terminal of the first battery pack is connected to the negative terminal of the second battery pack sequentially through the fifth relay and the ninth relay; the first charging interface and the first drive interface group of the target vehicle are connected between the fifth relay and the ninth relay, and the second drive interface group of the target vehicle is connected between the fourth relay and the seventh relay; The method includes: When the target vehicle is in a discharge state, the parallel discharge mode is activated according to the corresponding states of the first battery pack and the second battery pack. In the parallel discharge mode, the second relay, the fourth relay, the fifth relay, the seventh relay and the ninth relay are controlled to close, so as to perform discharge operation through the discharge circuits corresponding to the first battery pack and the second battery pack respectively; In response to the discharge termination condition, the target vehicle is controlled to terminate the discharge state.

2. The method according to claim 1, characterized in that, The control of closing the second relay, the fourth relay, the fifth relay, the seventh relay, and the ninth relay includes: Based on the voltages corresponding to the first battery pack and the second battery pack respectively, the battery pack with the higher voltage is identified as the high-voltage battery pack, and the battery pack with the lower voltage is identified as the low-voltage battery pack. Based on the voltage difference between the high-voltage battery pack and the low-voltage battery pack, the relays associated with the discharge circuit of the high-voltage battery pack and the relays associated with the discharge circuit of the low-voltage battery pack are controlled to close sequentially, so as to first form the discharge circuit of the high-voltage battery pack and then form the discharge circuit of the low-voltage battery pack. The relays associated with the discharge circuit of the first battery pack include the second relay, the fourth relay, and the fifth relay; the relays associated with the discharge circuit of the second battery pack include the seventh relay and the ninth relay.

3. The method according to claim 1, characterized in that, The method further includes: When the target vehicle is in the discharge state, the first single-pack discharge mode is activated according to the states corresponding to the first battery pack and the second battery pack, respectively. In the first single-pack discharge mode, the second relay, the fourth relay and the fifth relay are controlled to close, so as to perform a discharge operation through the discharge circuit of the first battery pack; In response to the discharge termination condition, the target vehicle is controlled to terminate the discharge state.

4. The method according to claim 1, characterized in that, The method further includes: When the target vehicle is in the discharge state, the second single-pack discharge mode is activated according to the states corresponding to the first battery pack and the second battery pack, respectively. In the second single-pack discharge mode, the seventh relay and the ninth relay are controlled to close to perform a discharge operation through the discharge circuit of the second battery pack; In response to the discharge termination condition, the target vehicle is controlled to terminate the discharge state.

5. The method according to claim 1, characterized in that, The system also includes a first relay, and the second charging port of the target vehicle is connected between the second relay and the fourth relay through the first relay; The method further includes: When the target vehicle is in a charging state, a first voltage charging mode is activated based on the maximum voltage at the charging pile during at least one handshake, combined with the voltages corresponding to the first battery pack and the second battery pack respectively; wherein, the first voltage charging mode includes a parallel charging mode; In the first voltage charging mode, the parallel charging mode is activated according to the respective states of the first battery pack and the second battery pack; In the parallel charging mode, the first relay, the second relay, the fourth relay, the fifth relay, the seventh relay, and the ninth relay are controlled to close, so as to charge the first battery pack through the charging circuit of the first battery pack and to charge the second battery pack through the charging circuit of the second battery pack. In response to the charging termination condition, the target vehicle is controlled to terminate the charging state.

6. The method according to claim 1, characterized in that, The system also includes a first relay, and the second charging port of the target vehicle is connected between the second relay and the fourth relay through the first relay; The method further includes: When the target vehicle is in a charging state, a first voltage charging mode is activated based on the maximum voltage at the charging pile during at least one handshake, combined with the voltages corresponding to the first battery pack and the second battery pack respectively; wherein, the first voltage charging mode includes a first single-pack charging mode; In the first voltage charging mode, the first single-pack charging mode is activated according to the respective states of the first battery pack and the second battery pack. In the first single-pack charging mode, the first relay, the second relay, the fourth relay and the fifth relay are controlled to close, so as to charge the first battery pack through the charging circuit of the first battery pack; In response to the charging termination condition, the target vehicle is controlled to terminate the charging state.

7. The method according to claim 1, characterized in that, The system also includes a first relay, and the second charging port of the target vehicle is connected between the second relay and the fourth relay through the first relay; The method further includes: When the target vehicle is in a charging state, a first voltage charging mode is activated based on the maximum voltage at the charging pile during at least one handshake, combined with the voltages corresponding to the first battery pack and the second battery pack respectively; wherein, the first voltage charging mode includes a second single-pack charging mode; In the first voltage charging mode, the second single-pack charging mode is activated according to the respective states of the first battery pack and the second battery pack. In the second single-pack charging mode, the first relay, the fourth relay, the seventh relay and the ninth relay are controlled to close, so as to charge the second battery pack through the charging circuit of the second battery pack; In response to the charging termination condition, the target vehicle is controlled to terminate the charging state.

8. The method according to claim 1, characterized in that, The system also includes a first relay and a sixth relay. The second charging port of the target vehicle is connected between the second relay and the fourth relay through the first relay. One end of the sixth relay is connected between the fifth relay and the negative terminal of the first battery pack, and the other end of the sixth relay is connected between the seventh relay and the positive terminal of the second battery pack. The method further includes: When the target vehicle is in a charging state, the series charging mode is activated based on the maximum voltage at the charging terminal during at least two handshakes, combined with the voltage and state of the first battery pack and the second battery pack respectively. In the series charging mode, the first relay, the second relay, the sixth relay, the seventh relay and the ninth relay are controlled to close, so as to charge the first battery pack through the series charging circuit of the first battery pack and to charge the second battery pack through the charging circuit of the second battery pack. In response to the charging termination condition, the target vehicle is controlled to terminate the charging state.

9. A vehicle, characterized in that, include: A vehicle battery system includes a first battery pack, a second battery pack, a second relay, a fourth relay, a fifth relay, a seventh relay, and a ninth relay. The positive terminal of the first battery pack is connected to the positive terminal of the second battery pack sequentially through the second relay, the fourth relay, and the seventh relay. The negative terminal of the first battery pack is connected to the negative terminal of the second battery pack sequentially through the fifth relay and the ninth relay. A first charging interface and a first drive interface group of a target vehicle are connected between the fifth relay and the ninth relay. A second drive interface group of the target vehicle is connected between the fourth relay and the seventh relay. The first processing module is used to enable the parallel discharge mode according to the corresponding states of the first battery pack and the second battery pack when the target vehicle is in a discharge state. The second processing module is used to control the closing of the second relay, the fourth relay, the fifth relay, the seventh relay and the ninth relay in the parallel discharge mode, so as to perform discharge operation through the discharge circuits corresponding to the first battery pack and the second battery pack respectively; The third processing module is used to control the target vehicle to end the discharge state in response to the discharge termination condition.

10. An electronic device, characterized in that, The vehicles include: At least one processor; At least one memory for storing at least one program; When the at least one program is executed by the at least one processor, the at least one processor implements the vehicle battery control method as described in any one of claims 1-8.