LabVIEW Interface for Arduino Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

arduino pid library compatible with labview's pid.vi??...any idea??

i am working on a quadcopter project...

i wanna tune the pid controller using system identification toolkit... like in this tutorial..

http://techteach.no/presentations/nidays05/index.htm#analysis

creating the log-file is quite easy...and next deducing z-domain TF is also easy...and next designing the controller, ie.pid values ,is guaranteed ...

the problem is to find an arduino pid library compatible with the labview's pid.vi...any idea???

i first considered converting the pid.vi 's block diagram to c code..i figured out it is almost impossible..as i don't have enough experience with labview...then i went for the c-generator toolkit...it looks like even worse...so i am apprecited to any help...

0 Kudos
Message 1 of 4
(5,469 Views)

notice i am not using labview's LIFA toolkit..it's all arduino code..

if there is one compatible with simulink's pid library..maybe even better..as the autotuning utility in simulink is more intuitive

0 Kudos
Message 2 of 4
(2,921 Views)

If you are looking for PID code for Arduino, I recommend that you search for it in Arduino-based websites (or use Google) since PID is not a LabVIEW-specific control algortithm.

0 Kudos
Message 3 of 4
(2,921 Views)

yes..i 've got plenty of arduino pid libraries..like here in github

https://github.com/search?q=arduino+pid+library&type=Repositories&ref=searchresults

the point is, as said before, i wanna use the system identification toolkit like this... 

http://techteach.no/presentations/nidays05/index.htm#analysis

the problem is that pid library in labview is different from the ones listed in the above github link...

if i use the labview's, or simulink's, autotuner  ...it won't work

so i tried to compare labview's pid library with the ones i have...but i don't have enough experience with labview ... i did another trials like c-generator toolkit ..it didn't work..that's it...

0 Kudos
Message 4 of 4
(2,921 Views)