Diode Logic Gates circuit analysis?

Click For Summary
Diode-resistor gates, specifically AND gates, can be analyzed by initially assuming all diodes are off to determine the necessary conditions for them to turn on. The analysis involves applying Kirchhoff's Voltage Law (KVL) and calculating the output voltage based on the state of the diodes. If both diodes are off, the output voltage will return to Vdd, while turning on either diode creates a current path through the resistor divider, resulting in a lower output voltage. The forward-biased voltage across a conducting diode is approximately 0.7V, influencing the voltage division in the circuit. Understanding these principles is crucial for accurate circuit analysis and design.
radiodude
Messages
14
Reaction score
0
I need to understand how diode-resistor gates work. I've read a lot about what's supposed to happen based on inputs, but I need to see some numbers & analysis to understand what's going on. Where do you start in terms of trying to analyze the following AND gate?

http://img441.imageshack.us/img441/8827/andns2.gif

How I would attempt it is by assuming all diodes are off and representing each diode's voltage in terms of Va, Vb, and Vr. That'll tell me what is required to make the diode turn on (forward-biased). But then I get mixed up because if I tried to do a KVL starting @ Vdd and downwards through R2, R1, and Va, I need to know what the current is through R2 and R1, which leaves me stuck. If they're all off I know i would be 0, but what if they weren't?

Any suggestions on how to analyze this circuit? Thanks.

PS: I suppose this should be moved to Homework help, sorry for posting in the wrong forum.

What I've come up with so far, and I doubt it's correct:

0) If all diodes off, Vout = 1k/(10k+1k) * 5 = 0.45V
1) Vr < 5.7 for D3 to be off [Vd3 = -5 + Vr]
2) Va < 4.75 for D1 to be off [Vd1 = 0.45 - Va + 5]
3) Vb < 4.75 for D2 to be off [Vd2 = 0.45 - Vb + 5]

Note: Von for forward-biased diode = 0.7
 
Last edited by a moderator:
Engineering news on Phys.org
If you turn on either D1 or D2, by applying a logic-low signal to Va or Vb, you get a current path through the resistor divider formed by R1 and R2. The division is between 5V and 0.7V, the forward-biased voltage across the conducting diode. Since the resistor divider has a ratio of 10:1, the output voltage will be 1/11th of (5V - 0.7V), or about 0.4V.

If both D1 and D2 are off, because you've applied a logic-high signal to both Va and Vb, then there is no current path, and R1 and R2 no longer drop any voltage. The voltage at the output will then drift back up to Vdd.

- Warren
 
Thread 'I thought it was only Amazon that sold unsafe junk'
I grabbed an under cabinet LED light today at a big box store. Nothing special. 18 inches in length and made to plug several lights together. Here is a pic of the power cord: The drawing on the box led me to believe that it would accept a standard IEC cord which surprised me. But it's a variation of it. I didn't try it, but I would assume you could plug a standard IEC cord into this and have a double male cord AKA suicide cord. And to boot, it's likely going to reverse the hot and...

Similar threads

Replies
12
Views
2K
Replies
4
Views
2K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 19 ·
Replies
19
Views
5K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 29 ·
Replies
29
Views
4K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 6 ·
Replies
6
Views
9K