A circuit built with discrete components is mounted on a printed circuit board (PCB).
An integrated circuit (IC) is realized by fabricating all the circuit components at the same time (through a sequence of steps, collectively known as the fabrication process or technology) on a single semiconductor crystal (the chip).
Main fabrication technologies for integrated circuits:
Technology
Content
CMOS (Complementary Metal-Oxide-Semiconductor)
enhancement-mode nMOSFET (VTN>0) and pMOSFET (VTP<0): basic digital CMOS; plus resistors, capacitors (analog options) and inductors (RadioFrequency options)
BiCMOS
Bipolar + CMOS: at least one good npn BJT
BCD
Bipolar + CMOS + power nMOSFET: ICs for automotive applications
1.1 Main peculiarities of IC technologies
The cost of a circuit is proportional to its area on the chip, not to the component count as for discrete-component circuits; a transistor and a resistor with the same area cost the same.
Good matching between devices of the same type: two transistors M1 and M2 on the same chip at a close distance have VTN1≅VTN2, kn1′≅kn2′, and so on. Therefore circuits that depend on the availability of (quasi) identical devices are possible, for example current mirrors and differential pairs.
2. The basic CMOS current mirror
A current mirror (CM) is a two-port with input current iI (voltage vI) and output current io (voltage vo). There is an n-type CM (nCM, referred to ground) and a p-type CM (pCM, connected to VDD>0). Its behaviour:
dc: Io=MII,M=QP,P,Q integersac: io=Mii
2.1 n-type CM
Circuit: M1 is diode-connected (gate tied to drain), carries the input current iI and sets VGS1; the same VGS is applied to the gate of M2, whose drain carries the output current io.
iI | | io
v v
vI +--+ +--+ vo
| D1 D2 |
+--G1 ---+--- G2 |
| | |
S1 S2
GND ----------- GND
(M1 diode-connected: G1 tied to D1; VGS1 = VGS2)
Assumptions: M1 and M2 have the same VTN, the same kn′, the same length L1=L2=L, gate widths W2=MW1=MW, and operate in the active (saturation) region.
dc analysis.
II=ID1=2kn′LW(VGS1−VTN)2,VGS1=VGS2=VGS
Io=ID2=2kn′LMW(VGS2−VTN)2=MID1=MII
(the square is the same as for M1, since VGS2=VGS1).
Conditions for the active region.
M1: VGS1=VTN+kn′W/L2II>VTN if II>0. Since the gate is tied to the drain, VDS1=VGS1>VOV=VGS1−VTN. So M1 is in the active region if II>0.
M2: VGS2=VGS1>VTN if II>0, and VDS2=vO must satisfy
vO>VOV=VGS−VTN=kn′W/L2II
2.2 p-type CM
The same circuit mirrored: sources of M1 and M2 at VDD, M1 diode-connected, input and output currents flowing towards ground, VGS1=VGS2, with VGS1, VGS2 and VDS negative.
Assumptions: same VTP, same kp′, same length L, W2=MW1=MW, both in the active region.
M2 is in the active region if II>0 (so that VGS<VTP) andVDS2<VOV=VGS−VTP. Since vO=VDD+VDS2:
vO=VDD+VDS2<VDD+VOV⟹II>0 and vO<VDD+<0VOV
3. Application in dc: the N-output current mirror
One current reference IREF (an ideal current source from VDD) feeds the diode-connected M0; its gate is distributed to N mirror transistors M1,M2,…,MN with output currents Io1,Io2,…,IoN.
All transistors have Lk=L for k=0,1,2,…,N, widths Wk=mkW0, the same VTNk=VTN and kn,k′=kn′, and operate in the active region. Then
Io,k=mkIREF,mk=W0Wk
A single reference current thus generates many bias currents, each scaled by the ratio of the transistor widths.
4. The current mirror in the small-signal ac regime
Replace each transistor by its small-signal model (gm, ro, with ig=0). The diode connection makes vgs1=vgs2=vi.
For the nCM, M1 has the gate connected to its drain, so seen from the input it is the current source gm1vi in parallel with ro1, and a source driven by its own terminal voltage is equivalent to a resistor:
gm1vi(controlled by the voltage across it)=resistor gm11
The input side is therefore ro1∥gm11. The output side is the source gm2vi in parallel with ro2.
Input resistance. Since gm1ro1=VOV2ID1⋅λnID11=VOV2(1/λn)≫1 (typical values: 1/λn between 10V and 100V, VOV between 0.15V and 0.6V), we have ro1≫1/gm1 and
ii=ro1∥1/gm1vi≅1/gm1vi=gm1vi
Transconductance of M2. With the same VOV and ID2=Io=MII:
gm2=VOV2ID2=VOV2MII=MVOV2ID1=Mgm1
Hence the output current source is gm2vi=Mgm1vi=Mii.
The mirror is a current-controlled current source, a current amplifier with gain M=W2/W1:
Ri≅gm11(small),Ro=ro2(large),io=Mii
so it is a good current amplifier (small input resistance, large output resistance). The pCM has the equivalent small-signal circuit with the same parameters.
5. Example: current mirror used to bias a common-source amplifier
A pMOSFET M1 has its source at VDD and its drain loaded by RD to ground; the input vI is applied at the gate, the output vo is the drain voltage. In ac, the pMOSFET with RD becomes a common-source stage with RD at the drain.
Assume VDD=1.2V and choose W1/L1 such that
ID1=2kp′L1W1VOV2=1mAwhen VOV=−0.2V
Maximum value of RD.M1 is in the active region if VOV<0 (satisfied) and VDS1<VOV=−0.2V. With VDS1=vO−VDD=RDID1−VDD:
5.1 Replacing RD with a current mirror (active load)
Replace RD with the nMOSFET M2 of an n-type current mirror whose diode-connected transistor is M3, fed by a current reference IREF=100μA. The current of M2 is ID2=Io=MII=MIREF; since M2 must carry the current ID1=1mA of M1:
M=IREFID2=IREFID1=10
Small-signal equivalent circuit: M1 gives gm1vi in parallel with ro1; M2 gives ro2 in parallel with the source Miref; the M3 branch has 1/gm3 and the reference iref. Since IREF is constant, iref=0, so the mirror source is zero and M2 acts only as the resistance ro2:
The active load gives a gain of −500 against −10 with the resistor RD.
Versione ripasso
ICs: all components fabricated together on one chip (technologies CMOS, BiCMOS = bipolar + CMOS with a good npn, BCD = bipolar + CMOS + power nMOSFET for automotive). Cost ∝ chip area (a transistor and a resistor of the same area cost the same); good matching of nearby devices (VTN1≅VTN2, kn1′≅kn2′) enables current mirrors and differential pairs.
Basic CM: dc Io=MII with M=P/Q; ac io=Mii.
nCM: M1 diode-connected, VGS1=VGS2, L1=L2=L, W2=MW1, same VTN, kn′:
pCM: Io=MII; M2 active if II>0 and vO<VDD+VOV (VOV<0).
N-output mirror: Io,k=mkIREF, mk=Wk/W0.
ac: ro1≫1/gm1 because gm1ro1=VOV2(1/λn)≫1 (1/λn∼10÷100V, VOV∼0.15÷0.6V). gm2=Mgm1, ii≅gm1vi, so gm2vi=Mii:
Ri≅gm11(small),Ro=ro2(large),gain M=W1W2
Example: pMOS CS stage, VDD=1.2V, ID1=1mA, VOV=−0.2V: RD<(VDD+VOV)/ID1=1kΩ. With RD=1kΩ: gm1=10mS, ro1=100kΩ, Avo=−gm1RD=−10. With an nCM active load (IREF=100μA, M=10, iref=0): Av=−gm1(ro1∥ro2)=−(10mS)(50kΩ)=−500.
Typical mistakes: forgetting that the diode-connected transistor is always active when II>0 but the output transistor needs a minimum output voltage; using gm2=gm1 instead of Mgm1; keeping the mirror source in the ac circuit when IREF is constant (iref=0); wrong sign of VOV and VDS for the pMOS.