Help in Optimization using Genetic Algorithms

AI Thread Summary
The discussion centers on the need for assistance in optimizing a Fuzzy Sliding Mode Controller (FSMC) using Genetic Algorithms (GA) in MATLAB. The user has developed three different controllers but lacks understanding of GA and its implementation. They mention the MATLAB toolbox (gatool) designed for this purpose but express confusion over setting parameters and writing the necessary M-file code. The request emphasizes a need for clear guidance on both the concept of Genetic Algorithms and practical steps for implementation in MATLAB. Overall, the user seeks foundational knowledge and specific instructions to proceed with their optimization task.
abuhashim
Messages
2
Reaction score
0
Currently I am doing models for my system. I have finished all of them designing three defferent controllers (Feedback Linearization Controller FLC , Sliding Mode Controller SMC and Fuzzy Sliding Mode Controller FSMC).Now I am asked to optimize the FSMC using Gentic Algorithms but I have no idea what it is or how to do it using MATLAB (gatool).
ANY HELP PLEASEEEEEEEEE
 
Engineering news on Phys.org
Do you know anything about what a genetic algorithm is or how they are implemented?
 
Sir,
Thank you very much your reply. Frankly I am struggling because I don't have even sipmle idea about the Genetic Algorithms or how to deal with.I have been informed that there is toolbox in MATLAB which helps to implement this problem (gatool) but when open that toolbox I got even more confused what to do because I need to set the parameters and whrite code as M-file to work alongside this toolbox.
 
I have Mass A being pulled vertically. I have Mass B on an incline that is pulling Mass A. There is a 2:1 pulley between them. The math I'm using is: FA = MA / 2 = ? t-force MB * SIN(of the incline degree) = ? If MB is greater then FA, it pulls FA up as MB moves down the incline. BUT... If I reverse the 2:1 pulley. Then the math changes to... FA = MA * 2 = ? t-force MB * SIN(of the incline degree) = ? If FA is greater then MB, it pulls MB up the incline as FA moves down. It's confusing...
Hi. I noticed that all electronic devices in my household that also tell time eventually lag behind, except the ones that get synchronized by radio signal or internet. Most of them are battery-powered, except my alarm clock (which runs slow as well). Why does none of them run too fast? Deliberate design (why)? Wrong temperature for quartz crystal? Decreasing battery voltage? Or just a coincidence?
Back
Top