OR Gate Circuit: What is the Function of Diodes?

  • Thread starter Thread starter Kolahal Bhattacharya
  • Start date Start date
  • Tags Tags
    Interesting
Click For Summary

Discussion Overview

The discussion revolves around the function of diodes in an OR gate circuit, particularly focusing on their role in ensuring proper operation and isolation of inputs. The scope includes theoretical aspects of electronics and practical implications in circuit design.

Discussion Character

  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant notes that while diodes are present in a standard OR operation circuit, the OR function could theoretically be performed without them.
  • Another participant argues that diodes are necessary to isolate inputs from each other, particularly when using toggle switches with LED indicators, to prevent both LEDs from lighting up simultaneously.
  • A different participant emphasizes that diodes protect electronics by preventing short circuits that could occur if inputs are connected directly, especially in TTL logic where logic levels are represented by different voltage levels.
  • One participant mentions that TTL wired OR configurations use open collector ICs with external pull-up resistors, which can mitigate the risk of shorting the power rail to ground.
  • Another participant points out that some older TTL ICs could tolerate cross-state conditions, although it is considered bad practice.
  • Concerns are raised about the maximum toggle rate being lower without active pull-up configurations and when using diodes.

Areas of Agreement / Disagreement

Participants express differing views on the necessity and implications of using diodes in OR gate circuits. While some agree on the protective role of diodes, others question their absolute necessity, indicating that multiple competing views remain.

Contextual Notes

There are limitations regarding the assumptions made about circuit configurations, the specific types of ICs referenced, and the implications of using diodes versus direct connections. The discussion does not resolve these nuances.

Kolahal Bhattacharya
Messages
133
Reaction score
1
I don't like electronics at all.However,it's an interesting question.For OR operation standard circuit,there are two diodes which are forward biased in 1-1 state.I cannot draw the circuit here;but anyone familiar to the circuit undearstands that even if the two diodes were not there, the OR operation could be performed.Then what is the function of those diodes?
 
Engineering news on Phys.org
The diodes have to be there otherwise the inputs are not isolated from each other. This may be fine when using toggle switches, but suppose you have two toggle switches and each one has an LED indicator on it's output. The outputs of the switches are then wired together in OR fashion without diodes. Whenever EITHER switch is thrown both LEDs will light up.
 
'Nova's got it exactly right. Sometimes these so-called "wired or" connections are fine, but it is generally bad practice

The diodes are also there to protect your electronics. For example, in TTL you represent a logic "0" with a ground connection and a logic "1" with a +5V connection. What would happen if you had a 1-0 connection? You've just shorted your +5V rail to ground! Hope you built in some over current protection!
 
mdelisio said:
'Nova's got it exactly right...

That's Averagesupernova to YOU buster!
-
I have to pick on the newbies a bit. :wink: Welcome to PF!
 
The TTL wired OR used open collector ICs with an external resistor for pullup.
No problem with shorting the +5 rail to ground.

Some of the old 74xx TTL ICs with active pullup could tolerate the cross state condition.
While it was bad practice as stated, I've seen it done.

Max toggle rate is somewhat lower without active pullup.
Same goes when using diodes.
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
4K
Replies
12
Views
3K
Replies
6
Views
2K
  • · Replies 14 ·
Replies
14
Views
4K
  • · Replies 21 ·
Replies
21
Views
7K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 5 ·
Replies
5
Views
5K
Replies
9
Views
4K
Replies
11
Views
4K
  • · Replies 12 ·
Replies
12
Views
3K