24
1 © 2015 The MathWorks, Inc. Developing Battery Management Systems using Simulink Chris Lim Application Engineering Group

Developing Battery Management Systems using Simulink - … · Developing Battery Management Systems using Simulink Chris Lim Application Engineering Group. 2 ... Fitting Equivalent

  • Upload
    others

  • View
    4

  • Download
    0

Embed Size (px)

Citation preview

  • 1© 2015 The MathWorks, Inc.

    Developing Battery Management

    Systems using Simulink

    Chris Lim

    Application Engineering Group

  • 2

    Motivation

    Short Iteration Cycles High Integrity SystemCollaboration

  • 3

    Components of the BMS

    Electronics Battery PackSoftware

    Supervisory tasks

    SOC estimation

    Contactor management

    Isolation monitoring

    Fault detection and recovery

    Thermal Management

    Current & Power Limits

    Charge specific behaviour

    Block Voltage,

    Temperature Measurement

    Cell Diagnostic

    Cell Balancing

  • 4

    Where do you start?

  • 5

    Name the Model!

  • 6

    Building Models in Simulink and Simscape

    Block Count: Block Count:0 01319 683

  • 7

    Start with SimulationSystem

    Cell Dynamics

    Pack

    Thermal Model

  • 8

    Building and Fitting Equivalent Circuit Models

    Exponential relaxation

    Instantaneous response

    Current

    I0

    discharge pulse

    time

    Open circuit potential

    Voltage

    time

  • 9

    Fitting Equivalent Circuit Models using Parameter Estimation

  • 10

    Develop your Algorithms

  • 11

    Building a BMS in Simulink and Stateflow

  • 12

    Run Closed-Loop Simulations of BMS and Plant model

  • 13

    Test and Verify Algorithms

    Verify Requirements

  • 14

    Link Requirements to Implementation

  • 15

    Test and Verify against Requirements

  • 16

    Generate C/C++ Code From BMS Algorithm Models

  • 17

    Generate C/C++ Code From BMS Algorithm Models

  • 18

    Perform HIL Testing for BMS ECUs

    Testing ECUs with Battery Cells

    • Longer test cycles

    • Difficult to reproduce results

    • Limited test automation

    • Difficult to test fault conditions

  • 19

    Perform HIL Testing for BMS ECUs

    Wiring and Signal

    Conditioning

    Automatic Code

    Generation

  • 20

    Workflow for BMS Development

  • 21

    Summary

    Long Iteration Cycles High Integrity SystemMulti-Domain

    Collaborate Across

    DomainsReduce Iteration Time

    Test and Verify

    Behaviour

  • 22

    Code Generation Model Checks

    Building Blocks for BMS Development

    Test AutomationParameter EstimationPhysical Modelling

    Requirements Linking

  • 23

    Learn More about Battery Management System Design

    https://www.mathworks.com/campaigns/offers/battery-management-systems-white-paper.htmlhttps://www.mathworks.com/discovery/battery-models.htmlhttps://www.mathworks.com/company/newsletters/articles/modeling-and-simulating-battery-performance-for-design-optimization.htmlhttps://www.mathworks.com/discovery/battery-models.html?s_tid=srchtitle

  • 24

    Additional EXPO Talks

    ▪ Simplifying Requirements-Based Verification with Model-

    Based Design

    – Fraser Macmillen

    – 15:45 – 17:00, Master Classes

    ▪ Predictive Maintenance with MATLAB

    – Phil Rottier

    – 15:45 – 17:00, Innovation Auditorium

    ▪ Developing Fit-For-Purpose Simscape Models to Support

    System and Control Design

    – Rick Hyde

    – 16:15 – 17:00, Model-Based Design