| As our country strongly support the development of new energy vehicles, the manufacture level of the electric vehicles in China developed rapidly and had made great progress. Battery is the power source of electric vehicles, so the electric vehicles’ battery management system (BMS) is particularly important. "V" development mode is a kind of standard an efficient development process, it has been widely used in the development of automotive electronics but rarely in the development of battery management system. Traditional development method of BMS needs engineers spent a lot of time on programming, debugging and validation; this kind of method cannot meet the increasingly need of BMS development cycle and efficiency. The work of this paper is to explore an efficient and reliable battery management system develop mode.Electric vehicle BMS is the research object of this paper. Based on Lithium-ion batteries that electric vehices used, equivalent circuit model was selected and model parameters were identificated. State of charge (SOC) estimation method based on extended kalman filter was designed and the cumulative error of Ampere-Hour integral was reduced. Battery thermal management strategy, battery equalization management strategy and charge control strategy were designed. The modeling and simulation work were done in Matlab/Simulink platform and logical correctness of the models were verified. TargetLink automatic code generation tool by dSPACE Gmbh was used to complete the C code generation. Model in the loop, software in the loop and process in the loop simulation were realized.Code size and memory usage assessment were done after the codes were generated. Combined with osCAN operating system, BMS CodeWariror IDE project was set and the program was flashed into the EV05 battery management system motherboard, the operation of the BMS program and real-time scheduling were realized.Compared with traditional development methods, this paper applied "V" type development mode and automatic code generation technology to the development of electric vehicle BMS. Validation of the model can be done during the development period. Code update can be synchronized with the model update. Under the premise of constant input and output variables, C code cohesion cannot be affected by the change of model internal structure. Using automatic code generation tool to generate codes, the execution time, readability, portability and memory usage of the codes are more specification and stable. BMS tasks were scheduled more flexiblely and accurately by using operating system. BMS prototype design can be done in a relatively short period of time, development speed from BMS model to the product code was accelerated and efficient can be improved with this development method. |