How calculate And gate with transistor? - Page 1
Forum section: electronics / beginners

author: Jasonbit
author_rank: Regular Contributor
timestamp: October 07, 2018, 04:48:27 pm
content: Hello folks,I need understand how calculate and analyze this circuit:https://postimg.cc/bDGgVwJswhat do you suggestion to I read and how should I search about this theme?Thanks

author: Ferenc
author_rank: Newbie
timestamp: October 07, 2018, 06:11:15 pm
content: Think of transistors as switches. If you "push" the base, then you "close" the circuit between collector and emitter.Therefor:-If you press SW1, then you "close" Q1, but nothing is going to happen, because Q2 is still "open".-If you press SW2, then you "close" Q2, but nothing is going to happen, because Q1 is still "open".-If you press SW1 and SW2 at the same time, then both Q1 and Q2 are going to be "closed", so LED1 is going to lit up.About the calculation, I don't know what you really want to do, but the datasheet has every information, you would need.https://www.fairchildsemi.com/datasheets/BC/BC547.pdf

author: Jasonbit
author_rank: Regular Contributor
timestamp: October 07, 2018, 08:33:23 pm
content: Quote from: Ferenc on October 07, 2018, 06:11:15 pmThanks to your reply,I can interpret the schema. My question is how to calculate which current we have in the branch of the LED when both the gates are connected

author: rstofer
author_rank: Super Contributor
timestamp: October 07, 2018, 08:51:14 pm
content: I played with this and while the collector current is easy, the base currents need a little nodal analysis.For the collector, assume both transistors are saturated and they drop Vce satof probably 0.2V.Then you need to know something about the LED, specifically Vf(forward voltage drop) of, say 2.2V and you're just about there. The voltage across the resistor is 5 - 2*0.2 - 2.2 or 2.4V. Given a 1k resistor, there will be 2.4 mA flowing. That is probably nowhere near enough to turn on the LED.Ordinary LEDs have a Vfof around 2.2V and an Ifof around 20 mA. That resistor would need to be 2.4V / 0.02A or about 120 Ohms. It could be a little larger with less LED current, perhaps as high as 220 Ohms.Once you settle on the collector current, you can assume the transistors have an hFEof 100 to get the minimum base current. Then you assume a Vbeof 0.7V and you can do a nodal analysis on the resistors. In broad terms, the base current will need to be around 200 uA and still provide the appropriate base voltage.If that is true, the lower resistor will drop about 2V. But it can't because the upper base voltage is 1.4V (two Vbedrops). The most it can provide is 0.7V (one Vbedrop) divided by 10k or 70 uA. Nowhere near enough if the collector current is to be 20 mA unless hFEis a lot higher than 100.A better solution is to put both resistors in parallel from the 5V rail. That series connection is a problem looking for a place to happen.The other problem with the circuit is the floating base inputs. You might want to pull the bases down to ground with a 1 MOhm resistor. It could be smaller, you need to deal with it when you calculate the individual base resistors. Just remember, the upper base needs to get to 1.4V and the lower base needs to get to 0.7V and they need about 200 uA to turn on, given the assumptions.

author: BenjaminJackson
author_rank: Newbie
timestamp: October 08, 2018, 11:53:46 am
content: Thank you for sharing