Skip to main content

Programming Microcontroller via Hierarchical Finite State Machine

  • Conference paper
  • 1829 Accesses

Part of the book series: Communications in Computer and Information Science ((CCIS,volume 376))

Abstract

This research focused on programming the microcontroller by using Hierarchical Finite State Machine (HFSM) method. FSM is a mathematical model of computation method which used to design both computer programs and sequential logic circuits. Besides Programmable Logic Controllers and high level programming languages to control electro pneumatic actuators, this HFSM method simplified overall designing and programming process of an electro pneumatic system. By using HFSM software, we can design algorithms of a process and generate program codes automatically. Thus, HFSM makes the designing process easier to understand even by a novice customer in industry whom does not have prior knowledge in programming language. In addition, troubleshooting, rectify problems or any changes are easily applied in HFSM designing process because it involves mostly diagrams in comparison to high level programming language such as C or C++. Even though FSM has been used in many systems, this research mainly focuses on generating program codes and downloading into microcontroller to execute program in some particular application such as material sorting, pick and place and material detection.

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Gurp, J.V., Bosch, J.: On The Implementation Of Finite State Machines. In: Proceedings of the IASTED International Conference 3rd Annual IASTED International Conference Software Engineering and Applications, Scottsdale, Arizona, USA (1999)

    Google Scholar 

  2. Grollman, D.H., Jenkins, O.C.: Can We Learn Finite State Machine Robot Controllers from Interactive Demonstration? In: Sigaud, O., Peters, J. (eds.) From Motor Learning to Interaction Learning in Robots. SCI, vol. 264, pp. 407–430. Springer, Heidelberg (2010)

    Chapter  Google Scholar 

  3. Krivulya, G., Kovalyov, E., Korobko, O., Laptev, M.: The Analysis of Modern FSM Description Languages. In: TCSET 2006, Lviv-Slavsko, Ukraine, pp. 370–374. IEEE (2006)

    Google Scholar 

  4. Hugel, V., Amouroux, G., Costis, T., Bonnin, P., Blazevic, P.: Specifications and Design of Graphical Interface for Hierarchical Finite State Machines. In: Bredenfeld, A., Jacoff, A., Noda, I., Takahashi, Y. (eds.) RoboCup 2005. LNCS (LNAI), vol. 4020, pp. 648–655. Springer, Heidelberg (2006)

    Chapter  Google Scholar 

  5. Monga, A., Singh, B.: Finite State Machine based Vending Machine Controller with Auto-Billing Features. International Journal of VLSI design & Communication Systems (VLSICS) 3(2) (April 2012)

    Google Scholar 

  6. Provost, J., Roussel, J.-M., Lurpa, J.-M.F., Cachan, E.: Testing Programmable Logic Controllers from Finite State Machines specification. In: Proceedings of the IASTED International Conference 3rd Annual IASTED International Conference Software Engineering and Applications (2011)

    Google Scholar 

  7. Adamczyk, P.: The Anthology of the Finite State Machine Design Patterns. University of Illinois at Urbana-Champaign Department of Computer Science 1304 W. Springfield Ave, Urbana, IL 61801 (2003)

    Google Scholar 

  8. Alexander, S.: A Hybrid State Machine Notation for Component Specification (June 19, 2013), http://sakharov.net/fsmtutorial.html

  9. Lanuza, R.: Finite state machine editor and C-code generator (2013), http://robertolaunza.tripod.com

  10. Marchand, H., Gaudin, B.: Supervisory Control Problems of Hierarchical Finite State Machines. In: Proceedings of the 41st IEEE Conference on Decision and Control, vol. 2, pp. 1199–1204 (2002)

    Google Scholar 

  11. MPLAB IDEA user guide (2013), http://ww1.microchip.com/downloads/en/devicedoc/51519a.pdf

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2013 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Jayaraman, R., Basiron, H.B., Sanga Pillai, P.M. (2013). Programming Microcontroller via Hierarchical Finite State Machine. In: Omar, K., et al. Intelligent Robotics Systems: Inspiring the NEXT. FIRA 2013. Communications in Computer and Information Science, vol 376. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-40409-2_38

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-40409-2_38

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-40408-5

  • Online ISBN: 978-3-642-40409-2

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics