sinus generator circuit
johnymo said:
Hi, I have got a problem with my sinus generator based ona a Wien schematic and amplifier,that should work between 1Hz and 20kHz, I've tried everything,
I need to get Total Haramonic Disortion <1% and this is my main problem:/
1.) Should the oscillator be tunable between 1Hz and 20 kHz ? This will be very difficult to realize !
2.) Even if tuning is not required, the rectifying circuit has to be redesigned for low, medium and high frequencies because the RC time constant should be at least 20..50 times the oscillation period.
3.) This part of the circuit will contribute to the THD if this requirement (as mentioned above) is not fulfilled.
4.) Another possible source of non-linearity is the FET as the amplitude across drain and source must not exceed (let´s say) 0.5 volts. This peak value should be as low as possible. On the other side, the FET has to control the whole circuit and to settle the amplitude within a certain time. That means, you have to find an optimum compromize. And that´s another argument against tuning over such a broad range.
5.) In summary: Designing an oscillator for different frequencies with tight requirements for THD is a difficult task which requires compromizing.
Added after 19 minutes:
Added 15 minutes later:
For the present design as given in the diagram, gate voltage varies by app. 150 mV !
Clearly, this is the reason for distortions. Increase the rectifier time constant !
As a general hint: Watch the gate voltage during simulation. It should be as constant as possible !!
Added after 3 hours 10 minutes:
Hi Johnymo,
just now I have discovered that you have tried to linearize the FET with R7 and R8.
Remove R8 and increase the rectifying cap by a factor of 5..10 - and you will have a nearly perfect oscillator.
The effect of R7 and R8 is contra-productive if the divider ratio is not carefully calculated including the rectified voltage.
I think, if the voltage across the FET is not larger than 100mV it is not neccessary to linearize the FET.