PI Tunning & Reference Tracking With Genetic Algorithm
4 views (last 30 days)
Show older comments
Hi Friend,
I want to optimising PI parameters(Kp&Ki) with Genetic Algorithm.
in simulation that you can see http://projeharshad.persiangig.com/image/Untitled-1.jpg range of the Kp&Ki that calculate from equations is very different. for example Kp&Ki in PI(1) is 3031059 & 415464655 and for Kp&Ki in PI(2) is 7.3 & 2.66. Can I use the Genetic Algorithm for PI tunning for Reference Tracking in this system that range of the Kp&Ki in PI's very different?
0 Comments
Answers (1)
Alan Weiss
on 6 Jun 2013
You can set the initial range of the genetic algorithm to anything you like, as explained here. This is an important step whenever you use the genetic algorithm.
You will probably get better results if you scale your problem a bit, such as taking the log of the PI(1) term, the one you said is perhaps 3031059 to 415464655. Well, perhaps I misunderstand, but I'm sure you can do some scaling to get the parameters to be in a reasonable range.
But allow me to make my usual suggestion that you do not use the genetic algorithm, and instead try patternsearch. patternsearch is faster, more robust, and easier to tune. The only difference in syntax is that you must supply a starting point for patternsearch. This is probably very easily done, especially if you scale the problem.
Good luck,
Alan Weiss
MATLAB mathematical toolbox documentation
2 Comments
lithika
on 28 Feb 2014
can u tel me how to get the error in time domain (ISE) so that PI tuning optimisation using GA can be done...
See Also
Categories
Find more on Genetic Algorithm in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!