Extended Kalman Filter(EKF) concept (SIMULINK)

  • Thread starter Thread starter Yamx
  • Start date Start date
  • Tags Tags
    Concept Simulink
Click For Summary
SUMMARY

The discussion focuses on the implementation of an Extended Kalman Filter (EKF) for estimating temperature in a permanent magnetic synchronous motor using MATLAB Simulink. Key points include the necessity of initializing the covariance matrix alongside the state vector to reflect confidence in initial estimates. Additionally, the EKF should be implemented using a discrete-time method, as the Kalman filter operates in discrete time, requiring adjustments to the state transition matrix and state vector. Participants emphasize the importance of following the guidelines in the referenced paper for creating a discrete-time model.

PREREQUISITES
  • Understanding of Extended Kalman Filter (EKF) principles
  • Familiarity with MATLAB Simulink environment
  • Knowledge of covariance matrix initialization techniques
  • Experience with discrete-time systems and state-space representation
NEXT STEPS
  • Review the process of covariance matrix initialization in EKF
  • Explore discrete-time modeling techniques in MATLAB Simulink
  • Learn about state transition matrices and their role in EKF
  • Investigate integration methods suitable for discrete-time Kalman filters
USEFUL FOR

Engineers and researchers working on control systems, particularly those involved in motor control and state estimation using Kalman filters in MATLAB Simulink.

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,525
  • 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,226
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:

Similar threads

  • · Replies 0 ·
Replies
0
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 7 ·
Replies
7
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 24 ·
Replies
24
Views
11K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
Replies
9
Views
7K
Replies
4
Views
3K