If you need assistance, please send an email to forum at 4hv dot org. To ensure your email is not marked as spam, please include the phrase "4hv help" in the subject line. You can also find assistance via IRC, at irc.shadowworld.net, room #hvcomm.
Support 4hv.org!
Donate:
4hv.org is hosted on a dedicated server. Unfortunately, this server costs and we rely on the help of site members to keep 4hv.org running. Please consider donating. We will place your name on the thanks list and you'll be helping to keep 4hv.org alive and free for everyone. Members whose names appear in red bold have donated recently. Green bold denotes those who have recently donated to keep the server carbon neutral.
Special Thanks To:
Aaron Holmes
Aaron Wheeler
Adam Horden
Alan Scrimgeour
Andre
Andrew Haynes
Anonymous000
asabase
Austin Weil
barney
Barry
Bert Hickman
Bill Kukowski
Blitzorn
Brandon Paradelas
Bruce Bowling
BubeeMike
Byong Park
Cesiumsponge
Chris F.
Chris Hooper
Corey Worthington
Derek Woodroffe
Dalus
Dan Strother
Daniel Davis
Daniel Uhrenholt
datasheetarchive
Dave Billington
Dave Marshall
David F.
Dennis Rogers
drelectrix
Dr. John Gudenas
Dr. Spark
E.TexasTesla
eastvoltresearch
Eirik Taylor
Erik Dyakov
Erlend^SE
Finn Hammer
Firebug24k
GalliumMan
Gary Peterson
George Slade
GhostNull
Gordon Mcknight
Graham Armitage
Grant
GreySoul
Henry H
IamSmooth
In memory of Leo Powning
Jacob Cash
James Howells
James Pawson
Jeff Greenfield
Jeff Thomas
Jesse Frost
Jim Mitchell
jlr134
Joe Mastroianni
John Forcina
John Oberg
John Willcutt
Jon Newcomb
klugesmith
Leslie Wright
Lutz Hoffman
Mads Barnkob
Martin King
Mats Karlsson
Matt Gibson
Matthew Guidry
mbd
Michael D'Angelo
Mikkel
mileswaldron
mister_rf
Neil Foster
Nick de Smith
Nick Soroka
nicklenorp
Nik
Norman Stanley
Patrick Coleman
Paul Brodie
Paul Jordan
Paul Montgomery
Ped
Peter Krogen
Peter Terren
PhilGood
Richard Feldman
Robert Bush
Royce Bailey
Scott Fusare
Scott Newman
smiffy
Stella
Steven Busic
Steve Conner
Steve Jones
Steve Ward
Sulaiman
Thomas Coyle
Thomas A. Wallace
Thomas W
Timo
Torch
Ulf Jonsson
vasil
Vaxian
vladi mazzilli
wastehl
Weston
William Kim
William N.
William Stehl
Wesley Venis
The aforementioned have contributed financially to the continuing triumph of 4hv.org. They are deserving of my most heartfelt thanks.
Registered Member #16
Joined: Thu Feb 02 2006, 02:22PM
Location: New Wilmington, PA
Posts: 554
Yes and no. It is possible to make something pretty close to a sine wave.
Since you can't achieve a perfect 50% duty cycle with a 555, you can't achieve a perfect sine wave. However, by getting as close as possible to 50%, and filtering the output with a couple of chebychev or similar low-pass op amp filters, you get something pretty darn close to sine wave.
This works because a square wave is basically a number of sine waves (the fundamental frequency plus its harmonics) all wrapped together. By filtering out the harmonics, you're left with the single sine wave at the fundamental frequency.
Registered Member #152
Joined: Sun Feb 12 2006, 03:36PM
Location: Czech Rep.
Posts: 3384
Dave Marshall wrote ...
Since you can't achieve a perfect 50% duty cycle with a 555, you can't achieve a perfect sine wave. However, by getting as close as possible to 50%, and filtering the output with a couple of chebychev or similar low-pass op amp filters, you get something pretty darn close to sine wave.
Well if you were going to use a "couple of" op-amps, you can as well make a sine wave oscillator with just a single op amp. And it will be a nearly perfect sine wave.
Registered Member #1819
Joined: Thu Nov 20 2008, 04:05PM
Location:
Posts: 137
Dave Marshall wrote ... Since you can't achieve a perfect 50% duty cycle with a 555, you can't achieve a perfect sine wave. However, by getting as close as possible to 50%, and filtering the output with a couple of chebychev or similar low-pass op amp filters, you get something pretty darn close to sine wave. Dave
It is possible to achieve an exactly 50% duty cycle with the 555; just put a diode (1N914 or similar) with cathode to pin 2 and anode to pin 7. Making the 2 resistor values equal gives a duty cycle of very close to 50% (varies with resistor tolerance, so I recommend using Xicon's 271-XX-RC 1% metal film resistor series).
You can then use a capacitor-based low pass filter, but an LC filter will be much more effective at eliminating harmonics.
But as Dr. Kilovolt said, it's better to make an op-amp based sine wave oscillator. However, I prefer the phase shift oscillator (it's on Wikipedia) because I think it's simpler and easier to get working. It requires only an op-amp and a handful of passives.
Registered Member #1951
Joined: Sun Feb 01 2009, 01:59PM
Location:
Posts: 105
really thanks for replying ;P i asked because i have toooooo much ne555's laying around XD i have two high-speed comparator's can't i use them instead, or do it need to be op-amps? if so are the lm386 good for this?
Registered Member #193
Joined: Fri Feb 17 2006, 07:04AM
Location: sheffield
Posts: 1022
If you run two 555 square waves with similar frequebncies into a comparator then low pass filter the output you get a sine wave with a frequency equal to the difference in frequency between the two 555s. The heterodyne oscilator or beat frequency generator. This is usually a daft way to generate a sinewave- unless you happen to have lots of 555s and lots of comparators
Registered Member #152
Joined: Sun Feb 12 2006, 03:36PM
Location: Czech Rep.
Posts: 3384
Bored Chemist wrote ...
If you run two 555 square waves with similar frequebncies into a comparator then low pass filter the output you get a sine wave with a frequency equal to the difference in frequency between the two 555s. The heterodyne oscilator or beat frequency generator. This is usually a daft way to generate a sinewave- unless you happen to have lots of 555s and lots of comparators
Registered Member #30
Joined: Fri Feb 03 2006, 10:52AM
Location: Glasgow, Scotland
Posts: 6706
The "industry standard" way of doing this is to use switched current sources to make the 555 generate a triangle wave on its timing capacitor, instead of the usual exponential sawtooth. An overdriven transistor long-tailed pair is then used to "soft clip" the triangle wave into a sine wave.
This is mathematically exact, because the transfer function of a long-tailed pair is tanh something or other. In practice you can make it work with about 1% distortion. It works over a very wide frequency range without adjustment, unlike all of the proposed schemes here using filters.
It's also how the sinewave output works on function generator chips like the ICL8038 and MAX038.
This site is powered by e107, which is released under the GNU GPL License. All work on this site, except where otherwise noted, is licensed under a Creative Commons Attribution-ShareAlike 2.5 License. By submitting any information to this site, you agree that anything submitted will be so licensed. Please read our Disclaimer and Policies page for information on your rights and responsibilities regarding this site.