Professional Documents
Culture Documents
시스템(Battery Management
System)개발
강효석
2
What is BMS?
Supervisory tasks
SOC estimation
Contactor management
Isolation monitoring
Fault detection and recovery
Thermal Management
Current & Power Limits Block Voltage,
Temperature Measurement
Cell Diagnostic
Cell Balancing 3
Agenda
▪ Battery Modeling
– Equivalent Circuit Model
– Expansion of Physical Model
▪ Algorithm Development
– Algorithm Modeling
– Code Generation
▪ Hardware-In-the-Loop Test
4
Battery Modeling
control
5
Battery Modeling
▪ Equivalent Circuit
▪ Parameter Estimation
6
Cell Modeling Using 1RC circuit
7
Cell Modeling Using 3RC circuit
8
Battery Cell → Large Battery Pack
Cell Dynamics
Thermal Model
9
Battery Pack Modeling with Thermal Dynamics
10
Large Battery Pack Modeling
11
Battery Cell → Large Battery Pack
Pack System
Cell Dynamics
Thermal Model
12
System Level Simulation - Collaboration
Motor
Battery Converter Inverter Control Vehicle
13
Simulation Level
Cell Level Pack Level System Level
14
Agenda
▪ Battery Modeling
– Equivalent Circuit Model
– Expansion of Physical Model
▪ Algorithm Development
– Algorithm Modeling
– Code Generation
▪ Hardware-In-the-Loop Test
15
Develop & Test Algorithms in Simulink
16
BMS Algorithm
▪ Supervisory control
▪ Fault detection and recovery
▪ Contactor management
▪ Current & Power Limits
▪ Cell Balancing
▪ SOC estimation
17
Make it easy to design algorithms
Stateflow Simulink
18
Passive Cell balancing
19
Test with Algorithms
20
Test with Algorithms using Simulink Test
21
Generate C/C++ Code From BMS Algorithm Models
22
Agenda
▪ Battery Modeling
– Equivalent Circuit Model
– Expansion of Physical Model
▪ Algorithm Development
– Algorithm Modeling
– Code Generation
▪ Hardware-In-the-Loop Test
23
Perform HIL Testing for BMS ECUs (1/2)
24
Perform HIL Testing for BMS ECUs (2/2)
Automatic Code
Generation
25
What is Simulink Real-Time?
From Desktop Simulation to Real-Time Execution
Development Computer
Target Computer
with MATLAB and
Hardware
Simulink
Automatic Code
1 Generation
.mldatx
2 Compiler Ethernet link
26
What is Simulink Real-Time?
Connect to Your Physical System
Target Computer
Hardware
.mldatx
28
Speedgoat Machine
▪ Key Features:
– 6 independent isolated channels
– Architecture allows series & parallel combinations
– Independent power and sense lines
– Voltage range of 0-7 V with 14-bit resolution
– 300 mA source to load
– 100 mA sink adjustable in 16 steps
▪ Enables:
– Test automation and repeatable testing
– Fault testing safely
– Reuse testcases from earlier desktop testing
30
Automated Testing with Simulink Test
Real-Time Test Automation, Ideal for Hardware-in-the-Loop
Collect verification
Download real-time data
application
I/O
▪ Existing library of core components reused “Model-Based Design with MATLAB and Simulink] enables
languages us to increase component reuse, reduce manual coding,
▪ Software issues reduced by more than 50% improve communication with our customers, and ultimately
▪ ISO 26262 ASIL C certification achieved deliver higher-quality BMS in less time.”
- Won Tae Joe, LG Chem
33
데모 부스와 상담부스로 질문 하시기 바랍니다.
감사합니다
© 2015 The MathWorks, Inc.
34
Taking It Further
35
Learn More about Battery Management System
36