File Exchange

image thumbnail

ِAnt Colony Optimization for PID Controller of a DC Motor

version (13.9 KB) by ammar al jodah
Ant Colony is used to find the PID parameters for DC motor speed control


Updated 01 Aug 2020

View Version History

View License

Using these files you can solve any optimization problem that involve finding a parameter in some range.

Cite As

ammar al jodah (2021). ِAnt Colony Optimization for PID Controller of a DC Motor (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (12)

Sedef Degirmenci

Yunianta Suswatika

ammar al jodah

Thank you Sachin Sharma, this bug has been fixed now. Thanks for pointing that.

Sachin Sharma

Hi, There is some conceptual mistake in this optimization program. Try at your own risk.
Nodes(ant(A,:)) --> this statement is wrong and will give you wrong Node information. You can verify the same by having different LB and UB for disfferent variables instead of same LB and UB for all variables. You can mail me at: for correct optimization code.


Nidhi Sahu


Ahmed Shaaban

How to initialize P, I and D with certain values to begin the algorithm with ?

gigih dwi

thanks. so easy for study. recomen

manjusha SILAS

how i can use ACO for tuning fractional order PID controller. when i apply this code for AVR system fractional derivative stop simulation plz provide code for the same my email id

Jessica Jara

So easy to understand! Thank you Ammar al Jodah!

Tavish Hookoom

ye yang


khessam medjdoub

MATLAB Release Compatibility
Created with R2014a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!