Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

CAN YOU MAKE A COMPLETED DIAGRAM WITH GATES , SO I CAN BUILD IT ON BREADBOARD ( CHANGE THE DIAGRAM BELOW TO BE 1 INPUT

CAN YOU MAKE A COMPLETED DIAGRAM WITH GATES, SO I CAN BUILD IT ON BREADBOARD (CHANGE THE DIAGRAM BELOW TO BE 1 INPUT AND 3 OUTPUTS AND USE 74LS163)

Design and implement a finite state machine which controls the operation of an elevator in a 2-story building.

The finite state machine (FSM) has 1 input:

1.enable (enables operation of elevator)

The FSM has three outputs:

1.door (if door == 0, door is closed if door == 1, door is open)

2.Current floor number (Use an LED, the two states (ON/OFF) of the LED represents the two floors).

3.Moving (display that the elevator is moving)

a. The operation of the elevatoris as follows:

b. The elevator must begin in an idle state (on one of the two valid floors) with the door closed.

c. The user should set/reset the enable input

d. When the user sets the enable input, the elevator should perform the following sequence:

- Open the door for 4 seconds

- Close the door

- Move the elevator to the destination floor in 4seconds and display the current floor number using an LED

- Open the door for 4 seconds

- Close the door

- Go to Idle state

e. Remain in the same floor if enable input is reset. Repeat the sequence ifthe enable input is set.

f. The elevator will complete the sequence if enable signal is reset in the middle of the sequence.

g. Assume that the clock frequency is 4Hz

Hints:

1.The counter 74LS163 can be used to calculate the duration of stay at any state.If the clock frequency is assumed to be 4 Hz, then the wait of 4 seconds can be accomplished by counting from 0 to 15. The Terminal count (TC) output of the counter can be usedto trigger the end of 16 clock pulses and to move to the next state.The counter can be controlled using two signals: Count Enable Trickle Input (CET) and Synchronous Reset (SR). At any time only one of the two signals need to be activeto achieve the functionality required for this problem.

2.If the floors are numbered 0 and 1, the floor numbers can be stored using a flip flop. If T-flip flop is used to store the floor numbers, it is sufficient to generate a trigger to change the floor numbers.

3.The outputs door open/closed and moving depends only on the current state. The floor # can be controlled using the combination of the current state and the Terminal count (TC) output of the counter.

4.We recommend using two separate states forthe door open/closed functionality in your FSM design. Onestate to represent door open/closed before moving the elevator and one state to represent door open/closed after reaching the destination floor.

image text in transcribed

Start B'AUD B Toggl Down down UP BAU'D DOUWN BAUD BAUD HE Run Set Alam [- Door B Toggle Door AToggle reset

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Concepts of Database Management

Authors: Philip J. Pratt, Joseph J. Adamski

7th edition

978-1111825911, 1111825912, 978-1133684374, 1133684378, 978-111182591

More Books

Students also viewed these Databases questions

Question

=+describe the nine compositional modes needed for electronic media

Answered: 1 week ago