The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
May 15th, 2024, 3:01am
Pages: 1
Send Topic Print
Problem in simulating 4-stage ring oscillator (Read 7235 times)
ArtBen
New Member
*
Offline



Posts: 8

Problem in simulating 4-stage ring oscillator
Feb 16th, 2016, 7:02pm
 
Hi everyone. I have a question in simulating 4-stage ring oscillator.

I try to simulate as the attachment shown below. And I also set the initial condition of either cross line in the chain. It seems that my oscillator does not oscillate. The single stage is built by full differential amplifier. The gain and phase margin is good. So if is there someone can help me find out where the problem comes. Thank you.
Back to top
 
View Profile   IP Logged
ULPAnalog
Community Member
***
Offline



Posts: 97

Re: Problem in simulating 4-stage ring oscillator
Reply #1 - Feb 16th, 2016, 7:26pm
 
Which one of those nets is net6?
Back to top
 
 
View Profile   IP Logged
ArtBen
New Member
*
Offline



Posts: 8

Re: Problem in simulating 4-stage ring oscillator
Reply #2 - Feb 16th, 2016, 7:35pm
 
ULPAnalog wrote on Feb 16th, 2016, 7:26pm:
Which one of those nets is net6?


net6 is the bottom line of my chain oscillator. Which connects first stage input_nega and last stage output_posi.
Back to top
 
 
View Profile   IP Logged
raja.cedt
Senior Fellow
******
Offline



Posts: 1516
Germany
Re: Problem in simulating 4-stage ring oscillator
Reply #3 - Feb 17th, 2016, 2:24am
 
Hello-
Looks like problem with the design rather simulation. Just to make sure no issue with the initial condition, apply a 10mv power supply step on the actual vdc or add a pulse current at the o/p of the first stage.

In case if it didn't oscillate with the above stimulus, probably you will have to check how much gain you have in the cell, if it is too low (> 1.414 at the frequency of interest) you have to increase the gain.

Few observations based on your plots:

1------In the operating point (first fig), you could see input voltage around 0.9, where as in transient it has settled to 1.7 (close to vdd) which doesn't make sense to me.
2------you should have ran simulation for few micro-seconds, because there may be some startup delay as well. That's why it's always better to run PSS which will tell you clearly.

Best regards,
Raj.
Back to top
 
 
View Profile WWW raja.sekhar86   IP Logged
ArtBen
New Member
*
Offline



Posts: 8

Re: Problem in simulating 4-stage ring oscillator
Reply #4 - Feb 17th, 2016, 8:09am
 
raja.cedt wrote on Feb 17th, 2016, 2:24am:
Hello-
Looks like problem with the design rather simulation. Just to make sure no issue with the initial condition, apply a 10mv power supply step on the actual vdc or add a pulse current at the o/p of the first stage.

In case if it didn't oscillate with the above stimulus, probably you will have to check how much gain you have in the cell, if it is too low (> 1.414 at the frequency of interest) you have to increase the gain.

Few observations based on your plots:

1------In the operating point (first fig), you could see input voltage around 0.9, where as in transient it has settled to 1.7 (close to vdd) which doesn't make sense to me.
2------you should have ran simulation for few micro-seconds, because there may be some startup delay as well. That's why it's always better to run PSS which will tell you clearly.

Best regards,
Raj.


Thank you for your answer. So do you mean during my transient simulation, the amplifier may not work at a high gain region such that may lose the gain and cannot oscillate?
Back to top
 
 
View Profile   IP Logged
raja.cedt
Senior Fellow
******
Offline



Posts: 1516
Germany
Re: Problem in simulating 4-stage ring oscillator
Reply #5 - Feb 17th, 2016, 9:15am
 
Hello--yes that could be reason if it doesn't oscillate with the supply ramp!
Back to top
 
 
View Profile WWW raja.sekhar86   IP Logged
ArtBen
New Member
*
Offline



Posts: 8

Re: Problem in simulating 4-stage ring oscillator
Reply #6 - Feb 17th, 2016, 9:36am
 
raja.cedt wrote on Feb 17th, 2016, 9:15am:
Hello--yes that could be reason if it doesn't oscillate with the supply ramp!



OK, thank you. I'll try later.
Back to top
 
 
View Profile   IP Logged
loose-electron
Senior Fellow
******
Offline

Best Design Tool =
Capable Designers

Posts: 1638
San Diego California
Re: Problem in simulating 4-stage ring oscillator
Reply #7 - Feb 17th, 2016, 10:52pm
 
introduce either some noise or some offset in the loop and it should start to go. The classic three inverters connected in a circle will sit at 50% of power and do nothing.

Also, you said 4 stages? Your typical 2 stage or 4 stage device will perform like a SR latch.
Back to top
 
 

Jerry Twomey
www.effectiveelectrons.com
Read My Electronic Design Column Here
Contract IC-PCB-System Design - Analog, Mixed Signal, RF & Medical
View Profile WWW   IP Logged
raja.cedt
Senior Fellow
******
Offline



Posts: 1516
Germany
Re: Problem in simulating 4-stage ring oscillator
Reply #8 - Feb 18th, 2016, 4:13am
 
Hi loose-electron--
but he had an inversion in the last stage, it shouldn't behave like a latch. Please correct me if am wrong.

best regards,
Raj.
Back to top
 
 
View Profile WWW raja.sekhar86   IP Logged
loose-electron
Senior Fellow
******
Offline

Best Design Tool =
Capable Designers

Posts: 1638
San Diego California
Re: Problem in simulating 4-stage ring oscillator
Reply #9 - Feb 18th, 2016, 11:48am
 
raja.cedt wrote on Feb 18th, 2016, 4:13am:
Hi loose-electron--
but he had an inversion in the last stage, it shouldn't behave like a latch. Please correct me if am wrong.

best regards,
Raj.


Something I don't do. I would go 3 or 5 and keep them all exactly symmetric and operating in the same manner.

Why? minimal chance of asymmetric behavior. Ring oscillators are fussy little beasts and any idiot can make them run, but getting them exactly balanced and perfectly phase equal requires a lot of tender loving care. Getting their inherent phase jitter down has it's own set of challenges.
Back to top
 
 

Jerry Twomey
www.effectiveelectrons.com
Read My Electronic Design Column Here
Contract IC-PCB-System Design - Analog, Mixed Signal, RF & Medical
View Profile WWW   IP Logged
ArtBen
New Member
*
Offline



Posts: 8

Re: Problem in simulating 4-stage ring oscillator
Reply #10 - Feb 27th, 2016, 1:31pm
 
Thank you for your answer. After asking my friend, I don't think the gain may cause the problem. Since last time my friend use a differential amplifier only 5dB gain with same structure, it oscillated well. But today when I ask him, he tries to simulate again. It fails like I did before. He forgets how he set up last year. So right now I'm confused whether my setup is wrong instead of the design.

loose-electron wrote on Feb 18th, 2016, 11:48am:
raja.cedt wrote on Feb 18th, 2016, 4:13am:
Hi loose-electron--
but he had an inversion in the last stage, it shouldn't behave like a latch. Please correct me if am wrong.

best regards,
Raj.


Something I don't do. I would go 3 or 5 and keep them all exactly symmetric and operating in the same manner.

Why? minimal chance of asymmetric behavior. Ring oscillators are fussy little beasts and any idiot can make them run, but getting them exactly balanced and perfectly phase equal requires a lot of tender loving care. Getting their inherent phase jitter down has it's own set of challenges.

Back to top
 
 
View Profile   IP Logged
ArtBen
New Member
*
Offline



Posts: 8

Re: Problem in simulating 4-stage ring oscillator
Reply #11 - Feb 27th, 2016, 1:33pm
 
I also try this method, failed Cry    I did connect my last two stages as non-inverter. That's wired. Sad

loose-electron wrote on Feb 17th, 2016, 10:52pm:
introduce either some noise or some offset in the loop and it should start to go. The classic three inverters connected in a circle will sit at 50% of power and do nothing.

Also, you said 4 stages? Your typical 2 stage or 4 stage device will perform like a SR latch.

Back to top
 
 
View Profile   IP Logged
raja.cedt
Senior Fellow
******
Offline



Posts: 1516
Germany
Re: Problem in simulating 4-stage ring oscillator
Reply #12 - Feb 27th, 2016, 2:21pm
 
Hello--based on your description, it is a clear design problem. There is single test bench setup for oscillator simulation. Or please post the buffer, setup schematics. Did you check gain as I suggested, according to simple calculation >3dB gain is suffices for oscillations in theory, so I would think 5dB is some where close to be the practice number.

Best regards,
Raj!!
Back to top
 
 
View Profile WWW raja.sekhar86   IP Logged
ArtBen
New Member
*
Offline



Posts: 8

Re: Problem in simulating 4-stage ring oscillator
Reply #13 - Feb 29th, 2016, 7:48am
 
I try to set my input common mode such that my output common mode is 1.75V, and the small signal gain is 6.5dB, more than the practice number as you mention 5dB. So I have no idea where maybe the problem causes Sad

raja.cedt wrote on Feb 27th, 2016, 2:21pm:
Hello--based on your description, it is a clear design problem. There is single test bench setup for oscillator simulation. Or please post the buffer, setup schematics. Did you check gain as I suggested, according to simple calculation >3dB gain is suffices for oscillations in theory, so I would think 5dB is some where close to be the practice number.

Best regards,
Raj!!

Back to top
 
 
View Profile   IP Logged
Pages: 1
Send Topic Print
Copyright 2002-2024 Designer’s Guide Consulting, Inc. Designer’s Guide® is a registered trademark of Designer’s Guide Consulting, Inc. All rights reserved. Send comments or questions to editor@designers-guide.org. Consider submitting a paper or model.