## FM Signal Demodulation

## FM Signal Demodulation

(OP)

Hi,

I have recorded an encoder signal from a rotating machine. It is captured as a .WAV file. Is there a signal processing software available to "demodulate" the signal? I am interested in the torsional vibration of this machine's shaft. The encoder signal should contain this information as Frequency Modulation.

Thanks for your help.

Skip Hartman

I have recorded an encoder signal from a rotating machine. It is captured as a .WAV file. Is there a signal processing software available to "demodulate" the signal? I am interested in the torsional vibration of this machine's shaft. The encoder signal should contain this information as Frequency Modulation.

Thanks for your help.

Skip Hartman

## RE: FM Signal Demodulation

Cheers

Greg Locock

## RE: FM Signal Demodulation

This should allow you to see what you're looking for

hope this helps

Jason

## RE: FM Signal Demodulation

Greg, which of the programs you listed would you recommend. I can look into acquiring the program that is the easiest to use for this task. I am looking into an upgrade to a program that I currently use from Sound Technologies. The upgrade is supposed to be capable of Amplitude Demodulation but the support guy I talked to seemed to not really know if it had any features for Frequency Demodulation. It does have the Hilbert Transform and I can see where that would be helpful for Amplitude Demodulation. Greg, can the Hilbert Transform do anything to help with Frequency Demodulation?

Skip

http://www.machinerywatch.com

## RE: FM Signal Demodulation

Matlab is enormously powerful and fast, but has an inscrutable user interface.

Scilab is a free equivalent to Matlab. I mostly use this at home, since I'm not going to cough up for Matlab, and my copy of MathCad dates from 1994, and doesn't seem to like modern operating systems.

Excel is the least suitable program for this task.

So for prototyping and investigations I'd use MathCad. For continuous repetitive use I'd pick Matlab or Scilab.

If you think about it there aren't many steps here, all you really want to do is demodulate the FM signal into a normal time history file, then you can use any of your normal signal analysis programs on it. Therefore in the long run it might be worth knocking together a Basic program to demodulate the signal and write it out to another file.

I have no experience, and no understanding, of Hilbert functions. Seismologists do use them, so I am guessing they are some sort of envelope analysis. I can see how envelope analysis might apply to FM signals, but it does puzzle me. They also tie somewhat into wavelet analysis, apparently.

http://www.bksv.com/pdf/bo0437.pdf for an intelligible yet unconvincing introduction.

I'll do a quick webpage on FM demodulation today. Oh, you might want to check with Tom Irvine, he has never failed to come up with a solution so far. My webpage will be at http://www.geocities.com/greglocock/fm.htm

Cheers

Greg Locock

## RE: FM Signal Demodulation

Anyway I've posted what I've done so far. I'll do some more research.

Cheers

Greg Locock

## RE: FM Signal Demodulation

I cannot see what I have done wrong.

The idea is so simple that it must be my implementation rather than anything else.

The equation of the FM waveform is

FM(t)=sin(c*t+k*signal(t))

where c is the carrier wave's circular frequency (ie number of teeth *rpm/60*2 *pi) and k is a scaling constant.

The instantaneous frequency of the FM waveform is then approximated by the inverse of the time between successive positive going zero crossings.

I'm guessing I'm in some sort of aliasing/numerical black hole in the example on my web page.

Cheers

Greg Locock

## RE: FM Signal Demodulation

John Solar

## RE: FM Signal Demodulation

Thanks for the link to Scilab! I had been thinking of buying a Matlab license to use after my retirement, but I had hoped to find something less costly.

Your link was right on target - both with regards to costs and timewise. Thanks!

Gunnar Englund

www.gke.org