Question
Design a finite state machine to control a device which consists of five sensors lined up in a row, controlled by the finite state machines
Design a finite state machine to control a device which consists of five sensors lined up in a row, controlled by the finite state machines outputs Zero, One, Two, Three, and Four. The five sensors scan an area outside a building. Each sensor scans one part of that area. When the sensors output is one, it is scanning its area, and when the sensors output is zero, it is not scanning its area. Only one sensor is on at a time meaning that each sensor takes a turn at being the sensor that is currently on. This turn taking follows a backand-forth motion going from left to right and then going from right to left. It is this motion that the finite state machine controls. The clock speed (which you do not need to know) regulates the rate of the motion. There are no inputs for the finite state machine. a. Draw the State Diagram for the controller
b. Then, name the states of the controller and assign state numbers to the states in the state mapping table.
c.Then, use the state mapping table and your state diagram to complete the next state function and output function truth tables on page 5 of your answer document. Use dont cares (X) for inputs and outputs as needed.
d. Finally, write the simplified Boolean equation for the outputs (NS0, NS1, and NS2) of the next state function and the outputs (Zero, One, Two, Three, and Four) for the output function. NOTE : READ ME : PLEASE USE THE TABLES BELOW TO FULFILL THE QUESTION REQUIREMENT: PLEASE PLEASE
State Mapping Table for the Sensor Device Finite State Machine Controller: Next State Function Truth Table for the Sensor Device Finite State Machine Controller. Output Function Truth Table for the Sensor Device Finite State Machine Controller
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started