Transistors and boolean expression

AI Thread Summary
The discussion revolves around understanding the boolean expressions derived from two transistor circuits. The first circuit's output C is debated, with one participant questioning if C is always 0 due to being connected to ground, while another suggests it represents the inverse of A based on the transistor's configuration. The second circuit is analyzed, leading to the conclusion that it functions as a NAND operation, with the output C being 5V when both inputs A and B are off. Participants clarify the roles of transistors and the impact of current flow on voltage drops across resistors. Overall, the conversation emphasizes the importance of circuit configuration in determining boolean expressions.
charlies1902
Messages
162
Reaction score
0
Hi.
If I could get some clarification on the attached circuits that would be great. The question asks to find the boolean expression for C.

I already know the answers, but I don't quite see how they got it.
For the first circuit: C=A_bar
The truth table looks like this:
A C
0 1
1 0

This is where I'm getting completely lost. Isn't C basically connected to ground?? Wouldn't that mean C is always 0?
 

Attachments

  • Untitled.png
    Untitled.png
    3.1 KB · Views: 407
Physics news on Phys.org
In the first circuit, C is solidly connected to ground. C is permanently 0.

I think your lecturer must have had a slightly different circuit in mind. Or else he has a wicked sense of humour. :wink:

What is the output of your second circuit?
 
NascentOxygen said:
In the first circuit, C is solidly connected to ground. C is permanently 0.

I think your lecturer must have had a slightly different circuit in mind. Or else he has a wicked sense of humour. :wink:

What is the output of your second circuit?

Thanks.

I actually think he was being serious because I remember him justifying it. He said something about the arrow in the transistor represented a diode, so C would be the inverse of A. I guess that makes sense, but C=0 makes sense as well. So I think maybe the circuit was drawn wrong?
 
I guess he intended that C be at the collector, not the emitter.
 
NascentOxygen said:
I guess he intended that C be at the collector, not the emitter.

Isn't the diode from the base to the emitter?



I don't quite understand the second circuit.
This is what I 'think' happens:
If A or B is =1, then there would be current flowing through the circuit, thus causing a voltage drop over the top resistor (the one right next to the 5V symbol).
If both A and B are on, then the above statement holds true as well.
Otherwise (A and B are both off), then the 2 transistors act as gaps, thus no current would flow in the circuit. Thus, the voltage drop across the top resistor is 0V. Then C=5V.
This matches the truth table they have:
A B C
0 0 1
0 1 0
1 0 0
1 1 0
 
charlies1902 said:
Isn't the diode from the base to the emitter?
There is a PN junction there, yes.
I don't quite understand the second circuit.
This is what I 'think' happens:
If A or B is =1, then there would be current flowing through the circuit, thus causing a voltage drop over the top resistor (the one right next to the 5V symbol).
If both A and B are on, then the above statement holds true as well.
Otherwise (A and B are both off), then the 2 transistors act as gaps, thus no current would flow in the circuit. Thus, the voltage drop across the top resistor is 0V. Then C=5V.
This matches the truth table they have:
A B C
0 0 1
0 1 0
1 0 0
1 1 0
✔[/size][/color]
So what Boolean operation does this represent? AND, OR, or what?
 
NascentOxygen said:
There is a PN junction there, yes.

So what Boolean operation does this represent? AND, OR, or what?

NAND.

Are my justifications in the previous post correct?
 
charlies1902 said:
NAND.
Yes
Are my justifications in the previous post correct?
They sound right.
 
For the first circuit, if we placed the output C right between the transistor and resistor, would that mean C is the inverse of A?
This is why I think it's that.
If A is low (0V), then the transistor is OFF, then the circuit becomes an open circuit, so the voltage drop across the resistor would be 0V due to no current flow. Thus C is =5V.
Else, transistor is ON=>current flows=>V drop across resistor=>C is low.
 
  • #10
charlies1902 said:
For the first circuit, if we placed the output C right between the transistor and resistor, would that mean C is the inverse of A?
This is why I think it's that.
Correct, with the collector being point C.
 
  • #11
NascentOxygen said:
Correct, with the collector being point C.

If it was at C wouldn't that mean C is always HIGH(1)=5V?
 
  • #12
If the output is taken from the collector, it will be 5V when there is no current through the resistor & transistor.

When current flows into the base (to the emitter), the voltage between collector and emitter drops to approx. 0V.
 
  • #13
NascentOxygen said:
If the output is taken from the collector, it will be 5V when there is no current through the resistor & transistor.

When current flows into the base (to the emitter), the voltage between collector and emitter drops to approx. 0V.
Sorry, I got my notations wrong. I kept thinking that the collector was above the resistor. Normally, I think of the collector as the very top of the circuit in a transistor, but the addition of that resistor changed it.
 
Back
Top