LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

baucwen hysteresis model in labview

Solved!
Go to solution

I want to design a LabVIEW VI for baucwen hysteresis equation. I have attached the equation with parameters. I tried to develop it on LabVIEW but facing problem in feedback node. Not able to get the feedback after the Inegration. i have attached the labview VI. I designed this model in MATLAB Simulink environment and i got the result but not able to get result in LabVIEW VI. Please help me.  

 

Thank You 

Download All
0 Kudos
Message 1 of 13
(2,619 Views)

Hi prasad,

 

Simulink will try to calculate that algorithm sample for sample (internally):

check.png

The problem was: the feedback node wasn't initialized, so gave an empty array on first call. Trying to calc some math with empty array will also result in empty arrays…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 13
(2,606 Views)

can you please share that VI file 

0 Kudos
Message 3 of 13
(2,599 Views)

Hi prasad,

 

it's a snippet…

(Everything is visible in the snippet, so you can easily recreate it!)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 13
(2,567 Views)

i am beginner to LabVIEW and facing problem in connecting to the derivative block. it will be very helpful if i get the VI file 

Thank You 

 

0 Kudos
Message 5 of 13
(2,560 Views)

Hi prasad,

 

as can be seen by the icon it's the "Point by Point Derivative" function. (The same "pt-by-pt" applies to the integrator.)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 6 of 13
(2,556 Views)

I have recreated the VI and attached the same. But i am not getting the result as per the MATLAB Simulink. Please suggest me the correction that i can do to get the result. I have attached the image of Simulink Result. 

Thank You 

Download All
0 Kudos
Message 7 of 13
(2,547 Views)

Hi prasad,

 

for me it looks quite nice:

check.png

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 8 of 13
(2,538 Views)

Please suggest me any correction that i can do in the VI I have attached. Thank You so much for the result. 

0 Kudos
Message 9 of 13
(2,532 Views)

i am getting this result . I have attached the pic 

0 Kudos
Message 10 of 13
(2,528 Views)