Contenido principal

Characterize Powertrain Blockset and Simscape Battery Blocks (App)

This example demonstrates the characterization of a battery block. You can characterize parameters of battery blocks from Powertrain Blockset™ or Simscape™ Battery™ with experimental data using the feature filling tool from the MBC Optimization app (CAGE).

This example provides four Simulink® models with a battery block and two folders containing measured hybrid pulse power characterization (HPPC) battery data.

These models are available:

  • PowertrainBlockset_Battery.slx — To characterize block parameters for the Equivalent Circuit Battery (Powertrain Blockset) block, select this model.

  • PowertrainBlockset_Battery_Advanced.slx — To characterize block parameters for the Equivalent Circuit Battery (Powertrain Blockset) block with the hysteresis and current directionality options enabled, select this model.

  • Simscape_Battery.slx — To characterize block parameters for the Battery Equivalent Circuit (Simscape Battery) block, select this model.

  • Simscape_Battery_Advanced.slx — To characterize block parameters for the Battery Equivalent Circuit (Simscape Battery) block with the hysteresis and current directionality options enabled, select this model.

These data folders are available:

  • HPPC_data/origData — This folder contains the original data consisting of five data files, each representing data from an HPPC test at a different temperature. For more information on the original data, see Characterize Battery Cell for Electric Vehicles (Simscape Battery).

  • HPPC_data/origPreprocessedData — This folder contains preprocessed data.

Follow these steps to characterize block parameters.

StepDescription

1

Preprocess Battery Data and Initialize Battery Block Parameters for Feature Filling

Using a Live Script, load the data into MATLAB® for preprocessing and initialize parameters for the blocks to be calibrated.

2

Characterize Battery Block Parameters in CAGE

Using the MBC Optimization app (CAGE), import the model and preprocessed data to fill lookup tables. The battery block parameters of the model are automatically updated with the results.

Alternatively, you can use the characterizeBattery method to import the model and preprocessed data to fill lookup tables. See Characterize Battery Equivalent Circuit Block (Code).

References

[1] The experimental data used in this work was provided by Indian Institute of Technology (IIT) Kharagpur, India. We would like to acknowledge the contributions of Prof. Anandaroop Bhattacharya (Mechanical Engineering) and Prof. Subhasish Basu Majumder (Materials Science Centre).

See Also

(Powertrain Blockset) | (Simscape Battery) | (Simscape Battery)

Topics