Sign in

username:

password:



Not a member?

Search compdsp



Search tips

comp.dsp by Keywords

Adaptive Filter | ADPCM | ADSP | ADSP-2181 | Aliasing | AMR | Anti-Aliasing | ARMA | Autocorrelation | AutoCovariance | Beamforming | Bessel | Blackfin | Butterworth | C6713 | CCS | Chebyshev | CIC Filter | Circular Convolution | Code Composer Studio | Comb Filter | Compression | Convolution | Cross Correlation | DCT | Decimation | Deconvolution | Demodulation | DM642 | DSP Boards | DSP/BIOS | DTMF | Echo Cancellation | Equalization | Equalizer | ETSI | EZLITE (Ez-kit Lite) | FFT | FFTW | FIR Filter | Fixed Point | FSK | G.711 | G.723 | G.729 | Gaussian Noise | Goertzel | GPIO | Hilbert Transform | IFFT | IIR Filter | Interpolation | Invariance | JTAG | Kalman | Laplace Transform | Levinson | LPC | McBSP | MIPS | Modulation | MPEG | Multirate | Notch Filter | Nyquist | OFDM | Oversampling | Pink Noise | Pitch | PLL | Polyphase | QAM | QDMA | Quantization | Quantizer | Radar | Random Noise | Reed Solomon | Remez | Resampling | RTDX | Sampling | Sharc | TI C6711 | Undersampling | Viterbi | Wavelets | White Noise | Wiener Filter | Windowing | XDS510PP | Z Transform

Sponsor

Industry's highest performing at the lowest power DSPs now as low as $5.00*
Start development today!
*volume pricing for 10ku

Discussion Groups

Free Online Books

See Also

Embedded SystemsFPGAElectronics

Discussion Groups | Comp.DSP | FM demodulation

There are 27 messages in this thread.

You are currently looking at messages 0 to 10.


FM demodulation - ma - 2006-11-13 15:54:00

Hello,

 I want to write a subroutine to implement FM demodulation. The input should 
be in the format of IQ. How can I do this and where can I read about the 
technique and the implementation technique and mathematics behind it?



Any help is much appreciated.



Regards




______________________________
New DSP Code Snippets Section now Live.   Learn more about the reward program for contributors here.

Re: FM demodulation - Vladimir Vassilevsky - 2006-11-13 21:15:00




ma wrote:

> Hello,
> 
>  I want to write a subroutine to implement FM demodulation. The input should 
> be in the format of IQ. How can I do this and where can I read about the 
> technique and the implementation technique and mathematics behind it?
> 

Here is the simplest way:

     I dQ/dt - Q dI/dt
W = ------------------
       I^2 + Q^2
> 
> 
> Any help is much appreciated.
> 

Enjoy :)

Vladimir Vassilevsky

DSP and Mixed Signal Design Consultant

http://www.abvolt.com
______________________________
New DSP Code Snippets Section now Live.   Learn more about the reward program for contributors here.

Re: FM demodulation - ma - 2006-11-14 04:05:00

Thanks,



Where can I find mathematical background to the technique? How sampling rate 
is affecting this technique? How FM bandwidth is affecting this.



Regards


"Vladimir Vassilevsky" <a...@hotmail.com> wrote in message 
news:vF96h.5564$I...@newssvr25.news.prodigy.net...
>
>
> ma wrote:
>
>> Hello,
>>
>>  I want to write a subroutine to implement FM demodulation. The input 
>> should be in the format of IQ. How can I do this and where can I read 
>> about the technique and the implementation technique and mathematics 
>> behind it?
>>
>
> Here is the simplest way:
>
>     I dQ/dt - Q dI/dt
> W = ------------------
>       I^2 + Q^2
>>
>>
>> Any help is much appreciated.
>>
>
> Enjoy :)
>
> Vladimir Vassilevsky
>
> DSP and Mixed Signal Design Consultant
>
> http://www.abvolt.com 


______________________________
New DSP Code Snippets Section now Live.   Learn more about the reward program for contributors here.

Re: FM demodulation - 2006-11-14 08:48:00

Vladimir Vassilevsky wrote:
> ma wrote:
>
> > Hello,
> >
> >  I want to write a subroutine to implement FM demodulation. The input should
> > be in the format of IQ. How can I do this and where can I read about the
> > technique and the implementation technique and mathematics behind it?
> >
>
> Here is the simplest way:
>
>      I dQ/dt - Q dI/dt
> W = ------------------
>        I^2 + Q^2
> >
> >
> > Any help is much appreciated.
> >
>

Another way is atan2(z(k)*conj(z(k-1)). The math is easy to understand
-- you're computing the phase change from one sample to the next.
Multiply by Fs to get it into Hertz.

The behavior in noise is best understood with the help of a good
textbook. Check out titles by Ziemer & Tranter or Mischa Schwartz.

John

______________________________
New DSP Code Snippets Section now Live.   Learn more about the reward program for contributors here.

Re: FM demodulation - Vladimir Vassilevsky - 2006-11-14 09:28:00


ma wrote:

> Thanks,
> 
> 
> 
> Where can I find mathematical background to the technique?

In the ABC book on trigonometry.


  How sampling rate
> is affecting this technique? How FM bandwidth is affecting this.

This formula is exact.
How does the sample rate affect 2 x 2 = 4 or e = mc^2 ?

VLV


> 
> 
> 
> Regards
> 
> 
> "Vladimir Vassilevsky" <a...@hotmail.com> wrote in message 
> news:vF96h.5564$I...@newssvr25.news.prodigy.net...
> 
>>
>>ma wrote:
>>
>>
>>>Hello,
>>>
>>> I want to write a subroutine to implement FM demodulation. The input 
>>>should be in the format of IQ. How can I do this and where can I read 
>>>about the technique and the implementation technique and mathematics 
>>>behind it?
>>>
>>
>>Here is the simplest way:
>>
>>    I dQ/dt - Q dI/dt
>>W = ------------------
>>      I^2 + Q^2
>>
>>>
>>>Any help is much appreciated.
>>>
>>
>>Enjoy :)
>>
>>Vladimir Vassilevsky
>>
>>DSP and Mixed Signal Design Consultant
>>
>>http://www.abvolt.com 
> 
> 
> 
______________________________
New DSP Code Snippets Section now Live.   Learn more about the reward program for contributors here.

Re: FM demodulation - ma - 2006-11-14 09:38:00

Thanks,
lets look at the problem from other side.
What is W? Is it the  demodulated signal? If we are in digital space then 
this equation should change to:

             I * (q(n)- q(n-1)) - q * (I(n)- I(n-1))
W(n)= ---------------------------------------
            I(n) ^2 + q(n) ^2

I am wondring how sampling rate of the input signal doesn't have any effect 
on this equation?  Doesn't it matter that I have 10 sample per cycle of 
input signal or 2 samples per cycle of input signal?

Regards

"Vladimir Vassilevsky" <a...@hotmail.com> wrote in message 
news:Ynk6h.7082$6...@newssvr11.news.prodigy.com...
>
>
> ma wrote:
>
>> Thanks,
>>
>>
>>
>> Where can I find mathematical background to the technique?
>
> In the ABC book on trigonometry.
>
>
>  How sampling rate
>> is affecting this technique? How FM bandwidth is affecting this.
>
> This formula is exact.
> How does the sample rate affect 2 x 2 = 4 or e = mc^2 ?
>
> VLV
>
>
>>
>>
>>
>> Regards
>>
>>
>> "Vladimir Vassilevsky" <a...@hotmail.com> wrote in message 
>> news:vF96h.5564$I...@newssvr25.news.prodigy.net...
>>
>>>
>>>ma wrote:
>>>
>>>
>>>>Hello,
>>>>
>>>> I want to write a subroutine to implement FM demodulation. The input 
>>>> should be in the format of IQ. How can I do this and where can I read 
>>>> about the technique and the implementation technique and mathematics 
>>>> behind it?
>>>>
>>>
>>>Here is the simplest way:
>>>
>>>    I dQ/dt - Q dI/dt
>>>W = ------------------
>>>      I^2 + Q^2
>>>
>>>>
>>>>Any help is much appreciated.
>>>>
>>>
>>>Enjoy :)
>>>
>>>Vladimir Vassilevsky
>>>
>>>DSP and Mixed Signal Design Consultant
>>>
>>>http://www.abvolt.com
>>
>> 

______________________________
New DSP Code Snippets Section now Live.   Learn more about the reward program for contributors here.

Re: FM demodulation - Vladimir Vassilevsky - 2006-11-14 09:53:00

This is not right.

I[n] - I[n-1] is not the same thing as dI/dt.

The sample rate affects how you are going to calculate the derivatives.



VLV



ma wrote:

> Thanks,
> lets look at the problem from other side.
> What is W? Is it the  demodulated signal? If we are in digital space then 
> this equation should change to:
> 
>              I * (q(n)- q(n-1)) - q * (I(n)- I(n-1))
> W(n)= ---------------------------------------
>             I(n) ^2 + q(n) ^2
> 
> I am wondring how sampling rate of the input signal doesn't have any effect 
> on this equation?  Doesn't it matter that I have 10 sample per cycle of 
> input signal or 2 samples per cycle of input signal?
> 
> Regards
> 
> "Vladimir Vassilevsky" <a...@hotmail.com> wrote in message 
> news:Ynk6h.7082$6...@newssvr11.news.prodigy.com...
> 
>>
>>ma wrote:
>>
>>
>>>Thanks,
>>>
>>>
>>>
>>>Where can I find mathematical background to the technique?
>>
>>In the ABC book on trigonometry.
>>
>>
>> How sampling rate
>>
>>>is affecting this technique? How FM bandwidth is affecting this.
>>
>>This formula is exact.
>>How does the sample rate affect 2 x 2 = 4 or e = mc^2 ?
>>
>>VLV
>>
>>
>>
>>>
>>>
>>>Regards
>>>
>>>
>>>"Vladimir Vassilevsky" <a...@hotmail.com> wrote in message 
>>>news:vF96h.5564$I...@newssvr25.news.prodigy.net...
>>>
>>>
>>>>ma wrote:
>>>>
>>>>
>>>>
>>>>>Hello,
>>>>>
>>>>>I want to write a subroutine to implement FM demodulation. The input 
>>>>>should be in the format of IQ. How can I do this and where can I read 
>>>>>about the technique and the implementation technique and mathematics 
>>>>>behind it?
>>>>>
>>>>
>>>>Here is the simplest way:
>>>>
>>>>   I dQ/dt - Q dI/dt
>>>>W = ------------------
>>>>     I^2 + Q^2
>>>>
>>>>
>>>>>Any help is much appreciated.
>>>>>
>>>>
>>>>Enjoy :)
>>>>
>>>>Vladimir Vassilevsky
>>>>
>>>>DSP and Mixed Signal Design Consultant
>>>>
>>>>http://www.abvolt.com
>>>
>>>
> 
______________________________
New DSP Code Snippets Section now Live.   Learn more about the reward program for contributors here.

Re: FM demodulation - ma - 2006-11-14 10:00:00

Ok, now I can understand!

What is the best way to calculate derivatives? If I am going to develop a 
software program to do the job? What about when I am going to develop a FPGA 
core to do the job? Is there any difference?

Is there any paper or book on other persons who did this before? Is there 
any software library that shows how others did it before?



Regards



"Vladimir Vassilevsky" <a...@hotmail.com> wrote in message 
news:xLk6h.7095$6...@newssvr11.news.prodigy.com...
>
> This is not right.
>
> I[n] - I[n-1] is not the same thing as dI/dt.
>
> The sample rate affects how you are going to calculate the derivatives.
>
>
>
> VLV
>
>
>
> ma wrote:
>
>> Thanks,
>> lets look at the problem from other side.
>> What is W? Is it the  demodulated signal? If we are in digital space then 
>> this equation should change to:
>>
>>              I * (q(n)- q(n-1)) - q * (I(n)- I(n-1))
>> W(n)= ---------------------------------------
>>             I(n) ^2 + q(n) ^2
>>
>> I am wondring how sampling rate of the input signal doesn't have any 
>> effect on this equation?  Doesn't it matter that I have 10 sample per 
>> cycle of input signal or 2 samples per cycle of input signal?
>>
>> Regards
>>
>> "Vladimir Vassilevsky" <a...@hotmail.com> wrote in message 
>> news:Ynk6h.7082$6...@newssvr11.news.prodigy.com...
>>
>>>
>>>ma wrote:
>>>
>>>
>>>>Thanks,
>>>>
>>>>
>>>>
>>>>Where can I find mathematical background to the technique?
>>>
>>>In the ABC book on trigonometry.
>>>
>>>
>>> How sampling rate
>>>
>>>>is affecting this technique? How FM bandwidth is affecting this.
>>>
>>>This formula is exact.
>>>How does the sample rate affect 2 x 2 = 4 or e = mc^2 ?
>>>
>>>VLV
>>>
>>>
>>>
>>>>
>>>>
>>>>Regards
>>>>
>>>>
>>>>"Vladimir Vassilevsky" <a...@hotmail.com> wrote in message 
>>>>news:vF96h.5564$I...@newssvr25.news.prodigy.net...
>>>>
>>>>
>>>>>ma wrote:
>>>>>
>>>>>
>>>>>
>>>>>>Hello,
>>>>>>
>>>>>>I want to write a subroutine to implement FM demodulation. The input 
>>>>>>should be in the format of IQ. How can I do this and where can I read 
>>>>>>about the technique and the implementation technique and mathematics 
>>>>>>behind it?
>>>>>>
>>>>>
>>>>>Here is the simplest way:
>>>>>
>>>>>   I dQ/dt - Q dI/dt
>>>>>W = ------------------
>>>>>     I^2 + Q^2
>>>>>
>>>>>
>>>>>>Any help is much appreciated.
>>>>>>
>>>>>
>>>>>Enjoy :)
>>>>>
>>>>>Vladimir Vassilevsky
>>>>>
>>>>>DSP and Mixed Signal Design Consultant
>>>>>
>>>>>http://www.abvolt.com
>>>>
>>>>
>> 


______________________________
New DSP Code Snippets Section now Live.   Learn more about the reward program for contributors here.

Re: FM demodulation - Jerry Avins - 2006-11-14 10:37:00

ma wrote:
> Thanks,
> lets look at the problem from other side.
> What is W? Is it the  demodulated signal? If we are in digital space then 
> this equation should change to:
> 
>              I * (q(n)- q(n-1)) - q * (I(n)- I(n-1))
> W(n)= ---------------------------------------
>             I(n) ^2 + q(n) ^2

That doesn't work. There are delays in your differences but not in the 
corresponding I and Q. All quantities need to be refer to the same instant.

Jerry
-- 
Engineering is the art of making what you want from things you can get.
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
______________________________
New DSP Code Snippets Section now Live.   Learn more about the reward program for contributors here.

Re: FM demodulation - Vladimir Vassilevsky - 2006-11-14 10:51:00


ma wrote:

> Ok, now I can understand!

Good.

> What is the best way to calculate derivatives? 

There are two best ways to accomplish anything: doing it yourself or 
hiring somebody else.


If I am going to develop a
> software program to do the job? What about when I am going to develop a FPGA 
> core to do the job? Is there any difference?

Yes, there is :)

> 
> Is there any paper or book on other persons who did this before?


Yes, there are :)


  Is there
> any software library that shows how others did it before?
> 

Heck, you need the software library to implement two lines of code?


VLV


> 
> 
> Regards
> 
> 
> 
> "Vladimir Vassilevsky" <a...@hotmail.com> wrote in message 
> news:xLk6h.7095$6...@newssvr11.news.prodigy.com...
> 
>>This is not right.
>>
>>I[n] - I[n-1] is not the same thing as dI/dt.
>>
>>The sample rate affects how you are going to calculate the derivatives.
>>
>>
>>
>>VLV
>>
>>
>>
>>ma wrote:
>>
>>
>>>Thanks,
>>>lets look at the problem from other side.
>>>What is W? Is it the  demodulated signal? If we are in digital space then 
>>>this equation should change to:
>>>
>>>             I * (q(n)- q(n-1)) - q * (I(n)- I(n-1))
>>>W(n)= ---------------------------------------
>>>            I(n) ^2 + q(n) ^2
>>>
>>>I am wondring how sampling rate of the input signal doesn't have any 
>>>effect on this equation?  Doesn't it matter that I have 10 sample per 
>>>cycle of input signal or 2 samples per cycle of input signal?
>>>
>>>Regards
>>>
>>>"Vladimir Vassilevsky" <a...@hotmail.com> wrote in message 
>>>news:Ynk6h.7082$6...@newssvr11.news.prodigy.com...
>>>
>>>
>>>>ma wrote:
>>>>
>>>>
>>>>
>>>>>Thanks,
>>>>>
>>>>>
>>>>>
>>>>>Where can I find mathematical background to the technique?
>>>>
>>>>In the ABC book on trigonometry.
>>>>
>>>>
>>>>How sampling rate
>>>>
>>>>
>>>>>is affecting this technique? How FM bandwidth is affecting this.
>>>>
>>>>This formula is exact.
>>>>How does the sample rate affect 2 x 2 = 4 or e = mc^2 ?
>>>>
>>>>VLV
>>>>
>>>>
>>>>
>>>>
>>>>>
>>>>>Regards
>>>>>
>>>>>
>>>>>"Vladimir Vassilevsky" <a...@hotmail.com> wrote in message 
>>>>>news:vF96h.5564$I...@newssvr25.news.prodigy.net...
>>>>>
>>>>>
>>>>>
>>>>>>ma wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>>Hello,
>>>>>>>
>>>>>>>I want to write a subroutine to implement FM demodulation. The input 
>>>>>>>should be in the format of IQ. How can I do this and where can I read 
>>>>>>>about the technique and the implementation technique and mathematics 
>>>>>>>behind it?
>>>>>>>
>>>>>>
>>>>>>Here is the simplest way:
>>>>>>
>>>>>>  I dQ/dt - Q dI/dt
>>>>>>W = ------------------
>>>>>>    I^2 + Q^2
>>>>>>
>>>>>>
>>>>>>
>>>>>>>Any help is much appreciated.
>>>>>>>
>>>>>>
>>>>>>Enjoy :)
>>>>>>
>>>>>>Vladimir Vassilevsky
>>>>>>
>>>>>>DSP and Mixed Signal Design Consultant
>>>>>>
>>>>>>http://www.abvolt.com
>>>>>
>>>>>
> 
> 
______________________________
New DSP Code Snippets Section now Live.   Learn more about the reward program for contributors here.

| 1 | 2 | 3 | next