lec3 switch

Upload: azman-mat-hussin

Post on 04-Jun-2018

237 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/13/2019 Lec3 Switch

    1/24

    ECE2030

    Introduction to Computer Engineering

    Lecture 3: Switches and CMOS

    Prof. Hsien-Hsin Sean Lee

    School of Electrical and Computer Engineering

    Georgia Tech

  • 8/13/2019 Lec3 Switch

    2/24

    2 2

    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)

    INPUT OUTPUT

    Switch Control

  • 8/13/2019 Lec3 Switch

    3/24

    3 3

    The Analogy of A Transistor

    Cross Section

    An N-Channel Metal-Oxide Semiconductor Field Effect Transistor (MOSFET)

    INPUT OUTPUT

    Switch Control (Gate)

  • 8/13/2019 Lec3 Switch

    4/24

    4 4

    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)*VdsVds*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 ofmaterials, doping, insulator thickness, etc.

    Gate

    Drain

    Source

    IdsVds

    Vgs

    N-type MOS Transistor

  • 8/13/2019 Lec3 Switch

    5/24

    5 5

    Transistor Characteristics

  • 8/13/2019 Lec3 Switch

    6/24

    6 6

    Switches in Series

    INPUT

    OUTPUT

    S1

    S2

    Truth Table

    S1 S2 PATH?

    OFF OFF

    OFF ON

    ON OFF

    ON ON

  • 8/13/2019 Lec3 Switch

    7/247 7

    Switches in Series

    INPUT

    OUTPUT

    S1

    S2

    Truth Table (OFF/ON=0/1)

    S1 S2 PATH?

    OFF OFF NO

    OFF ON NO

    ON OFF NO

    ON ON YES

    What Function ??

  • 8/13/2019 Lec3 Switch

    8/248 8

    Switches in Series

    INPUT

    OUTPUT

    S1

    S2

    Truth Table (OFF/ON=0/1)

    S1 S2 PATH?

    0 0 0

    Function = ??

  • 8/13/2019 Lec3 Switch

    9/249 9

    Switches in Series

    INPUT

    OUTPUT

    S1

    S2

    Truth Table (OFF/ON=0/1)

    S1 S2 PATH?

    0 0 0

    0 1 0

    Function = ??

  • 8/13/2019 Lec3 Switch

    10/2410 10

    Switches in Series

    INPUT

    OUTPUT

    S1

    S2

    Truth Table (OFF/ON=0/1)

    S1 S2 PATH?

    0 0 0

    0 1 0

    1 0 0

    Function = ??

  • 8/13/2019 Lec3 Switch

    11/2411 11

    Switches in Series

    INPUT

    OUTPUT

    S1

    S2

    Truth Table (OFF/ON=0/1)

    S1 S2 PATH?

    0 0 0

    0 1 0

    1 0 0

    1 1 1

    Function = LogicAND

  • 8/13/2019 Lec3 Switch

    12/2412 12

    Switches in Parallel

    INPUT

    OUTPUT

    S1

    Truth Table

    S1 S2 PATH?

    OFF OFF NO

    OFF ON YES

    ON OFF YES

    ON ON YES

    S2

  • 8/13/2019 Lec3 Switch

    13/24

  • 8/13/2019 Lec3 Switch

    14/2414 14

    Switches in Parallel

    INPUT

    OUTPUT

    S1

    Truth Table

    S1 S2 PATH?

    0 0 0

    0 1 1

    Function =??

    S2

  • 8/13/2019 Lec3 Switch

    15/2415 15

    Switches in Parallel

    INPUT

    OUTPUT

    S1

    Truth Table

    S1 S2 PATH?

    0 0 0

    0 1 1

    1 0 1

    Function =??

    S2

  • 8/13/2019 Lec3 Switch

    16/2416 16

    Switches in Parallel

    INPUT

    OUTPUT

    S1

    Truth Table

    S1 S2 PATH?

    0 0 0

    0 1 1

    1 0 1

    1 1 1

    Function = Logic OR

    S2

  • 8/13/2019 Lec3 Switch

    17/24

  • 8/13/2019 Lec3 Switch

    18/24

  • 8/13/2019 Lec3 Switch

    19/2419 19

    Transmission Degradation using

    Pass Transistor

    Vdd - VtVdd

    Vdd (1)

    Vdd - 2VtVdd

    Vdd

    Vdd

    Vout = Vdd- N*VtStill 1??

  • 8/13/2019 Lec3 Switch

    20/2420 20

    CMOS Signal Transfer Property

    Gate Path

    0 Closed

    1 Open

    Gate

    Drain

    Source

    Gate

    Source

    Drain

    Gate Path

    0 Open

    1 Closed

    pMOS

    nMOS

    Transmits 1 wellTransmits 0 poorly

    Transmits 0 wellTransmits 1 poorly

  • 8/13/2019 Lec3 Switch

    21/2421 21

    CMOS Transmission Gate

    Transmit signal from INPUT to OUTPUT when

    Gate is closed

    Gate (complementary of Gate)

    Source Drain

    Gate

    INPUT OUTPUT

    Gate pMOS nMOS OUTPUT

    0 OFF OFF Z

    1 ON ON INPUT

    Z: High-Impedance State,consider the terminal is floating

  • 8/13/2019 Lec3 Switch

    22/2422 22

    High Impedance

    When a path exists

    Impedance is low to

    allow ample flow of

    current

    When no path

    Impedance is high

    allowing almost nocurrent flow between

    two terminals

    Gate=1

    DrainSource

    > 100M

    Closed

    Gate=0

    DrainSource

    Open

  • 8/13/2019 Lec3 Switch

    23/24

    23 23

    Transmission Gates

    Gate = 1

    0 0

    Gate = 0

    Transmit Logic 0

    Gate = 1

    1 1

    Gate = 0

    Transmit Logic 1

  • 8/13/2019 Lec3 Switch

    24/24

    24

    Transmission Gate Symbol

    Gate

    Gate

    INPUT OUTPUT

    Gate

    Gate

    INPUT OUTPUT