Extended Kalman Filter(EKF) concept (SIMULINK)

  • Thread starter Thread starter Yamx
  • Start date Start date
  • Tags Tags
    Concept Simulink
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 9K views
Yamx
Messages
1
Reaction score
0
Hi all,

I am currently designing a Extended Kalman Filter, estimating temperature in a permanent magnetic synchronize motor, in the Matlab Simulink. Attached pdf is the paper i am referring for my covariance matrix and state vector matrices. I have built the system in Simulink but the results are undesirable. I have some questions which hope can help me in my trouble shooting.

1. The covariance matrix P should it be initialized or just designed in a loop format?

2. The EKF system in SIMULINK should it be digitalised or in analog state?

I have also attached the overview of my EKF design would appreciate any advice and recommendations to improve my EKF system.

Greatly Appreciate any help. Cheers
 

Attachments

  • New Picture (4).jpg
    New Picture (4).jpg
    32.3 KB · Views: 2,555
  • Fault Diagnosis for Open-Phase Faults of Permanent Magnet Synchronous .pdf
    Fault Diagnosis for Open-Phase Faults of Permanent Magnet Synchronous .pdf
    811.7 KB · Views: 1,253
Engineering news on Phys.org
I haven't looked at your attachment yet, but here are comments on your two questions:

1. If you're initializing the state vector, you should initialize the covariance along with (i.e. what is your confidence in your initial state estimate?).

2. Can you be more descriptive? Are you using some special package/toolbox or a third-party subsystem? Not sure what you mean by "digitalised or analog state." If you're asking about integration method, you should use a discrete-time method (Kalman filter is a discrete-time filter, and doesn't use the standard state-space - you probably need to include the time step in your state transition matrix, and additional state derivatives in your state vector compared to a standard x_dot = A*x+B*u system).

Hope this helps.

-Kerry

EDIT: typos

EDIT2: The paper you attached describes the process of creating a discrete-time model from a continuous model (page 2, eqs. 7 and 8) and the screen shot of your simulink model seems to indicate that you've done this. Still not sure what your second questions means.
 
Last edited: