The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Sep 10th, 2024, 5:13am
Pages: 1 2 
Send Topic Print
basic doubt regarding oscillator (Read 4703 times)
loose-electron
Senior Fellow
******
Offline

Best Design Tool =
Capable Designers

Posts: 1638
San Diego California
Re: basic doubt regarding oscillator
Reply #15 - Jan 30th, 2012, 12:49pm
 
raja.cedt wrote on Jan 30th, 2012, 10:34am:
hello looselectron,
What do you mean by an inverter does not delay the signal by 180 degrees. It inverts the signal and delays it by some  smaller amount.
.

Inverting the signal means 180 deg phase only, in fact if it is not giving the 180 deg phase then how could it be satisfies Barkerson criterion.

Thanks,
Raj.


Nope.

if I have 5 inverters in a ring, each one
provides 1/5 of the delay around the ring, correct?

360 degrees in additive phase around the ring correct?

Inverting the signal and phase delay are two different things
and a lot of literature does not draw the distinction.
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
loose-electron
Senior Fellow
******
Offline

Best Design Tool =
Capable Designers

Posts: 1638
San Diego California
Re: basic doubt regarding oscillator
Reply #16 - Jan 30th, 2012, 12:53pm
 
despap wrote on Jan 30th, 2012, 10:48am:
What if only one inverter is in the chain?
Holy cow.. Inverter has gone mad.. there is no way that input(which in this case is output itself) will be constant till the output(which in this case is input also) is driven to opposite polarity.. Hence no oscillations and input/output settles for VTH


A single inverter with its output connected
to its input, in a CMOS technology, is the equivalent
of a diode connected PMOS in series with a diode
connected NMOS connected between power and ground.

Go look at the schematic, at the transistor level.
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
despap
Junior Member
**
Offline



Posts: 18

Re: basic doubt regarding oscillator
Reply #17 - Jan 30th, 2012, 6:08pm
 
@loose..
Who said its not.. Whats bothering?
When PMOS and NMOS diodes are connected between Supply/GND.. Voltage of drain of either is nothing but the Threshold of the inverter.(VTH)
Back to top
 
 
View Profile   IP Logged
despap
Junior Member
**
Offline



Posts: 18

Re: basic doubt regarding oscillator
Reply #18 - Jan 30th, 2012, 6:11pm
 
@Raj..

No.. even no of inverters in a ring never oscillate.

Please spend time to understand why/how ring oscillators oscillate.. its a large-signal phenomenon. BH is not valid once the signal here reaches rail-to-rail.

Thanks!!

Back to top
 
 
View Profile   IP Logged
despap
Junior Member
**
Offline



Posts: 18

Re: basic doubt regarding oscillator
Reply #19 - Jan 30th, 2012, 7:05pm
 
Previoulsy posted by loose-electron

The way I think about this -

cut the ring at a single point so you got an input and output.
tie the input high or low.
steady state look at the output
if the input and output are the same state its not going to oscillate, its going to latch



is the precise explanation ..why even no.of inverter loop cant oscillate.
Back to top
 
 
View Profile   IP Logged
Lex
Senior Member
****
Offline



Posts: 201
Eindhoven, Holland
Re: basic doubt regarding oscillator
Reply #20 - Jan 31st, 2012, 1:04am
 
I like the thought experiment, raj.

I doubt that oscillation (with long term stability) is possible with even order. BH does apply in case you are exactly in the metastable point, but the reaction to a step response will always be latching.

There is one thing I would like to share though: suppose you have a large chain of inverters. If you create a pulse somewhere in the chain, that is just long enough to flip the inverter, then you will see that your pulse will live on for some periods.

I wonder if you would have a chain (of even inverters) that is very long, would the oscillation last very long (or maybe indefinitely) if you kickstart it properly?

I simulated it in some generic 018 technology, where from 1 pulse, several pulse could be made. Here's the schematic + simulation results. For the non believers, try it yourself =)

http://imageshack.us/photo/my-images/580/forumrt.png/ (for the large picture)

Back to top
 
« Last Edit: Jan 31st, 2012, 4:13am by Lex »  
View Profile   IP Logged
raja.cedt
Senior Fellow
******
Offline



Posts: 1516
Germany
Re: basic doubt regarding oscillator
Reply #21 - Jan 31st, 2012, 1:42am
 
hello despap,
please understand that no oscillator oscillate with out satisfying BH criterion, and while starting every oscillator is small signal and due to non-linearity finally it will go steady state and this is large signal. Please correct me if any thing wrong.  This statement  even no of inverters in a ring never oscillate worng. check the following pap.
http://www.imec.be/esscirc/essderc-esscirc-2003/papers/all/311.pdf

However they have taken extra care such that it wont latch at DC.
Back to top
 
 
View Profile WWW raja.sekhar86   IP Logged
raja.cedt
Senior Fellow
******
Offline



Posts: 1516
Germany
Re: basic doubt regarding oscillator
Reply #22 - Jan 31st, 2012, 2:01am
 
hello lex,
seems you understood problem clearly. What you are saying is apply pulse at some node for the duration more than one stage delay and it would run along the chain for some time. did i understand correctly? Infact if we can provide the same delay as odd number of inverters oscillations should sustain..what do you say?

@despap: man i don't why you always say 1 come's to this inverter and it becomes zero and it go's to another point so on, but why you are not considering phase or delay? is there any special reason?

Thanks,
raj.
Back to top
 
 
View Profile WWW raja.sekhar86   IP Logged
despap
Junior Member
**
Offline



Posts: 18

Re: basic doubt regarding oscillator
Reply #23 - Jan 31st, 2012, 3:47am
 
@Raj
First lets get some-things clarified here..!!

What is the kind of gain of the inverter you are talking about.. is it controlled?
And what are the kind of oscillators - sinusoidal or square wave.?

In both case BH is required to start oscillations but later-on its different based on gain in the loop.

normal inverter chain - even number - doesnt oscillate.

For a ring-ocsillator(normal CMOS inverter)
its required to get a phase difference of 180 in the loop for square-wave oscillations. which in digital perspective 0 giving 1 and vice-versa.

whether its odd/even .. both start to ring at the frequency at which BH is met.
since the gain here(i am not talking about any-other case) is more than one and large.. as the signal propagates through .. it gets saturated.
but still to maintain/sustain oscillatons.. is it ok to have 360 loop-phase?

Once that point is reached.. what do you represent as delay and relate it to BH.?

Bottom line: for ring oscillators DC 0/1 at should produce 1/0 after traversing through the loop.


Back to top
 
 
View Profile   IP Logged
despap
Junior Member
**
Offline



Posts: 18

Re: basic doubt regarding oscillator
Reply #24 - Jan 31st, 2012, 4:02am
 
@Raj
In the link you provided.
Please take a closer look and there are controlled loops with three-inverters.

Quadrature delay is obtained by controlling the oscillations with three-inverter loop chain.

Correct me if i am worng.

Back to top
 
 
View Profile   IP Logged
despap
Junior Member
**
Offline



Posts: 18

Re: basic doubt regarding oscillator
Reply #25 - Jan 31st, 2012, 4:05am
 
Cut the loop and this is still valid.

for ring oscillators DC 0/1 at should produce 1/0 after traversing through the loop.

cut the ring at a single point so you got an input and output.
tie the input high or low.
steady state look at the output
if the input and output are the same state its not going to oscillate, its going to latch
Back to top
 
 
View Profile   IP Logged
raja.cedt
Senior Fellow
******
Offline



Posts: 1516
Germany
Re: basic doubt regarding oscillator
Reply #26 - Jan 31st, 2012, 4:17am
 
hello despap,
thanks for your help, may be i have to read a lot about this.

Thanks,
raj.
Back to top
 
 
View Profile WWW raja.sekhar86   IP Logged
despap
Junior Member
**
Offline



Posts: 18

Re: basic doubt regarding oscillator
Reply #27 - Jan 31st, 2012, 4:22am
 
@Raj
Please keep posting if you understand more on this..
I might be blatantly wrong in my concepts. Sad

Let me also get cleared on your thoughts/reasons. Huh

Thanks a ton..
Back to top
 
 
View Profile   IP Logged
RobG
Community Fellow
*****
Offline



Posts: 570
Bozeman, MT
Re: basic doubt regarding oscillator
Reply #28 - Jan 31st, 2012, 7:16am
 
Raj - I did some digging. Referring to here: http://www.ti.com/sc/docs/apps/msp/journal/aug2000/aug_07.pdf

Quote:
The oscillator gain must equal one (Ab = 1Š–180°) at the
oscillation frequency. The circuit becomes stable when the
gain exceeds one and oscillations cease. When the gain
exceeds one with a phase shift of –180°, the active device
non-linearity reduces the gain to one
. The non-linearity
happens when the amplifier swings close to either power
rail because cutoff or saturation reduces the active device
(transistor) gain.


Now I believe that with an ring oscillator the circuit will start to oscillate where the phase is 180 degrees if the gain is more than one. However, as the amplitude of the signal grows the feedback will become MORE NEGATIVE (i.e. phase will decrease). Think about it: if the output is at one rail the feedback will cause it to move away from the rail so the feedback must be negative when the signal is large.

On the other hand, think about a signal whose frequency is at the 180 degree point of an even-numbers ring of inverters. The output will tend to grow, but the phase will become MORE POSITIVE feedback as the signal becomes larger. Thus the signal will keep increasing until it hits the rail. Again, think about the case where the output is at the rail; the feedback is positive at that point.

So positive feedback is needed for an oscillator, but the feedback must become less positive as the signal gets larger. This is not true with an even-numbered inverter chain. In fact, the feedback becomes more positive as the signal gets larger so it will grow without bounds.

That's my story at the moment anyway,  :)
rg
Back to top
 
« Last Edit: Jan 31st, 2012, 8:18am by RobG »  
View Profile   IP Logged
loose-electron
Senior Fellow
******
Offline

Best Design Tool =
Capable Designers

Posts: 1638
San Diego California
Re: basic doubt regarding oscillator
Reply #29 - Jan 31st, 2012, 12:21pm
 
Don't overthink it too much folks. When in doubt, go build it, plug it in and see what happens.

On this:
Lex wrote on Jan 31st, 2012, 1:04am:
There is one thing I would like to share though: suppose you have a large chain of inverters. If you create a pulse somewhere in the chain, that is just long enough to flip the inverter, then you will see that your pulse will live on for some periods.

I wonder if you would have a chain (of even inverters) that is very long, would the oscillation last very long (or maybe indefinitely) if you kickstart it properly?


What you are describing here is something that has been dealt with in the area of ring oscillators in PLL's when used in a high radiation environment, and receive an ion hit.

One inverter in the ring flips over and sends a pulse propagating around the ring.

I am very familiar with this, having dealt with it for a satellite PLL  IC I did a while back.

What happens?

Well, two different things.

In a simulation, the pulse can propagate forever around the loop if you model a fairly ideal system.

In the real world, the pulse has some randomness in propagation and delay and it will eventually die out.

You can even introduce that slow die out of the pulse into simulation if  you start introducing some noise and variance in the propagation delays into the system.

Which if you think about it, when you power up a ring oscillator some random glitches like that exist as part of the power up process.


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
Pages: 1 2 
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.