项目作者: 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
创建时间: 2020-05-07T01:46:04Z
项目社区:https://github.com/vishal-codes/FOPID-tuner-using-GA

开源协议:

下载


FOPID-tuner-using-GA

A fractional order PID controller is tuned using genetic algorithm , to control the speed of DC motor

  1. GA folder contains the code.
  2. Results and Screenshot folder contains the scrrenshots of tuning and results.
  3. Simulink_Models contains the simulink model

Steps for running the Project

  1. Open matlab. Enter the command pathtool and then add the FOPID-tuner-using-GA/GA/extall-fomcon-matlab-a3f77e8-ToolBOX folder.
  2. Open file pid_omtimzation.
  3. Open the optimzation toolbox from the apps in the matlab folder.
  4. 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.
  5. Start tuning.

Steps for running the simulated model

  1. Do the first step of running the project.
  2. Open model fractionalPID_with_dc_motor.slx from the Simulink_Models folder in the simulink.
  3. 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;
  4. Set the values of paramters of Fraction Order PID by doubble right click on the Fractional PID Block.
  5. Run