CMOS Inverter
CMOS Inverter
1
03-11-2023
2
03-11-2023
3
03-11-2023
Contd…………… Contd…….
• As the beta ratio is changed, the switching threshold moves. • By setting the currents to be equal and opposite, we can solve for Vinv as a
function of r
• However, the output voltage transition remains sharp.
• Gates are usually skewed by adjusting the widths of transistors while maintaining
minimum length for speed.
➢ Inverter Threshold Voltage (Mid point voltage)
• The inverter threshold can also be computed analytically
β𝑛 2 • Considering that the transistors are fully saturated
𝐼𝑑𝑛 = 𝑉 − 𝑉𝑡𝑛
2 𝑖𝑛𝑣
β𝑝
• 𝐼𝑑𝑝 = 𝑉𝑖𝑛𝑣 − 𝑉𝐷𝐷 − 𝑉𝑡𝑛 2
2
4
03-11-2023
Contd………………… Contd...........
• where "1"
• VIH = minimum HIGH input voltage V
OH V
NMH "1" OH
• VIL = maximum LOW input voltage V
Noise Margin High IH V
• VOH= minimum HIGH output voltage Undefined IH
Region
• VOL = maximum LOW output voltage Noise Margin Low
V
NML IL Undefined
V Region
OL
"0"
Contd………….
• Inputs between VIL and VIH are said to be in the indeterminate region or forbidden zone and do Contd…………
not represent legal digital logic levels. • Logic levels are defined at the unity gain point where the slope is –1.
• Therefore, it is generally desirable to have VIH as close as possible to VIL and for this value to be • If either NML or NMH for a gate are too small, the gate may be disturbed by noise that occurs on
midway in the “logic swing,” VOL to VOH. the inputs.
• This implies that the transfer characteristic should switch abruptly; that is, there should be high • An unskewed gate has equal noise margins, which maximizes immunity to arbitrary noise
gain in the transition region. sources.
• For the purpose of calculating noise margins, the transfer characteristic of the inverter and the • If a gate sees more noise in the high or low input state, the gate can be skewed to improve that
definition of voltage levels VIL, VOL, VIH, and VOH are shown in Figure noise margin at the expense of the other.
• Note that if |Vtp| = Vtn , then NMH and NML increase as threshold voltages are increased.
• Quite often, noise margins are compromised to improve speed.
5
03-11-2023
Contd……………. Contd…………….
• Assuming periodic input and output waveforms, the average power dissipated by any device
• When the input voltage switches from low to high, the pMOS transistor in the circuit is
over one period can be found as follows:
turned off, and the nMOS transistor starts conducting.
1 𝑇
• During this phase, the output load capacitance Cload is being discharged through the • 𝑃𝑎𝑣𝑔 = 𝑇 0 𝑣 𝑡 . 𝑖 𝑡 𝑑𝑡 …………………………………………… 1
nMOS transistor. • Since during switching, the nMOS transistor and the pMOS transistor in a CMOS inverter
• Thus, the capacitor current equals the instantaneous drain current of the nMOS conduct current for one-half period each, the average power dissipation of the CMOS inverter
transistor. can be calculated as the power required to charge up and charge down the output load
capacitance.
• When the input voltage switches from high to low, the nMOS transistor in the circuit is
𝑇
turned off, and the pMOS transistor starts conducting. 1 𝑑𝑉𝑜𝑢𝑡 𝑇 𝑑𝑉𝑜𝑢𝑡
• 𝑃𝑎𝑣𝑔 = 𝑇 02 𝑉𝑜𝑢𝑡 −𝐶𝑙𝑜𝑎𝑑 𝑑𝑡 + 𝐷𝐷𝑉 𝑇− 𝑉𝑜𝑢𝑡 𝐶𝑙𝑜𝑎𝑑 𝑑𝑡 (2)
• During this phase, the output load capacitance Cload is being charged up through the 𝑑𝑡 2
𝑑𝑡
pMOS transistor; therefore, the capacitor current equals the instantaneous drain • Evaluating the integrals in eqn.(2), we obtain:
current of the pMOS transistor.
6
03-11-2023
Contd……………….. Contd……………..
• On simplifying we get: • The switching delay times have no relevance to the amount of power consumption during the
𝟏 switching events.
• 𝑷𝒂𝒗𝒈 = 𝑻 𝑪𝒍𝒐𝒂𝒅 𝑽𝑫𝑫𝟐 • The reason for this is that the switching power is solely dissipated for charging and discharging
1 the output capacitance from VOL to VOH, and vice versa.
• As 𝑇 = 𝑓, • For this reason, the switching power expression derived for the CMOS inverter also applies to
• 𝑷𝒂𝒗𝒈 = 𝑪𝒍𝒐𝒂𝒅 𝑽𝑫𝑫𝟐𝒇 all general CMOS circuits.
• A general CMOS logic circuit consists of an nMOS logic block between the output node and the
• It is clear that the average power dissipation of the CMOS inverter is proportional to the
switching frequency f ground, and a pMOS logic block between the output and VDD.
• As in the simple CMOS inverter case, either the pMOS block or the nMOS block can conduct
• Therefore, the low-power advantage of CMOS circuits becomes less prominent in high-speed
depending on the input voltage combination, but not both at the same time.
operation, where the switching frequency is high.
• The average power dissipation is independent of all transistor characteristics and transistor • Therefore, switching power is again dissipated solely for charging and discharging the output
capacitance.
sizes.
Contd………….
• If the total parasitic capacitance in the circuit can be lumped at the output node with
reasonable accuracy, if the output voltage swing is between 0 and VDD, and if the input
voltage waveforms are assumed to be ideal step inputs, the average switching power is
given by
• 𝑷𝒂𝒗𝒈 = 𝑪𝒍𝒐𝒂𝒅 𝑽𝑫𝑫𝟐𝒇
11/3/2023 21EC504_VLSI_NR 27