270 likes | 507 Views
ECE2030 Introduction to Computer Engineering Lecture 3: Switches and CMOS . Prof. Hsien-Hsin Sean Lee School of Electrical and Computer Engineering Georgia Tech. Basic Switch. A path exists when the Switch Control is closed If (Open) OUTPUT = unknown ; Switch is open ( OFF )
E N D
ECE2030 Introduction to Computer EngineeringLecture 3: Switches and CMOS Prof. Hsien-Hsin Sean Lee School of Electrical and Computer Engineering Georgia Tech
Basic Switch • A path exists when the Switch Control is closed • If (Open) OUTPUT = unknown ; Switch is open (OFF) • Else OUTPUT = INPUT ; Switch is closed (ON) Switch Control OUTPUT INPUT
Switch Control (Gate) OUTPUT INPUT The Analogy of A Transistor Cross Section An N-Channel Metal-Oxide Semiconductor Field Effect Transistor (MOSFET)
Drain Gate Source Transistor Characteristics • Cut-off Region • Vgs – Vt 0 • No current (Ids) between drain and source • Linear (or Ohmic) Region • 0 < Vds < Vgs – Vt • Ids is a function of Vgs and Vds • Ids = β*[(Vgs-Vt)*Vds – Vds*Vds/2] • Saturation Region • 0 < Vgs – Vt < Vds • Ids is independent of Vds • Ids = (β/2)*(Vgs-Vt)2 • β = process factor * (W/L) • Vt : Threshold voltage, a function of materials, doping, insulator thickness, etc. Vds Ids Vgs N-type MOS Transistor
Switches in Series INPUT Truth Table S1 S2 OUTPUT
Switches in Series INPUT Truth Table (OFF/ON=0/1) S1 S2 OUTPUT What Function ??
Switches in Series INPUT Truth Table (OFF/ON=0/1) S1 S2 OUTPUT Function = ??
Switches in Series INPUT Truth Table (OFF/ON=0/1) S1 S2 OUTPUT Function = ??
Switches in Series INPUT Truth Table (OFF/ON=0/1) S1 S2 OUTPUT Function = ??
Switches in Series INPUT Truth Table (OFF/ON=0/1) S1 S2 OUTPUT Function = Logic AND
Switches in Parallel INPUT Truth Table S1 S2 OUTPUT
Switches in Parallel INPUT Truth Table S1 S2 OUTPUT Function =??
Switches in Parallel INPUT Truth Table S1 S2 OUTPUT Function =??
Switches in Parallel INPUT Truth Table S1 S2 OUTPUT Function =??
Switches in Parallel INPUT Truth Table S1 S2 OUTPUT Function = Logic OR
Drain Gate Source Source Gate Drain CMOS Transistor • Complementary MOS • P-channel MOS (pMOS) • N-channel MOS (nMOS) • pMOS • P-type source and drain diffusions • N substrate • Mobility by holes • nMOS • N-type source and drain diffusions • P substrate • Mobility by electrons pMOS nMOS
Gate=Vdd Vgs Vin=0 Vout=Vdd I Load Capacitor Ground Pass Transistor using NMOS • Assume capacitor (CL) is initially discharged • Gate=1, Vin=1 • CL begins to conduct and charges toward 1 (Vdd) and stops at (Vdd-Vt) • Signal is degraded Gate=Vdd Vgs Vin=Vdd Vout I Load Capacitor Ground • Gate=1, Vin=0 • CL begins to discharge toward 0
Transmission Degradation using Pass Transistor Vdd (1) Vdd - Vt Vdd Vdd - 2Vt Vdd Vdd Vdd Vout = Vdd- N*Vt Still 1??
Transmits 1 well • Transmits 0 poorly Drain Gate Source Source Gate • Transmits 0 well • Transmits 1 poorly Drain CMOS Signal Transfer Property pMOS nMOS
CMOS Transmission Gate • Transmit signal from INPUT to OUTPUT when Gate is closed Gate (complementary of Gate) Source Drain OUTPUT INPUT Z : High-Impedance State, consider the terminal is “floating” Gate
High Impedance • When a path exists • Impedance is low to allow ample flow of current • When no path • Impedance is high allowing almost no current flow between two terminals Gate=1 << 10K Drain Source Closed Gate=0 >> 100M Drain Source Open
Transmit Logic 1 Gate = 0 1 1 Gate = 1 Transmission Gates Transmit Logic 0 Gate = 0 0 0 Gate = 1
Transmission Gate Symbol Gate Gate OUTPUT INPUT OUTPUT INPUT Gate Gate