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

Click For Summary

Discussion Overview

The discussion revolves around designing and troubleshooting a digital ring oscillator using PSpice, focusing on the use of CMOS inverters with specified propagation delay times. Participants explore issues related to simulation setup and initial conditions.

Discussion Character

  • Technical explanation
  • Debate/contested
  • Homework-related

Main Points Raised

  • One participant describes their attempt to create a ring oscillator using three CMOS inverters but encounters issues with the output being a DC signal.
  • Another participant suggests that the problem may be due to not setting an initial condition for the gate voltages and provides a method for doing so in OrCAD.
  • A participant mentions using an older version of PSpice Capture and questions whether the choice of MOSFETs (IRF150 and IRF9140) could be causing issues with the simulation.
  • Another participant requests a screenshot of the schematic and notes a potential issue with the connection of the PMOS bulk to Vdd, suggesting that misalignment could lead to incorrect simulation results.

Areas of Agreement / Disagreement

Participants express differing views on the cause of the simulation issues, with some attributing it to initial conditions and others questioning the component choices. The discussion remains unresolved as multiple potential solutions are proposed without consensus.

Contextual Notes

Participants mention using different versions of PSpice and various components, which may affect the simulation results. There is also a reference to specific configurations that may not be standard, indicating potential limitations in the setup.

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
7K
  • · 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