The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Sep 27th, 2024, 10:21am
Pages: 1
Send Topic Print
Theory of harmonic oscillators (Read 2688 times)
buddypoor
Community Fellow
*****
Offline



Posts: 529
Bremen, Germany
Theory of harmonic oscillators
Jan 15th, 2008, 6:14am
 
Hi all,

here is a more or less theoretical question to the community – but with a practical background.
Let me explain the problem which applies to the theory of linear oscillators:

1.) In order to start safely, each linear/harmonic oscillator circuit (e. g. with opamps) must exhibit a pair of RHP poles. As a  consequence, a sinusoidal voltage is created with a rising amplitude until clipping occurs due to the limited opamp supply voltages.

2.) Therefore, to avoid clipping effects some sort of nonlinear amplitude control circuitry is necessary (thermistor, diodes, FET, ….).

3.) To my knowledge, this is true for all harmonic oscillators: 4-pole-amplifier as well as 2-pole-negative-resistance structures.

4.) However, there is one exception and my question is simply: WHY ?

The two-integrator loop (inverting/noninverting) starts safely but never goes into saturation. Instead, the final amplitude approaches the saturation voltage without clipping. This has been proved both by experiment and simulation (for equal as well as for different time constants of the integrator stages).
Of course, the Barkhausen criterion is fulfilled for the nominal oscillation frequency where the total loop gain is unity; but for lower frequencies the loop gain is greater than unity – a situation which should lead to rising amplitudes as describes above under 1.).
Therefore, why does`nt build up an oscillation also with a frequency lower than nominal as the phase condition is satisfied in all cases (nominal and below) ?
(By the way, perhaps I`ve got an answer, but I am interested in some alternative  explanations)


Lutz
Back to top
 
 

LvW (buddypoor: In memory of the great late Buddy Rich)
View Profile   IP Logged
HdrChopper
Community Fellow
*****
Offline



Posts: 493

Re: Theory of harmonic oscillators
Reply #1 - Jan 23rd, 2008, 5:21pm
 
Hi Lutz,

May be the answer can be found from the practical standpoint: actual opamps do not have infinite dc gain. Consequently they have a dominant pole  when considering their open loop gains. Since an active integrator when frequency tends to zero shows the open loop gain of its amplifier, this means the loop gain for the 2-integrator harmonic oscillator will show 2 dominant poles at low frequency (could be the same one or not). This also means that the phase will rotate asymptotically to 180 degrees when f tends to infinite (disregarding high frequency poles in the opamps, which will exist and will generate extra phase shift).
From this description we should expect gains higher than 1 for f < fosc, but the phase associated with such frequency will be less than 180. Therefore there is no reason to expect oscillations at such frequencies since the phase margin will be positive.

This might be a valid standpoint at least to start the discussion.
Tosei
Back to top
 
 

Keep it simple
View Profile   IP Logged
buddypoor
Community Fellow
*****
Offline



Posts: 529
Bremen, Germany
Re: Theory of harmonic oscillators
Reply #2 - Jan 25th, 2008, 4:26am
 
Tosei,

mmH - I donīt believe that the final DC gain of real opamps (and the non-ideal phase function associated with it) could be the background. However, in the near future I will start some more experiments with different topologies. Perhaps I can reveal the secret.  
Lutz

Back to top
 
 

LvW (buddypoor: In memory of the great late Buddy Rich)
View Profile   IP Logged
vivkr
Community Fellow
*****
Offline



Posts: 780

Re: Theory of harmonic oscillators
Reply #3 - Jan 25th, 2008, 5:56am
 
Hi Lutz,

A few comments here:

1. Firstly, it is not true that there must be an explicit amplitude limiting mechanism for harmonic oscillators. Consider LC tank oscillators
used for generating highly pure sinewave output. These have an output amplitude which is defined uniquely by choice of design parameters.

2. Since you speak of integrators with -180 phase shift at all frequencies, I should be interested in knowing how one can actually realize such
integrators as the various circuit nonidealities (finite DC gain in opamps, poles ) will change the phase profile and it will not be constant
across frequency.

3. How would the amplitude be set to a value that removes the need for a clipping circuit? I believe that the method would be identical
to what is used in LC oscillators.

Regards
Vivek
Back to top
 
 
View Profile   IP Logged
buddypoor
Community Fellow
*****
Offline



Posts: 529
Bremen, Germany
Re: Theory of harmonic oscillators
Reply #4 - Jan 25th, 2008, 12:48pm
 
Hello Vivek,

thank you very much for your reply.
Here comes my answer concerning your three items:

To 1.
Yes, of course, in this case there is no extra limiting device. Nevertheless, the amplifier of the circuit goes into saturation and causes the limiting effect. The output than is nothing else as the filtered version of this signal.  


To 2.
Yes, formally spoken you are right again, of course. However, when I speak of 180 deg phase shift “at all frequencies” (did I really ?) I refer to the frequencies of interest in the middle of the frequency band, where the integrator function can be  regarded as semi-ideal. And as you know, it oscillates !!    

To 3.
Sorry, but I donīt get the point. The amplitude of which oscillator circuit do you mean ?

Thank you again
Lutz

Back to top
 
 

LvW (buddypoor: In memory of the great late Buddy Rich)
View Profile   IP Logged
vivkr
Community Fellow
*****
Offline



Posts: 780

Re: Theory of harmonic oscillators
Reply #5 - Jan 30th, 2008, 2:49am
 
Hello Lutz,

I was mistaken about 1. I seem to have read somewhere that the amplitude of the oscillation is a direct function of the
bias current and tank impedance, but it seems not to be the case, both from thinking about it and from simulations.

So your point about amplitude control being inherent only in the 2 integrator loop is correct, where you can set the
amplitude by initializing the integrators.

Regards
Vivek
Back to top
 
 
View Profile   IP Logged
Berti
Community Fellow
*****
Offline



Posts: 356

Re: Theory of harmonic oscillators
Reply #6 - Jan 30th, 2008, 3:44am
 
Hi Lutz,

I also didnt' get the point when you claim that a 2-integrator loop will automatically settle (without clipping).
Maybe the oscillation is just too fast, so that together with the finite slew rate, the integrators never settle
to the final value.(??)

However, in general I think that the nyquist stability criterion can predict stabiltiy for any system (no like the
Barkhausen criterion which is intuitive but wrong).

Regards
Back to top
 
 
View Profile   IP Logged
vivkr
Community Fellow
*****
Offline



Posts: 780

Re: Theory of harmonic oscillators
Reply #7 - Jan 30th, 2008, 7:34am
 
Hi Berti,

The 2 integrator loop will attain its final amplitude without clipping because the amplitude there is set in the form of
an initial condition. If you had 2 integrators, then for instance you might set 1 state variable to A and the other to 0 say.
Then, the resulting oscillator will oscillate with states between A and 0. Also, this oscillation will set in without any
delay. As you have complete control of the amplitude, you can set it to a value which prevents any clipping.

Compare this to an LC oscillator where it takes quite a while until the oscillator reaches its final amplitude
after being disturbed from rest state.


Regards
Vivek
Back to top
 
 
View Profile   IP Logged
buddypoor
Community Fellow
*****
Offline



Posts: 529
Bremen, Germany
Re: Theory of harmonic oscillators
Reply #8 - Feb 1st, 2008, 7:13am
 
On January 15th I started this topic with a question to the whole community and, at the same time, I mentioned to have a (preliminary) answer.
Up to now, there were no new explanations resp.verifications of the effect described and, therefore, I come to the conclusion that the following answer - based on the harmonic balance principle -  is the only one which is appropriate:

The amplitude of the first harmonic of a limited sinusoidal voltage is always smaller than the amplitude of the incoming sinus which is necessary to produce this harmonic. Therefore, any small amplitude increase above the threshold cannot lead to a sustaining oscillation at a lower frequency with a limiting effect. (However, note the additional comment below).

In terms of the rules of the harmonic balance this statement would read:
The value of the inverse describing function is always smaller than the “over-amplification”  which causes the limiting effect and which leads to the assumed describing function with a value smaller than unity.

Example: Letīs assume two integrator stages with max. possible amplitudes of 10 volts and – by accident - an incoming amplitude of 12 volts. In this case there would be a theoretical over-amplification of 1.2 causing a limiting effect. This value belongs to a first harmonic amplitude of 9.2 volts. Thus, to retain the loop gain at unity an incrased composite gain of both  integrator stages of 1/0.92=1.087 (of course at a reduced frequency) would result. However, this theoretical experiment has started with a gain increase factor of 1.2. Thus, the assumed amplitude disturbance will decay and the oscillation frequency will remain unchanged at the maximum unlimited amplitude.

Additional comment: It is interesting to note that this holds also for an arrangement modified as follows:
Letīs assume that the quadrature oscillator consists of two inverting integrator stages and one additional inverting amplifier with a gain of “-1”. Now, either the gain of this amplifier is increased or its supply voltages are reduced - driving it into saturation. (The integrator supplies remain high and unchanged). As a consequence, the inverter output will be a limited sinusoidal wave, but the output voltages of both integrators are still unlimited, however, with unequal amplitudes at a lower frequency.  
                                         _____________________________

As to my knowledge, this explanation of the behaviour of quadrature oscillators cannot be found in any textbook.
Any comments are welcome.

Lutz

Back to top
 
 

LvW (buddypoor: In memory of the great late Buddy Rich)
View Profile   IP Logged
buddypoor
Community Fellow
*****
Offline



Posts: 529
Bremen, Germany
Re: Theory of harmonic oscillators
Reply #9 - Feb 1st, 2008, 9:00am
 

Quote:
However, in general I think that the nyquist stability criterion can predict stabiltiy for any system (no like the  
Barkhausen criterion which is intuitive but wrong).



Hello Berti,

can please explain your statement "Barkhausen....is wrong". Can you prove this ?
Thank you.

Lutz

Back to top
 
 

LvW (buddypoor: In memory of the great late Buddy Rich)
View Profile   IP Logged
Berti
Community Fellow
*****
Offline



Posts: 356

Re: Theory of harmonic oscillators
Reply #10 - Feb 4th, 2008, 1:26am
 
Hi Lutz,

I am not a "Barkhausen criterion"-expert ... however it is easy to provide counterexamples where the  Barkhausen criterion doesn't hold.

You can find several examples on the web, e.g.:
http://web.mit.edu/klund/www/weblatex/node4.html

Regards
Back to top
 
 
View Profile   IP Logged
buddypoor
Community Fellow
*****
Offline



Posts: 529
Bremen, Germany
Re: Theory of harmonic oscillators
Reply #11 - Feb 4th, 2008, 11:40am
 
Hi Berti,

In your last reply I did expext your reference to K. Lundberg since I know his contribution as quoted by you already for some time (and with the same wording “Barkhausen is……intuitive but wrong”).

However, for my opinion Lundberg (“down with Barkhausen”) is wrong, and vice versa Barkhausen is NOT wrong.

To be more detailed: His formula is not “wrong” but it is not applicable for some (more or less artificial) transfer functions describing a system which has no practical meaning.
More than that, Barkhausen never has claimed that his formula can be used to decide if a system is stable or not.
Instead, he writes several times in his original work – which is on my desk in front of me (4th edition, 1934) – that his formula  k*V=1 is nothing else than a necessary condition for an amplifier with feedback to oscillate (which means it is not a sufficient one). I am involved in analog electronics since app. 30 years and up to now I have seen no linear/harmonic two-port oscillator which doesnīt agree to this formula.

As a conclusion, it is in this context absolutely necessary to discriminate between necessary and sufficient conditions to be met for the validity of rules or formulas.
Therefore, I think it is a real misinterpretation of Barkhausens formula to consider it as a (bad resp. not working) tool for stability analyses.

Any comments are welcome.
Lutz
Back to top
 
 

LvW (buddypoor: In memory of the great late Buddy Rich)
View Profile   IP Logged
vivkr
Community Fellow
*****
Offline



Posts: 780

Re: Theory of harmonic oscillators
Reply #12 - Feb 4th, 2008, 11:04pm
 
Hi Lutz,

If you would actually read the comments from Lundberg (I just did), he does not quote Barkhausen as proposing a
criteria for stability. Instead, Lundberg mentions that Barkhausen developed his criteria as a tool to determine
the frequency of oscillation of a linear oscillator. It is the unfortunate fact of other people having misinterpreted
this as a means of deciding whether a system is stable or not that has caused much confusion. So, I don't see a big
disagreement between your point of view and Lundberg's as far as the historical aspects are concerned.

When you speak of unphysical systems, I suppose you refer to Lundberg's example of a system which has a constant
gain at all frequencies. However, there are other important points:

1. The example system with 3 poles at zero and 2 zeros at -1 (not an unphysical system).
2. The arguments related to the apparent contradiction between root locus/Nyquist plots
and a simple application of the Barkhausen criterion are highly relevant, once more, if you
apply Barkhausen criterion blindly to a system which is only conditionally stable (a situation which
arises very commonly when designing complicated amplifier topologies).

I think the discussion has gone kind of offtrack.

Regards
Vivek
Back to top
 
 
View Profile   IP Logged
Berti
Community Fellow
*****
Offline



Posts: 356

Re: Theory of harmonic oscillators
Reply #13 - Feb 4th, 2008, 11:46pm
 
Hi Lutz,

I have never read Lundberg's work. And can't remember that I posted something about Barkhausen before.
However, thank you for clarifying the "Barkhausen discussion" for me!

Regards

PS: Lutz, can you please give me the title of Lundberg's publication you are referring to. I would like to read it.
Back to top
 
 
View Profile   IP Logged
buddypoor
Community Fellow
*****
Offline



Posts: 529
Bremen, Germany
Re: Theory of harmonic oscillators
Reply #14 - Feb 5th, 2008, 8:05am
 
Hello Berti,
in your reply No. 6 (Jan. 30th) you have mentioned Barkhausen with reference to a document from K. Lundberg.
For Lundbergs publication see my contribution below.

Hello Vivek !

At first, I agree with you that the discussion has somewhat deviated from the starting point as the “secret” of the two-integrator oscillator seems to be revealed. But as there are some misunderstandings and misinterpretations connected with the term “stability” (perhaps also on my side ?) I consider this discussion nevertheless still as helpful.

Quote (Vivek): If you would actually read the comments from Lundberg (I just did), he does not quote Barkhausen as proposing a criteria for stability……… other people having misinterpreted this as a means of deciding whether a system is stable or not….

Sorry, but I cannot agree because Lundberg himself contributes to the confusion as the title of his paper is “Barkhausen Stability Criterion” ! (http://web.mit.edu/klund/www/weblatex/node4.html).
And his last sentence reads as : “…….knowing the value of the loop transfer function at one frequency gives us no information about stability. Down with Barkhausen!”

Quote (Vivek): Instead, Lundberg mentions that Barkhausen developed his criteria as a tool to determine the frequency of oscillation of a linear oscillator.

Agreed, this formulation is correct, and thatīs exactly the reason I refuse a statement like “Barkhausen is wrong”.

Vivek, I have a question: you mentioned “Lundberg's example of a system which has a constant gain at all frequencies”. Can you please give me the corresponding reference ? I only know one single “counter-example” contained in the Lundberg paper referenced above.

Finally, of course I totally agree with you that Barkhausen must not applied “blindly to a system which is only conditionally stable”. This exactly is the reason for my former remark that the Barkhausen formula is nothing more than a necessary (!!!) condition for a system designed to function as an oscillator.

Generally spoken, in any case an electronic engineer must not apply a rule or a formula “blindly” because – to my knowledge - there is no formula in the world of analog electronics which is “correct up to 100%” under all conditions. (Perhaps a more philosophical remark: is such a formula “wrong” ?). Instead, one must carefully prove all presumptions and decide if the error resulting from this simplified view is acceptable for the specific application.  

Thanks to all contributers to this discussion.
Lutz




Back to top
 
 

LvW (buddypoor: In memory of the great late Buddy Rich)
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.