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.

92 2. Tutorial<br />

2.6 Modeling and Analysis of Nonlinear Circuits<br />

2.6.1 Behavioral Models<br />

In Chapter 2.3 we implemented small-signal equivalent circuits for semiconductor devices as<br />

subcircuit objects composed of the available linear circuit primitives. We cannot use this approach<br />

to model the electrical characteristics of nonlinear elements, such as diodes or transistors. However,<br />

particularly for nonlinear circuit analysis, Analog Insydes provides special support for modeling<br />

arbitrary circuit element characteristics by specifying device equations directly.<br />

Models which are based on sets of mathematical equations describing the behavior of a circuit<br />

element or an analog building block are frequently called (analog) behavioral models, or ABMs. A<br />

behavioral model is similar to a subcircuit object in that it constitutes a box which is connected to a<br />

circuit through electrical ports. As indicated above, the difference is that the interior of a behavioral<br />

model box is implemented in terms of symbolic equations rather than a netlist. With Analog Insydes’<br />

behavioral modeling capabilities you can model a large variety of nonlinear element characteristics.<br />

You can then use the function CircuitEquations (Section 3.5.1), with which you are already familiar,<br />

to set up symbolic systems of nonlinear modified nodal or sparse tableau equations.<br />

2.6.2 Defining Behavioral Models<br />

The Argument Sequence of the Model Command for ABM Definitions<br />

Behavioral models are defined using the Model (Section 3.2.1) command, just like subcircuits (see<br />

Section 2.3.2). Analog Insydes recognizes a request to define a behavioral model by the presence of<br />

the named parameter Variables and the absence of a subcircuit Netlist on the right-hand side of<br />

the Definition argument in a Model call. The full syntax for an ABM definition is shown below.<br />

Again, slanted typewriter font denotes optional arguments.<br />

Model[<br />

Name −> subcircuit class name,<br />

Selector −> selector,<br />

Scope −> scope,<br />

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

Parameters −> {parameters},<br />

Symbolic −> {symbolic parameters},<br />

Defaults −> {defaults},<br />

InitialConditions −> {initial conditions},<br />

InitialGuess −> {initial guess},<br />

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

Variables −> {variables},<br />

Definition −> Equations[equations]<br />

]

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

Saved successfully!

Ooh no, something went wrong!