LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

optimisation on labview 8.0 !!!

Hi !!!
I would like to converge and find a solution on labview 8.0. I have 2 types of signals, on one hand, I have simulated results: sim1, sim2, sim3, sim4 and on the other hand i have measured results: meas1, meas2, meas3, meas4. These signals are acquired on Labview 8.0. Then my purpose is to compare the signals: sim1 with meas1, sim2 with meas2, ... Then regardless to the error of the 2 signals (for example < 10^-4), I would like to make labview generate a new parameter (to be changed) in the software that generate the simulated results and when my error is < 10^-4, i keep the good parameter that have been found.
Can anyone help me on how i can do that please ?!!
thank 
0 Kudos
Message 1 of 3
(2,542 Views)

Try to look at this shipping example of LabVIEW. This should give you an idea how to use the optimization funtions in LabVIEW 8.

C:\Program Files\National Instruments\LabVIEW 8.0\examples\math\curvefit.llb\Estimate Nonlinear Spring Constant.vi

After you understand this demo, you just need to modify the initial simulation to load your first measured signal and the final simulation to use your simulated signal with the parameter that you need to modify.

Hope this help!

Barp - Control, Simulation, RTT and HIL - National Instruments
0 Kudos
Message 2 of 3
(2,522 Views)

Hello,

You can do nonlinear (and global) parameter estimation with some of the TOMVIEW tools: http://tomopt.com/tomview/

Since you have simulation the problem is most likely not smooth and also noisy. I would run glcDirect first and then try NLSSOL.

nllsQG.vi can be used as a template for this problem type.

Best wishes, Marcus

http://tomopt.com

Marcus M. Edvall
Tomlab Optimization Inc.
855 Beech St #121
San Diego, CA 92101-2886
USA

web: http://tomopt.com
e-mail: medREMvall@tomREMopt.coREMm
Office1: (619) 203-2037
Office2: (619) 595-0472
Fax: (619) 245-2476
0 Kudos
Message 3 of 3
(2,517 Views)