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.

2.7 Time-Domain Analysis of Nonlinear Dynamic Circuits 107<br />

Is (saturation current) and Vt (thermal voltage) are set to Is ⩵ pA and Vt ⩵ mV. The values of<br />

the circuit elements are assumed to be R1 ⩵ and C1 ⩵ nF.<br />

In[1]:= 100.},<br />

{C1, {2, 0}, Symbolic −> C1, Value −> 1.*10^−7},<br />

{D1, {1 −> A, 2 −> C},<br />

Model −> "Diode", Selector −> "Spice",<br />

IS −> 1.*10^−12}<br />

]<br />

]<br />

Out[2]= Circuit <br />

Next, we use the function CircuitEquations (Section 3.5.1) to set up a system of nonlinear<br />

differential MNA equations in the time domain. In oder to express all voltages and currents as<br />

functions of time f t and to include time derivatives f ′ t introduced by dynamic components the<br />

option AnalysisMode −> Transient must be specified in the function call.<br />

AnalysisMode −> Transient implies MatrixEquation −> False, therefore the equations are written<br />

as list of equations regardless of the current setting of MatrixEquation. CircuitEquations returns<br />

a Transient DAEObject which can be displayed via the command DisplayForm.<br />

In[3]:= rectifierMNA = CircuitEquations[rectifier,<br />

AnalysisMode −> Transient];<br />

DisplayForm[rectifierMNA]<br />

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

I$AC$D1t I$V0t ⩵⩵ 0,<br />

I$AC$D1t 0.01 V$2t 1. 10 7 V$2 ′ t ⩵⩵ 0,<br />

V$1t ⩵⩵ Vin, I$AC$D1t ⩵⩵<br />

1. 10 12 1 38.6635 V$1tV$2t 1. 10 12 V$1t V$2t,<br />

V$1t, V$2t, I$V0t, I$AC$D1t, DesignPoint <br />

This set of modified nodal equations is a typical DAE system. It comprises implicit differential<br />

equations as well as both linear and nonlinear algebraic constraints.<br />

The NDAESolve Command<br />

Analog Insydes provides the function NDAESolve (Section 3.7.5) for solving DAE systems numerically.<br />

NDAESolve[dae, {tvar, t , t } , params , opts]<br />

where dae is a DC or Transient DAEObject containing the circuit equations and variables. The<br />

argument tvar denotes the time variable for which the solutions are computed in the time interval<br />

tvar ∈ t t , or at the time instant tvar ⩵ t . Additionally, params allows for carrying out a parametric<br />

analysis. For possible parameter specifications please refer to Section 3.7.2. Finally, opts is a sequence<br />

of zero or more solver options of the form option −> value (see Section 2.7.4).

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

Saved successfully!

Ooh no, something went wrong!