4.8

4.8 | 5 ratings Rate this file 96 Downloads (last 30 days) File Size: 306 KB File ID: #25674
image thumbnail

Automotive Electrical System Simulation and Control

by

 

28 Oct 2009 (Updated )

A conventional vehicle electrical system model with alternator, battery, loads, and idle control.

| Watch this File

File Information
Description

This model shows an example of a conventional vehicle electrical system model, which was shown in the webinar "Optimizing Vehicle Electrical Design through System-Level Simulation". The model is intended to study component sizing, selection, and control.
  http://www.mathworks.com/videos/optimizing-vehicle-electrical-design-through-system-level-simulation-81919.html

The electrical system model contains a Simscape lead-acid battery model as described in SAE Paper 2007-01-0778. There are two choices for battery size.

  http://www.mathworks.com/tagteam/40542_SAE-2007-01-0778-Battery-Modeling-Process.pdf

The model also contains data-driven alternator model options using either look-up tables or Model-Based Calibration Toolbox blocks. The alternator model is described in SAE Paper 2007-01-3471.

Control may be added to monitor the system condition, and increase idle speed to compensate for bad conditions in the vehicle charging system.

Vehicle loads are modeled as variable resistive elements.

----------------------------------------------------------------------------

Simulink Design Optimization can be used to estimate battery parameters from experimental battery data. To see how, please watch this video (5 min):
http://www.mathworks.com/videos/estimating-parameters-of-a-battery-68957.html

Parameter estimation for these models from measured data sets at different temperature and current data is a complex task. To learn how MathWorks Consulting can teach you this technique, please contact us or see:

MathWorks Consulting: Battery Simulation and Controls
http://www.mathworks.com/services/consulting/proven-solutions/battery-simulation-and-controls.html

----------------------------------------------------------------------------

Acknowledgements

Lithium Battery Model, Simscape Language And Simulink Design Optimization inspired this file.

Required Products Simscape
Simulink
MATLAB release MATLAB 7.9 (R2009b)
Other requirements Optional requirements: Stateflow Model-Based Calibration Toolbox
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (10)
25 Sep 2014 Robyn Jackey

Christopher,

You will need to remove the 3D lookup as you mention. If you want to control power output, you will also need to modify the control loop that is adjusting alternator current to meet the voltage setpoint that was coming out of that lookup before.

If you want to discuss more or want some consulting assistance with this, please go to the "contact author" link to email me directly.

24 Sep 2014 Christopher

Hia Robyn,

Unsure if this is the right place to try and contact you, but I really enjoy the model and think it's a fantastic approach to solving the problem of no alternator/battery plant model.

I hate to ask a question, however, I'm trying to figure out how to modify it a bit so that I can give it a setpoint to try and regulate to based on a given vehicle load and engine speed speed; I'm looking to see the generator duty cycle modulate based on trying to maintain a power output given a battery voltage of my choosing.

Hopefully that makes sense!

This is instead of the 3d lookup based voltage setpoint that's based on temperature/current/engine rpm... do you have any suggestions as an easy way to do that?

12 Sep 2014 Vinicius  
29 Jul 2014 Rani  
07 Mar 2014 Bella

Hi Robyn,

I have read your SAE paper on battery modelling and I would like to know if it would eb possible for you to provide a Simulink-only version of the battery model.

Thanks in advance!

09 Dec 2013 Nyeinsu

Hi, the model is great.
I am very new to simulink and I need to implement lead acid battery model.
May I know how to do the lead acid model with blocks.
Thanks
Bettina

03 Apr 2013 Robyn Jackey

Hi David,

Roughly speaking, change the Costar parameter (capacity at 0°C – I think units are either Amp-seconds or Amp-hours) to match the capacity you want. Other resistance parameters may be inversely proportional to the change in capacity, so if you cut the capacity by half you would double the resistances.

If you need a detailed match to a specific model of battery, it gets a bit more complicated. I offer consulting service to help teach techniques to match the model to measured data.

-Robyn

02 Apr 2013 David

The model is good, I am just wondering how to get a lower A/h battery like 21 A/h?

02 Jul 2012 Arpita  
30 Jun 2010 Charlene (Fatima) Leung-Wai  
Updates
02 Dec 2009

Updated model settings.

07 Dec 2009

updated broken webinar link in description

07 Dec 2009

Minor update to directions in Readme.txt.
Changed solver setting to "nonadaptive" to avoid warnings.

05 Nov 2012

Updated the description with new webinar link. Referenced alternator paper available from SAE.

05 Jun 2013

Added an updated model for R2012b and later.

28 Jan 2014

Updated description only. No file changes.

18 Apr 2014

Updated the description and acknowledgement

Contact us