npn vs. pnp

Thread Starter

psihodelia

Joined Aug 7, 2006
23
There is many circuits where you have to have both sorts, pnp and npn transistors. I'v heard it's possible to change a circuit so, that it will have only npns (or pnp only).

I have a lot of npn transistors and I don't understand how to integrate them into a circuit where pnp are planed.
 

Dave

Joined Nov 17, 2003
6,969
psihodelia said:
There is many circuits where you have to have both sorts, pnp and npn transistors. I'v heard it's possible to change a circuit so, that it will have only npns (or pnp only).

I have a lot of npn transistors and I don't understand how to integrate them into a circuit where pnp are planed.
The basic premise of using npn transistors where the pnp are planned, is to reverse all polarities due to the fact one type utilises electrons for current flow and the other utilises holes.

Dave
 

Dave

Joined Nov 17, 2003
6,969
psihodelia said:
how to reverse polarities if both pnp and npn transistors are there in a circuit graph ? (and I have only one type)
Can you post up the circuit that you are currently working on? It is easier to explain if we have a circuit to hand.

Dave
 

Thread Starter

psihodelia

Joined Aug 7, 2006
23
Dave said:
Can you post up the circuit that you are currently working on? It is easier to explain if we have a circuit to hand.

Dave
please,
this is very simple LED flasher, must flash 15 times per minute

Rich (BB code):
2 Transistor LED-flasher
vin             0       1       9
r1              0       2       6.8Meg
r2              2       3       1K
d1              1       2       1N914
c1              4       3       6.8u
r3              1       4       390
q1              5       2       1       2N3904
q2              4       5       6       2N3906
d2              0       6
.model 2N3904 NPN (Is=6.734f Xti=3 Eg=1.11 Vaf=74.03 Bf=416.4 Ne=1.259 Ise=6.734 Ikf=66.78m Xtb=1.5 Br=.7371 Nc=2 Isc=0 Ikr=0 Rc=1 Cjc=3.638p Mjc=.3085 Vjc=.75 Fc=.5 Cje=4.493p Mje=.2593 Vje=.75 Tr=239.5n Tf=301.2p Itf=.4 Vtf=4 Xtf=2 Rb=10)
.model 2N3906 pnp PNP (Is=1.41f Xti=3 Eg=1.11 Vaf=18.7 Bf=180.7 Ne=1.5 Ise=0 Ikf=80m Xtb=1.5 Br=4.977 Nc=2 Isc=0 Ikr=0 Rc=2.5 Cjc=9.728p Mjc=.5776 Vjc=.75 Fc=.5 Cje=8.063p Mje=.3677 Vje=.75 Tr=33.42n Tf=179.3p Itf=.4 Vtf=4 Xtf=6 Rb=10)
.model 1N914 d
.tran 0.2 10
.plot tran v(0,4)
.end
 

n9352527

Joined Oct 14, 2005
1,198
Are you sure the netlist is right? It seems that Q1 and Q2 are reverse biased. Ditto with D2 which is also missing the model.

Edit:

Just noticed that you put the positive supply at 0 (ground) and hence you are running with negative rail. Unorthodox :)

Now, D1 seems to be revese biased, there's no use of D2 and you better have a non-polar cap for C1, otherwise it could go bang and there's no base resistor for Q2 to limit the base current.
 

Thread Starter

psihodelia

Joined Aug 7, 2006
23
n9352527 said:
Are you sure the netlist is right? It seems that Q1 and Q2 are reverse biased. Ditto with D2 which is also missing the model.

Edit:

Just noticed that you put the positive supply at 0 (ground) and hence you are running with negative rail. Unorthodox :)

Now, D1 seems to be revese biased, there's no use of D2 and you better have a non-polar cap for C1, otherwise it could go bang and there's no base resistor for Q2 to limit the base current.
I am not sure, that this netlist is right, because I am very new in circuits design with SPICE. Can you help me, please ? This is original graphical scheme http://www.uoguelph.ca/~antoon/circ/2qflash.htm I just tried to represent it in SPICE (and simulatuon doesn't work properly)
 

Chris Wright

Joined Jul 26, 2006
62
Unless you just want to learn SPICE or are required to use it for some course work, try the Java applet curcuit simulator at http://falstad.com/circuit/ . Choose the "blank" circuit under the examples and right click (or control click) to display †he list of components and draw your circuit. The current is animated and you can display components in a "scope". You can download the zip file and run it off line also.

I drew your circuit in about 5 min. and the LED blinked twice until it ran into a glitch. Didn't have time to play with it. Give it a try.
 

Attachments

Thread Starter

psihodelia

Joined Aug 7, 2006
23
Chris Wright said:
Unless you just want to learn SPICE or are required to use it for some course work, try the Java applet curcuit simulator at http://falstad.com/circuit/ . Choose the "blank" circuit under the examples and right click (or control click) to display †he list of components and draw your circuit. The current is animated and you can display components in a "scope". You can download the zip file and run it off line also.

I drew your circuit in about 5 min. and the LED blinked twice until it ran into a glitch. Didn't have time to play with it. Give it a try.
Java is not Open Source software, my CPU platform cannot run Java (SUN don't have a port for that)
 

Joe S.

Joined Aug 28, 2006
10
Electrons and holes are sure to confuse you right now.
If you studied tube circuits you learned that electrons flow from - to +.
In trying to adapt that Knowlege to transistor circuits you will not feel well.

Current flow is what you need to understand, and it's really simple. Current flows from positive to negative, it goes in the direction of the little arrows in the diodes and transistors. So in an NPN transistor the positive current flows into the collector and out through the emitter. In a PNP transistor the Positive current flows into the emitter and out through the collector. a positive voltage turns on the NPN transistor and a Negative voltage turns on the PNP transistor.

For a good Basic Electronics tutorial get one of Forrest Mims books, he is really good at giving you the basics. I have a 1/2 dozen myself and refer to them from time to time.

regards,
JS
 
Top