Optimizing FLC with GA

조회 수: 15 (최근 30일)
Michael
Michael 2012년 4월 11일
편집: Seth DeLand 2014년 8월 22일
I was hoping somebody would be kind enough to point me in the right direction...
I have a Fuzzy Logic Controller that I've programmed and simulated with an m-script file. I need to optimize it using the Genetic Algorithms toolbox. This is my first time working with GA's and I am stumped.
I've searched on-line, read articles, journals, and even a thesis about the very topic however nothing quite answers my question.
I primarily need to know where the fitness function comes from (for FLCs) and how I program the membership functions into the GA.
I don't have any code to display as I can't even get a GA started but any advise or documentation would be greatly appreciated.

답변 (1개)

Seth DeLand
Seth DeLand 2012년 4월 11일
편집: Seth DeLand 2014년 8월 22일
Hi Michael,
Here's an example for getting started with the GA. My guess is that you're trying to find the optimal parameters for your FLC that result in the system's response being as close as possible to a target response. If that's the case, you will need to write a fitness function that computes the difference between the response of your system and the desired response.
The input to the fitness function will be the vector of the different parameters for your FLC. The fitness function will then simulate the system with these parameters, and calculate how close the simulation was to the desired response. There's an example along those lines in this video, where the goal is to find the set of parameters that minimizes the difference between the simulated response and the desired response.

카테고리

Help CenterFile Exchange에서 Genetic Algorithm에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by