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.

112 2. Tutorial<br />

In[11]:= diffAmp =<br />

Circuit[<br />

Netlist[<br />

{RS1, {1, 2}, Symbolic −> RS1, Value −> 1.*10^3},<br />

{RS2, {3, 0}, Symbolic −> RS2, Value −> 1.*10^3},<br />

{RC1, {4, 8}, Symbolic −> RC1, Value −> 1.*10^4},<br />

{RC2, {5, 8}, Symbolic −> RC2, Value −> 1.*10^4},<br />

{RBIAS, {7, 8}, Symbolic −> RBIAS, Value −> 2.*10^4},<br />

{CLOAD, {4, 5},<br />

Symbolic −> CLOAD, Value −> 5.*10^−12},<br />

{Q1, {4 −> C, 2 −> B, 6 −> E}, Model −> BJT,<br />

Selector −> GummelPoon, Parameters −> BJTNPN},<br />

{Q2, {5 −> C, 3 −> B, 6 −> E}, Model −> BJT,<br />

Selector −> GummelPoon, Parameters −> BJTNPN},<br />

{Q3, {6 −> C, 7 −> B, 9 −> E}, Model −> BJT,<br />

Selector −> GummelPoon, Parameters −> BJTNPN},<br />

{Q4, {7 −> C, 7 −> B, 9 −> E}, Model −> BJT,<br />

Selector −> GummelPoon, Parameters −> BJTNPN},<br />

{VCC, {8, 0}, Type −> VoltageSource,<br />

Symbolic −> VCC, Value −> 12.},<br />

{VEE, {9, 0}, Symbolic −> VEE, Value −> −12.},<br />

{V1, {1, 0}, V1}<br />

],<br />

ModelParameters[Name −> BJTNPN, Type −> "NPN",<br />

BF −> 255.9, BR −> 6.092, IS −> 14.34*10^−15],<br />

GlobalParameters[TEMP −> 300.15]<br />

]<br />

Out[11]= Circuit <br />

Setting up the circuit equations in the time-domain yields the following DAE system of 32 equations<br />

in 32 variables.<br />

In[12]:= diffAmpMNA = CircuitEquations[diffAmp,<br />

AnalysisMode −> Transient]<br />

Out[12]= DAETransient, 32 32 <br />

Next, we define the input signal V t. We choose a rectangular voltage pulse with an amplitude<br />

of V, a duration of Μs and a delay of Μs. This waveform can be set by the Analog Insydes<br />

command PulseWave (Section 4.1.3).<br />

In[13]:= Vpulse[t_] :=<br />

PulseWave[t, 0, 2, 2.5*10^−6, 0, 0, 4.*10^−6, 10^−5]<br />

A graphical representation of the stimulus signal is shown below.

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

Saved successfully!

Ooh no, something went wrong!