How can a NOT gate function with a misplaced resistor?

  • Thread starter Thread starter wannab
  • Start date Start date
  • Tags Tags
    Gate Work
AI Thread Summary
The discussion centers on the functionality of a NOT gate circuit and the placement of a resistor. One participant argues that the original diagram is correct, while another believes the resistor's placement is critical for proper operation. Key points include the misconception that current will always take the shortest path to ground, and the importance of understanding how transistors function as switches. The conversation highlights that a correctly designed circuit can ensure the output voltage remains below a certain threshold without needing a resistor at the output. Ultimately, the dialogue emphasizes the complexities of working with transistors in electronic circuits.
wannab
Messages
32
Reaction score
1
I found an image on google that I recognised to be an almost functioning NOT gate:

not.bmp.jpg


But I felt the resistor was misplaced so I changed it to put it here:

B5xVneu.jpg


Who is correct and why? The only way I can see the first image functioning as a NOT gate is if the transistor somehow has a negative resistance when its base is active, is this the case?
 
Engineering news on Phys.org
Your diagram is wrong. The first diagram is correct.
Why you think that the first diagram is wrong ?
 
The first diagram is a NOT gate.

The second diagram represents a blown transistor waiting to happen.
 
The first diagram is a-NOT-Gate.

The second diagram is NOT-a-Gate.

:smile:
 
Jony130 said:
Your diagram is wrong. The first diagram is correct.
Why you think that the first diagram is wrong ?
Because the electricity has no incentive to flow to ground, it will always take the shortest route which will either be to the output or the ground depending on the resistances and lengths of the wires. By putting a resistor at the output I'm ensuring that the current will flow to ground once the base of the transistor is active.
 
So confused.
 
In this circuit the BJT work in cut-off region (no base current flow).
Or in saturation, (base-emitter current is flowing).
So if transistor is full on (saturated), then he act just like a shorted switch.
Short collector to GND. Or in general shots the collector to emitter.
52_1250869699_thumb.png
 
wannab said:
Because the electricity has no incentive to flow to ground, it will always take the shortest route which will either be to the output or the ground depending on the resistances and lengths of the wires. By putting a resistor at the output I'm ensuring that the current will flow to ground once the base of the transistor is active.

First of all, in this circuit, there is nothing connected to the output (it is open) so current can't go that way anyway. But even if there were a load connected to the output, you are suffering from a common misconception. Current always splits up and takes all paths to ground. The amount of current on each path is inversely proportional to the resistance of that path. What we mean when we say that "current takes the path of least resistance" is that, if there is one path whose resistance is drastically lower than any of the others, then the vast majority of the current will take that path and not the others.

Second, the reason why your circuit doesn't work is as follows. In this regime, the transistor acts somewhat like a switch. If the base voltage is low, there will be no connection between the collector and emitter: the transistor does not conduct. If the base voltage is high, the transistor conducts between collector and emitter. It acts kind of like a switch. In fact, to see what's going on conceptually, you could just replace the BJT with a switch that is closed when Vin is high, and open when Vin is low, So, in your version of the circuit, where you have no resistor between Vcc and the collector, when the transistor conducts, it's like the switch closes, connecting Vcc directly to ground through a negligible resistance. You've shorted your power supply. So, a tremendous amount of current will be drawn. Can you see why this is a tremendously bad idea, as phinds already alluded to? EDIT: Also at that point, your resistor R2 actually does nothing at all, because it has literally been shorted out of the circuit.
 
wannab said:
So confused.

Not to worry. Transistors are generally one of the tougher things to master in electronics. (for normal people anyways)
 
  • #10
cepheid said:
First of all, in this circuit, there is nothing connected to the output (it is open) so current can't go that way anyway. But even if there were a load connected to the output, you are suffering from a common misconception. Current always splits up and takes all paths to ground. The amount of current on each path is inversely proportional to the resistance of that path. What we mean when we say that "current takes the path of least resistance" is that, if there is one path whose resistance is drastically lower than any of the others, then the vast majority of the current will take that path and not the others.
If that's true then surely when the transistor is active the current would split, some going to output and some going to ground? That's not what is required though, what's required is absolutely no current going to output and all of it going to ground.

Surely we need a resistor at the output to encourage more electricity to go to ground when the transistor is active?
 
  • #11
Also what's the difference between an AND gate and a transistor? To me they appear to do the same thing. This might be the source of my confusion.
 
  • #12
wannab said:
If that's true then surely when the transistor is active the current would split, some going to output and some going to ground? That's not what is required though, what's required is absolutely no current going to output and all of it going to ground.

No, what's required is that the voltage between the output and ground is below a given threshold. And that will be the case if the components are chosen correctly. No matter what resistance is connected to the output. There can be some current flowing through the output even if it's in the low state as long as the voltage is low enough.
 
Back
Top