Made with
ConceptDraw
DIAGRAM 18

FSM — Finite-state Machine

A “finite-state machine” is also known to be called “finite automaton”, “finite-state automaton” or simply a “state machine”, being a “mathematical model of computation”. Being an abstract machine in exactly one of a finite number of states at some given time. The finite-state machine is known for being able to change from being in one particular state to another, doing it in response to some external inputs. Such change from one state to another is known to be called a “transition”. Any finite-state machine can be defined by its initial state, a list of its states and the conditions for each of the existing transitions.

The behaviour of any of the state machines can be checked by using many different devices in order to perform a pre-determined sequence of different actions, which may depend on a sequence of different events which they are presented with. The examples of the finite-state machine may be the vending machines, dispensing products once the proper combination of the coins is deposited. The elevators may be also a very good example of the finite-state machine, or FSM. The sequence of stops all the elevators make can be determined by the quantity of the floors requested by its riders. The traffic lights may be another example of the finite-state machines changing their sequence every time the cars have to wait stopping. All the combination locks require the input of the combination of the different numbers in some definite, proper order, that’s why they are a good example of the FSM as well.

The finite state machine is known to be having less computational power comparing to some other models of computation, for example, the so called “Turing machine”. The mentioned “computational power distinction” may mean there are the computational tasks that each Turing machine can do, but which a FSM one can not. The reason for this is a FSM's memory being quite limited by the number of the states which it has. The finite-state machines are known to be studied in the more general field of the so called “automata theory”. The complete action's information is never described in the table, but it can only be added by using the so called “footnotes”. A FSM definition is always possible by using the so called “state tables”.

The Unified Modelling Language has a notation for describing state machines. UML state machines are known to be introducing the new concepts of the so called “hierarchically nested states” as well as “orthogonal regions” during the process of extending the so called “notion of actions”. UML state machines have the characteristics of both “Mealy machines” and so called “Moore machines”, known to be supporting the actions depending on the triggering event as well as on the state of the system, as well as entry and exit actions, which are associated with states rather than transitions.

The Specification and Description Language is a standard from ITU. It includes numerous graphical symbols for describing different actions in the transition – for example, to send an event, to start a timer, to cancel a timer, to receive an event, to start another state machine, etc. There are many different variants used for representing a FSM, knowing to be significant in many different areas, including electrical engineering, computer science, mathematics, philosophy, biology, logic, linguistics, etc. One of the classes of the automata studied in the so called “automata theory” as well as the “theory of computation” is a finite state machine, widely used in computer science for modeling the application behaviour, for designing different hardware digital systems, as well as used in software engineering, network protocols, the study of computation, languages and compilers.

It is possible to subdivide the finite state machines into acceptors, classifiers, transducers and sequencers. The acceptors are also known to be called as “recognizers and sequence detectors”, producing the binary output and indicating if received input is accepted or not. Each of the possible states of any FSM is either "not accepting" or "accepting". As long as all input is received, in case its current state is an accepting one, then the input is known to be “accepted”. And vice versa, in case its current state is a rejecting one, then it is known to be “rejected”. As a general rule, any input is a sequence of symbols and actions are not normally used.

A set of the mentioned symbol sequences is known to be called as a “regular language”, but only in case there is some finite state machine that accepts exactly that set. For example, the set of binary strings with an even number of zeroes is a regular language, while the set of all strings which length is a prime number is not a regular language. A machine can be described as the one containing a string, which is accepted by the mentioned machine, but not the rejected ones. Thus, that language is known to be "accepted" by the machine, called the “regular languages”. Any language is known to be called as “regular” in case there is some finite-state machine accepting it. An instance of the algebraic path problem is determining the language which was accepted by a so called “finite state acceptor”. It is itself simply a generalization of the shortest path problem to graphs with edges which are weighted by the elements of a semi-ring.

To create FMS diagram, all you need is ConceptDraw DIAGRAM diagramming and drawing software. It is always better, though, to have a Specification and Description Language (SDL) Solution from ConceptDraw STORE application to simplify your work with drawing any FMS related drawings any complexity as the mentioned solution offers the pre-made examples as well as the stencil libraries with the design elements that all can be used while working in ConceptDraw DIAGRAM

FSM — Finite-state Machine *

Example 1. Finite State Machine (FSM) Diagram

Finite state machines are widely used in systems engineering, system design, in developing computer programs and sequential logic circuits. Specification and Description Language (SDL) Solution offers all needed tools for designing without efforts. These are the SDL Connnectors and SDL Diagrams libraries which contain numerous predesigned vector objects, collection of FSM and SDL samples represented in ConceptDraw STORE.

Specification and Description Language (SDL) Solution in ConceptDraw STORE

Example 2. Specification and Description Language (SDL) Solution in ConceptDraw STORE

All samples included in Specification and Description Language (SDL) Solution are well thought-out and professionaly designed. You can choose any desired of them from ConceptDraw STORE, it will be automatically opened in ConceptDraw DIAGRAM Then you are able to change some details in it or use the sample as the base for your own FSM diagram.

SDL Architecture

Example 3. SDL Architecture

The samples you see on this page were created in ConceptDraw DIAGRAM software using the tools of Specification and Description Language (SDL) Solution. First of them demonstrates the Finite State Machine (FSM) diagram, the second represents the SDL architecture and describes the processes within the sub-blocks also with help of finite state machines. An experienced user spent 10-20 minutes creating each of these samples.

Use the Specification and Description Language (SDL) Solution for ConceptDraw DIAGRAM software to create your own professional looking FSM and SDL diagrams fast, easy and effective.

All source documents are vector graphic documents. They are available for reviewing, modifying, or converting to a variety of formats (PDF file, MS PowerPoint, MS Visio, and many other graphic formats) from the ConceptDraw STORE. The Specification and Description Language (SDL) Solution is available for all ConceptDraw DIAGRAM users.




TEN RELATED HOW TO's:
When talking about engineering, one should define all the terms used, so anybody could understand the topic. Typical network glossary contains definitions of numerous network appliances, types of networks and cable systems. The understanding of basic is crucial for server management, network administration and investigating problems. The network glossary defines terms related to networking and communications. The most of glossary items has their visual representation in ConceptDraw DIAGRAM libraries of the Computer Network Diagrams solution. This illustration presents a local area network (LAN) diagram. It designed to show the way the interaction of network devices in a local network. The diagram uses a library containing symbols of network equipment, connections and the end-point devices such as network printer, hubs, server, modem and finally computers (PC, mac, laptop). This diagram depicts a physical LAN topology.Network Glossary Definition *
Picture: Network Glossary Definition
Related Solution:
Block diagrams solution extends ConceptDraw DIAGRAM software with templates, samples and libraries of vector stencils for creating the block diagram. Create block diagrams, electrical circuit diagrams, schematics, and more in minutes with ConceptDraw DIAGRAM.Create Block Diagram *
Picture: Create Block Diagram
What is organizational charts and why your business need them? How to use business process diagram software? Explore how advanced organization chart software transforms the way companies ✔️ visualize, ✔️ communicate, and ✔️ streamline their organizational hierarchiesOrganogram Software
Picture:
What is an Organizational Chart and how it works?
Organization Chart Software
Related Solution:
ConceptDraw solution Computer and Networks provides Interactive Voice Response samples, templates and library of 35 vector stencils for drawing the IVR network diagrams. Use ConceptDraw DIAGRAM diagramming and vector drawing software enhanced with solution Computer and Networks to visualize the logical and physical structure of IVR systems for inbound and outbound call centers and voice mail systems.Interactive Voice Response Network Diagram *
Picture: Interactive Voice Response Network Diagram
A layout is a way that furniture is arranged in some place. It’s not difficult to develop a store layout using software with tons of templates and libraries with vector shapes of furniture, doors, walls etc. Create a plan in five minutes and have more time to implement it. Designing the floor plan for a new store is very important step for a small business. Well thought out and well-done floor plan is the foundation of the store layout. It should provide a basis through which to make out and organize everything else. Sometimes a small stores have a small floor space, so well thought out arrangement of furniture and commercial equipment is crucial to the success of the business. By using the ConceptDraw Floor Plans solution you can make a floor plan for your store quickly and effortlessly.Store Layout Software *
Picture: Store Layout Software
Related Solution:
The UML Diagrams are widely used by software developers and software engineers. They can draw the UML Diagrams manually on the paper, but it is incredibly convenient to use the special UML diagramming software. The UML diagramming software allows you to draw the UML Diagrams in a few minutes.UML Diagramming Software *
Picture: UML Diagramming Software
Related Solution:
When moving to a new apartment it is always pleasure to develop an interior design project. Nevertheless, another important part that should not be forgotten is the piping plan, because wrong piping system might ruin all the renovation. So, to avoid such problems, a stress analysis is performed. Plumbing and piping plans should be created for any premises. They are used to trace location of pipes, fixtures and valves in the house. This diagram presents a set of certified piping plan symbols for drawing plumbing and piping floor plans, diagrams and other technical drawings. Applying standard symbols when creating a piping plan is very important for creating a valid piping plan included into the building documentation pack. It is essential for any professional to be able to read and properly interpreted any piping plan.Interior Design. Piping Plan — Design Elements *
Picture: Interior Design. Piping Plan — Design Elements
Related Solution:
How to describe the necessity of using network security devices and visually illustrate this information? Now, it's very easy thanks to the ConceptDraw DIAGRAM diagramming and vector drawing software extended with Network Security Diagrams Solution from the Computer and Networks Area of ConceptDraw Solution Park.Network Security Devices *
Picture: Network Security Devices
Related Solution:
ConceptDraw DIAGRAM extended with IDEF Business Process Diagrams solution from the Business Processes area of ConceptDraw Solution Park is an ideal software for effective database design and drawing IDEF diagrams visually representing all steps of database design process.Database Design *
Picture: Database Design
Related Solution:
ConceptDraw DIAGRAM is a powerful intelligent vector graphics engine that can be used to create basic diagrams including flowcharts, charts, workflows, flowcharts, organizational charts, business diagram, learn business diagrams, flow diagrams.The Best Mac Software for Diagramming or Drawing
Picture: The Best Mac Software for Diagramming or Drawing
Related Solution:
ConceptDraw
DIAGRAM 18