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
Balanced forces will result in which of the following
tia_tia [17]
D is the answer. Hope this helped
8 0
3 years ago
A(n)_____ is a device that provides the power and motion to manipulate the moving parts of a valve or damper used to control flu
Lesechka [4]

Answer:

Out of the four options provided

option A. actuator

is correct

Explanation:

An actuator is the only device out of the four mentioned devices that provides power and ensures the motion in it in order to manipulate the movement of the moving parts of the damper or a valve used whereas others like ratio regulator are used to regulate air or gas ratio and none mof the 3 remaining options serves the purpose

5 0
3 years ago
True or false It is legal to pass in Florida when approaching within 100 feet of or traversing any railroad crossing grade croea
Iteru [2.4K]
That is a false statement.
3 0
3 years ago
Determine the work input and entropy generation during the compression of steam from 100 kPa to 1 MPa in (a) an adiabatic pump a
Goshia [24]

Answer:

See attachment below

Explanation:

6 0
3 years ago
g If the rails are originally laid in contact, what is the stress in them on a summer day when their temperature is 31.0
Anettt [7]

A) The amount of space must be left between adjacent rails if they are just to touch on a summer day when their temperature is 31.0 °C is; 0.6048 cm

B) The stress in the rails on a summer day when their temperature is 31.0 °C is; 86.4 × 10⁶ Pa

<h3>Linear Thermal Expansion</h3>

We are given;

Length; L = 14 m

Initial Temperature; T_i = −5 °C

Final Temperature; T_f = 31 °C

The formula for Linear Thermal Expansion is;

ΔL = L_i * α * ΔT

where;

L_i is initial length

α is thermal expansion

ΔL is change in length

ΔT is change in temperature

Now, the thermal expansion of steel from online tables is α = 1.2 × 10⁻⁵ C⁻¹

Thus;

ΔL = 14 * 1.2 × 10⁻⁵  * (31 - (-5))

ΔL = 6.048 × 10⁻³ m = 0.6048 cm

The formula to get the stress is;

σ = Y * α  * ΔT

where;

Y is young's modulus of steel = 20 × 10¹⁰ Pa

α is thermal expansion

ΔT is change in temperature

Thus;

σ = 20 × 10¹⁰ × 1.2 × 10⁻⁵ × (31 - (-5))

σ = 86.4 × 10⁶ Pa

The complete question is;

Steel train rails are laid in 14.0-m long segments placed end to end. The rails are laid on a winter day when their temperature is −5 °C.

(a) How much space must be left between adjacent rails if they are just to touch on a summer day when their temperature is 31.0 °C?

(b) If the rails are originally laid in contact, what is the stress in them on a summer day when their temperature is 31.0 °C?

Read more about Linear Thermal Expansion at; brainly.com/question/6985348

4 0
2 years ago
Other questions:
  • The screw of shaft straightener exerts a load of 30 as shown in Figure . The screw is square threaded of outside diameter 75 mm
    5·1 answer
  • Is it more difficult to pump oil from a well on dry land or a well under water?Why?
    11·1 answer
  • A decorative fountain was built so that water will rise to a hieght of 8 feet above the exit of the pipe. the pipe is 3/4 diamet
    5·1 answer
  • Water is flowing in a metal pipe. The pipe OD (outside diameter) is 61 cm. The pipe length is 120 m. The pipe wall thickness is
    9·1 answer
  • A combined gas-steam power cycle uses a simple gas turbine for the topping cycle and a simpleRankine cycle for the bottoming cyc
    8·1 answer
  • What is the t max for a carbon steel heater tube?
    8·1 answer
  • A series of end-milling cuts is currently used to produce an aluminum part that is an aircraft component. The purpose of the mac
    14·1 answer
  • I love touching the atmospheres crest
    8·1 answer
  • Technician A says the compressor is the dividing line of the refrigeration system, low- to high-side. Technician B says the expa
    6·1 answer
  • Read the passage.
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!