Assignment
Assignment
5)
Submitted By:
M.K. Ataul Karim
ID: 163001112
Submission Date: 21st July, 2020.
Design a logic circuit that controls an elevator door in a three-story building.
The circuit has four inputs. M is a logic signal that indicates when the elevator
is moving (M = 1) or stopped (M = 0). F1, F2, and F3 are floor indicator signals
that are normally LOW, and they go HIGH only when the elevator is positioned
at the level of that particular floor. For example, when the elevator is lined up
level with the second floor, F2 = 1 and F1 = F3 = 0. The circuit output is the
OPEN signal, which is normally LOW and will go HIGH when the elevator
door is to be opened. (Hint: Use K-map)
Answer:
From the statement we realize that the lift can’t be lined up more than each
floor at a time, just one of the floor source of info can be HIGH at some random
time. This implies, we can consider each one of those cases in truth table where more
than one floor input is a ‘1’ are don’t care conditions. So we can put X in the OPEN
output for those cases. So, when M=1, the elevator is moving, this is no matter that
only one of the floor inputs is high at any given time, the output OPEN must be a 0.
In other case when M=0, the elevator is stopped & only one of the floor inputs is
high at any given time the output OPEN must be a 1 and when M=0, the elevator is
stopped but all inputs are 0 indicates that is not properly lined up with any floor the
output OPEN must be a 0.
So, first we have to create the truth table of this statement then we find the
minimize equation using K-map. After doing all this we check the equation in DSCH
software from there we find a timing diagram. We can easily know is the equation
right or wrong by seeing the timing diagram.
Here is the truth table of this statement:
M F1 F2 F3 Outputs
0 0 0 0 0
0 0 0 1 1
0 0 1 0 1
0 0 1 1 X
0 1 0 0 1
0 1 0 1 X
0 1 1 0 X
0 1 1 1 X
1 0 0 0 0
1 0 0 1 0
1 0 1 0 0
1 0 1 1 X
1 1 0 0 0
1 1 0 1 X
1 1 1 0 X
1 1 1 1 X
Now we have to find the equation by using K-map :