Kalman Filter for Beginners, Part 2 - Estimation and Prediction Process & MATLAB Example

Поділитися
Вставка
  • Опубліковано 3 січ 2025

КОМЕНТАРІ • 31

  • @fernandojimenezmotte2024
    @fernandojimenezmotte2024 Рік тому +15

    When I first studied Linear Optimal Estimation in Advanced Control Systems [Electrical Engineering track] and in Advanced Radar Systems in Weapons System Engineering track as well , We went through all the hard derivation of the Stochastical Optimal Regulator LQR and Stochastical Optimal Estimator LQE for the whole Linear Quadratic Gaussian LQG Design for an Autopilot [in one advanced design for an American [USA] missile]. Since then Kalman have always appeared in many advanced Electrical Engineering designs. It is great to see it from the perspective of an Aerospace Engineer with scientific expertise and know how in Control and Dynamical Systems. To go very complex in advanced engineering and science doesn´t exclude any professional to get to communicate in a very didactic and understable way. You have done a great work done making Kalman Filtering , Estimation and Prediction very didatic as well as enjoyable Professor Roth. Congratulations !

  • @federicobusca6471
    @federicobusca6471 Рік тому +8

    This is the best series of classes I've ever seen on YT. I have my S/C Attitude Dynamics Exam in 4 days and this is so, so helpful.
    Prof. Ross just made the top 5 of the teachers I've ever had in my entire school-life.
    Keep up the good work!

    • @ProfessorRoss
      @ProfessorRoss  Рік тому +6

      Thank you so much for your kind words! I'm thrilled to hear that the series of classes has been helpful to you, especially with your upcoming S/C Attitude Dynamics Exam. It means a lot to know that my teaching has made a positive impact on your learning experience.

  • @robinamar6454
    @robinamar6454 Місяць тому

    Thanks a lot Prof Ross for providing a logical and simplistic explanation of Kalman Filter.
    Everywhere in textbooks it is presented in a complicated manner.

  • @liku1716
    @liku1716 7 місяців тому +4

    I am 18 years old and don't know much about these filters, and wanted to make a drone, almost everything was easy but I just couldn't grasp this concept, I think I watched more than 10 videos on kalman filter, nothing got through. But then I found this video, it was really easy to understand. thank u professor for your good work

    • @ProfessorRoss
      @ProfessorRoss  7 місяців тому

      I'm glad I was able to help. I hope the drone project goes well!

  • @yassiradil5164
    @yassiradil5164 11 місяців тому +3

    Thank you for the awesome explanation!
    Never thought I'd fall in love with an algorithm😂. The stars have aligned and everything makes perfect sense now😂

    • @ProfessorRoss
      @ProfessorRoss  11 місяців тому +1

      You're welcome. Happy to be a matchmaker.

    • @mokoepa
      @mokoepa 10 місяців тому

  • @zhaoyoubing5906
    @zhaoyoubing5906 Рік тому +4

    This video is really wonderful and helped me a lot on understanding the Kalman Filter. Thanks. Is there a small typo on 23:34 ? I think z_{k+1} on the left side of the equation should be z_{k}.

  • @alihosseiniroknabadi4828
    @alihosseiniroknabadi4828 5 місяців тому +1

    Thanks Professor

  • @sebakazkaz3665
    @sebakazkaz3665 Рік тому

    excellent explanation thank you

  • @suthakarmuthu5024
    @suthakarmuthu5024 5 місяців тому

    Thank you for the video Professor !!! This is getting tough compare to the part1. May be i need to read it multiple times for better understanding :)

  • @kaankutlu1414
    @kaankutlu1414 Рік тому +2

    Ross thanks for your time and effort. If it is possible can you make video about how to calculate nees and nıs of Kalman filter and IMM filters

    • @ProfessorRoss
      @ProfessorRoss  Рік тому +1

      Kaan, thank you for watching. I'm more of a dynamics expert, and dabble in estimation and control. In fact, I'm a total novice when it comes to Kalman filters -- thus my enthusiasm -- and have no idea what nees, nıs, and IMM are, so probably no video about that anytime soon.

  • @tabhashim3887
    @tabhashim3887 Рік тому +2

    another great lecture prof. I do have a quick question however for the ending (around 48:00).
    How will we actually achieve the estimation of the velocity, as the dynamic model (A matrix) just says the velocity at k+1 is equal to that of k, implying that the velocity does not change. Moreover, if we wanted to make A 3x3 and include acceleration, we would also arrive at the point where we would assume that a_k+1 = a_k (the acceleration remains constant). However, we know that neither of these two statements are true.
    Where in this Kalman algorithm does it actually know how to properly update the velocity for it to actually be correct because it surely isn't coming from the A matrix?

    • @ProfessorRoss
      @ProfessorRoss  Рік тому

      That's a great question. I think variation in the velocity is provided by the 'process noise' term w_k, which is quantified in the Q matrix. In the next lecture, ua-cam.com/video/DbE4PMgqp3s/v-deo.html, I do a numerical example for this, You'll notice, I made the variation for velocity higher than for position in the Q matrix, allowing for the possibility of some unmodeled dynamics that changes the velocity. One can adjust the process noise variance to see if results improve.

  • @anfarahat
    @anfarahat Рік тому +1

    Thank you for the great explanation! What to do if we do not have a process model?

    • @ProfessorRoss
      @ProfessorRoss  Рік тому +2

      GREAT QUESTION! The first thing that comes to mind is to use a process model that assumes no dynamics. That is, if you have n variables, set A to be the n x n identify matrix. I do a version of this in the Part 3 video, where we use position to estimate velocity. The process model, embodied in A, assumes that the velocity does not change (which it clearly does), and still the Kalman filter does very well. The Part 3 video is here: ua-cam.com/video/DbE4PMgqp3s/v-deo.html

    • @anfarahat
      @anfarahat Рік тому

      @@ProfessorRoss Thank you very much.

  • @PannagaSudarshan
    @PannagaSudarshan Рік тому

    Prof, how did you say Po- = 6 is high? @36:10 ?

  • @TheMrOlivex
    @TheMrOlivex Рік тому +2

    Hello Prof. Ross, thank you very much for this video series. I think you explained the Kalman Filter in a very intuitive and easy way, unlike most sources on the internet. I have one question regarding the state estimation. As far as I know you are using a state space model in the prediction step (xk = A*xk-1 +B*uk), where B*uk describes the input to the system. However you are only using the first part which describes the state transition without any input. What if your system has an input uk which you can measure. Is it then also possible to use the hole state space equation (xk = A*xk-1 +B*uk) in the prediction step?

    • @randomscandinavianguy4165
      @randomscandinavianguy4165 Рік тому

      Yes. And the input control signals may also themselves have noise which may be lumped together with the process noise in Q (suitably integrated).

    • @ProfessorRoss
      @ProfessorRoss  Рік тому +2

      I'm actually a beginner when it comes to the Kalman filter, so I don't know how adding control changes things. That might be a subject for a future lecture once I work it out. In any case, thank you for watching and the kind words. I made this for the reason you said -- most sources online make it complicated than needed. Maybe that's for job security for those who know the technique (not to be a conspiracy theorist ...)

  • @kupo871
    @kupo871 Рік тому +1

    Awesome!

  • @luiggitello8546
    @luiggitello8546 9 місяців тому

    Why is it that lqe or kalman function spit out a constant gain of K without simulating the system recursively like yours?

  • @yyttommy2456
    @yyttommy2456 12 днів тому +1

    i feel there is a gap between part 1 and part 2.

    • @ProfessorRoss
      @ProfessorRoss  12 днів тому

      Can you be more specific? As far as I can tell, I continue where we left off at the end of part 1 ua-cam.com/video/HCd-leV8OkU/v-deo.htmlsi=2R_3826ddywZMtxe&t=2896

  • @vacoff2717
    @vacoff2717 6 місяців тому +1

    this is utterly fucking great

  • @DongGeeHong
    @DongGeeHong 3 місяці тому

    Wow, It's same as phil kim's book.