CrazyEngineers Forum

Turn The Screws!

Open your eyes, look in front, look at the back, look at any angle and you will see something that is an engineer's creation.

Engineers have been making things possible that others could only imagine. It perfectly makes sense to have a common place for engineers from around the world where they can share ideas, innovate, & help each other. Engineers are eternal, with the younger at 62 & the youngest at 17, the CEan gang consists of working professionals, students, entrepreneurs, CEOs, professors, geeks & nerds.

Need we say more? Click Here To Join The Gang!
Navigation
Go Back   CrazyEngineers Forum > CE : Technical Discussions > Electrical & Electronics Engineering
Reply

  #1 (permalink)
Old 21st June 2008, 02:13 PM
CE - Newbie
 
I'm a Crazy Mechanical Engineer
Join Date: 21st June 2008
Posts: 3
Default square wave -->sine using passive bandpass filter

Hi,

I'm designing a circuit that will take a square wave generated by a microprocessor and feeds it through a bandpass filter to get a sine wave. The application will be to provide a tone for morse code to a handheld ham radio on board a small satellite. Right now im considering remaining simple by using a 1st order passive bandpass filter that uses a capacitor and inductor in series. Assuming this I have a few questions.

1) How should I choose the impedance of the bandpass filter? I do not know the impedance of the GPIO of the microprocessor. Does this impedance matter much?

2) What is the difference between the parallel and series configuration for the passive 1st order bandpass filter?

3) Should I filter more to get a truer sine wave? Any experienced hammers out there? I will be transmitting the morse code tone from a ham radio from a 400km orbit (LEO). I will then feed the tone through a morse decoder to convert the morse to text using a freeware program.

4) Finally, I wanted to use a passive filter to save power, however, I'm open to an active filter that uses an opamp. Are there any advantages to this?

Any guidance would be greatly appreciated!

Thanks,
Windell
windell747 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored links
  #2 (permalink)
Old 21st June 2008, 06:14 PM
CE - Regular Member
 
reachrkata's Avatar
 
I'm a Crazy Electronics Engineer
Join Date: 4th November 2006
Posts: 74
Lightbulb Re: square wave -->sine using passive bandpass filter

Hi Windell,

To answer your questions -

1) IMO there should be no influence of impedance of the filter on the microprocessor. Just make sure that the impedance is not too low to exceed the Max port source current of the processor

2) Series LC normally is used in band pass filtering, while parallel LC is band reject.

3) Yes of course, the more you filter the more closer the output is to a true sine. But from theory its never possible to get a true sine just by filtering a square wave.

4) No particular advantage, except that you can add in a gain component to the filter to get a higher output. An active filter can also support higher loads.

My suggestion - If your need is to get a proper sine output, I would suggest to use an oscillator triggered with the square wave. That way you have a pure sine at Level HIGH and no output at Level LOW of the square wave.
Another idea is to use a VCO, by which you have say sine output of frequency f1 for Level HIGH and f2 for Level LOW.

- Karthik
reachrkata is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)
Old 22nd June 2008, 06:35 AM
CE - Newbie
 
I'm a Crazy Mechanical Engineer
Join Date: 21st June 2008
Posts: 3
Default Re: square wave -->sine using passive bandpass filter

How do I calculate the gain of a passive series LC filter? Is it just the coefficient, 4/pi * square wave peak amplitude, of the forier transform of the square wave?
windell747 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)
Old 25th June 2008, 11:32 PM
CE - Regular Member
 
reachrkata's Avatar
 
I'm a Crazy Electronics Engineer
Join Date: 4th November 2006
Posts: 74
Default Re: square wave -->sine using passive bandpass filter

I don't think its that simple.
The gain of the circuit is 1/(impedance of LC circuit)
So depending in the LC, the gain would be the highest at the center frequency of the filter (assuming narrow band filter design).
Of course the gain is also different for different frequencies.

So depending on which sine wave frequency you need at the output the gain is to be calculated.
reachrkata is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored links
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +5.5. The time now is 03:29 PM.
Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Member comments are owned by the poster. Copyright © 2005-2008 CrazyEngineers.com. All rights reserved.Ad Management by RedTyger