Let us consider the following circuit drawn by LTSPICE:
- Let us assume that we want to find the temperature for which the thermal voltage is VT=KT/q=25 mV
- The Boltzmann constant is defined to be exactly K=1.380649×10−23 J⋅K−1
- The default temperature in LTSPICE is 27 C which is T=273.15+27=300.15 K
- elementary charge =1.60217662 × 10-19 coulombs
- Therefore T=q*VT/K-273.15=16.963 C
- On the transistor, we hit ctrl +right click and in the "SpiceLine" field we enter: temp=16.963
- Let us assume the collector current is IC=1mA
- So the Collector voltage is VC=10-6.8=3.2V
- The Ebers-Moll formula: IC=IS*(exp(VBE/VT)-1)-(IS/ALPHAR)*(exp(VBC/VT)-1)
- Let us assume VBE is around 0.7 V, so VBC=0.7-3.2=-2.5 (AROUND).
- exp(VBC/VT)=exp(-2500/25.865)=1.0543e-042
- Therefor exp(VBC/VT) can be easily ignored and the EBERSMOLL formula is simplified as below: IC=IS*(exp(VBE/VT)-1+(1/ALPHAR))
- The reverse current gain is BR=ALPHAR/(1-ALPHAR)=-1+(1/ALPHAR)
- Therefore EBERS-MOLL formula is simplified as below: IC=IS*(exp(VBE/VT)+BR)
- For VBE around 0.7 V, exp(VBE/VT)=1.4463e+012
- The BR for 2N2222 is BR=3, which is negligible compared to exp(VBE/VT)=1.4463e+012, for our example EBERS-MOLL formula is simplified as below: IC=ISexp(VBE/VT) or VBE=VTLn(IC/IS)
- Let us assume that IS=1E-15 A, so VBE=25*Ln(1m/1E-15)=690.78mV 18.We put IS=1E-15 A, VBE=690.78mV, when we run LTSPICE we expect to get IC=1mA but we get IC=.2 mA.
Question: which other parameter of the transistor should also be changed to get IC=1mA in LTSPICE?
.MODEL
card? Even if you are using the2N2222
, it doesn't make use of every parameter. \$\endgroup\$IS
is temperature dependent so it needs to be adjusted in your manual calculations. If you're running at 16.963°C, you need to match what SPICE is doing under the hood. Check out the equation involvingXTI
andEG
here: mathworks.com/help/physmod/sps/ref/npnbipolartransistor.html \$\endgroup\$