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.

242 3. Reference Manual<br />

Set up a system of<br />

time-domain equations.<br />

Change the branch current<br />

prefix to "ib$".<br />

Change the branch voltage<br />

prefix to "ub$".<br />

In[5]:= CircuitEquations[rlcf,<br />

AnalysisMode −> Transient] // DisplayForm<br />

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

V$1t V$2t<br />

I$V1t ⩵⩵ 0,<br />

R<br />

V$1t V$2t<br />

I$L1t ⩵⩵ 0, I$L1t C V$3 ′ t ⩵⩵ 0,<br />

R<br />

V$1t ⩵⩵ V, V$2t V$3t L I$L1 ′ t ⩵⩵ 0,<br />

V$1t, V$2t, V$3t, I$V1t, I$L1t, DesignPoint <br />

In[6]:= CircuitEquations[rlcf,<br />

BranchCurrentPrefix −> "ib$"] // DisplayForm<br />

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

1<br />

<br />

R<br />

<br />

1<br />

R<br />

0 1 <br />

V$1 0 <br />

<br />

1 1<br />

R<br />

<br />

R <br />

1<br />

L s<br />

<br />

1<br />

L s<br />

0 V$2 0<br />

. ⩵⩵<br />

0 <br />

1 1<br />

L s<br />

<br />

L s<br />

<br />

C s 0 V$3 0<br />

<br />

<br />

1 0 0 0<br />

ib$V1 V <br />

<br />

In[7]:= CircuitEquations[rlcf, Formulation −> SparseTableau,<br />

BranchVoltagePrefix −> "ub$"] // DisplayForm<br />

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

<br />

<br />

<br />

1 1 1 1 0 0 0 0<br />

0 0 0 0 1 1 0 0<br />

0 0 0 0 0 1 1 0<br />

0 0 0 0 0 0 1 1<br />

1 0 0 0 0 0 0 0<br />

0 1 0 0 0 R 0 0<br />

0 0 1 0 0 0 L s 0<br />

0 0 0 C s 0 0 0 1<br />

ub$V1 0 <br />

ub$R1 0<br />

ub$L1 0<br />

.<br />

ub$C1 0<br />

⩵⩵<br />

I$V1 V<br />

<br />

<br />

<br />

<br />

I$R1<br />

I$L1<br />

I$C1<br />

<br />

<br />

0<br />

0<br />

<br />

0 <br />

Do not convert R and L to<br />

equivalent admittances.<br />

In[8]:= CircuitEquations[rlcf,<br />

ConvertImmittances −> False] // DisplayForm<br />

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

0 0 0 1 1 0 V$1 0 <br />

0 0 0 0 1 1 V$2 0<br />

0 0 C s 0 0 1 V$3 0<br />

. ⩵⩵<br />

1 0 0 0 0 0 I$V1 V<br />

<br />

1 1 0 0 R 0<br />

<br />

I$R1<br />

<br />

0<br />

<br />

0 1 1 0 0 L s I$L1 0 <br />

The DefaultSelector option allows you to choose a different set of device models than would be<br />

normally used for the selected analysis mode. You can use this feature to set up circuit equations<br />

for noise analysis. Noise equations are essentially AC equations with some extensions, that can be<br />

included by selecting noise models instead of plain AC models using DefaultSelector −> Noise.<br />

Read in a PSpice netlist<br />

and small-signal data.<br />

In[9]:= buffer = ReadNetlist[<br />

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

"AnalogInsydes/DemoFiles/Buffer.out",<br />

Simulator −> "PSpice"]<br />

Out[9]= Circuit

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

Saved successfully!

Ooh no, something went wrong!