GO-Ve01
ServicesDevelopersBooksDictionaryPapersWikidataEncyclopediaSearchBabelCareersDeck

Finite-state machine

In theoretical computer science, a finite-state machine (FSM) or finite-state automaton (FSA, plural: automata), finite automaton, or simply a state machine, is a mathematical model of computation. It is an abstract machine that can be in exactly one of a finite number of states at any given time. The FSM can change from one state to another in response to some inputs; the change from one state to another is called a transition. An FSM is defined by a list of its states, its initial state, and the inputs that trigger each transition. Finite-state machines are of two types—deterministic finite-state machines and non-deterministic finite-state machines. For any non-deterministic finite-state... Source: e01 Encyclopedia. Licence: CC BY-SA 4.0.

In theoretical computer science, a finite-state machine (FSM) or finite-state automaton (FSA, plural: automata), finite automaton, or simply a state machine, is a mathematical model of computation. It is an abstract machine that can be in exactly one of a finite number of states at any given time. The FSM can change from one state to another in response to some inputs; the change from one state to another is called a transition. An FSM is defined by a list of its states, its initial state, and the inputs that trigger each transition. Finite-state machines are of two types—deterministic finite-state machines and non-deterministic finite-state machines. For any non-deterministic finite-state machine, an equivalent deterministic one can be constructed. The finite-state machine has less computational power than some other models of computation such as the Turing machine. The computational power distinction means there are computational tasks that a Turing machine can do but an FSM cannot. This is because an FSM's memory is limited by the number of states it has. A finite-state machine has the same computational power as a Turing machine that is restricted such that its head may only perform "read" operations, and always has to move from left to right. FSMs are studied in the more general field of automata theory. Some physical realizations of FSM produce outputs, which are often used as control signals to perform certain actions. The behavior of state machines can be observed in many devices in modern society that perform a predetermined sequence of actions depending on a sequence of events with which they are presented. Simple examples are vending machines, which dispense products when the proper combination of coins is deposited; elevators, whose sequence of stops is determined by the floors requested by riders; traffic lights, which change sequence when cars are waiting; and combination locks, which require the input of a sequence of numbers in the proper order. ===Electronic === for a 4-bit TTL counter, a type of state machine When implemented as a digital circuit, a finite-state machine (FSM) may be built using logic gates and flip flops, a programmable logic controller, or relays. Every such FSM requires a register to store the current state, combinational logic that determines the next state, and in many cases, combinational logic that converts the current state to FSM output signals. Electronic FSMs are classified according to their general architecture. The output of a Mealy machine is a function of both its input signals and current state, whereas the output of a Moore machine is strictly a function of its current state. In a Medvedev machine, which is a subclass of Moore machines, the output logic is excluded and the state register is directly used as FSM output, thus minimizing the time delay between state transition and output change. Through state encoding for low power state machines may be optimized to minimize power consumption. ==Sources==

source: e01 Encyclopedia · licence: CC BY-SA 4.0 · page · source revision

Cite this

"Finite-state machine". 1787228951. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1370332220

JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy

Save to pass ·