LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to wire a plant model reference into Extended Kalman Filter correctly?

Solved!
Go to solution

Hi guys,

 

I have a problem in using Extended Kalman Filter on LV2009.

Every time I run my program, my state is not updated by the function.

When I checked through, it seems that my plant model somehow was not fully connected into the EKF vi.

The value indicated on the plant model never change.

The related vi(s) are attached. The acc_emg.vi is the main program.

It uses EKF to estimate state of tremor parameter.

Hope that you can give me some advice. Many thanks.

 

Agus Herryanto

Nanyang Technological University Singapore

Download All
0 Kudos
Message 1 of 9
(4,497 Views)

Have you tried making the plant model as a strictly typed static VI reference. See the attached VI.

Andy Chang
National Instruments
Message 2 of 9
(4,474 Views)

Dear Mr.Andy,

 

Thank you very much for the reply.

Sorry to trouble you one more time.

I am quite new in using LV for my research and now I still do not understand how to convert my plant model created from the template into the strictly typed vi.

I hope that you can give me some advices.

Thank you very much.

 

Regards,

 

 

Agus

0 Kudos
Message 3 of 9
(4,464 Views)
Solution
Accepted by topic author Agus Herryanto

You can right click on the Static VI Reference and select Strictly Type

 

19527i07EC1B162A2CB438

Andy Chang
National Instruments
Message 4 of 9
(4,455 Views)

Thank you for your help. This really solved my problem.

0 Kudos
Message 5 of 9
(4,439 Views)

Not a problem, glad that I can help 😃

Andy Chang
National Instruments
0 Kudos
Message 6 of 9
(4,424 Views)

Hello andy.

Iam trying to implement discrete extended kalman filter.I dont know whether the plant model is connected correctly or not.I have checked it but found no errors.The output of plant model varies continuously but the outputs of extended kalman filter stays at zeroes.What might be the reason? If you need some more information i can attach the vi's.

 

Thanks alot...!

0 Kudos
Message 7 of 9
(4,153 Views)

HI andy.

Here are the VIs attached.

Thanks in advance...!

Download All
0 Kudos
Message 8 of 9
(4,137 Views)

Hi every one need some help regarding wiring a plant model to an EKF block. I have checked the sample VIs but the problem is that in my application the matrices A, B and C used in EKF are time dependent and changes as the simulation progresses. However in the provided samples a plant model is taken as static reference VI which does not changes with time. Please tell me how to resolve this issue.

0 Kudos
Message 9 of 9
(3,781 Views)