DSPRelated.com
Forums
Online · Live + on demand
February 9-11, 2027
Price goes up Jan 1: register now to lock in today's rate
Register Now →

Iterative Match Filterings

Started by Bret Cahill ●April 3, 2012
On Fri, 6 Apr 2012 12:13:09 -0700 (PDT), Bret Cahill
<BretCahill@peoplepc.com> wrote:

>> >> What you've been describing isn't a >> >> matched filtering process, > >> >It works just fine on Excel, the recovery of the original signal >> >waveform as well as the method outlined in the OP to recover the >> >original amplitude. =A0So unless there is some other filter out there >> >that does what I'm doing, it's time to claim this puppy in a method >> >patent. > >> Knock yourself out, but if you call it a matched filter or describe it >> as a matched filtering process you'll just be confusing people. > >Humor. > >I'd love to flatter myself into thinking I discovered a new signal >processing filter. After all, I've been saying all along that there >is low hanging fruit all over the place in engineering applications. > >But the reality is fundamentally new filters from a mathematics POV >are very rare. They figured out everything related to convolutions in >signal processing decades ago.
I'm sure nobody else here realizes that.
>> >EXTRA CREDIT: >> >> >If you multiply the FFTs of a noisy signal and its kernel on the SPICE >> >electronics simulator -- this is faster and easier than Excel -- what >> >would this represent? >> >> >a. =A0a match filter >> >> >b. =A0a wiener filter >> >> >c. =A0a kalman filter >> >> >Bret Cahill >> >> As so many others have said, you have a problem communicating. > >Can you think of more than one interpretation of what was posted >above?
An infinite number, depending on what you mean by "its kernel". Eric Jacobsen Anchor Hill Communications www.anchorhill.com
On Fri, 6 Apr 2012 12:03:28 -0700 (PDT), Bret Cahill
<BretCahill@peoplepc.com> wrote:

>> >>>>>> Do you mean matched filtering or is "match" filtering something >> >>>>>> different? >> >> >>>>> North filter. >> >> >>>> Far more commonly known as a "matched filter", >> >> >>> How long did it take you to figure that out? >> >> >>>> which requires no >> >>>> special kind of convolution, only the ordinary, mundane kind. =A0The= >re's >> >>>> no deconvolution involved. >> >> >>> How is the original waveform recovered with a North Filter? >> >> >> Bret, can you stick with the common semantic? =A0before today, i have >> >> never heard of a "North filter". >> >> > Is anyone still whining about "match filter" or "matched filter", both >> > of which google up tens of thousands of on point hits in less time >> > than it takes to play trifling word games. >> >> >> i am assuming from Eric's response and >> >> yours, that it is synonymous with "matched filter". >> >> >> a matched filter is not about recovering an original waveform. >> >> >http://en.wikipedia.org/wiki/Matched_filter >> >> > Scroll down to the match filter recovery of the binary signal >> >> it's about detection. > >In that example the "detection" of the signal requires recovering the >original waveform.
You're calling it a waveform, other people may call it the modulated data, which can be from a symbol alphabet other than binary. You need to be clear what you mean if you want to be understood.
>> if you think that example is about producing a >> signal, rather than determining if a 0 or 1 had been transmitted, then >> you're mistaken. > >You think any convolution of a square wave form with its kernel could >look like _that_?
>> also, Wikipedia should not be taken as authoritative > >You think an authoritative article is necessary for an _example_? > >Maybe you think the author put that nonsense in because he wanted to >help out anyone trying to mislead on how match filtering can be used >for wave form recovery?
Again, you miss the point by quite a long ways. Eric Jacobsen Anchor Hill Communications www.anchorhill.com
> >> >>>>>> Do you mean matched filtering or is "match" filtering something > >> >>>>>> different? > > >> >>>>> North filter. > > >> >>>> Far more commonly known as a "matched filter", > > >> >>> How long did it take you to figure that out? > > >> >>>> which requires no > >> >>>> special kind of convolution, only the ordinary, mundane kind. =A0The= > >re's > >> >>>> no deconvolution involved. > > >> >>> How is the original waveform recovered with a North Filter? > > >> >> Bret, can you stick with the common semantic? =A0before today, i have > >> >> never heard of a "North filter". > > >> > Is anyone still whining about "match filter" or "matched filter", both > >> > of which google up tens of thousands of on point hits in less time > >> > than it takes to play trifling word games. > > >> >> i am assuming from Eric's response and > >> >> yours, that it is synonymous with "matched filter". > > >> >> a matched filter is not about recovering an original waveform. > > >> >http://en.wikipedia.org/wiki/Matched_filter > > >> > Scroll down to the match filter recovery of the binary signal > > >> it's about detection. > > >In that example the "detection" of the signal requires recovering the > >original waveform. > > You're calling it a waveform, other people may call it the modulated > data,
And some may call it Shape XYZ. What's your point? . . .
> >> also, Wikipedia should not be taken as authoritative > > >You think an authoritative article is necessary for an _example_? > > >Maybe you think the author put that nonsense in because he wanted to > >help out anyone trying to mislead on how match filtering can be used > >for wave form recovery? > > Again, you miss the point by quite a long ways.
The communication problem is on _your_ end. The link below shows another example of match filtering, not merely detecting, but recovering the original waveform before the noise was added: http://www.complextoreal.com/chapters/mft.pdf It may help explain why you are having trouble with the term "match[ed] filter." Bret Cahill
On Fri, 6 Apr 2012 14:11:55 -0700 (PDT), Bret Cahill
<BretCahill@peoplepc.com> wrote:

>> >> >>>>>> Do you mean matched filtering or is "match" filtering something >> >> >>>>>> different? >> >> >> >>>>> North filter. >> >> >> >>>> Far more commonly known as a "matched filter", >> >> >> >>> How long did it take you to figure that out? >> >> >> >>>> which requires no >> >> >>>> special kind of convolution, only the ordinary, mundane kind. =A0The= >> >re's >> >> >>>> no deconvolution involved. >> >> >> >>> How is the original waveform recovered with a North Filter? >> >> >> >> Bret, can you stick with the common semantic? =A0before today, i have >> >> >> never heard of a "North filter". >> >> >> > Is anyone still whining about "match filter" or "matched filter", both >> >> > of which google up tens of thousands of on point hits in less time >> >> > than it takes to play trifling word games. >> >> >> >> i am assuming from Eric's response and >> >> >> yours, that it is synonymous with "matched filter". >> >> >> >> a matched filter is not about recovering an original waveform. >> >> >> >http://en.wikipedia.org/wiki/Matched_filter >> >> >> > Scroll down to the match filter recovery of the binary signal >> >> >> it's about detection. >> >> >In that example the "detection" of the signal requires recovering the >> >original waveform. >> >> You're calling it a waveform, other people may call it the modulated >> data, > >And some may call it Shape XYZ. > >What's your point?
The point is that people can't read your mind regarding what YOU mean when you throw phrases around like "recover the original waveform" in a context where it isn't typically used. Matched filtering is not typically used to recover a waveform, although it can be and that way of looking at it isn't necessarily wrong, but it's up to you to make clear what you mean if you want people to understand you.
>. . . > >> >> also, Wikipedia should not be taken as authoritative >> >> >You think an authoritative article is necessary for an _example_? >> >> >Maybe you think the author put that nonsense in because he wanted to >> >help out anyone trying to mislead on how match filtering can be used >> >for wave form recovery? >> >> Again, you miss the point by quite a long ways. > >The communication problem is on _your_ end.
You're right, I still have no idea what you're talking about, despite doing DSP and matched filtering applications professionally for a few decades. I'd like to learn about your insights if you have any, but so far you haven't explained anything new about matched filtering that makes any sense, and you seem to have some significant misconceptions. I await your clarifications using explanations or terminology that can be understood by an experienced practitioner.
>The link below shows another example of match filtering, not merely >detecting, but recovering the original waveform before the noise was >added: > >http://www.complextoreal.com/chapters/mft.pdf > >It may help explain why you are having trouble with the term >"match[ed] filter."
We notice that you've not addressed any of the points brought up that could help clarify what you mean, and now you point to a document which properly explains the usual concepts yet doesn't clarify anything about what you've been describing regarding deconvolution and frequency-domain processing, or the use of terms as you've used them. Charan's tutorials are pretty well known and respected for introductory treatments to topics, which he's good at. I can't figure out what you're talking about, though, and you seem unable to clarify it and unwilling to address the clarifying points that have been raised by others. Eric Jacobsen Anchor Hill Communications www.anchorhill.com
Bret Cahill wrote:
<snip>

>> You're calling it a waveform, other people may call it the >> modulated data, > > And some may call it Shape XYZ. > What's your point?
Ditto.
>> >> also, Wikipedia should not be taken as authoritative >> >> >You think an authoritative article is necessary for an _example_?
In threads like this: yes.
>> >Maybe you think the author put that nonsense in because he wanted to >> >help out anyone trying to mislead on how match filtering can be used >> >for wave form recovery?
That's what you got from the exchange?
>> Again, you miss the point by quite a long ways. > > The communication problem is on _your_ end.
Not really.
> The link below shows another example of match filtering, not merely > detecting, but recovering the original waveform before the noise was > added: > > http://www.complextoreal.com/chapters/mft.pdf > > It may help explain why you are having trouble with the term > "match[ed] filter."
You really should get a book and study up. Digging up information on the web won't really help your original problem (whatever that actually is) or your attitude. If you can find such a wealth of information on the web, why not just google for the solution to your question? When you ask people for help you need to communicate the question clearly. In a question context, clarity is solely defined by the listener. When the listener asks questions to clarify your problem and you engage in attempting to explain that you know more than the listener you will certainly reduce your chances of any actual help. But, if I were to venture a guess based on your past I'd say your prime purpose is not information but trolling and arguments.
> >> >> >>>>>> Do you mean matched filtering or is "match" filtering something > >> >> >>>>>> different? > > >> >> >>>>> North filter. > > >> >> >>>> Far more commonly known as a "matched filter", > > >> >> >>> How long did it take you to figure that out? > > >> >> >>>> which requires no > >> >> >>>> special kind of convolution, only the ordinary, mundane kind. =A0The= > >> >re's > >> >> >>>> no deconvolution involved. > > >> >> >>> How is the original waveform recovered with a North Filter? > > >> >> >> Bret, can you stick with the common semantic? =A0before today, i have > >> >> >> never heard of a "North filter". > > >> >> > Is anyone still whining about "match filter" or "matched filter", both > >> >> > of which google up tens of thousands of on point hits in less time > >> >> > than it takes to play trifling word games. > > >> >> >> i am assuming from Eric's response and > >> >> >> yours, that it is synonymous with "matched filter". > > >> >> >> a matched filter is not about recovering an original waveform. > > >> >> >http://en.wikipedia.org/wiki/Matched_filter > > >> >> > Scroll down to the match filter recovery of the binary signal > > >> >> it's about detection. > > >> >In that example the "detection" of the signal requires recovering the > >> >original waveform. > > >> You're calling it a waveform, other people may call it the modulated > >> data, > > >And some may call it Shape XYZ. > > >What's your point? > > The point is that people can't read your mind regarding what YOU mean > when you throw phrases around like "recover the original waveform"
Is it possible to interpret the convolution as "the original wave form?" Are there _any_ instances of _any_ convolution looking the same as the original signal? . . .
> >> Again, you miss the point by quite a long ways. > > >The communication problem is on _your_ end. > > You're right, I still have no idea what you're talking about,
Excel understands me just fine when I recover the original signal's wave form with match filtering.
> despite > doing DSP and matched filtering applications professionally for a few > decades.
Then you ought to know of examples of match filtering in optics where it is used to recover the original signal's wave form.
> I'd like to learn about your insights if you have any,
At this point the only thing I am claiming is new is a reference that can be used for _any_ kind of filtering that requires a reference, i.e., PSD, match, weiner, etc. This reference might have some academic interest in that it is constructed from the noisy signals themselves. I doubt it but there may be some way to But the hope that, other than maybe the modeling of match filtering on Excel, anything mathematically new is going on here is almost inconceivable. There are endless opportunitie$ in engineering applications but trying to come up with something new in math is like invading Afghanistan. There's no money in it and you are up against the greatest fighters on earth. Math Tree was stripped bare a long time ago, not just of fruit, but of bark, branches, the trunk and root system are all gone. All that's left is a crater. That's why you should never bother to google to see if you've ever discovered anything new in math. It's not worth the time. You know it was done decades or centuries ago so why bother? Bret Cahill
> Instead of just taking the convolution of a signal with the reference > or kernel once and then taking the square root in the frequency > domain, why not match filter with the reference again and again to > recover the original clean signal? > > Well, you _can_ do that if a wave form is all you want, but you can > get that from the ref. alone _anyway_. > > If you want to keep the original magnitude of the signal, however, and > if the kernel is a different magnitude than the original signal, then > you will only be working your way back to the kernel with each > iteration. > > The solution here is to convolve the signal with the kernel and then > the kernel with the kernel and then comparing the magnitudes of those > two convolutions. > > Apply that factor to correct the magnitude of the filtered signal.
After you do that once you're already at your minimum magnitude error. Repeating the match filtering more times may make it look more like the original signal but it will not do anything to change the magnitude and improve accuracy. Bret Cahill
On 4/9/2012 3:50 PM, Bret Cahill wrote:
>> Instead of just taking the convolution of a signal with the reference >> or kernel once and then taking the square root in the frequency >> domain, why not match filter with the reference again and again to >> recover the original clean signal? >> >> Well, you _can_ do that if a wave form is all you want, but you can >> get that from the ref. alone _anyway_. >> >> If you want to keep the original magnitude of the signal, however, and >> if the kernel is a different magnitude than the original signal, then >> you will only be working your way back to the kernel with each >> iteration. >> >> The solution here is to convolve the signal with the kernel and then >> the kernel with the kernel and then comparing the magnitudes of those >> two convolutions. >> >> Apply that factor to correct the magnitude of the filtered signal. > > After you do that once you're already at your minimum magnitude > error. Repeating the match filtering more times may make it look more > like the original signal but it will not do anything to change the > magnitude and improve accuracy. > > > Bret Cahill > >
Now that I think about it, the "perfect" matched filter would generate a spike output. (We used to dream about doing this with a pseudo random sequence. Trouble was, the SNR for the output in a limited bandwidth was lousy.) Anyway, then convolve that imagined ideal spike with the original waveform and voila! the original waveform scaled. But, as someone already asked: "what's the benefit of getting out what you already know?" Just take the amplitude of the spike. Fred
> >> Instead of just taking the convolution of a signal with the reference > >> or kernel once and then taking the square root in the frequency > >> domain, why not match filter with the reference again and again to > >> recover the original clean signal?
> >> Well, you _can_ do that if a wave form is all you want, but you can > >> get that from the ref. alone _anyway_.
> >> If you want to keep the original magnitude of the signal, however, and > >> if the kernel is a different magnitude than the original signal, then > >> you will only be working your way back to the kernel with each > >> iteration.
> >> The solution here is to convolve the signal with the kernel and then > >> the kernel with the kernel and then comparing the magnitudes of those > >> two convolutions.
> >> Apply that factor to correct the magnitude of the filtered signal.
> > After you do that once you're already at your minimum magnitude > > error. &#4294967295;Repeating the match filtering more times may make it look more > > like the original signal but it will not do anything to change the > > magnitude and improve accuracy.
> Now that I think about it, the "perfect" matched filter would generate a > spike output.
Depends on what you want from the matched filter. The low pass filtering effect is nice because most of the noise is about one decade higher than the signal in my application.
> (We used to dream about doing this with a pseudo random > sequence. &#4294967295;Trouble was, the SNR for the output in a limited bandwidth > was lousy.) &#4294967295;Anyway, then convolve that imagined ideal spike with the > original waveform and voila! the original waveform scaled. > But, as someone already asked: "what's the benefit of getting out what > you already know?" &#4294967295;Just take the amplitude of the spike.
Is the spike's amplitude going to be more accurate than Wiener filtering when inverse filtering isn't necessary? Supposing inverse filtering _is_ necessary. Is Wiener the way to go? Bret Cahill
On Apr 3, 1:25=A0am, Bret Cahill <BretCah...@peoplepc.com> wrote:
> Instead of just taking the convolution of a signal with the reference > or kernel once and then taking the square root in the frequency > domain, why not match filter with the reference again and again to > recover the original clean signal? > > Well, you _can_ do that if a wave form is all you want, but you can > get that from the ref. alone _anyway_. > > If you want to keep the original magnitude of the signal, however, and > if the kernel is a different magnitude than the original signal, then > you will only be working your way back to the kernel with each > iteration. > > The solution here is to convolve the signal with the kernel and then > the kernel with the kernel and then comparing the magnitudes of those > two convolutions. > > Apply that factor to correct the magnitude of the filtered signal. > > Bret Cahill
"The matched filter is the optimal linear filter for maximizing the signal to noise ratio (SNR) in the presence of additive stochastic noise" (http://en.wikipedia.org/wiki/Matched_filter) LINEAR is the key word here If you remove "linear" from the above sentence then "matched filter" is not even close to being "optimal" in any practical sense Go figure how to build an optimal non-linear "matched filter" if you can Good luck