LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

While-loop and simulation loop.


 
I am working on the control of the popular 4-tank lab process.
I have developed a Kalman Gain for implementing a Kalman Filter
estimator. After I put the VI of the Kalman Gain (it has a while loop) into the main VI
to implement the estimator, the program was not working? Please, I need urgent
advises on what to do...it is a project work with very limited time left. 
 
0 Kudos
Message 1 of 9
(3,933 Views)

It would help if you post your code and describe what you mean by "not working".  What exactly is the program not doing?

 

- tbob

Inventor of the WORM Global
0 Kudos
Message 2 of 9
(3,916 Views)

Which version of LabVIEW are you working with?

Did you use LabVIEW Control Design and Simulation Module to design your Kalman Filter?

Andy Chang
National Instruments
LabVIEW Control Design and Simulation
0 Kudos
Message 3 of 9
(3,903 Views)

 

I have implemented the K Filter in a formula node, even the 

Kalman Gains were implemented in formula node. It is about

estimating the levels and outflow from lower two tanks of a 4

tank process, so I have to separate K.filters.

The 2 Kalman gains are working well in a while-loop but when connected

on the main program VI to the Kalman estimator, it doesnt work rather

shows an error message.

The name of the program VI is: Main_Kalman implementation.vi 

And the expected results are 2 estimated levels and 2 estimated outflows.

 

 

0 Kudos
Message 4 of 9
(3,899 Views)

Hey Vicky,

 

Could you also attach your VIs as well?

Andy Chang
National Instruments
LabVIEW Control Design and Simulation
0 Kudos
Message 5 of 9
(3,889 Views)

Hi, 

attached is a folder containing the main VI and

its dependencies.

 The main VI is: Main_kalman implementation.

thanks. 

0 Kudos
Message 6 of 9
(3,883 Views)

Hello Vicky,

 

I'm assuming you are having issue with your implmentation of Kalman Filter using Formula Node, is that correct?

Is there a reason why you are not using Kalman Filter VI like you were doing earlier in your program?

Andy Chang
National Instruments
LabVIEW Control Design and Simulation
0 Kudos
Message 7 of 9
(3,848 Views)

And now my Kalman filter estimator is working very 

smart...thanks guys for suggestions and advices!!!! 

0 Kudos
Message 8 of 9
(3,837 Views)

Dear Vicky,

 

May you send me your program?

my email: immirandatracy@gmail.com

Thanks so much.

 

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