please help transistor as switch help


by michael1978
Tags: switch, transistor
michael1978
michael1978 is offline
#1
Dec24-13, 07:17 AM
P: 133
please can you help, explain me in easy way this circuit
http://obrazki.elektroda.pl/2237673700_1387888073.jpg

normal must be
swith in position A
q1 on
q2 off
q3 on

switch in position B
q1 off
q2 on
q3 off
Phys.Org News Partner Science news on Phys.org
Lemurs match scent of a friend to sound of her voice
Repeated self-healing now possible in composite materials
'Heartbleed' fix may slow Web performance
Jony130
Jony130 is offline
#2
Dec24-13, 01:03 PM
P: 389
This circuit work as you expect.



Also I attach the simulation file for Circuit Wizard.
Attached Thumbnails
1.PNG  
Attached Files
File Type: zip BJT_switch.zip (4.9 KB, 1 views)
michael1978
michael1978 is offline
#3
Dec24-13, 02:14 PM
P: 133
Thank you very much,
but what you did?
Where i make mistake?

Your circuit is working perfect like in my book

can you teach me this where i make mistake thnk

BUT YOU CIRCUIT IS NOT LIKE MINE IN BOOK? in the book they did it with resistor two transistor the third transistor they did with lamp so they work like yours, but to me they work on on off not like in book, but in the book they did tell wich value of reisistor i must put in circuit? so i dont know where i make mistake if you can teach me where i make mistake and how work thnk for time
Attached Thumbnails
TRANSISTOR AS SWITCH.png  
Attached Files
File Type: zip TRANSISTOR SWITCH.zip (4.8 KB, 0 views)

Jony130
Jony130 is offline
#4
Dec24-13, 02:52 PM
P: 389

please help transistor as switch help


Simply you forget about Q2 base current and also that light bulb has low resistance.
In your diagram Q1 is CUT-OFF completely Q3 is also CUT-OFF completely because Q2 is in saturation.
So he short Q3 base to GND. Or if we use a different point of view.
Q1 is off because Q1 base don't see any close path from Vcc.
But Q2 is "ON" because there is a path for the Q2base current from Vcc through light bulb to Q2 base-emitter and back to GND. And this flow of a Q2 base current will "ON" the Q2 and Ic current will start to flow from
Vcc--->BL2 ---> collector-emitter---->GND
And Q3 is also cut off because Q2 steals all the current from Q3 base current (short Q3 base to gnd).



So as you can see despite the fact that Q1 is OFF. There will be a current flow through the BL1 bulb.
Of course this current is a Q2 base current but still the bulb will light because Q2 base current is determined by BL1 resistance and OHMS law.
Ib2 = (Vcc - Vbe2)/Rbulb.
Attached Thumbnails
TRANSISTOR AS SWITCH.png  
michael1978
michael1978 is offline
#5
Dec25-13, 09:50 AM
P: 133
yes jony that is true what you say, but how can i make to work this circuit like in my book, will bulb, like you make your circuit? i read the book complete elecronics, because in the book he dont say the value of resistance, is possible this circuit to work like your wich you make it? and how to do it? i relly dont understand in the book he dont make mistake, and also when i simulate my circuit, i put the mouse to emiter of Q1 is Ov 0a, in q2 there is 0v but there is current, and in Q3 is the same like in Q1, can you make this circuit to work like yours thank you very much johny for reply and explain
Jony130
Jony130 is offline
#6
Dec25-13, 10:01 AM
P: 389
Pleas read again my previous replay and try to answer this question.
What causes that the BL1 light bulb glow?
michael1978
michael1978 is offline
#7
Dec25-13, 05:39 PM
P: 133
Quote Quote by Jony130 View Post
Pleas read again my previous replay and try to answer this question.
What causes that the BL1 light bulb glow?

SO when is switch in position A there is base current ok like you say the transistor is on and BL1 is on glow, and transistor Q1 is like switch close so Q2 is off no base current, and is like switch open Q2, and Q3 is on because there is current on base, it takes from collector and ground current from Q2, like you say they work in cutoff and saturation, am i right?

i rely dont understand do you rembembe you show how to work like a amplifier, no i dont know how to work like switch,

i dont understand this book, he show how work like switch three transistor like i show you,
but what do you think jony, how where is mistake

thnx for reply and advice have a nice sleep
Jony130
Jony130 is offline
#8
Dec25-13, 07:08 PM
P: 389
But as you can see in the diagram You and I have a switch in position B,
And in my post I described how this circuit work when switch is in B position. And I ask you why BL1 light bulb glow when we have a switch in B position. And I don't see any mistake in circuit. And everything work as is should.
michael1978
michael1978 is offline
#9
Dec26-13, 05:09 AM
P: 133
Quote Quote by jony130 View Post
but as you can see in the diagram you and i have a switch in position b,
and in my post i described how this circuit work when switch is in b position. And i ask you why bl1 light bulb glow when we have a switch in b position. And i don't see any mistake in circuit. And everything work as is should.
one more thing ? Why the bulb not glow in q3 and q1 yes? so when switch in position b the q1 collector take current from base of q2 of what how it work?, but why q3 he dont take current from q2? because i make four transistor and three transistor bulb are on and the last is off, what is this? how you calculate this, i dont understan is that possible that q1 take current from base of Q2

can you please explain this circuits how it work, how you calculate PLEASE JOHNY THANKS



Second if you want to make transitor to work like a switch there is only one way wich you give me circuit to add resistor in serie in base?
Jony130
Jony130 is offline
#10
Dec26-13, 07:51 AM
P: 389
Ok I will try to explain you how this circuit work.

First we have a switch in A position.
And the situation look like this



We start our analysis at Q1 base. Q1 base see a path for his current from Vcc.
And this is why Q1 will turn ON. I repeat -> Q1 "ON" because there is a path for the Q1 base current from Vcc through R1 --->Q1 base-emitter and back to GND.
I mark Q1 base current in red.

Vcc --- > R1 ---> Q1 base-emitter junction --- > GND.

And this base current Turn ON the transistor. So Collector current can flow in this circuit.

Vcc--->BL1--->Q1 collector-emiter --->GND

Q2 is CUT-OFF because Q1 shorts Q2 base to ground via saturated (Full "ON") Q1.

Q3 base also see a path from Vcc via BL2. So Q3 base current start to flow in this circuit:

Vcc --->BL2--->Q3 base-emitter junction--->GND


This current will TURN ON Q3 so collector current will start to flow:


Vcc--->BL3 ---> Q3 collector-emitter--->GND



Now we flip the switch into B position. And the situation look like this:



Q1 is CUT-OFF because Q1 base is short to ground via 1K resistor (Q1 base don't see any close loop path to Vcc ).

But now Q2 will see a path for his current from VCC. And this base current will start to flow in this circuit :
Vcc --->BL1--->Q2 base-emitter junction--->GND

This base current will TURN-ON Q2 so that Q2 collector current will start to flow:

Vcc--->BL2--->Q2 collector - emitter--->GND

Q3 also will be in CUT-OFF because Q2 transistor collector-emitter saturation voltage (Vce(sat)) is lower then 0.6V needed to TURN ON Q3 (Q3 base is shorted to ground via saturated Q2 ).
Attached Thumbnails
1a.PNG  
michael1978
michael1978 is offline
#11
Dec26-13, 05:11 PM
P: 133
Quote Quote by Jony130 View Post
Ok I will try to explain you how this circuit work.

First we have a switch in A position.
And the situation look like this



We start our analysis at Q1 base. Q1 base see a path for his current from Vcc.
And this is why Q1 will turn ON. I repeat -> Q1 "ON" because there is a path for the Q1 base current from Vcc through R1 --->Q1 base-emitter and back to GND.
I mark Q1 base current in red.

Vcc --- > R1 ---> Q1 base-emitter junction --- > GND.

And this base current Turn ON the transistor. So Collector current can flow in this circuit.

Vcc--->BL1--->Q1 collector-emiter --->GND

Q2 is CUT-OFF because Q1 shorts Q2 base to ground via saturated (Full "ON") Q1.

Q3 base also see a path from Vcc via BL2. So Q3 base current start to flow in this circuit:

Vcc --->BL2--->Q3 base-emitter junction--->GND


This current will TURN ON Q3 so collector current will start to flow:


Vcc--->BL3 ---> Q3 collector-emitter--->GND



Now we flip the switch into B position. And the situation look like this:



Q1 is CUT-OFF because Q1 base is short to ground via 1K resistor (Q1 base don't see any close loop path to Vcc ).

But now Q2 will see a path for his current from VCC. And this base current will start to flow in this circuit :
Vcc --->BL1--->Q2 base-emitter junction--->GND

This base current will TURN-ON Q2 so that Q2 collector current will start to flow:

Vcc--->BL2--->Q2 collector - emitter--->GND

Q3 also will be in CUT-OFF because Q2 transistor collector-emitter saturation voltage (Vce(sat)) is lower then 0.6V needed to TURN ON Q3 (Q3 base is shorted to ground via saturated Q2 ).
johny thnx for time, i understand now,


the path of current and voltage....

but like i see this work like this on off on, off on off is that right of maybe i am wrong?

my circuit is working on on on , on on off, i mean the buble glow,

what do you mean by ;;;Q2 is CUT-OFF because Q1 shorts Q2 base to ground via saturated (Full "ON") Q1.

so q2 is off and buble dont glow

why the buble dont glouw on off on, off on off?
and how the software calculate the voltage and current
do you know to calculate , kan you tell me please? the voltage and current of all circuit?

second they work like you explain me ok,
so switch a................
current on buble 1 is ok glow in second is zero current but the buble glow?, and third is ok current buble glow, why the second buble glow? what is current and voltage

when i switch to b
first buble glow current is zero, second buble glow there is a current, and third buble is off there is zero current, why the buble one glow? what is voltage and current

i send you my circuit? they have to work like you say,
you told me very good how they work but the buble dont work

so johny what do you think ? what is the problem in circuit?


johny do you know wich book is good to learn electronics and to not boring you
Jony130
Jony130 is offline
#12
Dec27-13, 10:56 AM
P: 389
but like i see this work like this on off on, off on off is that right of maybe i am wrong?
Yes, transistor are Q1-ON; Q2-OFF; Q3-ON or if we have a switch in B position we have
Q1-OFF; Q2-ON; Q3-OFF
what do you mean by ;;;Q2 is CUT-OFF because Q1 shorts Q2 base to ground via saturated (Full "ON") Q1.
Do you know what "short" is in electronic ?
Read this
http://www.physicsforums.com/attachm...5&d=1388163392
We can also say that: Q2 is CUT_OFF because Q1 transistor collector-emitter saturation voltage (Vce(sat)) is lower then 0.6V needed to TURN ON Q2. And this is why Q2 is CUT-OFF.

so q2 is off and buble dont glow
No, Q2 is OFF but current will still flow through BL2 so the bulb will glow.
Haven't you noticed that when Q2 is OFF, the Q3 base current will now flow through the bulb?

why the buble dont glouw on off on, off on off?
Because you forget that base current also flow through the light bulb.
And if this base current is large (low resistance) the light bulb will glow.

and how the software calculate the voltage and current
do you know to calculate , kan you tell me please? the voltage and current of all circuit?
In circuits when transistor work as a switch (transistor is in saturation region of in cut-off) we can easily calculate all current in the circuit. All we need to know is the resistance and Vcc voltage.
The base current is equal to:
Ib = (Vcc - Vbe)/Rb where:

Vcc --> power supply voltage

Vbe --> Base-emitter diode forward voltage drop (0.6V ... 0.8V)

RB --> base resistor resistance in our circuit Rb is 1K for Q1 base and for the rest of a transistors RB = light bulb resistance.

And collector current is equal to

Ic = (Vcc - Vce(sat))/Rc

Vce(sat) - Collector-emitter saturation voltage (0.2V typical).

Rc --> resistance connect between Vcc and collector in our case light bulb resistance.

so switch a................
current on buble 1 is ok glow in second is zero current but the buble glow?, and third is ok current buble glow, why the second buble glow? what is current and voltage
Are you sure that current is zero for second bulb (BL2)? You still forgetting about base current.
Once more take a look at this


As you can see we have a switch in A position. So Q1 is ON ; Q2 is OFF and Q3 is ON.
And second bulb glows, because Q3 transistor base current is now flowing through the light bulb. The Q3 base current is mark in green on the diagram.

when i switch to b
first buble glow current is zero, second buble glow there is a current, and third buble is off there is zero current, why the buble one glow? what is voltage and current
Because now despite the fact that Q1 is OFF the BL1 current is not equal to 0A.
As you can see here in red

Q2 transistor base current is now flow through first light bulb.
Additional the light bulb resistance is ""low" so the base current is high:
Ib = (10V - 0.7V)/100Ω ≈ 93mA and this is why light bulb glow (shines).

they have to work like you say,
you told me very good how they work but the buble dont work
so johny what do you think ? what is the problem in circuit?
But everything work as is should be. And to fix this issue with the bulbs simple reduce the base current.

johny do you know wich book is good to learn electronics and to not boring you
Can you tell me the name of the book you are reading now?

try this books
http://www.amazon.com/Tab-Electronic.../dp/0071360573
http://www.amazon.com/Make-Electroni...ref=pd_sim_b_6
http://www.amazon.com/Electronic-Dev...8163321&sr=1-1
Attached Thumbnails
1.PNG  
michael1978
michael1978 is offline
#13
Dec27-13, 04:51 PM
P: 133
Quote Quote by Jony130 View Post
Yes, transistor are Q1-ON; Q2-OFF; Q3-ON or if we have a switch in B position we have
Q1-OFF; Q2-ON; Q3-OFF

Do you know what "short" is in electronic ?
Read this
http://www.physicsforums.com/attachm...5&d=1388163392
We can also say that: Q2 is CUT_OFF because Q1 transistor collector-emitter saturation voltage (Vce(sat)) is lower then 0.6V needed to TURN ON Q2. And this is why Q2 is CUT-OFF.


No, Q2 is OFF but current will still flow through BL2 so the bulb will glow.
Haven't you noticed that when Q2 is OFF, the Q3 base current will now flow through the bulb?


Because you forget that base current also flow through the light bulb.
And if this base current is large (low resistance) the light bulb will glow.


In circuits when transistor work as a switch (transistor is in saturation region of in cut-off) we can easily calculate all current in the circuit. All we need to know is the resistance and Vcc voltage.
The base current is equal to:
Ib = (Vcc - Vbe)/Rb where:

Vcc --> power supply voltage

Vbe --> Base-emitter diode forward voltage drop (0.6V ... 0.8V)

RB --> base resistor resistance in our circuit Rb is 1K for Q1 base and for the rest of a transistors RB = light bulb resistance.

And collector current is equal to

Ic = (Vcc - Vce(sat))/Rc

Vce(sat) - Collector-emitter saturation voltage (0.2V typical).

Rc --> resistance connect between Vcc and collector in our case light bulb resistance.


Are you sure that current is zero for second bulb (BL2)? You still forgetting about base current.
Once more take a look at this


As you can see we have a switch in A position. So Q1 is ON ; Q2 is OFF and Q3 is ON.
And second bulb glows, because Q3 transistor base current is now flowing through the light bulb. The Q3 base current is mark in green on the diagram.


Because now despite the fact that Q1 is OFF the BL1 current is not equal to 0A.
As you can see here in red

Q2 transistor base current is now flow through first light bulb.
Additional the light bulb resistance is ""low" so the base current is high:
Ib = (10V - 0.7V)/100Ω ≈ 93mA and this is why light bulb glow (shines).


But everything work as is should be. And to fix this issue with the bulbs simple reduce the base current.


Can you tell me the name of the book you are reading now?

try this books
http://www.amazon.com/Tab-Electronic.../dp/0071360573
http://www.amazon.com/Make-Electroni...ref=pd_sim_b_6
http://www.amazon.com/Electronic-Dev...8163321&sr=1-1
HI JOHNY, thnx for answer

i am reading complete electronics self teaching guide with projects by earl boysen, harry kybett,
but now i want to start to read pracitcal electronics for inventors, is this book good?

johny now i understand i did not know that transistor can work also like this ?
when switch in postion b normal transistor is off but the bubl glow and hi can find current through the base of second buble transistor to emitter gnd, , is like this? , and also second transistor is on because he find current thrug the buble one transistor one is ok


so now i have problem with calculating

where they come this value
i send you a file, and look

johny goodnight
Attached Thumbnails
switch a.png   switch b.png  
Attached Files
File Type: zip transistor calculation.zip (5.2 KB, 2 views)
Jony130
Jony130 is offline
#14
Dec28-13, 10:32 AM
P: 389
but now i want to start to read pracitcal electronics for inventors, is this book good?
I don't know I never read this book.

johny now i understand i did not know that transistor can work also like this ?
But this has nothing to do with transistors.


when switch in postion b normal transistor is off but the bubl glow and hi can find current through the base of second buble transistor to emitter gnd, , is like this?
Which transistor on your diagram is "normal"? Which bulb is glowing?
Why you don't use component name designators? It is so hard to write Q1 transistor is OFF or BL1 bulb is glowing?

, and also second transistor is on because he find current thrug the buble one transistor one is ok
I really don't understand what you are trying to say.
so now i have problem with calculating

where they come this value
i send you a file, and look
Hmm, as you may know transistor are nonlinear device and this is why equation describe transistor are also nonlinear. Normally, it is impossible to find analytical solution for this type of a circuits. We can use numerical method or use iteration method. But we often use hand calculation. And in this case we are force to assume some transistors parameters needed for calculation. And this is why we almost always assume Vbe value between 0.6V...0.7V. We have the same situation with other BJT parameters for example Hfe or Vce_saturation voltage.
Of course in data sheet we can find approximate values ​​of the parameters which we are interested.

So for your circuit.
Also do you know what type of a bulb you use in simulation? Or what type of a BJT you are using?
michael1978
michael1978 is offline
#15
Dec31-13, 08:46 AM
P: 133
Quote Quote by jony130 View Post
i don't know i never read this book.


But this has nothing to do with transistors.



Which transistor on your diagram is "normal"? Which bulb is glowing?
Why you don't use component name designators? It is so hard to write q1 transistor is off or bl1 bulb is glowing?


I really don't understand what you are trying to say.

Hmm, as you may know transistor are nonlinear device and this is why equation describe transistor are also nonlinear. Normally, it is impossible to find analytical solution for this type of a circuits. We can use numerical method or use iteration method. But we often use hand calculation. And in this case we are force to assume some transistors parameters needed for calculation. And this is why we almost always assume vbe value between 0.6v...0.7v. We have the same situation with other bjt parameters for example hfe or vce_saturation voltage.
Of course in data sheet we can find approximate values ​​of the parameters which we are interested.

So for your circuit.
Also do you know what type of a bulb you use in simulation? Or what type of a bjt you are using?
jony how are you? Tonight is good , happy new year

But i think ideal transistor ? Buble 6v 60ma i think 100ohm

HOW TO DO CALCULATING PLEASE? HOW COME THIS VALUE SIMULATE SELF AND YOU WILL SEE I WILL SEND YOU FILE PLEASE


One more time happy new year? Eennjjooyy
Attached Files
File Type: zip transistor calc.zip (5.2 KB, 2 views)
Jony130
Jony130 is offline
#16
Jan1-14, 05:40 AM
P: 389
Ok. If we assume R_bulb = 100Ω . Don't forget that light bulb resistance is also voltage dependent (nonlinear). Light bulb resistance change when you apply different voltage to it.

So for switch in B position Q2 base current will be around

Ib2 = (Vcc - Vbe2)/R_bulb ≈ (10V - 0.7V)/100Ω ≈ 93mA

And Ic2 = (Vcc - Vce(sat)) ≈ (10V - 0.1V)/100Ω ≈ 99mA

That's all we can do, we are forced to assume Vbe and Vce(sat) values, because we don't know nothing about this ideal BJT use in simulator.
michael1978
michael1978 is offline
#17
Jan1-14, 04:14 PM
P: 133
Quote Quote by Jony130 View Post
Ok. If we assume R_bulb = 100Ω . Don't forget that light bulb resistance is also voltage dependent (nonlinear). Light bulb resistance change when you apply different voltage to it.

So for switch in B position Q2 base current will be around

Ib2 = (Vcc - Vbe2)/R_bulb ≈ (10V - 0.7V)/100Ω ≈ 93mA

And Ic2 = (Vcc - Vce(sat)) ≈ (10V - 0.1V)/100Ω ≈ 99mA

That's all we can do, we are forced to assume Vbe and Vce(sat) values, because we don't know nothing about this ideal BJT use in simulator.
THNX JOHNY FOR ANSWER...Ic2 = (Vcc - Vce(sat)) ≈ (10V - 0.1V)/100Ω ≈ 99mA, VCE(sat) 0.1? HOW COME THAT IS 0.1 VOLT? it most be 0v of not?
AND I SIMLATE THIS FILE SO VBE=114mv q1, vbe 1.01vQ2, q3=146Mv

see the picture down
Attached Thumbnails
vbe value.gif  
Jony130
Jony130 is offline
#18
Jan2-14, 08:56 AM
P: 389
Quote Quote by michael1978 View Post
VCE(sat) 0.1? HOW COME THAT IS 0.1 VOLT? it most be 0v of not?
Who told you that?
Vce(sat) is always greater than zero.
See this 2N2222 datasheet
http://www.fairchildsemi.com/ds/PN/PN2222A.pdf

Quote Quote by michael1978 View Post
AND I SIMLATE THIS FILE SO VBE=114mv q1, vbe 1.01vQ2, q3=146Mv
?? We use uppercase (capital) letters for the quantity symbols for voltage, current and power.
Also capital letter M is use in electronic as a Mega = 1 000 000 = 1M


Register to reply

Related Discussions
A transistor as a switch Electrical Engineering 8
Difference between mechanical switch and a transistor switch? Electrical Engineering 5
Transistor As Switch Introductory Physics Homework 5
transistor as a switch Electrical Engineering 1
BJT transistor as a switch Electrical Engineering 21