基于模型设计的电池管理系统开发
刘晓康
(1)
, 朱禹
(2)
,
常云萍
(3)
,
彭红涛
(4)
(东风电动车辆有限公司研发部
,湖北,武汉,430056)
[摘要] 本文介绍了基于模型设计
,从需求分析和建立控制模型直到系统的测试和标定的电池管
理系统开发全过程
,着重突出了 dSPACE, Matlab/Simulink/RTW, OSEKturbo, CANape
“
等工具与
V”模
式结合的开发流程
.由实车试验结果反映出基于此类方法开发的管理系统具有很高的稳定性 ,性能达
到设计要求
,同时提高了系统的可移植性和易维护性.
关键词:电池管理系统
, 代码自动生成, dSPACE, 实时操作系统, CANape, 硬件在环仿真
Model-Based Design for Development of
Battery Management System
Liu Xiao-kang
(1)
, Zhu Yu
(2)
, Chang Yun-ping
(3)
, Peng Hong-tao
(4)
Dong Feng Electric Vehicle co., LTD, Wuhan, China. 430056
Abstract: This paper introduces the development process of the battery management
system from requirement analysis and building control model to system testing and calibration.
The development process is based on the model design. The development tools, such as
dSPACE, Simulink/RTW, OSEKturbo, CANape, and the development process integrates with the
“V” mode are emphasized in the paper. The vehicle testing results reveal that the battery
management system acquired by this kind of method has well stability and the performance
achieves the design demand. At the same time, the portability and the maintainability of system
are improved.
Keywords: Battery management system, Automatic code generation, dSPACE,
Real time operating system, CANape, Hardware in loop
前言:
“V”型开发模式(图 1)对于开发汽车电子系统的先进性已被行业内的工程
技术人员所广泛接受,这种方法的特点是边开发边验证,将可能出现在系统中的错误
消除在设计之初,从而有效地减少系统的开发时间和费用,提高电控产品的品质
[1]
。这
种模式的完全实现是需要一些先进的开发工具作为支撑,本文结合电池管理系统
(
BMS, Battery Management System)的项目开发,介绍项目需求分析,基于 dSPACE
的快速原型仿真,基于
Simulink/RTW 代码自动生成,OSEKturbo 实时操作系统,应用
CANape 对模型数据进行标定和监测以及测试的相关内容。