Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > General Electronics Chat


General Electronics Chat This forum is for general chat about electronics, eg: Dont know what a part does? Dont know how to read a circuit? Want to get an opinion?

Reply
 
LinkBack Thread Tools Display Modes
Old 1st April 2004, 02:50 AM   (permalink)
Default How can I convert a square wave to sine wave??

I have 12V@60Hz input square wave and wanted to convert into a sine wave. Can anybody tell me how can I do that? What kind of filter I should use ( Lowpass, bandpass filter)??
Thank you.
kken6248 is offline  
Old 1st April 2004, 03:06 AM   (permalink)
Default

Well, your fundamental is at 60Hz, then you have harmonics at multiples of 60Hz. When added, you get a square wave. Therefore, you need a low pass filter to get just the fundamental component. Depending on how much distortion you can tolerate in the output wave, you might need a 2nd or higher order filter since 120 and 60 (for example) are close together.
crust is offline  
Old 1st April 2004, 08:23 AM   (permalink)
Default

it would be alot easier to do with a triangle wave?

If you integrate a square wave you will get a triangle wave. Then filter it, but the harmonics are not just the Odd as in a square, they are the odd^2 thus bigger gaps between harmonic => easier to filter.

Remember to AC couple the output
Styx is offline  
Old 1st April 2004, 08:38 AM   (permalink)
Default Re: How can I convert a square wave to sine wave??

Quote:
Originally Posted by kken6248
I have 12V@60Hz input square wave and wanted to convert into a sine wave. Can anybody tell me how can I do that? What kind of filter I should use ( Lowpass, bandpass filter)??
Thank you.
This sounds to me rather like a power conversion (using an inverter), rather than a simple signal - would that be so?.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is online now  
Old 1st April 2004, 12:44 PM   (permalink)
Default

Do u guys have any circuit I could use?? Passive or acive?? Thank you
kken6248 is offline  
Old 1st April 2004, 02:50 PM   (permalink)
Default

That depends on how you are using it. If you just want a low power signal that you can feed to an amplifier or something, then you can search the internet for op-amp low pass filter or RC low pass filter. Again, your application is important. If this is a higher power part of the system, then you will need a similar approach, but the choice of components will be more limited.
crust is offline  
Old 1st April 2004, 04:27 PM   (permalink)
Default

I built a passive lowpass filter a resistor series with a capacitor, but it give me like a triangle wave, so then I built a bandpass filter using a resistor in series with a capacitor parallal with a inductor, but still give me a triangle wave.
kken6248 is offline  
Reply

Bookmarks

Thread Tools
Display Modes





All times are GMT. The time now is 11:06 AM.


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

eXTReMe Tracker