Battery State of charge estimation using Unscented Kalman filter

6 次查看(过去 30 天)
Hi,
I built a 2RC battery equivalent circuit model in Matlab to find out State of charge (SOC) using Unscented Kalman filter. When I simulated I got the following error
An error occurred while running the simulation and the simulation was terminated
Caused by:
  • Sigma points calculation failed because the state covariance is not positive semi-definite. One potential reason is a small Alpha parameter.
Component:Simulink | Category:Block error
The below picture is my Unscented kalman filter block
unscented.png
I think the problem is in the Covariance value.How to choose the covariance value and how to make it as a positive semi-definite .Kindly help me in this.

回答(1 个)

Monowar Hossain
Monowar Hossain 2019-9-4
Hi. Samy..
You shoud tune the covarience. It's is random.

类别

Help CenterFile Exchange 中查找有关 Parameterization Methods 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by