1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Elis [28]
3 years ago
10

Vending machine controller (adapted from Katz, "Contemporary Logic Design") Design and implement a finite state machine that con

trols 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.

Engineering
1 answer:
babunello [35]3 years ago
6 0

Answer:

Check the explanation

Explanation:

A vending machine controller is that type of machine that comes with a single serial port on the same chip as the programmable processor. The controller comprises of a port arbitrator that selectively attaches or links one of a number of serially communicating devices to this single serial port.

Kindly check the attached image to get the step by step explanation to the above question.

You might be interested in
A structural component in the form of a wide plate is to be fabricated from a steel alloy that has a plane-strain fracture tough
jeyben [28]

Complete question:

A structural component in the form of a wide plate is to be fabricated from a steel alloy that has a plane strain fracture toughness of 98.9 MPa root m (90 ksi root in.) and a yield strength of 860 MPa (125,000 psi). The flaw size resolution limit of the flaw detection apparatus is 3.0 mm (0.12 in.). If the design stress is one-half of the yield strength and the value of Y is 1.0, determine whether or not a critical flaw for this plate is subject to detection.

Answer:

Since the flaw 17mm is greater than 3 mm the critical flaw for this plate is subject to detection

so that critical flow is subject to detection  

Explanation:

We are given:

Plane strain fracture toughness K = 98.9 MPa \sqrt{m}

Yield strength Y = 860 MPa

Flaw detection apparatus = 3.0mm (12in)

y = 1.0

Let's use the expression:

oc = \frac{K}{Y \sqrt{pi * a}}

We already know

K= design

a = length of surface creak

Since we are to find the length of surface creak, we will make "a" subject of the formula in the expression above.

Therefore

a= \frac{1}{pi} * [\frac{k}{y*a}]^2

Substituting figures in the expression above, we have:

= \frac{1}{pi} * [\frac{98.9 MPa \sqrt{m}} {10 * \frac{860MPa}{2}}]^2

= 0.0168 m

= 17mm

Therefore, since the flaw 17mm > 3 mm the critical flow is subject to detection  

3 0
3 years ago
Read 2 more answers
Two technicians are discussing cylinder- testing. Technician A says that when testing the power level of a specific cylinder usi
konstantin123 [22]

Answer:

The answer is "Both Technician A and Technician B".

Explanation:

The cylinder Testing is intended to assess locomotive inconsistency in CNS rodents, for example, whenever the animal moves within a transparent plastic tube, its preliminary activity is registered as it rises against the stadium wall.

In the given question both technicians are correct because both are reliable ways to check cylinders and the influence of the belief if every pathway has many more advantages than each other.

6 0
3 years ago
A spacecraft at rest has moment of inertia of 100 kg-m^2 about an axis of interest. If a 1 newton thruster with a 1 meter moment
Kazeer [188]

To solve this problem we will apply the concepts related to translational torque, angular torque and the kinematic equations of angular movement with which we will find the angular displacement of the system.

Translational torque can be defined as,

\tau = Fd

Here,

F = Force

d = Distance which the force is applied

\tau = (1N)(1m)

\tau = 1N\cdot m

At the same time the angular torque is defined as the product between the moment of inertia and the angular acceleration, so using the previous value of the found torque, and with the moment of inertia given by the statement, we would have that the angular acceleration is

\tau = I\alpha

\alpha = \frac{\tau}{I}

\alpha = \frac{1N\cdot m}{100kg\cdot m^2}

\alpha = 0.01rad/s^2

Now the angular displacement is

\theta = \omega_0 t + \frac{1}{2}\alpha t^2

Here

\omega_0= Initial angular velocity

t = time

\alpha =Angular acceleration

\theta= Angular displacement

Time is given as 1 minute, in seconds will be

t = 1m = 60s

There is not initial angular velocity, then

\theta= \frac{1}{2}\alpha t^2

Replacing,

\theta= \frac{1}{2}(0.01)(60)^2

\theta = 18rad

The question neglects the effect of gravitational force.

4 0
3 years ago
An engineer is applying dimensional analysis to study the flow of air through this horizontal sudden contraction for the purpose
navik [9.2K]

Answer:

The answer is " \Delta p = f(V1, p, V2, d, D, L)"

Explanation:

Please find the complete question in the attached file.

Its change in temperature in pipes depends on rate heads and loss in pipes owing to pipe flow, contractual loss, etc.

The temperature change thus relies on V1 v2 p d D L.

4 0
3 years ago
Where can you go to find the system requirements?
SSSSS [86.1K]

Answer:c

Explanation:

yea, jus go to the systems help center then youll be confronted with a talks. person n they'll walk u threw it.

8 0
1 year ago
Other questions:
  • Ignoring any losses, estimate how much energy (in units of Btu) is required to raise the temperature of water in a 90-gallon hot
    6·1 answer
  • Water of dynamic viscosity 1.12E-3 N*s/m2 flows in a pipe of 30 mm diameter. Calculate the largest flowrate for which laminar fl
    13·1 answer
  • Which option identifies the step of the implementation phase represented in the following scenario?
    9·2 answers
  • PLZZ HELP
    14·2 answers
  • Which of these credit building options do you personally think is the easiest method that you can see yourself doing? Explain yo
    8·1 answer
  • What is the function rule for the line? f(x)=−32x−2f(x)=−23x−2f(x)=32x−2f(x)=−32x+2A coordinate grid with x and y axis ranging f
    6·1 answer
  • Fast plz-The mirror check may involve ______________.
    8·1 answer
  • Identify the prefixes used in the International System of
    15·1 answer
  • Why do wires hang loosely during summer?
    9·1 answer
  • Two technicians are discussing a vehicle that cranks slowly when the key is turned to the crank position. The positive battery t
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!