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 →

the "wavyness" question re-formulated

Started by lluu...@yahoo.com ●November 24, 2006
Ikaro wrote:
> Hi, > > Here is my take on this...hth > lluum@yahoo.com wrote: > > > 1. Some signals have drift -- maybe a constant drift. Some signals > > may have zero drift > > > > 2. Signals might be classified into the following cateories (just by > > inspection in the time domain) > > Category (1) Almost a straight line with some noise. > > Category (2) Brownian motions (random walk) overlaid with a drift. > > Category (3) An overlay of harmonic waves of several frequency with a > > zero or nonzero drift. > > > (1A) For instance, if I use the Fourier perspective, what are the > > characteristics in the fourier domain for Category(1) and Category(2) > > For Category(1) I assume you are talking of white noise. If you > subtract the mean of it you will > get a straight line in the Magnitude Spectrum. For Brownian Motion > (random walk) you will get brown noise, which is characterized in > Magnitude Spectrum by 1/(f^2) times a proportion The factor. The drift > in the brown motion would add some power to the low components but the > frequency should still drop as you go to higher numbers (not the case > for white noise)... > > These two should not be hard to differentiate....in the magnitude > spectrum domain. > > > (1B) If I use the Random walk perspective, is there any characteristics > > of Random walk that can differentiate Category(1) (2) and (3) > > See above for (1) and (2). For (3) you can notice than it's spectrum is > non-monotic (as oppose to (1) and (2)), so a test to check if the > magnitude spectrum is non-monotic (specially and mid to high > frequencies) should work as long as you have harmonics in those > location. > > > Question 2. How do I fit a random walk signal to extract its drift and > > the std deviation of the normally distributed increments. > > Because the increments are normaly distributed, you can use the pdf of > a standard Wiener process with drift coeff. u: > > f(x)= (1/sqrt(2*pi*t)) * exp (- (x-u*t)^2/(2*t) > > Where t is the time (which is known), You can then use maximum > likilehod mehod to estimate u from your data.. The estiamte of the std > I think can be approximated by: > > std=sqrt( t*(fs^2) + u^2) > > > Question 3. How do I extract drift if the signal is an overlay of > > several harmonics with a constant drift > > If you take the LOG of the signal than these components should be > separable (if they are multiplied together). So you can implement the > steps mentioned above using the cepstrum (ie, liftering) to get rid of > the harmonics. > > I hope this helps. But in the end, like others have suggested, I am > sure you will need to tune and twicker to fine tune whatever > classification you want. > > I would not use neural networks, at least for the firtst steps of the > feature extraction that you have asked above, since it would require > alot of data for training and would add an extra degree of uncertainty > (aka, hard to debug) to the process.
Yes, using neural nets for automatic classification is typically more effective after feature extraction is implemented. If you can determine effective features from prior information or by just looking at representative samples of the data or spectra, that is certainly the first thing to try. Hope this helps. Greg