Difference between revisions of "Model-Based Analog Circuit Design"
(38 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
Being able to analyze and design analog circuits using "hand analysis" allows us to build intuition, and this intuition enables us to create designs that are optimal and innovative. However: | Being able to analyze and design analog circuits using "hand analysis" allows us to build intuition, and this intuition enables us to create designs that are optimal and innovative. However: | ||
* Our simple models such as the square-law model or velocity-saturation model, cannot accurately describe the behavior of key parameters such as output resistance, <math>r_o</math>, or completely misses operating regions such as the moderate inversion region. | * Our simple models such as the square-law model or velocity-saturation model, cannot accurately describe the behavior of key parameters such as output resistance, <math>r_o</math>, or completely misses operating regions such as the moderate inversion region. | ||
− | * Using more accurate and complex models, such as BSIM, is ideal for verification, but not really suited for "hand analysis" since | + | * Using more accurate and complex models, such as BSIM, is ideal for verification, but not really suited for "hand analysis" since: |
** We have to work with hundreds of parameters per transistor, or | ** We have to work with hundreds of parameters per transistor, or | ||
** Make many assumptions to reduce these parameters, but then only ending up in the same situation as using the simple models. | ** Make many assumptions to reduce these parameters, but then only ending up in the same situation as using the simple models. | ||
Line 9: | Line 9: | ||
== Small-Signal Model == | == Small-Signal Model == | ||
In circuit design, we are normally interested in the following parameters: | In circuit design, we are normally interested in the following parameters: | ||
− | + | {| class="wikitable" | |
− | + | |- | |
− | + | ! scope="col"| Parameter | |
− | + | ! scope="col"| Components | |
− | + | |- | |
+ | | Gain | ||
+ | | <math>g_m</math>, <math>r_o</math> | ||
+ | |- | ||
+ | | Bandwidth | ||
+ | | <math>g_m</math>, <math>C_{GS}</math>, <math>C_{GD}</math>, etc. | ||
+ | |- | ||
+ | | Power | ||
+ | | <math>I_D</math> | ||
+ | |- | ||
+ | | Voltage Swing | ||
+ | | <math>V_{DS,\min}</math> | ||
+ | |- | ||
+ | | Noise | ||
+ | | <math>g_m</math>, <math>a_0</math>, <math>C_{load}</math>, etc. | ||
+ | |- | ||
+ | |} | ||
It turns out we can most of these small-signal parameters by using our BSIM models as lookup tables, since our small signal equations remain the same: | It turns out we can most of these small-signal parameters by using our BSIM models as lookup tables, since our small signal equations remain the same: | ||
Line 22: | Line 38: | ||
== Intrinsic Transistor Gain == | == Intrinsic Transistor Gain == | ||
− | As we have seen, accurately describing the transistor output resistance with a simple model is rather difficult. In most cases, however, we use <math>r_o</math> to predict the intrinsic transistor gain, <math>a_o=g_m r_o</math>. If we are more interested in <math>a_o</math>, we can use the simulator to determine the intrinsic transistor gain as a function of <math>V_{DS}</math>, which in this case, is a proxy for output swing. | + | [[File:Nmos 45nm a0.png|thumb|400px|Figure 1: The intrinsic transistor gain as a function of <math>V_{DS}</math> for different channel lengths.]] |
+ | |||
+ | As we have seen in the module on [[MOS Transistors]], accurately describing the transistor output resistance with a simple model is rather difficult. In most cases, however, we use <math>r_o</math> to predict the intrinsic transistor gain, <math>a_o=g_m r_o</math>. If we are more interested in <math>a_o</math>, we can use the simulator to determine the maximum or intrinsic transistor gain as a function of <math>V_{DS}</math>, which in this case, is a proxy for output swing. | ||
− | = | + | Fig. 1 shows the behavior of <math>a_o</math> as a function of <math>V_{DS}</math> for different channel lengths. They key observations here are: |
+ | * The gain increases as we increase the channel length. This is the reason for the common use of <math>L=3L_{\min}</math> for analog circuits. | ||
+ | * The gain drops as <math>V_{DS}</math> is lowered, reducing <math>r_o</math> when the transistor moves into the triode region. More on this and output swing later. | ||
+ | {{Note|[[220-A4.1 | '''Activity A4.1''' The MOS Intrinsic Gain]] -- This activity walks through the steps in obtaining the intrinsic transistor gain for a fixed drain current while varying the drain-to-source voltage of an NMOS transistor.|reminder}} | ||
== Efficiency Metric: <math>\tfrac{g_m}{I_D}</math> == | == Efficiency Metric: <math>\tfrac{g_m}{I_D}</math> == | ||
− | Aside from the intrinsic transistor gain, the transconductance, <math>g_m</math>, also affects the transistor frequency response and noise performance. We want to determine the trade-offs involved in generating a particular transconductance value. | + | [[File:Mos 45nm gmoverid.png|thumb|400px|Figure 2: The plot of <math>\tfrac{g_m}{I_D}</math> as a function of <math>V_{GS}</math> for a <math>V_{DS}=1\mathrm{V}</math>.]] |
+ | |||
+ | Aside from contributing to the intrinsic transistor gain, the transconductance, <math>g_m</math>, also affects the transistor frequency response and noise performance. We want to determine the trade-offs involved in generating a particular transconductance value. | ||
Consider the square-law MOSFET model, where <math>I_D = \frac{\mu_n C_{ox}}{2}\cdot \frac{W}{L}\cdot \left(V_{GS} - V_{th}\right)^2</math>. Thus, we can get the transconductance as: | Consider the square-law MOSFET model, where <math>I_D = \frac{\mu_n C_{ox}}{2}\cdot \frac{W}{L}\cdot \left(V_{GS} - V_{th}\right)^2</math>. Thus, we can get the transconductance as: | ||
Line 38: | Line 61: | ||
{{NumBlk|::|<math>\frac{g_m}{I_D}=\frac{2}{V_{GS}-V_{th}}=\frac{2}{V_{od}}</math>|{{EquationRef|3}}}} | {{NumBlk|::|<math>\frac{g_m}{I_D}=\frac{2}{V_{GS}-V_{th}}=\frac{2}{V_{od}}</math>|{{EquationRef|3}}}} | ||
− | We can think of <math>\tfrac{g_m}{I_D}</math> as the amount of <math>g_m</math> we can get from a certain DC drain current, and hence, for a certain DC power draw. Note that this is a DC metric, and does not take into account any dynamic or frequency dependent characteristics. | + | We can think of <math>\tfrac{g_m}{I_D}</math> as the amount of <math>g_m</math> we can get from a certain DC drain current, and hence, for a certain DC power draw. Thus, a higher value of <math>\tfrac{g_m}{I_D}</math>, the more <math>g_m</math> you get for the same <math>I_D</math>. Note that this is a DC metric, and does not take into account any dynamic or frequency dependent characteristics. |
− | However, real devices are not square-law devices. We can run a simulation to see the behavior of the <math>\tfrac{g_m}{I_D}</math> of a 45nm transistor. The results are then shown in Fig. | + | However, real devices are not square-law devices. We can run a simulation to see the behavior of the <math>\tfrac{g_m}{I_D}</math> of a 45nm transistor. The results are then shown in Fig. 2. |
=== Weak Inversion Transconductance === | === Weak Inversion Transconductance === | ||
+ | As seen in Fig. 2, the <math>\tfrac{g_m}{I_D}</math> curve tapers off at low <math>V_{GS}</math>. This is due to the MOSFET moving into the weak inversion region, where the drain current can be expressed as: | ||
{{NumBlk|::|<math>I_D\approx \frac{W}{L}\cdot e^{\frac{q\left(V_{GS}-V_{th}\right)}{nkT}}</math>|{{EquationRef|4}}}} | {{NumBlk|::|<math>I_D\approx \frac{W}{L}\cdot e^{\frac{q\left(V_{GS}-V_{th}\right)}{nkT}}</math>|{{EquationRef|4}}}} | ||
+ | |||
+ | Deriving the transconductance, we get: | ||
{{NumBlk|::|<math>g_m=\frac{\partial I_D}{\partial V_{GS}}=\frac{\frac{W}{L}\cdot e^{\frac{q\left(V_{GS}-V_{th}\right)}{nkT}}}{n\cdot\frac{kT}{q}}=\frac{I_D}{n\cdot V_T}</math>|{{EquationRef|5}}}} | {{NumBlk|::|<math>g_m=\frac{\partial I_D}{\partial V_{GS}}=\frac{\frac{W}{L}\cdot e^{\frac{q\left(V_{GS}-V_{th}\right)}{nkT}}}{n\cdot\frac{kT}{q}}=\frac{I_D}{n\cdot V_T}</math>|{{EquationRef|5}}}} | ||
+ | |||
+ | Then calculating <math>\tfrac{g_m}{I_D}</math> gives us: | ||
{{NumBlk|::|<math>\frac{g_m}{I_D}=\frac{1}{n\cdot V_T}</math>|{{EquationRef|6}}}} | {{NumBlk|::|<math>\frac{g_m}{I_D}=\frac{1}{n\cdot V_T}</math>|{{EquationRef|6}}}} | ||
+ | |||
+ | For <math>n=1</math>, the maximum theoretical value of <math>\tfrac{g_m}{I_D}</math> is around <math>\tfrac{1}{V_T} \approx 40\mathrm{V^{-1}}</math>. As expected, for typical submicron transistors with <math>n>1</math>, the maximum value is less than <math>40\mathrm{V^{-1}}</math>, as seen in Fig. 2. | ||
+ | |||
+ | {{Note|[[220-A4.2 | '''Activity A4.2''': Simulating <math>\tfrac{g_m}{I_D}</math>]]|reminder|inline=1}} | ||
== Efficiency as a Design Parameter == | == Efficiency as a Design Parameter == | ||
Line 74: | Line 106: | ||
|- | |- | ||
| | | | ||
− | * Cannot be measured since <math>V_{th}</math> | + | * Cannot be measured since <math>V_{th}</math> cannot be measured. |
* Complex models/equations are needed to describe it accurately | * Complex models/equations are needed to describe it accurately | ||
| | | | ||
Line 83: | Line 115: | ||
=== "Long-Channel" Devices === | === "Long-Channel" Devices === | ||
+ | In square-law or "long-channel" devices, the following interpretations of <math>V^*</math> are true: | ||
+ | * <math>V^*=V_{od}=V_{DS,\mathrm{sat}}</math>, and thus is the boundary between the triode and saturation regions. | ||
+ | ** This is also the boundary between the changes in <math>C_{GS}</math> and <math>C_{GD}</math> from triode and saturation ("pinch-off"). | ||
+ | * <math>I_D \approx \left(V^*\right)^2</math> | ||
+ | * The output resistance, <math>r_o</math>, is large for <math>V_{DS}>V^*</math>. | ||
=== Short-Channel Devices === | === Short-Channel Devices === | ||
+ | In short-channel devices, all interpretations of <math>V^*</math> are only approximations, except: | ||
+ | * <math>V^*=\tfrac{2 I_D}{g_m}</math> | ||
+ | * In general, <math>V^* \ne V_{DS,\mathrm{sat}}</math> | ||
+ | |||
+ | {{Note|[[220-A4.3 |'''Activity A4.3''': Design of a Simple Common-Source Amplifier]]|reminder|inline=1}} |
Latest revision as of 15:49, 1 September 2020
Being able to analyze and design analog circuits using "hand analysis" allows us to build intuition, and this intuition enables us to create designs that are optimal and innovative. However:
- Our simple models such as the square-law model or velocity-saturation model, cannot accurately describe the behavior of key parameters such as output resistance, , or completely misses operating regions such as the moderate inversion region.
- Using more accurate and complex models, such as BSIM, is ideal for verification, but not really suited for "hand analysis" since:
- We have to work with hundreds of parameters per transistor, or
- Make many assumptions to reduce these parameters, but then only ending up in the same situation as using the simple models.
One solution around this problem is to use the simulator, in conjunction with the BSIM models, as a "calculator".
Contents
Small-Signal Model
In circuit design, we are normally interested in the following parameters:
Parameter | Components |
---|---|
Gain | , |
Bandwidth | , , , etc. |
Power | |
Voltage Swing | |
Noise | , , , etc. |
It turns out we can most of these small-signal parameters by using our BSIM models as lookup tables, since our small signal equations remain the same:
-
(1)
-
Where is the device transconductance, is the device body (effect) transconductance, or backgate transconductance, and is the output conductance. We can then determine the required small-signal parameters from our design specifications, and use our "calculator" (simulator + BSIM models) to determine how we can get these small-signal parameters.
Intrinsic Transistor Gain
As we have seen in the module on MOS Transistors, accurately describing the transistor output resistance with a simple model is rather difficult. In most cases, however, we use to predict the intrinsic transistor gain, . If we are more interested in , we can use the simulator to determine the maximum or intrinsic transistor gain as a function of , which in this case, is a proxy for output swing.
Fig. 1 shows the behavior of as a function of for different channel lengths. They key observations here are:
- The gain increases as we increase the channel length. This is the reason for the common use of for analog circuits.
- The gain drops as is lowered, reducing when the transistor moves into the triode region. More on this and output swing later.
Efficiency Metric:
Aside from contributing to the intrinsic transistor gain, the transconductance, , also affects the transistor frequency response and noise performance. We want to determine the trade-offs involved in generating a particular transconductance value.
Consider the square-law MOSFET model, where . Thus, we can get the transconductance as:
-
(2)
-
Where is the overdrive voltage. We can then define transconductance efficiency as
-
(3)
-
We can think of as the amount of we can get from a certain DC drain current, and hence, for a certain DC power draw. Thus, a higher value of , the more you get for the same . Note that this is a DC metric, and does not take into account any dynamic or frequency dependent characteristics.
However, real devices are not square-law devices. We can run a simulation to see the behavior of the of a 45nm transistor. The results are then shown in Fig. 2.
Weak Inversion Transconductance
As seen in Fig. 2, the curve tapers off at low . This is due to the MOSFET moving into the weak inversion region, where the drain current can be expressed as:
-
(4)
-
Deriving the transconductance, we get:
-
(5)
-
Then calculating gives us:
-
(6)
-
For , the maximum theoretical value of is around . As expected, for typical submicron transistors with , the maximum value is less than , as seen in Fig. 2.
Efficiency as a Design Parameter
Since we can always determine the values of and via simulations, we can choose a particular the transconductance efficiency, and from there, determine given .
Note that has units of (pronounced per volt), which is somewhat hard to interpret physically.
Figure of Merit:
To avoid this awkward unit, we can redefine our transconductance efficiency in terms of a new metric, , where
-
(7)
-
Note that has units of volts, and as an example, for , we get .
For square-law devices, we see that , and that
-
(8)
-
However, real devices do not obey the square law. Let us tabulate the characteristics of vs. in the table below:
|
|
"Long-Channel" Devices
In square-law or "long-channel" devices, the following interpretations of are true:
- , and thus is the boundary between the triode and saturation regions.
- This is also the boundary between the changes in and from triode and saturation ("pinch-off").
- The output resistance, , is large for .
Short-Channel Devices
In short-channel devices, all interpretations of are only approximations, except:
- In general,