Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: Large signal PSpice transistor models

349 views
Skip to first unread message

Tim Williams

unread,
Nov 10, 2012, 5:07:42 PM11/10/12
to
BJT SPICE models are not specifically small or large signal models, they
are general representations for transient or AC mode simulations.

What waveforms are you getting?

Qucs uses a SPICE backend? Have you tried manipulating the simulation
parameters to see if it's producing an accurate, stable result?

Can you generate a SPICE netlist and post it here?

Tim

--
Deep Friar: a very philosophical monk.
Website: http://seventransistorlabs.com

"o pere o" <m...@somewhere.net> wrote in message
news:k7mic6$amu$1...@dont-email.me...
> To make a long story short, I ended up simulating an emitter follower
> with Qucs. This simulator has some transistor models embedded, but you
> are able to insert PSpice models and subcircuits if you need more.
>
> When you increase input signal level up to the point where the output
> should clip at zero, one transistor model clips correctly (BFP405, from
> Qucs) but others not (BFR93a, 2N2222A). The BFR93a model is a PSpice
> model from the NXP site and I have tried several 2N2222a models (one
> from Qucs itself, one PSpice model from Zetex and another PSpice model
> from somewhere): none of these clips at zero although it does at
> VCC=3.3.
>
> Tried the same circuit in LTSpice with the same result. Am I the only
> one experiencing this? Has anyone got better large-signal models
> -especially for the BFR93a?
>
> Pere
>
>


Bill Sloman

unread,
Nov 10, 2012, 6:50:02 PM11/10/12
to
On Nov 11, 9:06 am, "Tim Williams" <tmoran...@charter.net> wrote:
> BJT SPICE models are not specifically small or large signal models, they
> are general representations for transient or AC mode simulations.
>
> What waveforms are you getting?
>
> Qucs uses a SPICE backend?  Have you tried manipulating the simulation
> parameters to see if it's producing an accurate, stable result?
>
> Can you generate a SPICE netlist and post it here?
>
> Deep Friar: a very philosophical monk.
> Website:http://seventransistorlabs.com
>
> "o pere o" <m...@somewhere.net> wrote in messagenews:k7mic6$amu$1...@dont-email.me...
>
> > To make a long story short, I ended up simulating an emitter follower
> > with Qucs. This simulator has some transistor models embedded, but you
> > are able to insert PSpice models and subcircuits if you need more.
>
> > When you increase input signal level up to the point where the output
> > should clip at zero, one transistor model clips correctly (BFP405, from
> > Qucs) but others not (BFR93a, 2N2222A). The BFR93a model is a PSpice
> > model from the NXP site and I have tried several 2N2222a models (one
> > from Qucs itself, one PSpice model from Zetex and another PSpice model
> > from somewhere): none of these clips at zero although it does at
> > VCC=3.3.
>
> > Tried the same circuit in LTSpice with the same result. Am I the only
> > one experiencing this? Has anyone got better large-signal models
> > -especially for the BFR93a?

The transistor models you can get from NXP are Gummel-Poon models, as
are the models that come with LTSpice.

LTspice also supports the superior VBIC - Vertical Bipolar Inter
Company - model but manufactures treat the parameters for VBIC models
as "commercial in confidence" and don't publish them.

Gummel-Poon doesn't model inverted transistors very accurately, and
some time ago I wanted to get hold of a VBIC model to see it it would
do better, as it has been claimed that it would, but nobody around
here had any non-proprietary data that they were prepared to share
with me.

In principle it isn't too difficult to make up a set of VBIC
parameters from Gummel-Poon data and a few extra measurements, but
nobody seems to have bothered to do it.

--
Bill Sloman, Sydney


Jim Thompson

unread,
Nov 10, 2012, 7:19:00 PM11/10/12
to
On Sat, 10 Nov 2012 22:53:08 +0100, o pere o <m...@somewhere.net> wrote:

>To make a long story short, I ended up simulating an emitter follower
>with Qucs. This simulator has some transistor models embedded, but you
>are able to insert PSpice models and subcircuits if you need more.
>
>When you increase input signal level up to the point where the output
>should clip at zero, one transistor model clips correctly (BFP405, from
>Qucs) but others not (BFR93a, 2N2222A). The BFR93a model is a PSpice
>model from the NXP site and I have tried several 2N2222a models (one
>from Qucs itself, one PSpice model from Zetex and another PSpice model
>from somewhere): none of these clips at zero although it does at VCC=3.3.
>
>Tried the same circuit in LTSpice with the same result. Am I the only
>one experiencing this? Has anyone got better large-signal models
>-especially for the BFR93a?
>
>Pere

Sounds more like definitional problems than a model issue.

(1) I presume you output is the emitter (VE) ??
(2) What do you mean by "clip at zero"?
(3) Are V2 and V3 fixed values?

...Jim Thompson
--
| James E.Thompson, CTO | mens |
| Analog Innovations, Inc. | et |
| Analog/Mixed-Signal ASIC's and Discrete Systems | manus |
| Phoenix, Arizona 85048 Skype: Contacts Only | |
| Voice:(480)460-2350 Fax: Available upon request | Brass Rat |
| E-mail Icon at http://www.analog-innovations.com | 1962 |

I love to cook with wine. Sometimes I even put it in the food.

Jon Kirwan

unread,
Nov 10, 2012, 8:12:50 PM11/10/12
to
Support for GP and VBIC is one thing. You point out how hard
it is to get the VBIC model parameters. But even the GP
parameters are rarely even close to fully provided.

For example, the models I've seen for BJTs are pretty weak in
low current beta. They usually don't include figures for Ise
(which defaults to 0) or Ne (defaulted to 1.5, which matters
not at all if Ise=0.) [Or in the older literature where these
parameters are called C_2=Ise/Is and n_EL.] The models I've
seen just assume that a log plot of Ic and Ib versus Vbe is a
nice line all the way back towards Vbe=0V, instead of the
dramatic knee that actually takes place because actual BJTs
have extra effects from recombinations of surface carriers
and carriers in the emitter-base space-charge layer, and also
due to the formation of emitter-base surface channels. Almost
never do I find these low current parameters modeled, nor is
there usually enough information in the data sheet to develop
them (they start their charts typically with base currents
near a microamp, with any serious beta drop-off not shown.)
Modelling a discrete equivalent to a PUJT, for example, isn't
possible without them because the beta drop at low currents
is what makes the difference between a simulation that models
real behavior of the discrete pair and one that completely
fails and instead finds a stable quiescent point.

>In principle it isn't too difficult to make up a set of VBIC
>parameters from Gummel-Poon data and a few extra measurements, but
>nobody seems to have bothered to do it.

I'd just like to see GP parameters, even. Rarely do I see
much more than EM2 model parameters, with a few strays from
GP added to the mix.

It would be interesting to sweep low base currents from say
5nA to 500nA in order to actually get Ise and Ne to use in
simulation. But it's not been a priority of any kind, yet. I
just remain aware of the problem. The BJT models that are
readily available rarely make use of anything close to all
the GP model parameters. And Ise and Ne are merely EM3 model
parameters (pre-GP.)

So while it may be not too difficult to add what's needed to
get VBIC, assuming you have all the GP parameters, the
problem is that you rarely have all the GP parameters. So the
difficulty now rises rapidly because of all the holes in the
missing modelling parameters for GP or even EM3 in the models
that us unwashed mortals can get.

Jon

legg

unread,
Nov 11, 2012, 12:17:22 PM11/11/12
to
On Sat, 10 Nov 2012 22:53:08 +0100, o pere o <m...@somewhere.net> wrote:

>To make a long story short, I ended up simulating an emitter follower
>with Qucs. This simulator has some transistor models embedded, but you
>are able to insert PSpice models and subcircuits if you need more.
>
>When you increase input signal level up to the point where the output
>should clip at zero, one transistor model clips correctly (BFP405, from
>Qucs) but others not (BFR93a, 2N2222A). The BFR93a model is a PSpice
>model from the NXP site and I have tried several 2N2222a models (one
>from Qucs itself, one PSpice model from Zetex and another PSpice model
>from somewhere): none of these clips at zero although it does at VCC=3.3.
>
>Tried the same circuit in LTSpice with the same result. Am I the only
>one experiencing this? Has anyone got better large-signal models
>-especially for the BFR93a?
>
>Pere

At 25MHz, your input signal is using the bipolar transistor as
rectifier, clamped by the CB junction.

You'd need a lot of accurate reverse and dynamic parameters in your
model, to get anything close to reality.

The 2n2222a model may be missing (from inspection of popular models)
ISC, VJE, VJC, VJS, XCJC, FC, MJE, MJC, MJS, ITF, VTF, XTF.

RL

Jim Thompson

unread,
Nov 11, 2012, 1:00:46 PM11/11/12
to
For manufacturers of discrete devices, there's no money in spending
time fully characterizing their devices for "Spice".

In the monolithic world it's entirely different. Foundries provide me
full characterization including substrate effects.

And Slowman bloviates. He can't tell an emitter from a collector
without a drawing >:-}

Michael A. Terrell

unread,
Nov 11, 2012, 1:11:00 PM11/11/12
to

Jim Thompson wrote:
>
> And Slowman bloviates. He can't tell an emitter from a collector
> without a drawing >:-}


Well based on the fact that he emitts crap and collected welfare for
a decade puts him squarely in the Bipolar camp...

Jim Thompson

unread,
Nov 11, 2012, 1:31:17 PM11/11/12
to
Everyone has their own idea, see below, based on a variety of amateur
(usually a know-it-all PhD :) curve-fitting techniques...

.MODEL Q2N2222_XN NPN(Is=31f Xti=3 Eg=1.11 Vaf=50 Bf=256 Ne=1.34
+ Ise=14f Ikf=50m
+ Xtb=1.5 Br=3.175 Nc=2 Isc=750p Ikr=0 Rc=300m Cjc=7.3p Mjc=341.6m
+ Vjc=750m Fc=500m Cje=22p Mje=377m Vje=750m Tr=95n Tf=332p Itf=10
+ Vtf=30 Xtf=200 Re=300m Rb=30 Re=500m kf=1f

.MODEL 2N2222A_XN NPN(IS=30.611f NF=1.00124 BF=220 IKF=520m VAF=104
+ ISE=7.5f NE=1.41 NR=1.005
+ BR=4 IKR=240m VAR=28 ISC=10.6525p NC=1.3728 RB=130m RE=220m RC=120m
+ CJC=9.12p MJC=350.8m VJC=408.9m CJE=27.01p TF=325p TR=100n)

.model Q2N2222 NPN(Is=14.34f Xti=3 Eg=1.11 Vaf=74.03 Bf=100 Ne=1.307
+ Ise=14.34f Ikf=.2847 Xtb=1.5 Br=6.092 Nc=2 Isc=0 Ikr=0 Rc=1
+ Cjc=38p Mjc=.3416 Vjc=.75 Fc=.5 Cje=126p Mje=.377Vje=.75
+ Tr=200n Tf=12n Itf=.6 Vtf=1.7 Xtf=3 Rb=10)

.model Q2N2222A NPN(Is=14.34f Xti=3 Eg=1.11 Vaf=74.03 Bf=255.9
+ Ne=1.307
+ Ise=14.34f Ikf=.2847 Xtb=1.5 Br=6.092 Nc=2 Isc=0 Ikr=0 Rc=1
+ Cjc=7.306p Mjc=.3416 Vjc=.75 Fc=.5 Cje=22.01p Mje=.377 Vje=.75
+ Tr=46.91n Tf=411.1p Itf=.6 Vtf=1.7 Xtf=3 Rb=10)
* National pid=19 case=TO18
* 88-09-07 bam creation

.MODEL Q2N2222 NPN (
+ IS = 3.97589E-14
+ BF = 195.3412
+ NF = 1.0040078
+ VAF = 53.081
+ IKF = 0.976
+ ISE = 1.60241E-14
+ NE = 1.4791931
+ BR = 1.1107942
+ NR = 0.9928261
+ VAR = 11.3571702
+ IKR = 2.4993953
+ ISC = 1.88505E-12
+ NC = 1.1838278
+ RB = 56.5826472
+ IRB = 1.50459E-4
+ RBM = 5.2592283
+ RE = 0.0402974
+ RC = 0.4208
+ CJE = 2.56E-11
+ VJE = 0.682256
+ MJE = 0.3358856
+ TF = 3.3E-10
+ XTF = 6
+ VTF = 0.574
+ ITF = 0.32
+ PTF = 25.832
+ CJC = 1.40625E-11
+ VJC = 0.5417393
+ MJC = 0.4547893
+ XCJC = 1
+ TR = 3.2E-7
+ CJS = 0
+ VJS = .75
+ MJS = 0
+ XTB = 1.6486
+ EG = 1.11
+ XTI = 5.8315
+ KF = 0
+ AF = 1
+ FC = 0.83

.MODEL Q2N2222A/ZTX NPN IS =3.0611E-14 NF =1.00124 BF =220 IKF=0.52
+ VAF=104 ISE=7.5E-15 NE =1.41 NR =1.005 BR =4 IKR=0.24
+ VAR=28 ISC=1.06525E-11 NC =1.3728 RB =0.13 RE =0.22
+ RC =0.12 CJC=9.12E-12 MJC=0.3508 VJC=0.4089
+ CJE=27.01E-12 TF =0.325E-9 TR =100E-9

Bill Sloman

unread,
Nov 11, 2012, 3:26:54 PM11/11/12
to
On Nov 12, 5:00 am, Jim Thompson <To-Email-Use-The-Envelope-I...@On-My-
It's not trivial, unless you are prepared to risk reverse biasing the
base-emitter junction to breakdown.

--
Bill Sloman, Sydney

Bill Sloman

unread,
Nov 11, 2012, 3:31:16 PM11/11/12
to
On Nov 12, 5:10 am, "Michael A. Terrell" <mike.terr...@earthlink.net>
wrote:
Along with Michael, who has been collecting welfare for longer. He
won't admit that it's welfare, any more than I would agree that
unemployment benefit was welfare, but it's close enough for this kind
of half-baked abuse.

--
Bill Sloman, Sydney

Bill Sloman

unread,
Nov 11, 2012, 3:37:21 PM11/11/12
to
On Nov 12, 5:31 am, Jim Thompson <To-Email-Use-The-Envelope-I...@On-My-
Web-Site.com> wrote:
Of course, a professional would have set up a matrix, where you could
directly compare the different values assigned to a specific parameter
in each different model

awk might even do it for you ...

--
Bill Sloman, Sydney

Jon Kirwan

unread,
Nov 11, 2012, 4:25:23 PM11/11/12
to
Why is that, though? At least, if they ever sell more than
10,000 of them anyway. It takes time, yes. But once for each
time they change the process/FAB. How many times is that?
Can't be that bad considering all the other time that goes
into setting up and manufacturing a line of parts.

>In the monolithic world it's entirely different. Foundries provide me
>full characterization including substrate effects.
><snip>

Well, they have a personal interest in wanting your work to
actually be competitive and work well, too. So of course.
Discrete design engineers are mere peons -- and perhaps as a
rule not allowed to rely upon a detailed and thorough
understanding of the physics involved, so what was learned is
often soon forgotten as unused or unreliable instead of being
re-inforced every day, as it may otherwise be if a detailed
knowledge could be relied upon to make their work more
competitive.

I suppose a difference here is that in your work, you are
designing for a specific process and FAB situation, so using
ALL of the knowledge can help create highly competitive
results, whereas people doing discrete design cannot depend
on a specific process/FAB being used. So developing specific
knowledge doesn't pay off in the same ways. Plus, I suspect
that manufacturers would anticipate 100's of times as many
phone calls and pestering emails from engineers if they
provided the information and they just don't want the hassle,
especially since many of the engineers would have forgotten
so much and would need "re-education" which itself would cost
them still more time and effort. Better to just say less and
cut down on pre-sale and after-sale support calls for 5 cent
parts, perhaps.

Jon

Jim Thompson

unread,
Nov 11, 2012, 4:44:40 PM11/11/12
to
On Sun, 11 Nov 2012 13:25:23 -0800, Jon Kirwan
One might argue that designing so that "any old shit" device will work
is what real engineering is all about ;-)

In my youth, with help from my oldest son, the programmer, we wrote a
bipolar device model parameter extractor.

I suspect it can now be done with Matlab or even Excel... all you need
is good data for IC and IB versus VBE and VCE.

I suspect that the OP's problem is just C-B or B-E capacitances that
he hadn't considered in his thought processes... "clean" clips only
exist in one's imagination >:-}

Jon Kirwan

unread,
Nov 11, 2012, 5:05:44 PM11/11/12
to
On Sun, 11 Nov 2012 14:44:40 -0700, Jim Thompson
Not if you want to achieve the best possible results or
topologies that depend upon a much fuller knowledge of
parameters. It's just not possible for justify how a PUJT
arranged discrete BJT pair works, if you don't take into
account the reduction in beta as current declines. The
topology just doesn't work otherwise. I'm sure there are many
other examples. Knowing all the gears within gears, so to
speak, allows for a wider range of interesting topologies to
unfold, taking advantage of some behavior area or another.

>In my youth, with help from my oldest son, the programmer, we wrote a
>bipolar device model parameter extractor.

Nifty. I'd love to see it work on the Fairchild datasheet to
extract Ne and Ise.

>I suspect it can now be done with Matlab or even Excel... all you need
>is good data for IC and IB versus VBE and VCE.

Right. And there is the problem with datasheets. Of course,
with a tester, you can get that. But you may need to slew
down to 5nA (or less) base currents to extract the slope (Ne)
and the intercept (Ise.)

>I suspect that the OP's problem is just C-B or B-E capacitances that
>he hadn't considered in his thought processes... "clean" clips only
>exist in one's imagination >:-}

I didn't look at the circuit so I can't add any thoughts.

Jon

Jim Thompson

unread,
Nov 11, 2012, 5:31:50 PM11/11/12
to
On Sun, 11 Nov 2012 14:05:44 -0800, Jon Kirwan
Our tool was called, appropriately enough, NE.exe ;-)

>
>>I suspect it can now be done with Matlab or even Excel... all you need
>>is good data for IC and IB versus VBE and VCE.

Datasheets are useless. When I suggested to a major OpAmp
manufacturer that the real way to make behavioral models was to have
me run the real netlist side-by-side with my behavioral implementation
until I attained a complete match... I was basically shown the door
:-(

>
>Right. And there is the problem with datasheets. Of course,
>with a tester, you can get that. But you may need to slew
>down to 5nA (or less) base currents to extract the slope (Ne)
>and the intercept (Ise.)
>
>>I suspect that the OP's problem is just C-B or B-E capacitances that
>>he hadn't considered in his thought processes... "clean" clips only
>>exist in one's imagination >:-}
>
>I didn't look at the circuit so I can't add any thoughts.
>
>Jon

I saved it to my LTspice directory, but haven't tried it yet... too
much honey-do in the roll-up to Thanksgiving.

And there's already chit-chat about the Christmas scheduling... we're
celebrating it on December 29 this year to accommodate the college
students and the granddaughter already graduated and working.

And my sensitive mind suspects something coming I didn't expect to
live to see... that _granddaughter_ announcing her engagement ;-)

Maybe I'll make it to great-grandfather :-)

Jim Thompson

unread,
Nov 11, 2012, 7:05:09 PM11/11/12
to
On Sun, 11 Nov 2012 14:44:40 -0700, Jim Thompson
<To-Email-Use-Th...@On-My-Web-Site.com> wrote:

[snip]
>
>I suspect that the OP's problem is just C-B or B-E capacitances that
>he hadn't considered in his thought processes... "clean" clips only
>exist in one's imagination >:-}
>
> ...Jim Thompson

Confirmed. Actually PSpice reports more negative than LTspice, but
LTspice takes some "liberties" for speed.

The culprit is the B-E capacitance.

The OP should use a smaller (RF) device with lower capacitances.

legg

unread,
Nov 11, 2012, 9:34:03 PM11/11/12
to
>Everyone has their own idea, see below, based on a variety of amateur
>(usually a know-it-all PhD :) curve-fitting techniques...
<snip>
> ...Jim Thompson

All those models have the same problem w/r to reverse emitter current
at 25MHz.

Looks like CJE is four orders of magnitude higher than BFR93a or
BFP405.

Correcting this on any of the 2n2222 models fixes it, but I'm not sure
how an emitter junction could be expected to exhibit capacitance in
the 1E-15 range.

RL

o pere o

unread,
Nov 12, 2012, 3:55:30 AM11/12/12
to
On 11/12/2012 01:05 AM, Jim Thompson wrote:
> On Sun, 11 Nov 2012 14:44:40 -0700, Jim Thompson
> <To-Email-Use-Th...@On-My-Web-Site.com> wrote:
>
> [snip]
>>
>> I suspect that the OP's problem is just C-B or B-E capacitances that
>> he hadn't considered in his thought processes... "clean" clips only
>> exist in one's imagination >:-}
>>
>> ...Jim Thompson
>
> Confirmed. Actually PSpice reports more negative than LTspice, but
> LTspice takes some "liberties" for speed.
>
> The culprit is the B-E capacitance.
>
> The OP should use a smaller (RF) device with lower capacitances.
>
> ...Jim Thompson
>

Thanks for the input! At 27 kHz, the 2N2222a clips nicely at the bottom.
But, while I expected the 2N2222 to work bad, I would certainly not have
expected this for the BFR93a... in an emitter follower!

Otoh, could you expand on the "liberties" that LTspice takes? Sometimes
speed is not the most important thing.

Pere

o pere o

unread,
Nov 12, 2012, 3:55:50 AM11/12/12
to
Well, I have been using a 2N222s model with Cje=22 pF. The BFR93 gives
2pF, i.e. one order of magnitude less and the BFP 405 gives 3.7 fF.

Now it is about time to make some measurements...

Pere

Jim Thompson

unread,
Nov 12, 2012, 10:46:09 AM11/12/12
to
On Mon, 12 Nov 2012 09:55:30 +0100, o pere o <m...@somewhere.net> wrote:

>On 11/12/2012 01:05 AM, Jim Thompson wrote:
>> On Sun, 11 Nov 2012 14:44:40 -0700, Jim Thompson
>> <To-Email-Use-Th...@On-My-Web-Site.com> wrote:
>>
>> [snip]
>>>
>>> I suspect that the OP's problem is just C-B or B-E capacitances that
>>> he hadn't considered in his thought processes... "clean" clips only
>>> exist in one's imagination >:-}
>>>
>>> ...Jim Thompson
>>
>> Confirmed. Actually PSpice reports more negative than LTspice, but
>> LTspice takes some "liberties" for speed.
>>
>> The culprit is the B-E capacitance.
>>
>> The OP should use a smaller (RF) device with lower capacitances.
>>
>> ...Jim Thompson
>>
>
>Thanks for the input! At 27 kHz, the 2N2222a clips nicely at the bottom.

Your ASC file shows 27e6, that's 27M(ega)Hz, not 27kHz.

>But, while I expected the 2N2222 to work bad, I would certainly not have
>expected this for the BFR93a... in an emitter follower!

At 27MHz and 1K load, only a few pF does you in.

>
>Otoh, could you expand on the "liberties" that LTspice takes? Sometimes
>speed is not the most important thing.
>
>Pere

A glaring example: Their diode model is just a switch. And the
convergence algorithm skips the fine details unless you specify
otherwise... read the manual for details.

legg

unread,
Nov 12, 2012, 1:37:54 PM11/12/12
to
BFR93a in the file I have has CJE of 3.2E-15, similar to BFP405. If
this is altered to 2.2pF, an emitter excursion to -2.5V occurs.

RL

legg

unread,
Nov 12, 2012, 2:22:48 PM11/12/12
to
On Mon, 12 Nov 2012 09:55:50 +0100, o pere o <m...@somewhere.net> wrote:

>On 11/12/2012 03:34 AM, legg wrote:
>> On Sun, 11 Nov 2012 12:17:22 -0500, legg <le...@nospam.magma.ca> wrote:
>>
<snip>
>>>> The 2n2222a model may be missing (from inspection of popular models)
>>>> ISC, VJE, VJC, VJS, XCJC, FC, MJE, MJC, MJS, ITF, VTF, XTF.
>>>>
>>>> At 25MHz, your input signal is using the bipolar transistor as
>>>> rectifier, clamped by the CB junction.
>>
>>>> You'd need a lot of accurate reverse and dynamic parameters in your
>>>> model, to get anything close to reality.
>>
>>>>> ISC, VJE, VJC, VJS, XCJC, FC, MJE, MJC, MJS, ITF, VTF, XTF.
>>
>>>> RL
>>
>>> Everyone has their own idea, see below, based on a variety of amateur
>>> (usually a know-it-all PhD :) curve-fitting techniques...
>> <snip>
>>> ...Jim Thompson
>>
>> All those models have the same problem w/r to reverse emitter current
>> at 25MHz.
>>
>> Looks like CJE is four orders of magnitude higher than BFR93a or
>> BFP405.
>>
>> Correcting this on any of the 2n2222 models fixes it, but I'm not sure
>> how an emitter junction could be expected to exhibit capacitance in
>> the 1E-15 range.
>>
>> RL
>>
>
>Well, I have been using a 2N222s model with Cje=22 pF. The BFR93 gives
>2pF, i.e. one order of magnitude less and the BFP 405 gives 3.7 fF.
>
>Now it is about time to make some measurements...
>
>Pere

There is also an issue with CJC, in combination with RB, that defines
the delay and speed of the falling edge of the emitter-follower
rectifier. Capacitance with the same orders of magnitude difference
show up, producing a spike, if significant.

Gummel-Poon BJT modeling is aimed at small-signal representations,
where DC-biased variables are roughly static (even if non-linear).
I've seen this combated with look-up tables, but it's slooooow.

Still can't see femtofarads in bipolar parts, considering size and
packaging.

RL

Jim Thompson

unread,
Nov 12, 2012, 2:41:46 PM11/12/12
to
Wrong. If you properly extract all the parameters it correctly models
everything but deep saturation and injection into substrate. PSpice
adds the ability to model that region (used to be useful in TTL days
;-); and also provides an alternate model, MEXTRAM.

>
>Still can't see femtofarads in bipolar parts, considering size and
>packaging.
>
>RL

The intrinsic device might go that low if the emitter is implanted
rather than diffused.

From an Atmel process (Atmel46K, that I've run at 5GHz :-)....

cje_ceb_1x_mean = 1.02114E-14 ; 0.01pF !!

legg

unread,
Nov 12, 2012, 4:02:51 PM11/12/12
to
On Mon, 12 Nov 2012 12:41:46 -0700, Jim Thompson
<To-Email-Use-Th...@On-My-Web-Site.com> wrote:

>On Mon, 12 Nov 2012 14:22:48 -0500, legg <le...@nospam.magma.ca> wrote:
>
>>On Mon, 12 Nov 2012 09:55:50 +0100, o pere o <m...@somewhere.net> wrote:
>>
<snip>
>>>>>> The 2n2222a model may be missing (from inspection of popular models)
>>>>>> ISC, VJE, VJC, VJS, XCJC, FC, MJE, MJC, MJS, ITF, VTF, XTF.
<snip>
Could you identify the parameters that ensure this accuracy?
Does it include any of those presently missing?

RL

Michael A. Terrell

unread,
Nov 12, 2012, 6:40:59 PM11/12/12
to

o pere o wrote:
>
> Well, I have been using a 2N222s model with Cje=22 pF. The BFR93 gives
> 2pF, i.e. one order of magnitude less and the BFP 405 gives 3.7 fF.
>
> Now it is about time to make some measurements...


Wow! Were did you find 2N222s? Obsolete for decades, and damn
expensive.

Jim Thompson

unread,
Nov 12, 2012, 6:45:06 PM11/12/12
to
Gummel-Poon, particularly as implemented in Spice, IS a non-linear
model...

http://www.analog-innovations.com/SED/BipolarTransistor_FromPSPCREF.pdf

NOT a trivial model ;-)

k...@att.bizzz

unread,
Nov 12, 2012, 7:55:57 PM11/12/12
to
Come on! In the Spice catalog, they're really cheap!

Michael A. Terrell

unread,
Nov 12, 2012, 8:09:47 PM11/12/12
to
They were never 'cheap'.

k...@att.bizzz

unread,
Nov 12, 2012, 8:30:28 PM11/12/12
to
On Mon, 12 Nov 2012 20:09:47 -0500, "Michael A. Terrell"
<mike.t...@earthlink.net> wrote:

>
>k...@att.bizzz wrote:
>>
>> On Mon, 12 Nov 2012 18:40:59 -0500, "Michael A. Terrell"
>> <mike.t...@earthlink.net> wrote:
>>
>> >
>> >o pere o wrote:
>> >>
>> >> Well, I have been using a 2N222s model with Cje=22 pF. The BFR93 gives
>> >> 2pF, i.e. one order of magnitude less and the BFP 405 gives 3.7 fF.
>> >>
>> >> Now it is about time to make some measurements...
>> >
>> >
>> > Wow! Were did you find 2N222s? Obsolete for decades, and damn
>> >expensive.
>>
>> Come on! In the Spice catalog, they're really cheap!
>
>
> They were never 'cheap'.

The Spice ones are. You can't get much cheaper than LTSpice.

Tim Williams

unread,
Nov 12, 2012, 11:38:52 PM11/12/12
to
<k...@att.bizzz> wrote in message
news:nk83a8513e050ep4v...@4ax.com...
>>> > Wow! Were did you find 2N222s? Obsolete for decades, and damn
>>> >expensive.
>>>
>>> Come on! In the Spice catalog, they're really cheap!
>>
>> They were never 'cheap'.
>
> The Spice ones are. You can't get much cheaper than LTSpice.

You sure?
https://www.google.com/search?q=2n222+spice+-2n2222

http://alltransistors.com/transistor.php?transistor=1764

Methinks the SPICE catalog says "Please Call".

Tim

--

Michael A. Terrell

unread,
Nov 13, 2012, 2:47:44 AM11/13/12
to

k...@att.bizzz wrote:
>
> On Mon, 12 Nov 2012 20:09:47 -0500, "Michael A. Terrell"
> <mike.t...@earthlink.net> wrote:
>
> >
> >k...@att.bizzz wrote:
> >>
> >> On Mon, 12 Nov 2012 18:40:59 -0500, "Michael A. Terrell"
> >> <mike.t...@earthlink.net> wrote:
> >>
> >> >
> >> >o pere o wrote:
> >> >>
> >> >> Well, I have been using a 2N222s model with Cje=22 pF. The BFR93 gives
> >> >> 2pF, i.e. one order of magnitude less and the BFP 405 gives 3.7 fF.
> >> >>
> >> >> Now it is about time to make some measurements...
> >> >
> >> >
> >> > Wow! Were did you find 2N222s? Obsolete for decades, and damn
> >> >expensive.
> >>
> >> Come on! In the Spice catalog, they're really cheap!
> >
> >
> > They were never 'cheap'.
>
> The Spice ones are. You can't get much cheaper than LTSpice.


You have spice models for '60s vintage three digit transistors?

o pere o

unread,
Nov 13, 2012, 4:26:30 AM11/13/12
to
Strange, I got it directly from NXP
http://www.nxp.com/download/pip/BFR93A/models : + CJE =
2.03216E-012

Could you post your whole model, to check if there are more differences?

Pere

o pere o

unread,
Nov 13, 2012, 4:33:37 AM11/13/12
to
I still have some of them :) And Farnell still has them on stock (from
several manufacturers...:

http://es.farnell.com/stmicroelectronics/2n2222a/transistor-npn-40v-0-6a-to18/dp/9801278

http://es.farnell.com/multicomp/2n2222a/bipol-transistor-npn-to-18-40v/dp/9207120

etc.

BTW, the interesting measurements are not on the 2N2222...

Pere

o pere o

unread,
Nov 13, 2012, 4:35:52 AM11/13/12
to
Ooops, seems that I missed one of the "2" on my post. Didn't get it on time!

Pere

legg

unread,
Nov 13, 2012, 10:59:50 AM11/13/12
to
Actually a BFR91A model, relabelled BFR93A, in an SOT23 package from
Philips in 1995......BFR91A was SOT37. Same die.

Check out the Seimens model, though:

http://www.dl2jwl.de/pdf/bfr93a.pdf

These are the values used in the LTspice distro.

I would like to see the Telefunken file, if there ever was one, but
Vishay seems to have divested it's bipolar semiconductors entirely,
since having 'incorporated' their ass.

RL

legg

unread,
Nov 13, 2012, 1:08:57 PM11/13/12
to
On Tue, 13 Nov 2012 10:59:50 -0500, legg <le...@nospam.magma.ca> wrote:

>On Tue, 13 Nov 2012 10:26:30 +0100, o pere o <m...@somewhere.net> wrote:
>
>>On 11/12/2012 07:37 PM, legg wrote:
>>> On Mon, 12 Nov 2012 09:55:50 +0100, o pere o <m...@somewhere.net> wrote:
>>>
<snip>

>>> BFR93a in the file I have has CJE of 3.2E-15, similar to BFP405. If
>>> this is altered to 2.2pF, an emitter excursion to -2.5V occurs.
>>>
>>> RL
>>>
>>
>>Strange, I got it directly from NXP
>>http://www.nxp.com/download/pip/BFR93A/models : + CJE =
>>2.03216E-012
>>
>>Could you post your whole model, to check if there are more differences?
>>
>>Pere
>
>Actually a BFR91A model, relabelled BFR93A, in an SOT23 package from
>Philips in 1995......BFR91A was SOT37. Same die.
>
>Check out the Seimens model, though:
>
>http://www.dl2jwl.de/pdf/bfr93a.pdf
>
>These are the values used in the LTspice distro.
>
>I would like to see the Telefunken file, if there ever was one, but
>Vishay seems to have divested it's bipolar semiconductors entirely,
>since having 'incorporated' their ass.
>

The last Telefunken (Temic) datasheet for bfr93 lists S parameters.

It looks like the Siemens spice model has a typo fF for pF. There's no
way CJC could be three orders of magnitude larger than CJE in the same
part.

RL

Jim Thompson

unread,
Nov 13, 2012, 2:07:58 PM11/13/12
to
Here's what I have (from a Kevin Alyward - SuperSpice/Anasoft/Philips
library)...

.SUBCKT BFR93A
Q1 6 5 7 7 BFR91A
* SOT23 parasitic model
Lb 4 5 .4n
Le 7 8 .83n
L1 2 4 .35n
L2 1 6 .17n
L3 3 8 .35n
Ccb 4 6 71f
Cbe 4 8 71f
*
* PHILIPS SEMICONDUCTORS Version: 1.0
* Filename: BFR91A.PRM Date: Feb 1992
*
.MODEL BFR91A NPN
+ IS = 1.32873E-015
+ BF = 1.02000E+002
+ NF = 1.00025E+000
+ VAF = 5.19033E+001
+ IKF = 8.15511E+000
+ ISE = 1.39029E-014
+ NE = 1.51292E+000
+ BR = 1.76953E+001
+ NR = 9.94038E-001
+ VAR = 3.28032E+000
+ IKR = 1.00000E+001
+ ISC = 1.04297E-015
+ NC = 1.18993E+000
+ RB = 1.00000E+001
+ IRB = 1.00000E-006
+ RBM = 1.00000E+001
+ RE = 7.63636E-001
+ RC = 9.00000E+000
+ EG = 1.11000E+000
+ XTI = 3.00000E+000
+ CJE = 2.03216E-012
+ VJE = 6.00000E-001
+ MJE = 2.90076E-001
+ TF = 6.55790E-012
+ XTF = 3.89752E+001
+ VTF = 1.09308E+001
+ ITF = 5.21078E-001
+ CJC = 1.00353E-012
+ VJC = 3.40808E-001
+ MJC = 1.94223E-001
.ENDS

o pere o

unread,
Nov 14, 2012, 5:55:58 AM11/14/12
to
> Well, I have been using a 2N222s model with Cje=22 pF. The BFR93 gives
> 2pF, i.e. one order of magnitude less and the BFP 405 gives 3.7 fF.
>
> Now it is about time to make some measurements...
>
> Pere


Ok, so I tested this

C-----*-----3.3V
Gen--50R---B |
E 10nF
| |
1k gnd
|
gnd

measuring Vb and Ve. Transistors: 2N2222a and BFR93a.

BFR93a:
Generator is adjusted to Vdc=2.3V and 5Vpp.

At 1 MHz, the emitter signal waveform is a nice trapezoidal signal with
a steeper slope when leaving the upper clipping level. The simulator
predicts rounded tops and a somewhat upwards sloping bottom.
At 27 MHz the Spice model predicts negative signal excursions. I could
not observe them. But if I add some 5-10 pF at the emitter resistance to
account for the probe, simulations and reality almost match.

2N2222a:
Generator is adjusted to Vdc=0 and 5Vpp.

At 27 MHz, Spice model predicts sinusoidal signal centered around 0
approx +-2.3. On the scope I see max +1.8 and min -1.5, i.e. there is
some loss but the qualitative shape is ok. Of course, this is not what
the circuit is expected to do, but indicates the model is ok.
At 1 MHz, Spice model predicts bottom clipping but with positive slope
of 1.9V/us. Measurements more or less confirm this.

At 27 MHz, a quite sinusoidal output signal of 4Vpp can be measured
adjusting Vdc=1.3. The simulator predicts the same, although with a
4.5Vpp amplitude. So, the model seems ok.

Conclusion:

The Spice models are ok and they do model large signal behavior. It was
my error to assume that there could be no negative signal excursions:
this is only true at low frequencies. Somehow I thought that 27 MHz was
dc for a 5 GHz transistor. But his is not the case for a high input
impedance circuit, as JT pointed out.

Thanks to all.

Pere

legg

unread,
Nov 14, 2012, 4:35:07 PM11/14/12
to
On Tue, 13 Nov 2012 12:07:58 -0700, Jim Thompson
<To-Email-Use-Th...@On-My-Web-Site.com> wrote:

>On Tue, 13 Nov 2012 13:08:57 -0500, legg <le...@nospam.magma.ca> wrote:
>
>>On Tue, 13 Nov 2012 10:59:50 -0500, legg <le...@nospam.magma.ca> wrote:
<snip>
>>>>Strange, I got it directly from NXP
>>>>http://www.nxp.com/download/pip/BFR93A/models
<snip>
<snip>

This is the same Philips model listed in the LTspice group comparison,
and currntly offered for download from NXP, though a later date is
attributed to the file:
http://tech.groups.yahoo.com/group/LTspice/files/%20Lib/BFR93A/
A ring oscillator sim is offered for 4 model versions.

If the Siemens/Infineon model's CJE is altered from xE-15 to xE-12,
it's performance more closely resembles the other three versions, in
simulation.

RL

k...@att.bizzz

unread,
Nov 16, 2012, 10:03:51 AM11/16/12
to
On Mon, 12 Nov 2012 22:38:52 -0600, "Tim Williams"
<tmor...@charter.net> wrote:

><k...@att.bizzz> wrote in message
>news:nk83a8513e050ep4v...@4ax.com...
>>>> > Wow! Were did you find 2N222s? Obsolete for decades, and damn
>>>> >expensive.
>>>>
>>>> Come on! In the Spice catalog, they're really cheap!
>>>
>>> They were never 'cheap'.
>>
>> The Spice ones are. You can't get much cheaper than LTSpice.
>
>You sure?
>https://www.google.com/search?q=2n222+spice+-2n2222
>
>http://alltransistors.com/transistor.php?transistor=1764
>
>Methinks the SPICE catalog says "Please Call".

I don't know what your problem is (understatement) but I didn't pay
anything for mine.

Tim Williams

unread,
Nov 16, 2012, 6:47:00 PM11/16/12
to
<k...@att.bizzz> wrote in message
news:3clca816h9bu91k6j...@4ax.com...
>>You sure?
>>https://www.google.com/search?q=2n222+spice+-2n2222
>>
>>http://alltransistors.com/transistor.php?transistor=1764
>>
>>Methinks the SPICE catalog says "Please Call".
>
> I don't know what your problem is (understatement) but I didn't pay
> anything for mine.

Did you look at the links I posted?? We were talking about the
three-digit 2N222, not the 2N2222.

Do SPICE models even exist for any pure-Ge (not SiGe) transistors???

legg

unread,
Nov 17, 2012, 3:43:28 PM11/17/12
to
On Mon, 12 Nov 2012 16:45:06 -0700, Jim Thompson
<To-Email-Use-Th...@On-My-Web-Site.com> wrote:

>On Mon, 12 Nov 2012 16:02:51 -0500, legg <le...@nospam.magma.ca> wrote:
>
>>On Mon, 12 Nov 2012 12:41:46 -0700, Jim Thompson
>><To-Email-Use-Th...@On-My-Web-Site.com> wrote:
>>
>>>On Mon, 12 Nov 2012 14:22:48 -0500, legg <le...@nospam.magma.ca> wrote:
>>>
<snip>
>>>>There is also an issue with CJC, in combination with RB, that defines
>>>>the delay and speed of the falling edge of the emitter-follower
>>>>rectifier. Capacitance with the same orders of magnitude difference
>>>>show up, producing a spike, if significant.
>>>>
>>>>Gummel-Poon BJT modeling is aimed at small-signal representations,
>>>>where DC-biased variables are roughly static (even if non-linear).
>>>>I've seen this combated with look-up tables, but it's slooooow.
>>>
>>>Wrong. If you properly extract all the parameters it correctly models
>>>everything but deep saturation and injection into substrate. PSpice
>>>adds the ability to model that region (used to be useful in TTL days
>>>;-); and also provides an alternate model, MEXTRAM.
>>
>>Could you identify the parameters that ensure this accuracy?
>>Does it include any of those presently missing?
>>
>>RL
>
>Gummel-Poon, particularly as implemented in Spice, IS a non-linear
>model...
>
>http://www.analog-innovations.com/SED/BipolarTransistor_FromPSPCREF.pdf
>
>NOT a trivial model ;-)
>
> ...Jim Thompson

Some info on the Mextram model.

http://www.nxp.com/wcm_documents/models/bipolar-models/mextram/nlur2002823.pdf

RL

Jim Thompson

unread,
Nov 23, 2012, 1:46:22 PM11/23/12
to
On Sun, 11 Nov 2012 15:31:50 -0700, Jim Thompson
<To-Email-Use-Th...@On-My-Web-Site.com> wrote:

[snip]
>
>And there's already chit-chat about the Christmas scheduling... we're
>celebrating it on December 29 this year to accommodate the college
>students and the granddaughter already graduated and working.
>
>And my sensitive mind suspects something coming I didn't expect to
>live to see... that _granddaughter_ announcing her engagement ;-)
>
>Maybe I'll make it to great-grandfather :-)
>
> ...Jim Thompson

My suspicions are correct :-)
0 new messages