Here estimation of charge is carried out using extended Kalman filtering, I am unclear how we should model the uncertainties involving the battery. How can one incorporate them in our state space ekf model for estimation?
I am unable to get a correct estimation. I am using Matlab scripting to realize the EKF. I am not sure why the script fails to estimate accurately.
Can anyone help me to find out where I am going wrong with reference to the m script attached.
How should we we choose noise parameter Q and R here?
Kindly can someone explain to me what exactly should be considered in these places?
Replies will be much appreciated.