Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > Electronic Projects Design/Ideas/Reviews


Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution.

Reply
 
Tools
Old 17th October 2009, 08:23 AM   #1
Default wein bridge oscillator

i have done a simulation of a wein bridge oscillator (without amplitude control)
from the simulation, i noticed that the output voltage(pk-pk) of the wave is approx. 2.2V and is the sine wave is not really centered to the x axis of the graph.

My circuit and simulation results are as attached.

Considering the fact that for oscillators, any transient noise signal is able to cause oscillations,
How do i determine the value of the output amplitude signal considering that there is no input source involved? (How is 2.2Vp-p in simulation obtained?) From the simulation, it is also seen that the initial start up small oscillations start from slightly below the x axis (below 0V).Why is this so?

The power supply voltages for the op amp are +20V and -20V in symmetry. Why is the wave still not centered evenly on the x axis? Is there any theory behind this or its just a simulator related problem?

__________________________________________________ _______________

Besides that, it is stated in theory that if the gain on the negative feedback loop is increased higher than 3, oscillations will increase in amplitude .and if the gain is reduced to less than 3, the oscillations will diminish to nothing..

From the feedback formula Avf= Ao/(1-Ao*beta)
i calculate that
  • when i increase the gain to higher than 3, AVF will be a negative number
  • when i increase the gain to lower than 3, AVF will be a positive number

why does a negative gain increase amplitude while a postive gain reduce amplitude? shouldnt it be the other way around?
or is my approach on the concept wrong?

__________________________________________________ ______________

In the Barkhausen criteria, a 0d phase shift is required.. I understand that the frequency selective feedback loop provides a phase shift of 0d. How about the gain feedback loop involving the 2 resistors? My lecturer says the opamp provides a phase shift of 180 and the feedback gain loop provides another 180 totalling a 360.. but some teaching material on the internet says there is no phase shift by the op amp...

Help is very much appreciated=)
Attached Thumbnails
wein bridge oscillator-simulation_results.png   wein bridge oscillator-circuit.png  
qtommer is offline  
Old 17th October 2009, 08:40 AM   #2
Default

Quote:
Originally Posted by qtommer View Post
i have done a simulation of a wein bridge oscillator (without amplitude control)
from the simulation, i noticed that the output voltage(pk-pk) of the wave is approx. 2.2V and is the sine wave is not really centered to the x axis of the graph.

The power supply voltages for the op amp are +20V and -20V in symmetry. Why is the wave still not centered evenly on the x axis? Is there any theory behind this or its just a simulator related problem?
__________________________________________________ ______________

In the Barkhausen criteria, a 0d phase shift is required.. I understand that the frequency selective feedback loop provides a phase shift of 0d. How about the gain feedback loop involving the 2 resistors? My lecturer says the opamp provides a phase shift of 180 and the feedback gain loop provides another 180 totalling a 360.. but some teaching material on the internet says there is no phase shift by the op amp...

Help is very much appreciated=)
hi,
For comparison I will run your circuit in the LTspice sim.

Ref the 180deg phase query, as you maybe aware the INV input and OPA output are inverted, so its '180deg' phase shifted.
In an ideal OPA, amplified signals should not be phase shifted.

Are these the two versions you are mixing up.?

I'll post the LTS sim later to day.
__________________
Eric " Good enough is Perfect "
I will NOT answer PM's requesting technical help, please use the Forum
PIC tutorials: Nigel's www.winpicprog.co.uk/ Bill's: www.blueroomelectronics.com/
ericgibbs is offline  
Old 17th October 2009, 09:09 AM   #3
Default

hi,
Using your circuit the osc dosnt start up, the gain is 2.

With a gain of ~4, it starts, but as you would expect its a square wave output.
The plot shows no dc offset in either case.

The fact that it oscillates and produces a sort of sine wave in your sim, suggests its an artefact of your simulator, which sim is it.?

To get a sinewave output you must have auto adjusting gain control, using either a small tungsten lamp or FET or diode bridge.
Attached Thumbnails
wein bridge oscillator-aaesp02.gif  
__________________
Eric " Good enough is Perfect "
I will NOT answer PM's requesting technical help, please use the Forum
PIC tutorials: Nigel's www.winpicprog.co.uk/ Bill's: www.blueroomelectronics.com/
ericgibbs is offline  
Old 17th October 2009, 09:40 AM   #4
Default

hey eric

thank you so much for your replies and for your time=) i really appreciate it.


Quote:
The fact that it oscillates and produces a sort of sine wave in your sim, suggests its an artefact of your simulator, which sim is it.?
im using the Orcad Capture Lite Edition..
If it helps, i was using the L411 opamp but i just changed it to the uA741..using the latter, i got a square wave if R2 is exactly double R1 (Gain=3)
When i adjusted the gain higher by increasing R2, a sine wave was produced.
im actually kinda new at this stuff so im not too sure why i got a square wave if the gain was equal...
i understand that in practical-wise approach, if the loop gain =1 then there will be no oscillations unless i increase the gain slightly higher to overcome the dissipated power caused by resistors.
why is it a square wave output?

Quote:
Ref the 180deg phase query, as you maybe aware the INV input and OPA output are inverted, so its '180deg' phase shifted.
In an ideal OPA, amplified signals should not be phase shifted.
so there is a 180d shift thru the resistor network but none at 0d thru the OPAMP?
if so then how does the feedback signal get in phase?

thank you thank you X infinity so much again..
qtommer is offline  
Old 17th October 2009, 10:18 AM   #5
Default

hey eric, i know what the problem is about the DC offset...
i did not configure the Vcc and -Vcc correctly...apparently i was informed the wrong way on how to do it...haha...thank you so much...the graph is perfectly symmetrical

now i know why i got a sine wave because the amplitudes are clipped? thats why i need the amplitude control like diode bridge..is that correct?

im still in a blur about the phase shift ..haha=p..hopefully u cud help me understand that ..(refering to previous post)

once again my most deepest gratitude=)
qtommer is offline  
Old 17th October 2009, 10:30 AM   #6
Default

Quote:
Originally Posted by qtommer View Post
hey eric, i know what the problem is about the DC offset...
i did not configure the Vcc and -Vcc correctly...apparently i was informed the wrong way on how to do it...haha...thank you so much...the graph is perfectly symmetrical

now i know why i got a sine wave because the amplitudes are clipped? thats why i need the amplitude control like diode bridge..is that correct?

im still in a blur about the phase shift ..haha=p..hopefully u cud help me understand that ..(refering to previous post)

once again my most deepest gratitude=)
hi,
Must have auto gain control, a wire ended mini-lamp works well.

Look thru this OPA guide for the phase etc, useful pdf.
Attached Files
File Type: pdf opamps.pdf (273.2 KB, 27 views)
__________________
Eric " Good enough is Perfect "
I will NOT answer PM's requesting technical help, please use the Forum
PIC tutorials: Nigel's www.winpicprog.co.uk/ Bill's: www.blueroomelectronics.com/
ericgibbs is offline  
Old 17th October 2009, 03:46 PM   #7
Default

Quote:
From the feedback formula Avf= Ao/(1-Ao*beta)

why does a negative gain increase amplitude while a postive gain reduce amplitude? shouldnt it be the other way around?
or is my approach on the concept wrong?
Your concept is correct. When the the gain is sufficient to make the denomanator of your equation zero, then you have gain that increases without bound, which is what is requried for oscillations. An oscillator is basically an infinite gain element, as the equation clearly shows.
__________________
You don't need a quadraphonic Blaupunkt -- you need a curve
ball.
BrownOut is offline  
Old 17th October 2009, 04:45 PM   #8
Default

The frequency determining RC networks are a lowpass filter with lagging phase and a highpass filter with leading phase. The two phases cancel and produce no phase shift at the frequency where they have the same amount of loss and produce a peak with a loss of 3 times.
They produce positive feedback for the opamp.

The opamp is a non-inverting amplifier with no phase shift and a gain of slightly more than 3 times. Its amplitude will keep increasing until the output of the opamp clips the positive and negative peaks.
__________________
Uncle $crooge
audioguru is offline  
Old 17th October 2009, 06:03 PM   #9
Default

to eric:
thanks alot for the useful pdf and also thanks once again for helping me simulate the circuit.=)

to brownout:

thank you for your reply=)

Quote:
Your concept is correct. When the the gain is sufficient to make the denomanator of your equation zero, then you have gain that increases without bound, which is what is requried for oscillations. An oscillator is basically an infinite gain element, as the equation clearly shows.
yeah i understand that if the denominator is 0 then only will oscillations occur...due to infinite gain..
but if the gain is increased lets say to a gain of 4, the total gain would then become a -ve number..
Avf=4/{1-4(1/3)}
=-12

at a negative gain, why does the opamp still oscillate??


to audioguru:
thank you for your reply too=)

Quote:
The opamp is a non-inverting amplifier with no phase shift and a gain of slightly more than 3 times. Its amplitude will keep increasing until the output of the opamp clips the positive and negative peaks.
so is it safe to say that the opamp as well as the voltage divider resistor network produces no phase shifts?? cuz my lecturer says op amp produces 180 and the resistor network produces another 180 totalling 360 resulting in no phase shift..
qtommer is offline  
Old 17th October 2009, 06:45 PM   #10
Default

Quote:
yeah i understand that if the denominator is 0 then only will oscillations occur...due to infinite gain..
but if the gain is increased lets say to a gain of 4, the total gain would then become a -ve number..
Avf=4/{1-4(1/3)}
=-12
You're only considering the absolute value of the loop gain. In fact, the loop gain is a complex number. I won't go through all the math, but essentially, a negative loop gains indicates positive feedback, which then means we have infinite system gain, as we previously discussed.
__________________
You don't need a quadraphonic Blaupunkt -- you need a curve
ball.
BrownOut is offline  
Old 17th October 2009, 07:09 PM   #11
Default

Quote:
You're only considering the absolute value of the loop gain. In fact, the loop gain is a complex number. I won't go through all the math, but essentially, a negative loop gains indicates positive feedback, which then means we have infinite system gain, as we previously discussed.
is it because the imaginary part of the loop gain equal to 0 resulting in no phase shifts thus causing positive feedback?
qtommer is offline  
Old 17th October 2009, 08:27 PM   #12
Default

The imaginary part is not zero. The poles of the oscillator are complex conjugates. The point at which the loop equation goes negative is the point at which the feedback becomes positive. If you plotted the poles on an s-plane, you would see this.

Don't feel bad. I had to dig out my old text book and try to remember how this works.
__________________
You don't need a quadraphonic Blaupunkt -- you need a curve
ball.
BrownOut is offline  
Old 17th October 2009, 11:57 PM   #13
Default

It does not matter what your lecturer says because he is wrong.
The opamp, the two cascaded RC networks and the voltage divider resistor network produce no phase shift in this circuit.

Don't you have an oscilloscope? It will show that the phase at the output of the opamp is exactly the same as the phase at the (+) input of the opamp.
__________________
Uncle $crooge
audioguru is offline  
Old 18th October 2009, 03:08 AM   #14
Default

Did you the math for the feedback circuit? You should get, for 1 + AB:

1 + A*jw/RC/((jw)^2 + jw*3/RC + 1/(RC)^2)

Now, in your feedback equation, you have in the denominator:

(jw)^2 + jw*(3 - A)/RC + 1/(RC)^2

Now, the dominator dissapears for W = 1/RC, and A = 3. The poles are on the imaginary axis at this value of A, and the system is marginal unstable (which means it will almost oscillate). For largers values of A, that terms changes sign. Also, the poles of the expression are now in the right half-plane. Now, you have increasing positive feedback, and your system will oscillate even more.

A bode plot would show positive phase at frquencies lower than W, and negative phase at frequencies higher than W. Also zero phase at W = 1/RC.


Does that make sense? Sorry I can't plot the poles. Look up pole plots of 2nd order feedback networks.
__________________
You don't need a quadraphonic Blaupunkt -- you need a curve
ball.

Last edited by BrownOut; 18th October 2009 at 03:59 AM.
BrownOut is offline  
Old 18th October 2009, 04:34 PM   #15
Default

By BrownOut
Quote:
Did you the math for the feedback circuit? You should get, for 1 + AB:

1 + A*jw/RC/((jw)^2 + jw*3/RC + 1/(RC)^2)

Now, in your feedback equation, you have in the denominator:

(jw)^2 + jw*(3 - A)/RC + 1/(RC)^2

Now, the dominator dissapears for W = 1/RC, and A = 3. The poles are on the imaginary axis at this value of A, and the system is marginal unstable (which means it will almost oscillate). For largers values of A, that terms changes sign. Also, the poles of the expression are now in the right half-plane. Now, you have increasing positive feedback, and your system will oscillate even more.

A bode plot would show positive phase at frquencies lower than W, and negative phase at frequencies higher than W. Also zero phase at W = 1/RC.


Does that make sense? Sorry I can't plot the poles. Look up pole plots of 2nd order feedback networks.
thanks again..I am so sorry but my mathematical understanding of transfer functions is not solid yet because where i come from. they teach you how to derive but they do not explain its concept and its application in the circuit itself.its just plain number manipulation without understanding..
i might need some time to review it and digest...

however, i know how to derive the feedback transfer function to get 1/3 when w=1/RC..
and i understand that the poles are on the imaginary axis...

the transfer function ive worked out is

jwRC/[ 3jwRC +1 -(wRC)^2 ]

however from the formula you've shown me, i dont understand how the gain, A is connected into the transfer function equation as well..
really sorry..hope ull be patient with me...

By audioguru:
Quote:
It does not matter what your lecturer says because he is wrong.
The opamp, the two cascaded RC networks and the voltage divider resistor network produce no phase shift in this circuit.

Don't you have an oscilloscope? It will show that the phase at the output of the opamp is exactly the same as the phase at the (+) input of the opamp
thank you for your reply...I understand that the final phase shift is 0...but for instance lets say the RC lead-lag network...there is a lag and lead in phase thus resulting in a final 0 phase shift(so there is phase shifting "along the way")..im interested to know the "along the way" process wheter there is any phase shifting..so is it safe to say that the opamp and voltage divider resistor networks produce no phase shifts "along the journey"?

++++++++++++++++++++++++++++++++++++++++++++++++++ +++++++

in other news, ive just done a simulation of the wien brige now with amplitude stabilization using a diode bridge. from my simulation results i notice that the oscillatory start up from a small wave signals to a large constant wave is much faster compared to when there is no amplitude stabilization...

ive also noticed that the sine wave is still clipped at the top and bottom edges even with the diode bridge.

Does this mean that the purpose of amplitude stabilization is NOT to ensure that the sine wave edges are distorted (clipped) but it IS to ensure that a sine wave with constant amplitude is generated right from the start without waiting for it to have to grow?

Thank you all so much
qtommer is offline  
Reply

Tags
bridge, oscillator, wein

Thread Tools
Display Modes


Similar
Title Starter Forum Replies Latest
Transfer Function of Wein Bridge Oscillator furrycow General Electronics Chat 0 12th January 2008 06:10 PM
Wien-bridge oscillator questions hadoque Datasheet/Parts Requests 64 23rd December 2007 05:41 PM
How does wien-bridge oscillator works?? Hey!to-learn General Electronics Chat 4 7th February 2007 05:21 PM
Wein Bridge Oscillator bananasiong Electronic Projects Design/Ideas/Reviews 45 15th November 2006 10:14 PM
Need help with wien-bridge oscillator headbuttking2 General Electronics Chat 3 27th March 2006 03:33 AM



All times are GMT. The time now is 06:19 AM.


Electronic Circuits  |  Learning Electronics
eXTReMe Tracker