Monday, August 23, 2010

CMOS LOGIC BASIC

A CMOS transistor (or device) has four terminals:

1. Gate ,

2. Source ,

3. Drain ,

4. Bulk ( well , tub , or substrate )

A CMOS transistor is a switch. The switch must be conducting or on to allow current to flow between the source and drain terminals. The transistor source and drain terminals are equivalent as far as digital signals are concerned—we do not worry about labeling an electrical switch with two terminals.

Few Things to remember:

· Logic designers often call the CMOS negative supply VSS or VSS even if it is actually ground or GND. I shall use VSS for the node and V SS for the value.

· CMOS uses positive logic —VDD is logic '1' and VSS is logic '0'.

We turn a transistor on or off using the gate terminal. There are two kinds of CMOS transistors: n -channel transistors and p -channel transistors. An n -channel transistor requires a logic '1' (from now on I’ll just say a '1') on the gate to make the switch conducting (to turn the transistor on ). A p -channel transistor requires a logic '0' (again from now on, I’ll just say a '0') on the gate to make the switch nonconducting (to turn the transistor off ). The p -channel transistor symbol has a bubble on its gate to remind us that the gate has to be a '0' to turn the transistor on.

If we connect an n -channel transistor in series with a p -channel transistor, we form an inverter .

With four transistors we can form a two-input NAND gate.

We can also make a two-input NOR gate.

The region between source and drain is normally nonconducting. To make an n -channel transistor conducting, we must apply a positive voltage V GS (the gate voltage with respect to the source) that is greater than the n -channel transistor threshold voltage , V t n (a typical value is 0.5 V and, as far as we are presently concerned, is a constant). This establishes a thin ( ª 50 Å) conducting channel of electrons under the gate. MOS transistors can carry a very small current (the subthreshold current —a few microamperes or less) with V GS <>t n , but we shall ignore this. A transistor can be conducting ( V GS > V t n ) without any current flowing. To make current flow in an n -channel transistor we must also apply a positive voltage, V DS , to the drain with respect to the source. For an n -channel transistor we must connect the bulk to the most negative potential, GND or VSS, to reverse bias the bulk-to-drain and bulk-to-source pn -diodes.

The current flowing in the transistor is

current (amperes) = charge (coulombs) per unit time (second).

(2.1)

We can express the current in terms of the total charge in the channel, Q. If t f (sometimes called the transit time ) is the time that it takes an electron to cross between source and drain, the drain-to-source current, I DSn , is

I DSn = Q / t f .

(2.2)

We need to find Q and t f . The velocity of the electrons v (a vector) is given by the equation that forms the basis of Ohm’s law:

v = – m n E ,

(2.3)

where m n is the electron mobility ( m p is the hole mobility ) and E is the electric field (with units Vm –1 ).

Typical carrier mobility values are m n = 500–1000 cm 2 V –1 s –1 and m p = 100–400 cm 2 V –1 s –1 . Equation 2.3 is a vector equation, but we shall ignore the vertical electric field and concentrate on the horizontal electric field, E x , that moves the electrons between source and drain. The horizontal component of the electric field is E x = – V DS / L, directed from the drain to the source, where L is the channel length (see Figure 2.3). The electrons travel a distance L with horizontal velocity v x = – m n E x , so that

L

L 2

t f

=

–––

=

–––––––

.

(2.4)

v x

m n V DS

Next we find the channel charge, Q . The channel and the gate form the plates of a capacitor, separated by an insulator—the gate oxide. We know that the charge on a linear capacitor, C, is Q = C V . Our lower plate, the channel, is not a linear conductor. Charge only appears on the lower plate when the voltage between the gate and the channel, V GC , exceeds the n -channel threshold voltage. For our nonlinear capacitor we need to modify the equation for a linear capacitor to the following:

Q = C ( V GC – V t n ) .

(2.5)

The lower plate of our capacitor is resistive and conducting current, so that the potential in the channel, V GC , varies. In fact, V GC = V GS at the source and V GC = V GS – V DS at the drain. What we really should do is find an expression for the channel charge as a function of channel voltage and sum (integrate) the charge all the way across the channel, from x = 0 (at the source) to x = L (at the drain). Instead we shall assume that the channel voltage, V GC ( x ), is a linear function of distance from the source and take the average value of the charge, which is thus

Q = C [ ( V GS – V t n ) – 0.5 V DS ] .

(2.6)

The gate capacitance, C , is given by the formula for a parallel-plate capacitor with length L , width W , and plate separation equal to the gate-oxide thickness, T ox . Thus the gate capacitance is

WL e ox

C

=

––––––

=

WLC ox

,

(2.7)

T ox

where e ox is the gate-oxide dielectric permittivity. For silicon dioxide, Si0 2 , e ox ª 3.45 ¥ 10 –11 Fm –1 , so that, for a typical gate-oxide thickness of 100 Å (1 Å = 1 angstrom = 0.1 nm), the gate capacitance per unit area, C ox ª 3 f F m m –2 .

Now we can express the channel charge in terms of the transistor parameters,

Q = WL C ox [ ( V GS – V t n ) – 0.5 V DS ] .

(2.8)

Finally, the drain–source current is

I DSn

=

Q/ t f

=

(W/L) m n C ox [ ( V GS – V t n ) – 0.5 V DS ] V DS

=

(W/L)k ' n [ ( V GS – V t n ) – 0.5 V DS ] V DS .

(2.9)

The constant k ' n is the process transconductance parameter (or intrinsic transconductance ):

k ' n = m n C ox .

(2.10)

We also define b n , the transistor gain factor (or just gain factor ) as

b n = k ' n (W/L) .

(2.11)

The factor W/L (transistor width divided by length) is the transistor shape factor .

Equation 2.9 describes the linear region (or triode region) of operation. This equation is valid until V DS = V GS – V t n and then predicts that I DS decreases with increasing V DS , which does not make physical sense. At V DS = V GS – V t n = V DS (sat) (the saturation voltage ) there is no longer enough voltage between the gate and the drain end of the channel to support any channel charge. Clearly a small amount of charge remains or the current would go to zero, but with very little free charge the channel resistance in a small region close to the drain increases rapidly and any further increase in V DS is dropped over this region. Thus for V DS > V GS – V t n (the saturation region , or pentode region, of operation) the drain current IDS remains approximately constant at the saturation current , I DSn (sat) , where

I DSn (sat) = ( b n /2)( V GS – V t n ) 2 ; V GS > V t n .

(2.12)

Figure 2.4 shows the n -channel transistor I DS –V DS characteristics for a generic 0.5 m m CMOS process that we shall call G5 . We can fit Eq. 2.12 to the long-channel transistor characteristics (W = 60 m m, L = 6 m m) in Figure 2.4(a). If I DSn (sat) = 2.5 mA (with V DS = 3.0 V, V GS = 3.0 V, V t n = 0.65 V, T ox =100 Å), the intrinsic transconductance is

2(L/W) I DSn (sat)

k ' n

=

–––––––––––––––––––

(2.13)

( V GS – V t n ) 2

2 (6/60) (2.5 ¥ 10 –3 )

=

––––––––––––––––––

(3.0 – 0.65) 2

=

9.05 ¥ 10 –5 AV –2

or approximately 90 m AV –2 . This value of k ' n , calculated in the saturation region, will be different (typically lower by a factor of 2 or more) from the value of k ' n measured in the linear region. We assumed the mobility, m n , and the threshold voltage, V t n , are constants—neither of which is true, as we shall see in Section 2.1.2.

For the p -channel transistor in the G5 process, I DSp (sat) = –850 m A ( V DS = –3.0 V, V GS = –3.0 V, V t p = –0.85 V, W = 60 m m, L = 6 m m). Then

2 (L/W) (– I DSp (sat) )

k ' p

=

–––––––––––––––––––

(2.14)

( V GS – V t p ) 2

2 (6/60) (850 ¥ 10 –6 )

=

––––––––––––––––––

(–3.0 – (–0.85) ) 2

=

3.68 ¥ 10 –5 AV –2

P-Channel Transistors

The source and drain of CMOS transistors look identical; we have to know which way the current is flowing to distinguish them. The source of an n -channel transistor is lower in potential than the drain and vice versa for a p -channel transistor. In an n -channel transistor the threshold voltage, V t n , is normally positive, and the terminal voltages V DS and V GS are also usually positive. In a p -channel transistor V t p is normally negative and we have a choice: We can write everything in terms of the magnitudes of the voltages and currents or we can use negative signs in a consistent fashion.

Here are the equations for a p -channel transistor using negative signs:

I DSp

=

–k ' p (W/L) [ ( V GS – V t p ) – 0.5 V DS ] V DS ; V DS > V GS – V t p

(2.15)

I DSp (sat)

=

– b p /2 ( V GS – V t p ) 2 ; V DS <>GS – V t p .

In these two equations V t p is negative, and the terminal voltages V DS and V GS are also normally negative The current I DSp is then negative, corresponding to conventional current flowing from source to drain of a p -channel transistor (and hence the negative sign for I DSp (sat) in Eq. 2.14).

Velocity Saturation

For a deep submicron transistor, Eq. 2.12 may overestimate the drain–source current by a factor of 2 or more. There are three reasons for this error. First, the threshold voltage is not constant. Second, the actual length of the channel (the electrical or effective length, often written as L eff ) is less than the drawn (mask) length. The third reason is that Eq. 2.3 is not valid for high electric fields. The electrons cannot move any faster than about v max n = 10 5 ms –1 when the electric field is above 10 6 Vm –1 (reached when 1 V is dropped across 1 m m); the electrons become velocity saturated . In this case t f = L eff / v max n , the drain–source saturation current is independent of the transistor length, and Eq. 2.12 becomes

I DSn (sat)

=

Wv max n C ox ( V GS – V t n ) ; V DS > V DS (sat) (velocity saturated).

(2.16)

Transistor current is often specified per micron of gate width because of the form of Eq. 2.16. As an example, suppose I DSn (sat) / W = 300 m A m m –1 for the n -channel transistors in our G5 process (with V DS = 3.0 V, V GS = 3.0 V, V t n = 0.65 V, L eff = 0.5 m m and T ox = 100 Å). Then E x ª (3 – 0.65) V / 0.5 m m ª 5 V m m –1 ,

I DSn (sat) /W

v max n

=

–––––––––––––––

(2.17)

C ox ( V GS – V t n )

(300 ¥ 10 –6 ) (1 ¥ 10 6 )

=

––––––––––––––––––

(3.45 ¥ 10 –3 ) (3 – 0.65)

=

37,000 ms –1

and t f ª 0.5 m m/37,000 ms –1 ª 13 ps.

The value for v max n is lower than the 10 5 ms –1 we expected because the carrier velocity is also lowered by mobility degradation due the vertical electric field—which we have ignored. This vertical field forces the carriers to keep “bumping” in to the interface between the silicon and the gate oxide, slowing them down.

3 comments:

  1. buddy, great explanations,
    will help me in interviews for sure,
    thanks a lot

    ReplyDelete
  2. > A p -channel transistor requires a logic '0' (again from now on, I’ll just say a '0') on the gate to make the switch nonconducting (to turn the transistor off ).

    I think it's a typo...You meant conducting..Right?

    ReplyDelete
    Replies
    1. yeah even i think its conducting.

      Delete