discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] pll_refout_cc - finding optimum alpha & beta ??


From: Eric Blossom
Subject: Re: [Discuss-gnuradio] pll_refout_cc - finding optimum alpha & beta ??
Date: Fri, 17 Mar 2006 11:35:34 -0800
User-agent: Mutt/1.5.9i

On Fri, Mar 17, 2006 at 10:48:24AM -0800, Matt Ettus wrote:
> 
> > It just seeemd strange to me that a very large number, d_freq, which is
> > bounds limited to between d_min_freq and d_max_freq, is inside a
> > function trying to limit it's output to between +PI and -PI.
> > 
> > if(100e3 > M_PI)
> >   return(100e3-M_TWOPI) 
> > 
> > or 99993.7168...   error can get close to zero, but frequency will
> > never be less than d_freq_min.
>
> 
> d_freq is not in Hz.  It needs to be in radians per sample, which should
> always be less than PI.

That clears it up.  Thanks!

Eric




reply via email to

[Prev in Thread] Current Thread [Next in Thread]