Diode logic doubt (digital circuit)

In summary: So your output is 5v. If your input is 0v, you have...out/0v -----/\/\/\/\/------GndSo your output is 0v.In summary, the output of the diode logic circuits depends on the voltage levels of the inputs. If either input is 1, then there will be a current flow through the diode and a voltage drop across the resistor, resulting in an output of 1. If both inputs are 0, then there will be no current flow and the resistor will pull the output voltage down to ground, resulting in an output of 0. This can be better understood by considering ideal diodes and how they affect the output voltage based on the
  • #1
rehcarlos
8
0
Hello guys,

I'm not getting the output of the diode logic circuits:

http://upload.wikimedia.org/wikipedia/commons/1/1f/Diode-OR2.png

If both inputs are 1, then there is current across the diodes then the output is 1, but shouldn't it drop because of the resistor R?

If both inputs are 0, then why is there any kind of output?

I'm really lost,
Thanks in advance
 
Physics news on Phys.org
  • #2
rehcarlos said:
Hello guys,

I'm not getting the output of the diode logic circuits:

http://upload.wikimedia.org/wikipedia/commons/1/1f/Diode-OR2.png

If both inputs are 1, then there is current across the diodes then the output is 1, but shouldn't it drop because of the resistor R?

If both inputs are 0, then why is there any kind of output?

I'm really lost,
Thanks in advance

If either input is 1 (or if both are 1), then forward current through the diode will cause a voltage drop across the resistor, hence the output is also a 1.

If neither diode has a forward current (both inputs are 0), then the resistor pulls the output voltage down to ground, and hence the output is a 0.

Does that make sense?
 
  • #3
Hi berkeman,

If either input is 1 (or if both are 1), then forward current through the diode will cause a voltage drop across the resistor, hence the output is also a 1.

If either input is 1, then current will flow through the diode and there will be a voltage drop across the resistor. Ok I get that... but I don't understand the link between that and the output being 1

If neither diode has a forward current (both inputs are 0), then the resistor pulls the output voltage down to ground, and hence the output is a 0.

If both input are zero then no current will flow through the diodes. I don't get why the resistor pulls the output voltage down to ground
 
  • #4
Okay, maybe the mixing of voltage levels and logic levels is what is causing the problem. Think of the "logic 1" inputs as 5V voltage supplies, and logic 0 inputs as grounding out the inputs. When you apply 5V to either input, that causes a current to flow through the diode and through the resistor to ground. There is about a 0.6V drop across the diode, so that means that there is a 4.4V drop across the output resistor. With normal logic levels, that 4.4V still qualifies as a logic 1.

If there is no voltage source driving the resistor through the diodes, then there will be no voltage drop across the output resistor, and that will be seen as a logic 0.
 
  • #5
The output node comes before the voltage drop across the resistor.

If it helps, consider ideal diodes. So if the input is 5v, the diodes are replaced with a short. Now your output and input nodes are the same node and you have...

out/in =5v -----/\/\/\/\/------Gnd
 

1. What is diode logic?

Diode logic is a type of digital circuit that uses diodes as the main components for logic operations. It is a simple and inexpensive way to design logic circuits, but it has limitations in terms of speed and complexity.

2. How does diode logic work?

Diode logic works by using diodes to perform logical operations. Diodes act as switches that allow or block the flow of current depending on the input signals. By connecting diodes in different configurations, various logic gates can be created, such as AND, OR, and NOT gates.

3. What are the advantages of diode logic?

The main advantage of diode logic is its simplicity and low cost. Diodes are inexpensive and widely available, making diode logic circuits easy to design and build. Additionally, diode logic circuits are less prone to noise and interference compared to other types of logic circuits.

4. What are the limitations of diode logic?

Diode logic has several limitations, including slow speed and limited complexity. Diodes have a slow response time, which can limit the speed of diode logic circuits. Additionally, diode logic circuits can only perform basic logic operations and cannot handle complex functions like arithmetic or memory storage.

5. How is diode logic used in modern electronics?

Although diode logic is not commonly used in modern electronics, it still has some applications in simple electronic devices. For example, diode logic circuits are often used in basic calculators, timers, and other low-cost devices. Additionally, diode logic is sometimes used as a backup or alternative to more complex logic circuits in case of failure.

Similar threads

  • Engineering and Comp Sci Homework Help
Replies
1
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
14
Views
1K
  • Electrical Engineering
Replies
14
Views
808
  • Engineering and Comp Sci Homework Help
Replies
22
Views
15K
  • Engineering and Comp Sci Homework Help
Replies
1
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
10
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
3
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
1
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
10
Views
2K
  • Introductory Physics Homework Help
Replies
3
Views
237
Back
Top