23.01.2015 Views

Download - Wolfram Research

Download - Wolfram Research

Download - Wolfram Research

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

104 2. Tutorial<br />

In[14]:= mnaeqsfa = CircuitEquations[<br />

bjtbias /. BJTModel −> EbersMollForwardActive,<br />

AnalysisMode −> DC, ElementValues −> Symbolic];<br />

DisplayForm[mnaeqsfa]<br />

Out[15]//DisplayForm=<br />

V$1 V$3<br />

I$RB I$VCC <br />

⩵⩵ 0, I$BC$Q1 I$BE$Q1 I$RB ⩵⩵ 0,<br />

RC<br />

V$1 V$3<br />

I$BC$Q1 <br />

⩵⩵ 0, V$1 ⩵⩵ VCC,<br />

RC<br />

I$RB RB V$1 V$2 ⩵⩵ 0, I$BC$Q1 ⩵⩵ 2.4 10 15 38.6676 V$2 ,<br />

I$BE$Q1 ⩵⩵ 2.424 10 15 38.6676 V$2 ,<br />

V$1, V$2, V$3, I$VCC, I$RB, I$BC$Q1, I$BE$Q1,<br />

DesignPoint VCC 12., RB 500000., RC 4000.<br />

This system of equations can be solved by Analog Insydes’ numerical root finding function NDAESolve<br />

(Section 3.7.5), which starts from an initial guess for the values of the variables. By default, initial<br />

values of for all unknowns are chosen which is very often close enough to ensure convergence.<br />

In[16]:= NDAESolve[mnaeqsfa, {t, 0}]<br />

Out[16]=<br />

V$1 12., V$2 0.712996, V$3 2.9704, I$VCC 0.00227997,<br />

I$RB 0.000022574, I$BC$Q1 0.0022574, I$BE$Q1 0.00227997<br />

From the result we can immediately read off the operating point. We have<br />

VBE ⩵ V$2 ⩵ V<br />

VCE ⩵ V$3 ⩵ V<br />

IB ⩵ I$RB ⩵ mA<br />

IC ⩵ I$BC$Q1 ⩵ mA<br />

Next, we repeat the same calculation for RB ⩵ k using the command UpdateDesignPoint<br />

(Section 3.6.14) to alter the numeric element value for RB.<br />

In[17]:= mnaeqsfa = UpdateDesignPoint[mnaeqsfa, RB −> 1.*10^5];<br />

NDAESolve[mnaeqsfa, {t, 0}]<br />

Out[18]=<br />

V$1 12., V$2 0.75452, V$3 32.9819, I$VCC 0.0113579,<br />

I$RB 0.000112455, I$BC$Q1 0.0112455, I$BE$Q1 0.0113579<br />

This time, we obtain a physically nonsensical value of V for VCE which indicates that our<br />

initial assumption about the operating condition of Q1 has been violated. Indeed, for RB ⩵ k,<br />

Q1 operates in deep saturation. We must therefore select the full Ebers-Moll model to take these<br />

effects into account.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!