23.01.2015 Views

Download - Wolfram Research

Download - Wolfram Research

Download - Wolfram Research

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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

2.7 Time-Domain Analysis of Nonlinear Dynamic Circuits 113<br />

In[14]:= TransientPlot[Vpulse[t], {t, 0., 10^−5},<br />

PlotRange −> {−1, 3}]<br />

3<br />

2.5<br />

2<br />

1.5<br />

1<br />

Vpulse[t]<br />

0.5<br />

-0.5<br />

-6<br />

2. 10<br />

-6<br />

4. 10<br />

-6<br />

6. 10<br />

-6<br />

8. 10<br />

0.00001 t<br />

-1<br />

Out[14]= Graphics <br />

Then, we call<br />

NDAESolve to simulate the transient behavior of the differential amplifier for t ∈ Μs. The<br />

NonlinearMethod option allows for choosing between different algorithms for solving systems of<br />

nonlinear algebraic equations numerically. By default, Mathematica’s numerical solver FindRoot is<br />

applied, whereas in this example we want to make use of another implementation of Newton’s<br />

method called NewtonIteration.<br />

In[15]:= transient = NDAESolve[diffAmpMNA /. V1 −> Vpulse[t],<br />

{t, 0., 10^−5}, NonlinearMethod −> NewtonIteration];<br />

Now, we use TransientPlot to plot the waveforms of the input and output voltages V$1 and V$5.<br />

In[16]:= TransientPlot[transient, {V$1[t], V$5[t]},<br />

{t, 0., 10^−5}]<br />

12<br />

10<br />

8<br />

V$1[t]<br />

6<br />

4<br />

V$5[t]<br />

2<br />

-6<br />

2. 10<br />

-6<br />

4. 10<br />

-6<br />

6. 10<br />

-6<br />

8. 10<br />

0.00001 t<br />

Out[16]= Graphics <br />

DC-Transfer Analysis<br />

Next, we shall compute the DC-transfer characteristic V out V in ⩵ V$5[V1] of the differential<br />

amplifier circuit as the input voltage is swept from V to V. Therefore, we first set up the<br />

static circuit equations by calling CircuitEquations with the option setting AnalysisMode −> DC.

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

Saved successfully!

Ooh no, something went wrong!