Appendix A
Formula Sheet
The design equations of Chapters 4 to 14 and of Parts VI and VII on one page, in the order the chapters derive them. Every equation keeps its number from the chapter: follow the link for the derivation, the assumptions, and a simulation that shows how well it holds in each PDK.
Notation. \(V_{OV} = V_{GS} - V_{TH}\) is the overdrive voltage, \(U_T = kT/q\) the thermal voltage, \(n\) the subthreshold slope factor, \(\eta = g_{mb}/g_m\), \(\lambda = 1/V_A\), \(r_o = 1/g_{ds}\), and \(\parallel\) means “in parallel with”. PMOS equations are the same with the signs of all voltages and currents reversed. Most hand-design numbers come from the gm/ID tables of Chapter 6 rather than from the square law; Appendix B collects the device constants of both PDKs.
Contents
- A.1 Constants
- A.2 The MOSFET
- A.3 Small-signal model
- A.4 The gm/ID method
- A.5 Single-transistor stages
- A.6 Current mirrors and bias
- A.7 Frequency response
- A.8 The differential pair and the 5T OTA
- A.9 Feedback and stability
- A.10 The two-stage Miller OTA
- A.11 Noise
- A.12 Mismatch and offset
- A.13 References and regulators
- A.14 Switched-capacitor circuits
- A.15 Sample-and-hold circuits
- A.16 Comparators
- A.17 Data converters
- A.18 VCOs and phase-locked loops
- A.19 Layout fundamentals
- A.20 Reliability
- A.21 Resistors
- A.22 Capacitors and inductors
- A.23 Matching layout
- A.24 Bipolar transistors and diodes
- A.25 Power devices and ESD
- A.26 Assembling the die
A.1 Constants
| Quantity | Value at 27 °C (300.15 K) |
|---|---|
| Boltzmann constant \(k\) | 1.381 × 10⁻²³ J/K |
| Thermal voltage \(U_T = kT/q\) | 25.9 mV |
| \(4kT\) | 1.66 × 10⁻²⁰ J |
| Ideal subthreshold slope \(U_T\ln 10\) | 59.5 mV/decade |
| Oxide permittivity \(\varepsilon_{ox} = 3.9\,\varepsilon_0\) | 34.5 aF/µm |
| Thermal noise of 1 kΩ, \(\sqrt{4kTR}\) | 4.07 nV/√Hz |
| kT/C noise of 1 pF, \(\sqrt{kT/C}\) | 64.4 µV rms |
A.2 The MOSFET
From Chapter 4.
Oxide capacitance and threshold.
\[C_{ox} = \frac{\varepsilon_{ox}}{t_{ox}}, \qquad V_{TH} = V_{FB} + 2\phi_F + \gamma\sqrt{2\phi_F}, \qquad \gamma = \frac{\sqrt{2q\varepsilon_{si}N_A}}{C_{ox}} \tag{4.1, 4.2}\]Triode and saturation (square law).
\[I_D = \mu_n C_{ox}\frac{W}{L}\Big[V_{OV}V_{DS} - \tfrac{1}{2}V_{DS}^2\Big] \quad (V_{DS} < V_{OV}), \qquad I_D = \tfrac{1}{2}\mu_n C_{ox}\frac{W}{L}V_{OV}^2 \quad (V_{DS} \ge V_{OV}) \tag{4.4, 4.5}\]Body effect, channel-length modulation and DIBL.
\[V_{TH} = V_{TH0} + \gamma\Big(\sqrt{2\phi_F + V_{SB}} - \sqrt{2\phi_F}\Big), \qquad I_D = \tfrac{1}{2}\mu_n C_{ox}\frac{W}{L}V_{OV}^2\,(1 + \lambda V_{DS}), \qquad V_{TH} = V_{TH0} - \eta_D V_{DS} \tag{4.6–4.8}\]Weak inversion.
\[I_D = I_0\frac{W}{L}\exp\!\left(\frac{V_{GS}-V_{TH}}{nU_T}\right)\left[1 - \exp\!\left(-\frac{V_{DS}}{U_T}\right)\right], \qquad S = nU_T\ln 10 \approx n\cdot 59.5\ \mathrm{mV/decade} \tag{4.9, 4.10}\]All regions (EKV-style interpolation) and velocity saturation.
\[I_D = I_S\ln^2\!\left[1 + \exp\!\left(\frac{V_{GS}-V_{TH}}{2nU_T}\right)\right], \quad I_S = 2n\mu C_{ox}\frac{W}{L}U_T^2; \qquad I_D = \frac{\tfrac{1}{2}\mu_n C_{ox}(W/L)V_{OV}^2}{1 + V_{OV}/(E_cL)} \tag{4.11, 4.12}\]A.3 Small-signal model
From Chapter 5.
\[i_d = g_m v_{gs} + g_{mb} v_{bs} + g_{ds} v_{ds} \tag{5.2}\] \[g_m = \sqrt{2\mu C_{ox}\frac{W}{L}I_D} = \frac{2I_D}{V_{OV}} \ \ \text{(strong inversion)}, \qquad g_m = \frac{I_D}{nU_T} \ \ \text{(weak inversion)} \tag{5.3}\] \[g_{ds} \approx \lambda I_D = \frac{I_D}{V_A}, \qquad g_{mb} = \chi g_m, \quad \chi = \frac{\gamma}{2\sqrt{2\phi_F + V_{SB}}} \tag{5.4, 5.5}\] \[C_{gs} \approx \tfrac{2}{3}WLC_{ox} + WC_{ov}, \qquad C_{gd} \approx WC_{ov}, \qquad f_T = \frac{g_m}{2\pi C_{gg}} \tag{5.6, 5.7}\]Intrinsic gain.
\[A_0 = \frac{g_m}{g_{ds}} = \frac{g_m}{I_D}V_A = \begin{cases} 2V_A/V_{OV} & \text{strong inversion} \\ V_A/(nU_T) & \text{weak inversion} \end{cases} \tag{5.8}\]A.4 The gm/ID method
From Chapter 6.
\[\frac{g_m}{I_D} = \frac{\partial\ln I_D}{\partial V_{GS}} = \frac{1}{nU_T}\cdot\frac{2}{1 + \sqrt{1 + 4\,IC}}, \qquad IC = \frac{I_D}{I_\mathrm{spec}}, \quad I_\mathrm{spec} = 2n\mu C_{ox}\frac{W}{L}U_T^2 \tag{6.2, 6.3}\]The sizing chain. Choose \(g_m/I_D\) and \(L\), then
\[g_m \xrightarrow{\ \div\,(g_m/I_D)\ } I_D \xrightarrow{\ \div\,(I_D/W)\ } W, \qquad g_{ds} = \frac{g_m}{g_m/g_{ds}}, \qquad C_{gg} = \frac{g_m}{2\pi f_T} \tag{6.4}\]Saturation voltage, a rule of thumb valid from weak to strong inversion:
\[V_{DS,\mathrm{sat}} \approx \frac{2}{g_m/I_D} \tag{7.12, 8.2}\]A.5 Single-transistor stages
From Chapter 7.
| Stage | Low-frequency gain | Eq. |
|---|---|---|
| Common source, resistor load | \(A_v = -g_m(R_D \parallel r_o)\), or \(\lvert A_v\rvert = \dfrac{(g_m/I_D)V_{RD}}{1 + V_{RD}/V_A}\) | 7.1, 7.3 |
| Common source, diode load | \(\lvert A_v\rvert \approx (g_m/I_D)_1/(g_m/I_D)_2\) | 7.4 |
| Common source, current-source load | \(\lvert A_v\rvert = g_{m1}(r_{o1} \parallel r_{o2})\) | 7.5 |
| Source degeneration | \(G_m = \dfrac{g_m}{1 + (g_m+g_{mb})R_S}\), \(A_v \to -\dfrac{R_D}{R_S}\dfrac{g_m}{g_m+g_{mb}}\) | 7.6 |
| Source follower | \(A_v = \dfrac{g_m}{g_m+g_{mb}+g_{ds}+G_L} \approx \dfrac{1}{1+\eta}\), \(R_{out} \approx 1/g_m\) | 7.7, 7.8 |
| Common gate | \(A_v \approx (g_m+g_{mb})(R_D \parallel r_o)\), \(R_{in} = \dfrac{R_D + r_o}{1 + (g_m+g_{mb})r_o}\) | 7.9, 7.10 |
Cascode output resistance and headroom.
\[R_{out} = r_{o1} + r_{o2} + (g_{m2}+g_{mb2})r_{o1}r_{o2} \approx (1+\eta_2)\frac{g_{m2}}{g_{ds2}}\,r_{o1}, \qquad V_{out,\min} = V_{DS,\mathrm{sat}1} + V_{DS,\mathrm{sat}2} \tag{7.11, 7.12}\]Telescopic stage.
\[\lvert A_v\rvert = g_{m1}(R_n \parallel R_p), \qquad \frac{1}{\lvert A_v\rvert} = \frac{1}{(1+\eta_2)A_1A_2} + \frac{(g_m/I_D)_4}{(g_m/I_D)_1}\cdot\frac{1}{(1+\eta_3)A_3A_4} \tag{7.13, 7.14}\]with \(A_k = g_{mk}/g_{ds,k}\) the intrinsic gain of each device.
A.6 Current mirrors and bias
From Chapter 8.
\[I_\mathrm{out} = \frac{(W/L)_2}{(W/L)_1}I_\mathrm{REF} = mI_\mathrm{REF}, \qquad \frac{I_\mathrm{out}}{mI_\mathrm{REF}} - 1 \approx \frac{V_\mathrm{out} - V_{GS}}{V_A}, \qquad R_\mathrm{out} = r_{o2} \tag{8.1, 8.3}\]Cascode mirrors.
\[R_\mathrm{out} \approx (1+\eta_4)\frac{g_{m4}}{g_{ds4}}r_{o2}; \qquad V_\mathrm{out,min} = V_{GS} + V_{DS,\mathrm{sat}} \ \text{(standard)}, \qquad V_\mathrm{out,min} \approx 2V_{DS,\mathrm{sat}} + \text{margin} \ \text{(wide-swing)} \tag{8.4–8.6}\]Beta-multiplier (self-biased) reference with a \(K\) times wider \(M_2\):
\[R_S = \frac{V_{GS1}(I_\mathrm{REF}) - V_{GS2}(I_\mathrm{REF}/K)}{I_\mathrm{REF}} \tag{8.7}\]Sensitivity of a mirrored current to a gate-voltage error \(\Delta V\) (threshold mismatch, IR drop):
\[\frac{\Delta I}{I} = \frac{g_m}{I_D}\,\Delta V \tag{8.8}\]A.7 Frequency response
From Chapter 9.
\[f_p = \frac{1}{2\pi RC}; \qquad 1 + b_1s + b_2s^2:\ \ \omega_{p1} \approx \frac{1}{b_1},\ \ \omega_{p2} \approx \frac{b_1}{b_2} \ \ (\omega_{p2} \gg \omega_{p1}) \tag{9.2, 9.3}\]Miller effect of a capacitor \(C_F\) across an inverting gain \(A\):
\[C_{in} = C_F(1 + A), \qquad C_{out} = C_F\left(1 + \frac{1}{A}\right) \tag{9.4}\]Common-source stage driven from \(R_S\), loaded by \(R_o\) and \(C_o\):
\[b_1 = R_SC_{gg} + R_oC_o + g_mR_SR_oC_{gd}, \qquad b_2 = R_SR_o\left(C_{gg}C_o - C_{gd}C_{dg}\right) \tag{9.5}\]Open-circuit time constants, with \(R_{k0}\) the resistance seen by \(C_k\) when all other capacitors are open:
\[b_1 = \sum_k R_{k0}C_k, \qquad \omega_{-3\,\mathrm{dB}} \approx \frac{1}{b_1} \tag{9.6}\]Pole at the cascode node, usually far above the dominant pole:
\[\omega_x \approx \frac{g_{m2} + g_{mb2}}{C_x}, \qquad C_x = C_{db1} + C_{gs2} + C_{sb2} \tag{9.8}\]A.8 The differential pair and the 5T OTA
From Chapter 10.
\[v_{id} = v_{in1} - v_{in2}, \quad v_{ic} = \frac{v_{in1}+v_{in2}}{2}; \qquad \frac{\Delta I_D}{I_{SS}} = \tanh\frac{\Delta V}{2nU_T} \ \text{(weak inversion)}; \qquad \frac{1.13}{g_m/I_D} \le V_{lin} \le \frac{1.74}{g_m/I_D} \tag{10.1, 10.3, 10.4}\]Differential pair with loads \(R_o\) and tail resistance \(R_{SS}\).
\[A_{dm} = -g_mR_o, \qquad A_{cm} \approx -\frac{R_o}{2R_{SS}}, \qquad \mathrm{CMRR} = \left\lvert\frac{A_{dm}}{A_{cm}}\right\rvert \tag{10.5–10.7}\]5T OTA (pair \(M_{1,2}\), mirror load \(M_{3,4}\), tail \(M_5\)):
\[A_0 = \frac{g_{m1}}{g_{ds2}+g_{ds4}}, \qquad \mathrm{GBW} = \frac{g_{m1}}{2\pi C_L}, \qquad \text{mirror pole and zero: } \omega_m = \frac{g_{m3}}{C_m},\ \ \omega_z = 2\omega_m \tag{10.8, 10.9}\] \[\mathrm{CMRR}_\mathrm{sym} = A_0\cdot 2g_{m3}R_{SS}, \qquad \mathrm{SR} = \frac{I_{tail}}{C_L} \tag{10.10, 10.14}\]Input and output range.
\[V_{GS1} + V_{DS,sat5} \le V_{ic} \le V_{DD} - \lvert V_{GS3}\rvert + V_{GS1} - V_{DS,sat1}, \qquad V_{ic} - V_{GS1} + V_{DS,sat1} \le V_{out} \le V_{DD} - \lvert V_{DS,sat4}\rvert \tag{10.12, 10.13}\]A.9 Feedback and stability
From Chapter 11.
\[A_{CL} = \frac{A}{1 + A\beta} = \frac{1}{\beta}\cdot\frac{T}{1+T}, \qquad \frac{dA_{CL}}{A_{CL}} = \frac{1}{1+T}\cdot\frac{dA}{A}, \qquad R_{out,CL} = \frac{R_{out}}{1+T} \tag{11.1–11.3}\]Margins, from the loop gain \(T\):
\[\mathrm{PM} = 180^\circ + \angle T(f_u),\ \ \lvert T(f_u)\rvert = 1; \qquad \mathrm{GM} = -20\log_{10}\lvert T(f_{180})\rvert,\ \ \angle T(f_{180}) = -180^\circ \tag{11.5, 11.6}\]Loop gain from two injections (Tian’s method: a voltage test \(T_v\) and a current test \(T_i\) at the same point):
\[T = \frac{T_vT_i - 1}{T_v + T_i + 2} \tag{11.7}\]Two-pole loop. With \(T(s) \approx \omega_u/[s(1 + s/\omega_{p2})]\) the closed loop is second order with
\[\omega_n = \sqrt{\omega_u\omega_{p2}}, \quad \zeta = \frac{1}{2}\sqrt{\frac{\omega_{p2}}{\omega_u}}; \qquad \mathrm{PM} = \arctan\frac{2\zeta}{\sqrt{\sqrt{1+4\zeta^4}-2\zeta^2}}, \quad \text{overshoot} = \exp\!\left(\frac{-\pi\zeta}{\sqrt{1-\zeta^2}}\right) \tag{11.8, 11.9}\]| Phase margin | 45° | 60° | 70° | ≥ 76° |
|---|---|---|---|---|
| Damping ratio \(\zeta\) | 0.42 | 0.61 | 0.80 | ≥ 1 |
| Step overshoot | 23 % | 8.8 % | 1.4 % | none |
In terms of the second pole, \(\mathrm{PM} \approx 90^\circ - \arctan(\omega_u/\omega_{p2})\): 60° needs \(\omega_{p2} \approx 1.7\,\omega_u\), 70° needs \(2.7\,\omega_u\). The usual target is PM ≥ 60° and GM ≥ 10 dB.
A.10 The two-stage Miller OTA
From Chapters 11 and 12. First stage: pair \(M_{1,2}\), mirror \(M_{3,4}\), tail \(M_5\); second stage: \(M_6\) with current source \(M_7\); \(R_1\), \(C_1\) and \(R_2\), \(C_2\) are the resistance and capacitance at the first-stage output and at the output.
\[A_0 = g_{m2}R_1\cdot g_{m6}R_2 = \frac{(g_m/I_D)_2}{\lambda_2+\lambda_4}\cdot\frac{(g_m/I_D)_6}{\lambda_6+\lambda_7}, \qquad \lambda_k = \frac{(g_m/I_D)_k}{(g_m/g_{ds})_k} \tag{12.1}\]Poles, zero and unity-gain frequency.
\[p_1 \approx \frac{1}{g_{m6}R_1R_2C_c}, \qquad p_2 \approx \frac{g_{m6}C_c}{C_1C_2 + C_c(C_1+C_2)} \xrightarrow{C_c \gg C_1} \frac{g_{m6}}{C_1+C_2}, \qquad \omega_u \approx \frac{g_{m1}}{C_c} \tag{11.12}\] \[\mathrm{GBW} = \frac{g_{m2}}{2\pi C_c}, \qquad f_{p2} \approx \frac{g_{m6}}{2\pi C_2}, \qquad f_z = \frac{1}{2\pi C_c(1/g_{m6} - R_z)} \tag{12.2–12.4}\]The nulling resistor \(R_z = 1/g_{m6}\) moves the right-half-plane zero to infinity; a larger \(R_z\) moves it into the left half-plane.
Slew rate and phase margin.
\[\mathrm{SR} \approx \min\!\left(\frac{I_5}{C_c},\ \frac{I_7}{C_c + C_L}\right), \qquad \mathrm{PM} \approx 90^\circ - \arctan\frac{f_u}{f_{p2}} - \arctan\frac{f_u}{f_z} - \sum_k\arctan\frac{f_u}{f_{p,k}} \tag{12.5, 12.6}\]Input range and zero systematic offset.
\[V_{GS1} + V_{DS,sat5} \le V_{CM} \le V_{DD} - \lvert V_{GS3}\rvert + V_{TH1}, \qquad \frac{W_6}{W_4} = \frac{I_7}{I_5/2} = 2\frac{W_7}{W_5} \tag{12.7, 12.8}\]A.11 Noise
From Chapter 13.
\[\overline{v_n^2} = \int_{f_1}^{f_2} S_v(f)\,df, \qquad S_v = 4kTR, \quad S_i = \frac{4kT}{R} \tag{13.1, 13.2}\]MOSFET, as a drain current or referred to the gate:
\[S_{id} = 4kT\gamma g_m + g_m^2\frac{K_f'}{WLf}, \qquad S_{vg} = \frac{4kT\gamma}{g_m} + \frac{K_f'}{WLf}, \qquad f_c = \frac{K_f'g_m}{4kT\gamma WL} \tag{13.3, 13.5}\]Input-referred noise. Divide the output density by the squared gain, \(S_{v,in} = S_{v,out}/\lvert A\rvert^2\) (13.6). For a common-source stage \(M_1\) with an active load \(M_2\):
\[S_{v,in} = \frac{4kT}{g_{m1}}\left(\gamma_1 + \gamma_2\frac{g_{m2}}{g_{m1}}\right) + \frac{K_{f1}'}{W_1L_1f} + \left(\frac{g_{m2}}{g_{m1}}\right)^2\frac{K_{f2}'}{W_2L_2f} \tag{13.7}\]For the 5T OTA (pair \(M_{1,2}\), load \(M_{3,4}\)), whose total output noise is set by the load capacitor:
\[S_{v,in} = \frac{8kT}{g_{m1}}\left(\gamma_1 + \gamma_3\frac{g_{m3}}{g_{m1}}\right) + \frac{2}{f}\left(\frac{K_{f1}'}{W_1L_1} + \left(\frac{g_{m3}}{g_{m1}}\right)^2\frac{K_{f3}'}{W_3L_3}\right), \qquad \overline{v_{n,out}^2} = \frac{2kT}{C_L}\left(\gamma_1 + \gamma_3\frac{g_{m3}}{g_{m1}}\right) \tag{13.8, 13.9}\]Sampled noise on a capacitor, independent of the switch resistance:
\[\overline{v_n^2} = \frac{kT}{C} \tag{13.10}\]A.12 Mismatch and offset
From Chapter 13.
\[\sigma(\Delta V_{TH}) = \frac{A_{VT}}{\sqrt{WL}}, \qquad \sigma\!\left(\frac{\Delta\beta}{\beta}\right) = \frac{A_\beta}{\sqrt{WL}}, \qquad \frac{\Delta I_D}{I_D} = \frac{\Delta\beta}{\beta} - \frac{g_m}{I_D}\Delta V_{TH} \tag{13.11, 13.12}\]Offset of a differential pair, and of a pair with a mirror load.
\[\sigma^2(V_{OS}) = \frac{1}{WL}\left[A_{VT}^2 + \left(\frac{A_\beta}{g_m/I_D}\right)^2\right], \qquad \sigma^2(V_{OS}) = \sigma^2(V_{OS,12}) + \left(\frac{g_{m3}}{g_{m1}}\right)^2\sigma^2(V_{OS,34}) \tag{13.13, 13.14}\]A.13 References and regulators
From Chapter 14.
Bipolar junction.
\[V_{BE} = V_T\ln\frac{I_C}{I_S}, \qquad \frac{\partial V_{BE}}{\partial T} = \frac{V_{BE} - X_{TI}V_T - E_g/q}{T} \approx -1.5\ \text{to}\ -2\ \mathrm{mV/K}, \qquad \Delta V_{BE} = V_T\ln N \tag{14.2, 14.3}\]Voltage-mode bandgap (PTAT current through \(R_1\), summed with \(V_{EB}\) through \(R_2\)):
\[I = \frac{V_T\ln N}{R_1}, \qquad V_{REF} = V_{EB3} + \frac{R_2}{R_1}V_T\ln N, \qquad \frac{R_2}{R_1} = \frac{-\partial V_{EB}/\partial T\big\vert_{I\propto T}}{(k/q)\ln N} \tag{14.4}\]Current-mode bandgap, for references below 1.2 V:
\[I = \frac{V_{EB1}}{R_2} + \frac{V_T\ln N}{R_1}, \qquad V_{REF} = R_3I = \frac{R_3}{R_2}\left(V_{EB1} + \frac{R_2}{R_1}V_T\ln N\right) \tag{14.5}\]LDO with feedback divider \(R_a\), \(R_b\) and pass device \(g_{mP}\):
\[V_{OUT} = V_{REF}\left(1 + \frac{R_a}{R_b}\right), \qquad f_u \approx \frac{A_{EA}\,\beta\,g_{mP}}{2\pi C_{out}},\ \ \beta = \frac{R_b}{R_a+R_b}, \qquad \text{stable if } f_u \ll \frac{1}{2\pi R_{EA}C_{gate}} \tag{14.6, 14.7}\]A.14 Switched-capacitor circuits
From Chapter 18.
Switched-capacitor resistor and MOS switch.
\[R_{eq} = \frac{1}{f_sC}, \qquad R_{on} = \frac{1}{\mu_nC_{ox}(W/L)(V_{DD} - V_{in} - V_{TH})} \tag{18.1, 18.2}\]Charge injection and clock feedthrough (fast clock edge), and the speed–accuracy product of a switch:
\[Q_{ch} = WLC_{ox}(V_{DD} - V_{in} - V_{TH}), \qquad \Delta V \approx -\frac{\tfrac12 Q_{ch} + C_{ov}V_{DD}}{C_H + C_{ov}}, \qquad \lvert\Delta V\rvert\cdot R_{on}C_H \approx \left(\tfrac12 Q_{ch} + C_{ov}V_{DD}\right)R_{on} \tag{18.3–18.5}\]Parasitic-insensitive integrator.
\[V_{out}[n] = V_{out}[n-1] + \frac{C_1}{C_2}V_{in}[n-1], \qquad H(z) = \frac{C_1}{C_2}\,\frac{z^{-1}}{1 - z^{-1}}, \qquad f_{u,int} \approx \frac{f_sC_1}{2\pi C_2} \tag{18.6}\]Gain stage: finite-gain error, feedback factor and settling.
\[V_{out} - V_{CM} = \frac{C_s}{C_f}\,\frac{V_{in} - V_{CM}}{1 + 1/(\beta A_0)}, \quad \beta = \frac{C_f}{C_s + C_f + C_{in}}; \qquad \tau = \frac{1}{2\pi\beta f_u}, \quad t_N = \tau N\ln 2 \tag{18.7, 18.8}\]Sampling capacitor from kT/C noise, equal to the quantization noise of N bits over a range \(V_{pp}\):
\[C \ge \frac{12\,kT\cdot 4^N}{V_{pp}^2} \tag{18.9}\]A.15 Sample-and-hold circuits
From Chapter 19.
Tracking bandwidth and tracking error of a switch on a hold capacitor:
\[f_{-3\,dB} = \frac{1}{2\pi R_{on}C_H}, \qquad v_{in} - v_H \approx R_{on}C_H\,\frac{dv_{in}}{dt} \tag{19.1, 19.2}\]Distortion from a signal-dependent on-resistance that changes by \(\Delta R_{on}\) over the swing (third harmonic for a peak in mid-swing, second for a steady rise):
\[\mathrm{HD} \approx \frac{\omega_{in}C_H\,\Delta R_{on}}{4} \tag{19.3}\]Aperture jitter of rms value \(\sigma_t\) on a sine of frequency \(f_{in}\):
\[\mathrm{SNR}_{jitter} = -20\log_{10}(2\pi f_{in}\,\sigma_t) \tag{19.4}\]Bootstrapped gate voltage and droop:
\[V_G = V_{in} + V_{DD}\,\frac{C_b}{C_b + C_p}, \qquad \frac{dV_H}{dt} = \frac{I_{leak}}{C_H} \tag{19.5, 19.6}\]Flip-around sample-and-hold:
\[\beta = \frac{C_H}{C_H + C_{in}}, \qquad V_{out} = \frac{V_{in}}{1 + 1/(\beta A_0)}, \qquad \tau = \frac{1}{2\pi\beta f_u} \tag{19.7}\]A.16 Comparators
From Chapter 20.
Amplifier and latch. Delay of an open-loop amplifier for a small input, and regeneration of a latch:
\[t_d \approx \frac{V_{sw}}{2\pi f_uV_{in}}, \qquad \Delta V(t) = \Delta V_0\,e^{t/\tau}, \quad \tau = \frac{C}{g_m} \tag{20.1, 20.2}\]Delay and metastability of a regenerative comparator (integration gain \(G\), integration time \(t_0\), time allowed \(T\)):
\[t_d = t_0 + \tau\ln\frac{V_{sw}}{G\,\Delta V_{in}}, \qquad \Delta V_{min} = \frac{V_{sw}}{G}\,e^{-(T - t_0)/\tau} \tag{20.3, 20.4}\]Offset and noise of a StrongARM latch (input pair; integration phase):
\[\sigma_{os} \approx \frac{A_{VT}}{\sqrt{WL}}, \qquad \sigma_n^2 \approx \frac{4kT\gamma}{\int g_m\,dt} \tag{20.5, 20.6}\]A.17 Data converters
From Chapter 21.
Step, quantization noise and SQNR of an ideal N-bit converter (full-scale sine):
\[\mathrm{LSB} = \frac{V_{FS}}{2^N}, \qquad \overline{e_q^2} = \frac{\mathrm{LSB}^2}{12}, \qquad \mathrm{SQNR} = 6.02\,N + 1.76\ \mathrm{dB} \tag{21.1–21.3}\]Static and dynamic accuracy (levels \(V_k\), average step \(\overline{\mathrm{LSB}}\)):
\[\mathrm{DNL}_k = \frac{V_{k+1} - V_k}{\overline{\mathrm{LSB}}} - 1, \qquad \mathrm{INL}_k = \frac{V_k - V_0}{\overline{\mathrm{LSB}}} - k, \qquad \mathrm{ENOB} = \frac{\mathrm{SNDR} - 1.76\ \mathrm{dB}}{6.02\ \mathrm{dB}} \tag{21.4–21.6}\]Figures of merit (Walden, Schreier):
\[\mathrm{FoM_W} = \frac{P}{2^{\mathrm{ENOB}}\,f_s}, \qquad \mathrm{FoM_S} = \mathrm{SNDR} + 10\log_{10}\frac{f_s/2}{P} \tag{21.7}\]Capacitor matching and the linearity of a binary-weighted capacitor DAC (in LSB):
\[\sigma_u = \frac{A_C}{\sqrt{WL}}, \qquad \sigma_{DNL,\,mid} \approx \sqrt{2^N - 1}\;\sigma_u, \qquad \sigma_{INL,\,mid} \approx \frac{\sqrt{2^N}}{2}\,\sigma_u \tag{21.8, 21.9}\]Oversampling with an L-th-order noise-shaping loop:
\[\mathrm{SQNR} = \mathrm{SQNR}_0 - 10\log_{10}\frac{\pi^{2L}}{2L+1} + (20L+10)\log_{10}\mathrm{OSR} \tag{21.10}\]SAR ADC top plate during conversion (parasitic capacitance \(C_p\)):
\[V_{top} = V_{CM} + \left(V_{DAC} - V_{in}\right)\frac{2^NC}{2^NC + C_p} \tag{21.11}\]A.18 VCOs and phase-locked loops
From Chapter 22.
Output frequency, ring oscillator and current-starved VCO:
\[f_{out} = N f_{ref}, \qquad f_{osc} = \frac{1}{2N_s\,t_d} \approx \frac{I}{N_s\,C_{st}\,V_{DD}}, \qquad K_{VCO} = \frac{\partial f_{osc}}{\partial V_{ctrl}} \tag{22.1–22.3}\]Jitter and phase noise (white noise; timing-error variance \(c\,t\)), and the oscillator figure of merit:
\[\mathcal{L}(\Delta f) \approx \frac{f_0^2\,c}{\Delta f^2} = \frac{f_0^3\,\sigma_T^2}{\Delta f^2}, \qquad \mathrm{FoM} = -\mathcal{L}(\Delta f) + 20\log_{10}\frac{f_0}{\Delta f} - 10\log_{10}\frac{P}{1\ \mathrm{mW}} \tag{22.4, 22.5}\]Charge pump and loop gain (loop filter \(R\) in series with \(C_1\), parallel \(C_2\)):
\[\overline{I_{CP}} = I_{CP}\frac{\Delta\phi}{2\pi}, \qquad G(s) = \frac{I_{CP}}{2\pi}\,Z(s)\,\frac{2\pi K_{VCO}}{s}\,\frac{1}{N}, \qquad Z(s) = \frac{1 + sRC_1}{s(C_1 + C_2)(1 + sRC_s)} \tag{22.6, 22.7}\]Bandwidth and phase margin (zero at \(\omega_u/b\), pole at \(b\,\omega_u\)):
\[\omega_u \approx \frac{I_{CP}\,R\,K_{VCO}}{N}, \qquad \mathrm{PM} \approx \arctan b - \arctan\frac{1}{b} \tag{22.8, 22.9}\]A.19 Layout fundamentals
From Chapter 23.
Lithography and rules. Smallest printable feature; an enclosure rule from the physical minimum, the two layers’ width errors and their misalignment, worst case and statistical; the minimum gate pitch:
\[CD_{min} = k_1\frac{\lambda}{NA}, \qquad e \geq e_{phys} + \frac{\Delta W_A}{2} + \frac{\Delta W_B}{2} + \varepsilon, \qquad e \geq e_{phys} + \sqrt{\left(\tfrac{\Delta W_A}{2}\right)^2 + \left(\tfrac{\Delta W_B}{2}\right)^2 + \varepsilon^2}, \qquad p = L + 2s_{cg} + c \tag{23.1–23.4}\]A.20 Reliability
From Chapter 24.
Electromigration. Black’s equation and the temperature derating of the current-density limit:
\[\mathrm{MTTF} = A\,j^{-n}e^{E_a/kT}, \qquad \frac{j_{max}(T)}{j_{max}(T_{ref})} = \exp\!\left[\frac{E_a}{nk}\left(\frac{1}{T} - \frac{1}{T_{ref}}\right)\right] \tag{24.2, 24.3}\]Self-heating of a long wire (width \(w\), oxide thickness \(h\) to the substrate):
\[\Delta T = \frac{I^2R_\square}{w}\cdot\frac{\ln(1 + 2h/w)}{2k_{ox}} \tag{24.5}\]Latch-up and antennas. The parasitic thyristor sustains itself if both conditions hold; the antenna ratio:
\[\beta_n\beta_p > 1 \quad\text{and}\quad I_{CN} \geq \frac{\beta_nV_{on}(\beta_p/R_{well} + 1/R_{sub})}{\beta_n\beta_p - 1}, \qquad AR = \frac{A_{conductor}}{A_{gate}} \tag{24.6, 24.7}\]A.21 Resistors
From Chapter 25.
Resistance from the layout (squares, width bias, U-turns of \(N_U\) squares each, two heads), and its temperature coefficient with the heads included:
\[R = R_\square\left(\frac{L}{W + \Delta W} + n_UN_U\right) + 2R_h, \qquad TC_{eff} = \frac{R_{body}TC_{body} + 2R_hTC_h}{R_{body} + 2R_h} \tag{25.2, 25.4}\]Distributed RC of a resistor driven at one end and open at the other, against the π model of one PDK instance:
\[H(s) = \frac{1}{\cosh\sqrt{sRC}}, \qquad f_{3dB} = \frac{2.43}{2\pi RC}\ \text{(distributed)}, \qquad f_{3dB,\pi} = \frac{2}{2\pi RC} \tag{25.5, 25.6}\]Binary trim network (process factor \(k_{min}\) to \(k_{max}\), \(n\) bits, switch resistance \(R_{sw}\)):
\[k_{max}(R_{fix} + R_{sw}) \le R_t \le k_{min}\left(R_{fix} + (2^n - 1)R_{LSB}\right) \tag{25.7}\]A.22 Capacitors and inductors
From Chapter 26.
Capacitance and the bottom-plate parasitic (plate at height \(h\) above the substrate):
\[C = C_aA + C_pP, \qquad C_{bp} \approx \frac{\varepsilon_{ox}}{h}A_{bp} + c_eP_{bp} \tag{26.2, 26.3}\]MOM and MOS capacitors (finger spacing \(s\), pitch \(p\), metal thickness \(t\); oxide in series with the silicon):
\[\frac{C}{A} \approx \frac{\varepsilon_{ox}\,t}{s\,p}\ \text{(per layer)}, \qquad \frac{1}{C} = \frac{1}{C_{ox}} + \frac{1}{C_{si}(V)} \tag{26.4, 26.5}\]Distortion from a voltage coefficient (amplitude \(A\)):
\[HD_2 = \frac{VC_1A}{4}, \qquad HD_3 = \frac{VC_2A^2}{12} \tag{26.7}\]Spiral inductors. Mohan’s expression (layout constants \(c_1\) to \(c_4\)), skin depth and quality factor:
\[L = \frac{\mu_0n^2d_{avg}c_1}{2}\left[\ln\frac{c_2}{\rho} + c_3\rho + c_4\rho^2\right], \qquad \delta = \sqrt{\frac{\rho_m}{\pi f\mu_0}}, \qquad Q \approx \frac{\omega L}{R_s} \tag{26.8–26.10}\]A.23 Matching layout
From Chapter 27.
Random mismatch of resistor and capacitor pairs, and the total with a gradient \(g\) over a distance \(d\):
\[\sigma\!\left(\frac{\Delta R}{R}\right) = \frac{A_R}{\sqrt{WL}}, \qquad \sigma\!\left(\frac{\Delta C}{C}\right) = \frac{A_C}{\sqrt{A}}, \qquad \sigma_{total}^2 \approx \frac{A^2}{\text{area}} + (gd)^2 \tag{27.2, 27.3}\]Mismatch left by a gradient in an array (bars: averages over each device’s units):
\[\delta_{AB} = g_x(\bar x_A - \bar x_B) + g_y(\bar y_A - \bar y_B) + \tfrac12h_{xx}\left(\overline{x^2}_A - \overline{x^2}_B\right) + h_{xy}\left(\overline{xy}_A - \overline{xy}_B\right) + \tfrac12h_{yy}\left(\overline{y^2}_A - \overline{y^2}_B\right) \tag{27.5}\]Heat from a point source on a thick die, and the BSIM4 length-of-diffusion term:
\[\Delta T(r) = \frac{P}{2\pi kr}, \qquad \mathrm{Inv} = \frac{1}{SA + L/2} + \frac{1}{SB + L/2}, \qquad \Delta V_{TH0} = \frac{K_{VTH0}}{K_{stress}}(\mathrm{Inv} - \mathrm{Inv}_{ref}) \tag{27.6, 27.7}\]A.24 Bipolar transistors and diodes
From Chapter 28.
The bipolar transistor in its forward active region, and the PTAT difference of an 8:1 pair driven by emitter currents:
\[I_C = I_S\exp\!\left(\frac{V_{BE}}{nV_T}\right)\left(1 + \frac{V_{CE}}{V_A}\right), \quad I_S = J_SA_E + J_PP_E, \qquad \Delta V_{BE} = nV_T\ln 8 + V_T\ln\frac{1 + 1/\beta_8}{1 + 1/\beta_1} \tag{28.1, 28.2}\]Random VBE mismatch of a 1:N pair:
\[\sigma(\Delta V_{BE}) = nV_T\,\sigma\!\left(\frac{\Delta I_S}{I_S}\right), \qquad \sigma_{unit} = \frac{A_{IS}}{\sqrt{A_E}}, \qquad \sigma(\Delta V_{BE})_{1:N} = nV_T\,\sigma_{unit}\sqrt{1 + \tfrac1N} \tag{28.3}\]A.25 Power devices and ESD
From Chapter 29.
On-resistance of a large MOSFET, and the gate width per area of a waffle against fingers:
\[R_{on} = \frac{R_{on}W}{W} + R_{contacts} + R_{metal}, \quad R_{on}W \approx \frac{L}{\mu C_{ox}(V_{GS} - V_{TH})}, \qquad \frac{(W/A)_{waffle}}{(W/A)_{fingers}} = \frac{2a}{a + L} \tag{29.1, 29.2}\]Gate delay of a long finger and the metal resistance of fingers and buses with uniform current:
\[\tau_g \approx \tfrac12R_{\square,g}C_{ox}W_f^2, \qquad R_{finger} = \frac{R_\square L_f}{3w}\ \text{(fed at one end)}, \qquad R_{bus} = \frac{R_{\square,b}X}{3H} \tag{29.3, 29.4}\]Electrothermal loop gain of a bipolar power device (thermal resistance \(R_{th}\), \(\varphi = \vert dV_{BE}/dT\vert\)):
\[G = \frac{IV_{CE}R_{th}\varphi}{nV_T + IR_E} \tag{29.5}\]A.26 Assembling the die
From Chapter 30.
Core-limited or pad-limited (packing and routing factors \(k_p\), \(k_r\); \(N\) pads at pitch \(p\); corner \(c\), ring height \(h\), edge \(e\)):
\[D_{core} = \sqrt{k_pk_r\sum A_i} + 2(h + e), \qquad D_{pads} = 2(c + e) + \left\lceil\frac{N}{4}\right\rceil p, \qquad D = \max(D_{core}, D_{pads}) \tag{30.2}\]IR drop of a square power grid of side \(a\) (current density \(J\), effective sheet resistance \(R_{eff}\)), and capacitive coupling to a floating victim:
\[\Delta V_{grid} \approx 0.0737\,JR_{eff}a^2\ \text{(fed on four sides)}, \qquad \tfrac18JR_{eff}a^2\ \text{(two sides)}, \qquad \Delta V_v = \frac{C_c}{C_c + C_v}\Delta V_a \tag{30.4, 30.5}\]