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.8 Linear Symbolic Approximation 135<br />

In[13]:= dvdmna = CircuitEquations[doubleVoltageDivider,<br />

ElementValues −> Symbolic]<br />

Out[13]= DAEAC, 4 4 <br />

In[14]:= designpoint = GetDesignPoint[dvdmna]<br />

Out[14]=<br />

V0 1., R1 10., R2 10., R3 1000., R4 1000.<br />

With these reference values we can evaluate the symbolic expression numerically. Below, we apply<br />

the function HoldForm to the Plus operation which prevents the denominator from being evaluated<br />

to a single number.<br />

In[15]:= tfdvd /. Plus −> HoldForm[Plus] /. designpoint<br />

Out[15]=<br />

10000.<br />

<br />

Plus100., 10000., 10000., 10000., 10000.<br />

By comparing the individual numerical values we, as well as a computer, can now clearly see that<br />

the first argument of the Plus expression, corresponding to the term R1R2, contributes only to<br />

the total value of the denominator. The term can thus be safely removed from the transfer function<br />

if we allow for an error of, say, or less in the design point.<br />

2.8.2 Solution-Based Symbolic Approximation<br />

Groups of Symbolic Approximation Techniques<br />

Symbolic approximation techniques can be divided into three different groups of methods which<br />

perform Simplifications Before, During, or After the Generation of symbolic formulas (SBG, SDG,<br />

and SAG methods). The approach discussed above is thus an SAG, or solution-based, method<br />

because we computed the complete transfer function first and then simplified it. While the principle<br />

behind this SAG technique was demonstrated on the transfer function of a non-dynamic system it<br />

can be applied to general transfer functions containing powers of the frequency variable s as well.<br />

In this case, all symbolic coefficients of the different powers of s are simplified separately up to a<br />

given maximum error.<br />

Approximating Transfer Functions<br />

Analog Insydes provides the function ApproximateTransferFunction (Section 3.11.2) for solutionbased<br />

symbolic approximation. The argument sequence is<br />

ApproximateTransferFunction[tfunc, fvar, dp, maxerr]<br />

where tfunc is a rational transfer function in the frequency variable fvar, dp is a design-point<br />

specification, and maxerr is the maximum relative error of the simplified coefficients of fvar in the<br />

design point. The design point must be specified as a list of rules which associate numerical values<br />

with the symbols in tfunc, and maxerr is a real number between and .

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

Saved successfully!

Ooh no, something went wrong!