Chap16 1 NMOS Inverter
Chap16 1 NMOS Inverter
Chap16 1 NMOS Inverter
Chapter 16.1
NMOS Inverter
NMOS Inverter
For any IC technology used in digital circuit design, the basic circuit element is the logic inverter. Once the operation and characterization of an inverter circuits are thoroughly understood, the results can be extended to the design of the logic gates and other more complex circuits.
n-channel MOSFET
n-channel MOSFET
Chap.3
Transition points
NMOS Inverter
For any IC technology used in digital circuit design, the basic circuit element is the logic inverter. Once the operation and characterization of an inverter circuits are thoroughly understood, the results can be extended to the design of the logic gates and other more complex circuits.
Saturation region
Nonsaturation region
NMOS Inverter
If VI <VTN , the transistor is in cutoff and iD = 0, there is no voltage drop across RD, and the output voltage is Vo=VDD=VDS If VI >VTN , the transistor is on and initially is biased in saturation region, since VDS < VGS -VTN . VI <VNT VI >VNT
Transistor on Transistor off
+
=VDD=VDS VGS= +
=VDD=VDS
Cut-off
If VI <VTN , the transistor is in cutoff and iD = 0, there is no voltage drop across RD, and the output voltage is Vo=VDD=VDS
VGS=
As the input voltage increases (VGS ), the drain to source voltage (VDS) decreases and the transistor inter into the nonsaturation region.
=VDS
Saturation Region
As the input is increased slightly above the VTN , the transistor turns on and is in the saturation region.
Transition Region
As the input voltage is further increases and voltage drop across the RD become sufficient to reduce the VDS such that V V V
DS GS TN
Saturation region
=VDS
=VDS VGS= +
Nonsaturation Region
As the input voltage becomes greater than VIt , the Q-point continues to move up the load line, and the transistor becomes biased in the nonsaturation region.
VGS= vI VDS= vO
The sharpness of the transition region increases with increasing load resistance.
The minimum output voltage, or the logic 0 level, for a high input decreases with increasing load resistance.
Example
For the NMOS inverter shown in Fig. VDD = 3V. Assume transistor parameters of Kn = 60 A/v2, W/L = 5, and VTN = 0.5 V. (a) Find the value of RD such that vo = 0.1 V when vI = 3 V. (b) Using the results of part (a) determine the transition point for the driver transistor
Transition Region
Nonsaturation Region
The iD versus vDS characteristics are shown in Figure 16.7(b), which indicates that this device acts as a nonlinear resistor.
c.f.
=VDS
The sharpness of the transition region increases with increasing load resistance.
The minimum output voltage, or the logic 0 level, for a high input decreases with increasing load resistance.
P1014
Example
Example 16.3
Limitation of Enhancement Load inverter
P1014
Example
The enhancement-load NMOS inverter shown in Fig. is biased at VDD = 3 V. The transistor parameters are VTND = VTNL = 0.4 V, kn = 60 mA/V2, (W/L)D = 16 and (W/L)L = 2. (a) Find vo when (i) vI = 0, (ii) vI = 2.6, (b) Calculate the power dissipated in the inverter when vI = 2.6 V.
This is an alternate form of the NMOS inverter that uses an depletion-mode MOSFET load device with gate and source terminal connected. This inverter has the advantage of VO= VDD , as well as more abrupt transition region even though the W/L ratio for the output MOSFET is small.
Load
This implies that input and output voltages are not linear in this region.
This implies that input voltage is constant as the Q-point passes this region.
Q2
(Nonsaturation)
Q1
More abrupt transition region can be achieved even though the W/L ratio for the output MOSFET is small.
Example 16.4
P1014
Example 16.4
P1014
See slide 34
vGS=0
Example 16.4
P1014
Transition Region
Nonsaturation Region
See next slide
vGS=0
Example 16.4
P1014
Design 16.5
P1018
Design 16.5
P1018
Design 16.5
P1018
short
Example 16.14
P1098
(i) (ii)
Example 16.14
P1098
Example 16.14
P1098
(i) (ii)
(i) (ii)
Example 16.14
P1098
NMOS Inverter
Chapter 16
Chapter 16.2
825W
Enhancement Load
200W
Depletion Load
Logic Gates
NMOS logic circuits are constructed by connecting driver transistor in parallel, series or series-parallel combinations to produce required output logic function
Out
AND Gate
Out
OR Gate
Out
XOR Gate
Out
NOT Gate
Logic Gates
Example 16.7
p1030
Design 16.20
p1099
For the NOR gate the effective width of the drivers transistors doubles. The effective aspect ratio is increased.
For the NAND gate the effective length of the driver transistors doubles. The effective aspect ratio is decreased.
Design 16.20
p1099
(b)
(a) (c)
The rate at
Chapter 16
The raise time is longer because the load capacitor is charged by the current through the smaller load transistor.
(W/L)L= 1 (W/L)D= 4 0.5pF
The fall time relatively short, because the load capacitor discharges through the large driver transistor.
Chapter 16.3
CMOS Inverter
p-Channel MOSFET
p
p-Channel MOSFET
In p-channel enhancement device. A negative gate-to-source voltage must be applied to create the inversion layer, or channel region, of holes that, connect the source and drain regions.
p n
The threshold voltage VTP for p-channel enhancement-mode device is always negative and positive for depletion-mode PMOS.
CMOS
Complementary MOS
The most abundant devices on earth
Although the processing is more complicated for CMOS circuits than for NMOS circuits, CMOS has replaced NMOS at all level of integration, in both analog and
digital applications. The basic reason of this replacement is that the power dissipation in CMOS logic circuits is much less than in NMOS circuits.
CMOS Properties
Full rail-to-rail swing high noise margins
CMOS Inverter
In the fabrication process, a separate p-well region is formed within the starting n-substrate. The n-channel MOSFET is fabricated in the p-well region and p-channel MOSFET is fabricated in the n-substrate.
Logic levels not dependent upon the relative device sizes transistors can be minimum size ratio less
Always a path to VDD or GND in steady state low output impedance (output resistance in k range) large fan-out. Extremely high input resistance (gate of MOS transistor is near perfect insulator) nearly zero steady-state input current No direct path steady-state between power and ground no static power dissipation Propagation delay function of load capacitance and resistance of transistors
Rp
PMOS
PMOS
VOL = 0 VOH = V DD
VOut = VDD
NMOS
VOut = 0 Rn
NMOS
VIn = 0
VIn = V DD
HW solution
16.4
PMOS
NMOS
Vin = 2.5V
Vin = 0V
1.5 1
Vin = 1.0V
Vin = 2.0V
NMOS off PMOS in non sat
Vin=0.5V
NMOS in non sat PMOS in sat NMOS in nonsat PMOS off
0
Vin=2.5V
0
Vin=2.0V
0.5
1.5
2.5
Vin=0V
Vout (V)
0.25um, W/Ln = 1.5, W/Lp = 4.5, VDD = 2.5V, VTn = 0.4V, VTp = -0.4V
vSDP is small
vOPt
B
vONt vIt
Example 16.9
p1041
For VDD=5V
Example 16.9
p1041
CMOS inverter: series combination of PMOS and NMOS To form the input, gates of the two MOSFET are connected. To form the output, the drains are connected together.
The transistor KN is also known as pull down device because it is pulling the output voltage down towards ground. The transistor KP is known as the pull up device because it is pulling the output voltage up towards VDD. This property speed up the operation considerably.
(ideal case)
VIn
1 0
VOut
0 1
Ideally, the power dissipation of the CMOS inverter is zero. Practical device CMOS inverter ( nW) NMOS inverter (mW)
The static power dissipation during both extreme cases (logic 1 or 0) is almost zero because iDP= iDN= 0.
VTN = VTP
' W ' W kN = kP L L
' ' But k N > k P (because N>P)
(2)
vOPt
vONt
NMOS: nonsaturation PMOS: saturation NMOS: nonsaturation PMOS: off
V It =
V DD 2
p1101
(i)
KN
k' W = n 2 L
Transition points
VOPt VONt
(ii)
Example 16.29
p1101
(b)
KP =
' kP 2
W L
(i)
VDD
Transition points
kp=0.2kn
VOPt VONt
VOut
for V It =
VDD
(ii)
VIt
V DD 2 kN = kP , WN WP
VIn
Problem 16.31
p1101
(a)
Problem 16.31
p1101
Example 16.31
p1101
(b)
vIt
As long as NMOS transistor is biased in the saturation region the square root of the inverter current is linear function of the input voltage.
As long as PMOS transistor is biased in the saturation region the square root of the inverter current is linear function of the input voltage.
NMOS: saturation PMOS: saturation NMOS: nonsaturation PMOS: saturation NMOS: nonsaturation PMOS: off
Problem 16.33
p1102
Power Dissipation
There is no power dissipation in the CMOS inverter when the output is either at logic 0 or 1. However, during switching of the CMOS inverter from low logic 0 to logic 1, current flows and power is dissipated. Usually CMOS inverter and logic circuit are used to drive other MOS devices by connecting a capacitor across the output of a CMOS inverter. This capacitor must be charged and discharged during the switching cycle.
(a)
(b)
Triode Region
Saturation Region
Cox = Gate-Channel capacitance per unit area(F/m2) CGC = Total gate channel capacitance CGS = Gate-Source capacitance CGD = Gate-Drain capacitance CGSO and CGDO = overlap capacitances (F/m)
Drain is no longer connected to channel.
CMOS Inverter
Cutoff Region
Rp CL Vout Rn Vout CL
Conducting channel region is completely gone. CGB = Gate-Bulk capacitance CGBO = Gate-Bulk capacitance per unit width.
VIn = 0
VIn = VDD
Gate response time is determined by the time to charge CL through Rp (discharge CL through Rn)
Static power: when input isnt switching Dynamic capacitive power: due to charging
and discharging of load capacitance
Dynamic short-circuit power: direct current from VDD to Gnd when both transistors are on
Ileak,P
VI<VTN VDD VDD Vo(low)
Ileak,N
The total energy dissipated during one switching 1 1 2 2 2 E cycle; T = E P + E N = 2 C LV DD + 2 C LV DD = C LV DD The E = Pdissipated ETterms frequency; fC V 2 power t P = in P = fE T T L DD
dt
E P = C LV DD O EP =
V DD 0
CL
O
2
2 V DD
, E P = (C LV DDV DD
0
V 0) (C L DD 0 ) 2
This implied that the power dissipation in the CMOS inverter is directly proportional to switching frequency and VDD2
Does not (directly) depend on device sizes Does not depend on switching delay Applies to general CMOS gate in which:
Switched capacitances are lumped into CL Output swings from GND to VDD Input signal approximated as step function Gate switches with frequency f
Imax Vout
ID
Vin
VDD
Power Reduction
Reducing dynamic capacitive power
Lower the voltage!!
Quadratic effect on dynamic power
Reduce capacitance!!
Short interconnect lengths Drive small gate load (small gates, small fan-out)
Reduce frequency!!
Lower clock frequency Lower signal activity
2 Pdyn = C LV DD f
Power Reduction
Reducing short-circuit current
Fast rise/fall times on input signal Reduce input capacitance Insert small buffers to clean up slow input signals before sending to large gate
Chapter 16
Chapter 16.3.4
of CMOS when
of CMOS when
If CMOS is symmetrical,
of CMOS when
If CMOS is symmetrical,
Example 16.11
P1047
Chapter 16
Chapter 16.4
CMOS NOR gate can be constructed by using two parallel NMOS devices and two series PMOS transistors.
The output is at logic 1 when all inputs are low. For all other possible inputs, output is low or at logic 0.
CMOS NAND gate can be constructed by using two parallel PMOS devices and two series NMOS transistors.
The is at logic 0 when all inputs are high. For all other possible inputs, output is high or at logic 1.
In order to get the symmetrical switching properties, the width to length ratio of PMOS transistor must be approximately eight times that of the NMOS device.
Parallel combination
Series combination
For the NOR gate the effective width of the drivers transistors doubles. The effective aspect ratio is increased.
For the NAND gate the effective length of the driver transistors doubles. The effective aspect ratio is decreased.
However,
Each additional load gate increases the load capacitance their must be charge and discharge as the driver gate changes state. This place a practical limit on the maximum allowable number of load gates.
The propagation delay time is directly proportional to the switching time and increases as the Fan-out increases. Therefore, the maximum Fanout is limited by the maximum acceptable propagation delay time.
to-high propagation delay time and the high-to-low propagation delay time.
Each additional load gate increases the load capacitance their must be charge and discharge as the driver gate changes state. This place a practical limit on the maximum allowable number of load gates.
Switching Time
Switch-level model
Delay estimation using switchlevel model (for general RC circuit):
I =C I= V R dV dt
V1
Switch-level model
For fall delay tphl, V0=Vcc, V1=Vcc/2
Rn
CL
dt = RC dV V
dt =
C dV I
RC dV V
t1 t0 = t p =
V0
V t p = RC [ln(V1 ) ln(V0 )] = RC ln 1 V 0
Chapter 16
Transmission Gates
Use of transistors as switches between driving circuits and load circuits are called transmission gates because switches can transmit information from one circuit to another. NMOS and CMOS transmission gate.
Chapter 16.6
Transmission Gates
The bias applied to the transistor determines which terminal acts as the drain and which terminal acts as the source.
As an Open Switch
When gate voltage =0, the n-channel transistor is cut-off and the transistor acts as an open switch
As an Open Switch
VDD zero
As an Open Switch
VDD zero
@ High input
If =VDD, vI=VDD, and vO is initially (t=0) zero, terminal a acts as the drain since its bias is VDD. terminal b acts as the source since its bias is zero. Current enters the drain from the input charging up the capacitor.
As CL charges up and Vo increases, the gate to source voltage decreases. When the gate to source voltage VGS become equal to threshold voltage VTN, the capacitance stop charging and current goes to zero. This implies that the VO=VO(max) when VGS=VTN Or VO(max) = VDD-VTN
@ High input
Drain
Drain
This implies that output voltage never will be equal to VDD. ; rather it will be lower by VTN. This is one of the disadvantage of an NMOS transmission gate when VI=high
As an Open Switch
zero VDD-VTN
@ Low input
When =VDD, vI=0, and vO =VDD-VTN, at t=0, terminal a acts as the source since its bias is zero. terminal b acts as the drain since its bias is high. Capacitor discharges as current enters the drain. Stop discharging drain current goes zero.
VDD-Vt
Source
G
Drain
VGS=-VI VGS=VDD-o
=VDD Gate
This implies that value of VGS is constant. In this case the capacitor is fully discharge to zero as the drain current goes to zero.
vGS=vDD
source
gate
drain
VDD-VTN
Good logic 0 when VI=low
In this case the capacitor is fully discharge to zero as the drain current goes to zero. VO=0 This implies that the NMOS transistor provide a good logic 0 when VI=low
VO=0
This implies that the NMOS transistor provide a good logic 0 when VI=low
Example 16.13
p1060
Example 16.52
p1106
VO(max) = VDD-VTN
(a)
Example 16.52
(b)
p1106
A CMOS transmission gate can be constructed by parallel combination of NMOS and PMOS transistors, with complementary gate signals. The main advantage of the CMOS transmission gate compared to NMOS transmission gate is to allow the input signal to be transmitted to the output without the threshold voltage attenuation.
Charging path
NMOS PMOS
terminal a acts as the source terminal b acts as the drain terminal c acts as the source terminal d acts as the drain
In order to charge the load capacitor, current enters the NMOS drain and the PMOS source.
In order to discharge the load capacitor, current enters the NMOS drain and the PMOS source.
Source
Drain
NMOS
NMOS
Drain
Source
PMOS
In PMOS, IDP=0, when VSDP=0, which would be possible only, if, VO=VI=5V logic 1 is unattenuated
p1067
p10XX
Given that VTN=0.8V, VTP=-1.2V. When = 5V, input vI varies with time as vI =0.5t for 0 t 10 sec. Let VO=0 and CL=1pF. Determine the range of the times that the NMOS and PMOS devices are conducting or cutoff.
NMOS conducting for 0 vI 4.2V NMOS conducting for 0 t 8.4 sec NMOS cutoff for 8.4 t 10 sec
HW solution
Chapter 16
Chapter 16.7
The logic circuits considered thus far are called combinational logic circuits. Their output depend only on the present value of input. This implies that these circuit do not have memory. Another class of the logic circuit that incorporate memory are called sequential logic circuits; that is, their output depend not only the present value of the input, but also on the previous history of inputs. Shift registers and flip-flops are typical examples of such circuits.
Transparent mode
Hold mode
In shift register the input signal is transmitted, or shifted, from the input to the output during one clock cycle.
For example at t = t2, VO1=4V, 1=0 and MN1 is cutoff.VO1 will start to to decay and VO2 will begin to increase.
When S=logic 1 and R=logic 0 =logic 0 and Q=logic 1=VDD Transistor M2 is then also biased in conducting state.
the circuit can force a change and flip flop stores the previous logic states, although M1 turned off (but M2 remains tuned on).
When the CMOS transmission gate turn off (=0), the pn junction in the MN1 transmission gate transistor is reverse biased.