Firefly algorithm tuning of PID position control of DC motor using parameter estimator toolbox
Abstract
This paper aims to design an accurate angular position control for DC motors using a proportional integral derivative (PID) controller. The estimated DC motor parameters have been calculated using the parameter estimator toolbox in MATLAB, Arduino Mega 2560 and speed sensor to build an accurate model in MATLAB. The optimized PID coefficients are found for the DC motor model using the firefly algorithm (FA), which aims to make the actual angle match the desired value without overshooting and oscillations. The PIC16F877A microcontroller was used to implement the code based on optimized PID coefficients found in MATLAB/Simulink to generate the suitable pulse width modulation (PWM) output. In this work, step input was tested to analyze the characteristics of the system response in terms of rise time, settling time and overshoot. It was found that the controller output response curve which is produced from FA-based-PID reached the desired position without overshoot and any oscillations. The findings established that closed-loop control of any system using a system identification toolbox and optimized PID technique can be applied in real applications using low-cost controllers and sensors such as PIC16F877A microcontroller and analog rotary position sensor, respectively.
Keywords
Direct current motor; Firefly algorithm; Parameter estimator; Position control; Proportional integral derivative
Full Text:
PDFDOI: https://doi.org/10.11591/eei.v13i2.6216
Refbacks
- There are currently no refbacks.

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Bulletin of Electrical Engineering and Informatics (BEEI)
ISSN: 2089-3191
,
e-ISSN: 2302-9285
This journal is published by the
Institute of Advanced Engineering and Science (IAES)
.