subject
Engineering, 06.05.2020 03:12 Akkenson17871

Vending machine controller (adapted from Katz, "Contemporary Logic Design") Design and implement a finite state machine that controls a vending machine. The vending machine sells packages of gum that cost 15 cents each. The machine accepts nickels (5 cents) and dimes (10 cents). After someone has inserted 15 cents, the FSM will send an output signal to a mechanical system that releases a package of gum. If a customer inserts 20 cents (two dimes, they will get a pack of gum but they will not receive any change back. In addition to standard reset and clock signals, your FSM will have two input signals: N and D. N is asserted when the customer has inserted a nickel and D is asserted when the customer inserts a dime. (You can assume that both can never be asserted at the same time. The system has one output Y, which indicates that the mechanical system should dispense the gum. After the system outputs Y = 1 for one clock cycle, it returns to its initial state for the next customer.

(a) Draw a Moore-style state diagram that shows the function of your system. (Hint: you can do it in only four states.)
(b) Choose a state encoding to use and indicate it clearly. Use full binary encoding, that is, make your four states have values 00, 01, 10, and 11. Here, give a table that shows which encoding value you will use for each of the states in your state machine.
(C) Draw the binary encoded state table. That is, make a table that shows how Q1, Q, and Y relate to Qı, Qo, N, and D.
(d) Write and simplify Boolean expressions for Q1, Q., and Y.. about the system's reset.

ansver
Answers: 3

Another question on Engineering

question
Engineering, 04.07.2019 18:10
Acompressor receives the shaft work to decrease the pressure of the fluid. a)- true b)- false
Answers: 3
question
Engineering, 04.07.2019 18:10
Consider a large isothermal enclosure that is maintained at a uniform temperature of 2000 k. calculate the emissive power of the radiation that emerges from a small aperture on the enclosure surface. what is the wavelength ? , below which 10% of the emission is concentrated? what is the wavelength ? 2 above which 10% of the emission is concentrated? determine the wavelength at which maximum spectral emissive power occurs. what is the irradiation incident on a small object placed inside the enclosure?
Answers: 2
question
Engineering, 04.07.2019 18:10
Which of the following ziegler nichols tuning methods the response of the controller to a step input should exhibit an s-shaped curve? a)-open loop mode b)-closed loop mode c)-both modes (open & closed) d)-none of the modes (open & closed)
Answers: 3
question
Engineering, 04.07.2019 18:10
Calculate the bore of a cylinder that has a stroke of 18 inches and an extension time of 6 seconds at a flow rate of 4 gal/min.
Answers: 3
You know the right answer?
Vending machine controller (adapted from Katz, "Contemporary Logic Design") Design and implement a f...
Questions
question
Mathematics, 18.08.2019 23:00
question
Biology, 18.08.2019 23:00
question
Mathematics, 18.08.2019 23:00
Questions on the website: 13722360