项目作者: vishal-codes
项目描述 :
A fractional order PID controller is tuned using genetic algorithm , to control the speed of DC motor
高级语言: MATLAB
项目地址: git://github.com/vishal-codes/FOPID-tuner-using-GA.git
FOPID-tuner-using-GA
A fractional order PID controller is tuned using genetic algorithm , to control the speed of DC motor
- GA folder contains the code.
- Results and Screenshot folder contains the scrrenshots of tuning and results.
- Simulink_Models contains the simulink model
Steps for running the Project
- Open matlab. Enter the command pathtool and then add the FOPID-tuner-using-GA/GA/extall-fomcon-matlab-a3f77e8-ToolBOX folder.
- Open file pid_omtimzation.
- Open the optimzation toolbox from the apps in the matlab folder.
- Selct option Genetic Algorithm in solver option and set the fitness function as showin the image optimization_-toolbox-paramete- setting.png, stored in the results and screenshots folder.
- Start tuning.
Steps for running the simulated model
- Do the first step of running the project.
- Open model fractionalPID_with_dc_motor.slx from the Simulink_Models folder in the simulink.
- The physical parameters of DC motor must be present in the workspace before running the model. Set the following parameters in the workspace:
J = 0.01;
b = 0.1;
K = 0.01;
R = 1;
L = 0.5; - Set the values of paramters of Fraction Order PID by doubble right click on the Fractional PID Block.
- Run