+ Post New Thread
Results 1 to 10 of 10
  1. #1
    Member level 3
    Points: 1,746, Level: 9

    Join Date
    Dec 2005
    Posts
    59
    Helped
    4 / 4
    Points
    1,746
    Level
    9

    puzzle question about decoupling cap.

    Hi, folks

    Here I bring up a quite simple question, but I'm a little lost.

    Attached is the schematic of the pmos current mirror consisting of M1 and M2. The common practice is to put a capacitor C between the power supply and the gates of M1/2. My question is that what the capacitor C does for?

    1. removing the AC noise coupling to the gates of M1 and M2.

    OK, that sounds good. BUT how about I connects the cap C between the gates and gnd. Also it can do the same thing, right?

    2. Someone will say that inserting the cap between power supply and the gates can improve the PSRR by keeping the Vgs of the transistors somehow constant.

    OK, if you argue this way, I can think that without the capacitor C the Vgs of M1 also can sort of be kept constant if the current source is good.

    So I come to the dilemma: Can I just connect the cap either to ground or power supply??

  2. #2
    Advanced Member level 1
    Points: 3,875, Level: 14
    jecyhale's Avatar
    Join Date
    Feb 2008
    Location
    China
    Posts
    403
    Helped
    55 / 55
    Points
    3,875
    Level
    14

    Re: puzzle question about decoupling cap.

    You know there is noise in the VDD, and the voltage noise will change to current noise.
    But if you add this capacitor, the Vgs will be constant especially in high frequency domain.
    So the high frequency noise will be filter out.
    I think this is the purpose of it.



    •   AltAdvertisement

        
       

  3. #3
    Advanced Member level 4
    Points: 11,124, Level: 25
    Achievements:
    7 years registered
    safwatonline's Avatar
    Join Date
    Nov 2005
    Location
    EGYPT
    Posts
    1,347
    Helped
    220 / 220
    Points
    11,124
    Level
    25

    puzzle question about decoupling cap.

    using a capacitor to ground couples the supply noise to the output current.
    so either u use the capacitor to vdd or don't use it.



    •   AltAdvertisement

        
       

  4. #4
    Junior Member level 1
    Points: 1,661, Level: 9
    Achievements:
    7 years registered

    Join Date
    Jan 2008
    Posts
    16
    Helped
    3 / 3
    Points
    1,661
    Level
    9

    Re: puzzle question about decoupling cap.

    As mentioned earlier posts, the whole idea is to keep the Vgs const.
    So whatever the noise Source of PMOS is going to see in high frequency, the Gate voltage of PMOS will track the same due to capacitance ( will be shorted at high frequency). Hence the PSRR will also improve.
    Putting the cap between GND to Gate won't help as Vdd noise doesn't track the GND noise.



    •   AltAdvertisement

        
       

  5. #5
    Member level 3
    Points: 1,746, Level: 9

    Join Date
    Dec 2005
    Posts
    59
    Helped
    4 / 4
    Points
    1,746
    Level
    9

    puzzle question about decoupling cap.

    Firs of all, thanks for your replies. All of the posts talk a lot of sense to me.

    But I just wonder if this decoupling cap can be connected to ground as the current source underneath M1 is pretty good (though not really ideal one).

    For this case the pmos gate voltage also can track the source voltage as noise coupled to the source of the pmos since the current of pmos transistor tends to keep constant due to the "good" current source.

    Does it make some sense?



  6. #6
    Advanced Member level 4
    Points: 11,124, Level: 25
    Achievements:
    7 years registered
    safwatonline's Avatar
    Join Date
    Nov 2005
    Location
    EGYPT
    Posts
    1,347
    Helped
    220 / 220
    Points
    11,124
    Level
    25

    puzzle question about decoupling cap.

    nop, it doesn't



  7. #7
    Member level 3
    Points: 1,746, Level: 9

    Join Date
    Dec 2005
    Posts
    59
    Helped
    4 / 4
    Points
    1,746
    Level
    9

    Re: puzzle question about decoupling cap.

    Quote Originally Posted by safwatonline
    nop, it doesn't
    If we can assume the "good" current source (underneath the pmos M1) is ideal one, I don't think the power supply noise can degrade the current mirror even without the decoupling cap between power supply and gates of m1/2. So it implies that the impedance of the current source is playing in the game.



  8. #8
    Advanced Member level 4
    Points: 11,124, Level: 25
    Achievements:
    7 years registered
    safwatonline's Avatar
    Join Date
    Nov 2005
    Location
    EGYPT
    Posts
    1,347
    Helped
    220 / 220
    Points
    11,124
    Level
    25

    puzzle question about decoupling cap.

    using an ideal current source is good in DC, in AC it doesn't exist so the capacitor to ground that u are adding is shorting the gate of M2 to ground at some frequency, when u short the gate to ground then the noise on the supply is acting as a source applied to M2 in common gate configuration which means that the current is proportional to gm*Vdd and hence PSR degrade.
    hope u get what i mean.



    •   AltAdvertisement

        
       

  9. #9
    Member level 3
    Points: 1,746, Level: 9

    Join Date
    Dec 2005
    Posts
    59
    Helped
    4 / 4
    Points
    1,746
    Level
    9

    Re: puzzle question about decoupling cap.

    Quote Originally Posted by safwatonline
    using an ideal current source is good in DC, in AC it doesn't exist so the capacitor to ground that u are adding is shorting the gate of M2 to ground at some frequency, when u short the gate to ground then the noise on the supply is acting as a source applied to M2 in common gate configuration which means that the current is proportional to gm*Vdd and hence PSR degrade.
    hope u get what i mean.
    If you really can attach a "ideal" current source to the pmos M1, the whole current in M1 is always constant.

    So how can the power supply noise have an impact to the constant current?



  10. #10
    Super Moderator
    Points: 259,288, Level: 100
    Awards:
    1st Helpful Member

    Join Date
    Jan 2008
    Location
    Bochum, Germany
    Posts
    45,268
    Helped
    13771 / 13771
    Points
    259,288
    Level
    100

    Re: puzzle question about decoupling cap.

    I thought, that the purpose of current mirror would to source a constant and low noise current at M2. If you don't like it low noise, connect the capacitor to ground instead of VDD...



--[[ ]]--