Jump to content
Electronics-Lab.com Community

square wave to sine wave converter


Recommended Posts


Hi Gauri,
Just filter out all the harmonics and you'll be left with the fundamental frequency which is a perfect sine-wave.
I have used a switched-capacitor low-pass filter IC and it worked very well. National Semi used to make some but they are obsolete now. Go to www.maxim-ic.com and you will see many.

Link to comment
Share on other sites

If you send a square wave through an integrator, you should get a triangle out. Sending that through a second integrator should give you something a sine wave with pointy peaks. I think the Exar chip ends the quest here. One more stage may improve the wave noticably.

You'll have to correct for gain vs. frequency, but the concept is there.

Link to comment
Share on other sites

How do you get the output of an oscillator to produce a sinewave? I believe the ouput of an oscillator is more like a triangle. What we need is a sinewave generator instead of turning a square wave into a sinewave. I don't think it is possibe but I will continue to investigate.

http://www.interq.or.jp/japan/se-inoue/e_ckt18.htm

The complicity of this circuit leads me to believe that it does indeed produce a sinewave. The question is why must they use so many components to accomplish this task. The whole point to not just oscillate, but to produce the DC that is required. I think it has something to do with lag and nonresposiveness. Whenever you have a circuit that is idle, you have a DC. This means that you have an increase somewhere that is not producing the increase elsewhere. An idle circuit.

Link to comment
Share on other sites

Hi Kevin,
The circuit that you posted is a common Wien Bridge Oscillator, that produces a sine-wave by using positive feedback around the 1st opamp by the bandpass-filter of the equal RC networks (the Wien Bridge). The 1st opamp's negative feedback resistors of R3, R4 and the FET give it a gain of 3 to make-up for the loss in the Wien Bridge network.
The 2nd opamp is simply a filtered full-wave rectifier and its output controls the resistance of the FET for amplitude control. The circuit oscillates with a stable frequency that is at the maximum output frequency of the bandpass filter.
A problem with Wien Bridge Oscillators is output amplitude bounce when the frequency is changed, and when they are first turned-on. Since the rectifier's output is filtered, it is delayed and the circuit's output amplitude takes time to settle.

Years ago, Wien Bridge Oscillators used a simple lightbulb for amplitude control (Hewlett-Packard's very 1st product was a Wien Bridge Oscillator with a lightbulb). If the output amplitude increased, the lightbulb would get more power and its resistance would increase, which also increased the negative feedback resulting in reduced gain and the amplitude would be decreased back down to normal. It too had amplitude bounce because a lighbulb is slow to react. I had one that bounced for minutes when its output frequency was 10Hz.

The circuit's DC operating point is simply 0V (it has a dual supply) by the 0V reference for the 1st opamp through R1, like all opamp linear circuits.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
  • Create New...