Presentation No 05

Embed Size (px)

Citation preview

  • 7/31/2019 Presentation No 05

    1/83

    5. CMOS Operational Amplifiers

    Analog Design for CMOS VLSI Systems

    Franco Maloberti

  • 7/31/2019 Presentation No 05

    2/83

    5. CMOS Operational Amplifiers1

    Analog Design for CMOS VLSI SystemsFranco Maloberti

    Basic op-ampThe ideal operational amplifier is a voltage controlledvoltage source with infinite gain, infinite input impedance

    and zero output impedance.

    The op-amp is always used in feedback configuration.

  • 7/31/2019 Presentation No 05

    3/83

    5. CMOS Operational Amplifiers2

    Analog Design for CMOS VLSI SystemsFranco Maloberti

    Typical feedback configuration

    V0=V

    2

    Z4

    Z3 + Z4

    Z1+ Z

    2

    Z1

    V1

    Z2

    Z1

    The error due to the finite gain is proportional to 1 / A0. Thiserror must be smaller than the error due to impedance

    mismatch.

    V0= V

    2

    Z4

    Z3+ Z

    4

    Z1+ Z

    2

    Z1

    V1

    Z2

    Z1

    1+

    Z1+ Z

    2

    A0Z1

    Finite gain effect:

  • 7/31/2019 Presentation No 05

    4/83

    5. CMOS Operational Amplifiers3

    Analog Design for CMOS VLSI SystemsFranco Maloberti

    OTA

    If impedances are implemented with capacitors and

    switches, after a transient, the load of the op-amp is made

    of pure capacitors. The behavior of the circuit does not

    depend on the output resistance of the op-amp and stageswith high output resistance (operational transconductance

    amplifiers) can be used.

  • 7/31/2019 Presentation No 05

    5/83

    5. CMOS Operational Amplifiers4

    Analog Design for CMOS VLSI SystemsFranco Maloberti

    Transient

    Vi(0+) =V

    in

    C1

    C1 +C//C0

    Vo (0+) =Vi(0+)

    C

    C0 +C

    Vi(

    )=

    VinC1 +C

    C1 +C(1+ gmr0)

    Vo () = Vi() gmr0

    C0

    gm

  • 7/31/2019 Presentation No 05

    6/83

    5. CMOS Operational Amplifiers5

    Analog Design for CMOS VLSI SystemsFranco Maloberti

    Performance characteristicsActual op-amps deviate from the ideal behavior. The

    differences are described by the performance

    characteristics.

    DC differential gain:

    It is the open-loop voltage gain measured at DC with a

    small differential input signal. Typically Ad

    = 80 100 dB.

  • 7/31/2019 Presentation No 05

    7/83

    5. CMOS Operational Amplifiers6

    Analog Design for CMOS VLSI SystemsFranco Maloberti

    Common mode gain:

    It is the open-loop voltage gain with a small signal applied

    to both the input terminals. Acm

    = 20 40 dB.

    Common mode rejection ratio:

    It is defined as the ratio between the differential gain andthe common mode gain. Typically CMRR = 40 80 dB.

  • 7/31/2019 Presentation No 05

    8/83

    5. CMOS Operational Amplifiers7

    Analog Design for CMOS VLSI SystemsFranco Maloberti

    Power supply rejection ratio:

    If a small signal is applied in series with the positive (or

    negative) power supply, it is transferred to the output with a

    given gain Aps+ (orAps-).

    The ratios between differential gain and power supply gainsfurnish the two PSRRs.

    Typically: PSRR = 90 dB (DC)PSRR = 60 dB (1 kHz)

    PSRR = 30 dB (100 kHz)

  • 7/31/2019 Presentation No 05

    9/83

    5. CMOS Operational Amplifiers8

    Analog Design for CMOS VLSI SystemsFranco Maloberti

    Input offset voltage:

    In real circuits if the two input terminals are set at the same

    voltage the output saturates close to VDD

    or to VSS

    .

    Input common mode range:

    It is the maximum range of the common-mode input voltagewhich do not produce a significant variation of the

    differential gain.

    Typically |Vos

    | = 4 6 mV.

  • 7/31/2019 Presentation No 05

    10/83

    5. CMOS Operational Amplifiers9

    Analog Design for CMOS VLSI SystemsFranco Maloberti

    Output voltage swing:

    It is the swing of the output node without generating a

    defined amount of harmonic distortion.

    Equivalent input noise:The noise performances can be described in terms of an

    equivalent voltage source at the input of the op-amp.

    Typicallyvn= 40 50 nV/Hz at 1 kHz,in a wide band (1 MHz) it results 10 50 V RMS.

  • 7/31/2019 Presentation No 05

    11/83

    5. CMOS Operational Amplifiers10

    Analog Design for CMOS VLSI SystemsFranco Maloberti

    Unity gain frequency:

    It is the frequency where the open-loop gain is zero. It is

    also the -3 dB bandwidth in unity-gain closed loop

    conditions. Typically fT

    = 200 MHz.

    Phase margin:

    It is the phase shift of the small-signal differential gainmeasured at the unity gain frequency. A phase margin

    smaller than 60 causes ringing in the output response.

  • 7/31/2019 Presentation No 05

    12/83

    5. CMOS Operational Amplifiers11

    Analog Design for CMOS VLSI SystemsFranco Maloberti

    Slew rate:

    It is the maximum slope of the output voltage. Usually it is

    measured in the buffer configuration. The positive slew rate

    can be different from the negative slew rate. Typically SR =

    50 200 V/s (lower values for micropower operation).

    Settling time:

    The settling time is the time required to settle the output

    within a given range (usually 0.1%) of the final value.

    Power dissipation:It depends on speed and bandwidth requirements.

    Typically, for 3.3 V supply, it is around 1 mW.

  • 7/31/2019 Presentation No 05

    13/83

    5. CMOS Operational Amplifiers12

    Analog Design for CMOS VLSI SystemsFranco Maloberti

    Typical parameters of a 0.25 m OTA

    m22000Silicon areamW1Power consumption

    Vpp2.2Output dynamic rangeV1.5Input common mode voltage

    V3.3Supply voltage

    kHz1Corner frequency

    nV/Hz100Input referred noise (white)dB30PSRR @ 100 kHz

    dB60PSRR @ 1 kHz

    dB90PSRR @ DC

    ns300Settling time: 1 V, CL

    = 4 pF

    V/s3Slew-rate MHz100Bandwidth

    mV4-6Offset

    dB40CMRR

    dB80DC gainUnitValueFeature

  • 7/31/2019 Presentation No 05

    14/83

    5. CMOS Operational Amplifiers13

    Analog Design for CMOS VLSI SystemsFranco Maloberti

    Basic architecture

    1st gain stage

    differential to single-ended converter

    2nd gain stage

    output stage (to reduce the output impedance)

    Key requirements:

    absolute stability in unity gain closed-loop conditionswhen driving maximum load.

    minimum number of gain stages.

  • 7/31/2019 Presentation No 05

    15/83

    5. CMOS Operational Amplifiers14

    Analog Design for CMOS VLSI SystemsFranco Maloberti

    Two-stage op-amp

    Key design issues:

    open-loop differential gain dc offset

    power supply rejection (PSRR)

  • 7/31/2019 Presentation No 05

    16/83

    5. CMOS Operational Amplifiers15

    Analog Design for CMOS VLSI SystemsFranco Maloberti

    Open-loop differential gain:

    The gain is obtained by multiplying the gains of the twostages.

    At low frequency the gain is inversely proportional to the

    bias current.

    Av =A1A2 =

    gm1

    (gds2 + gds4)

    gm5

    (gds5 + gds6)=

    = 2 2npC

    ox

    (n + p )2

    W

    L

    1

    W

    L

    5

    W

    L

    B

    W

    L

    6

    W

    L

    7

    1IBias

  • 7/31/2019 Presentation No 05

    17/83

    5. CMOS Operational Amplifiers16

    Analog Design for CMOS VLSI SystemsFranco Maloberti

    Common mode dc gain:

    Applying the same signal to both inputs the circuit becomessymmetrical and can be studied considering half circuit.

    ACM =ACM1ACM2 =gds72gm1

    gm5gds5 + gds6

    CMRR=AvACM

    =

    2gm1gm3gds7(gds2 + gds4)

  • 7/31/2019 Presentation No 05

    18/83

    5. CMOS Operational Amplifiers17

    Analog Design for CMOS VLSI SystemsFranco Maloberti

    Offset:

    The offset is composed of two terms:

    systematic offset

    random offset

    The systematic offsetcan be reduced to zero with acareful design. A necessary condition to have zero

    systematic offset, is that the currents of M5 and M6 are

    equal, when the inputs are connected to the same voltage.

    Assuming all the transistors in saturation this condition is:

    IBias

    W L( )6

    W L

    ( )B

    = IBias

    W L( )7

    W L

    ( )B

    W L( )5

    W L

    ( )3

    W L( )3

    W L( )6

    =

    1

    2W L( )

    7

    W L( )5

  • 7/31/2019 Presentation No 05

    19/83

    5. CMOS Operational Amplifiers18

    Analog Design for CMOS VLSI SystemsFranco Maloberti

    The random offsetis due to the geometrical mismatching

    and process dependent inaccuracies.

    Vos

    = Vos1

    2+

    Vos2

    A1

    2

    When we refer the offset of the second stage at the input

    terminal we have to divide it by the gain of the first stage.

    Since the two offsets are uncorrelated we have:

    The total offset is dominated by the offset of the input

    stage.

  • 7/31/2019 Presentation No 05

    20/83

    5. CMOS Operational Amplifiers19

    Analog Design for CMOS VLSI SystemsFranco Maloberti

    We study the effect of a mismatch between M3 and M4:

    mirror factor (1 + ) instead of 1.

    IBias2

    gm1Vos1

    2

    1+ ( ) = IBias

    2+ gm2 V

    os1

    2

    Vos1 I

    1

    gm1

  • 7/31/2019 Presentation No 05

    21/83

    5. CMOS Operational Amplifiers20

    Analog Design for CMOS VLSI SystemsFranco Maloberti

    MOS:

    I1gm1

    =

    VGS1 VTh2

    =150300 mV

    (in sub-threshold)

    I1

    gm1=

    nVT=

    nkT

    q

    (in saturation)

    BJT:

    I1gm1

    26 mV

    Assuming = 0.01:

    Vos,BJT = 0.26 mVV

    os,MOS = 1.5 3 mV

  • 7/31/2019 Presentation No 05

    22/83

    5. CMOS Operational Amplifiers21

    Analog Design for CMOS VLSI SystemsFranco Maloberti

    Power supply rejection:

    A signal on the positive bias line determines a modulationin the reference current, which, in turn, gives an equal

    modulation of the currents in M5 and M6, if the condition of

    the zero systematic offset is fulfilled.

  • 7/31/2019 Presentation No 05

    23/83

    5. CMOS Operational Amplifiers22

    Analog Design for CMOS VLSI SystemsFranco Maloberti

    The spur signal v+n

    affects the currents of M5 and M6.

    in,6

    W/ L( )6

    =in,7

    W/ L( )7

    = CoxVGS,MB VTh( )vn+

    vo,n,1 = in,totW/ L( )

    6

    W/ L( )B

    1

    2

    W/ L( )5W/ L( )

    7

    W/ L( )4W/ L( )

    B

    1

    gds6 + gds7

    vo,n,1 = in,RefW/ L( )

    6

    W/ L( )B

    1

    gm5

    b) high frequency:

    a) low frequency:

  • 7/31/2019 Presentation No 05

    24/83

    5. CMOS Operational Amplifiers23

    Analog Design for CMOS VLSI SystemsFranco Maloberti

    Power supply rejection at low frequency

    vo,tot( )2

    =

    gds6 gm5(1 k+)

    2gm3rds3gds5 + gds6

    vn+

    ( )2

    +

    gds6 gm5k

    2gm3rds3gds5 + gds6

    vn( )2

  • 7/31/2019 Presentation No 05

    25/83

    5. CMOS Operational Amplifiers24

    Analog Design for CMOS VLSI SystemsFranco Maloberti

    Effect of external components on PSRR

  • 7/31/2019 Presentation No 05

    26/83

    5. CMOS Operational Amplifiers25

    Analog Design for CMOS VLSI SystemsFranco Maloberti

    Frequency response and

    compensation

    A two-stage scheme with poles in the same frequency

    range needs compensation.

    A single pole system is always stable. Strategy: Approach the single pole performance by

    splitting the two poles apart.

  • 7/31/2019 Presentation No 05

    27/83

    5. CMOS Operational Amplifiers26

    Analog Design for CMOS VLSI SystemsFranco Maloberti

    Miller capacitance moves p1 at lower frequency.

    Shunt feedback moves p2 at higher frequency.

    Small signal equivalent circuit for two-stage op-amp.

    v0vin

    = gm1R1R2gm2

    sCc

    1+ sR1R2gm2Cc+ s2R1R2 C1C2 + (C1 +C2)Cc[ ]

    v1(g1 + sC1) + (v1 v0)sCc+ gm1vin = 0

    v0(g2 + sC2)+ (v0 v1)sCc+ gm2v1 = 0

  • 7/31/2019 Presentation No 05

    28/83

    5. CMOS Operational Amplifiers27

    Analog Design for CMOS VLSI SystemsFranco Maloberti

    The circuit has two poles and a zero in the right half plane.

    p1

    1

    R1R

    2gm2Cc

    p2 gm2Cc

    C1C2 + (C1 +C2)Cc

    since in practice Cc > C1, CcC2, gm1 > 1/R1, gm2 > 1/R2 it

    results:

    z=gm2Cc

    p1 >

    1

    R2C

    2

    Assuming p1 as dominant, the unity gain angular frequency

    is:

    T = p1A0 1

    R1R

    2gm2Cc

    gm1gm2R1R2 =gm1Cc

  • 7/31/2019 Presentation No 05

    29/83

    5. CMOS Operational Amplifiers28

    Analog Design for CMOS VLSI SystemsFranco Maloberti

    The locations of the second pole p2 and of the zero with

    respect to T are derived by considering:

    p2

    T

    =

    gm2Cc

    gm1C2

    for stability > 2 to 4

    z

    T

    =

    gm2gm1

    The phase shift given by the

    zero is also negative and

    can worsen the phase

    margin. It must be located

    far from the unity gain

    frequency.

  • 7/31/2019 Presentation No 05

    30/83

    5. CMOS Operational Amplifiers29

    Analog Design for CMOS VLSI SystemsFranco Maloberti

    ifCc> C2 and gm2 > gm1

    The right half-plane worsen the phase margin.

    In bipolar technology gm2 >> gm1 because the current inthe second stage is normally higher than the one in the

    first stage.

  • 7/31/2019 Presentation No 05

    31/83

    5. CMOS Operational Amplifiers30Analog Design for CMOS VLSI SystemsFranco Maloberti

    In CMOS technology gm2gm1 because they are

    proportional to the square root ofIand W/L; moreover,the transconductance of the input pair must be high in

    order to reduce their thermal noise contribution.

    In real situations the obtainable phase margin does not

    guarantee stability.

    Eliminating the right half-plane zero:

    unity gain buffer zero nulling resistor

    unity gain current amplifier

    The zero is due to a signal feedforward

    to a point that is 180 out of phase.

  • 7/31/2019 Presentation No 05

    32/83

    5. CMOS Operational Amplifiers31Analog Design for CMOS VLSI SystemsFranco Maloberti

    Solution 1: Eliminate feedforward with source follower

    Disadvantages:Area

    Power dissipation

    Actually it creates a doublet in the feedback path.

    Potentially not stable.Alternative, a substrate emitter follower may be used.

    (The bipolar transistor is smaller and has highergm

    .)

  • 7/31/2019 Presentation No 05

    33/83

    5. CMOS Operational Amplifiers32Analog Design for CMOS VLSI SystemsFranco Maloberti

    Solution 2: Zero nulling resistor

    The zero position is pushed away with a resistance in

    series with Cc.

    v0vin

    A01+ s Rz1/ gm2

    ( )Cc

    1+s

    p1

    1+

    s

    p2

  • 7/31/2019 Presentation No 05

    34/83

    5. CMOS Operational Amplifiers33Analog Design for CMOS VLSI SystemsFranco Maloberti

    The pole locations are close to the original.

    The zero is moved depending on Rz.

    z=1

    1/ gm2 Rz

    ( )Cc

    IfRz= 1 / gm2 the zero is moved at infinity

    IfRz> 1 / gm2 the zero is located in the left half-plane

    Implementation:

    1

    Rz

    =

    1

    Rn

    +

    1

    Rp

  • 7/31/2019 Presentation No 05

    35/83

    5. CMOS Operational Amplifiers34Analog Design for CMOS VLSI SystemsFranco Maloberti

    Choose (W/L)n and (W/L)p such that:

    1

    Rn

    = kn

    W

    L

    n

    VDD

    V1

    VTh

    ,n

    ( )

    1

    Rp= k

    p

    W

    L

    p

    V1

    VSS

    VTh,p

    ( )

    kn WL

    n

    = kp WL

    p

    and:

    1Rz

    = kn WL

    n

    VDD Vss VTh,n VTh,p( )

    Problem: Supply sensitivity.

    Since the swing of the node 1 is A2 less than the outputswing, only one transistor with supply independent bias can

    be used.

  • 7/31/2019 Presentation No 05

    36/83

    5. CMOS Operational Amplifiers35Analog Design for CMOS VLSI SystemsFranco Maloberti

    Solution 3: Unity gain current amplifier

    v1(g1 + sC1) + gm1vin v0sCc = 0

    v0(g2 + sC2)+ gm2v1 + v0sCc = 0

  • 7/31/2019 Presentation No 05

    37/83

    5. CMOS Operational Amplifiers36Analog Design for CMOS VLSI SystemsFranco Maloberti

    Slew rate

    For large input signal:

    M1, M4 are off so the current IM7 discharges Cc through

    M2. Assuming M5 able to drive the current request by Cc,

    CL and IM6.

    SR=

    V

    tmax

    = IM7

    Cc

  • 7/31/2019 Presentation No 05

    38/83

    5. CMOS Operational Amplifiers37Analog Design for CMOS VLSI SystemsFranco Maloberti

    M2, M5 are off so the current IM7 mirrored by M4 charges

    Cc; CL and Ccare charged by IM6. The smaller of thesetwo limits will hold:

    SR+=

    V+

    t max

    =

    IM6

    Cc+

    CL

    SR+=

    V+

    tmax

    =

    IM7

    Cc

    To have SR+ = SR-, a condition can be:

    IM7

    Cc

    =

    IM6

    Cc+CL

    Since T= gm1 / Cc, the SR is

    SR=IM7

    gm1

    T = VGS1 VTh( )T

    ForT= 2 40 106 rad/s, (VGS1 - VTh) = 300 mV, SR

    75.4 V/s.

  • 7/31/2019 Presentation No 05

    39/83

    5. CMOS Operational Amplifiers38Analog Design for CMOS VLSI SystemsFranco Maloberti

    Single stage schemes

    High gain is get with a cascode scheme.

    Telescopic cascode

    Mirrored cascode

    Folded cascode

  • 7/31/2019 Presentation No 05

    40/83

    5. CMOS Operational Amplifiers39Analog Design for CMOS VLSI SystemsFranco Maloberti

    Telescopic cascode

    DC gain A0 (gmrds)2

    low power consumption

    only one high impedance

    node: compensated with acapacitance load (if

    necessary)

    low output swing reference of the input close

    to the negative supply

    two bias lines (VB1

    , VB2

    )

    5 transistors in series

  • 7/31/2019 Presentation No 05

    41/83

    5. CMOS Operational Amplifiers40Analog Design for CMOS VLSI SystemsFranco Maloberti

    Mirrored cascode

    optimum input common

    mode range

    only 4 transistors in series

    improved output swing

    speed of the mirror

    higher power consumption

    Voutmax

    = VB1max + VGS4 - Vsat

    VB1max = VDD - Vsat - VGS4

    Voutmax = VDD - 2Vsat

    Voutmax

    = VGS7 + Vsat

  • 7/31/2019 Presentation No 05

    42/83

    5. CMOS Operational Amplifiers

    41

    Analog Design for CMOS VLSI Systems

    Franco Maloberti

    Conventional folded cascode

  • 7/31/2019 Presentation No 05

    43/83

    5. CMOS Operational Amplifiers

    42

    Analog Design for CMOS VLSI Systems

    Franco Maloberti

    Modified folded cascode

    (improved output swing)

  • 7/31/2019 Presentation No 05

    44/83

    5. CMOS Operational Amplifiers

    43

    Analog Design for CMOS VLSI Systems

    Franco Maloberti

    Two stage amplifier vs. single stage amplifier

    Two stages:

    Voltage gain less affected by resistive loading

    Maximum signal swing

    Less bussing of bias lines

    Requires an additional capacitor for frequency

    compensation

    More power consumption

  • 7/31/2019 Presentation No 05

    45/83

    5. CMOS Operational Amplifiers

    44

    Analog Design for CMOS VLSI Systems

    Franco Maloberti

    Single stage:

    No need for additional compensation capacitor

    Lower power consumption

    Better CMRR

    Lower signal swing More bussing of bias lines

  • 7/31/2019 Presentation No 05

    46/83

    5. CMOS Operational Amplifiers

    45

    Analog Design for CMOS VLSI Systems

    Franco Maloberti

    Class AB op-ampsClass AB: a circuit which can have an output current which

    is larger than its DC quiescent current.

    Two stages amplifier with class AB second stage

    M6 and M7 act as alevel shifter

    M8 and M9 act as a

    class AB push-pullamplifier

    A2

    =

    gm8 + gm9

    gds8 + gds9

  • 7/31/2019 Presentation No 05

    47/83

    5. CMOS Operational Amplifiers

    46

    Analog Design for CMOS VLSI Systems

    Franco Maloberti

    The quiescent current in the output stage is bias voltage

    and technological variation dependent.VDD

    = VGS8 + VGS6 + VGS9

    neglecting the body effect:

    VDD =VTh,p + 2VTh,n +2kn

    LW

    6

    I6 +

    2kn

    LW

    8

    I8 +

    2kn

    LW

    9

    I9

    Typically with VDD

    = 5 V the numerator is around 1.6 V; if it

    is assumed VDD = (5 0.5) V and VTh = 200 mV, itresults that the numerator can change from 0.7 V to 2.5 V;

    hence, Imin

    = 0.3 Inom

    ; Imax

    = 2.5 Inom

    I9 =

    VDD VTh,p 2VTh,n 2

    kn

    L

    W

    6

    I6

    2

    kn

    L

    W

    8

    +

    2

    kn

    L

    W

    9

  • 7/31/2019 Presentation No 05

    48/83

    5. CMOS Operational Amplifiers

    47

    Analog Design for CMOS VLSI Systems

    Franco Maloberti

    Single stage class AB amplifier (only inverting)

    In the input pair M1 and M2

    operate as source followers

    and drive the common gate

    stage M3 and M4.

    VB = VTh,n + VTh,p + Vov,n + Vov,p

    forVin = 0

    I1 = I2 = IBias

    forVin > 0

    Iout= K8,9I1 - K5,6I2

    K8,9 and K5,6 mirror factors(assumed equal)

  • 7/31/2019 Presentation No 05

    49/83

    5. CMOS Operational Amplifiers

    48

    Analog Design for CMOS VLSI Systems

    Franco Maloberti

    It results:

    Iout

    = K8,9 (I1 - I2) = K8,9VBVin

    Until I1 orI2 goes to zero, for a

    largerVin, I

    outincreases

    quadratically with Vin.

    Small signal gain:A

    v= 2 G

    mrout

    VB

    +

    Vin=

    VGS2+

    VGS4=

    VTh,n+

    VTh,p+

    2

    kn

    W

    L

    2

    +

    2

    kp

    W

    L

    4

    I2

    VB Vin =VGS1 +VGS3 =VTh,n +VTh,p +2

    kn

    W

    L

    3

    +

    2

    kp

    W

    L

    1

    I1

  • 7/31/2019 Presentation No 05

    50/83

    5. CMOS Operational Amplifiers

    49

    Analog Design for CMOS VLSI Systems

    Franco Maloberti

    Gm

    is the transconductance of the cross coupled input

    stage

    gm2 Vin VA( ) = gm4VA

    VA =gm2Vin

    gm2 + gm4

    Iout = gm4VA =gm2gm4gm2 + gm4

    Vin =GmVin

    F ll diff ti l

  • 7/31/2019 Presentation No 05

    51/83

    5. CMOS Operational Amplifiers

    50

    Analog Design for CMOS VLSI Systems

    Franco Maloberti

    Fully differential op-ampsThe use of fully differential paths in analog signal

    processing gives benefits on:

    PSRR

    dynamic range clock feedthrough cancellation

    Consider an integrator and its fully differential version:

    N i f th l d l k f dth h

  • 7/31/2019 Presentation No 05

    52/83

    5. CMOS Operational Amplifiers

    51

    Analog Design for CMOS VLSI Systems

    Franco Maloberti

    Noise from the power supply and clock feedthrough are

    common mode signals. The output swing is doubled (Vmax+ - Vmax- = 2 Vmax).

    Since the noise is unchanged, the dynamic range

    improves by 6 dB.

    Single ended to differential and double ended to single

    ended converters are necessary

    Larger area

    More bussing of bias lines

    Common mode feedback is necessary

    Th SE/DE d DE/SE bl k i th l it d

  • 7/31/2019 Presentation No 05

    53/83

    5. CMOS Operational Amplifiers

    52

    Analog Design for CMOS VLSI Systems

    Franco Maloberti

    The SE/DE and DE/SE blocks increase the complexity and

    introduce noise. The differential approach is convenient ifthe differential processor contains more than 4 stages.

    The feedback around the op-amp control the difference of

    the input terminal voltages and not their mean value. In turn,

    there is no control on the output common mode voltage.

    Fully differential two stage OTA

  • 7/31/2019 Presentation No 05

    54/83

    5. CMOS Operational Amplifiers

    53

    Analog Design for CMOS VLSI Systems

    Franco Maloberti

    Fully differential two stage OTA

    A1=

    1

    2

    gm1gds1 + gds4

    1st stage with gain: two 2nd stages with gain:

    A2=

    gm5gds5 + gds6

    Fully differential single stage OTA

  • 7/31/2019 Presentation No 05

    55/83

    5. CMOS Operational Amplifiers

    54

    Analog Design for CMOS VLSI Systems

    Franco Maloberti

    Fully differential single stage OTA

    COMMON MODE FEEDBACK

  • 7/31/2019 Presentation No 05

    56/83

    5. CMOS Operational Amplifiers

    55

    Analog Design for CMOS VLSI Systems

    Franco Maloberti

    COMMON MODE FEEDBACK

    continuous time

    sampled data

    Continuous-time common mode feedback

    V is such that M1 and M2 are in the linear region;

  • 7/31/2019 Presentation No 05

    57/83

    5. CMOS Operational Amplifiers

    56

    Analog Design for CMOS VLSI Systems

    Franco Maloberti

    VB

    is such that M1 and M2 are in the linear region;

    (W

    /L

    )1 = (W

    /L)2; M1 and M2 are like the parallel of twovoltage dependent resistances.

    I1= C

    ox

    W

    L

    1

    V+V

    Th( )VDS1

    2VDS

    2

    I2= C

    ox

    W

    L

    2

    V VTh( )VDS1

    2VDS

    2

    Iout

    = I1+ I

    2=1

    2C

    oxW

    L

    3

    VBV

    DSV

    Th( )2

    With a differential signal Iout

    = cost

    With a common mode signal: if positive, Iout increases

    if negative, Iout

    decreases

    Fully differential folded cascode with CMFB

  • 7/31/2019 Presentation No 05

    58/83

    5. CMOS Operational Amplifiers

    57

    Analog Design for CMOS VLSI Systems

    Franco Maloberti

    Fully differential folded cascode with CMFB

    Fully differential folded cascode with CMFB (2)

  • 7/31/2019 Presentation No 05

    59/83

    5. CMOS Operational Amplifiers

    58

    Analog Design for CMOS VLSI Systems

    Franco Maloberti

    Fully differential folded cascode with CMFB (2)

    Problems:

  • 7/31/2019 Presentation No 05

    60/83

    5. CMOS Operational Amplifiers

    59

    Analog Design for CMOS VLSI Systems

    Franco Maloberti

    Problems:

    dynamic range

    linearity

    Compensation of the non-linearities of the n-channel and p-

    channel CMFB cell.

    Sampled-data common mode feedback

  • 7/31/2019 Presentation No 05

    61/83

    5. CMOS Operational Amplifiers

    60

    Analog Design for CMOS VLSI Systems

    Franco Maloberti

    Sampled data common mode feedback

    The common mode feedback operates on slowly variable

    signal. It can be implemented at discrete time intervals.

    The sampled data feedback is essential for low bias

    voltage and low power.

    linearity (mean value with

    capacitors)

    low power consumption

    no limitation to the dynamic

    range

    clock signal necessary

    clock feedthrough effect

    Micro-power op-amps

  • 7/31/2019 Presentation No 05

    62/83

    5. CMOS Operational Amplifiers

    61

    Analog Design for CMOS VLSI Systems

    Franco Maloberti

    Micro-power op-amps Required in battery operated systems

    (portable/wearable equipment: pocket calculators, PDA's, digital

    cameras, ; medical equipment: pace makers, hearing aids, );

    Use of MOS transistors in weak inversion;

    Low current (< 10 A) low slew rate.

    Av =Bgm1

    gds6 + gds8=

    B

    nVT n + p

    ( )

    gm =ID

    nVT

    gds = ID

    high dc gain (Av 60 dB)

    Dynamic biasing of the tail current

  • 7/31/2019 Presentation No 05

    63/83

    5. CMOS Operational Amplifiers

    62

    Analog Design for CMOS VLSI Systems

    Franco Maloberti

    y g

    Basic idea:

    Generate |I1 - I2| and increase the current in the differentialstage by k|I1 - I2|.

    Since

  • 7/31/2019 Presentation No 05

    64/83

    5. CMOS Operational Amplifiers

    63

    Analog Design for CMOS VLSI Systems

    Franco Maloberti

    i1i2 = gm(vin+

    vin)

    gm =

    ID

    nVT ID = IB + k i1

    i2

    i1 i

    2= I

    B+ k i

    1 i

    2( )vin+

    vin

    nVT

    The current increase becomes significant when:

    kvin+

    vin

    nVT

    >1

    Typical performance:

    DC gain 95 dB

    ft

    130 kHz

    SR 0.1 V/sIB

    0.5 A

    Itot

    2.5 A

    Class AB single stage with dynamic biasing

  • 7/31/2019 Presentation No 05

    65/83

    5. CMOS Operational Amplifiers

    64

    Analog Design for CMOS VLSI Systems

    Franco Maloberti

    g g y g

    For maximum output swing VBIAS-p and VBIAS-n must be as

    close as possible to the supply voltages.

    During the slewing the current source of the output

  • 7/31/2019 Presentation No 05

    66/83

    5. CMOS Operational Amplifiers

    65

    Analog Design for CMOS VLSI Systems

    Franco Maloberti

    cascodes can be pushed in the linear region, hence loosingthe advantage of the AB operation.

    The problem is solved with the dynamic biasing:

    Noise

  • 7/31/2019 Presentation No 05

    67/83

    5. CMOS Operational Amplifiers

    66

    Analog Design for CMOS VLSI Systems

    Franco Maloberti

    o se

    The noise of an operational amplifier is described with an

    input referred voltage source vn.

    The spectrum ofvn is made of a white term and 1/f term.

    vn

    is due to the contributions, referred to the input, of the

    noise generators associated to all the transistors of the

    circuit (assumed uncorrelated).

  • 7/31/2019 Presentation No 05

    68/83

    We assume gm1 = gm2; gm3 = gm4 (we assume the noise

  • 7/31/2019 Presentation No 05

    69/83

    5. CMOS Operational Amplifiers

    68

    Analog Design for CMOS VLSI Systems

    Franco Maloberti

    source of M5 does not contribute) moreover since usuallyW1 = W2; L1 = L2; W3 = W4; L3 = L4; v2n1 = v

    2n2; v

    2n3 = v

    2n4;

    if we referv2n,out to the input, we get:

    vn,out2

    A1

    2= vn,in

    2= vn,out

    2

    gm12

    gds2 + gds4( )2= 2 vn1

    2+ gm3

    2

    gm12vn3

    2

    The contribution of the active loads is reduced by the

    square of the ratio gm3/gm1

    It is worth to remember that

    gm = 2CoxW

    LI

    vn2

    =

    8kT

    3gm+

    KF

    2Cox

    1

    WL

    1

    f

    f

    The attenuation by the factor (gm3/gm1)2 gives, for the white

  • 7/31/2019 Presentation No 05

    70/83

    5. CMOS Operational Amplifiers

    69

    Analog Design for CMOS VLSI Systems

    Franco Maloberti

    term:

    vn,in,w2

    = 2vn12

    1+gm3gm1

    = 2vn1

    21+

    3 W/ L( )3

    1 W/ L( )

    1

    Where KF1 and KF3 are the flicker noise coefficient fortransistors M1 and M3. The white contribution of the active

    load is reduced by choosing (W/L)input >> (W/L)load. The 1/f

    noise contribution of the active load is reduced by choosing

    Linput < Lload. If the above conditions are satisfied the input

    noise is dominated by the input pair.

    vn,in,1/ f

    2= 2

    KF1

    1CoxW1L1

    1

    f1+

    KF3L1

    2

    KF1L3

    2

    and for the 1/f term:

    Cascode scheme:

  • 7/31/2019 Presentation No 05

    71/83

    5. CMOS Operational Amplifiers

    70

    Analog Design for CMOS VLSI Systems

    Franco Maloberti

    The noise is contributed bythe input pair and the current

    sources of the cascode load.

    vn,in2

    = 2 vn12+

    gm4gm1

    2

    vn42

    Folded cascode scheme:

  • 7/31/2019 Presentation No 05

    72/83

    5. CMOS Operational Amplifiers

    71

    Analog Design for CMOS VLSI Systems

    Franco Maloberti

    The noise contributed by the same source as in the

    cascode and by the current source M2.

    vn,in2

    = 2 vn12+ gm2

    gm1

    2

    vn22+ gm5

    gm1

    2

    vn52

    Two stage op-amp: (feedforward + zero nulling comp.)

  • 7/31/2019 Presentation No 05

    73/83

    5. CMOS Operational Amplifiers

    72

    Analog Design for CMOS VLSI Systems

    Franco Maloberti

    The noise is modeled with two input referred noise sources:

    one at the input of the first stage and the other at the input

    of the second stage.

  • 7/31/2019 Presentation No 05

    74/83

    5. CMOS Operational Amplifiers

    73

    Analog Design for CMOS VLSI Systems

    Franco Maloberti

    In the low frequency range the noise is dominated by vn1.

    In the high frequency range the noise is dominated by vn2.

    Frequency response:

  • 7/31/2019 Presentation No 05

    75/83

    5. CMOS Operational Amplifiers

    74

    Analog Design for CMOS VLSI Systems

    Franco Maloberti

    The cutoff frequency is: p1 = -gm/C0

    The input referred noise generator is transmitted to theoutput as a conventional input signal

    The feedback network around the op-amp must be taken

    into account.One stage amplifier:

    Power of noise:

  • 7/31/2019 Presentation No 05

    76/83

    5. CMOS Operational Amplifiers

    75

    Analog Design for CMOS VLSI Systems

    Franco Maloberti

    We consider only the white term.

    Single stage amplifier:

    vn0

    2= v

    n

    2 df

    1+ s /p10

    = 2 1+

    ( )

    8

    3

    kT1

    gm1

    df

    1+ 2fC0/ gm1( )

    2

    =

    0

    8

    3

    1+

    ( )

    kT

    C0

    Two stage amplifier: we consider only the white term

    contributed by the noise source of the second stage

    vn22

    = 2 1+ ( ) 83

    kT

    gm2

    vn02= vn2

    2 df

    1+ s /p20

    vn0

    2=

    4

    31+ ( ) kT

    C1+C

    2

    p2=

    gm2C

    1+C

    2

    Layout

  • 7/31/2019 Presentation No 05

    77/83

    5. CMOS Operational Amplifiers

    76

    Analog Design for CMOS VLSI Systems

    Franco Maloberti

    Rules:

    Use poly connections only for voltage signals, never for

    currents, because the offset RI 15 mV.

    Minimize the line length, especially for lines connectinghigh impedance nodes.

    Use matched structure (necessary common centroid).

    Respect symmetries (even respect power devices).

    Only straight-line transistors. Separate (or shield) the input from the output line, to

    avoid feedback.

    Shield high impedance nodes to avoid noise injection

    from the power supply and the substrate.

    Regular shapes and layout oriented design.

    Stacked layout:

  • 7/31/2019 Presentation No 05

    78/83

    5. CMOS Operational Amplifiers

    77

    Analog Design for CMOS VLSI Systems

    Franco Maloberti

    Structure A:

    Capacitances are

    further reduced if the

    diffusion area is shared

    between different

    transistors.

    Csb =Cdb =CjbW(d+ 2xj)

    Csb=

    1

    2Cdb=

    CjbW

    2 (d+

    2xj)

    Structure B:

    Csb=

    Cdb=

    Cjb2W

    3 (d+

    2xj)

    Key point: use ofequal width transistors

    Transistors with arbitrary width are not allowed

  • 7/31/2019 Presentation No 05

    79/83

    5. CMOS Operational Amplifiers

    78

    Analog Design for CMOS VLSI Systems

    Franco Maloberti

    Transistors with arbitrary width are not allowed.

    Placement and routing:

    If we divide a transistor in

    an odd number of parallel

    transistors the resulting

    stack has the source onone side and the drain on

    the other side.

    If we divide a transistor in

    an even number of parts

    the resulting stack has

    source or drain on the twosides.

    Example:

  • 7/31/2019 Presentation No 05

    80/83

    5. CMOS Operational Amplifiers

    79

    Analog Design for CMOS VLSI Systems

    Franco Maloberti

    Routing into stacks: use of comb connections or serpentineconnections.

  • 7/31/2019 Presentation No 05

    81/83

    5. CMOS Operational Amplifiers

    80

    Analog Design for CMOS VLSI Systems

    Franco Maloberti

    Example: Fully differential folded cascode.

  • 7/31/2019 Presentation No 05

    82/83

    5. CMOS Operational Amplifiers

    81

    Analog Design for CMOS VLSI Systems

    Franco Maloberti

  • 7/31/2019 Presentation No 05

    83/83

    5. CMOS Operational Amplifiers

    82

    Analog Design for CMOS VLSI Systems

    Franco Maloberti