thank you sir ,but i want you to help me because i intend to construct a controller for vehicle active suspension system .please if you can send to me a simulation model describing my demand, thank you again.
I also intend to build a quarter or half car model of active suspension system controlled by LMI using simulink and I want to use your model as the basis. Your model is very great but I still confuse where I should connect the controller in case I want to add controller. Maybe you can explain and give examples to me. Please help me. Thank you very much.
Lines 51 and 53 are given by:
Why is x1 = fstate(x) used as the input for calculating the jacobian of the measurement equation? It makes more sense if the jacobian of the measurement equation is also evaluated at the current state x. Am I interpreting that part incorrectly?
when i highlith error between variable and its estimate (by adding a new variable err=x-xestimate) i plot err. a cycle limit (oscillation )is in this figure.and a gap appear between variable and its estimate .
is it an explanation and solution to this.
i have more general question about the extended kalman filter usage. what is not clear to me why EKF uses non-linear functions f and h for state prediction and estimate, while in other places the Jacobian of these functions is used.
Why the following is never used?
first calculate the liniarized state and measurements models at previous estimate point using Jacobian. Use the liniearized state transition and measurements matrix everywhere instead of non-linear in this specific iteration.
I would really appreciate your help
Great submission, thanks!
One question though: in the parameter explanation you define inputs x and P as "a priori" state estimate and "a priori" estimated state covariance. In my understanding this is not right, as "a priori" values are only available right after the prediction step of the filter.
So, in my opinion x and P are the "a posteriori" values of the previous time step. The "a priori" values of x and P of the current time step are available after the prediction step of your filter (vals x1 and P in lines 51 and 52).
Do you agree?