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.

162 2. Tutorial<br />

Let’s examine the effects of the preceding parameter definitions and assignments by recalculating the<br />

single-input-to-single-ended voltage transfer function of the differential amplifier, this time using the<br />

high-frequency MOS model we just defined. First, we set up symbolic circuit equations using the<br />

option setting DefaultSelector −> HighFrequency.<br />

In[38]:= eqscmoshf = CircuitEquations[cmosdiffamp,<br />

ElementValues −> Symbolic,<br />

DefaultSelector −> HighFrequency]<br />

Out[38]= DAEAC, 9 9 <br />

As a result of default parameter instantiation (see Chapter 2.3) unique symbolic values have been<br />

generated for all instances of the transistor model elements. In addition, the arguments of the Value<br />

keywords have been replaced by the numerical values specified in the model references. Therefore,<br />

we can now use GetDesignPoint to extract the design-point list from the DAEObject.<br />

In[39]:= GetDesignPoint[eqscmoshf]<br />

Out[39]=<br />

V2 0.0001, V1 1., CL 1. 10 13 , Cgs$M3 2.38 10 13 ,<br />

Cgd$M3 0., gm$M3 0.0000654, Gds$M3 7.89 10 7 ,<br />

gmb$M3 0.0000217, Cbd$M3 0., Cbs$M3 0., Cgs$M4 2.38 10 13 ,<br />

Cgd$M4 0., gm$M4 0.0000654, Gds$M4 7.89 10 7 ,<br />

gmb$M4 0.0000217, Cbd$M4 0., Cbs$M4 0., Cgs$M1 2.33 10 13 ,<br />

Cgd$M1 0., gm$M1 0.0000596, Gds$M1 3.01 10 7 ,<br />

gmb$M1 0.0000441, Cbd$M1 0., Cbs$M1 0., Cgs$M2 2.33 10 13 ,<br />

Cgd$M2 0., gm$M2 0.0000596, Gds$M2 3.01 10 7 ,<br />

gmb$M2 0.0000441, Cbd$M2 0., Cbs$M2 0., Simulator PSpice<br />

2.9.7 AC Analysis of the CMOS Amplifier<br />

To conclude this chapter let’s carry out an AC analysis of the CMOS amplifier. Our task shall be<br />

to determine a symbolic formula which approximates the frequency response of the voltage gain<br />

to first order. We begin with importing the numerical data from the PSpice small-signal simulation<br />

applying the Analog Insydes command ReadSimulationData (Section 3.10.3). Note that we have to<br />

specify the simulator-specific option setting Simulator −> "PSpice".<br />

In[40]:= data = ReadSimulationData[<br />

"AnalogInsydes/DemoFiles/CMOSdiffamp.csd",<br />

Simulator −> "PSpice"]<br />

Out[40]=<br />

V5 InterpolatingFunction1., 1. 10 9 , <br />

In[41]:= tfcmosPSpice := "V(5)" /. First[data]<br />

The Bode diagram of the simulation result shows that the transfer function has a dominant pole<br />

which is responsible for the corner in the magnitude response at MHz.

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

Saved successfully!

Ooh no, something went wrong!