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.7 Time-Domain Analysis of Nonlinear Dynamic Circuits 109<br />

in terms of these variables. The symbol tvar denotes the time variable for which the waveforms are<br />

plotted from tvar ⩵ t to tvar ⩵ t . Zero or more options opts can be specified as sequence of rules of<br />

the form option −> value (see Section 2.7.6).<br />

To visualize the transient waveforms of the node voltages V$1 and V$2 in the simulated time interval<br />

we can use TransientPlot as shown below. By default, all waveforms are superimposed in one<br />

single graph.<br />

In[8]:= TransientPlot[solutions, {V$1[t], V$2[t]},<br />

{t, 0., 2.*10^−5}]<br />

1<br />

0.5<br />

V$1[t]<br />

-6<br />

5. 10<br />

0.00001 0.000015 0.00002 t<br />

V$2[t]<br />

-0.5<br />

-1<br />

Out[8]= Graphics <br />

Quasi-DC Analysis<br />

To demonstrate the influence of the capacitor C1 on the output voltage we rerun the simulation,<br />

but this time we neglect the dynamic components of the circuit equations. This can be achieved<br />

by setting the NDAESolve option AnalysisMode from its default value Transient to DC. The DC<br />

analysis method replaces all time derivatives in the circuit equations by zero. Thus, inductors are<br />

replaced by short circuits because all inductor voltages are set to zero, and capacitors are replaced<br />

by open circuits because all capacitor currents are set to zero.<br />

Inductor:<br />

Capacitor:<br />

V L t ⩵ L I Lt<br />

t<br />

I C t ⩵ C U Ct<br />

t<br />

DC<br />

⩵ V L t ⩵ ∼ ⩵ Short Circuit<br />

DC<br />

⩵ I C t ⩵ ∼ ⩵ Open Circuit<br />

Let’s apply quasi-DC analysis to our rectifier circuit by specifying the above-mentioned option in the<br />

call to NDAESolve.<br />

In[9]:= solDC = NDAESolve[rectifierMNA /. Vin −> Sin[10^6 t],<br />

{t, 0., 10^−5}, AnalysisMode −> DC]<br />

Out[9]=<br />

V$1 InterpolatingFunction0., 0.00001, ,<br />

V$2 InterpolatingFunction0., 0.00001, ,<br />

I$V0 InterpolatingFunction0., 0.00001, ,<br />

I$AC$D1 InterpolatingFunction0., 0.00001,

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

Saved successfully!

Ooh no, something went wrong!