Question
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.
Start B'AUD B Toggl Down down UP BAU'D DOUWN BAUD BAUD HE Run Set Alam [- Door B Toggle Door AToggle resetStep 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