DSPRelated.com
Forums

Filters SOS!!

Started by deepak March 7, 2005
Hi! All,

Well I'm very new to the concept of DSP. I have been mainly working on
ERP softwares but now recently got to work on a hardware. I need urgent
help from u all guys out there. Please consider this mail as an SOS.

Let me explain the situation, I have a hardware which sends data to be
through COM port. The sampling rate is 500 Hz. Now i need to develop
low pass filter and high pass filters for it in the software. I don;t
know where to start from!!! :(

Also the need is that some filters will be predefined but some can be
user defined too. So need to build some logic that end user can specify
any value for filter and it must work.

I have to complete this job within 2-3 days so please consider this
message as SOS.

Any help is appriciated. Also I need to do this all in VB 6.0, so if
anyone has some code sample, please send me across.

Regards

A desprate caller!!

deepak wrote:
> Hi! All, > > Well I'm very new to the concept of DSP. I have been mainly working on > ERP softwares but now recently got to work on a hardware. I need urgent > help from u all guys out there. Please consider this mail as an SOS. > > Let me explain the situation, I have a hardware which sends data to be > through COM port. The sampling rate is 500 Hz. Now i need to develop > low pass filter and high pass filters for it in the software. I don;t > know where to start from!!! :( > > Also the need is that some filters will be predefined but some can be > user defined too. So need to build some logic that end user can specify > any value for filter and it must work. > > I have to complete this job within 2-3 days so please consider this > message as SOS. > > Any help is appriciated. Also I need to do this all in VB 6.0, so if > anyone has some code sample, please send me across. > > Regards > > A desprate caller!!
You don't say how sharp the filters need to be. Try the ones at http://www.harmony-central.com/Computer/Programming/Audio-EQ-Cookbook.txt Jerry -- Engineering is the art of making what you want from things you can get. �����������������������������������������������������������������������
that's the problem, I don;t have any idea about filters (DSP) I'm
totally new to it.

I only have details to implement a 50Hz notch filter, Lowpass filter of
7.5, 15 and 30 Hz and a HPF of 1,2,4 and DC.

So please guide me how to go forward for it.

I searched for VB/C codes on internet but off no use. So need to know
something very soon to implement this.

Regards
Deepak

"deepak" <erpsoftware@gmail.com> wrote in message
news:1110219368.175218.299170@o13g2000cwo.googlegroups.com...
> that's the problem, I don;t have any idea about filters (DSP) I'm > totally new to it. > > I only have details to implement a 50Hz notch filter, Lowpass filter of > 7.5, 15 and 30 Hz and a HPF of 1,2,4 and DC. > > So please guide me how to go forward for it. > > I searched for VB/C codes on internet but off no use. So need to know > something very soon to implement this. > > Regards > Deepak
Well...I'm sorry to say this but you might as well give up given your time constraints. It'll take you atleast 2-3 days just to understand what you need to do. If that's how long you have been given to do this (given your lack of any background), I'd blame your boss for being a poor manager. Given your problem description - a few weeks is more appropriate. I'd recommend the use of a good DSP consultant who can pretty do the whole thing for you in a short period of time. Cheers Bhaskar
On Mon, 7 Mar 2005 10:34:39 -0800, "Bhaskar Thiagarajan"
<bhaskart@deja.com> wrote:

>"deepak" <erpsoftware@gmail.com> wrote in message >news:1110219368.175218.299170@o13g2000cwo.googlegroups.com... >> that's the problem, I don;t have any idea about filters (DSP) I'm >> totally new to it. >> >> I only have details to implement a 50Hz notch filter, Lowpass filter of >> 7.5, 15 and 30 Hz and a HPF of 1,2,4 and DC. >> >> So please guide me how to go forward for it. >> >> I searched for VB/C codes on internet but off no use. So need to know >> something very soon to implement this. >> >> Regards >> Deepak > >Well...I'm sorry to say this but you might as well give up given your time >constraints. It'll take you atleast 2-3 days just to understand what you >need to do. If that's how long you have been given to do this (given your >lack of any background), I'd blame your boss for being a poor manager. >Given your problem description - a few weeks is more appropriate. I'd >recommend the use of a good DSP consultant who can pretty do the whole thing >for you in a short period of time. > >Cheers >Bhaskar
Hi Bhaskar, well said. Somethin' doesn't seem right here. Program managers aren't the smartest people in the world, but they're not dumb either. It sure seems hard to imagine that a manager would pick out a guy with no DSP experience and say, "Design some digital filters, and be quick about it. We only have few days." This story doesn't pass the "smell test". See Ya', [-Rick-]
Rick Lyons wrote:

>On Mon, 7 Mar 2005 10:34:39 -0800, "Bhaskar Thiagarajan" ><bhaskart@deja.com> wrote: > > > >>"deepak" <erpsoftware@gmail.com> wrote in message >>news:1110219368.175218.299170@o13g2000cwo.googlegroups.com... >> >> >>>that's the problem, I don;t have any idea about filters (DSP) I'm >>>totally new to it. >>> >>>I only have details to implement a 50Hz notch filter, Lowpass filter of >>>7.5, 15 and 30 Hz and a HPF of 1,2,4 and DC. >>> >>>So please guide me how to go forward for it. >>> >>>I searched for VB/C codes on internet but off no use. So need to know >>>something very soon to implement this. >>> >>>Regards >>>Deepak >>> >>> >>Well...I'm sorry to say this but you might as well give up given your time >>constraints. It'll take you atleast 2-3 days just to understand what you >>need to do. If that's how long you have been given to do this (given your >>lack of any background), I'd blame your boss for being a poor manager. >>Given your problem description - a few weeks is more appropriate. I'd >>recommend the use of a good DSP consultant who can pretty do the whole thing >>for you in a short period of time. >> >>Cheers >>Bhaskar >> >> > >Hi Bhaskar, > > well said. > >Somethin' doesn't seem right here. Program managers >aren't the smartest people in the world, but they're >not dumb either. It sure seems hard to imagine that >a manager would pick out a guy with no DSP experience >and say, "Design some digital filters, and be >quick about it. We only have few days." > >This story doesn't pass the "smell test". > >See Ya', >[-Rick-] > >
Sounds like you've only experienced the saner places. You have been truly blessed. :-) Regards, Steve
On Tue, 08 Mar 2005 09:59:20 +0800, Steve Underwood <steveu@dis.org>
wrote:

  (snipped)
>> >>Hi Bhaskar, >> >> well said. >> >>Somethin' doesn't seem right here. Program managers >>aren't the smartest people in the world, but they're >>not dumb either. It sure seems hard to imagine that >>a manager would pick out a guy with no DSP experience >>and say, "Design some digital filters, and be >>quick about it. We only have few days." >> >>This story doesn't pass the "smell test". >> >>See Ya', >>[-Rick-] >> >> >Sounds like you've only experienced the saner places. You have been >truly blessed. :-) > >Regards, >Steve
Hi, "saner places" ? [-Rick-]
"Rick Lyons" <r.lyons@_BOGUS_ieee.org> wrote in message
news:422dc889.9494593@news.sf.sbcglobal.net...
> On Tue, 08 Mar 2005 09:59:20 +0800, Steve Underwood <steveu@dis.org> > wrote: > >> > >>Somethin' doesn't seem right here. Program managers > >>aren't the smartest people in the world, but they're > >>not dumb either. It sure seems hard to imagine that > >>a manager would pick out a guy with no DSP experience > >>and say, "Design some digital filters, and be > >>quick about it. We only have few days." > >> > >>This story doesn't pass the "smell test". > >> > >>See Ya', > >>[-Rick-] > >> > >> > >Sounds like you've only experienced the saner places. You have been > >truly blessed. :-) > > > >Regards, > >Steve > > "saner places" ?
I think he means that if your experience with program managers is that they always give reasonable assignments with achievable deadlines, then you have fortunate to not work with some of the "insane" ones out there!
You know what they say about management - it's like a septic tank, only
the really big s**** float to the top ;-).

Deepak, it ain't a two-hour job - tell your manager to either hire a
DSP consultant or to give you more time(like a few weeks), then you can
sit down with a good DSP book - I'd recommend "Understanding Digital
Signal Processing" by Richard G. Lyons, it's the best book for a newbie.

On Tue, 8 Mar 2005 09:27:40 -0800, "Jon Harris"
<goldentully@hotmail.com> wrote:

>"Rick Lyons" <r.lyons@_BOGUS_ieee.org> wrote in message >news:422dc889.9494593@news.sf.sbcglobal.net... >> On Tue, 08 Mar 2005 09:59:20 +0800, Steve Underwood <steveu@dis.org> >> wrote: >> >> >> >>Somethin' doesn't seem right here. Program managers >> >>aren't the smartest people in the world, but they're >> >>not dumb either. It sure seems hard to imagine that >> >>a manager would pick out a guy with no DSP experience >> >>and say, "Design some digital filters, and be >> >>quick about it. We only have few days." >> >> >> >>This story doesn't pass the "smell test". >> >> >> >>See Ya', >> >>[-Rick-] >> >> >> >> >> >Sounds like you've only experienced the saner places. You have been >> >truly blessed. :-) >> > >> >Regards, >> >Steve >> >> "saner places" ? > >I think he means that if your experience with program managers is that they >always give reasonable assignments with achievable deadlines, then you have >fortunate to not work with some of the "insane" ones out there!
Hi, Thanks. My experience with managers is that they'll asign you to complete a task. And if you complete that task reasonably well and on schedule, the next time they'll assign you to complete two tasks simultaneously. If you're successful at those two tasks, they'll then assign you to three simultaneous tasks, and so on. This will continue until you fail, at which time you will be referred to as "a complete loser." The harder you work, the more work they give ya'. [-Rick-]