How to estimate State of charge using Particle filter?

12 visualizaciones (últimos 30 días)
BHABYA SINHA
BHABYA SINHA el 23 de Nov. de 2023
Respondida: BHABYA SINHA el 30 de Nov. de 2023
Hello!
I am trying to build a model in simulink for SOC estimation based on real time data and designed the particle filter based SOC estimation by going through the steps of UKF SOC estimation . I have considered voltage(real time[1129*1]) as an input to my PF and based on equations of State Transition and Measurement Functions(current(real-time-[1129*1]) as input), I tried estimating SOC but constantly getting dimension error for particles.
It would really be great help if you could guide me regarding my state and measurement function also the dimension error , 'm receiving.
Thankyou!
  1 comentario
Ganesh
Ganesh el 28 de Nov. de 2023
Seems like the issue is focused on the inconsistent dimensions. It would be helpful if you shared the model files, with us. Meanwhile, you can also ensure the following points regarding your Simulink Model Configuration
  • Block Dimensions: Double-check the block parameters within Simulink that handle the particle matrix. They should be configured to accept and output matrices of the correct size.
  • Compatibility: Verify that all blocks connected to the particle filter are compatible with the dimensions of the data being passed.
  • Trace Data Flow: Follow the data through each step of the simulation to ensure it maintains the correct dimensions.
Thank you,
Ganesh S

Iniciar sesión para comentar.

Respuestas (1)

BHABYA SINHA
BHABYA SINHA el 30 de Nov. de 2023
Hello @Ganesh,
Thank you for your answer!
I went through all of the above points but wasn't able to conclude my model simulation (same error).
I am sharing an example model of UKF(https://in.mathworks.com/help/control/ug/nonlinear-state-estimation-of-a-degrading-battery-system.html) that I used for simulating my Particle filter. It would really be great if you would help me out in the above approach.
Thankyou!
Bhabya Sinha

Categorías

Más información sobre Simulink Coder en Help Center y File Exchange.

Productos


Versión

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by