Skip to content

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

Notifications You must be signed in to change notification settings

gyani-codes/FOPID-tuner-using-GA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published