# Section 3: How The New Model Data Were Extracted

## β vs. IC and IC vs. VBE Curves of Model

The best way to see how SPICE models the variation of β with collector current is to look at Gummel plots of the device. A Gummel plot is a plot of ln(IC) and ln(IB) vs. VBE at a collector-base voltage VCB of zero. Figure 8 below shows such a plot for an idealized transistor whose β is constant over all values of IC. This plot was derived from a simulation of a transistor whose SPICE model was created just for this purpose. The SPICE parameters ISE, NE and IKF were omitted for the simulation of Figure 8. Doing so makes the simulated β independent of IC. Figure 8. Gummel Plot of Ideal Transistor with Constant β vs. IC

In this figure, "log" is the LTspice simulator's notation for natural log, so this plot represents ln(IC) and ln(IB) vs. VBE. At any fixed value of VBE, the difference ln(IC) - ln(IB) is the same as ln(IC/IB), which is just ln(β). That is, ln(β) is the vertical displacement between the two curves at a fixed VBE. Thus β is constant for all IC because ln(β) does not change.

A more interesting plot introduces the SPICE parameters ISE, NE and IKF, which model the reduction of β at very low and very high currents. This is shown below in Figure 9. As in Figure 8, the collector-base voltage VCB is zero. Figure 9. Gummel plot of Transistor with Varying β vs. IC

As in Figure 8, ln(β) is the vertical distance between the two curves at any fixed value of VBE. It can be seen that β is roughly constant for IC values in the middle of the range, and gets smaller at very low and very high IC. For small collector currents, ln(IC) vs. VBE fits a line very well, but deviates from the line at higher collector currents. Conversely, at higher base currents, ln(IB) vs. VBE fits a line very well, but deviates from that line at lower base currents. Therefore at very low values of IC, β gets smaller primarily due to deviations of ln(IB) vs. VBE from a straight line, while at high values of IC, β gets smaller primarily due to deviations of ln(IC) vs. VBE from a straight line.

It's worth noting how the Early effect causes the Gummel plots to change. To illustrate this, Figure 10 shows plots of ln(IC) and ln(IB) vs. VBE with VCB as a parameter. For this test case, the Early Voltage VA is 20 Volts, and VCB is stepped from 0 to 50 Volts in 5 Volt steps. Figure 10. Gummel Plot of Transistor with Varying VCB and Varying β vs. IC

There are a number of very interesting observations about the Early effect that can be made from Figure 10. To simplify things, assume that the junction temperature of the device does not change with the varying currents and voltages. This might correspond to the data having been taken very fast, as would be the case if the measurement were performed in pulsed mode using standard equipment for that purpose.

The first observation is that variations in VCB do not affect the relationship between IB and VBE at all. Only the relationship between IC and VBE is affected. Therefore, if IB is fixed, VBE does not change either, even with variations in VCB. This leads to some observations about the common-emitter characteristic curves of a transistor displayed on a curve tracer. The curves in question are plots of IC vs. VCE with IB as a parameter, such as Figure 1. In contrast to Figure 1, we'll assume the device is in the active region. The Early effect is often described in textbooks in terms of the "tilt" of each characteristic curve at a fixed value of IB. But since a fixed value of IB corresponds to a fixed value of VBE, we can relate the characteristic curve behavior back to the Gummel plot of Figure 10. Specifically, varying VCE at a fixed IB on the curve tracer causes a variation in IC. This corresponds exactly to holding VBE fixed in the Gummel plot of Figure 10 while varying VCB. Since the vertical displacement between the ln(IC) and ln(IB) curves at a fixed VBE and VCB is exactly ln(β), we can interpret the variation of VCB at a fixed VBE (fixed IB) as modulation of β by VCB. When measured on a curve tracer using common-emitter mode, this corresponds to a change in IC proportional to the change in β (since IB is fixed). This also explains why the common-base characteristic curves are so much flatter than the common-emitter curves on a curve tracer. For the common-base characteristic curves, each curve corresponds to a constant IE. When VCB varies, β varies according to Figure 10. But since IC = IE * β / (β + 1), the change in IC is much less than it would be in common-emitter mode.

The equations that determine the behavior shown in Figure 10 are as follows:

 (1) ${I}_{B}={I}_{S}\left[\frac{1}{{\beta }_{F}}\left({e}^{\frac{q{V}_{BE}}{{n}_{F}kT}}-1\right)-\frac{1}{{\beta }_{R}}\right]+{I}_{SE}\left({e}^{\frac{q{V}_{BE}}{{n}_{EL}kT}}-1\right)$
 (2) ${I}_{C}={I}_{S}\left(\frac{1}{{q}_{b}}\left({e}^{\frac{q{V}_{\mathit{BE}}}{{n}_{F}kT}}\right)+\frac{1}{{\beta }_{R}}\right)+{I}_{\mathit{SC}}$

where

 (3) ${q}_{b}=\frac{{q}_{1}}{2}\left(1+\sqrt{1+4{q}_{2}}\right)$

and

 (4) ${q}_{1}={\left(1-\frac{{V}_{\mathit{BC}}}{{V}_{A}}-\frac{{V}_{\mathit{BE}}}{{V}_{B}}\right)}^{-1}$

and

 (5) ${q}_{2}=\frac{{I}_{S}}{{I}_{\mathit{KF}}}\left({e}^{\frac{q{V}_{\mathit{BE}}}{{n}_{F}kT}}-1\right)-\frac{{I}_{S}}{{I}_{\mathit{KR}}}$

The correspondence between the variables in equations (1)-(5) and the SPICE parameter names is given in Table 1 below.

Variable Name SPICE Parameter Name
IS IS
βF BF
nF NF
βR BR
ISE ISE
nEL NE
ISC ISC
VA VAF
VB VAR
IKF IKF
IKR IKR

Table 1. SPICE Names for DC Parameters

In equation (2), qb is given by (3), (4) and (5). The bend of the curve of ln(IC) vs. VBE in the high current region (high-level injection) is modeled by IKF. Specifically, IKF represents the "knee" of the curve where the asymptotic straight line behaviors in the low-current region and the high-level injection region intersect. Only the knee can be varied. The slope of the straight line in the high-level injection region is fixed in the model. The parameter qb models the combined contributions of the Early effect via q1 and high-level injection via q2. Note that the reverse Early voltage plays a part in the determination of IC vs. VBE in the forward region. For the base current curves, NE controls the slope of ln(IB) vs. VBE in the low-current region, while the combination of ISE and NE controls the knee of the curve. The asymptotic maximum β is determined by BF. It should be noted that in cases where there is significant overlap between the non-ideal behaviors of ln(IC) vs. VBE and ln(IB) vs. VBE, BF can be much higher than the actual measured or simulated maximum β.

### Terminal resistors RE, RC and RB

SPICE includes bulk resistances RE, RC and RB connecting the intrinsic emitter, collector and base respectively with their associated external terminal. It should be noted that the voltages VCB and VBE in the equations above refer to the intrinsic rather than the external nodes of the corresponding name. When converting measured voltages to their intrinsic counterparts, it's important to subtract off the voltage drops of these bulk resistances before substituting values into equations such as (1) and (2). More will be mentioned about this in a following subsection. The values of RE, RC and RB were computed as follows.

### RC value

Reference  makes the distinction between the RC value measured in saturated mode and linear mode. The saturated-mode RC is generally much less than its linear-mode counterpart. The recommended method of calculating RC is to use linear mode, by taking the reciprocal of the slope of IC vs. VCE with IB adjusted to force β to unity . Unfortunately, quasi-saturation causes problems with this approach. The value of RC in the ON Semiconductor model for the MJL3281A is around 0.2 Ohms, which causes problems as follows. The simulated plot of β vs. IC at VCE = 5 Volts shows a downward slope not present in the measured data. Even after removing IKF from the model to nominally prevent the simulated data from showing a reduction of β at high currents, the incorrect downward slope remains. This turns out to be an undesired interaction between the too-high value of RC and the Early effect. As collector current increases, the voltage drop across RC increases, decreasing the intrinsic VCB as a result. This decrease in intrinsic VCB causes the simulated value of β to decrease due to Early effect modeling. To find an appropriate RC value, simulated plots of the transistor characteristic curves were made, and the value of RC was adjusted in an attempt to match the slopes of the simulated and measured characteristic curves near saturation. This resulted in an RC value for both the MJL3281A and MJL1302A of 0.06 Ohms. After substituting this smaller value of RC back into the MJL3281A model and running the simulated β vs. IC curves again, the undesired decrease of β with increasing IC was eliminated.

### RE value

The datasheet doesn't provide the information necessary to calculate RE, so the modified model uses the default value of zero.

### RB value

SPICE uses several parameters to model the resistance between the base region and the base terminal. These are RB, RBM and IRB. Their purpose is to model a base resistance that varies with base current. RB is the zero-bias base resistance. RBM is the minimum base resistance at high currents. IRB is the current where the base resistance falls halfway to its minimum value. Datasheet measurements do not give enough information to determine how this base resistance varies with current, so RBM and IRB are omitted from the modified model. The result is a constant base resistance of value RB. Since the MJL3281A and MJL1302A can operate at high collector currents and β gets smaller as current increases, the base current becomes large enough that the voltage drop across RB cannot be neglected. Therefore determining RB is an integral part of fitting SPICE parameters to the measured curves of VBE vs. IC from the datasheet. This will be discussed in more detail in the next subsection. One important thing should be noted about RB however. It causes an undesired interaction between the extraction procedures needed to determine the SPICE parameters that relate IC and IB to the external VBE. Fitting the measured IC vs. VBE to the model requires determining RB in addition to IS, NF, VA, and IKF. Once this information is obtained, BF, ISE and NE determine how IB varies with the intrinsic VBE in accordance with equation (1). This matches up the measured and simulated β vs. collector current. However, modifying the values of BF, ISE and NE affects how the base current varies with the intrinsic VBE. This change, combined with the presence of RB, causes the curve of IC vs. the external VBE to change. For this reason, it's often necessary to go back to the measured IC vs. VBE curves and find new values of IS, NF, VA and IKF if the parameters that determine the base current are changed. This in turn may require yet another recalculation of BF, ISE and NE to match the simulated and measured β vs. IC again. Thus the presence of RB turns what would ordinarily be a direct procedure into an iterative one. A step-by-step algorithm for getting these parameters will be outlined in the next subsection.

## IC vs. VBE and β vs. IC

Obtaining the model parameters that control IC vs. VBE and β vs. IC involves two procedures.

• Manual adjustment of model parameters to get reasonably good agreement between simulated and measured data
• An optimization procedure that uses the Excel solver to adjust the model parameters to get a much more accurate solution

Both procedures use the simulation setup shown below in Figure 11. Figure 11. SPICE circuit setup for IC vs. VBE and β vs. IC

This simulation setup sweeps the emitter current from 100mA to 21A. The VCVS named E1 provides a voltage reference for the DC voltage VCE to allow the collector-emitter voltage to remain constant as VBE varies. The circuit is used for plots of VBE vs. IC and β vs. IC, both of which duplicate the datasheet condition of VCE = 5 Volts.

Before going into detail about the procedures, it should be noted that the datasheet graphs of VBE vs. IC do not allow for reading the VBE values with high resolution. For this reason, the value of the model parameter NF will be assumed equal to unity, as computing it accurately depends on getting high-resolution VBE data. Also, no Excel optimization procedure will be used to match up the simulated VBE vs. IC to the measured data. The Excel optimization will only be used to match up the simulated and measured β vs. IC. The initial manual adjustment of model parameters is performed as follows.

1. Keep the manufacturer's model values for the device's forward parameter VAF and reverse parameters BR, NR, VAR, IKR, ISC and NC.
2. Assume NF = 1
3. Permanently remove RBM and IRB from the model.
4. Set RB initially to zero and temporarily remove IKF, NE, and ISE.
5. Pick an initial value for BF equal to the maximum measured β at room temperature.
6. Start with the manufacturer's value of IS.
7. Using the circuit of Figure 11, plot VBE vs. IC.
8. Adjust IS so that VBE at IC = 100 mA matches the datasheet value.
9. Adjust RB so that VBE at IC = 1 A matches the datasheet value.
10. Using the circuit of Figure 11, plot β vs. IC.
11. Adjust IKF so the reduction of β at high currents matches the datasheet as closely as possible.
12. Using the circuit of Figure 11, plot VBE vs. IC.
13. Adjust IKF and RB so that the VBE values at IC = 1A and IC = 10 A match the datasheet values as closely as possible.
14. Change the setup of Figure 11 so that the VCE source takes on values of 5 V and 20 V.
15. Adjust VA so that the variation in VBE at IC = 20 A as VCE goes from 5 V to 20 V matches the datasheet.
16. Change the setup of Figure 11 back so that VCE is fixed at 5 V again.
17. Plot β vs. IC.
18. Adjust ISE, NE, IKF and BF so that β vs. IC matches the datasheet as closely as possible.
19. Plot VBE vs. IC.
20. Adjust IS, IKF and RB so that the VBE values at IC = 100 mA, IC = 1A and IC = 10 A match the datasheet value as closely as possible.
21. Repeat steps 17-20 until both VBE vs. IC and β vs. IC match the datasheet as closely as possible.

While performing the procedure above, one finds that varying RB, IS and IKF to obtain the desired VBE vs. IC converges on the desired result very quickly. However, when varying ISE, NE and BF to get the desired β vs. IC, many iterations are required to get reasonable results. This is especially true of the combination of ISE and NE. Once a reasonable result has been obtained, it's difficult to tell whether the result is close to optimum or not. One way around this dilemma is to use an optimizer to get a combination of ISE, NE and BF that gives some kind of "best fit" to β vs. IC. An initial attempt was made using the Mathcad software's Minerr() function. However, this function was found to be inflexible and unreliable. Fortunately, the Analog Services web site explains how to use the Excel solver for this application. The Excel solver serves as both a solver and an optimizer. The analysis at the Analog Services site does not deal with the issue of the non-negligible voltage drop across RB as described above, but that situation can be remedied easily. The performance and usability of the Excel solver is good enough to allow for a much better fit to the measured β vs. IC curves than can be obtained by hand. The procedure for fitting the data is summarized below. The optimization procedure below assumes that the manual procedure above has already been performed, such that only minor refinements to parameter values are needed.

1. Using the simulation setup of Figure 11, plot VBE and IB vs. IC.
2. The user enters into the spreadsheet the first-guess values of ISE, NE and BF obtained in the procedure above. These will be varied by the Excel solver later.
3. The user records the datasheet values of β into the spreadsheet at each of the collector current values 100mA, 200mA, 300mA, 400mA, 500mA, 600mA, 700mA, 800mA, 900mA, 1A, 2A, 3A, 4A, 5A, 6A, 7A, 8A, 9A and 10A.
4. The user records the simulated VBE and IB into the spreadsheet for each of the collector current values above. This fixed IB value is only used in the next step below.
5. The spreadsheet computes the intrinsic VBE from the external VBE by subtracting RB * IB (obtained above) at each of the above collector currents.
6. The spreadsheet computes the adjustable simulated IB (variable with ISE, NE and BF) from equation (1) at each VBE value corresponding to the above collector currents.
7. The spreadsheet computes the adjustable simulated β at each of the above collector currents by dividing the collector current by the adjustable simulated IB.
8. The spreadsheet computes the difference between the adjustable simulated β and the datasheet β at each of the above currents to obtain the β error.
9. The spreadsheet multiplies the β error by a weighting factor to obtain the weighted β error at each of the above currents. The weighting factor is 1 at low and mid currents and steadily decreases for very high currents. This forces the β error to be smallest in the normal operating region at the expense of slightly higher β error at very high currents.
10. The spreadsheet computes the RMS value of the weighted β error over the collector currents specified above and saves it in a cell.
11. A plot is used to simultaneously display the computed and measured β vs. IC for comparison purposes.
12. The Excel solver is invoked. The solver varies ISE, NE and BF to adjust the simulated IB vs. VBE. The solver's goal is set to minimize the RMS value of the weighted RMS β error.
13. The user tries different initial guesses for ISE, NE and BF to obtain the solution with the smallest weighted β error. This process is aided by observing the graph that compares simulated and measured β

A partial view of the spreadsheet is shown below in Figure 12. The data for collector currents above 0.5 A were omitted to keep the width of the graphic small. The spreadsheets can be downloaded here for the MJL3281A and here for the MJL1302A.

## Junction Capacitances vs. Reverse Voltage

### Formulas for Junction Capacitance

The equations for the collector-base and base-emitter junction capacitance as used by SPICE each have the same form. For the collector-base capacitance, the equation is (reference , equation 2-51):

 (6) ${C}_{\mathit{CB}}=\frac{{C}_{\mathit{JC}}\left(0\right)}{{\left(1-\frac{{V}_{\mathit{BC}}}{{\varphi }_{C}}\right)}^{{m}_{C}}}+{\tau }_{R}{g}_{\mathit{mR}}$

For the base-emitter capacitance, the equation is (, equation 2-50):

 (7) ${C}_{\mathit{BE}}=\frac{{C}_{\mathit{JE}}\left(0\right)}{{\left(1-\frac{{V}_{\mathit{BE}}}{{\varphi }_{E}}\right)}^{{m}_{E}}}+{\tau }_{F}{g}_{\mathit{mF}}$

In (6) and (7) above, the gm terms are proportional to the DC current through the corresponding forward-biased junction. The voltages VBC and VBE are negative for the reverse-biased condition. The measurements from the datasheet are for the reverse-biased condition only, so the gm terms are both zero. The parameters τR and τF are the reverse and forward transit times respectively. The parameter τR is not normally available from the datasheet. The relationship between the parameter τF and the asymptotic maximum fT will be shown in the next subsection. The correspondence between the formula parameters in (6) and (7) and the SPICE parameters is given below in Table 2.

Variable Name SPICE Parameter Name
CJC(0) CJC
φC VJC
mC MJC
τR TR
CJE(0) CJE
φE VJE
mE MJE
τF TF

Table 2. SPICE Names For Junction Capacitance Parameters

Three parameters are needed to characterize each of the junction capacitances in the reverse-biased region. To determine the SPICE parameters for the collector-base capacitance CCB, the three quantities CJC(0), φC and mC must be found. These can be determined by taking three data points from the datasheet curves of capacitance vs. reverse voltage corresponding to Figures 3 and 6 of this document. The three data points should be chosen as the two endpoints of the curve, together with a point in the middle chosen for ease of reading the data from the graph. Given these three data points, three nonlinear equations in three unknowns result. These can be solved numerically. In the case of the models presented here, the parameter values were determined using the Mathcad Minerr() function. To prevent the solver from reaching an incorrect solution, the capacitance data needed to be scaled to units of pF. These data were obtained before bumping into the serious limitations of Mathcad's Minerr() that were found later when trying to fit model parameters to the measured β vs. IC. The Excel solver could be used just as well for the capacitance parameter fitting also. The manual scaling required by Mathcad could be done automatically with Excel by choosing the "use automatic scaling" Excel solver options.

For the base-emitter capacitance CBE, the same procedure can be followed. However, the gmF * τF term also affects the simulated fT vs. IC. The specifics are explained in the next subsection.

## Adjusting SPICE Parameters to Match Simulated and Measured fT vs. IC

### Low- and Mid-Current Regions of fT

The hybrid-π model used internally by SPICE for small-signal analysis is shown below in Figure 13 from reference .

We will compute fT for this circuit using some simplifying approximations. First, neglect rBB' so that CJX and Cμ appear in parallel as a capacitor CCB. The capacitor Cπ is the same as CBE of equation (7). Also, neglect rC and rE. These assumptions make node B the same as B', C the same as C' and E the same as E'. Let port 1 be assigned to B' and port 2 be assigned to C'. By grounding the emitter, the h-parameter h21 becomes hfe. By the definition of the h-parameters:

 (8) ${h}_{21}={ \frac{{I}_{2}}{{I}_{1}}|}_{{V}_{2}=0}$

so we short both the collector and emitter to ground in order to find hfe. This has the effect of shorting out g0 and CJS. Analysis of the circuit with the above assumptions results in the small-signal transfer function relating IC(s) to IB(s) with terminals E and C shorted to ground. That expression is:

 (9) $\frac{{I}_{C}\left(s\right)}{{I}_{B}\left(s\right)}=\frac{{g}_{\mathit{mF}}-{g}_{\mu }-s{C}_{\mathit{CB}}}{{g}_{\pi }+{g}_{\mu }+s\left({C}_{\mathit{BE}}+{C}_{\mathit{CB}}\right)}$

where gμ = 1 / rμ, gπ = 1 / rπ and CCB and CBE are given by equations (6) and (7) respectively. Equation (9) has a right-half-plane zero at a very high frequency which will be neglected. The value of fT is found by multiplying the DC value of (9) by its pole frequency in Hz. The result is:

 (10) ${f}_{T}=\frac{{g}_{\mathit{mF}}-{g}_{\mu }}{2\pi \left({C}_{\mathit{BE}}+{C}_{\mathit{CB}}\right)}$

Since gmF >> gμ, (10) can be approximated as:

 (11) ${f}_{T}=\frac{{g}_{\mathit{mF}}}{2\pi \left({C}_{\mathit{BE}}+{C}_{\mathit{CB}}\right)}$

Now equation (7) can be split up as the sum of two parts as follows:

 (12) ${C}_{\mathit{BE}}={\tau }_{F}{g}_{\mathit{mF}}+{C}_{\mathit{JE}}\left({V}_{\mathit{BE}}\right)$

The function CJE(VBE) is modified by SPICE so that its complete form in the forward-biased region is more complex than the first term of equation (7). The purpose of this modification is to avoid the singularity that would occur for a forward-biased value of VBE equal to φE. The modification avoids the singularity while at the same time making CJE(VBE) and its derivative continuous . The form of CJE(VBE) is modified as follows (, equation 2-58):

 (13) ${C}_{\mathit{JE}}\left({V}_{\mathit{BE}}\right)=\left\{\begin{array}{ll}{C}_{\mathit{JE}}\left(0\right){\left(1-\frac{{V}_{\mathit{BE}}}{{\varphi }_{E}}\right)}^{-{m}_{E}}\text{,}& {V}_{\mathit{BE}}<\mathit{FC}×{\varphi }_{E}\\ \frac{{C}_{\mathit{JE}}\left(0\right)}{{F}_{2}}\left({F}_{3}+\frac{{m}_{E}{V}_{\mathit{BE}}}{{\varphi }_{E}}\right)\text{,}& {V}_{\mathit{BE}}≥\mathit{FC}×{\varphi }_{E}\end{array}\right\$

The quantity FC is the SPICE parameter of the same name. It is a number between 0 and 1 that determines the value of VBE at which the transition between the two formulas occurs in (13). Its default value is 0.5, but computations show that it has little effect on the fT data until it becomes close to 1. If FC is set equal to 1, the singularity in CJE(VBE) will occur at VBE = φE. The original value for FC of 0.1 from the manufacturer-provided SPICE models was retained, although some experimentation was done with other values. The quantities F2 and F3 are given by (, equation 2-42):

 (14) ${F}_{2}={\left(1-\mathit{FC}\right)}^{1+{m}_{E}}$
 (15) ${F}_{3}=1-\mathit{FC}\left(1+{m}_{E}\right)$

Substituting (12) into (11) and dividing the numerator and denominator of the result by gmF gives:

 (16) ${f}_{T}=\frac{1}{2\pi \left({\tau }_{F}+\frac{1}{{g}_{\mathit{mF}}}\left[{C}_{\mathit{JE}}\left({V}_{\mathit{BE}}\right)+{C}_{\mathit{CB}}\right]\right)}$

where CJE(VBE) is given by (13), (14) and (15) and CCB is given by (6) with gmR set to zero (due to the reverse-biased collector-base junction when in the active region).

Equation (16) provides insight into the variation of fT with collector current. We know that gmF is directly proportional to collector current, being approximately IC / 26mV at room temperature. Therefore, at very low collector current, the denominator of (16) becomes large, making fT small. As collector current increases, the denominator of (16) decreases, making fT increase. Finally, as gmF approaches infinity, fT approaches 1/(2π*τF). An offsetting effect occurs from the increase of VBE as IC increases. This causes an increase in CJE(VBE). But VBE is a logarithmic function of IC, so the linear increase of gmF with IC dominates. Therefore, at low currents fT starts out low and increases as IC increases, finally reaching a constant value of 1/(2π*τF) at high currents. This does not predict the subsequent reduction of fT at very high currents however. SPICE modifies equation (16) to account for this effect as well as the change of fT with varying VCB. This will be described in the next subsection. This section will only deal with low- and mid-current variations of fT.

We now see how equation (16) together with (13)-(15) predict the variation of fT with IC. Using Table 2 we find the corresponding SPICE parameters are VJE, CJE, MJE and TF. While the effects of CCB show up in (16), the numerical value of CJE(VBE) in the forward-bias condition is much larger than CCB and swamps out its effect.

Recall that we previously found a way to determine VJE, CJE and MJE. This involved setting gmR to zero in (6) and finding the solution of three nonlinear equations in three unknowns. These three equations are found from three datasheet values of base-emitter capacitance in the reverse-biased region. Next, the TF value can be found by first setting the asymptotic maximum value of the computed fT (= 1/(2π*τF)) to a value slightly higher than the actual maximum datasheet value. We then have all the parameters needed to characterize fT vs. IC in the low- and mid-current range. However, when observing Figures 5 and 6, we saw that it's possible to get an excellent match for the measured reverse-biased base-emitter capacitance vs. voltage and yet have non-negligible errors in the low-current fT values determined by the same parameters. One could attempt to adjust TF to compensate, but the effects of TF on the simulated fT are negligible at low currents. However, there is a way out. First, observe that the value of the SPICE parameter CJE is the zero-bias value of the base-emitter capacitance. The datasheet graphs from which CJE, VJE and MJE are computed show data only for reverse VBE values from 2 to 10 Volts. Therefore CJE is an extrapolated parameter. Because of this fact, it's possible to make small adjustments in CJE (= CJE(0)). Then, assuming CJE(0) is known, one can use (6) to solve two nonlinear equations in two unknowns using the capacitance values at the graph endpoints of 2 and 10 Volts. Using this approach, it's possible for equation (6) to still predict the base-emitter capacitances very accurately at reverse voltages from 2 to 10 Volts. At the same time, the simulated fT at low currents can be made to match the measured values very closely. This procedure is summarized below.

1. Use the Excel solver to solve equation (7) for CJE(0), mE and φE with gmR set to zero. This is done by equating (7) to the datasheet capacitances at three different values of reverse VBE. The endpoints of 2 and 10 Volts, together with some convenient intermediate voltage should be used. This determines the SPICE parameters CJE, VJE and MJE respectively.
2. Retain the values of ITF, XTF and VTF from the manufacturer-provided models. These parameters will be explained in the next subsection.
3. Estimate the asymptotic maximum value of fT (= fT(max)) using a number slightly higher than the actual maximum value of fT from the datasheet.
4. Compute τF from τF = 1/(2π*fT(max)).
5. Plug the computed values of CJE, MJE, VJE and TF into the model and simulate fT at 100mA and 300mA.
6. Adjust TF to get the simulated maximum fT as close to the datasheet value as possible.
7. Estimate a new value of CJE based on the data for fT at IC = 100mA.
8. Use the Excel solver to solve equation (7) for mE and φE using VBE values of 2 and 10 Volts. Assume CJE is known and use its value determined in the previous step.
9. Repeat steps (5)-(8) until the simulated fT at values of IC from 100mA to about 3A matches the datasheet as closely as possible.

### High-Current Region of fT

The decrease of fT at very high current levels is modeled in SPICE by scaling the forward transit time τF in (16) by a factor called ATF. ATF is given by (, equation 2-120):

 (17) $\mathit{ATF}=1+{X}_{\tau F}{e}^{\left(\frac{{V}_{\mathit{BC}}}{1.44{V}_{\tau F}}\right)}{\left(\frac{{I}_{\mathrm{CC}}}{{I}_{\mathrm{CC}}+{I}_{\tau F}}\right)}^{2}$

The relationship between the formula parameters XτF, VτF and IτF and the corresponding SPICE parameters is given below in Table 3.

Variable Name SPICE Parameter Name
XτF XTF
VτF VTF
IτF ITF

Table 3. SPICE Names for High-Current fT Adjustment

It's important to realize that ICC in (17) above is not the actual collector current, but rather the ideal forward diffusion current given by (18) below.

 (18) ${I}_{\mathrm{CC}}={I}_{S}\left({e}^{\frac{{\mathit{qV}}_{\mathit{BE}}}{{n}_{F}\mathit{kT}}}-1\right)$

The method used for computing ITF, VTF and XTF was the following:

1. Pick a very large value for ITF, say ITF = 1000.
2. Using the simulation setup of Figure 11, simulate fT at various IC values with VCE values of 5 and 10 Volts.
3. Adjust XTF and VTF to match the simulated and datasheet curves of fT vs. IC as closely as possible using VCE values of 5 and 10 Volts.
4. Repeat step 3 until the best match of simulated and measured data is found.