Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > Electronic Projects Design/Ideas/Reviews


Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution.

Reply
 
LinkBack Thread Tools Display Modes
Old 8th February 2008, 06:19 AM   (permalink)
Default Need to make a triangle to sine wave converter

Hey everyone, I need to build a triangle to sine wave converter. Honestly I'm completely lost. Does anyone have any ideas? I would really appreciate any advice or suggestions you could give me. Thanks.
TheJokerV is offline  
Old 8th February 2008, 06:27 AM   (permalink)
Default

Quote:
Originally Posted by TheJokerV
Hey everyone, I need to build a triangle to sine wave converter. Honestly I'm completely lost. Does anyone have any ideas? I would really appreciate any advice or suggestions you could give me. Thanks.
A triangle wave is very very close to a sine wave. A 30kHz triangle wave is pretty much a 30kHz sine wave with a few other harmonics (sine waves of higher frequencies that are multiples of the fundamental frequency added into it).

So all you really need is a filter with a cutoff frequency that is higher than the frequency of the triangle wave, but not too high so it can supress the higher frequency sine-waves that make up the triangle wave so you are only left with the lowest one.
http://en.wikipedia.org/wiki/Triangle_wave

But is the sine-wave input a constant frequency? Or can it vary considerably? If it does, then you will need to be able to change the cut-off frequency for your filter which might make things a bit harder. I'm thinking of something that detects when the triangle wave crosses zero to figure out the frequency of the sine-wave in order to automatically set the cut-off frequency of the filter, but I have a feeling this is really over complicating things. SOmeone else may be able to help you more.

It's the same for a square wave. You filter out enough frequencies, and you end up with the fundamental sine-wave whose period will be the same as the original square wave.

EDIT: You've learned about the Fourier series right? How every signal is a bunch of sine waves of different frequencies and amplitudes added up properly?

Last edited by dknguyen; 8th February 2008 at 06:31 AM.
dknguyen is offline  
Old 8th February 2008, 06:41 AM   (permalink)
Default

Well the thing is that the input will be a constant-frequency triangle wave and the output has to be a sine wave. What do I do in this case? I can't filter out voltage fromt he sine wave right? Also what kind of filter would you suggest?

Last edited by TheJokerV; 8th February 2008 at 06:51 AM.
TheJokerV is offline  
Old 8th February 2008, 10:24 AM   (permalink)
Default

Quote:
Originally Posted by TheJokerV
Hey everyone, I need to build a triangle to sine wave converter. Honestly I'm completely lost. Does anyone have any ideas? I would really appreciate any advice or suggestions you could give me. Thanks.
Google for 'breakpoint method' or 'sine wave shaper'. Basically these circuits are operational amplifiers with diode/resistor networks in the feed-back loop. Each diode turns on when the input voltage (triangle) reaches a 'breakpoint'. In practice, this changes the close loop gain of the op amp in function of the input voltage.
The output voltage (sine) can be filtered (the same stage can do that, a 1st order pole is fine), achieving low distortion (say < 3% typically).
eng1 is offline  
Old 9th February 2008, 12:42 AM   (permalink)
Default

If it's a fixed frequency, then a simple RC filter will do fine.
__________________
I also post at the following sites:
http://www.stop-microsoft.org http://www.heated-debates.com
Screen name: Aloone_Jonez
And http://www.silicontronics.com, same screen name as here.
Hero999 is offline  
Reply

Bookmarks

Thread Tools
Display Modes



Similar Threads
Title Starter Forum Replies Latest
Square wave to sine wave converter ghauri Electronic Projects Design/Ideas/Reviews 24 21st October 2008 06:23 AM
Converting a square wave into sine wave using a D/A converte khalifemazen Electronic Projects Design/Ideas/Reviews 6 21st May 2008 11:21 PM
triangle wave with single power supply? mabauti Electronic Projects Design/Ideas/Reviews 4 21st December 2007 04:32 AM
sine wave to sawtooth wave mabauti Electronic Projects Design/Ideas/Reviews 5 30th November 2007 06:22 AM
How do I make a DC-AC converter for on the go? helpmeplz Electronic Projects Design/Ideas/Reviews 2 10th December 2002 11:45 AM



All times are GMT. The time now is 07:29 AM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.

eXTReMe Tracker