help building a variable sine wave generator

Thread Starter

pkennedy

Joined Feb 27, 2009
44
hey everyone I am new to the forum and would like any information on building a function genarator. I would like to have a schematic to follow because I am fairly new to electronics to.any help would be appreciated.
 

onlyvinod56

Joined Oct 14, 2008
369
Hi
i have xr2206. I want three sine waves, each have a phase shift of 120 deg.
Is there any simple technique to get this?
from this forum i came to know that using RC components we can achieve this.
I have simulated this in PSIM. but the voltages of three phases are going different.

check the attachment. i need to construct that. can anybody help me to get the three ac voltages?
 

bertus

Joined Apr 5, 2008
22,270
Hello onlyvinod56,

What you are doing now is hyjacking.
The answer can be found in the PDF thingmaker3 pointed pkennedy to.

Greetings,
Bertus
 

onlyvinod56

Joined Oct 14, 2008
369
Hello onlyvinod56,

What you are doing now is hyjacking.
The answer can be found in the PDF thingmaker3 pointed pkennedy to.

Greetings,
Bertus
hello bertus,
I have seen the thingmaker link. But all those oscillators are manually controllable. I need to control the frequency of the oscillator by giving a controlled volatge to a certain pin.

http://www.educypedia.be/electronics/spwmsimulation.htm

I dont know any method to control the frequency with a voltage for the collpits, hartley, RC phase shift oscillators etc.,
 

bertus

Joined Apr 5, 2008
22,270
Hello,

Here is the adapted circuit from the PDF pointed by thingmaker3.



To make the frequency variable you can place a analog switch (like a 4066) with a lower resistor parallel to the frequency determing resistors.
By pulsing the 4066 with a high frequency PWM (about 100-1000 times the wanted frequency) the effective resistance will change with the pulswidth.

Greetings,
Bertus
 

Attachments

Last edited:

Thread Starter

pkennedy

Joined Feb 27, 2009
44
please forgive my ignorance but i didn't find a variable frequency sine wave generator
except for the three phase one and I should have said before but I need one that will vary from about around 5 to 10 Hz to maybe 1Khz I will be using it to run leds and small buzzers.It will be mainly for school projects and will never be for any big load
I know I could buy one but I would really like to build one myself.And ic circuit would be fine if I could have a way to very the frequency and what would the source signal have to be?
 

Wendy

Joined Mar 24, 2008
23,415
If you want to experiment here is a design I haven't tried yet, but will eventually. One of my long term projects is to come up with a simple function generator similar to what you describe, but I'm currently working on the long durration flashing LED articles.



Use blue or white LEDs, I'm using them for the voltage drop, or zener diodes. R1 and R2 can be 1KΩ, and the 5KΩ is adjusted for the best sine wave approximation.
 

Attachments

Thread Starter

pkennedy

Joined Feb 27, 2009
44
thanks I am going to start building this right now and sorry about my previous statement I didn,t scroll down far enough on one of the links given on the thread.sorry bertus
 

Thread Starter

pkennedy

Joined Feb 27, 2009
44
I built the circuit but i dont see oscillation on the scope.what value do i need for the cap after the taransistors?I see the formula but don,t really no what baseline to start from my value may be way off and that may be the problem.bothe leds light up though
 

Thread Starter

pkennedy

Joined Feb 27, 2009
44
i am using a 6 volt source to Vcc.the board i am using has a built in power supply from dry cell batteries it has differant supply voltages to choose from if that helps
 

Thread Starter

pkennedy

Joined Feb 27, 2009
44
okay I am getting a sine wave and a square wave but the triangle wave (node b)is also a sine wave?but I still got what I asked for plus a little more so I appreciate the help
 

bertus

Joined Apr 5, 2008
22,270
Hello,

What frequency are you using ?
What type of opamp are you using ?
If the bandwith of the opamp is not large enough the output B can be distorted.

Greetings,
Bertus
 

Thread Starter

pkennedy

Joined Feb 27, 2009
44
I used the schematic on this thread posted by bill.a 272 op-amp
I want a low frequency from about 10 hz to 1khz
 
Top