ASSIGNMENT AUTOMATION

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 6

Step 1: Summarize the data.

The following figure shows a tank with three discrete sensors : pressure switch, level switch and
temperature switch.

The following three combinations must activate an alarm:

 High level with high temperature.


 High level with high pressure.
 Low level with high temperature and high pressure.

We need to do the following


2.1 Draw the truth table.
2.2 Write the Boolean equation.
2.3 Draw the electrical circuit.
Step 2: 2.1. Draw the truth table.
Let the pressure switch, level switch and temperature switches be P, L and T respectively.
Let us consider HIGH as logic '1' and LOW as logic '0'.
Let the output alarm be F.
The truth table is
Input sensors Alarm output
L P T F
0 0 0 0
0 0 1 0
0 1 0 0
0 1 1 1
1 0 0 0
1 0 1 1
1 1 0 1
1 1 1 1

Step 3: 2.2. Write the Boolean equation.


The K-map is

In order to write the Boolean expression in sum of products form, we have to consider only the
outputs which are having logic '1'.
Red box ⇒PT
Green box ⇒LT
Blue box ⇒LP
The Boolean equation for alarm output is
⇒F=PT+LT+LP.
arrow_forward
Step 4: 2.3. Draw the electrical circuit.
The electrical circuit is

arrow_forward
Solution
2.1.
The truth table is
Input sensors Alarm output
L P T F
0 0 0 0
0 0 1 0
0 1 0 0
0 1 1 1
1 0 0 0
1 0 1 1
1 1 0 1
1 1 1 1
2.2.
The Boolean equation for alarm output is
⇒F=PT+LT+LP.
2.3.
The electrical circuit is

You might also like