Open Journal Systems

Design and Implementation of PID Control-based FSM Algorithm on Line Following Robot

       Adnan Rafi Al Tahtawi, Yoyo Somantri, Erik Haritman


Finite State Machine (FSM) is a control system methodology that describes system’s behavior using three things, namely: state, event, and action. On a program, the system would be in one active state. The system can switch or move to another state if it gets a certain input or event.  In this paper, FSM based on Proportional-Integral-Derivative (PID) controller algorithm will be implemented on line follower robot. PID controller is one of system control methods that many used recently. FSM based on PID controller is implemented to keep robot tracking the line trajectory as well. The test result shows that designed algorithm can work well and can be used as a based algorithm of this robot.


algorithm; Finite State Machine (FSM); Proportional-Integral-Derivative (PID); robot; line follower

Full Text:



Schwartz, Scott, “Self-Adjusting Finite State Machines: an approach to Real-Time Autonomous Behavior in Robots”, Computer Science Honors Theses, Paper 9, 2005

Konig, Lukas, et al, “Decentralized Evolution of Robotic Behavior Using Finite State Machines”, International Journal of Intelligent Computing and Cybernetics, 2009

Levin, Ilya, et al, “Robot Control Teaching with a State Machine-based Design Method”, Int. Journal Engineering Education (IJEE), Vol. 20, No. 2, pp. 1-10, 2004

Nath, A.S. et al, “Implementation of PID Control to Reduce Wobbling in a Line Following Robot”, International Journal of Research in Engineering and Technology (IJRET), Vol. 02, Issue 10, 2013

Setiawan, I., “Design of Software Embedded System based on FSM”, 2006

Ibrahim, Dogan, Microcontroller Based Applied Digital Control, Departement of Computer Engineering, Near East University Cyprus, Willey, 2006

Datasheet DFRduino RoMeo User Manual

Abstract 989 View    PDF viewed = 1396 View


  • There are currently no refbacks.

Copyright (c) 2016 JTERA - Jurnal Teknologi Rekayasa

License URL:

Copyright @2016-2023 JTERA (Jurnal Teknologi Rekayasa) p-ISSN 2548-737X e-ISSN 2548-8678.

     Lisensi Creative Commons

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.


JTERA Editorial Office:
Politeknik Sukabumi
Jl. Babakan Sirna 25, Sukabumi 43132, West Java, Indonesia
Phone/Fax: +62 266215417
Whatsapp: +62 81809214709