How to define input values for adapative Kalman filter for SOC
1 view (last 30 days)
Show older comments
Hello,
I am trying to develop algortihm of SOC (Adapative kalman filter) and SOH for BMS system but how to set following parameters and set input values for the SOC and SOH. (Note: Using Simscape battery libaray)
1) Covariance of the process noise, Q — Covariance of process noise
2) Covariance of the measurement noise, R — Covariance of measurement noise
3) Initial state error covariance, P0 — Initial state error covariance
4) First polarization resistance, R1(SOC,T), (ohm) — First RC resistance at temperature breakpoints
5) First time constant, tau1(SOC,T), (s) — First RC time constant at temperature breakpoints
6) No-load voltage, V0(SOC,T), (V) — V0 lookup table
...... and more.
How to creates matrix for Q and P0 (1 & 2). I only see that some basic information available on documentation of SOC Estimator (Adaptive Kalman Filter) but it is enough source. I request to you please provide information with full details so I will create new matrix, and value as per my requirements. Thank you
0 Comments
Answers (1)
Samyuktha
on 22 May 2023
Hi Jigar,
You can define the matrix for 'Covariance of Process Noise(Q)' and 'Initial State Error Covariance(P0)' as per the the format given in the Parameter->Main section of the documentation : SOC Estimator (Adaptive Kalman Filter)
The default value of 'Q' would be a 3x3 matrix:[1e-6 0 0; 0 1e-6 0;0 0 1e-6].
While the default value of 'P0' would also be a 3x3 matrix: [1e-5 0 0; 0 1 0; 0 0 1e-5].
Hope it helps!
1 Comment
Jigarkumar
on 22 May 2023
Thank you
I got it this information but now when I am trying to develop algorithms and run model but my SOC and SOH estimation are calculated wrong and it was indicated wring graph so please can you sugest me or share example so I will recorrect it.
See Also
Categories
Find more on Sources 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!