Journal of Applied Mathematics and Modelling
Vol. 1 No. 2 (2025): Journal of Applied Mathematics and Modelling

Applying Finite State Automata to Structural Design of an Automatic Ice Cream Machine

Novilia Lestari (Universitas Negeri Padang)
Sri Wahyu (Universitas Negeri Padang)
Melisa Sartika (Universitas Negeri Padang)
Annisa Thurrabiah Khanza (Universitas Negeri Padang)
Sadra Afifah (Universitas Negeri Padang)



Article Info

Publish Date
05 Nov 2025

Abstract

Technological advances encourage the implementation of automated machines to improve efficiency and process consistency, one of which is in automatic ice cream machines. These machines require a structured control system to manage the ordering flow and user interaction. This study aims to apply Automata theory, specifically Finite State Automata (FSA), to systematically model the working logic of an automatic ice cream machine. The system workflow is represented using Non-Deterministic Finite Automata (NFA) which includes the stages of cup size selection, flavor selection, topping selection, payment process, and order confirmation. This system allows the selection of 3 cup sizes: small, medium, and large, ensuring that each ordering process begins with an explicit cup size selection before the user proceeds to the next stage. Also, at the topping selection stage, the automata model is designed to be more flexible by providing transitions that allow users to choose no topping at all or to choose more than one topping. Model validation was carried out through simulations using JFLAP. The simulation results show that the model can accept valid input sequences and reject invalid inputs, so that the system flow runs consistently. Thus, FSA is proven effective as a formal framework in modeling and analyzing automatic ice cream machine systems.

Copyrights © 2025






Journal Info

Abbrev

jamm

Publisher

Subject

Computer Science & IT Control & Systems Engineering Engineering Environmental Science Mathematics

Description

Aim: The Journal of Applied Mathematics and Modelling (JAMM) aims to advance the frontiers of applied mathematics by publishing high-quality research that bridges theoretical developments with real-world applications. We seek to foster innovation in mathematical modeling, computational techniques, ...