how would I model my data?

Started by 5 years ago6 replieslatest reply 5 years ago132 views
I am measuring the period of a digital signal. I interrupt on every rising edge and just keep an array of periods. My signal is just an impulse train of random periods. I would like to find the various frequencies in this signal but I am having a hard time conceptualizing this. My function is really just f(t) = 1 for some particular values of t.

I would like to find an elegant way to quickly find particular frequencies and also filter out other. Would this best be solved by sorting the periods into bins and counting the values in the bins? I wanted to see how other people might look at this data.

[ - ]

You know the intervals, or periods, between each set of impulses.  Take the inverse of these values to get the corresponding frequencies.  Generating a histogram with the frequency values will let you see how they are distributed in the segments of the signal that you've analyzed.

[ - ]

Have you tried autocorrelation? Also, do you have prior knowledge of how many underlying frequencies might exist in the signal and if they are related in anyway?

[ - ]

when you say frequency do you mean pulse rate or actual frequency domain. For random pulses(unshaped) you are likely to get frequencies all over the digital domain, do an fft.

[ - ]

I mean pulse rate, and only the relationship between subsequent impulses. So by my original idea and what MichaelRW reiterated, an impulse at 0, 1ms, 100ms would be 1kHz and ~100Hz. That doesn’t feel right though.

What would I take the FFT of? I don’t have sampled values at some sampling interval and if I did that it would just be a bunch of shifted impulses in the time domain. I know what that looks like in the frequency domain. It’s not very useful information in this case. The important information is the time between impulses.

Imagine an application where I receive the same pseudo random series of light pulses from one source and a different pseudo random series from another source. What’s another way to characterize this signal? What would be a quick way of identifying it

[ - ]