Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > sci.electronics.design > #371909

Re: Microcontroller phase locked loop, ping Tim Wescott et. al.

From Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net>
Newsgroups sci.electronics.design
Subject Re: Microcontroller phase locked loop, ping Tim Wescott et. al.
Date 2015-08-06 17:13 -0400
Organization A noiseless patient Spider
Message-ID <55C3CE02.6060903@electrooptical.net> (permalink)
References (1 earlier) <55C39FEF.5010708@electrooptical.net> <l697sadvs4nsgce9j1lut58g5cv7ehkder@4ax.com> <86e7sals26g209bj9rehe105b0uj5lrglk@4ax.com> <55C3C040.50707@electrooptical.net> <kgi7sah7l8v0eo0n15us7jlt9msr8ldqoi@4ax.com>

Show all headers | View raw


On 8/6/2015 4:58 PM, upsidedown@downunder.com wrote:
> On Thu, 06 Aug 2015 16:14:56 -0400, Phil Hobbs
> <hobbs@electrooptical.net> wrote:
>
>> On 8/6/2015 3:48 PM, upsidedown@downunder.com wrote:
>>> On Thu, 06 Aug 2015 11:19:55 -0700, Jim Thompson
>>> <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> wrote:
>>>
>>>> On Thu, 06 Aug 2015 13:57:03 -0400, Phil Hobbs
>>>> <pcdhSpamMeSenseless@electrooptical.net> wrote:
>>>>
>>>>> On 8/6/2015 1:12 PM, bitrex wrote:
>>>>>> Has anyone successfully implemented a phase locked loop on a
>>>>>> microcontroller?
>>>>>>
>>>>>> The frequency of interest would be somewhere in the 200kHz range, and
>>>>>> the objective of the PLL would be FM demodulation.  So I'd have an input
>>>>>> for the FM modulated frequency, and an external VCO in that range that
>>>>>> the uC would hopefully control via filtered PWM.  Other than that, this
>>>>>> is mostly hypothetical for now.
>>>>>>
>>>>>> Does this seem possible?  I have the following reference:
>>>>>>
>>>>>> http://liquidsdr.org/blog/pll-howto/
>>>>>>
>>>>>> I'd be hoping to use something like an ATTiny.  All code would be
>>>>>> adjusted to use fixed-point math, I'd imagine.
>>>>>
>>>>> For a given resolution, you might as well just use a counter input.
>>>>>
>>>>> It's not going to be a very good demodulator...what modulation frequency
>>>>> and modulation index are you looking to accommodate?
>>>>>
>>>>> Cheers
>>>>>
>>>>> Phil Hobbs
>>>>
>>>> Awwwh, shucks, Phil, Don't you know that the solution for all analog
>>>> problems is a uP ?>:-}
>>>> 		
>>>>                                          ...Jim Thompson
>>>
>>> Get away with the VCOs and do it with NCOs and you can do FM, PM and
>>> AM quite easily. No need for PLLs or phase detectors. Of course the uP
>>> must handle about 500 kHz interrupt rate :-).
>>>
>>
>> Pretty slow PLL if you can do it at that rate.  Of course not every
>> application needs good performance--if all you care about is not losing
>> count, digital is great.
>>
>> Cheers
>>
>> Phil Hobbs
>
> I understood that the required frequency was in the 200 kHz range, so
> a 500 kHz NCO update rate should be sufficient.
>

Unless you want good phase control.  Nyquist is not the whole story in 
frequency control, by a lot.

Cheers

Phil Hobbs

-- 
Dr Philip C D Hobbs
Principal Consultant
ElectroOptical Innovations LLC
Optics, Electro-optics, Photonics, Analog Electronics

160 North State Road #203
Briarcliff Manor NY 10510

hobbs at electrooptical dot net
http://electrooptical.net

Back to sci.electronics.design | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Microcontroller phase locked loop, ping Tim Wescott et. al. bitrex <bitrex@de.lete.earthlink.net> - 2015-08-06 13:12 -0400
  Re: Microcontroller phase locked loop, ping Tim Wescott et. al. Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2015-08-06 13:57 -0400
    Re: Microcontroller phase locked loop, ping Tim Wescott et. al. bitrex <bitrex@de.lete.earthlink.net> - 2015-08-06 14:19 -0400
      Re: Microcontroller phase locked loop, ping Tim Wescott et. al. Phil Hobbs <hobbs@electrooptical.net> - 2015-08-06 14:25 -0400
        Re: Microcontroller phase locked loop, ping Tim Wescott et. al. bitrex <bitrex@de.lete.earthlink.net> - 2015-08-06 15:09 -0400
          Re: Microcontroller phase locked loop, ping Tim Wescott et. al. upsidedown@downunder.com - 2015-08-06 22:38 +0300
          Re: Microcontroller phase locked loop, ping Tim Wescott et. al. Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2015-08-06 16:34 -0400
            Re: Microcontroller phase locked loop, ping Tim Wescott et. al. bitrex <bitrex@de.lete.earthlink.net> - 2015-08-06 18:20 -0400
          Re: Microcontroller phase locked loop, ping Tim Wescott et. al. Tim Wescott <seemywebsite@myfooter.really> - 2015-08-06 15:48 -0500
      Re: Microcontroller phase locked loop, ping Tim Wescott et. al. Tim Wescott <seemywebsite@myfooter.really> - 2015-08-06 14:02 -0500
        Re: Microcontroller phase locked loop, ping Tim Wescott et. al. bitrex <bitrex@de.lete.earthlink.net> - 2015-08-06 15:15 -0400
          Re: Microcontroller phase locked loop, ping Tim Wescott et. al. Tim Wescott <tim@seemywebsite.com> - 2015-08-06 15:04 -0500
      Re: Microcontroller phase locked loop, ping Tim Wescott et. al. piglet <erichpwagner@hotmail.com> - 2015-08-06 20:23 +0100
        Re: Microcontroller phase locked loop, ping Tim Wescott et. al. bitrex <bitrex@de.lete.earthlink.net> - 2015-08-06 16:04 -0400
        Re: Microcontroller phase locked loop, ping Tim Wescott et. al. bitrex <bitrex@de.lete.earthlink.net> - 2015-08-06 16:06 -0400
    Re: Microcontroller phase locked loop, ping Tim Wescott et. al. Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> - 2015-08-06 11:19 -0700
      Re: Microcontroller phase locked loop, ping Tim Wescott et. al. DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2015-08-06 14:22 -0400
      Re: Microcontroller phase locked loop, ping Tim Wescott et. al. Phil Hobbs <hobbs@electrooptical.net> - 2015-08-06 14:26 -0400
      Re: Microcontroller phase locked loop, ping Tim Wescott et. al. Tim Wescott <seemywebsite@myfooter.really> - 2015-08-06 14:04 -0500
        Re: Microcontroller phase locked loop, ping Tim Wescott et. al. Phil Hobbs <hobbs@electrooptical.net> - 2015-08-06 16:13 -0400
      Re: Microcontroller phase locked loop, ping Tim Wescott et. al. upsidedown@downunder.com - 2015-08-06 22:48 +0300
        Re: Microcontroller phase locked loop, ping Tim Wescott et. al. Phil Hobbs <hobbs@electrooptical.net> - 2015-08-06 16:14 -0400
          Re: Microcontroller phase locked loop, ping Tim Wescott et. al. upsidedown@downunder.com - 2015-08-06 23:58 +0300
            Re: Microcontroller phase locked loop, ping Tim Wescott et. al. Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2015-08-06 17:13 -0400
              Re: Microcontroller phase locked loop, ping Tim Wescott et. al. Tim Wescott <seemywebsite@myfooter.really> - 2015-08-06 17:40 -0500
                Re: Microcontroller phase locked loop, ping Tim Wescott et. al. upsidedown@downunder.com - 2015-08-09 12:18 +0300
  Re: Microcontroller phase locked loop, ping Tim Wescott et. al. Tim Wescott <seemywebsite@myfooter.really> - 2015-08-06 13:30 -0500
    Re: Microcontroller phase locked loop, ping Tim Wescott et. al. bitrex <bitrex@de.lete.earthlink.net> - 2015-08-06 15:10 -0400

csiph-web