CN-121995145-A - BMS hardware in-loop test system, BMS hardware in-loop test method, electronic equipment and storage medium
Abstract
The embodiment of the application provides a BMS hardware-in-the-loop test system, a BMS hardware-in-the-loop test method, electronic equipment and a storage medium, and relates to the technical field of battery management system test. The system comprises a simulator, an environment simulation cabin, a test bench and a BMS hardware test board, wherein the simulator is used for generating environment parameter signals and battery working condition signals and dynamically adjusting test parameters according to response instructions returned by the BMS hardware test board, the environment simulation cabin is used for adjusting environment parameters of the environment where the BMS hardware test board is located based on the environment parameter signals, and the test bench is used for simulating battery signals based on the battery working condition signals. The method has the advantages that the coupling effect of synchronous analog electric signals and physical environments is realized, the test scene can be dynamically optimized according to real-time response of the BMS, multiple test scenes are covered, the test result is more attached to the real complex working condition of the BMS, and the problem that the performance evaluation of the BMS by the existing method is deviated from the real complex working condition is solved.
Inventors
- AI CHENGYI
- ZHAO YANG
- ZHANG SHOUWEN
Assignees
- 赛力斯汽车有限公司
Dates
- Publication Date
- 20260508
- Application Date
- 20260206
Claims (14)
- 1. BMS hardware is at ring test system, a serial communication port, the system includes simulator, environment simulation cabin, test rack and BMS hardware test board, wherein, the simulator respectively with environment simulation cabin, test rack and BMS hardware test board are connected, BMS hardware test board set up in the environment simulation cabin, and with test rack connects, wherein: The simulator is used for loading a target extreme environment scene, generating an environment parameter signal and a battery working condition signal, and dynamically adjusting test parameters according to a response instruction returned by the BMS hardware test board; The environment simulation cabin is used for receiving the environment parameter signals and adjusting environment parameters of the environment where the BMS hardware test board is located based on the environment parameter signals; the test bench is used for simulating a battery signal based on the battery working condition signal; and the BMS hardware test board is used for receiving the analog battery signal and transmitting a response instruction back to the simulator.
- 2. A test method based on the BMS hardware-in-the-loop test system of claim 1, applied to a simulator, the method comprising: Loading a target extreme environment scene to generate an environment parameter signal and a battery working condition signal; the environment parameter signals are sent to an environment simulation cabin, so that the environment simulation cabin adjusts environment parameters of the environment where the BMS hardware test board is located based on the environment parameter signals; The battery working condition signals are sent to a test bench, so that the test bench simulates the battery signals based on the battery working condition signals and sends the battery signals to the BMS hardware test board; And dynamically adjusting the environmental parameter signals and the battery working condition signals according to response instructions returned by the BMS hardware test board.
- 3. The method of testing of claim 2, wherein the simulator incorporates a digital twin model, and wherein prior to the step of loading the target extreme environmental scenario, generating an environmental parameter signal and a battery condition signal, the method further comprises: the digital twin model is constructed based on the physics model and the historical fault data.
- 4. A test method according to claim 3, wherein the physical model comprises a thermodynamic model, a vibration transfer model and a humidity diffusion model, and the constructing the digital twin model based on the physical model and historical fault data comprises: Simulating an intra-cabin temperature distribution based on the thermodynamic model; simulating stress distribution of the BMS hardware test board in a vibration environment based on a vibration transmission model; The humidity diffusion model calculates a humidity field in the cabin based on a Fick diffusion law and a saturated water vapor pressure equation; And establishing a fault rule base by utilizing the historical fault data, and generating a fault injection instruction.
- 5. The method of testing of claim 2, wherein loading the target extreme environmental scenario, generating the environmental parameter signal and the battery condition signal, comprises: coupling calculation is carried out by utilizing a physical model, and environmental parameter signals are dynamically obtained; Correcting the prediction deviation of the environmental parameter signal by using an artificial neural network model to obtain an environmental time sequence curve; generating an ideal battery condition signal based on the environmental timing curve; And performing coupling calculation based on the environment time sequence curve and the ideal battery working condition signal to obtain a battery working condition signal with faults and/or drift.
- 6. The method of claim 5, wherein the performing the coupling calculation using the physics model dynamically obtains the environmental parameter signal comprises: Calculating heat generated by vibration by using a vibration transmission model; obtaining a temperature field based on the heat and thermodynamic model; Updating a vibration model and a humidity model based on the temperature field; If new condensation occurs, the temperature field is recalculated by using the thermodynamic model so as to obtain the current environmental parameter signal.
- 7. The method of claim 5, wherein correcting the predicted deviation of the environmental parameter signal using an artificial neural network model to obtain an environmental timing curve comprises: Obtaining an error sequence between the environmental parameter signal and the actual measurement value of the sensor in a latest preset time period; inputting the error sequence into a trained LSTM model to obtain error estimation of a current environment parameter signal; an environmental timing curve is obtained based on the error estimate and the environmental parameter signal.
- 8. The method of testing of claim 5, wherein generating an ideal battery condition signal based on the environmental timing curve comprises: obtaining an internal resistance variation and voltage fluctuation based on temperature variation in the environmental time sequence curve; obtaining a contact impedance based on the vibration variation in the environmental timing curve; based on the humidity change in the environmental timing curve, an insulation resistance is obtained.
- 9. The method of testing according to claim 5, wherein said performing a coupling calculation based on said environmental timing curve and said ideal battery condition signal to obtain a battery condition signal with a drift amount comprises: based on the stress and temperature data in the environmental time sequence curve, piezoresistance sensitivity coefficients are obtained through piezoresistance effect calculation; Obtaining the resistance variation by using the piezoresistive sensitivity coefficient; Obtaining a drift voltage based on the resistance variation and the corresponding perceived current; And superposing the ideal battery working condition signal with the drifting voltage to obtain a battery working condition signal with drifting quantity.
- 10. The method of testing of claim 5, wherein said performing a coupling calculation based on said environmental timing curve and said ideal battery condition signal to obtain a battery condition signal with a fault comprises: If logic judgment is carried out based on the environment time sequence curve and the ideal battery working condition signal, and corresponding fault injection instructions in a fault rule base are determined to be triggered, generating a battery working condition signal with faults.
- 11. The testing method according to claim 2, wherein dynamically adjusting the environmental parameter signal and the battery condition signal according to the response command returned by the BMS hardware testing board comprises: acquiring a key feedback signal in the response instruction; And dynamically adjusting the environmental parameter signal and/or the battery working condition signal based on the key feedback signal.
- 12. The method of testing of claim 11, wherein the dynamically adjusting the environmental parameter signal and/or the battery condition signal based on the key feedback signal comprises: If the BMS hardware test board does not trigger low-temperature protection at the set low temperature, the environmental parameter signals are enhanced; If the communication error rate is smaller than the threshold value, triggering a fault injection instruction; If the BMS hardware test board triggers protection for multiple times at high temperature, weakening an environmental parameter signal; and if the sampling value jump abnormality occurs to the BMS hardware test board, performing fault reproduction based on the environmental parameter signals in a preset time period before the abnormality.
- 13. An electronic device comprising a memory for storing a computer program and a processor that runs the computer program to cause the electronic device to perform the test method of any one of claims 2 to 12.
- 14. A readable storage medium having stored therein computer program instructions which, when read and executed by a processor, perform the test method of any of claims 2 to 12.
Description
BMS hardware in-loop test system, BMS hardware in-loop test method, electronic equipment and storage medium Technical Field The application relates to the technical field of battery management system testing, in particular to a BMS hardware-in-the-loop testing system, a BMS hardware-in-the-loop testing method, electronic equipment and storage media. Background In the existing HIL test technology, the battery electric signal is simulated through an HIL rack, but the synchronous coupling test capability of a real physical environment (such as temperature, humidity and vibration) is lacked, and the environment parameter adjustment depends on manual intervention, so that the performance evaluation of the BMS has deviation compared with the performance evaluation under the real complex working condition. Disclosure of Invention The embodiment of the application aims to provide a BMS hardware-in-loop test system, a BMS hardware-in-loop test method, electronic equipment and a storage medium, which realize the coupling effect of synchronous analog electric signals and physical environments through an integrated framework of an environment simulation cabin and an HIL rack, and can dynamically optimize test scenes according to BMS real-time response, cover various test scenes, enable test results to be more attached to real complex working conditions of the BMS, and solve the problem that the performance evaluation of the BMS by the existing method has deviation compared with the real complex working conditions. The application provides a BMS hardware-in-loop test system which comprises a simulator, an environment simulation cabin, a test bench and a BMS hardware test board, wherein the simulator is respectively connected with the environment simulation cabin, the test bench and the BMS hardware test board, the BMS hardware test board is arranged in the environment simulation cabin and is connected with the test bench, the simulator is used for loading a target extreme environment scene, generating an environment parameter signal and a battery working condition signal, dynamically adjusting test parameters according to a response instruction returned by the BMS hardware test board, the environment simulation cabin is used for receiving the environment parameter signal and adjusting environment parameters of an environment where the BMS hardware test board is located based on the environment parameter signal, the test bench is used for simulating a battery signal based on the battery working condition signal, and the BMS hardware test board is used for receiving the simulated battery signal and returning the response instruction to the simulator. According to the technical scheme of the embodiment of the application, the system realizes synchronous control of the electric signal, the temperature and the vibration through the integrated framework of the environment simulation cabin and the HIL rack, can realize the coupling effect of the synchronous simulation electric signal and the physical environment, and dynamically optimizes the test scene according to the real-time response of the BMS, realizes dynamic closed-loop verification, has wider test coverage, and solves the problem that the performance evaluation of the BMS by the existing method has deviation compared with the real complex working condition. The application provides a test method based on a BMS hardware-in-loop test system, which is applied to a simulator, and comprises the steps of loading a target extreme environment scene, and generating an environment parameter signal and a battery working condition signal; the method comprises the steps of sending an environment parameter signal to an environment simulation cabin so that the environment simulation cabin can adjust environment parameters of the environment where a BMS hardware test board is located based on the environment parameter signal, sending a battery working condition signal to a test bench so that the test bench can simulate a battery signal based on the battery working condition signal and send the battery signal to the BMS hardware test board, and dynamically adjusting the environment parameter signal and the battery working condition signal according to a response instruction returned by the BMS hardware test board. The real environment and the battery working condition signals are synchronously simulated, the test parameters are dynamically adjusted based on the feedback of the BMS hardware test board, the coupling effect of the synchronous simulation electric signals and the physical environment is realized, the test scene can be dynamically optimized according to the BMS real-time response, multiple test scenes are covered, the test result is more attached to the real complex working condition of the BMS, and the problem that the performance evaluation of the BMS by the existing method is deviated from the real complex working condition is solved. In some embodiments, the simulator