Maker Pro
Maker Pro

Phase Shift Oscillator

Hi everyone, I had to build an oscillator which generates a sinusoidal signal of frequency 5kHz and Vi = 25 mV. I used a phase shift oscillator to achieve this.
2qvch6r.jpg


I have read in a book that to determine the frequency, the formula f = (1.732) / (2πRC) is used. it indeed works but I have no idea how to derive this formula. I am kind of new to electronics, could someone help me please? Thanks in advance:)
 
According to the Barkhausen stability criterion, the phase shift of the 3-stage RC network must be 180° for oscillation to occur so the phase shift of each RC stage must be 60°. Now it happens that tan(60°)=1.732 so the ratio of the imaginary to the real portion of each RC voltage divider output will equal 1.732 at the oscillation frequency. It takes some complex algebra with imaginary numbers to calculate the RC phase shift. Can you do that?
 
According to the Barkhausen stability criterion, the phase shift of the 3-stage RC network must be 180° for oscillation to occur so the phase shift of each RC stage must be 60°. Now it happens that tan(60°)=1.732 so the ratio of the imaginary to the real portion of each RC voltage divider output will equal 1.732 at the oscillation frequency. It takes some complex algebra with imaginary numbers to calculate the RC phase shift. Can you do that?

Didn't I already do that above?

Ratch
 
According to the Barkhausen stability criterion, the phase shift of the 3-stage RC network must be 180° for oscillation to occur so the phase shift of each RC stage must be 60°. Now it happens that tan(60°)=1.732 so the ratio of the imaginary to the real portion of each RC voltage divider output will equal 1.732 at the oscillation frequency. It takes some complex algebra with imaginary numbers to calculate the RC phase shift. Can you do that?
Actually, I dont really know how to. Could you please help?
 
Using your formula, and the values of capacitor and resistor in the circuit. I get a value for frequency of 7796 Hz
But using the formula of f = (1.732) / (2πRC), I get a value of 5513 Hz. How is that?

Exalibur - your formula applies to another phase shift oscillator (1.732=SQRT(3).
More than that - please note that two basic versions of the phase shift oscillator exist:
1.) Three RC lowpass sections: wo=SQRT(6)/RC
2.) Three CR highpass sections: wo=1/[SQRT(6)*RC]

More than that, you should consider that in your circuit R4 loads the last RC section and, therefore, the oscillator frequency will slightly deviate from the ideal.

EDIT: The formula as given by you (factor 1.732) applies to the following phase shift oscillator :
Replace the last RC section and the inverting opamp stage by an active inverting integrator (classical Miller integrator). This has the advantage that the input resistance of the inverter does not load the last RC section.
 
Last edited:
Exalibur - your formula applies to another phase shift oscillator (1.732=SQRT(3).
More than that - please note that two basic versions of the phase shift oscillator exist:
1.) Three RC lowpass sections: wo=SQRT(6)/RC
2.) Three CR highpass sections: wo=1/[SQRT(6)*RC]

More than that, you should consider that in your circuit R4 loads the last RC section and, therefore, the oscillator frequency will slightly deviate from the ideal.
A slight deviation would be around 500 Hz. A deviation of 2.7 kHz could be considered a lot. Am i right?

Also, you mentioned that the formula with SQRT(3) is for another phase shift oscillator. Could you be more precise on that one?
 
See attachment for derivation of formula.

In the attachement you have shown that the phase shift for one single unloaded RC section is 60 deg at a frequency of w=1.732/RC.
Based on this, how can we derive the formula for a series connection of three coupled RC sections (as presented by Ratch) ?

(Comment: Obviously, we cannot assume that each RC sections contributes 60 deg because they are not decoupled. Hence, we must consider the whole network in one single calculation. Your calculation helps only in case we have a circuit with all 3 RC sections decoupled with buffer amplifiers).
 
Last edited:
k
Why would you complicate the process for a full 180° phase shift when it is simpler to do it for 60° phase shift?

Because the 60° single section method relies on the successive section not loading the previous section. My method works no matter what the loading.

Ratch
 
Last edited:
The original posting asked how the formula in the book was derived. Do you have a better way to derive that formula?
Yes - we need the transfer function of the complete 3rd-order RC network and, then, set the imaginary part of the denominator equal to zero. Then, we solve for w.
 
According to the Barkhausen stability criterion, the phase shift of the 3-stage RC network must be 180° for oscillation to occur so the phase shift of each RC stage must be 60°. Now it happens that tan(60°)=1.732 so the ratio of the imaginary to the real portion of each RC voltage divider output will equal 1.732 at the oscillation frequency. It takes some complex algebra with imaginary numbers to calculate the RC phase shift. Can you do that?
Spot on Laplace.
Adam
 
Here is a graph showing the phase shift of third-order RC network calculated two different ways. The Phase.60 (blue) plot shows the phase shift for one RC stage multiplied by a factor of 3. Note that -180° is achieved at a frequency of 5513 Hz, in agreement with the book formula. The Phase.3 (red) plot represents the third-order RC feedback network including the loading of the feedback resistor. Here the -180° point is at 8030 Hz.

phase-shift-png.12599
 

Attachments

  • Phase-Shift.png
    Phase-Shift.png
    51.5 KB · Views: 518
  • Mathcad - MathCad_EP-49.pdf
    38.3 KB · Views: 228
Top