Azar Animon Logic Report 1-Compressed
Azar Animon Logic Report 1-Compressed
Date : 2022…………
AND, OR, NAND, NOR logic gates 1
Measuring method:
Wire the button box and relay box and power supply correctly according to
the color code (data sheet).
Measuring tasks:
Determine the operating states of the each different logic gates. Please draw
the VENN diagrams of different logic gate. Draw truth tables. Draw the logic
gates symbolic mark of EU and US standard. Implement the logic functions
with relays circuits. Describes the functions of the logic gates.
de Morgan theorem: = +
S2 closed button
the logical functions implement by relays contacts (serial , parallel or both circuit)
OR GATE:
NOR GATE:
Left A,Right B
Left A, Right B
AND GATE:
(Fig 1)
When both switches are open it can be observed that the input being
made is S1=0 and S2=0, This results in the X (output) being 0 as it is off.
(can be observed in above fig 1)
AND, OR, NAND, NOR logic gates 4
(Fig 2)
When one switch is closed (either S1=0 and S2=1 or vice-versa) the X
results in 0 as well, with the light being closed. (Seen in fig 2 above)
(Fig 3)
When both switches are closed the input made is S1=1 and S2=1, this
results in X being 1. What we can determine from this is that both
events, S1 and S2, must occur and input 1 in order for the event to be
satisfied and a output to occur. (Note Fig 3)
NAND Gate:
AND, OR, NAND, NOR logic gates 5
(Fig 4)
Here the relays used are normally closed there fore the significance of
the switches are varied. When closed the relay’s electromagnet is
energized and pulls the contact, disconnecting the circuit.
However this will not change the input values of the switch, so open is
still 0 and closed is still 1.
When both switches are open it can be observed that the input being
made is S3=0 and S4=0, however unlike the AND gate the X output
received is 1 resulting in the light to be active/ on. (seen in above; Fig 4)
AND, OR, NAND, NOR logic gates 6
(Fig 5)
(Fig 6)
However, when both switches are open it can be seen that the output is
0 with the light being on. (Seen in Fig 6)
Comparing these results with the AND gate it can be noticed that the
events that allow for a positive output is the opposite of the AND gate
therefore it can be concluded that it is a NOT AND gate or NAND for
short. It will allow for any combination of inputs except for both inputs
being 1 (true).
OR GATE:
AND, OR, NAND, NOR logic gates 7
(Fig 7)
Similar to AND and NAND gates OR gates have 2 inputs as well and so
we can follow the same system where 1 is closed and 0 is open.
When both switches are open it can be observed that the input being
made is S1=0 and S2=0, this results in an output of X being 0 with the
light being switched off. Therefore when the events are both false the
event is not met.(seen in Fig 7)
(Fig 8)
AND, OR, NAND, NOR logic gates 8
When either switch is closed, the output X is 1, with the light being
switched on. (Fig 8; above)
(Fig 9)
When both switches are closed it can be seen that the output remains 1
with the light being on. (Seen in Fig 9)
From these results the required conditions can be determined being that
only one inputs need to be true for the output of the OR gate to be
positive.
NOR GATE:
AND, OR, NAND, NOR logic gates 9
`
(Fig 10)
Similar to the NAND GATE the circuit above uses normally closed
relays.
When both switches are open it can be observed that the input being
made is S3=0 and S4=0 once again, however now the output made is X=1
where the light is on.( Shown on fig 10)
AND, OR, NAND, NOR logic gates 10
(Fig 11)
When either input is true, the output of X is 0, with the switch being off.(
seen in Fig 11)
(Fig 12)
And finally it can be seen that when both inputs are true/ 1 the output of
X is 0.( Seen in Fig 12)
Conclusion:
From these circuits and truth tables we can see the purpose of the logic
gates are to permit and accept specific combination of events from
occurring in for a specific event to take place. These gates allow
operations on larger scales to run smoothly and reduce the requirement
of human intervention. A combination of these logic gates can allow for
more complex inputs to be taken into consideration and provide a much
more accurate response to a problem or task. These are a vital
component and concept in electrical engineering as well as
mechatronical engineering that allows for many advancments to be
made.
AND, OR, NAND, NOR logic gates 11
NAND Gate: Anti theft system that is triggered (outputting 0) when any
discrepancy found
NOR Gate:
Can be used in a mixer tank to control the amount of liquid/ingredients
dispensed within the tank.
AND, OR, NAND, NOR logic gates 12
Using the Button box to Power supply to physically recreate logic gates:
AND GATE:
Video Explanation of how the AND gate functions and proving its
functionality:
NAND GATE:
Video Explanation of how the NAND gate functions and proving its
functionality:
VID_20230921_150520456.mp4
OR GATE:
Video Explanation of how the OR gate functions and proving its functionality:
AND, OR, NAND, NOR logic gates 14
VID_20230921_152635038.mp4
NOR GATE:
Signature: