02-18-2011 12:37 PM
Hey,
I want to optimize the value of gains in PID controller.. I want to do it by genetic algorithm.. If there is any labview code on gentic algorithm?
02-18-2011 01:29 PM - edited 02-18-2011 01:30 PM
There's something here - Waptia - genetic optimization algorithm 1.0.0
Description:
Waptia is general genetic optimization algorithm - it tries to maximize user supplied function of N variables (so called "Fitness Function"). Function is given as strictly typed VI reference. So the optimization goal may be described as: find such set of N numbers for which Fitness Function value is highest.
02-24-2011 05:35 AM
thank you.. but i'm not able to figure out how to use it.. can you send me one example of how to use it?
02-24-2011 05:39 AM
Documentation
Documentation is provided in "Waptia docs.rtf" file. It's just a description of all controls of Waptia.vi with some background information. Same information may be found in context help. Information on how to write your own fitness function is provided as comments in "Fitness Function Template.vit"
If you want to understand how Waptia works, whole code is extensively commented.
Examples
There is one quite complex example (but I hope that still understandable) located in _examples folder - "multimodal optimise.vi"
If you want any support on general or specifically genetic optimization problems, just contact me.
You can post a question on LAVA and the author will probably help you.