A battery management system control method and device, electronic equipment and storage medium

By acquiring daisy-chain communication control information and task execution counts, the target control function is determined, solving the problems of function execution timeouts and chaos in the battery management system, and achieving orderly execution and efficiency improvement.

CN116614327BActive Publication Date: 2026-02-10DEEPAL AUTOMOBILE TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310556760.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-05-17
Publication Date
2026-02-10
Estimated Expiration
2043-05-17

AI Technical Summary

Technical Problem

In existing battery management systems, daisy-chain communication causes timeouts in function execution, resulting in the inability to execute all functions and causing execution chaos. Existing technologies have failed to effectively solve the problem of orderly time scheduling, leading to low execution accuracy and efficiency.

Method used

By acquiring daisy-chain communication control information, the number of communication anomalies, and the number of task executions, the target control function is determined, and functional control is performed based on the target control function and communication control information, including daisy-chain communication fault diagnosis and acquisition control, to ensure orderly execution.

Benefits of technology

The time scheduling of the target control function is orderly, which improves the execution efficiency and accuracy and solves the problems of chaotic function execution and timeouts that prevent all functions from being executed.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116614327B_ABST
    Figure CN116614327B_ABST
Patent Text Reader

Abstract

The application provides a battery management system control method and device, electronic equipment and storage medium. The method comprises the following steps: obtaining daisy chain communication control information of a battery management system, a daisy chain communication exception number, a task execution number and a plurality of initial control functions. The task execution number is obtained from a preset basic time length and the daisy chain communication control information. If the daisy chain communication exception number is less than or equal to a preset communication exception number, a target control function is determined from the initial control functions according to the task execution number and a preset target number, and the battery management system is controlled according to the target control function and the daisy chain communication control information. If the daisy chain communication exception number is greater than the preset communication exception number, the battery management system is subjected to daisy chain communication fault processing. The application realizes the order of time scheduling of various target control functions, thereby improving the efficiency and accuracy of target control function execution.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of new energy vehicle technology, specifically to a battery management system control method, device, electronic equipment, and storage medium. Background Technology

[0002] With the development of Battery Management System (BMS) technology, the communication between the motherboard and the sub-boards has evolved from Controller Area Network (CAN) communication to daisy-chain communication. In general technology, the motherboard needs to control the sub-boards to perform multiple functions, such as single-cell voltage acquisition, module temperature acquisition, target sampling line open circuit diagnosis, daisy-chain communication fault diagnosis, battery equalization setting, and terminal resistor setting, within a preset function execution period, through daisy-chain communication. This method has several drawbacks. One function may time out within the preset execution period, preventing all functions from being executed. Increasing the duration of the preset execution period may result in insufficient voltage and temperature sampling data. Furthermore, this method can lead to inconsistent function execution.

[0003] For example, CN112953773B discloses a method, system, and vehicle for handling ring daisy-chain communication faults in a BMS, including the following steps: (S1) The BMS is woken up and powered on; (S2) It is determined whether the cumulative number of times the CID has been configured exceeds a first preset number. If the cumulative number of times the CID has been reconfigured does not exceed the first preset number, the individual sampling chip CID is configured, and it is determined whether all individual sampling chip CIDs are configured successfully. If the configuration is unsuccessful, the process returns to step (S2); if the configuration is successful, all individual sampling chip registers are initialized, and it is determined whether the initialization of the individual sampling chip registers is successful. If successful, the individual sampling chip data is read for the first time, and it is determined whether the reading is normal. If normal, the individual sampling chip data is read periodically, and the process ends. The technical solution disclosed in this invention only addresses daisy-chain communication faults and fails to solve the problem of the orderly scheduling of various functions, resulting in low accuracy and low efficiency in the execution of various functions.

[0004] Application content

[0005] This application provides a battery management system control method, device, electronic device, and storage medium to solve the aforementioned technical problems of failure to execute all functions and chaotic function execution caused by timeout of a certain function.

[0006] In one embodiment of this application, a battery management system control method is provided, comprising: acquiring daisy-chain communication control information, daisy-chain communication anomaly count, task execution count, and multiple initial control functions of the battery management system, wherein the task execution count is obtained from a preset base duration and the daisy-chain communication control information; if the daisy-chain communication anomaly count is less than or equal to a preset communication anomaly count, then a target control function is determined from each of the initial control functions based on the task execution count and a preset target count, and the battery management system is functionally controlled based on the target control function and the daisy-chain communication control information; if the daisy-chain communication anomaly count is greater than the preset communication anomaly count, then daisy-chain communication fault handling is performed on the battery management system.

[0007] In one embodiment of this application, determining a target control function among each of the initial control functions based on the number of task executions and a preset target number includes: if the number of task executions is not equal to a first function count and a target diagnostic count, then the first control function is determined as the target control function; if the number of task executions is equal to the first function count, then the terminal resistor setting function is determined as the target control function; if the number of task executions is equal to the target diagnostic count, then the target sampling line open circuit diagnostic function is determined as the target control function; wherein, the first control function includes at least one of a single cell voltage acquisition function, a module temperature acquisition function, and a battery equalization setting function, the preset target number includes the first function count and the target diagnostic count, and each of the initial control functions includes the first control function, the terminal resistor setting function, and the target sampling line open circuit diagnostic function.

[0008] In one embodiment of this application, if the number of task executions is the target diagnostic count, then determining the target sampling line open-circuit diagnostic function as the target control function includes: if the number of task executions is a first diagnostic count, then determining the odd-numbered channel sampling line open-circuit diagnostic function as the target control function; if the number of task executions is a second diagnostic count, then determining the even-numbered channel sampling line open-circuit diagnostic function as the target control function; wherein, the target diagnostic count includes the first diagnostic count and the second diagnostic count, and the target sampling line open-circuit diagnostic function includes either the odd-numbered channel sampling line open-circuit diagnostic function or the even-numbered channel sampling line open-circuit diagnostic function.

[0009] In one embodiment of this application, the battery management system is functionally controlled according to the target control function and the daisy-chain communication control information, including: if the target control function is an odd-channel sampling line open-circuit diagnostic function, then the odd-channel sampling line is closed and individual cell voltages are acquired to obtain the odd-channel individual cell voltages; if the target control function is an even-channel sampling line open-circuit diagnostic function, then the even-channel sampling line is closed and individual cell voltages are acquired to obtain the even-channel individual cell voltages; the odd-channel individual cell voltages or the even-channel individual cell voltages are used as target diagnostic voltages, and open-circuit diagnostic control is performed on the target sampling lines according to the target diagnostic voltages; wherein, the functional control includes an odd-channel sampling line open-circuit diagnostic function or an even-channel sampling line open-circuit diagnostic function, and the target sampling line includes the odd-channel sampling line or the even-channel sampling line.

[0010] In one embodiment of this application, open-circuit diagnostic control of the target sampling line based on the target diagnostic voltage includes: if the target diagnostic voltage is less than or equal to a preset open-circuit voltage threshold, then the on / off state of the target sampling line is determined to be an open-circuit state; if the target diagnostic voltage is greater than the preset open-circuit voltage threshold, then the on / off state of the target sampling line is determined to be a closed-circuit state.

[0011] In one embodiment of this application, the functional control of the battery management system based on the target control function and the daisy-chain communication control information includes: if the target control function is the first control function, then performing daisy-chain communication fault diagnosis on the battery management system to obtain a diagnosis result; if the diagnosis result is normal, then performing data acquisition control on the battery management system based on the daisy-chain communication control information; if the diagnosis result is abnormal, then increasing the number of times the daisy-chain communication is abnormal; wherein, the functional control also includes daisy-chain communication fault diagnosis and data acquisition control.

[0012] In one embodiment of this application, a battery management system control device is provided, comprising: an acquisition module, configured to acquire daisy-chain communication control information, daisy-chain communication anomaly count, task execution count, and multiple initial control functions of the battery management system, wherein the task execution count is obtained from a preset base duration and the daisy-chain communication control information; a function control module, configured to, if the daisy-chain communication anomaly count is less than or equal to a preset communication anomaly count, determine a target control function among the initial control functions based on the task execution count and a preset target count, and perform function control on the battery management system based on the target control function and the daisy-chain communication control information; and a fault handling module, configured to, if the daisy-chain communication anomaly count is greater than the preset communication anomaly count, perform daisy-chain communication fault handling on the battery management system.

[0013] In one embodiment of this application, the battery management system control device further includes a microcontroller unit, a first daisy-chain communication conversion chip, a second daisy-chain communication conversion chip, multiple individual sampling chips, and a ring daisy-chain communication loop; the microcontroller unit is used to generate the daisy-chain communication control information and perform daisy-chain communication fault diagnosis on the battery management system; the first daisy-chain communication conversion chip and the second daisy-chain communication conversion chip are used to convert between the serial peripheral interface communication and the daisy-chain communication protocol of the microcontroller unit; each of the individual sampling chips is used to perform functional control on the battery management system according to the daisy-chain communication control information; the ring daisy-chain communication loop is formed by connecting the individual sampling chips end to end for daisy-chain communication.

[0014] This application also provides an electronic device, the electronic device comprising: one or more processors; and a storage device for storing one or more programs, which, when executed by the one or more processors, cause the electronic device to implement the battery management system control method as described in any of the above embodiments.

[0015] This application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a computer's processor, causes the computer to perform the battery management system control method as described in any of the above embodiments.

[0016] The beneficial effects of this invention are as follows: This invention provides a battery management system control method, device, electronic device, and storage medium. In this invention, the method of determining the target control function among each initial control function by using the number of task executions and preset target executions solves the technical problems of chaotic function execution and the inability to execute all functions due to timeouts of certain functions. This invention achieves orderly time scheduling of various target control functions, thereby improving the efficiency and accuracy of target control function execution.

[0017] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and do not limit this application. Attached Figure Description

[0018] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application. It is obvious that the drawings described below are merely some embodiments of this application, and those skilled in the art can obtain other drawings based on these drawings without any inventive effort. In the drawings:

[0019] Figure 1 A schematic diagram of an exemplary system architecture to which the technical solutions of the embodiments of this application can be applied is shown;

[0020] Figure 2 A schematic flowchart of a battery management system control method according to an embodiment of this application is shown;

[0021] Figure 3 A schematic flowchart of a battery management system control implementation method according to an embodiment of this application is shown;

[0022] Figure 4 A schematic diagram illustrating the execution of various functions of a battery management system according to an embodiment of this application within 1 second is shown.

[0023] Figure 5 A block diagram of a battery management system control device according to an embodiment of this application is shown;

[0024] Figure 6 A schematic diagram of the structure of a computer system suitable for implementing the electronic device of the present application is shown. Detailed Implementation

[0025] The embodiments of this application will be described below with reference to the accompanying drawings and preferred embodiments. Those skilled in the art can easily understand other advantages and effects of this application from the content disclosed in this specification. This application can also be implemented or applied through other different specific embodiments, and various details in this specification can also be modified or changed based on different viewpoints and applications without departing from the spirit of this application. It should be understood that the preferred embodiments are only for illustrating this application and are not intended to limit the scope of protection of this application.

[0026] It should be noted that the illustrations provided in the following embodiments are only schematic representations of the basic concept of this application. Therefore, the drawings only show the components related to this application and are not drawn according to the actual number, shape and size of the components in the actual implementation. In the actual implementation, the form, quantity and proportion of each component can be arbitrarily changed, and the layout of the components may also be more complex.

[0027] In the following description, numerous details are explored to provide a more thorough explanation of embodiments of the present application. However, it will be apparent to those skilled in the art that embodiments of the present application may be practiced without these specific details. In other embodiments, well-known structures and devices are shown in block diagram form rather than in detail to avoid obscuring embodiments of the present application.

[0028] Please see Figure 1 , Figure 1 A schematic diagram of an exemplary system architecture to which the technical solutions of the embodiments of this application can be applied is shown. For example... Figure 1As shown, the system architecture may include a microcontroller unit (MCU) 110, a first daisy-chain communication conversion chip 121, a second daisy-chain communication conversion chip 122, multiple individual sampling chips 130, and a ring daisy-chain communication loop 140. The microcontroller unit (MCU) 110 is also the motherboard, and the multiple individual sampling chips 130 are also the sub-boards. The multiple individual sampling chips 130 include a first individual sampling chip, a second individual sampling chip, ..., an (N-1)th individual sampling chip, and an Nth individual sampling chip. The microcontroller unit 110 is used to generate daisy-chain communication control information and perform daisy-chain communication fault diagnosis for the battery management system. As the computing module of the battery management system (BMS), the MCU also includes functions such as operation initialization, individual sampling chip configuration, individual sampling chip data reading, and communication fault diagnosis. The first daisy-chain communication conversion chip 121 and the second daisy-chain communication conversion chip 122 are used to convert between the serial peripheral interface communication of the microcontroller unit and the daisy-chain communication protocol. Each individual sampling chip 130 is used to perform functional control of the battery management system according to the daisy-chain communication control information, that is, to perform data acquisition and message reply functions according to the instructions of the MCU. The ring daisy-chain communication loop 140 is composed of the individual sampling chips connected end to end, and is used for daisy-chain communication. That is, the ring daisy-chain communication loop provides a hardware carrier for daisy-chain communication.

[0029] In general technology, the motherboard needs to control the sub-boards to perform multiple functions, including single-cell voltage acquisition, module temperature acquisition, target sampling line open circuit diagnosis, daisy-chain communication fault diagnosis, battery balancing settings, and terminal resistor settings, within a preset function execution period, via daisy-chain communication. This method has a problem: if one function times out within the preset execution period, all functions may fail to execute. Increasing the duration of the preset execution period may result in insufficient voltage and temperature sampling data. Furthermore, this method also suffers from technical issues related to inconsistent function execution.

[0030] To address the aforementioned technical problems, this application provides a battery management system control method, apparatus, electronic device, and storage medium. The implementation details of the technical solutions in the embodiments of this application are described in detail below.

[0031] Please see Figure 2 , Figure 2 A schematic flowchart of a battery management system control method according to an embodiment of this application is shown. Figure 2 As shown, in an exemplary embodiment, the battery management system control method includes at least steps S210 to S230, which are described in detail below:

[0032] Step S210: Obtain daisy-chain communication control information, number of daisy-chain communication exceptions, number of task executions, and multiple initial control functions from the battery management system.

[0033] The number of times a task is executed is determined by a preset base duration and daisy-chain communication control information.

[0034] In one embodiment of this application, the daisy-chain communication control information includes, but is not limited to, control commands and control function execution durations. The control commands are used to control the battery management system to perform functional control.

[0035] In one embodiment of this application, a preset base duration is used to periodically execute all functions of the battery management system. This can be set to 1 second; this is merely an example and not a limitation of the invention. The control function execution duration is used to execute various functions of the battery management system. It can be set to durations such as 50 milliseconds or 30 milliseconds; this is merely an example and not a limitation of the invention. If the control function execution duration is 50 milliseconds and the preset base duration is 1 second, the task execution count for 50 milliseconds is 1. The number of task executions increases sequentially according to the time; for example, the task execution count for 450 milliseconds is 9.

[0036] In one embodiment of this application, multiple initial control functions include a first control function, daisy-chain communication fault diagnosis, battery balancing setting function, and termination resistor setting function. The first control function includes at least one of a single-cell voltage acquisition function and a module temperature acquisition function. The termination resistor setting function is used to detect the configuration of the termination resistor to ensure stable daisy-chain communication. Battery balancing needs to be set to off during module temperature and single-cell voltage acquisition, and then set to on after acquisition is complete. Battery balancing can also be set to off or on according to the upper-layer application.

[0037] Step S220: If the number of daisy-chain communication anomalies is less than or equal to the preset number of communication anomalies, then the target control function is determined in each initial control function based on the number of task executions and the preset target number, and the battery management system is functionally controlled based on the target control function and the daisy-chain communication control information.

[0038] In one embodiment of this application, the preset number of communication anomalies can be set to 10. This is merely an example and is not intended to limit the scope of the invention. That is, if the number of daisy-chain communication anomalies is less than or equal to 10, the step of determining the target control function is initiated.

[0039] In one embodiment of this application, a target control function is determined among each initial control function based on the number of task executions and a preset target number of executions. This includes: if the number of task executions is not equal to the first function count and the target diagnostic count, then the first control function is determined as the target control function; if the number of task executions is equal to the first function count, then the terminal resistor setting function is determined as the target control function; if the number of task executions is equal to the target diagnostic count, then the target sampling line open circuit diagnostic function is determined as the target control function. The first control function includes at least one of a single-cell voltage acquisition function, a module temperature acquisition function, and a battery equalization setting function. The preset target number of executions includes the first function count and the target diagnostic count. Each initial control function includes the first control function, the terminal resistor setting function, and the target sampling line open circuit diagnostic function.

[0040] In one embodiment of this application, if the number of task executions is greater than or equal to a preset end number, the number of task executions is updated to a preset initial number. The preset initial number can be 0, and the preset end number can be 19; this is merely an example and is not intended to be limiting.

[0041] In one embodiment of this application, if the number of task executions is the target diagnostic count, then determining the target sampling line open circuit diagnostic function as the target control function includes: if the number of task executions is the first diagnostic count, then determining the odd-numbered channel sampling line open circuit diagnostic function as the target control function; if the number of task executions is the second diagnostic count, then determining the even-numbered channel sampling line open circuit diagnostic function as the target control function; wherein, the target diagnostic count includes the first diagnostic count and the second diagnostic count, and the target sampling line open circuit diagnostic function includes either the odd-numbered channel sampling line open circuit diagnostic function or the even-numbered channel sampling line open circuit diagnostic function.

[0042] In one embodiment of this application, if the first function count is 1, the first diagnostic count is 10, and the second diagnostic count is 19, and the task execution count is 1, then the terminal resistor setting function is determined as the target control function. If the task execution count is not 1, 10, or 19, then the first control function is determined as the target control function, which includes at least one of the following: single-cell voltage acquisition function, module temperature acquisition function, and battery equalization setting function. If the task execution count is 10 or 19, then the target sampling line open circuit diagnostic function is determined as the target control function.

[0043] In one embodiment of this application, if the number of task executions is 10, the odd-numbered channel sampling line open-circuit diagnostic function is determined as the target control function. If the number of task executions is 19, the even-numbered channel sampling line open-circuit diagnostic function is determined as the target control function.

[0044] In one embodiment of this application, the functional control of the battery management system based on the target control function and daisy-chain communication control information includes: if the target control function is the first control function, then performing daisy-chain communication fault diagnosis on the battery management system to obtain a diagnosis result; if the diagnosis result is normal, then performing data acquisition control on the battery management system based on the daisy-chain communication control information; if the diagnosis result is abnormal, then increasing the number of daisy-chain communication abnormalities; wherein, the functional control also includes daisy-chain communication fault diagnosis and data acquisition control.

[0045] In one embodiment of this application, the battery management system is functionally controlled according to the target control function and daisy-chain communication control information, including: if the target control function is an odd-channel sampling line open-circuit diagnostic function, then the odd-channel sampling line is closed and the individual cell voltage is acquired to obtain the odd-channel individual cell voltage; if the target control function is an even-channel sampling line open-circuit diagnostic function, then the even-channel sampling line is closed and the individual cell voltage is acquired to obtain the even-channel individual cell voltage; the odd-channel individual cell voltage or the even-channel individual cell voltage is used as the target diagnostic voltage, and the target sampling line is open-circuit diagnostic control is performed according to the target diagnostic voltage; wherein, the functional control includes an odd-channel sampling line open-circuit diagnostic function or an even-channel sampling line open-circuit diagnostic function, and the target sampling line includes an odd-channel sampling line or an even-channel sampling line.

[0046] In one embodiment of this application, open-circuit diagnostic control of the target sampling line based on the target diagnostic voltage includes: if the target diagnostic voltage is less than or equal to a preset open-circuit voltage threshold, the on / off state of the target sampling line is determined to be an open-circuit state; if the target diagnostic voltage is greater than the preset open-circuit voltage threshold, the on / off state of the target sampling line is determined to be a closed-circuit state.

[0047] In one embodiment of this application, please refer to Figure 3 , Figure 3A flowchart illustrating a battery management system control implementation method according to an embodiment of this application is shown. The number of task executions is incremented. If the number of daisy-chain communication anomalies is less than or equal to 10, the target function control flow is entered. If the number of task executions is not 1, 10, or 19, daisy-chain communication fault diagnosis is performed on the battery management system to obtain a diagnosis result. If the diagnosis result is abnormal, the number of daisy-chain communication anomalies is incremented. If the diagnosis result is normal, the battery management system is controlled by data acquisition based on daisy-chain communication control information. This data acquisition control includes at least one of the following: single-cell voltage acquisition function, module temperature acquisition function, and battery equalization setting function. If the number of task executions is 1, the terminal resistor is set. If the number of task executions is 10 or 19, the target sampling line open-circuit diagnosis function is executed. Specifically, if the number of task executions is 10, the odd-numbered channel sampling lines are closed, and open-circuit diagnosis is performed on the odd-numbered channel sampling lines; if the number of task executions is 19, the even-numbered channel sampling lines are closed, and open-circuit diagnosis is performed on the even-numbered channel sampling lines. If the number of task executions is greater than or equal to 19, the number of task executions is updated to 0.

[0048] Step S230: If the number of daisy-chain communication failures exceeds the preset number of communication failures, then perform daisy-chain communication fault handling on the battery management system.

[0049] In one embodiment of this application, please refer to [the relevant documentation]. Figure 3 ,like Figure 3 As shown, after incrementing the task execution count, if the number of daisy-chain communication errors exceeds 10, the battery management system will be processed for daisy-chain communication fault handling. Additionally, failure to initialize the distribution board during power-on will also trigger daisy-chain communication fault handling.

[0050] In one embodiment of this application, please refer to Figure 4 , Figure 4 A schematic diagram illustrating the execution of various functions of a battery management system according to an embodiment of this application within one second is shown. Figure 4As shown, the time interval between each task execution is 50ms. When the task execution count is 1 (the first 50ms), the task function is to set the resistor, specifically the terminal resistor setting function, which is performed every 950ms. When the task execution count is 2 (the second 50ms), the task function is to collect data, specifically data acquisition control. This data acquisition control includes at least one of the following: individual cell voltage acquisition, module temperature acquisition, and battery equalization setting. After 8 consecutive data acquisitions, data acquisition stops once. When the task execution count is 10 (the tenth 50ms), the task function is Diagnosis 1, specifically the odd-channel sampling line open-circuit diagnosis function. This closes the odd-channel sampling lines and collects the individual cell voltage data for the current function to determine the on / off status of the odd-channel sampling lines. When the task execution count is 11, the data acquisition function is performed, and after 8 consecutive data acquisitions, data acquisition stops once. When the task execution count is 19, i.e., the 19th 50ms, the task execution function is Diagnosis 2, which is the even-numbered channel sampling line open circuit diagnosis function; the even-numbered channel sampling line is closed, and the individual cell voltage data is collected for even-numbered channel sampling line open circuit diagnosis to obtain the on / off status of the even-numbered channel sampling line, and the task execution count is set to 0. Among them, the target sampling line open circuit diagnosis mode is executed once every 400ms.

[0051] Please see Figure 5 , Figure 5 A block diagram of a battery management system control device according to an embodiment of this application is shown. This device can be applied to... Figure 1 The implementation environment shown is not limited to this embodiment. This device can also be applied to other exemplary implementation environments and specifically configured in other devices. This embodiment does not limit the implementation environment to which the device is applicable.

[0052] like Figure 5 As shown, a battery management system control device 500 according to an embodiment of this application includes: an acquisition module 501, a function control module 502, and a fault handling module 503.

[0053] The module 501 is used to acquire daisy-chain communication control information, daisy-chain communication anomaly count, task execution count, and multiple initial control functions of the battery management system. The task execution count is obtained from a preset base duration and daisy-chain communication control information. The function control module 502 is used to determine a target control function among the initial control functions based on the task execution count and the preset target count if the daisy-chain communication anomaly count is less than or equal to the preset communication anomaly count, and to perform function control on the battery management system based on the target control function and the daisy-chain communication control information. The fault handling module 503 is used to perform daisy-chain communication fault handling on the battery management system if the daisy-chain communication anomaly count is greater than the preset communication anomaly count.

[0054] Please continue reading. Figure 1 ,like Figure 1 As shown, the battery management system control device according to one embodiment of this application further includes a microcontroller unit 110, a first daisy-chain communication conversion chip 121, a second daisy-chain communication conversion chip 122, a plurality of individual sampling chips 130, and a ring daisy-chain communication loop 140.

[0055] The microcontroller unit 110 is used to generate daisy-chain communication control information and perform daisy-chain communication fault diagnosis on the battery management system; the first daisy-chain communication conversion chip 121 and the second daisy-chain communication conversion chip 122 are used to convert between the serial peripheral interface communication of the microcontroller unit and the daisy-chain communication protocol; each individual sampling chip 130 is used to perform functional control on the battery management system according to the daisy-chain communication control information; the ring daisy-chain communication loop 140 is composed of the individual sampling chips connected end to end, and is used for daisy-chain communication.

[0056] It should be noted that the battery management system control device and the battery management system control method provided in the above embodiments belong to the same concept. The specific ways in which each module and unit performs operations have been described in detail in the method embodiments, and will not be repeated here. In practical applications, the battery management system control device provided in the above embodiments can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above, and this is not a limitation here.

[0057] Embodiments of this application also provide an electronic device, including: one or more processors; and a storage device for storing one or more programs, which, when executed by one or more processors, cause the electronic device to implement the battery management system control method provided in the above embodiments.

[0058] Please see Figure 6 , Figure 6 A schematic diagram of a computer system suitable for implementing the embodiments of this application is shown. It should be noted that... Figure 6 The computer system 600 of the electronic device shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of this application.

[0059] like Figure 6As shown, the computer system 600 includes a Central Processing Unit (CPU) 601, which can perform various appropriate actions and processes, such as executing the methods described in the above embodiments, based on a program stored in Read-Only Memory (ROM) 602 or a program loaded from Storage Unit 608 into Random Access Memory (RAM) 603. The RAM 603 also stores various programs and data required for system operation. The CPU 601, ROM 602, and RAM 603 are interconnected via a bus 604. An Input / Output (I / O) interface 605 is also connected to the bus 604.

[0060] The following components are connected to I / O interface 605: an input section 606 including a keyboard, mouse, etc.; an output section 607 including a cathode ray tube (CRT), liquid crystal display (LCD), etc., and speakers, etc.; a storage section 608 including a hard disk, etc.; and a communication section 609 including a network interface card such as a LAN (Local Area Network) card, modem, etc. The communication section 609 performs communication processing via a network such as the Internet. A drive 610 is also connected to I / O interface 605 as needed. A removable medium 611, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., is installed on drive 610 as needed so that computer programs read from it can be installed into storage section 608 as needed.

[0061] According to embodiments of this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program including a computer program for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication section 609, and / or installed from removable medium 611. When the computer program is executed by central processing unit (CPU) 601, it performs various functions defined in the system of this application.

[0062] It should be noted that the computer-readable medium shown in the embodiments of this application can be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two. A computer-readable storage medium can be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), flash memory, optical fiber, portable compact disc read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this application, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying a computer-readable computer program. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. Computer-readable signal media can also be any computer-readable medium other than computer-readable storage media, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The computer program contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to wireless, wired, etc., or any suitable combination thereof.

[0063] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. Each block in a flowchart or block diagram may represent a module, segment, or portion of code, which contains one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram or flowchart, and combinations of blocks in a block diagram or flowchart, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0064] The units described in the embodiments of this application can be implemented in software or hardware, and the described units can also be located in a processor. The names of these units do not necessarily limit the specific unit itself.

[0065] Another aspect of this application provides a computer-readable storage medium storing a computer program thereon, which, when executed by a computer's processor, causes the computer to perform the battery management system control method provided in the various embodiments described above. This computer-readable storage medium may be included in the electronic device described in the above embodiments, or it may exist independently and not incorporated into the electronic device.

[0066] In the above embodiments, unless otherwise specified, the use of ordinal numbers such as "first" and "second" to describe common objects only indicates that they refer to different instances of the same object, rather than indicating that the objects being described must be in a given order, whether temporally, spatially, sequentially, or in any other way.

[0067] The above embodiments are merely illustrative of the principles and effects of this application and are not intended to limit this application. Any person skilled in the art can modify or alter the above embodiments without departing from the spirit and scope of this application. Therefore, all equivalent modifications or alterations made by those skilled in the art without departing from the spirit and technical concept disclosed in this application should still be covered by the claims of this application.

Claims

1. A battery management system control method, characterized in that, The battery management system control method includes: The battery management system obtains daisy-chain communication control information, daisy-chain communication anomaly count, task execution count, and multiple initial control functions. The task execution count is obtained from a preset base duration and the daisy-chain communication control information. If the number of daisy-chain communication anomalies is less than or equal to the preset number of communication anomalies, then a target control function is determined in each of the initial control functions based on the number of task executions and the preset target number. The battery management system is then functionally controlled based on the target control function and the daisy-chain communication control information. Each of the initial control functions includes a first control function, a terminal resistor setting function, an even-numbered channel sampling line open-circuit diagnosis function, and an odd-numbered channel sampling line open-circuit diagnosis function. The first control function includes a single-cell voltage acquisition function, a module temperature acquisition function, and a battery equalization setting function. When acquiring module temperature and single-cell voltage, battery equalization needs to be set to the off state. After the acquisition is completed, battery equalization is set to the on state. Battery equalization can also be set to be off or on according to the upper-layer application. If the number of daisy-chain communication failures exceeds the preset number of communication failures, then the battery management system will be subjected to daisy-chain communication fault handling. The number of task executions is obtained from a preset base duration and the daisy-chain communication control information, including: The number of task executions is increased sequentially based on the control function execution duration and the preset base duration. The daisy-chain communication control information includes the control function execution duration, so as to execute various functions of the battery management system within the control function execution duration.

2. The battery management system control method according to claim 1, wherein a target control function is determined from each of the initial control functions based on the number of task executions and the preset target number of executions, comprising: If the number of times the task is executed is not equal to the first function count and the target diagnosis count, then the first control function is determined as the target control function; If the number of times the task is executed is equal to the first function count, then the terminal resistor setting function is determined as the target control function; If the number of times the task is executed is equal to the target diagnostic count, then the target sampling line open circuit diagnostic function is determined as the target control function; The preset target count includes the first function count and the target diagnostic count, and the initial control function also includes the target sampling line open circuit diagnostic function.

3. The battery management system control method according to claim 2, characterized in that, If the number of task executions is equal to the target diagnostic count, then defining the target sampling line open-circuit diagnostic function as the target control function includes: If the number of times the task is executed is the first diagnostic count, then the odd-numbered channel sampling line open circuit diagnostic function is determined as the target control function; If the number of times the task is executed is the second diagnostic count, then the even-numbered channel sampling line open circuit diagnostic function is determined as the target control function; The target diagnostic count includes the first diagnostic count and the second diagnostic count, and the target sampling line open circuit diagnostic function includes either the odd-numbered channel sampling line open circuit diagnostic function or the even-numbered channel sampling line open circuit diagnostic function.

4. The battery management system control method according to claim 3, characterized in that, The battery management system is functionally controlled based on the target control function and the daisy-chain communication control information, including: If the target control function is an odd-channel sampling line open circuit diagnosis function, then close the odd-channel sampling line and perform single-cell voltage acquisition to obtain the odd-channel single-cell voltage. If the target control function is an even-number channel sampling line open circuit diagnosis function, then the even-number channel sampling line is closed, and the individual cell voltage is acquired to obtain the even-number channel individual cell voltage. The odd-numbered channel individual voltage or the even-numbered channel individual voltage is used as the target diagnostic voltage, and the target sampling line is subjected to open-circuit diagnostic control based on the target diagnostic voltage; The function control includes an open circuit diagnosis function for odd-numbered channel sampling lines or an open circuit diagnosis function for even-numbered channel sampling lines, wherein the target sampling line includes the odd-numbered channel sampling line or the even-numbered channel sampling line.

5. The battery management system control method according to claim 4, characterized in that, Open-circuit diagnostic control of the target sampling line based on the target diagnostic voltage includes: If the target diagnostic voltage is less than or equal to the preset open-circuit voltage threshold, then the on / off state of the target sampling line is determined to be an open-circuit state. If the target diagnostic voltage is greater than the preset open-circuit voltage threshold, then the on / off state of the target sampling line is determined to be a closed state.

6. The battery management system control method according to any one of claims 2-5, characterized in that, Functional control of the battery management system based on the target control function and the daisy-chain communication control information includes: If the target control function is the first control function, then perform daisy-chain communication fault diagnosis on the battery management system to obtain the diagnosis result; If the diagnostic result is normal, the battery management system is collected and controlled according to the daisy-chain communication control information; If the diagnostic result is abnormal, then the number of times the daisy chain communication is abnormal is increased; Functional control also includes daisy chain communication fault diagnosis and acquisition control.

7. A battery management system control device, characterized in that, The battery management system control device includes: The acquisition module is used to acquire daisy-chain communication control information, daisy-chain communication anomaly count, task execution count, and multiple initial control functions of the battery management system. The task execution count is obtained from a preset base duration and the daisy-chain communication control information. The function control module is used to determine a target control function from each of the initial control functions based on the number of task executions and the preset target number if the number of daisy-chain communication anomalies is less than or equal to the preset number of communication anomalies. The module then performs function control on the battery management system based on the target control function and the daisy-chain communication control information. Each of the initial control functions includes a first control function, a terminal resistor setting function, an even-numbered channel sampling line open-circuit diagnosis function, and an odd-numbered channel sampling line open-circuit diagnosis function. The first control function includes a single-cell voltage acquisition function, a module temperature acquisition function, and a battery equalization setting function. When acquiring module temperature and single-cell voltage, battery equalization needs to be set to the off state. After the acquisition is completed, battery equalization is set to the on state. Battery equalization can also be set to be off or on according to the upper-layer application. The fault handling module is used to perform daisy-chain communication fault handling on the battery management system if the number of daisy-chain communication failures exceeds the preset number of communication failures. The number of task executions is obtained from a preset base duration and the daisy-chain communication control information, including: The number of task executions is increased sequentially based on the control function execution duration and the preset base duration. The daisy-chain communication control information includes the control function execution duration, so as to execute various functions of the battery management system within the control function execution duration.

8. The battery management system control device according to claim 7, characterized in that, The battery management system control device also includes a microcontroller unit, a first daisy-chain communication conversion chip, a second daisy-chain communication conversion chip, multiple individual sample chips, and a ring daisy-chain communication circuit; The microcontroller unit is used to generate the daisy-chain communication control information and to perform daisy-chain communication fault diagnosis on the battery management system. The first daisy-chain communication conversion chip and the second daisy-chain communication conversion chip are used to convert between the serial peripheral interface communication and the daisy-chain communication protocol of the microcontroller unit; Each of the individual sampling chips is used to perform functional control of the battery management system according to the daisy-chain communication control information; The circular daisy-chain communication loop is formed by connecting the individual sampling chips end to end, and is used for daisy-chain communication.

9. An electronic device, characterized in that, The electronic device includes: One or more processors; A storage device for storing one or more programs, which, when executed by one or more processors, cause the electronic device to implement the battery management system control method as described in any one of claims 1 to 6.

10. A computer-readable storage medium, characterized in that, It stores a computer program that, when executed by the computer's processor, causes the computer to perform the battery management system control method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Embedded software counting and timing method and device, electronic equipment and medium

    CN113157408A

  • Battery data processing method and system and vehicle

    CN114755585A