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.10 Nonlinear Symbolic Approximation 171<br />

In[5]:= Plot3D[ivloadPSpice[VLOAD, II],<br />

{VLOAD, 0., 3.5}, {II, 0., 0.001},<br />

AxesLabel −> {"VLOAD", "II", ""},<br />

PlotLabel −> "IVLOAD (PSpice)"]<br />

IVLOAD (PSpice)<br />

0.0003<br />

0.0002<br />

0.0001<br />

0<br />

1<br />

VLOAD<br />

2<br />

3<br />

0<br />

0.001<br />

0.0008<br />

0.0006<br />

0.0004<br />

II<br />

0.0002<br />

Out[5]= SurfaceGraphics <br />

Equation Setup<br />

In the next step the equation system has to be set up. For this we import the PSpice .cir-file and<br />

convert it into an Analog Insydes Circuit object using the command ReadNetlist (Section 3.10.1).<br />

In[6]:= netlist = ReadNetlist[<br />

"AnalogInsydes/DemoFiles/Sqrt.cir",<br />

Simulator −> "PSpice"];<br />

DisplayForm[netlist]<br />

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

Circuit:<br />

Netlist Raw, 8 Entries:<br />

Q1, 3 C, 5 B, 0 E, Model ModelBJT, BJTNPN, Q1, Selector Selec<br />

Q2, 1 C, 3 B, 5 E, Model ModelBJT, BJTNPN, Q2, Selector Selec<br />

Q3, OUT C, 3 B, 4 E, Model ModelBJT, BJTNPN, Q3, Selector Sel<br />

Q4, 4 C, 4 B, 0 E, Model ModelBJT, BJTNPN, Q4, Selector Selec<br />

VLOAD, 1, OUT, Type VoltageSource, Value AC 0, DC Transient 3.<br />

II, 5, 0, Type CurrentSource, Value AC 0, DC Transient 0.0001<br />

IB, 1, 3, Type CurrentSource, Value AC 0, DC Transient 0.0001<br />

VDC, 1, 0, Type VoltageSource, Value AC 0, DC Transient 5., S<br />

ModelParametersName BJTNPN, Type NPN<br />

GlobalParametersSimulator PSpice<br />

Afterwards, we set up a symbolic DC equation system using the modified nodal formulation. Since<br />

we are not interested in temperature effects, we instruct CircuitEquations (Section 3.5.1) to replace<br />

TEMP, TNOM, the elementary charge $q, and Boltzmann’s constant $k by their numerical values.

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

Saved successfully!

Ooh no, something went wrong!