I temporarily leave the “kingdom” of my favorite analog electronics and move to the neighboring field of digital electronics because this term I will conduct a series of labs in the laboratory on digital circuits. I do it since I want to be helpful to my students (both useful and fun) secretly hoping they will join my web initiative in return. Of course, I will not waste their and your time with banal, trite and boring book explanations; instead I will “provoke” readers with unusual, extraordinary and sometimes weird viewpoints with only the purpose to make them not only know but think and understand digital circuits...

For quite a long time I have discovered that there is a close connection between the input parts of the transistor-transistor logic (TTL), diode-transistor logic (DTL) and diode logic (DL). Thus TTL includes DTL... and DTL includes DL... or DL have evolved to DTL... and then DTL evolved to TTL... So, it seems to understand what TTL is, we have first to understand what DL is... to unveil the mystery about it. I did it yesterday together with my students by reinventing the circuit to ask all these questions:

"Why were the diodes back to front? Why was the resistor connected to +V instead to the ground? Why was there no input current when the input voltage was high? And why was there input current when the input voltage was low? But why did the current go out of the diodes and went in the input source? Why was it impossible to make inverting diode gate? Why was AND gate supplied by an additional voltage source while OR gate had no such a source?.

In logic gates, logic functions are performed by parallel (OR function) or series (AND function) connected switches that are electrically controlled by the input logical variables. Diode-based logic gates (DL, DTL and TTL) are implemented by diode switches (when forward biased, a diode is “closed”; when backward biased, it is “open”). The paradox of the diode logic is that diode AND logic gates should be implemented by series connected diode switches (like an NMOS AND gate implemented by series connected transistor switches)... but still it is implemented by parallel connected switches. Why? Here is my explanation.

In contrast to transistors, diodes are odd two-terminal switching elements, in which the input and output are not separated; they are the same. So, series connected diode switches cannot be driven by grounded input voltage sources. To solve this problem, diode AND gates may be constructed in the same manner as OR diode gates - by parallel connected diode switches. But to obtain AND instead of OR function, according to De Morgan's laws, the input (X) and output (Y) logical variables should be inverted:

Y = NOT (NOT (X1) OR NOT (X2)) = NOT (NOT (X1 AND X2)) = X1 AND X2

So, the diode AND logic gate is a modified diode OR logic gate: the diode AND gate is actually a diode OR gate with inverted inputs and output. Let’s see how it is implemented in the ubiquitous circuit (see the attachment).

To realize the clever De Morgan's idea, the diodes are reverse connected and forward biased by an additional voltage source +V (the power supply 2) through the “pull-up” resistor R1. The input voltage sources are connected in opposite direction to the supplying voltage source (traveling along the loop +V - R1 - D - Vin). To invert the output voltage and to get a grounded output, the complementary voltage drop (+V - VR1) between the output and ground is taken as an output instead the floating voltage drop VR1 across the resistor.

Input logical “1”: When all the input voltages are high, they "neutralize" the biasing supply voltage +V. The voltage drops across the diodes are zero and these diode switches are “open”. The output voltage is high (output logical 1) since no current flows through the resistor and there is no voltage drop across it. So, the behavior of the diode switches is reversed - whereas in diode OR logic gates diodes act as normally open switches, in diode AND logic gates diodes act as normally closed switches.

Input logical “0”: If the voltage of some input voltage source is low, the power supply passes current through the resistor, diode and the input source. The diode is forward biased (the diode switch is “closed”) and the output voltage drop across the diode is low (output logical 0). The rest of diodes connected to high input voltages (input logical “1”s) are backward biased and their input sources are disconnected from the output 1.

I exposed my speculations, two years ago, in the Wikipedia page about diode logic (under the name Circuit dreamer):

https://en.wikipedia.org/wiki/Talk:Diode_logic#Revealing_the_secret_of_diode_AND_logic_gate

https://en.wikipedia.org/w/index.php?title=Diode_logic&oldid=445500585#AND_logic_gate

More Cyril Mechkov's questions See All
Similar questions and discussions