The field of energy storage is extremely active with a constant stream of innovations being deployed to address some major design challenges. At the heart of this activity is the commercial drive to increase energy density, extend battery life, and improve overall charge and discharge efficiencies in order to reduce unit costs and enhance product reliability. While great progress has been made, certain industries still have a long way to go.
In particular, the electric vehicle industry is faced with major economic pressures to increase energy densities and hence reduce costs. There has been an increased focus on developing high efficiency, cost-effective electric vehicles whose performance is competitive with gas-powered cars, and as the price of oil rises and environmental concerns become more important, automotive companies are putting greater effort into electric and hybrid-electric vehicles (EV/HEV).
Therefore, the race is on to produce better, lower-cost energy storage products as well as improvements in the circuitry and electromechanical components that generate power to charge them and draw power to drive the electric vehicle. The automotive industry is turning more and more to virtual prototyping for vehicle development as a way to significantly reduce development times and costs, therefore it is essential that they have computationally efficient, high-fidelity battery models as part of their electric vehicle development.
One major characteristic of battery research is the need to get back to fundamental physical concepts when designing new batteries. Math-based modeling techniques allow engineers to accurately describe the behavior of the system, and the constraints on the system, in physical terms. These model equations are then used to develop, test, and refine designs very quickly, and without the expense and time required to build physical prototypes. Hence, having a good virtual model of the battery is essential so that both battery behavior and the physical interaction of the battery with all the other components are properly reflected in the model. Conversely, having a high-fidelity dynamic model of the rest of the vehicle that reflects the loading conditions that are applied to the battery during many different drive cycles and environmental conditions accurately provides considerable insight into the two-way demands placed on both the battery and the rest of the vehicle. Because the battery plays such a vital role in the vehicle, capturing these interactions is essential to designing an efficient, effective electric vehicle.
Figure 1: The battery plays a vital role in the vehicle and capturing the physical interactions is essential
to designing an efficient, effective electric vehicle.
In a recent case study, a research team at the University of Waterloo, Ontario, headed by Dr. John McPhee, the NSERC/Toyota/Maplesoft Industrial Research Chair for Mathematics-based Modeling and Design, developed high-fidelity models of both hybrid-electric and electric vehicles, including the batteries as an aid to accelerating the design process. The team chose MapleSim, the multi-domain physical modeling and simulation software from Maplesoft, because they have found the symbolic approach in MapleSim to be an effective way to develop simulation models of sufficient fidelity without sacrificing real-time performance for hardware in the loop (HIL) testing; a critical part of the design and development process.
Lithium-ion (and other Lithium chemistry) batteries are a popular choice for electric vehicles since they are light and provide more power than other types of batteries of the same size and weight. Batteries in vehicles are subject to periods of high current draw and recharge and large temperature variations, which can have a significant effect on the performance and lifespan of the batteries. To capture these effects, Dr McPhee’s team needed a model of lithium-ion battery chemistry over a wide state-of-charge range, widely varying currents, and various temperatures.
Figure 2: Circuit-based battery model.
Starting with the electric circuit battery model of Chen and Rincón-Mora, they implemented the components in MapleSim, using a custom function component to represent the nonlinear relationship between the state of charge and the electrical components. They modified the battery equations to simulate a battery pack that is composed of series and parallel combinations of single cells. Next, they developed a power controller model in order to connect the battery pack to a motor. They then incorporated a one-dimensional vehicle model into the model. The simple vehicle model drives on an inclined plane, which is in turn controlled by a terrain model. A drive cycle model was included to control the desired speed of the vehicle. The resulting differential equations, generated by MapleSim, were simplified symbolically and then simulated numerically.
A variety of driving conditions were simulated, such as hard and gentle acceleration and driving up and down hills. The results were physically consistent and clearly demonstrated the tight coupling between the battery and the movement of the vehicle. This model will form the basis for a more comprehensive vehicle model, which will include a more sophisticated power controller and more complex motor, terrain, and drive-cycle models.
Figure 3: Example discharge model showing recovery charge when the load is disconnected. This matches experimental results very closely. Test data courtesy of A & D Technologies, Michigan.
The team used MapleSim to develop a multi-domain model of a series HEV, including an automatically generated optimized set of governing equations. The HEV model consists of a mean-value internal combustion engine (ICE), DC motors driven by a chemistry-based NiMH battery pack, and a multibody vehicle model.
They chose a Ni-MH battery because of its widespread use in hybrid-electric vehicles. They used a chemistry-based modeling approach that captures the chemical and electrochemical processes inside the battery. With this modeling approach, they could modify the physical parameters of the battery as needed to meet their overall design requirements for the vehicle. They modeled the battery inside MapleSim by placing the governing equations of the battery processes directly inside MapleSim custom components.
Figure 4: Hybrid-electric vehicle model. The system equations for this multi-domain model are generated automatically by MapleSim, and are accessible to the researchers for analysis and improvements to the design.
MapleSim automatically generated an optimized set of governing equations for the entire HEV system, which combined mechanical, electrical, chemical, and hydraulic domains. Simulations were then used to demonstrate the performance of the developed HEV system. Simulation results showed that the model was viable and, as a result of MapleSim’s lossless symbolic techniques for automatically producing an optimal set of equations, the number of governing equations was significantly reduced, resulting in a computationally efficient system. This HEV model can be used for design, control, and prediction of vehicle handling performance under different driving scenarios. The model can also be used for sensitivity analysis, model reduction, and real-time applications such as hardware-in-the-loop (HIL) simulations.
Figure 5: Results from full-vehicle HEV test using an urban drive cycle. The battery state-of-charge and fuel consumption are shown.
So far, this approach has paid significant dividends for both projects. “With the use of MapleSim, the development time of these models is significantly reduced, and the system representations are much closer to the physics of the actual systems,” said Dr. McPhee. “We firmly believe that a math-based approach is the best and quite possibly the only feasible approach for tackling the design problems associated with complex systems such as electric and hybrid-electric vehicles.”
As mentioned, developing a high fidelity battery model is only part of the process. To model the loads being applied to the battery, it is connected to a range of electromechanical system models such as the IC engine (in the case of a hybrid), power generation and motors as well as all the power electronic circuitry: AC-DC converters, inverters and power drives for the motors, for example. In the above model, this has been taken a step further and the drives are connected to a chassis model to obtain a full-vehicle model that can be taken through numerous test drive-cycles to obtain a more holistic view of the loads on the battery.
The next step in these projects is to consider the effects of the power electronics on the battery. Currently, these are simulated using “mean value” models but work has begun on incorporating the three-phase switched networks in detail to investigate these effects. MapleSim already has many built-in components (BJTs, Diodes, C-MOS, MOSFET, etc.) and there is a growing collection of power electronics subsystems that have been submitted by research groups like Dr. McPhee’s, such as PWM controllers, IGBT inverters and power amplifiers, to the Maplesoft Application Center.
Figure 6: Three-phase IGBT inverter drive.
Finally, battery manufacturers in the automotive sector aren’t the only ones dealing with the challenges from economic, environmental and governmental pressures. Manufacturers in the renewable energy sector and consumer electronics are facing the same challenges, so high-fidelity battery models for complete-system simulations and design optimizations are increasingly in demand. As manufacturers face the challenges of delivering products that are economically attractive while fulfilling the environmental and legal demands placed on them, complex mathematical models of the products are becoming increasingly important – and increasingly complex!
The flexibility of component-based modeling has allowed for the development of highly accurate and customizable battery models. These battery models, available in the MapleSim Battery Library, can be incorporated into larger system models, allowing for the development of the complete system by integrating the various subsystems into one environment. With its unique symbolic computational approach to deriving the system models as equations, MapleSim provides an ideal environment for rapid development of complex multi-domain physics-based models of any product that mixes electronics with mechanical components. By adopting a system-level modeling approach to managing battery powered systems, companies are able to easily perform optimizations, trade-off analyses, and ultimately bring more powerful and efficient products to market.