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.

400 3. Reference Manual<br />

Plot the exact and<br />

approximated functions<br />

together.<br />

In[19]:= BodePlot[acsweep, {V$5[f], sbgn2[2. Pi I f]},<br />

{f, 1, 1.0*^9}, TraceNames −> {"Exact", "Approximated"}]<br />

Magnitude (dB)<br />

Phase (deg)<br />

5<br />

2.5<br />

0<br />

-2.5<br />

-5<br />

-7.5<br />

-10<br />

1.0E0 1.0E2 1.0E4 1.0E6 1.0E8<br />

Frequency<br />

-50 0<br />

-100<br />

-150<br />

-200<br />

-250<br />

-300<br />

-350<br />

1.0E0 1.0E2 1.0E4 1.0E6 1.0E8<br />

Frequency<br />

Exact Approximated<br />

Out[19]= Graphics <br />

Note that matrix approximation has reduced the polynomial order of the transfer function from four<br />

to two. Therefore, we can now solve the transfer function for the low-frequency poles.<br />

Solve for the<br />

low-frequency poles.<br />

In[20]:= Solve[Denominator[v52] == 0, s]<br />

R1 R2<br />

Out[20]= s <br />

C1 R1 R2 , s 1<br />

<br />

C2 RC RL <br />

3.11.4 CompressMatrixEquation<br />

CompressMatrixEquation[dae, var]<br />

compresses the matrix equation dae with respect to the<br />

variable of interest var<br />

Command structure of CompressMatrixEquation.<br />

Computing a transfer function from a linear system of circuit equations A x ⩵ b requires solving<br />

the matrix equation for one single variable x k . The values of all other variables x j , j ≠ k, are of<br />

no interest in this context. Systems of circuit equations usually contain a significant amount of<br />

information which is only needed to determine the irrelevant variables, and the proportion of such<br />

information increases during the approximation process as equations are algebraically decoupled by<br />

removing negligible terms.<br />

To reduce the computational effort needed for solving an approximated matrix, all unnecessary<br />

information should be discarded from the equations prior to calling Solve (Section 3.5.4), using the<br />

function CompressMatrixEquation. This function performs a recursive search on a matrix equation<br />

to find and delete all rows and columns which are not needed to compute the variable of interest.<br />

Note that compressing a matrix equation is a mathematically exact operation which does not change<br />

the value of the output variable.

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

Saved successfully!

Ooh no, something went wrong!