Question
QUESTION Draw a simple logic circuit and explain the logic circuit based on the truth table and conditions given below. Example of a simple logic
QUESTION
Draw a simple logic circuit and explain the logic circuit based on the truth table and conditions given below. Example of a simple logic circuit can be found below.
The Vacuum robot will move up and down the stairs by detecting the immediate surroundings.
Conditions
-From the problem statement, there are two different outputs (Up & Down) moving the stairs
- Let Up represents binary 1 and Down represents binary 0 since there are only two outputs
- Thus, the four different inputs are obstacle, direction, up_max and down_max.
- Obstacle: 1 if the obstacle is in the path, 0 of there is no obstacle in the path.
- Direction: This represents the current direction of movement. 1 for up and 0 for down
- Up_max: This means we have reached top of the stairs. 1 for reached at top 0 for in between the stairs
- Down_max: This input means we have reached the bottom of the stairs. 1 for max down and 0 to in between the stairs
Note: up_max and down_max are mutually exclusive. Hence, in the truth table when both are 1 and 1. Then, we should not care about the output.
Input
Input | Binary | Condition |
Obstacle | 0 | Not in the path |
| 1 | In the path |
Direction | 0 | Going Down |
| 1 | Going Up |
Up_max | 0 | In Between |
| 1 | Reached top |
Down_max | 0 | In Between |
| 1 | Reached down |
Truth Table
Obstacle | Direction | Up_max | Down_max | Up_down |
0 | 0 | 0 | 0 | 0 |
0 | 0 | 0 | 1 | 1 |
0 | 0 | 1 | 0 | 0 |
0 | 0 | 1 | 1 | X |
0 | 1 | 0 | 0 | 1 |
0 | 1 | 0 | 1 | 1 |
0 | 1 | 1 | 0 | 0 |
0 | 1 | 1 | 1 | X |
1 | 0 | 0 | 0 | 1 |
1 | 0 | 0 | 1 | 1 |
1 | 0 | 1 | 0 | 0 |
1 | 0 | 1 | 1 | X |
1 | 1 | 0 | 0 | 0 |
1 | 1 | 0 | 1 | 1 |
1 | 1 | 1 | 0 | 0 |
1 | 1 | 1 | 1 | X |
Logic circuit for the system: 0 T 0 D X (0) 0 Truth table for the system given above on output X: P T W X = PT+WT 0 0 0 0 0 0 1 0 0 0 0 0 1 1 1 1 0 0 0 1 0 1 0 1 1 0 1 1 1 1 1
Step 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