PSPICE - simulation of CMOS astable circuit

4 replies · 4K views · last reply
stn0091
Messages
5
Reaction score
0

Homework Statement



I'm trying to simulate the following circuit in OrCAD PSPICE.

Circuit schematic of an astable oscillator with two inverter gates G1 and G2, a resistor R and a capacitor C, with nodes labelled Vi, Va and Vo.


Homework Equations





The Attempt at a Solution



* 8.20

Vdd 1 0 5V

MP1 3 2 1 1 PMOD
MN1 3 2 0 0 NMOD

MP2 4 3 1 1 PMOD
MN2 4 3 0 0 NMOD

R1 3 2 1000
C1 2 4 1uF

.MODEL NMOD NMOS (VTO=2)
.MODEL PMOD PMOS (VTO=-2.0)

.ic v(2)=5

.tran 0.5us 10ms 0 1u uic

.PROBE
.END

Resistor and capacitor values were chosen for some arbitrary time constant. I just wanted to see the waveforms at Va, Vo and Vi.

V(2) corresponds to the gates of the first CMOS and I set that to 5V to "start" the circuit. However, I'm not seeing any oscillations when I simulate the circuit.
 
Attachments
  • Circuit schematic of an astable oscillator with two inverter blocks G1 and G2, node Va between them, a resistor R and capacitor C in a feedback loop, and input Vi and output Vo labelled.
    Untitled.png
    38.2 KB · Views: 1,056
The output plots? Alright. I'm assuming you mean the capacitor voltage when you say Vcc.

V(1) is VDD = 5 V, V(2) is Vi and Vcc (same node), V(3) is the output of the first inverter, V(4) is the output of the second inverter.

PSPICE simulation plot with four stacked traces against Time from 0 to 10 ms: U(1) flat at 5 V, U(2) decaying slightly from about 4.4 V to 4 V, U(3) decaying from about 4.4 V to 3.9 V, and U(4) rising from about -600 mV to -550 mV.
 
Attachments
  • PSpice transient plot with four stacked traces over 0 to 10 ms labelled U(1) to U(4): U(1) flat near 5 V, U(2) and U(3) slowly decaying from about 4.5 V to 4 V, and U(4) near -550 mV drifting slightly upward.
    Untitled.jpg
    65.4 KB · Views: 973
How can Vi and Va both be +4.4V?? Are you sure you're running an inverter? What's the part number? Oh, I bet it's your model.

Vi and Va look like the same voltage.

R looks like no current thru it.

I seriously question you model of the device. Pick an actual part number from the list of devices in your PSPICE library. Example: 74HC04.