Oct 27, 2009 3:49 PM
Torben Materna, Johnson Controls-SAFT Advanced Power Solutions GmbH
Developing an efficient battery management system for the Mercedes-Benz S 400 HYBRID
Networking the Battery Management System
To do its work properly, the BMS has to intervene in other systems and also fetch data for evaluation from other components. It is therefore connected to all the ECUs in the hybrid branch:
Energy management (engine ECU)
Power electronics (electric motor)
Voltage converter (DC-DC)
To ensure a fast response to errors, the battery and the climate control exchange some messages directly, for example, the battery’s cooling requests and the cooling status.
The electric capacity of the hybrid battery for charging and discharging processes
as a function of battery temperature.
Control Strategy for the Battery
To give the battery cells a long life and make optimum use of their power, the cooling strategies are designed to hold the battery temperature at approximately 30°C. Under extreme loads, overheating is avoided by means of current and voltage limits. These features prevent long-term damage and loss of capacity in the cells. The temperature control is designed such that the battery temperature of 50°C is exceeded only in exceptional circumstances (Figure 5).
Too-low temperatures, which are particularly likely to occur when the vehicle is not in use, can also damage the battery. During operation, the battery is immediately heated by current flow. If the current load is too high at temperatures below -20°C, lithium precipitation can occur, which drastically lowers the battery capacity.
The vehicle’s idle phases are systematically used for recalibration, safety checks and balancing, that is, equalizing cell charge differences. Balancing is especially important because the battery’s life decisively depends on an even charge state in the cells. To balance the charge levels of all the cells, specific cells are recharged on the basis of load charge analyses. This means that the battery’s capacity can always be fully utilized without overloading individual cells (Figure 6).
Model-Based Development Process
One of this project’s greatest challenges was to combine the know-how of battery experts and the requirements of automotive engineers, and develop a system that guarantees high vehicle availability, while protecting the battery cells at the same time. The task was to take theoretical battery models and cell data obtained under laboratory conditions, and shape them into executable software in such a way that they would be viable in practice, yet still provide sufficient precision.
Model-based development and the production code generator TargetLink from dSPACE made it possible to simply integrate existing Simulink battery algorithms and battery characteristics into the controller model, and to use existing Simulink battery models for validation. Because the aim of this project was to design the first-ever control for lithium-ion technology, the controller software had to be developed entirely from scratch, without using legacy code from previous projects. In-house modeling guidelines based on the modeling guidelines published by dSPACE helped to prepare the model for the best possible implementation as efficient production code.
The function developers for the energy management system (EMM) implemented in the engine ECU also used TargetLink, so working with them ran smoothly and coordination between EMM developers and BMS developers in different companies was much easier.
The battery management system equalizes cell charge differences in the background during the vehicle’s idle phases, thereby ensuring that all the battery’s cells have an optimum charge state at all times.
Implementing the Battery Controller
The battery ECU has a TriCore microcontroller from Infineon. To implement the modeled controller software on the ECU, production-capable fixed-point code had to be generated from the model. First all data that had global relevance in the project, such as calibratable variables, was defined in the dSPACE Data Dictionary. The necessary scaling of variables was performed in the model with the aid of the scaling support provided by TargetLink. The fixed-point code was validated by comparing model-in-the-loop (MIL) and software-in-the-loop (SIL) simulations. The run-time behavior and the resource consumption of the codes for the target processor were tested by processor-in-the-loop (PIL) simulation with the TriBoard TC1796 evaluation board (Figure 7).
Even the very first PIL tests revealed that the code had very good run-time behavior during particularly computation-intensive program parts. The processor with its 150 MHz clock rate continued to fulfill the software’s real-time requirements as development continued. TargetLink generated approximately 25,000 lines of code for the controller model. The production code generator was no problem to handle and quickly led to production-level results.
The main phases in the model-based development of the battery management
system (BMS) and the working steps performed in each.
Commissioning and Outlook
The battery ECU was first tested on a test bench. Verifying the safety functions and the effectiveness of the temperature control were a particular focus here. Then the system’s suitability for public roads, and for summer and winter operation, was investigated in test drives. The hybrid battery plus ECU proved to be a robust system that is able to continuously provide sufficient electric energy.
Investigations into using the system in other vehicles are currently underway. The modular design of the software makes it possible to take the battery algorithms that were developed and validated in this project and reuse them in other projects.
Torben Materna is a project manager for software development and developer of lithium-ion battery management systems at Johnson Controls-SAFT Advanced Power Solutions in Hanover, Germany
“With the production code generator TargetLink, we quickly turned a newly developed controller model into production-level code for a hybrid battery management system.“
Torben Materna, Johnson Controls-SAFT
Glossary Atkinson principle – Prolonging the expansion phase compared with the compression phase in a four-stroke engine by holding the inlet valve open longer between intake and compression (“fifth stroke”). Result: Greater efficiency and lower consumption. Boosting – Switching in the electric motor when power peaks occur Mild hybrid – A hybrid vehicle whose electric motor supports the combustion engine when required, but does not perform propulsion on its own. Recovery – Storing excess energy in the battery (for example, during braking).