sine oscillator for audio/lfo

Thread Starter

1680sean

Joined Jun 24, 2012
10
I have been working on some op amp oscillators lately and really struggling with the sine. I had a wien bridge running but I want to control frequency with one dual ganged pot (or just a single pot, if possible). Can this be achieved by simply putting another integrator on a triangle oscillator and connecting the output to the negative input of the schmitt trigger? It works in this simulator applet but not on my breadboard, although I'm using tl082's so not a big surprise.
Any suggestions on how to make this work i.e. opamps, virtual grounds, different circuits altogether?
I've also got 741's, 324's, npn's, and pnp's.
 

Attachments

t06afre

Joined May 11, 2009
5,934
I have been working on some op amp oscillators lately and really struggling with the sine. I had a wien bridge running but I want to control frequency with one dual ganged pot (or just a single pot, if possible). Can this be achieved by simply putting another integrator on a triangle oscillator and connecting the output to the negative input of the schmitt trigger? It works in this simulator applet but not on my breadboard, although I'm using tl082's so not a big surprise.
Any suggestions on how to make this work i.e. opamps, virtual grounds, different circuits altogether?
I've also got 741's, 324's, npn's, and pnp's.
This is how you can connect two 9 volt batteries or some other voltage sources to get a dual supply

I will also recommend reading this ebook
http://focus.ti.com.cn/cn/lit/an/slod006b/slod006b.pdf
 

Audioguru

Joined Dec 20, 2007
11,248
ANY opamp will work from a single-polarity supply. Instead of using two batteries to make a dual-polarity supply simply use two resistors to bias the opamps at half the supply voltage like shown in the project that was posted.
 

DeanHuster

Joined Jul 4, 2012
3
The problem with using a pot to vary the frequency is noise and linearity. A truly linear pot is needed to make a decent frequency dial with good repeatability and freedom from goofed-up dial markings if the pot has to be replaced. And a truly linear pot is a wirewound pot which, good though they are, have jumps from value-to-value as they're rotated and unless you have a "fine" frequency adjust pot with a much lower value (with a "calibrated" position), it would be difficult to adjust to an exact frequency to null out notch filterd or peak out bandpass filters with narrow bandpasses.

A great solution to this is to use a FET-input op amp with high value timing resistors (switch THESE for range switching) and use an air variable capacitor to adjust the frequency instead of a pot. No, it's not linear. But is doesn't have "steps" as you adjust the frequency and it doesn't get "noisy". Hewlett-Packard (Agilent) used this technique on their 200CD audio oscillators they made in the 1960s. They worked great and you could bend plates on the cap to get the frequency dial to track dead-on.
 

Audioguru

Joined Dec 20, 2007
11,248
I have a Wien Bridge oscillator I made using a TL071 Jfet-input opamp and a dual 365pF variable capacitor used in old AM radios (does anybody make an AM radio anymore?).
It uses a Jefet for amplitude stability and its distortion is fairly low.

I have an extremely low distortion oscillator that makes a sine-wave with 10 steps then a switched-capacitor lowpass filter IC that smoothes the steps so there are no harmonics.
 

Thread Starter

1680sean

Joined Jun 24, 2012
10
Thanks for the suggestions. Yeah i'm starting to realize how terrible the pots from radioshack are. Has anyone had any luck building their own variable capacitor? All I have are some variable inductors in an old vcr. Are their any oscillators with just inductors and resistors?
 
They're getting harder to find, but there are still variable caps to be had. Try Antique Electronic Supply (http://www.tubesandmore.com ) and grab some 365pF versions (they had two sections -- 365pF and another around 150pF and you can parallel them) that were used in a lot of AM radios. I have a communications receiver that uses a triple 365pF main tuning cap and that would be even better, but harder to find.

I checked to make sure the link worked -- it does -- and I notice that AES has a triple 365pF unit. Of course, it ain't cheap.
 
Last edited:

Thread Starter

1680sean

Joined Jun 24, 2012
10
So if the sections are different doesn't that mean it wouldn't work in a wien bridge oscillator? I imagine the three section has the same values. That would be great for a phase shift oscillator, right? I think I found one in a radio. It's a square box, about 3cm with a big wheel operated by a belt attached to the tuning knob.
 

daviddeakin

Joined Aug 6, 2009
207
A pot works perfectly well for basic applications. You may be over thinking this, depending on what you're actually trying to do (?).

Variable capacitors are great for high precision instruments, but if you just want a low distortion sine oscillator and you're not too worried about long-term stability, then a pot is fine.
 

Thread Starter

1680sean

Joined Jun 24, 2012
10
I just want a sine wave for my ring modulator that's symmetrical and doesn't clip. I haven't yet found a triangle-to-sine diode network type circuit that looks or sounds right so I'd prefer something else.
 

THE_RB

Joined Feb 11, 2008
5,438
I'll apologise as this may be off topic, but if you are mainly interested in building a sine generator that will work well (rather than building one for a learning experience) here is a microcontroller based one that does a pretty good audio quality sine and has the benefit of being xtal locked so once set to a frequency you will get an exact and stable frequency until you change it.

Also the frequencies are xtal locked in actual Hz steps, so you can set it to exactly 1000Hz, 1010Hz, 1020Hz etc.



http://www.romanblack.com/onesec/SineDDS.htm

(edit) Sorry I forgot to mention it also does square, triangle, sawtooth waves as well.
 
Top