How to use Battery Pulse Analysis with both Discharge and Charge Pulses?

7 views (last 30 days)
I'm wondering if there is any way to modify analysis described below (see link) so that the code can analyze a mixture of charge and discharge pulses?
I am using the battery discharge pulse analysis described in the link below to analyze the discharge of my batteries. Works great with discharge only pulses!
I have a new data set that includes discharge AND charge pulses, however, and when I try to analyze the data I run into this error "Warning: Battery:InvalidTestType. TestType mixed is not supported."
Thank you!

Answers (1)

MULI
MULI on 10 Oct 2024
Hi Christopher,
I understand that you are trying to analyse a dataset that includes both charge and discharge pulses, and you are encountering an error because the tool does not handle mixed data types.
You can follow the below steps to modify your analysis:
1. Separate the Data:
  • Check the current values in your dataset. Positive current values typically indicate charging, while negative values indicate discharging.
  • Create two separate datasets for the charge and discharge pulses. This step will allow you to process each type of pulse independently.
2. Develop Charge Analysis:
  • If your current setup is only configured for discharge pulses, you will need to develop a similar estimation process for the charge pulses.
  • This process will involve estimating parameters such as open-circuit voltage, series resistance, and RC
3. Integrate and Test:
  • After developing the separate analyses for charge and discharge pulses, integrate them into a unified model that can handle both types of pulses.
  • Test your modifications using known data to ensure accuracy. Validate the model by comparing the simulation results with experimental data for both charge and discharge.
By following these steps, you can modify your analysis to handle both charge and discharge pulses effectively
For more information on this you may refer to the following File Exchange link, which contains “Battery charging and discharging” model.

Categories

Find more on Powertrain Blockset in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!