On Sep 18, 11:27�am, Tim Wescott <t...@seemywebsite.com> wrote:> On 09/18/2010 08:13 AM, robert bristow-johnson wrote: > > > > > > > On Sep 18, 8:26 am, "1Newb"<c646013@n_o_s_p_a_m.bofthew.com> �wrote: > >> Ok guys, > > >> I have been looking through several post on doing a brick wall filter after > >> converting a signal to the frequency domain and then back to the time > >> domain. > > >> It seems this is acceptable sometimes but can also have effects on the > >> signal when converted back to the time domain. > > >> Here is what I am trying to do. �I am recording a signal at low voltage and > >> the only relevant freqs are below say 80Hz. �I am going to take > >> measurements at say 600hz for a minute. �The data will be collected before > >> the analysis of the signal is to begin. �What is the best way to ensure > >> that I have no frequencies above 80Hz? �Is it doing a brick wall or will > >> this have side effects? > > > well, there is no such thing as a perfect brickwall filter because it > > would have an impulse response that is non-causal and extends forever > > in both the future and past directions. > > Robert, that's just not true! �You can have a perfect brickwall filter > that's causal, you'd just have to build in an infinite amount of delay, > and wait twice as long for it to settle out. > > -- >My physics students would always ask for a bonus question on the final exam, so I'd say ok okay and the question is "Describe the universe and give two examples." Clay
Online · Live + on demand
February 9-11, 2027
Price goes up Jan 1: register now to lock in today's rate
Register Now →
Using FFT for Brick Wall filtering
Started by ●September 18, 2010
Reply by ●September 20, 20102010-09-20
Reply by ●September 20, 20102010-09-20
On Sep 20, 10:03�am, Clay <c...@claysturner.com> wrote:> On Sep 18, 11:27�am, Tim Wescott <t...@seemywebsite.com> wrote: > > > > > > > On 09/18/2010 08:13 AM, robert bristow-johnson wrote: > > > > On Sep 18, 8:26 am, "1Newb"<c646013@n_o_s_p_a_m.bofthew.com> �wrote: > > >> Ok guys, > > > >> I have been looking through several post on doing a brick wall filter after > > >> converting a signal to the frequency domain and then back to the time > > >> domain. > > > >> It seems this is acceptable sometimes but can also have effects on the > > >> signal when converted back to the time domain. > > > >> Here is what I am trying to do. �I am recording a signal at low voltage and > > >> the only relevant freqs are below say 80Hz. �I am going to take > > >> measurements at say 600hz for a minute. �The data will be collected before > > >> the analysis of the signal is to begin. �What is the best way to ensure > > >> that I have no frequencies above 80Hz? �Is it doing a brick wall or will > > >> this have side effects? > > > > well, there is no such thing as a perfect brickwall filter because it > > > would have an impulse response that is non-causal and extends forever > > > in both the future and past directions. > > > Robert, that's just not true! �You can have a perfect brickwall filter > > that's causal, you'd just have to build in an infinite amount of delay, > > and wait twice as long for it to settle out. > > > -- > > My physics students would always ask for a bonus question on the final > exam, so I'd say ok okay and the question is "Describe the universe > and give two examples." > > Clay- Hide quoted text - > > - Show quoted text -If you had any math students in there I am sure that many people got the bonus points. Universe has more than 1 meaning. Dirk
Reply by ●September 20, 20102010-09-20
Clay wrote:> On Sep 18, 11:27 am, Tim Wescott <t...@seemywebsite.com> wrote: >>On 09/18/2010 08:13 AM, robert bristow-johnson wrote: >>>On Sep 18, 8:26 am, "1Newb"<c646013@n_o_s_p_a_m.bofthew.com> wrote: >>> >>>>I have been looking through several post on doing a brick wall filter after >>>>converting a signal to the frequency domain and then back to the time >>>>domain. >> >>>>It seems this is acceptable sometimes but can also have effects on the >>>>signal when converted back to the time domain. >> >>>>Here is what I am trying to do. I am recording a signal at low voltage and >>>>the only relevant freqs are below say 80Hz. I am going to take >>>>measurements at say 600hz for a minute. The data will be collected before >>>>the analysis of the signal is to begin. What is the best way to ensure >>>>that I have no frequencies above 80Hz? Is it doing a brick wall or will >>>>this have side effects? >> >>>well, there is no such thing as a perfect brickwall filter because it >>>would have an impulse response that is non-causal and extends forever >>>in both the future and past directions. >> >>Robert, that's just not true! You can have a perfect brickwall filter >>that's causal, you'd just have to build in an infinite amount of delay, >>and wait twice as long for it to settle out. >> > > My physics students would always ask for a bonus question on the final > exam, so I'd say ok okay and the question is "Describe the universe > and give two examples."Ask them to build a perfect brick wall IIR, i.e. pole only filter. VLV
Reply by ●September 22, 20102010-09-22
On Sep 18, 5:26=A0am, "1Newb" <c646013@n_o_s_p_a_m.bofthew.com> wrote:> I have been looking through several post on doing a brick wall filter aft=er> converting a signal to the frequency domain and then back to the time > domain. > > It seems this is acceptable sometimes but can also have effects on the > signal when converted back to the time domain. > > Here is what I am trying to do. =A0I am recording a signal at low voltage=and> the only relevant freqs are below say 80Hz. =A0I am going to take > measurements at say 600hz for a minute. =A0The data will be collected bef=ore> the analysis of the signal is to begin. =A0What is the best way to ensure > that I have no frequencies above 80Hz? =A0Is it doing a brick wall or wil=l> this have side effects?Here is the basic problem with request: There is no such thing as a finite length signal (1 minute in your case) that has no frequencies above 80 Hz. Thus there is no best way to do the impossible. A basic property of the Fourier transform is than anything finite in one domain is infinite in the other. Since you want a finite bandwidth, you will need an infinite length signal and filter (and, thus, you will die long before finishing your analysis of your signal). The way this is normally solved is to relax the requirement for no frequencies above x Hz, and try to spec a more reasonable filter where the content above x Hz is attenuated by y dB. (e.g. no content above -60 dB above 88 Hz, etc.) Spec'ing something that actually exists might help solve your problem. IMHO. YMMV. -- rhn A.T nicholson d.0.t C-o-M
Reply by ●September 22, 20102010-09-22
On Sep 22, 9:42=A0am, "Ron N." <rhnlo...@yahoo.com> wrote:> There is no such thing as a finite length signal (1 minute > in your case) that has no frequencies above 80 Hz.Actually, that's wrong. You could zero your entire signal. If that solution is suitable, then you can achieve your desired result. Just multiply your entire signal vector by 0.0> IMHO. YMMV. > -- > rhn A.T nicholson d.0.t C-o-M
Reply by ●September 22, 20102010-09-22
Ron N. <rhnlogic@yahoo.com> wrote: (snip)> Here is the basic problem with request:> There is no such thing as a finite length signal (1 minute > in your case) that has no frequencies above 80 Hz.There are periodic signals, though. If one has a finite length band-limited signal that one wants sampled, and specifies DONTCARE (in a logic minimization sense) for the other samples, then one gets the desired result. Otherwise, you don't allow for a finite length CD, for one example. Now, for best results (for a sampled and quantized signal) you should probably allow a few extra samples before and after, but this is usual for digital audio recordings. (Maybe two seconds or so.)> Thus there is no best way to do the impossible.> A basic property of the Fourier transform is than anything > finite in one domain is infinite in the other. Since you > want a finite bandwidth, you will need an infinite length > signal and filter (and, thus, you will die long before > finishing your analysis of your signal).Periodic in one domain is discrete (sampled) in the other.> The way this is normally solved is to relax the requirement > for no frequencies above x Hz, and try to spec a more > reasonable filter where the content above x Hz is attenuated > by y dB. (e.g. no content above -60 dB above 88 Hz, etc.)Well, that, too. Usually with a sufficient margin in the sampling rate to allow for a reasonable implementation of an analog filter. It gets more interesting in optics. In front of the CCD array in a digital camera is something called a low pass filter. I don't know what it actually looks like, but I doubt that it is made out of resistors and capacitors. In the analog TV days, with scanning vidicon tubes, the beam spot size implemented the low pass filter. That, and that TV personalities learned not to wear clothes with sharp stripes on them. (That actually came up in some TV news sitcom once, maybe Murphy Brown.)> Spec'ing something that actually exists might help solve > your problem.-- glen







