Battery management system, encoding method of battery management system and electronic equipment
By sending a level signal from the battery management control board to change the ID state of the bridge chip on the cell sampling control board, the high cost and high error rate caused by hardware configuration are solved, and a low-cost and efficient encoding method is achieved.
Patent Information
- Application Number
- CN202411418786.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-11
- Publication Date
- 2026-04-14
AI Technical Summary
In existing technologies, the coding of the cell sampling control board requires configuration of hardware states, resulting in high costs and a high error rate.
The battery management control board sends different level signals to the GPIO port of the bridge chip of the cell sampling control board to change its ID state and achieve unique identification without the need for hardware configuration.
It reduces the coding error rate and manufacturing cost of the cell sampling control board, and simplifies the hardware design of the battery management system.
Smart Images

Figure CN121862905A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of battery management system coding technology, and in particular to a battery management system, a battery management system coding method, and an electronic device. Background Technology
[0002] Battery Management Systems (BMS) typically employ a distributed architecture, where the cell sampling control board and the battery management control board are separate. The communication method between these two boards is crucial for battery pack monitoring and control. Currently, communication between the battery management control board and the cell sampling control board generally occurs via a CAN bus. If there are more than one cell sampling control board, each board needs a unique identifier (ID) to ensure that signals sent by the battery management control board are correctly received. Therefore, multiple cell sampling control boards require encoding to distinguish them. Existing technologies typically differentiate cell sampling control boards based on their hardware states, implementing encoding for each board. However, configuring the hardware states significantly increases the hardware cost of developing cell sampling control boards, and this configuration requires specialized technical personnel, making it cumbersome and prone to errors. Summary of the Invention
[0003] The technical problem to be solved by this disclosure is to overcome the shortcomings of the prior art, which requires different configurations of the hardware state of the cell sampling control board for encoding, resulting in high cost and high error rate. This disclosure provides a battery management system, a battery management system encoding method and an electronic device.
[0004] This disclosure solves the above-mentioned technical problems through the following technical solution:
[0005] In a first aspect, a battery management system is provided, the battery management system comprising: a battery management control board and at least two cell sampling control boards, the battery management control board being connected to each cell sampling control board respectively, and each cell sampling control board including a bridging chip;
[0006] The battery management control board is used to send a first level signal to the GPIO port of the bridge chip included in the cell sampling control board to change the ID state of the ID port of the cell sampling control board; the first level signal sent by the battery management control board to each cell sampling control board is different, and the ID state represents the unique identifier of the cell sampling control board.
[0007] Optionally, the battery management control board is connected to each cell sampling control board via a CAN bus; the battery management control board sends a first level signal to the GPIO port of the bridge chip included in the cell sampling control board via the CAN bus.
[0008] Optionally, the battery management control board is also connected to a cell sampling control board via a wake-up signal line; after the battery management control board sends a wake-up signal to the bridge chip of the cell sampling control board connected to the battery management control board via the wake-up signal line, it sends the first level signal to the bridge chip of the woken-up cell sampling control board.
[0009] And / or, two adjacent cell sampling control boards are connected via a wake-up signal line; after the battery management control board sends a wake-up signal to the bridge chip of one of the other cell sampling control boards via the wake-up signal line, it sends the first level signal to the bridge chip of the woken-up cell sampling control board; wherein, the other cell sampling control boards are the cell sampling control boards other than the cell sampling control board connected to the battery management control board among the at least two cell sampling control boards.
[0010] Optionally, the cell sampling control board is used to feed back the ID status to the battery management control board via the CAN bus, and the battery management control board is also used to store the ID status fed back by the cell sampling control board;
[0011] And / or, before sending the first level signal to the GPIO port of the bridge chip included in the cell sampling control board, the battery management control board is also used to send the same second level signal to the GPIO port of the bridge chip included in each cell sampling control board to initialize the ID state of the ID port of each cell sampling control board.
[0012] Optionally, in response to the duplicate ID status feedback from the cell sampling control board, the battery management control board re-executes the step of sending a first level signal to the GPIO port of the bridge chip included in the cell sampling control board, thereby re-encoding the cell sampling control board.
[0013] Secondly, a coding method for a battery management system is provided, applied to a battery management control board included in the battery management system; the battery management system further includes: at least two cell sampling control boards, each of which is connected to a cell sampling control board; the coding method includes:
[0014] Send a first level signal to the GPIO port of the bridge chip included in the cell sampling control board to change the ID state of the ID port of the cell sampling control board;
[0015] The first level signal sent to each cell sampling control board is different, and the ID state represents the unique identifier of the cell sampling control board.
[0016] Optionally, the step of sending a first-level signal to the GPIO port of the bridge chip included in the cell sampling control board includes: sending the same second-level signal to the GPIO port of the bridge chip included in the cell sampling control board to initialize the ID state of the ID port of each cell sampling control board; and sequentially sending the first-level signal to the GPIO port of the bridge chip included in the cell sampling control board.
[0017] And / or, the step of sending a first level signal to the GPIO port of the bridge chip included in the battery cell sampling control board includes: sequentially waking up a bridge chip and sending a first level signal to the GPIO port of the bridge chip included in the woken-up battery cell sampling control board;
[0018] And / or, the encoding method further includes: receiving the ID status fed back by each cell sampling control board, and in response to the existence of the same ID status, re-executing the step of sending a first level signal to the GPIO port of the bridge chip included in the cell sampling control board.
[0019] Thirdly, a coding method for a battery management system is provided, applied to a cell sampling control board included in the battery management system, the cell sampling control board including a bridge chip; the battery management system further includes: a battery management control board, the battery management control board being connected to the cell sampling control board; the coding method includes:
[0020] The GPIO port of the bridge chip receives a first level signal sent by the battery management control board to change the ID state of the ID port of the bridge chip;
[0021] The first level signal sent by the battery management control board to each of the at least two cell sampling control boards included in the battery management system is different, and the ID state represents the unique identifier of the cell sampling control board.
[0022] Optionally, the encoding method further includes:
[0023] The ID status is fed back to the battery management control board, so that the battery management control board can store the ID status.
[0024] Fourthly, an electronic device is provided, including a memory, a processor, and a computer program stored in the memory and for running on the processor, characterized in that the processor executes the computer program to implement the coding method of the battery management system described in any of the preceding claims.
[0025] Based on common knowledge in the field, the above-mentioned preferred conditions can be combined arbitrarily to obtain various preferred embodiments of this disclosure.
[0026] The positive and progressive effects of this disclosure are as follows: The cell sampling control board in this disclosure includes a bridge chip. The battery management control board changes the ID state of the ID port of each bridge chip by sending a first level signal. It can realize the coding of each cell sampling control board without configuring the hardware state of the cell sampling control board, saving the manpower cost of professional technicians to configure the hardware state, reducing the error rate of coding the cell sampling control board, and reducing the manufacturing cost of the battery management system. Attached Figure Description
[0027] Figure 1 A schematic diagram of the structure of a battery management system provided as an exemplary embodiment of this disclosure;
[0028] Figure 2 A schematic diagram of the structure of a bridge chip in a battery management system provided as an exemplary embodiment of this disclosure;
[0029] Figure 3 An interaction diagram of a battery management control board and a cell sampling control board in a battery management system provided as an exemplary embodiment of this disclosure;
[0030] Figure 4 This is a schematic diagram of the structure of an electronic device provided as an exemplary embodiment of the present disclosure. Detailed Implementation
[0031] The present disclosure is further illustrated below by way of embodiments, but the present disclosure is not limited to the scope of the embodiments described herein.
[0032] The prefixes such as "first" and "second" used in this disclosure are merely for distinguishing different descriptive objects and do not limit the position, order, priority, quantity, or content of the described objects. The use of ordinal numbers and other prefixes used to distinguish descriptive objects in this disclosure does not constitute a limitation on the described objects. The description of the described objects is given in the claims or the context of the embodiments, and should not be construed as an unnecessary limitation. Furthermore, in the description of this embodiment, unless otherwise stated, "multiple" means two or more.
[0033] Example 1
[0034] Figure 1 This is a schematic diagram of the structure of a battery management system provided in an exemplary embodiment of the present disclosure.
[0035] The battery management system includes a battery management control board (BMC) and at least two cell sampling control boards (CMCs). The BMC is connected to each cell sampling control board (CMC), and each CMC includes a bridging chip.
[0036] The Battery Management Controller (BMC) sends a first-level signal to the GPIO port of the bridge chip included in the Cell Sampling Control Board (CMC) to change the ID state of the ID port of the CMC. The first-level signal sent by the BMC to each CMC is unique, and the ID state represents the unique identifier of the CMC.
[0037] The first level signal is usually a combination of high and low levels, and the specific choice can be made according to the actual situation; no particular limitation is made here. Figure 2 Taking the bridge chip with four ID ports as an example, the ID status is a four-bit binary code. The encoding type and number of bits can be set according to the actual situation and are not specifically limited here. In other implementations, the ID status can also be encoded in octal, decimal, hexadecimal, etc. The binary code mentioned above is just an example, and the specific choice can be made according to the actual situation and is not specifically limited here.
[0038] by Figure 2 Taking the bridge chip shown as an example, the bridge chip includes four ID ports (ID0, ID1, ID2, and ID3) and five GPIO ports (GPIO0, GPIO1, GPIO2, GPIO3, and GPIO4). GPIO0, GPIO1, GPIO2, and GPIO3 are used to receive the first-level signal sent by the battery management control board (BMC). GPIO4 is used to send a wake-up signal to the bridge chip of the adjacent cell sampling control board (CMC) that has not yet completed encoding. "wake out" means sending a wake-up signal, and "wake_IN" means receiving a wake-up signal.
[0039] Typically, a bridge chip has four ID ports. The ID ports change their ID state based on the first level signal received from the GPIO port, thus distinguishing different cell sampling control boards (CMCs) by their different ID states. If more ID ports are needed, multiple bridge chips need to be connected in series. The number of bridge chips on each cell sampling control board (CMC) can be set according to the actual situation and is not specifically limited here.
[0040] In this embodiment, the cell sampling control board (CMC) includes bridge chips. The battery management control board (BMC) changes the ID state of the ID port of each bridge chip by sending a first level signal. This eliminates the need to configure the hardware state of the CMC, make additional distinctions in the CMC hardware, or set up an MCU on the CMC. This allows for encoding of each CMC, saving the manpower cost of configuring hardware states for technical personnel, reducing the manufacturing cost of the CMC, lowering the error rate of CMC encoding, and simultaneously reducing the manufacturing cost of the battery management system.
[0041] In one embodiment, the battery management control board (BMC) is connected to each cell sampling control board (CMC) via a CAN bus. The BMC sends a first-level signal to the GPIO port of the bridge chip included in the cell sampling control board (CMC) via the CAN bus.
[0042] In this embodiment, the CAN bus communication has a high communication rate and high data transmission efficiency, making it more suitable for large-scale battery packs and complex monitoring and control needs. It does not require additional addressing signal lines, simplifying the wiring and architecture of the battery management system.
[0043] In one embodiment, the battery management control board (BMC) is also connected to a cell sampling control board (CMC) via a wake-up signal line. After sending a wake-up signal to the bridge chip of the cell sampling control board (CMC) connected to the BMC via the wake-up signal line, the BMC sends a first-level signal to the bridge chip of the woken-up cell sampling control board (CMC).
[0044] Before encoding the cell sampling chips, all cell sampling chips are in an unwakeable state. To begin encoding the cell sampling chips, the Battery Management Control Board (BMC) needs to send a wake-up signal to the bridge chip of the Cell Sampling Control Board (CMC) via the wake-up signal line to wake up the CMC.
[0045] After the cell sampling control board (CMC) is woken up, the battery management control board (BMC) sends a first-level signal to the bridge chip of the corresponding cell sampling control board (CMC) to encode the cell sampling control board (CMC).
[0046] In this embodiment, when encoding is not required, the cell sampling control board (CMC) can be placed in low-power or sleep mode. When encoding is required, it is woken up one by one by a wake-up signal, thereby reducing unnecessary power consumption.
[0047] In one embodiment, two adjacent cell sampling control boards (CMCs) are connected via a wake-up signal line. After the battery management control board (BMC) sends a wake-up signal to the bridge chip of one of the other cell sampling control boards (CMCs) via the wake-up signal line, it sends a first-level signal to the bridge chip of the woken-up cell sampling control board (CMC).
[0048] Among them, the other cell sampling control board (CMC) refers to the cell sampling control board CMC other than the cell sampling control board CMC connected to the battery management control board (BMC) among at least two cell sampling control board CMCs.
[0049] After a cell sampling control board (CMC) is woken up and completes encoding, the battery management control board (BMC) controls the coded cell sampling control board CMC to send a wake-up signal to the bridge chip of the adjacent cell sampling control board CMC that has not yet completed encoding via the wake-up signal line, so as to wake up the other cell sampling control board CMC.
[0050] by Figure 1 Taking the battery management system shown as an example, the addressing process will be further explained. The first cell sampling control board (CMC1) is encoded. Specifically, the battery management control board (BMC) sends a wake-up signal to the bridge chip of the first cell sampling control board (CMC1) to wake it up. The BMC sends a first-level signal to the PHY chip of the first cell sampling control board (CMC1) via the CAN bus. The PHY chip then preprocesses the first-level signal and sends the preprocessed first-level signal to the GPIO port of the bridge chip of the first cell sampling control board (CMC1). The bridge chip changes the ID state of its ID port according to the first-level signal received by the GPIO port, thus encoding the first cell sampling control board (CMC1).
[0051] After the first cell sampling control board (CMC1) completes its encoding, the battery management control board (BMC) sends a wake-up signal to the bridge chip of the second cell sampling control board (CMC2) through CMC1 to wake up CMC2. After CMC2 is woken up, it is encoded. After CMC2 completes its encoding, the BMC sends a wake-up signal to the bridge chip of the third cell sampling control board (CMC3) through CMC2 to wake up CMC3 and encode it. These steps are repeated until all CMCs have completed their encoding.
[0052] In this embodiment, two adjacent cell sampling control boards (CMCs) are connected by a wake-up signal line. Each cell sampling control board (CMC) can be used to wake up the next cell sampling control board (CMC), thereby achieving automatic chain wake-up and improving the orderliness of wake-up.
[0053] In one embodiment, the cell sampling control board (CMC) is used to feed back a unique identifier to the battery management control board (BMC) via the CAN bus. The battery management control board (BMC) is also used to store the ID status fed back by the cell sampling control board (CMC).
[0054] The Battery Management Control Board (BMC) can distinguish between different Cell Sampling Control Boards (CMCs) by using the ID status feedback from the Cell Sampling Control Board (CMC).
[0055] In this embodiment, the cell sampling control board (CMC) can store the ID status fed back by the cell sampling control board (CMC). When it is necessary to send a signal to a certain cell sampling control board (CMC), the stored ID status can be directly obtained, thereby accurately realizing the signal transmission.
[0056] In one embodiment, before sending a first-level signal to the GPIO port of the bridge chip included in the cell sampling control board (CMC), the battery management control board (BMC) is also used to send the same second-level signal to the GPIO port of the bridge chip included in each cell sampling control board (CMC) to initialize the ID state of the ID port of each cell sampling control board (CMC).
[0057] The second level signal can be either a high-level signal or a low-level signal, depending on the actual situation; no specific limitation is made here. After initialization, the ID state of the ID port of each cell sampling control board CMC is the same; they can all be high-level or all low-level, depending on the actual situation; no specific limitation is made here.
[0058] In this embodiment, by sending the same second-level signal to the GPIO port of the bridge chip included in each cell sampling control board (CMC), the ID state of the ID port of each cell sampling control board (CMC) is initialized, which facilitates the identification of cell sampling control boards (CMCs) that have completed encoding and those that have not, thereby improving the accuracy of encoding.
[0059] In one embodiment, in response to the duplicate ID state feedback from the cell sampling control board (CMC), the battery management control board (BMC) re-executes the step of sending a first level signal to the GPIO port of the bridge chip included in the cell sampling control board (CMC), thereby re-encoding the cell sampling control board (CMC).
[0060] If multiple cell sampling control boards (CMCs) have the same ID state, it becomes impossible to distinguish between different CMCs. This means that signals sent by the battery management control board (BMC) cannot be guaranteed to be received by the correct CMC, leading to data transmission errors. Therefore, it is necessary to re-encode the CMCs. Re-addressing ensures that each CMC has a unique ID state, guaranteeing accurate data transmission.
[0061] In this embodiment, if the ID states fed back by different cell sampling control boards (CMCs) are duplicated, the step of sending the first level signal to the GPIO port of the bridge chip included in the cell sampling control board (CMC) is re-executed to ensure accurate data transmission and improve communication reliability.
[0062] In one embodiment, see Figure 1 The battery management system also includes a battery sampling chip (AFE), and multiple battery sampling chips (AFE) communicate with each other via a daisy chain.
[0063] The number of battery sampling chips (AFE) can be set according to actual conditions, and no special limit is made here.
[0064] In this embodiment, daisy-chain communication only requires two signal lines to pass through all nodes. Compared with other communication methods such as CAN bus, the wiring complexity and cost are lower. Furthermore, daisy-chain communication uses a series connection method, and each node only needs a short communication line with its adjacent nodes. Therefore, it is less affected by external noise interference and has high reliability.
[0065] In one embodiment, the cell sampling control board (CMC) includes a PHY chip, and the bridge chip of the cell sampling control board (CMC) and the battery management control board (BMC) are both connected to the PHY chip.
[0066] The PHY chip is used to preprocess the CAN signals emitted by the BMC, making the CAN signals suitable for transmission on the bridge chip.
[0067] In this embodiment, the PHY chip is used to preprocess the CAN signal, adapting it to a suitable signal format for conversion, so that the CAN signal is suitable for transmission on the bridge chip, thereby improving the accuracy of signal transmission.
[0068] Example 2
[0069] This embodiment also provides a coding method for a battery management system, applied to a battery management control board (BMC) included in the battery management system; the battery management system further includes at least two cell sampling control boards (CMCs), with the BMC connected to each cell sampling control board (CMC); see [link to documentation]. Figure 3The encoding method includes: the battery management control board (BMC) sends a first level signal to the GPIO port of the bridge chip included in the cell sampling control board (CMC) to change the ID state of the ID port of the cell sampling control board (CMC).
[0070] The first level signal sent by the Battery Management Control Board (BMC) to each Cell Sampling Control Board (CMC) is different, and the ID status represents the unique identifier of the Cell Sampling Control Board (CMC).
[0071] The first level signal can be either a high-level signal or a low-level signal, depending on the actual situation; no specific limitation is made here. The unique identifier is usually a four-bit binary code; the code type and number of bits can be set according to the actual situation; no specific limitation is made here.
[0072] Typically, a bridge chip has four ID ports. The ID ports change their ID state based on the first level signal received from the GPIO port, thus distinguishing different cell sampling control boards (CMCs) by their different ID states. If more ID ports are needed, multiple bridge chips need to be connected in series. The number of bridge chips on each cell sampling control board (CMC) can be set according to the actual situation and is not specifically limited here.
[0073] In this embodiment, the cell sampling control board (CMC) includes bridge chips. The battery management control board (BMC) changes the ID state of the ID port of each bridge chip by sending a first level signal. This eliminates the need to configure the hardware state of the CMC, make additional distinctions in the CMC hardware, or set up an MCU on the CMC. This allows for encoding of each CMC, saving the manpower cost of configuring hardware states for technical personnel, reducing the manufacturing cost of the CMC, lowering the error rate of CMC encoding, and simultaneously reducing the manufacturing cost of the battery management system.
[0074] In one embodiment, the battery management control board (BMC) sends a first-level signal to the GPIO port of the bridge chip included in the cell sampling control board (CMC) to change the ID state of the ID port of the cell sampling control board (CMC). Specifically, this includes sending the first-level signal to the GPIO port of the bridge chip included in the cell sampling control board (CMC) via the CAN bus.
[0075] In this embodiment, the CAN bus communication has a high communication rate and high data transmission efficiency, making it more suitable for large-scale battery packs and complex monitoring and control needs. It does not require additional addressing signal lines, simplifying the wiring and architecture of the battery management system.
[0076] In one embodiment, the battery management control board (BMC) sends a first-level signal to the GPIO port of the bridge chip included in the cell sampling control board (CMC) to change the ID state of the ID port of the cell sampling control board (CMC). This includes: sending the same second-level signal to the GPIO port of the bridge chip included in the cell sampling control board (CMC) to initialize the ID state of the ID port of each cell sampling control board (CMC); and sequentially sending the first-level signal to the GPIO port of the bridge chip included in the cell sampling control board (CMC).
[0077] The second level signal can be either a high-level signal or a low-level signal, depending on the actual situation; no specific limitation is made here. After initialization, the ID state of the ID port of each cell sampling control board CMC is the same; they can all be high-level or all low-level, depending on the actual situation; no specific limitation is made here.
[0078] In this embodiment, by sending the same second-level signal to the GPIO port of the bridge chip included in each cell sampling control board (CMC), the ID state of the ID port of each cell sampling control board (CMC) is initialized, which effectively avoids the encoding error rate of the cell sampling control board (CMC) and improves the encoding accuracy.
[0079] In one embodiment, the battery management control board (BMC) sends a first-level signal to the GPIO port of the bridge chip included in the cell sampling control board (CMC) to change the ID state of the ID port of the cell sampling control board (CMC), including: sequentially waking up a bridge chip and sending a first-level signal to the GPIO port of the bridge chip included in the woken-up cell sampling control board (CMC).
[0080] Before encoding the cell sampling chips, all cell sampling chips are in an unwakeable state. To begin encoding the cell sampling chips, the Battery Management Control Board (BMC) needs to send a wake-up signal to the bridge chip of the Cell Sampling Control Board (CMC) via the wake-up signal line to wake up the CMC.
[0081] After the cell sampling control board (CMC) is woken up, the battery management control board (BMC) sends a first-level signal to the bridge chip of the corresponding cell sampling control board (CMC) to encode the cell sampling control board (CMC).
[0082] In this embodiment, when encoding is not required, the cell sampling control board (CMC) can be placed in low-power or sleep mode. When encoding is required, it is woken up one by one by a wake-up signal, thereby reducing unnecessary power consumption.
[0083] In one embodiment, the encoding method further includes: the battery management control board (BMC) receiving the ID status fed back by the cell sampling control board (CMC) for each cell, and in response to the existence of the same ID status, re-executing the step of sending a first level signal to the GPIO port of the bridge chip included in the cell sampling control board (CMC).
[0084] If multiple cell sampling control boards (CMCs) have the same ID state, it cannot be guaranteed that the signals sent by the battery management control board (BMC) will be received by the correct cell sampling control board CMC, leading to data transmission errors. Therefore, it is necessary to re-encode the cell sampling control board CMCs. Re-addressing ensures that each cell sampling control board CMC has a unique ID state, thereby guaranteeing accurate data transmission.
[0085] In this embodiment, if the ID state of the ID port of different cell sampling control boards (CMCs) is duplicated, the step of sending the first level signal to the GPIO port of the bridge chip included in the cell sampling control board (CMC) is re-executed to ensure accurate data transmission and improve communication reliability.
[0086] In one embodiment, multiple battery sampling chips (AFEs) communicate using a daisy-chain mechanism.
[0087] In this embodiment, daisy-chain communication only requires two signal lines to pass through all nodes. Compared with other communication methods such as CAN bus, the wiring complexity and cost are lower. Furthermore, daisy-chain communication uses a series connection method, and each node only needs a short communication line with its adjacent nodes. Therefore, it is less affected by external noise interference and has high reliability.
[0088] In one embodiment, the cell sampling control board (CMC) includes a PHY chip, and the bridge chip of the cell sampling control board (CMC) and the battery management control board (BMC) are both connected to the PHY chip.
[0089] The PHY chip is used to preprocess the CAN signals emitted by the BMC, making the CAN signals suitable for transmission on the bridge chip.
[0090] In this embodiment, the PHY chip is used to preprocess the CAN signal, adapting it to a suitable signal format for conversion, so that the CAN signal is suitable for transmission on the bridge chip, thereby improving the accuracy of signal transmission.
[0091] Example 3
[0092] This embodiment also provides a coding method for a battery management system. This coding method is applied to a cell sampling control board (CMC) included in the battery management system. The CMC includes a bridge chip. The battery management system also includes a battery management control board (BMC), which is connected to the CMC. See also... Figure 3 The encoding method includes: the GPIO port of the bridge chip receives a first level signal sent by the battery management control board (BMC) to change the ID state of the ID port of the bridge chip.
[0093] Among them, the first level signal sent by the battery management control board (BMC) to each of the at least two cell sampling control boards (CMCs) included in the battery management system is different, and the ID state characterizes the unique identifier of the cell sampling control board (CMC).
[0094] In this embodiment, the cell sampling control board (CMC) includes bridge chips. The battery management control board (BMC) changes the ID state of the ID port of each bridge chip by sending a first level signal. This eliminates the need to configure the hardware state of the CMC, make additional distinctions in the CMC hardware, or set up an MCU on the CMC. This allows for encoding of each CMC, saving the manpower cost of configuring hardware states for technical personnel, reducing the manufacturing cost of the CMC, lowering the error rate of CMC encoding, and simultaneously reducing the manufacturing cost of the battery management system.
[0095] In one embodiment, the encoding method further includes:
[0096] Feedback the ID status to the Battery Management Controller (BMC) so that the BMC can store the ID status.
[0097] The Battery Management Control Board (BMC) can determine whether the ID status matches the unique identifier fed back by the Cell Sampling Control Board (CMC).
[0098] In this embodiment, the cell sampling control board (CMC) can store the ID status fed back by the cell sampling control board (CMC). When it is necessary to send a signal to a certain cell sampling control board (CMC), the stored ID status can be directly obtained, thereby accurately realizing the signal transmission.
[0099] Example 4
[0100] Figure 4This is a schematic diagram of the structure of an electronic device according to an example embodiment of the present disclosure. The electronic device includes a memory, a processor, and a computer program stored in the memory and used to run on the processor. When the processor executes the computer program, it implements the coding method of the battery management system of any of the above embodiments. Figure 4 The electronic device 90 shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments disclosed herein.
[0101] like Figure 4 As shown, the electronic device 90 can be manifested as a general-purpose computing device, such as a server device. The components of the electronic device 90 may include, but are not limited to: at least one processor 91, at least one memory 92, and a bus 93 connecting different system components (including memory 92 and processor 91).
[0102] Bus 93 includes a data bus, an address bus, and a control bus.
[0103] The memory 92 may include volatile memory, such as random access memory (RAM) 921 and / or cache memory 922, and may further include read-only memory (ROM) 923.
[0104] The memory 92 may also include a program tool 925 (or utility) having a set (at least one) program module 924, such program module 924 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each or some combination of these examples may include an implementation of a network environment.
[0105] The processor 91 executes various functional applications and data processing by running computer programs stored in the memory 92, such as the coding method of the battery management system provided in any of the above embodiments.
[0106] Electronic device 90 can also communicate with one or more external devices 94 (e.g., keyboard, pointing device, etc.). This communication can be performed through input / output (I / O) interface 95. Furthermore, electronic device 90 can also communicate with one or more networks (e.g., local area network (LAN), wide area network (WAN), and / or public network, such as the Internet) via network adapter 96. As shown, network adapter 96 communicates with other modules of electronic device 90 via bus 93. It should be understood that, although not shown in the figure, other hardware and / or software modules can be used in conjunction with electronic device 90, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID (disk array) systems, tape drives, and data backup storage systems.
[0107] It should be noted that although several units / modules or sub-units / modules of the electronic device have been mentioned in the detailed description above, this division is merely exemplary and not mandatory. In fact, according to embodiments of this disclosure, the features and functions of two or more units / modules described above can be embodied in one unit / module. Conversely, the features and functions of one unit / module described above can be further divided and embodied by multiple units / modules.
[0108] Example 4
[0109] This disclosure also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the coding method of the battery management system provided in any of the above embodiments.
[0110] The readable storage medium may be more specifically adopted, including but not limited to: portable disk, hard disk, random access memory, read-only memory, erasable programmable read-only memory, optical storage device, magnetic storage device, or any suitable combination thereof.
[0111] Example 5
[0112] This disclosure also provides a computer program product, including a computer program, and a coding method for implementing the battery management system described above when the computer program is executed by a processor.
[0113] The program code for executing the computer program product disclosed herein can be written in any combination of one or more programming languages. The program code can be executed entirely on a user device, partially on a user device, as a stand-alone software package, partially on a user device and partially on a remote device, or entirely on a remote device.
[0114] While specific embodiments of this disclosure have been described above, those skilled in the art should understand that these are merely illustrative examples, and the scope of protection of this disclosure is defined by the appended claims. Those skilled in the art can make various changes or modifications to these embodiments without departing from the principles and essence of this disclosure, but all such changes and modifications fall within the scope of protection of this disclosure.
Claims
1. A battery management system, characterized in that, The battery management system includes: a battery management control board and at least two cell sampling control boards, wherein the battery management control board is connected to each cell sampling control board, and each cell sampling control board includes a bridging chip; The battery management control board is used to send a first level signal to the GPIO port of the bridge chip included in the cell sampling control board to change the ID state of the ID port of the cell sampling control board; the first level signal sent by the battery management control board to each cell sampling control board is different, and the ID state represents the unique identifier of the cell sampling control board.
2. The battery management system as described in claim 1, characterized in that, The battery management control board is connected to each cell sampling control board via a CAN bus; the battery management control board sends a first level signal to the GPIO port of the bridge chip included in the cell sampling control board via the CAN bus.
3. The battery management system as described in claim 1 or 2, characterized in that, The battery management control board is also connected to a cell sampling control board via a wake-up signal line; after the battery management control board sends a wake-up signal to the bridge chip of the cell sampling control board connected to the battery management control board via the wake-up signal line, it sends the first level signal to the bridge chip of the woken-up cell sampling control board. And / or, two adjacent cell sampling control boards are connected via a wake-up signal line; after the battery management control board sends a wake-up signal to the bridge chip of one of the other cell sampling control boards via the wake-up signal line, it sends the first level signal to the bridge chip of the woken-up cell sampling control board; wherein, the other cell sampling control boards are the cell sampling control boards other than the cell sampling control board connected to the battery management control board among the at least two cell sampling control boards.
4. The battery management system as described in claim 2, characterized in that, The cell sampling control board is used to feed back the ID status to the battery management control board via the CAN bus, and the battery management control board is also used to store the ID status fed back by the cell sampling control board; And / or, before sending the first level signal to the GPIO port of the bridge chip included in the cell sampling control board, the battery management control board is also used to send the same second level signal to the GPIO port of the bridge chip included in each cell sampling control board to initialize the ID state of the ID port of each cell sampling control board.
5. The battery management system as described in claim 1, characterized in that, In response to the duplicate ID status reported by the cell sampling control board, the battery management control board re-executes the step of sending a first level signal to the GPIO port of the bridge chip included in the cell sampling control board, thereby re-encoding the cell sampling control board.
6. A coding method for a battery management system, characterized in that, The method is applied to the battery management control board included in the battery management system; the battery management system further includes: at least two cell sampling control boards, each of which is connected to a cell sampling control board; the encoding method includes: Send a first level signal to the GPIO port of the bridge chip included in the cell sampling control board to change the ID state of the ID port of the cell sampling control board; The first level signal sent to each cell sampling control board is different, and the ID state represents the unique identifier of the cell sampling control board.
7. The coding method for a battery management system as described in claim 6, characterized in that, The step of sending a first-level signal to the GPIO port of the bridge chip included in the cell sampling control board includes: sending the same second-level signal to the GPIO port of the bridge chip included in the cell sampling control board to initialize the ID state of the ID port of each cell sampling control board; and sequentially sending the first-level signal to the GPIO port of the bridge chip included in the cell sampling control board. And / or, the step of sending a first level signal to the GPIO port of the bridge chip included in the battery cell sampling control board includes: sequentially waking up a bridge chip and sending a first level signal to the GPIO port of the bridge chip included in the woken-up battery cell sampling control board; And / or, the encoding method further includes: receiving the ID status fed back by each cell sampling control board, and in response to the existence of the same ID status, re-executing the step of sending a first level signal to the GPIO port of the bridge chip included in the cell sampling control board.
8. A coding method for a battery management system, characterized in that, The method is applied to a cell sampling control board included in the battery management system, the cell sampling control board including a bridge chip; the battery management system further includes a battery management control board, the battery management control board being connected to the cell sampling control board; the encoding method includes: The GPIO port of the bridge chip receives a first level signal sent by the battery management control board to change the ID state of the ID port of the bridge chip; The first level signal sent by the battery management control board to each of the at least two cell sampling control boards included in the battery management system is different, and the ID state represents the unique identifier of the cell sampling control board.
9. The coding method for a battery management system as described in claim 8, characterized in that, The encoding method further includes: The ID status is fed back to the battery management control board, so that the battery management control board can store the ID status.
10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and for running on the processor, characterized in that, When the processor executes the computer program, it implements the coding method of the battery management system according to any one of claims 6 to 9.