SlideShare a Scribd company logo
1 of 3
Download to read offline
2. DIODE LOGIC CIRCUITS
        The switch in a logic circuit can be implemented with an electromagnetic relay. However, a
relay is not a fast acting device. Therefore, it is not suitable for high-speed switching action. We
use electronic devices for high-speed switching. The simplest of all electronic devices is the diode.
It operates in one of the two states depending upon the voltage drop across it. An ideal diode acts
as a short circuit (closed switch) when it is forward biased. A reverse biased diode acts as an open
circuit (open switch).
                          A
                                                                   C
                          B


                                                           R




Figure 2.1: A two-diode OR gate


                                    2.1     A Two-Diode OR Gate
        A simplest possible two-diode OR circuit is shown in Figure 2.1. In our discussion, let us
model the diode by an ideal diode in series with a forward voltage drop of 0.7 V. When both the
inputs A and B are zero and the supply voltage is also zero, then the output is also zero and
neither diode is conducting. All possible outcomes for the two-diode OR logic are given below
when the low value of either input is zero and high value is 5 V. Instead of grounding the one end
of the resistor, it could have also been connected to a negative supply as well.


                      Voltages, V             Corresponding                truth table
                 A        B         C                                  A       B         C
                 0        0         0                                  0       0         0
                 0        5         4.3                                0       1         1
                 5        0         4.3                                1       0         1
                 5        5         4.3                                1       1         1

        The truth table is based upon the understanding that the output voltage is considered high
[1] as long as it is at least 4.3 V and low [0] whenever it is less than or equal to 0.7 V.



Guru/LGCkts/DiodeLogic/ March 20, 2006              8                                         Logic Circuits
2.2 A Two-Diode AND Gate
        A two-diode AND gate is shown in Figure 2.2. In this case, let us assume that + VD = + 5
V. The minimum value of each signal is zero and the maximum value is 5 V. Let us assume that
the input signal A is high (5 V) and B is low (0 V). The current can now flow from the 5-V supply
through R and the diode D2. Thus, the output voltage is 0.7 V assuming that the diode voltage drop
is 0.7 V. Likewise the output voltage would also be 0.7 V when A is low and B is high. The current
in the circuit will now complete its path through D1. When both inputs are set at their low values and
the two diodes are identical, the current will divide equally between the two diodes and the output
voltage will be 0.7 V. The output voltage would be 5 V only when both input signals are set at their
high values (5 V). These are the traits of an AND gate and the entire logic is tabulated below.
                                                              + VD = 5 V



                                                                     R
                                                       D1

                                     A                                            C

                                                       D2

                                      B

                                     Figure 2.2: A Diode AND Gate


                      Voltages, V            Corresponding               truth table
                 A        B          C                               A        B        C
                 0        0          0.7                             0        0        0
                 0        5          0.7                             0        1        1
                 5        0          0.7                             1        0        1
                 5        5          5                               1        1        1

        In this case, the truth table is based upon the fact that the output voltage is zero [0] when it
is less than or equal to 0.7 V. Once again, when the output voltage is greater than or equal to 4.3
V, the output voltage is high [1].




Guru/LGCkts/DiodeLogic/ March 20, 2006             9                                        Logic Circuits
2.3 Diode Logic For the Special Distributive Law
        Let us develop the diode circuit for the special distributive law
                          (A + B) (A + C) = A + B C
        Figure 2.3 shows the diode logic circuit based upon the left-hand side of the above
equation. This circuit employs two OR circuits; one for A+B and the other for A+C. The output of
these OR circuits is the input to the AND circuit. The output F of the AND circuit provides us the
desired logic. The truth table is given on Page-7. Let us check for one of the condition in the truth
table to illustrate the technique.
        Let us assume that the minimum voltage of each signal is zero and the maximum is 5 V.
Let us select the condition when A = 0, B = 5 V and C = 0. The expected output should be low. Let
us assume that each diode has a forward voltage drop of 0.7 V when it is conducting.


                                                                               +5V
                                          D1
                                                                D5
                                                       D

                             B                             R
                                          D2                                       R
                 A
                                                                                          F
                                          D3       -5V
                                                       E
                             C
                                                               D6
                                                           R
                                         D4



                                                  -5V
                          Figure 2.3: Diode logic for (A + B) (A + C)


        Since A = 0 and C = 0, D3 and D4 are ON and the voltage level at E is – 0.7 V. Since B =
5 V, the voltage level at D is 4.3 V. Thus, D2 is ON and D1 is OFF. Since the voltage at E is lower
than that at D, D6 is ON; D5 is OFF; and the voltage level at F is 0 V. You can select another
condition from the truth table and verify the outcome.




Guru/LGCkts/DiodeLogic/ March 20, 2006            10                                       Logic Circuits

More Related Content

What's hot

296779866 c-b-s-e-class-12-physics-project-on-logic-gates
296779866 c-b-s-e-class-12-physics-project-on-logic-gates296779866 c-b-s-e-class-12-physics-project-on-logic-gates
296779866 c-b-s-e-class-12-physics-project-on-logic-gatesAnuragSharma530
 
Physics investigatory project
Physics investigatory projectPhysics investigatory project
Physics investigatory projectAbhinav Kumar
 
physics investigatory on logic gates
physics investigatory on logic gatesphysics investigatory on logic gates
physics investigatory on logic gatesMoviesBuzz1
 
verification of logic gates cbse class 12
verification of logic gates cbse class 12verification of logic gates cbse class 12
verification of logic gates cbse class 12Kirthi Kirthu
 
Physics investigatory project { LOGIC GATES} CLASS XII
Physics investigatory project  { LOGIC GATES} CLASS XIIPhysics investigatory project  { LOGIC GATES} CLASS XII
Physics investigatory project { LOGIC GATES} CLASS XIIavneesh1234
 
logic gates using IC cbse class 12
logic gates using IC cbse class 12logic gates using IC cbse class 12
logic gates using IC cbse class 12Kirthi Kirthu
 
Semiconductor Devices Class 12 Part-4
Semiconductor Devices Class 12 Part-4Semiconductor Devices Class 12 Part-4
Semiconductor Devices Class 12 Part-4Self-employed
 
Project on logic And Gate
Project on logic And GateProject on logic And Gate
Project on logic And GateAjay Yadav
 
Physics investigatory project
Physics investigatory projectPhysics investigatory project
Physics investigatory projectPrakhar Seth
 
Physics project on logic gate
Physics project on logic gatePhysics project on logic gate
Physics project on logic gateVirat Prasad
 
Logic gates 12th standard ivestigatory project
Logic gates 12th standard ivestigatory projectLogic gates 12th standard ivestigatory project
Logic gates 12th standard ivestigatory projectJaipuriar School
 
Electronic Circuits
Electronic  CircuitsElectronic  Circuits
Electronic Circuitsgavhays
 
Class 12 Physics Investigatory Project Work, Practical- study of various logi...
Class 12 Physics Investigatory Project Work, Practical- study of various logi...Class 12 Physics Investigatory Project Work, Practical- study of various logi...
Class 12 Physics Investigatory Project Work, Practical- study of various logi...Kendriya Vidyalaya
 
Logic Gates Class 12
Logic Gates Class 12Logic Gates Class 12
Logic Gates Class 12RithuJ
 
Logic gate class 12
Logic gate class 12Logic gate class 12
Logic gate class 12Nipun Shah
 

What's hot (19)

296779866 c-b-s-e-class-12-physics-project-on-logic-gates
296779866 c-b-s-e-class-12-physics-project-on-logic-gates296779866 c-b-s-e-class-12-physics-project-on-logic-gates
296779866 c-b-s-e-class-12-physics-project-on-logic-gates
 
Physics investigatory project
Physics investigatory projectPhysics investigatory project
Physics investigatory project
 
physics investigatory on logic gates
physics investigatory on logic gatesphysics investigatory on logic gates
physics investigatory on logic gates
 
verification of logic gates cbse class 12
verification of logic gates cbse class 12verification of logic gates cbse class 12
verification of logic gates cbse class 12
 
Physics investigatory project { LOGIC GATES} CLASS XII
Physics investigatory project  { LOGIC GATES} CLASS XIIPhysics investigatory project  { LOGIC GATES} CLASS XII
Physics investigatory project { LOGIC GATES} CLASS XII
 
logic gates using IC cbse class 12
logic gates using IC cbse class 12logic gates using IC cbse class 12
logic gates using IC cbse class 12
 
Semiconductor Devices Class 12 Part-4
Semiconductor Devices Class 12 Part-4Semiconductor Devices Class 12 Part-4
Semiconductor Devices Class 12 Part-4
 
Project on logic And Gate
Project on logic And GateProject on logic And Gate
Project on logic And Gate
 
Or gate
Or gateOr gate
Or gate
 
Physics investigatory project
Physics investigatory projectPhysics investigatory project
Physics investigatory project
 
Physics project on logic gate
Physics project on logic gatePhysics project on logic gate
Physics project on logic gate
 
Logic gates 12th standard ivestigatory project
Logic gates 12th standard ivestigatory projectLogic gates 12th standard ivestigatory project
Logic gates 12th standard ivestigatory project
 
Electronic Circuits
Electronic  CircuitsElectronic  Circuits
Electronic Circuits
 
Class 12 Physics Investigatory Project Work, Practical- study of various logi...
Class 12 Physics Investigatory Project Work, Practical- study of various logi...Class 12 Physics Investigatory Project Work, Practical- study of various logi...
Class 12 Physics Investigatory Project Work, Practical- study of various logi...
 
Logic Gates Class 12
Logic Gates Class 12Logic Gates Class 12
Logic Gates Class 12
 
Logic gate class 12
Logic gate class 12Logic gate class 12
Logic gate class 12
 
Logic gates 07 11-2014
Logic gates 07 11-2014Logic gates 07 11-2014
Logic gates 07 11-2014
 
Experimentdsd[1]
Experimentdsd[1]Experimentdsd[1]
Experimentdsd[1]
 
Logic gates
Logic gatesLogic gates
Logic gates
 

Similar to Diode logic crkts

Similar to Diode logic crkts (20)

rekabentruk berbantu komputer Lab 4
rekabentruk berbantu komputer Lab 4rekabentruk berbantu komputer Lab 4
rekabentruk berbantu komputer Lab 4
 
Ec gate-2010
Ec gate-2010Ec gate-2010
Ec gate-2010
 
Ade manual final
Ade manual finalAde manual final
Ade manual final
 
Lab - 03
Lab - 03Lab - 03
Lab - 03
 
03
0303
03
 
Physica curckts
Physica curcktsPhysica curckts
Physica curckts
 
Exp2
Exp2Exp2
Exp2
 
Physics logic gates1
Physics logic gates1Physics logic gates1
Physics logic gates1
 
Lecture trans bias_1
Lecture trans bias_1Lecture trans bias_1
Lecture trans bias_1
 
Ee pgecet-2010
Ee pgecet-2010Ee pgecet-2010
Ee pgecet-2010
 
Bca i sem de lab
Bca i sem  de labBca i sem  de lab
Bca i sem de lab
 
Objective1
Objective1Objective1
Objective1
 
Power amplifier
Power amplifierPower amplifier
Power amplifier
 
Diode circuits-analysis
Diode circuits-analysisDiode circuits-analysis
Diode circuits-analysis
 
Electronic devices_DPP
Electronic devices_DPPElectronic devices_DPP
Electronic devices_DPP
 
BEF 12403 - Week 12 - Nodal Analysis Method.ppt
BEF 12403 - Week 12 - Nodal Analysis Method.pptBEF 12403 - Week 12 - Nodal Analysis Method.ppt
BEF 12403 - Week 12 - Nodal Analysis Method.ppt
 
Objective2
Objective2Objective2
Objective2
 
Analog electronic circuit
Analog electronic circuitAnalog electronic circuit
Analog electronic circuit
 
questions on diode analysis: Assignment6
questions on diode analysis: Assignment6questions on diode analysis: Assignment6
questions on diode analysis: Assignment6
 
Objective6
Objective6Objective6
Objective6
 

More from Hitesh Wagle

48695528 the-sulphur-system
48695528 the-sulphur-system48695528 the-sulphur-system
48695528 the-sulphur-systemHitesh Wagle
 
Fundamentals of data structures ellis horowitz & sartaj sahni
Fundamentals of data structures   ellis horowitz & sartaj sahniFundamentals of data structures   ellis horowitz & sartaj sahni
Fundamentals of data structures ellis horowitz & sartaj sahniHitesh Wagle
 
Applicationof datastructures
Applicationof datastructuresApplicationof datastructures
Applicationof datastructuresHitesh Wagle
 
Google search tips
Google search tipsGoogle search tips
Google search tipsHitesh Wagle
 
Applicationof datastructures
Applicationof datastructuresApplicationof datastructures
Applicationof datastructuresHitesh Wagle
 
Lecture notes on infinite sequences and series
Lecture notes on infinite sequences and seriesLecture notes on infinite sequences and series
Lecture notes on infinite sequences and seriesHitesh Wagle
 
Switkes01200543268
Switkes01200543268Switkes01200543268
Switkes01200543268Hitesh Wagle
 
Quote i2 cns_cnr_25064966
Quote i2 cns_cnr_25064966Quote i2 cns_cnr_25064966
Quote i2 cns_cnr_25064966Hitesh Wagle
 

More from Hitesh Wagle (20)

Zinkprinter
ZinkprinterZinkprinter
Zinkprinter
 
48695528 the-sulphur-system
48695528 the-sulphur-system48695528 the-sulphur-system
48695528 the-sulphur-system
 
Fundamentals of data structures ellis horowitz & sartaj sahni
Fundamentals of data structures   ellis horowitz & sartaj sahniFundamentals of data structures   ellis horowitz & sartaj sahni
Fundamentals of data structures ellis horowitz & sartaj sahni
 
Applicationof datastructures
Applicationof datastructuresApplicationof datastructures
Applicationof datastructures
 
Oops index
Oops indexOops index
Oops index
 
Google search tips
Google search tipsGoogle search tips
Google search tips
 
Diode logic crkts
Diode logic crktsDiode logic crkts
Diode logic crkts
 
Computer
ComputerComputer
Computer
 
Applicationof datastructures
Applicationof datastructuresApplicationof datastructures
Applicationof datastructures
 
Green chem 2
Green chem 2Green chem 2
Green chem 2
 
Convergence tests
Convergence testsConvergence tests
Convergence tests
 
Lecture notes on infinite sequences and series
Lecture notes on infinite sequences and seriesLecture notes on infinite sequences and series
Lecture notes on infinite sequences and series
 
Switkes01200543268
Switkes01200543268Switkes01200543268
Switkes01200543268
 
Cryptoghraphy
CryptoghraphyCryptoghraphy
Cryptoghraphy
 
Quote i2 cns_cnr_25064966
Quote i2 cns_cnr_25064966Quote i2 cns_cnr_25064966
Quote i2 cns_cnr_25064966
 
Pointers
PointersPointers
Pointers
 
P1
P1P1
P1
 
Notes
NotesNotes
Notes
 
Inheritance
InheritanceInheritance
Inheritance
 
Function notes 2
Function notes 2Function notes 2
Function notes 2
 

Recently uploaded

Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraDeakin University
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 

Recently uploaded (20)

Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
The transition to renewables in India.pdf
The transition to renewables in India.pdfThe transition to renewables in India.pdf
The transition to renewables in India.pdf
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning era
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 

Diode logic crkts

  • 1. 2. DIODE LOGIC CIRCUITS The switch in a logic circuit can be implemented with an electromagnetic relay. However, a relay is not a fast acting device. Therefore, it is not suitable for high-speed switching action. We use electronic devices for high-speed switching. The simplest of all electronic devices is the diode. It operates in one of the two states depending upon the voltage drop across it. An ideal diode acts as a short circuit (closed switch) when it is forward biased. A reverse biased diode acts as an open circuit (open switch). A C B R Figure 2.1: A two-diode OR gate 2.1 A Two-Diode OR Gate A simplest possible two-diode OR circuit is shown in Figure 2.1. In our discussion, let us model the diode by an ideal diode in series with a forward voltage drop of 0.7 V. When both the inputs A and B are zero and the supply voltage is also zero, then the output is also zero and neither diode is conducting. All possible outcomes for the two-diode OR logic are given below when the low value of either input is zero and high value is 5 V. Instead of grounding the one end of the resistor, it could have also been connected to a negative supply as well. Voltages, V Corresponding truth table A B C A B C 0 0 0 0 0 0 0 5 4.3 0 1 1 5 0 4.3 1 0 1 5 5 4.3 1 1 1 The truth table is based upon the understanding that the output voltage is considered high [1] as long as it is at least 4.3 V and low [0] whenever it is less than or equal to 0.7 V. Guru/LGCkts/DiodeLogic/ March 20, 2006 8 Logic Circuits
  • 2. 2.2 A Two-Diode AND Gate A two-diode AND gate is shown in Figure 2.2. In this case, let us assume that + VD = + 5 V. The minimum value of each signal is zero and the maximum value is 5 V. Let us assume that the input signal A is high (5 V) and B is low (0 V). The current can now flow from the 5-V supply through R and the diode D2. Thus, the output voltage is 0.7 V assuming that the diode voltage drop is 0.7 V. Likewise the output voltage would also be 0.7 V when A is low and B is high. The current in the circuit will now complete its path through D1. When both inputs are set at their low values and the two diodes are identical, the current will divide equally between the two diodes and the output voltage will be 0.7 V. The output voltage would be 5 V only when both input signals are set at their high values (5 V). These are the traits of an AND gate and the entire logic is tabulated below. + VD = 5 V R D1 A C D2 B Figure 2.2: A Diode AND Gate Voltages, V Corresponding truth table A B C A B C 0 0 0.7 0 0 0 0 5 0.7 0 1 1 5 0 0.7 1 0 1 5 5 5 1 1 1 In this case, the truth table is based upon the fact that the output voltage is zero [0] when it is less than or equal to 0.7 V. Once again, when the output voltage is greater than or equal to 4.3 V, the output voltage is high [1]. Guru/LGCkts/DiodeLogic/ March 20, 2006 9 Logic Circuits
  • 3. 2.3 Diode Logic For the Special Distributive Law Let us develop the diode circuit for the special distributive law (A + B) (A + C) = A + B C Figure 2.3 shows the diode logic circuit based upon the left-hand side of the above equation. This circuit employs two OR circuits; one for A+B and the other for A+C. The output of these OR circuits is the input to the AND circuit. The output F of the AND circuit provides us the desired logic. The truth table is given on Page-7. Let us check for one of the condition in the truth table to illustrate the technique. Let us assume that the minimum voltage of each signal is zero and the maximum is 5 V. Let us select the condition when A = 0, B = 5 V and C = 0. The expected output should be low. Let us assume that each diode has a forward voltage drop of 0.7 V when it is conducting. +5V D1 D5 D B R D2 R A F D3 -5V E C D6 R D4 -5V Figure 2.3: Diode logic for (A + B) (A + C) Since A = 0 and C = 0, D3 and D4 are ON and the voltage level at E is – 0.7 V. Since B = 5 V, the voltage level at D is 4.3 V. Thus, D2 is ON and D1 is OFF. Since the voltage at E is lower than that at D, D6 is ON; D5 is OFF; and the voltage level at F is 0 V. You can select another condition from the truth table and verify the outcome. Guru/LGCkts/DiodeLogic/ March 20, 2006 10 Logic Circuits