Edc

1,224 views
1,005 views

Published on

Published in: Education, Business, Technology
0 Comments
4 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,224
On SlideShare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
70
Comments
0
Likes
4
Embeds 0
No embeds

No notes for slide

Edc

  1. 1. Presentation on logic gates andits applications
  2. 2. History of logic gates The first logic gates were developed around 1837 and were of mechanical form. For most of that century, these gates went through much development until Nikola Tesla developed circuit-based logic in 1898. Furthermore, Boolean algebra was introduced to circuit analysis during the mid-19th century and shaped the way people interpret this logic today
  3. 3.  There are many different types of logic in electronics, where gates are made up of many different devices such as diodes, relays transistors, and most importantly, integrated circuits (ICs).
  4. 4. Variations of logic gatesOne of the biggest decisions to make when dealing with Boolean logic is deciding which gates to use to compare your logic inputs. Here is a breakdown of different types of logic gates including their output truth tables when two Boolean inputs exist:
  5. 5. AND GateThe AND gate compares in a waythat the output is high only if both inputsare high.
  6. 6.  OR Gate The OR gate will have a high output for all input cases except when both inputs are low.
  7. 7. NOT gate (inverter)The output Q is true when the input A is NOT true,the output is the inverse of the input: Q = NOT A A NOT gate can only have one input. A NOT gate isalso called an inverter.
  8. 8. NAND gate (NAND= Not AND) This is an AND gate with the output inverted, as shown by the o on the output.  The output is true if input A AND input B are NOT both true: Q = NOT (A AND B)  A NAND gate can have two or more inputs, its output is true if NOT all inputs are true.
  9. 9. NOR gate (NOR = Not OR) This is an OR gate with the output inverted, as shown by the o on the output.  The output Q is true if NOT inputs A OR B are true: Q = NOT (A OR B)  A NOR gate can have two or more inputs, its output is true if no inputs are true.
  10. 10. EX-OR (EXclusive-OR) gateThe output Q is true if either input A is true OR input B istrue, but not when both of them aretrue: Q = (A AND NOT B) OR (B AND NOT A) This is like an OR gate but excluding both inputs beingtrue. The output is true if inputs A and B are DIFFERENT. EX-OR gates can only have 2 inputs.
  11. 11. EX-NOR (EXclusive-NOR) gateThis is an EX-OR gate with the output inverted, as shownby the o on the output. The output Q is true if inputs A and B are the SAME (bothtrue or bothfalse): Q = (A AND B) OR (NOT A AND NOT B) EX-NOR gates can only have 2 inputs.
  12. 12. Applications Simple application of NAND gate The application discussed here is that of a door closing system of an automobile. A car needs to be so designed that the driver gets a visual indication if any of the doors of the car is open so that it helps to avoid accident and injury to the passengers. Assuming there are two doors (just for simplicity, it works for more doors as well) where this system is fitted, the circuit can be designed using a NAND gate as follows
  13. 13.  You can see from the figure that when any of the switches is open due to the door position, the NAND gate energies the lamp inside the car, hence warning the driver. A Car Door Open Warning System using a NAND Gate
  14. 14. This truth table gives us the behaviour oflamp inside the car when any one the doorsare opened
  15. 15. 2) Fire Alarm system ( OR gate )
  16. 16. (3) Fire Control systemAND gate & OR gate
  17. 17. Some more examples Below is the logic gate for a simple house alarm. The alarm protects the front and back doors and six windows. Once the alarm is set if any of the doors or windows are opened the alarm will sound.

×