Voltage acquisition simulation system and method based on HIL cabinet and computer program product
By introducing a communication mode judgment module and a voltage acquisition simulation module into the HIL cabinet, and using daisy chain and CAN communication to generate a simulated cell matrix, combined with a time-division multiplexing strategy, the problem of insufficient hardware resources in large-scale battery pack voltage acquisition in the HIL cabinet is solved, achieving full-coverage voltage acquisition, reducing testing costs and ensuring data timing consistency.
Patent Information
- Application Number
- CN202511017919.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-23
- Publication Date
- 2025-11-21
AI Technical Summary
The existing HIL cabinets cannot meet the voltage acquisition requirements of large-scale battery packs, and manually designing signal lists consumes a lot of time and manpower, and cannot adapt to changes in electrical schematics.
By introducing a communication mode determination module and a voltage acquisition simulation module into the HIL cabinet, and using daisy chain and CAN communication methods to generate simulated cell matrices respectively, combined with a time-division multiplexing strategy, voltage acquisition simulation is achieved.
This approach enables full-coverage voltage acquisition of large-scale battery packs with limited hardware resources, reduces testing hardware costs, ensures consistent timing of voltage data parsing from the BMS board, improves resource utilization, and reduces hardware complexity.
Smart Images

Figure CN120993774A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of HIL cabinet technology, specifically to a voltage acquisition and simulation system, method, and computer program product based on HIL cabinets. Background Technology
[0002] Automotive software is the core of a vehicle, and the Battery Management System (BMS) is the core system for managing the battery pack. A BMS typically consists of a main board and slave boards, each containing a microcontroller. The slave board collects individual cell voltage and temperature data and transmits it to the main board via CAN bus or daisy chain. In BMS Hardware In the Loop (HIL) testing, without a real battery pack, the individual cell voltage values are simulated using the resources of the HIL rack cabinet boards.
[0003] However, as battery pack capacity increases and the number of individual cells grows, it becomes impossible to meet the individual cell requirements simply by upgrading rack resources. Currently, rack resources are typically allocated and signal lists are designed manually based on electrical schematics. Each time the electrical schematic changes, a significant amount of manpower and time is required to redesign the signal lists. Summary of the Invention
[0004] The purpose of this invention is to address the shortcomings of existing technologies by providing a voltage acquisition and simulation system based on a HIL cabinet, comprising: The communication method determination module is used to determine the communication method used by the real BMS system simulated by the HIL cabinet. The communication methods include daisy chain communication and CAN communication. The voltage acquisition simulation module is used to generate a first simulated battery cell matrix in the HIL cabinet when the real BMS system uses daisy-chain communication. The number and voltage of the cells in this first simulated battery cell matrix are equal to those in the battery cell matrix managed by the daisy-chain communication signal in the real BMS system. The voltage acquisition channels in the HIL cabinet acquire the voltage of all simulated cells in the first simulated battery cell matrix to simulate the voltage acquisition of the battery cell matrix managed by the daisy-chain communication signal in the real BMS system. When the real BMS system uses CAN communication, the HIL cabinet generates a second simulated battery cell matrix. The number and voltage of the battery cells are equal to those of the battery cell matrix managed by the communication signal of one of the CAN sub-boxes in the real BMS system. The voltage acquisition channel in the HIL cabinet acquires the voltage of all the simulated battery cells in the second simulated battery cell matrix to realize the voltage acquisition simulation of the battery cell matrix managed by the communication signal of the CAN sub-box in the real BMS system. The voltage of all the simulated battery cells in the second simulated battery cell matrix is copied to obtain the same number of second simulated battery cell matrix voltage copy data as the number of other CAN sub-boxes, so as to realize the voltage acquisition simulation of the battery cell matrix managed by the communication signal of other CAN sub-boxes in the real BMS system.
[0005] Furthermore, in the voltage acquisition simulation module, the voltage acquisition channels in the HIL cabinet acquire the voltage of all simulated cells in the first simulated cell matrix to realize the voltage acquisition simulation of the cell matrix under daisy-chain communication signal management in a real BMS system. The specific method is as follows: If the maximum number of simulated cells whose voltage can be acquired by the HIL cabinet at the same time is greater than or equal to the total number of cells in the cell matrix of the real BMS system, the HIL cabinet generates a number of simulated cells equal to the total number of cells in the cell matrix of the real BMS system. The simulated cells equal to the total number of cells in the cell matrix of the real BMS system are connected to the voltage acquisition channels of all BMS slave boards in the HIL cabinet. The voltage acquisition channels of all BMS slave boards in the HIL cabinet simultaneously acquire the voltage of the corresponding simulated cells. If the maximum number of simulated cells that the HIL cabinet can collect voltage from at the same time is less than the total number of cells in the cell matrix of the real BMS system, the HIL cabinet generates a specific number of simulated cells. Based on the total number of cells in the cell matrix of the real BMS system and the specific number, the total number of the first batch of simulated cells is obtained. Based on the total number of the first batch of simulated cells, the specific number of simulated cells is divided into several batches and then connected to each voltage acquisition channel in the HIL cabinet in batches at different times. Each voltage acquisition channel in the HIL cabinet collects the voltage of the corresponding simulated cells in each batch at different times.
[0006] Furthermore, in the voltage acquisition simulation module, the voltage acquisition channels in the HIL cabinet acquire the voltage of all simulated cells in the second simulated cell matrix to realize the voltage acquisition simulation of the cell matrix managed by the CAN sub-box communication signal in the real BMS system. The specific method is as follows: If the maximum number of simulated cells that the HIL cabinet can collect voltage from at the same time is greater than or equal to the total number of cells in the cell matrix of one of the CAN sub-boxes in the real BMS system, the HIL cabinet generates a number of simulated cells equal to the total number of cells in the cell matrix of one of the CAN sub-boxes in the real BMS system. The simulated cells equal to the total number of cells in the cell matrix of one of the CAN sub-boxes in the real BMS system are connected to each voltage acquisition channel in the HIL cabinet, and each voltage acquisition channel in the HIL cabinet simultaneously collects the voltage of the corresponding simulated cells. If the maximum number of simulated cells that the HIL cabinet can collect voltage from at the same time is less than the total number of cells in the cell matrix of one of the CAN sub-boxes in the real BMS system, the HIL cabinet generates a specific number of simulated cells. The total number of cells in the cell matrix of one of the CAN sub-boxes in the real BMS system is divided by the specific number to obtain the total number of second simulated cell access batches. Based on the total number of second simulated cell access batches, the specific number of simulated cells is divided into several batches and then accessed to each voltage acquisition channel in the HIL cabinet in batches at different times. Each voltage acquisition channel in the HIL cabinet collects the voltage of the corresponding simulated cells in each batch at different times.
[0007] Furthermore, the method for obtaining the total number of the first simulated battery cell access batches based on the total number of battery cells in the actual BMS system and the specific number, and then dividing the specific number of simulated battery cells into several batches and accessing each voltage acquisition channel in the HIL cabinet in a time-sharing manner according to the total number of the first simulated battery cell access batches, and the specific method for each voltage acquisition channel in the HIL cabinet to acquire the voltage of the corresponding simulated battery cells in each batch in a time-sharing manner is as follows: ,in This indicates that the total number of battery cells in the battery cell matrix of a real BMS system is a multiple of the upper limit of the number of simulated battery cells whose voltage can be collected by the HIL cabinet at the same time. This represents the total number of cells in the cell matrix of a real BMS system. To determine the maximum number of analog battery cells that the HIL cabinet can collect voltage data from at the same time, Rounding up yields the total number of the first batch of simulated battery cells connected. The voltage acquisition time for each simulated cell in each batch is the same, but the voltage acquisition time for each batch is different. like For even numbers, the specific value of a particular quantity is... , for The number of simulated cells in each batch is an even number. Each batch starts with the first simulated cell and sequentially connects the specified number of simulated cells to the voltage acquisition channels in the HIL cabinet until the last simulated cell. The voltage acquisition channels in the HIL cabinet acquire data at different times. The voltage of the corresponding simulated battery cell in each batch; like For odd numbers, the specific value of a particular quantity is... Each batch begins with the first simulated battery cell, and the specified number of simulated battery cells are sequentially connected to the voltage acquisition channels in the HIL cabinet until the last simulated battery cell. Each voltage acquisition channel in the HIL cabinet acquires data at different times. The voltage of the corresponding simulated battery cell in each batch, with the voltage of the last simulated battery cell in the [number]th batch. +1 batches are collected individually through a specific voltage acquisition channel. +1 is When the number is odd, it represents the total number of the first simulated battery cell connected in the batch.
[0008] Furthermore, the method for obtaining the total number of the second simulated battery cell access batch based on the total number of battery cells in the battery cell matrix of one of the CAN sub-boxes in the real BMS system and the specific number, and then dividing the specific number of simulated battery cells into several batches according to the total number of the second simulated battery cell access batches, and then accessing each voltage acquisition channel in the HIL cabinet in batches at different times, and the specific method for each voltage acquisition channel in the HIL cabinet to acquire the voltage of the corresponding simulated battery cell of each batch at different times is as follows: ,in This indicates that the total number of battery cells in the battery cell matrix of one CAN sub-box in a real BMS system is a multiple of the upper limit of the simulated battery cell voltage that the HIL cabinet can collect at the same time. This represents the total number of cells in the cell matrix of one of the CAN sub-boxes in a real BMS system. To determine the maximum number of analog battery cells that the HIL cabinet can collect voltage data from at the same time, Rounding up yields the total number of the second simulated battery cell batches. The voltage acquisition time for each simulated cell in each batch is the same, but the voltage acquisition time for each batch is different. like For even numbers, the specific value of a particular quantity is... , for When the number is even, the total number of the second simulated battery cells connected in the batch is [number]. Each batch starts with the first simulated battery cell and sequentially connects the specified number of simulated battery cells to the voltage acquisition channels in the HIL cabinet until the last simulated battery cell. The voltage acquisition channels in the HIL cabinet acquire data at different times. The voltage of the corresponding simulated battery cell in each batch; like For odd numbers, the specific value of a particular quantity is... Each batch begins with the first simulated battery cell, and the specified number of simulated battery cells are sequentially connected to the voltage acquisition channels in the HIL cabinet until the last simulated battery cell. Each voltage acquisition channel in the HIL cabinet acquires data at different times. The voltage of the corresponding simulated battery cell in each batch, with the voltage of the last simulated battery cell in the [number]th batch. +1 batches are collected individually through a specific voltage acquisition channel. +1 is When the number is odd, it represents the total number of the second simulated battery cell connected in the batch.
[0009] Furthermore, in the voltage acquisition simulation module, when the voltage acquisition channels in the HIL cabinet acquire the voltages of all simulated cells in the first simulated cell matrix, and the voltage acquisition channels in the HIL cabinet acquire the voltages of all simulated cells in the second simulated cell matrix, the connection method between the voltage acquisition channels and the simulated cells is as follows: In the HIL cabinet, multiple BMS slave boards are connected in series, and multiple analog signal acquisition chips are connected in series in each BMS slave board; The first analog battery cell is connected to the analog ground AGND of the first analog signal acquisition chip AFE1 and the first voltage acquisition channel C1 of the first analog signal acquisition chip AFE1, respectively. The nth analog battery cell is connected to the nth voltage acquisition channel Cn of the first analog signal acquisition chip AFE1, and the (n+1)th analog battery cell is connected to the (n+1)th voltage acquisition channel C(n+1) of the first analog signal acquisition chip AFE1, the highest potential point PACK+ of the first analog signal acquisition chip AFE1, the analog ground AGND of the second analog signal acquisition chip AFE2, and the first voltage acquisition channel C1 of the second analog signal acquisition chip AFE2, respectively. The (n+2)th analog cell is connected to the second voltage acquisition channel C2 of the second analog signal acquisition chip AFE2. The 2nth analog cell is connected to the nth voltage acquisition channel Cn of the second analog signal acquisition chip AFE2. The (2n+1)th analog cell is connected to the (n+1)th voltage acquisition channel C(n+1) of the second analog signal acquisition chip AFE2, the highest potential point PACK+ of the second analog signal acquisition chip AFE2, the analog ground AGND of the kth analog signal acquisition chip AFEk, and the first voltage acquisition channel C1 of the kth analog signal acquisition chip AFEk.
[0010] Furthermore, in the voltage acquisition simulation module, the specific method for the HIL cabinet to generate the first simulated cell matrix is as follows: the HIL cabinet is instructed to open voltage output channels, the number of open voltage output channels is the same as the number of cells in the cell matrix managed by the daisy-chain communication signal in the real BMS system, and the voltage output by each voltage output channel is the same as the voltage of the corresponding cell in the cell matrix managed by the daisy-chain communication signal in the real BMS system, thereby generating the first simulated cell matrix.
[0011] Furthermore, in the voltage acquisition simulation module, the specific method for the HIL cabinet to generate the second simulated cell matrix is as follows: the HIL cabinet is made to open voltage output channels, and the number of open voltage output channels is the same as the number of cells in the cell matrix managed by one of the CAN sub-boxes of the real BMS system. The voltage output by each voltage output channel is made to be the same as the voltage of the corresponding cell in the cell matrix managed by one of the CAN sub-boxes of the real BMS system, thereby generating the second simulated cell matrix.
[0012] A voltage acquisition simulation method based on HIL cabinet, comprising: Determine the communication method used by the real BMS system simulated by the HIL cabinet, including daisy chain communication and CAN communication. The voltage acquisition simulation module is used to generate a first simulated battery cell matrix in the HIL cabinet when the real BMS system uses daisy-chain communication. The number and voltage of the cells in this first simulated battery cell matrix are equal to those in the battery cell matrix managed by the daisy-chain communication signal in the real BMS system. The voltage acquisition channels in the HIL cabinet acquire the voltage of all simulated cells in the first simulated battery cell matrix to simulate the voltage acquisition of the battery cell matrix managed by the daisy-chain communication signal in the real BMS system. When the real BMS system uses CAN communication, the HIL cabinet generates a second simulated battery cell matrix. The number and voltage of the battery cells are equal to those of the battery cell matrix managed by the communication signal of one of the CAN sub-boxes in the real BMS system. The voltage acquisition channel in the HIL cabinet acquires the voltage of all the simulated battery cells in the second simulated battery cell matrix to realize the voltage acquisition simulation of the battery cell matrix managed by the communication signal of the CAN sub-box in the real BMS system. The voltage of all the simulated battery cells in the second simulated battery cell matrix is copied to obtain the same number of second simulated battery cell matrix voltage copy data as the number of other CAN sub-boxes, so as to realize the voltage acquisition simulation of the battery cell matrix managed by the communication signal of other CAN sub-boxes in the real BMS system.
[0013] A computer program product includes a computer program / instructions that, when executed by a processor, implement the aforementioned voltage acquisition simulation method based on a HIL cabinet.
[0014] The beneficial effects of this invention are as follows: 1. By employing a time-division multiplexing strategy, full-coverage voltage acquisition and simulation of large-scale battery packs can be achieved with limited HIL hardware resources, significantly reducing the cost of test hardware.
[0015] 2. Based on the daisy-chain / CAN communication architecture, different time-division multiplexing strategies are adopted, offering strong applicability. Specifically, the daisy-chain strategy must strictly adhere to the serial timing sequence of the cell matrix. The time-division multiplexing strategy, through multiple batch acquisitions, maintains the cell voltage acquisition order even when hardware resources are insufficient, ensuring that the voltage data parsed by the BMS from the board is consistent with the actual battery pack timing, avoiding SOC estimation failure due to out-of-order data. The CAN-based compartmentalized BMS only needs to simulate a single compartment of cells, generating signals for other compartments by reusing the data from that compartment, reducing testing hardware costs.
[0016] 3. The physical cascading connection implicitly incorporates the daisy-chain cascading characteristics. The jumper connections of AGND and pack+ simulate the series topology of a real AFE chip, which is crucial for scenarios such as differential pressure testing. Furthermore, under the CAN architecture, this connection only needs to be implemented within a single compartment, resulting in lower complexity. This accurately replicates the series electrical characteristics of battery modules, ensuring the realism of the test. Attached Figure Description
[0017] Figure 1 This is a system block diagram of the present invention.
[0018] Figure 2 This is a flowchart of the self-learning process of the system of the present invention.
[0019] Figure 3 This is a diagram showing the connection relationship between the voltage acquisition channel and the simulated battery cell in the system of this invention.
[0020] Figure 4 This is a diagram of the BMS system architecture using CAN communication. Detailed Implementation
[0021] To make the technical problems, technical solutions, and beneficial effects to be solved by this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and are not intended to limit the scope of this application.
[0022] Example 1 refer to Figure 1 A voltage acquisition and simulation system based on a HIL cabinet, comprising: The communication method determination module is used to determine the communication method used by the real BMS system simulated by the HIL cabinet. The communication methods include daisy chain communication and CAN communication. The voltage acquisition simulation module, when the real BMS system uses daisy-chain communication, generates a first simulated cell matrix in the HIL cabinet. The number of cells and their voltages in this first simulated cell matrix are equal to those in the cell matrix managed by the daisy-chain communication signal in the real BMS system. The voltage acquisition channels in the HIL cabinet acquire the voltages of all simulated cells in the first simulated cell matrix to simulate the voltage acquisition of the cell matrix managed by the daisy-chain communication signal in the real BMS system. When the real BMS system uses CAN communication, the HIL cabinet generates a second simulated cell matrix. The number of cells and cell voltages are equal to those in the cell matrix managed by the communication signal of one of the CAN sub-boxes in the real BMS system. The voltage acquisition channels in the HIL cabinet acquire the voltages of all simulated cells in the second simulated cell matrix to simulate the voltage acquisition of the cell matrix managed by the communication signal of the CAN sub-box in the real BMS system. The voltages of all simulated cells in the second simulated cell matrix are copied to obtain the same number of second simulated cell matrix voltage copy data as the number of other CAN sub-boxes, so as to simulate the voltage acquisition of cell matrices managed by the communication signal of other CAN sub-boxes in the real BMS system.
[0023] A true BMS system refers to a BMS system for passenger vehicles or a BMS system for commercial vehicles.
[0024] The simulated battery cells are obtained by simulating the voltage of real battery cells through voltage output channels in the HIL cabinet. The HIL cabinet is instructed to activate its voltage output channels, with the number of activated channels matching the number of cells in the battery cell matrix managed by the daisy-chain communication signals in the real BMS system. The voltage output from each channel is then matched to the voltage of the corresponding cell in the battery cell matrix managed by the daisy-chain communication signals in the real BMS system, generating the first simulated battery cell matrix. The HIL cabinet is then instructed to activate its voltage output channels, with the number of activated channels matching the number of cells in the battery cell matrix managed by one of the CAN sub-boxes in the real BMS system. The voltage output from each channel is then matched to the voltage of the corresponding cell in the battery cell matrix managed by one of the CAN sub-boxes in the real BMS system, generating the second simulated battery cell matrix.
[0025] Passenger vehicle BMS systems typically employ daisy-chain communication. If a single unit's resources are less than the rack's single unit resources, rack resources are allocated sequentially. If a single unit's resources are more than the rack's single unit resources, rack resources are reused. For a passenger vehicle BMS, suppose it collects cell data from m slave boards, each slave board has k AFEs, and each AFE collects n cell voltages, resulting in a total of m × k × n cell voltages.
[0026] Commercial vehicle BMS systems often have a large number of individual cells and external slave boards, and these slave boards typically communicate via CAN. To address this issue, a solution is to use HIL (High-Intensity Link) benchtop multiplexing for some slave boards, while the remaining slave boards simulate all individual cell voltages using CAN signal message emulation. For a commercial vehicle BMS, suppose the mainboard collects cell data from a slave boards via a CAN sub-enclosures. Each CAN sub-enclosure connects to b slave board AFEs (Automatic External Frames), and each slave board AFE collects c individual cell voltages, resulting in a total of a × b × c individual cell voltages.
[0027] For a commercial vehicle BMS system, the system consists of one main board, one high-voltage board, and two slave boards. Each slave board has two AFEs (Automatic External Components), and each AFE has 28 battery cells. The battery pack has a total of 28 × 2 × 2 = 112 battery cells. The CAN1 sub-pack acquires data from the two AFEs on slave board 1, totaling 56 individual battery cells. This data is then connected to the HIL (High-Intensity Module) test bench. The test bench simulates the battery cell resources once. Cells 1 to 28 of the HIL test bench simulate the first 28 real battery cells, while the remaining 28 real battery cells are simulated at a different time using cells 1 to 28 of the HIL test bench. Because the simulation occurs in two time periods, only 28 simulated cells are needed to simulate the 56 real battery cells without any conflicts.
[0028] The communication method determination module determines the type of communication method used by the actual simulated real BMS system. The communication method of the real BMS system has been determined during the design. This patent is mainly to verify the designed real BMS system. Therefore, the specific simulation process is different depending on the communication method of the designed real BMS system. The determination of the communication method of the real BMS system is achieved manually.
[0029] By setting the output voltage of the board, the voltage of cells 1 to 56 can be controlled. Then, the voltage data of cells 1 to 56 collected on the CAN1 sub-box is sent to the CAN2 sub-box. This ensures that the cell voltage data can be collected by both the CAN1 and CAN2 sub-boxes of the main board when the slave board 2 is not connected.
[0030] (1) In the voltage acquisition simulation module, the voltage acquisition channel in the HIL cabinet acquires the voltage of all simulated cells in the first simulated cell matrix to realize the voltage acquisition simulation of the cell matrix for daisy-chain communication signal management in the real BMS system. The specific method is as follows: If the maximum number of simulated cells whose voltage can be acquired by the HIL cabinet at the same time is greater than or equal to the total number of cells in the cell matrix of the real BMS system, the HIL cabinet generates a number of simulated cells equal to the total number of cells in the cell matrix of the real BMS system. The simulated cells equal to the total number of cells in the cell matrix of the real BMS system are connected to the voltage acquisition channels of all BMS slave boards in the HIL cabinet. The voltage acquisition channels of all BMS slave boards in the HIL cabinet simultaneously acquire the voltage of the corresponding simulated cells. If the maximum number of simulated cells that the HIL cabinet can collect voltage from at the same time is less than the total number of cells in the cell matrix of the real BMS system, the HIL cabinet generates a specific number of simulated cells. Based on the total number of cells in the cell matrix of the real BMS system and the specific number, the total number of the first batch of simulated cells is obtained. Based on the total number of the first batch of simulated cells, the specific number of simulated cells is divided into several batches and then connected to each voltage acquisition channel in the HIL cabinet in batches at different times. Each voltage acquisition channel in the HIL cabinet collects the voltage of the corresponding simulated cells in each batch at different times.
[0031] The above method solves the voltage acquisition problem when HIL cabinet hardware resources are insufficient. By adopting a batch acquisition strategy, full-coverage simulation of a large-scale cell matrix is achieved under limited hardware conditions, avoiding hardware upgrade costs, and improving resource utilization through time-sharing multiplexing.
[0032] (2) In the voltage acquisition simulation module, the voltage acquisition channel in the HIL cabinet acquires the voltage of all simulated cells in the second simulated cell matrix to realize the voltage acquisition simulation of the cell matrix managed by the CAN sub-box communication signal in the real BMS system. The specific method is as follows: If the maximum number of simulated cells that the HIL cabinet can collect voltage from at the same time is greater than or equal to the total number of cells in the cell matrix of one of the CAN sub-boxes in the real BMS system, the HIL cabinet generates a number of simulated cells equal to the total number of cells in the cell matrix of one of the CAN sub-boxes in the real BMS system. The simulated cells equal to the total number of cells in the cell matrix of one of the CAN sub-boxes in the real BMS system are connected to each voltage acquisition channel in the HIL cabinet, and each voltage acquisition channel in the HIL cabinet simultaneously collects the voltage of the corresponding simulated cells. If the maximum number of simulated cells that the HIL cabinet can collect voltage from at the same time is less than the total number of cells in the cell matrix of one of the CAN sub-boxes in the real BMS system, the HIL cabinet generates a specific number of simulated cells. The total number of cells in the cell matrix of one of the CAN sub-boxes in the real BMS system is divided by the specific number to obtain the total number of second simulated cell access batches. Based on the total number of second simulated cell access batches, the specific number of simulated cells is divided into several batches and then accessed to each voltage acquisition channel in the HIL cabinet in batches at different times. Each voltage acquisition channel in the HIL cabinet collects the voltage of the corresponding simulated cells in each batch at different times.
[0033] For CAN communication-based compartmentalized BMS systems, the cell acquisition strategy for individual compartments is optimized. Batch acquisition addresses the mismatch between the number of cells within a compartment and hardware resources. Furthermore, copying compartment data reduces redundant hardware configurations.
[0034] (3) The method for obtaining the total number of the first simulated battery cell access batch based on the total number of battery cells in the actual BMS system and the specific number, and then dividing the specific number of simulated battery cells into several batches and accessing each voltage acquisition channel in the HIL cabinet in batches at different times, and the specific method for each voltage acquisition channel in the HIL cabinet to acquire the voltage of the corresponding simulated battery cell in each batch at different times is as follows: ,in This indicates that the total number of battery cells in the battery cell matrix of a real BMS system is a multiple of the upper limit of the number of simulated battery cells whose voltage can be collected by the HIL cabinet at the same time. This represents the total number of cells in the cell matrix of a real BMS system. To determine the maximum number of analog battery cells that the HIL cabinet can collect voltage data from at the same time, Round up (if) If it is 3.25, then 4) Obtain the total number of the first simulated battery cell access batches. The voltage acquisition time for each simulated cell in each batch is the same, but the voltage acquisition time for each batch is different. like For even numbers, the specific value of a particular quantity is... , for When the number is even, the total number of the first batch of analog cells is connected. Each batch starts with the first analog cell and sequentially connects the specified number of analog cells to the voltage acquisition channels in the HIL cabinet until the last analog cell. The voltage acquisition channels in the HIL cabinet acquire data at different times. The voltage of the corresponding simulated battery cell in each batch; like For odd numbers, the specific value of a particular quantity is... Each batch begins with the first simulated battery cell, and the specified number of simulated battery cells are sequentially connected to the voltage acquisition channels in the HIL cabinet until the last simulated battery cell. Each voltage acquisition channel in the HIL cabinet acquires data at different times. The voltage of the corresponding simulated battery cell in each batch, with the voltage of the last simulated battery cell in the [number]th batch. +1 batches are collected individually through a specific voltage acquisition channel. +1 is When the number is odd, it represents the total number of the first simulated battery cell connected in the batch.
[0035] Specifically, the maximum number of analog battery cells that the HIL cabinet can collect voltage data at the same time. <Number of battery cells in a passenger vehicle BMS system (i.e., the total number of battery cells in the actual BMS system's cell matrix) If the individual cell voltage resource requirements are not met, then the method of reusing individual cells in the test bench is adopted. Assume the number of simulated cells in the test bench is M. =2M, for the first batch, starting from the first analog cell, sequentially connect to the... For the second batch of simulated cells, starting from the first simulated cell, they are sequentially connected to the next simulated cell. By accumulating these two batches of simulated battery cells, the total number of cells in the battery cell matrix of the actual BMS system has been compared with that in the actual BMS system. All identical analog battery cells have been connected.
[0036] (4) The total number of the second simulated battery cell access batch is obtained based on the total number of battery cells in the battery cell matrix of one of the CAN sub-boxes in the real BMS system and the specific number. Based on the total number of the second simulated battery cell access batch, the specific number of simulated battery cells is divided into several batches and then connected to each voltage acquisition channel in the HIL cabinet in batches at different times. The specific method for each voltage acquisition channel in the HIL cabinet to acquire the voltage of the corresponding simulated battery cell of each batch at different times is as follows: ,in This indicates that the total number of battery cells in the battery cell matrix of one CAN sub-box in a real BMS system is a multiple of the upper limit of the simulated battery cell voltage that the HIL cabinet can collect at the same time. This represents the total number of cells in the cell matrix of one of the CAN sub-boxes in a real BMS system. To determine the maximum number of analog battery cells that the HIL cabinet can collect voltage data from at the same time, Rounding up yields the total number of the second simulated battery cell batches. The voltage acquisition time for each simulated cell in each batch is the same, but the voltage acquisition time for each batch is different. like For even numbers, the specific value of a particular quantity is... , for When the number is even, the total number of the second simulated battery cells connected in the batch is [number]. Each batch starts with the first simulated battery cell and sequentially connects the specified number of simulated battery cells to the voltage acquisition channels in the HIL cabinet until the last simulated battery cell. The voltage acquisition channels in the HIL cabinet acquire data at different times. The voltage of the corresponding simulated battery cell in each batch; like For odd numbers, the specific value of a particular quantity is... Each batch begins with the first simulated battery cell, and the specified number of simulated battery cells are sequentially connected to the voltage acquisition channels in the HIL cabinet until the last simulated battery cell. Each voltage acquisition channel in the HIL cabinet acquires data at different times. The voltage of the corresponding simulated battery cell in each batch, with the voltage of the last simulated battery cell in the [number]th batch. +1 batches are collected individually through a specific voltage acquisition channel. +1 is When the number is odd, it represents the total number of the second simulated battery cell connected in the batch.
[0037] Specifically, the maximum number of analog battery cells that the HIL cabinet can collect voltage data at the same time. The number of battery cells in one CAN sub-box of a commercial vehicle BMS system (i.e., the total number of battery cells in the battery cell matrix of one CAN sub-box in a real BMS system). If the individual cell voltage resource requirements are not met, then the method of reusing individual cells in the test bench is adopted. Assume the number of simulated cells in the test bench is M. =2M, for the first batch, starting from the first analog cell, sequentially connect to the... For the second batch of simulated cells, starting from the first simulated cell, they are sequentially connected to the next simulated cell. By accumulating these two batches of simulated battery cells, the total number of cells in the battery cell matrix of one of the CAN sub-boxes in the real BMS system has been compared with that of the actual BMS system. All identical analog battery cells have been connected.
[0038] For an even number of cells, data is collected in even batches, with each batch's collection time mutually exclusive. For an odd number of cells, the first j batches are evenly distributed, and the last cell is collected separately (in the (j+1)th batch) to avoid missing any remaining cells and ensure data integrity.
[0039] BMS system architecture reference using CAN communication Figure 4As shown, in the distributed architecture, the BMS hardware consists of two parts: a main board and slave boards. The slave boards are used to detect individual cell voltage and current and for equalization control; the main board is used for relay control, state of charge (SOC) estimation, and electrical injury protection.
[0040] (5) In the voltage acquisition simulation module, when the voltage acquisition channel in the HIL cabinet acquires the voltage of all simulated cells in the first simulated cell matrix and the voltage acquisition channel in the HIL cabinet acquires the voltage of all simulated cells in the second simulated cell matrix, the connection method between the voltage acquisition channel and the simulated cell is as follows: like Figure 3 As shown, multiple BMS slave boards in the HIL cabinet are connected in series, and multiple analog signal acquisition chips in each BMS slave board are connected in series. The first analog battery cell is connected to the analog ground AGND of the first analog signal acquisition chip AFE1 and the first voltage acquisition channel C1 of the first analog signal acquisition chip AFE1, respectively. The nth analog battery cell is connected to the nth voltage acquisition channel Cn of the first analog signal acquisition chip AFE1, and the (n+1)th analog battery cell is connected to the (n+1)th voltage acquisition channel C(n+1) of the first analog signal acquisition chip AFE1, the highest potential point PACK+ of the first analog signal acquisition chip AFE1, the analog ground AGND of the second analog signal acquisition chip AFE2, and the first voltage acquisition channel C1 of the second analog signal acquisition chip AFE2, respectively. The (n+2)th analog cell is connected to the second voltage acquisition channel C2 of the second analog signal acquisition chip AFE2. The 2nth analog cell is connected to the nth voltage acquisition channel Cn of the second analog signal acquisition chip AFE2. The (2n+1)th analog cell is connected to the (n+1)th voltage acquisition channel C(n+1) of the second analog signal acquisition chip AFE2, the highest potential point PACK+ of the second analog signal acquisition chip AFE2, the analog ground AGND of the kth analog signal acquisition chip AFEk, and the first voltage acquisition channel C1 of the kth analog signal acquisition chip AFEk.
[0041] AFE is a dedicated chip or circuit module responsible for collecting analog signals such as battery cell voltage and temperature.
[0042] The above connection method cascades the AFE chips in sequence to simulate the series topology of a real battery module, and restores the electrical characteristics of a real BMS by connecting AGND, cellVolt channels and Pack+, ensuring that the HIL test environment is consistent with the electrical behavior of the actual vehicle battery pack.
[0043] like Figure 2As shown, in the early stages of system establishment, the system output needs to be manually corrected. By checking the list of automatically output signals, data is marked and corrected for any errors in resource allocation, and the data is fed back into the system. This allows the system to continuously learn and improve its automatic resource allocation capabilities during each resource allocation process.
[0044] Example 2 A voltage acquisition simulation method based on HIL cabinet, comprising: Determine the communication method used by the real BMS system simulated by the HIL cabinet, including daisy chain communication and CAN communication. The voltage acquisition simulation module is used to generate a first simulated battery cell matrix in the HIL cabinet when the real BMS system uses daisy-chain communication. The number and voltage of the cells in this first simulated battery cell matrix are equal to those in the battery cell matrix managed by the daisy-chain communication signal in the real BMS system. The voltage acquisition channels in the HIL cabinet acquire the voltage of all simulated cells in the first simulated battery cell matrix to simulate the voltage acquisition of the battery cell matrix managed by the daisy-chain communication signal in the real BMS system. When the real BMS system uses CAN communication, the HIL cabinet generates a second simulated battery cell matrix. The number and voltage of the battery cells are equal to those of the battery cell matrix managed by the communication signal of one of the CAN sub-boxes in the real BMS system. The voltage acquisition channel in the HIL cabinet acquires the voltage of all the simulated battery cells in the second simulated battery cell matrix to realize the voltage acquisition simulation of the battery cell matrix managed by the communication signal of the CAN sub-box in the real BMS system. The voltage of all the simulated battery cells in the second simulated battery cell matrix is copied to obtain the same number of second simulated battery cell matrix voltage copy data as the number of other CAN sub-boxes, so as to realize the voltage acquisition simulation of the battery cell matrix managed by the communication signal of other CAN sub-boxes in the real BMS system.
[0045] (1) The specific method for simulating the voltage acquisition of the cell matrix in the HIL cabinet by acquiring the voltage of all simulated cells in the first simulated cell matrix to realize the daisy-chain communication signal management of the real BMS system is as follows: If the maximum number of simulated cells whose voltage can be acquired by the HIL cabinet at the same time is greater than or equal to the total number of cells in the cell matrix of the real BMS system, the HIL cabinet generates a number of simulated cells equal to the total number of cells in the cell matrix of the real BMS system. The simulated cells equal to the total number of cells in the cell matrix of the real BMS system are connected to the voltage acquisition channels of all BMS slave boards in the HIL cabinet. The voltage acquisition channels of all BMS slave boards in the HIL cabinet simultaneously acquire the voltage of the corresponding simulated cells. If the maximum number of simulated cells that the HIL cabinet can collect voltage from at the same time is less than the total number of cells in the cell matrix of the real BMS system, the HIL cabinet generates a specific number of simulated cells. Based on the total number of cells in the cell matrix of the real BMS system and the specific number, the total number of the first batch of simulated cells is obtained. Based on the total number of the first batch of simulated cells, the specific number of simulated cells is divided into several batches and then connected to each voltage acquisition channel in the HIL cabinet in batches at different times. Each voltage acquisition channel in the HIL cabinet collects the voltage of the corresponding simulated cells in each batch at different times.
[0046] (2) The specific method for simulating the voltage acquisition of the cell matrix managed by the CAN sub-box communication signal in the real BMS system by acquiring the voltage of all simulated cells in the second simulated cell matrix through the voltage acquisition channels in the HIL cabinet is as follows: If the maximum number of simulated cells that the HIL cabinet can collect voltage from at the same time is greater than or equal to the total number of cells in the cell matrix of one of the CAN sub-boxes in the real BMS system, the HIL cabinet generates a number of simulated cells equal to the total number of cells in the cell matrix of one of the CAN sub-boxes in the real BMS system. The simulated cells equal to the total number of cells in the cell matrix of one of the CAN sub-boxes in the real BMS system are connected to each voltage acquisition channel in the HIL cabinet, and each voltage acquisition channel in the HIL cabinet simultaneously collects the voltage of the corresponding simulated cells. If the maximum number of simulated cells that the HIL cabinet can collect voltage from at the same time is less than the total number of cells in the cell matrix of one of the CAN sub-boxes in the real BMS system, the HIL cabinet generates a specific number of simulated cells. The total number of cells in the cell matrix of one of the CAN sub-boxes in the real BMS system is divided by the specific number to obtain the total number of second simulated cell access batches. Based on the total number of second simulated cell access batches, the specific number of simulated cells is divided into several batches and then accessed to each voltage acquisition channel in the HIL cabinet in batches at different times. Each voltage acquisition channel in the HIL cabinet collects the voltage of the corresponding simulated cells in each batch at different times.
[0047] Example 3 A computer program product includes a computer program / instructions that, when executed by a processor, implement the voltage acquisition simulation method based on the HIL cabinet in Embodiment 2.
[0048] The contents not described in detail in this specification are prior art known to those skilled in the art. Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0049] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0050] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0051] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0052] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and not to limit its scope of protection. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art should understand that after reading the present invention, they can still make various changes, modifications or equivalent substitutions to the specific implementation of the invention, but these changes, modifications or equivalent substitutions are all within the scope of protection of the pending claims of the invention.
Claims
1. A voltage acquisition and simulation system based on a HIL cabinet, characterized in that, include: The communication method determination module is used to determine the communication method used by the real BMS system simulated by the HIL cabinet. The communication methods include daisy chain communication and CAN communication. The voltage acquisition simulation module is used to generate a first simulated battery cell matrix in the HIL cabinet when the real BMS system uses daisy-chain communication. The number and voltage of the cells in this first simulated battery cell matrix are equal to those in the battery cell matrix managed by the daisy-chain communication signal in the real BMS system. The voltage acquisition channels in the HIL cabinet acquire the voltage of all simulated cells in the first simulated battery cell matrix to simulate the voltage acquisition of the battery cell matrix managed by the daisy-chain communication signal in the real BMS system. When the real BMS system uses CAN communication, the HIL cabinet generates a second simulated battery cell matrix. The number and voltage of the battery cells are equal to those of the battery cell matrix managed by the communication signal of one of the CAN sub-boxes in the real BMS system. The voltage acquisition channel in the HIL cabinet acquires the voltage of all the simulated battery cells in the second simulated battery cell matrix to realize the voltage acquisition simulation of the battery cell matrix managed by the communication signal of the CAN sub-box in the real BMS system. The voltage of all the simulated battery cells in the second simulated battery cell matrix is copied to obtain the same number of second simulated battery cell matrix voltage copy data as the number of other CAN sub-boxes, so as to realize the voltage acquisition simulation of the battery cell matrix managed by the communication signal of other CAN sub-boxes in the real BMS system.
2. The voltage acquisition and simulation system based on HIL cabinet according to claim 1, characterized in that: In the voltage acquisition simulation module, the voltage acquisition channels in the HIL cabinet acquire the voltage of all simulated cells in the first simulated cell matrix to realize the voltage acquisition simulation of the cell matrix for daisy-chain communication signal management in a real BMS system. The specific method is as follows: If the maximum number of simulated cells whose voltage can be acquired by the HIL cabinet at the same time is greater than or equal to the total number of cells in the cell matrix of the real BMS system, the HIL cabinet generates a number of simulated cells equal to the total number of cells in the cell matrix of the real BMS system. The simulated cells equal to the total number of cells in the cell matrix of the real BMS system are connected to the voltage acquisition channels of all BMS slave boards in the HIL cabinet. The voltage acquisition channels of all BMS slave boards in the HIL cabinet simultaneously acquire the voltage of the corresponding simulated cells. If the maximum number of simulated cells that the HIL cabinet can collect voltage from at the same time is less than the total number of cells in the cell matrix of the real BMS system, the HIL cabinet generates a specific number of simulated cells. Based on the total number of cells in the cell matrix of the real BMS system and the specific number, the total number of the first batch of simulated cells is obtained. Based on the total number of the first batch of simulated cells, the specific number of simulated cells is divided into several batches and then connected to each voltage acquisition channel in the HIL cabinet in batches at different times. Each voltage acquisition channel in the HIL cabinet collects the voltage of the corresponding simulated cells in each batch at different times.
3. The voltage acquisition and simulation system based on HIL cabinet according to claim 1, characterized in that: In the voltage acquisition simulation module, the voltage acquisition channels in the HIL cabinet acquire the voltage of all simulated cells in the second simulated cell matrix to simulate the voltage acquisition of the cell matrix managed by the CAN sub-box communication signal in the real BMS system. The specific method is as follows: If the maximum number of simulated cells that the HIL cabinet can collect voltage from at the same time is greater than or equal to the total number of cells in the cell matrix of one of the CAN sub-boxes in the real BMS system, the HIL cabinet generates a number of simulated cells equal to the total number of cells in the cell matrix of one of the CAN sub-boxes in the real BMS system. The simulated cells equal to the total number of cells in the cell matrix of one of the CAN sub-boxes in the real BMS system are connected to each voltage acquisition channel in the HIL cabinet, and each voltage acquisition channel in the HIL cabinet simultaneously collects the voltage of the corresponding simulated cells. If the maximum number of simulated cells that the HIL cabinet can collect voltage from at the same time is less than the total number of cells in the cell matrix of one of the CAN sub-boxes in the real BMS system, the HIL cabinet generates a specific number of simulated cells. Based on the total number of cells in the cell matrix of one of the CAN sub-boxes in the real BMS system and the specific number, the total number of the second simulated cell access batch is obtained. Based on the total number of the second simulated cell access batch, the specific number of simulated cells is divided into several batches and then accessed to each voltage acquisition channel in the HIL cabinet in batches at different times. Each voltage acquisition channel in the HIL cabinet collects the voltage of the corresponding simulated cells in each batch at different times.
4. The voltage acquisition and simulation system based on HIL cabinet according to claim 2, characterized in that: The method for obtaining the total number of the first simulated battery cell access batch based on the total number of battery cells in the actual BMS system and the specific number, and then dividing the specific number of simulated battery cells into several batches according to the total number of the first simulated battery cell access batches, and then connecting them to each voltage acquisition channel in the HIL cabinet in batches at different times, and the specific method for each voltage acquisition channel in the HIL cabinet to acquire the voltage of the corresponding simulated battery cell in each batch at different times is as follows: ,in This indicates that the total number of battery cells in the battery cell matrix of a real BMS system is a multiple of the upper limit of the number of simulated battery cells whose voltage can be collected by the HIL cabinet at the same time. This represents the total number of cells in the cell matrix of a real BMS system. To determine the maximum number of analog battery cells that the HIL cabinet can collect voltage data from at the same time, Rounding up yields the total number of the first batch of simulated battery cells connected. The voltage acquisition time for each simulated cell in each batch is the same, but the voltage acquisition time for each batch is different. like For even numbers, the specific value of a particular quantity is... , for For even numbers, the total number of simulated cells connected in the first batch is used. Each batch starts with the first simulated cell and sequentially connects the specified number of simulated cells to the voltage acquisition channels in the HIL cabinet until the last simulated cell. The voltage acquisition channels in the HIL cabinet acquire data at different times. The voltage of the corresponding simulated battery cell in each batch; like For odd numbers, the specific value of a particular quantity is... Each batch begins with the first simulated battery cell, and the specified number of simulated battery cells are sequentially connected to the voltage acquisition channels in the HIL cabinet until the last simulated battery cell. Each voltage acquisition channel in the HIL cabinet acquires data at different times. The voltage of the corresponding simulated battery cell in each batch, with the voltage of the last simulated battery cell in the [number]th batch. +1 batches are collected individually through a specific voltage acquisition channel. +1 is The total number of the first simulated battery cell connected in the batch when the number of odd numbers is 1.
5. The voltage acquisition and simulation system based on HIL cabinet according to claim 3, characterized in that: The total number of cells in the cell matrix of one of the CAN sub-boxes in the real BMS system is used to obtain the total number of the second simulated cell access batches. Based on the total number of the second simulated cell access batches, the specific number of simulated cells is divided into several batches and then accessed to each voltage acquisition channel in the HIL cabinet in batches at different times. The specific method for each voltage acquisition channel in the HIL cabinet to acquire the voltage of the corresponding simulated cells in each batch at different times is as follows: ,in This indicates that the total number of battery cells in the battery cell matrix of one CAN sub-box in a real BMS system is a multiple of the upper limit of the simulated battery cell voltage that the HIL cabinet can collect at the same time. This represents the total number of cells in the cell matrix of one of the CAN sub-boxes in a real BMS system. To determine the maximum number of analog battery cells that the HIL cabinet can collect voltage data from at the same time, Rounding up yields the total number of the second simulated battery cell batches. The voltage acquisition time for each simulated cell in each batch is the same, but the voltage acquisition time for each batch is different. like For even numbers, the specific value of a particular quantity is... , The total number of simulated cells connected in the second batch is [number]. Each batch starts with the first simulated cell and sequentially connects the specified number of simulated cells to the voltage acquisition channels in the HIL cabinet until the last simulated cell. The voltage acquisition channels in the HIL cabinet acquire data at different times. The voltage of the corresponding simulated battery cell in each batch; like For odd numbers, the specific value of a particular quantity is... , +1 represents the total number of the second batch of simulated battery cells connected. Each batch starts with the first simulated battery cell and sequentially connects the specified number of simulated battery cells to the voltage acquisition channels in the HIL cabinet until the last simulated battery cell. The voltage acquisition channels in the HIL cabinet acquire data at different times. The voltage of the corresponding simulated battery cell in each batch, with the voltage of the last simulated battery cell in the [number]th batch. +1 batches are collected individually through a specific voltage acquisition channel.
6. The voltage acquisition and simulation system based on a HIL cabinet according to any one of claims 1-5, characterized in that: In the voltage acquisition simulation module, when the voltage acquisition channels in the HIL cabinet acquire the voltage of all simulated cells in the first simulated cell matrix, and the voltage acquisition channels in the HIL cabinet acquire the voltage of all simulated cells in the second simulated cell matrix, the connection method between the voltage acquisition channels and the simulated cells is as follows: In the HIL cabinet, multiple BMS slave boards are connected in series, and multiple analog signal acquisition chips are connected in series in each BMS slave board; The first analog battery cell is connected to the analog ground AGND of the first analog signal acquisition chip AFE1 and the first voltage acquisition channel C1 of the first analog signal acquisition chip AFE1, respectively. The nth analog battery cell is connected to the nth voltage acquisition channel Cn of the first analog signal acquisition chip AFE1, and the (n+1)th analog battery cell is connected to the (n+1)th voltage acquisition channel C(n+1) of the first analog signal acquisition chip AFE1, the highest potential point PACK+ of the first analog signal acquisition chip AFE1, the analog ground AGND of the second analog signal acquisition chip AFE2, and the first voltage acquisition channel C1 of the second analog signal acquisition chip AFE2, respectively. The (n+2)th analog cell is connected to the second voltage acquisition channel C2 of the second analog signal acquisition chip AFE2. The 2nth analog cell is connected to the nth voltage acquisition channel Cn of the second analog signal acquisition chip AFE2. The (2n+1)th analog cell is connected to the (n+1)th voltage acquisition channel C(n+1) of the second analog signal acquisition chip AFE2, the highest potential point PACK+ of the second analog signal acquisition chip AFE2, the analog ground AGND of the kth analog signal acquisition chip AFEk, and the first voltage acquisition channel C1 of the kth analog signal acquisition chip AFEk.
7. The voltage acquisition and simulation system based on HIL cabinet according to claim 1, characterized in that: In the voltage acquisition simulation module, the specific method for the HIL cabinet to generate the first simulated cell matrix is as follows: Control the HIL cabinet to open voltage output channels. The number of open voltage output channels is the same as the number of cells in the cell matrix managed by the daisy-chain communication signal in the real BMS system. Control the voltage output of each voltage output channel to be the same as the voltage of the corresponding cell in the cell matrix managed by the daisy-chain communication signal in the real BMS system, and generate the first simulated cell matrix.
8. The voltage acquisition and simulation system based on HIL cabinet according to claim 1, characterized in that: In the voltage acquisition simulation module, the specific method for the HIL cabinet to generate the second simulated cell matrix is as follows: Control the HIL cabinet to open voltage output channels. The number of open voltage output channels is the same as the number of cells in the cell matrix managed by one of the CAN sub-boxes in the real BMS system. Control the voltage output of each voltage output channel to be the same as the voltage of the corresponding cell in the cell matrix managed by one of the CAN sub-boxes in the real BMS system, and generate a second simulated cell matrix.
9. A voltage acquisition and simulation method based on a HIL cabinet, characterized in that, include: Determine the communication method used by the real BMS system simulated by the HIL cabinet, including daisy chain communication and CAN communication. The voltage acquisition simulation module is used to generate a first simulated battery cell matrix in the HIL cabinet when the real BMS system uses daisy-chain communication. The number and voltage of the cells in this first simulated battery cell matrix are equal to those in the battery cell matrix managed by the daisy-chain communication signal in the real BMS system. The voltage acquisition channels in the HIL cabinet acquire the voltage of all simulated cells in the first simulated battery cell matrix to simulate the voltage acquisition of the battery cell matrix managed by the daisy-chain communication signal in the real BMS system. When the real BMS system uses CAN communication, the HIL cabinet generates a second simulated battery cell matrix. The number and voltage of the battery cells are equal to those of the battery cell matrix managed by the communication signal of one of the CAN sub-boxes in the real BMS system. The voltage acquisition channel in the HIL cabinet acquires the voltage of all the simulated battery cells in the second simulated battery cell matrix to realize the voltage acquisition simulation of the battery cell matrix managed by the communication signal of the CAN sub-box in the real BMS system. The voltage of all the simulated battery cells in the second simulated battery cell matrix is copied to obtain the same number of second simulated battery cell matrix voltage copy data as the number of other CAN sub-boxes, so as to realize the voltage acquisition simulation of the battery cell matrix managed by the communication signal of other CAN sub-boxes in the real BMS system.
10. A computer program product, characterized in that, It includes a computer program / instruction, characterized in that, when the computer program / instruction is executed by a processor, it implements the voltage acquisition simulation method based on the HIL cabinet as described in claim 9.