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.

50 2. Tutorial<br />

Model[<br />

Name −> subcircuit class name,<br />

Selector −> selector,<br />

Scope −> scope,<br />

Ports −> {port nodes},<br />

Parameters −> {parameters},<br />

Defaults −> {defaults},<br />

Translation −> {parameter translation rules},<br />

Definition −> Netlist[subcircuit netlist]<br />

]<br />

The value of the Name argument must be a symbol which identifies an entire group, or class, of<br />

different subcircuit implementations of a non-primitive object, such as a transistor. The value of the<br />

Selector argument, which must also be a symbol, then selects one particular member from this<br />

class. The Ports argument defines the port nodes of a subcircuit structure. Its value must be a list<br />

of the identifiers of the subcircuit nodes which serve as external connection points.<br />

Finally, the netlist of the subcircuit must be specified by means of the Definition argument. There<br />

is no built-in limit for the nesting depth of subcircuits, so the netlist may itself contain references<br />

to other Model definitions. However, you may only reference but not define subcircuits within<br />

subcircuits.<br />

Small-Signal Transistor Models<br />

To fully understand this abstract description of the Model function, let’s examine a practical example.<br />

Assume that we want to calculate the AC voltage transfer function of the common-emitter amplifier<br />

from Section 2.3.1 (see Figure 3.1) and want to replace the transistor by either one of the two<br />

small-signal equivalent circuits shown in Figure 3.2.

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

Saved successfully!

Ooh no, something went wrong!