Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here


Kalman filter stability issue in closed loop application

Kalman filter stability issue in closed loop application

Kalman filter stability issue in closed loop application

I have implemented the closed loop motor control system as above in a Matlab simulation (pic 1). Here, the Kalman filter estimates the torque disturbance and angular speed of the motor and those are feed to the RLS algorithm for parameter identification, here it estimates the combined inertia of the rotor and the load. I have successfully simulated it with a constant J feed to the Kalman filter (0.089 for example) instead of feeding estimated J back to the Kalman filter in pic 2, and the RLS parameter identification correctly estimates the inertia which is close to 0.089 (within 0~3% error band).

But, when I feed the RLS estimated J to back to the Kalman filter after running for few seconds when the J estimate reaches close to 0.089, using an analog switch, the system becomes unstable and RLS outputs become 'nan'. I tried using an average block (avg of 100 samples) between the RLS and Kalman filter in the J feedback line and it seems to stabilize the system a bit but not for a long time. I guess there is a better way to achieve the following:

1) Removing the average block
2) The J (estimated) connection between the RLS and the Kalman filter should be there from the beginning without the need of an analog switch.

My control engineering knowledge is not advanced level so any suggestion of an idea, document or a book (application oriented) will be highly appreciated.



Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close