Professional Documents
Culture Documents
Created By:
Krishna S.H - Application engineer
Abhinav Aravind – Battery development engineer
www.lms.decibelslab.com 1
Decibels Lab Private Limited CIN: U80904KA2019PTC126675
#2362, 24th main road +91 7411019255
st
1 sector, HSR layout contact@decibelslab.com
Bangalore, Karnataka, 560102
The process for development of Plant model & Controller, validating the both models at system level &
deploying code of controller in real time micro-controller. In our case we will take Cell as Plant model &
controller as BMS
www.lms.decibelslab.com 2
Decibels Lab Private Limited CIN: U80904KA2019PTC126675
#2362, 24th main road +91 7411019255
st
1 sector, HSR layout contact@decibelslab.com
Bangalore, Karnataka, 560102
• Getting to know the requirements for cell testing. List the tests (such as Pulse, HPPC, DST & Drive
cycle) required & collect data which gives a purpose for cell model development.
•
www.lms.decibelslab.com 3
Decibels Lab Private Limited CIN: U80904KA2019PTC126675
#2362, 24th main road +91 7411019255
st
1 sector, HSR layout contact@decibelslab.com
Bangalore, Karnataka, 560102
Cell model is nothing but representing the cell behaviour in realistic way with help of mathematical model.
There are different methods to represent such as Electro chemical modelling method & Equivalent circuit
method. To represent Electro chemical cell requires physical data of cell, where in Equivalent circuit method
represents cell into Electrical system (Thevenin circuit). In our case, we will be considering Equivalent
circuit method.
With tests conducting on cell such as static capacity test, HPPC etc we will end up getting the voltage
response for the cell, with voltage curve & Ohm’s equation (V=I*R) we can estimate the cell resistances
(Ohmic & polarization), so these are components of Thevenin circuit. These resistances are also affected by
some parameters such as temperature, c-rates, SOC. Once data is gathered, with set of equations we can
develop the model.
www.lms.decibelslab.com 4
Decibels Lab Private Limited CIN: U80904KA2019PTC126675
#2362, 24th main road +91 7411019255
st
1 sector, HSR layout contact@decibelslab.com
Bangalore, Karnataka, 560102
The test cases could be such as starting with Constant current charge/discharge, At different c-rate (charge
/discharge), Variable current profile…etc
www.lms.decibelslab.com 5
Decibels Lab Private Limited CIN: U80904KA2019PTC126675
#2362, 24th main road +91 7411019255
st
1 sector, HSR layout contact@decibelslab.com
Bangalore, Karnataka, 560102
In MATLAB & SIMULINK tool, we can make use of SIMULINK REQUIRMENTS to set up the model
design requirements (Algorithms approaches, equations, mathematical models, flow charts, Test
requirements, test cases & SYSTEM COMPOSER tool for architecture setup of model.
www.lms.decibelslab.com 6
Decibels Lab Private Limited CIN: U80904KA2019PTC126675
#2362, 24th main road +91 7411019255
st
1 sector, HSR layout contact@decibelslab.com
Bangalore, Karnataka, 560102
Model testing
Once controller model (BMS) is developed it must be taken to testing, unit level testing to controller
model level testing, with all possible scenarios & test cases. We can make use of SIMULINK TEST tool
as part of Simulink, setting test harness and making use of test manager. Different types of test can be
conducted such as external, internal, logical ..etc & in test manager as simulation, base line,
equivalence etc.
www.lms.decibelslab.com 7
Decibels Lab Private Limited CIN: U80904KA2019PTC126675
#2362, 24th main road +91 7411019255
st
1 sector, HSR layout contact@decibelslab.com
Bangalore, Karnataka, 560102
www.lms.decibelslab.com 8
Decibels Lab Private Limited CIN: U80904KA2019PTC126675
#2362, 24th main road +91 7411019255
st
1 sector, HSR layout contact@decibelslab.com
Bangalore, Karnataka, 560102
We can make use of embedded coder tool for SIL & PIL applications
www.lms.decibelslab.com 9
Decibels Lab Private Limited CIN: U80904KA2019PTC126675
#2362, 24th main road +91 7411019255
st
1 sector, HSR layout contact@decibelslab.com
Bangalore, Karnataka, 560102
Hardware in Loop
Before connecting the embedded processor to the actual hardware, you can run the simulated plant
model on a real-time system such as simulator. The real-time system performs deterministic
simulations and have physical real connections to the embedded processor
www.lms.decibelslab.com 10
Decibels Lab Private Limited CIN: U80904KA2019PTC126675
#2362, 24th main road +91 7411019255
st
1 sector, HSR layout contact@decibelslab.com
Bangalore, Karnataka, 560102
www.lms.decibelslab.com 11