05-23-2014 06:39 PM
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...
05-23-2014 06:48 PM
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
05-26-2014 01:56 PM
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.
05-27-2014 01:40 AM
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...