SPICE design help

Discussion in 'General Electronics Chat' started by mcutitaru, Sep 18, 2011.

  1. mcutitaru

    Thread Starter New Member

    Sep 18, 2011
    3
    0
    Hi,

    I'm trying to make a PMOS spice design and the part where I am stuck is this: I have 2 pmos transistors and they need to go in serial in a certain way. The 1st transistor has the Source from Vcc, and Gate from Ground. Its Drain is connected to the 2nd transistor's Gate (to act as a control for the 2nd transistor). The 2nd transistor has its own connections to other parts of the circuit. This is what I have so far for this part of the circuit:
    mpmos1 1 0 x x *1=Vcc, 0=GND
    mpmos2 1 x 0 0 *(not complete)
    Can anyone suggest a way to connect the two transistors? I tried adding a new node, but it doesn't solve the problem. Thank you!
     
  2. SgtWookie

    Expert

    Jul 17, 2007
    22,182
    1,728
    If you connect PMOS1's gate to GND (node 0), then it will always be ON, so the the drain will always be at the potential of Vcc. This means that PMOS2's gate will also be at Vcc, so PMOS2 will always be OFF.

    It sounds to me like you need a better plan.

    As it is, your netlist should look more like:
    Code ( (Unknown Language)):
    1.  
    2. V1 Vcc   0 [I][voltage][/I]
    3. M1   1   0 Vcc Vcc PMOS
    4. M2   [I]?[/I]   1 Vcc Vcc PMOS
    5.  
     
  3. mcutitaru

    Thread Starter New Member

    Sep 18, 2011
    3
    0
    Thank you for your reply! I know that using DC on the 1st PMOS will either have it ON or OFF, depending on the Gate input. However I plan on using AC and do a sinusoidal voltage swing from 0V to (say) 1V, so that the 1st PMOS would be ON to begin with but then slowly turn OFF as the voltage at the source is ramped up past the threshold. So I need to have the connections they way I have them. Any thoughts? (I hope I am explaining it well since my background is more in digital). Any help is appreciated! Thank you!
     
  4. SgtWookie

    Expert

    Jul 17, 2007
    22,182
    1,728
    I'm not really sure what you want to do.

    You need to explain it more completely.
     
  5. mcutitaru

    Thread Starter New Member

    Sep 18, 2011
    3
    0
    All I really want to do is to have the 1st PMOS control the 2nd PMOS which connects to other parts of the circuit further down. When I ramp up the voltage from 0 to 1V AC on the 1st PMOS (which is always ON, as part of the input at the Gate), I need it to turn ON the 2nd PMOS for a certain time, until the voltage reaches the threshold, and then turn OFF so that the 2nd PMOS no longer conducts. When the 2nd PMOS is ON, it will show a 0/GND at the Source. So I'm basically showing a 0 at the 2nd PMOS when the input is a 0 (at the Gate of 1st PMOS), or not showing anything. Thanks again!
     
Loading...