How Do You Design and Troubleshoot a Ring Oscillator in PSpice?

Click For Summary
SUMMARY

The discussion focuses on designing and troubleshooting a digital ring oscillator using PSpice Capture, specifically with CMOS inverters having propagation delays of tPLH = 28ns and tPHL = 42ns. Users encountered issues with obtaining oscillation outputs, often resulting in a DC signal. Key solutions included setting initial conditions for gate voltages using the IC1 part in OrCAD and ensuring correct connections for PMOS transistors. The conversation also highlighted the importance of using compatible MOSFETs, such as IRF150 and IRF9140, for successful simulation.

PREREQUISITES
  • Understanding of CMOS inverter design
  • Familiarity with PSpice Capture version 9.1
  • Knowledge of propagation delay measurements (tPLH and tPHL)
  • Experience with initial conditions in circuit simulations
NEXT STEPS
  • Learn how to set initial conditions in PSpice Capture simulations
  • Research troubleshooting techniques for digital oscillators in OrCAD
  • Explore the characteristics and applications of IRF150 and IRF9140 MOSFETs
  • Study the layout and connection requirements for PMOS and NMOS transistors in digital circuits
USEFUL FOR

Electronics engineers, students designing digital circuits, and anyone involved in simulating oscillators using PSpice or similar tools.

snoggerT
Messages
183
Reaction score
0
Design a digital ring oscillator using logic inverters that have propagation delay times of tPLH = 28ns and tPHL = 42ns.




The Attempt at a Solution



I'm using a general ring oscillator design using 3 CMOS inverters like this:

http://upload.wikimedia.org/wikipedia/commons/7/75/Ring_osc_5.png

I can't get this to work in Capture (Pspice) though. All I'm getting on the ouput is a DC signal. Can somebody explain to me how to get an oscillator to work in Capture? Also, how would you measure the tPLH and tPHL values?
 
Physics news on Phys.org
Sounds like you didn't set an initial condition for one of your gate voltages...
I tried a simulation in both multisim and cadence orcad w/pspice.

For OrCAD, choose the part "IC1" from the SPECIAL menu then enter an initial voltage (I used 0V).
Connect this to any gate input of your inverters - then simulation should work.
FWIW, I chose ON_MOS parts for simulation (MbreakN/P will not converge for simulation... at least for me)

Same idea for Multisim, except you can add the initial conditions by editing the properties of the net.
 
terranpro said:
Sounds like you didn't set an initial condition for one of your gate voltages...
I tried a simulation in both multisim and cadence orcad w/pspice.

For OrCAD, choose the part "IC1" from the SPECIAL menu then enter an initial voltage (I used 0V).
Connect this to any gate input of your inverters - then simulation should work.
FWIW, I chose ON_MOS parts for simulation (MbreakN/P will not converge for simulation... at least for me)

Same idea for Multisim, except you can add the initial conditions by editing the properties of the net.

- I'm actually using an older version of Pspice Capture (v. 9.1 student edition) since it's free. So I made my logic inverters with the EVAL parts IRF150 and IRF9140. I tried adding the IC1 part to the gate and it would only give me the first rise and then it would stay high endlessly. Is there maybe something wrong with using those MOSFETS?
 
Could you post a screenshot / printout of your OrCAD schematic? I found your IRF150 under PWRMOS and the simulation worked fine for me.

One thing to note, are you sure your pmos bulk is correctly connected to vdd? For me, the part initially is 'upside down' according to how I usually layout my digital transistor schematics; and my first mistake was not noticing this - had to mirror the pmos vertically to correct this issue. This misalignment produces a simulation result similar to what you mention...

If that doesn't help I'll be glad to post my schematic/plots.
 

Similar threads

Replies
5
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
3
Views
3K
  • · Replies 64 ·
3
Replies
64
Views
6K
  • · Replies 1 ·
Replies
1
Views
8K
Replies
2
Views
2K
Replies
2
Views
3K
Replies
3
Views
4K
  • · Replies 15 ·
Replies
15
Views
3K
  • · Replies 0 ·
Replies
0
Views
5K