Shop OBEX P1 Docs P2 Docs Learn Events
Propeller-mediated Sine Wave Frequency Synthesizer - Page 2 — Parallax Forums

Propeller-mediated Sine Wave Frequency Synthesizer

2»

Comments

  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2011-07-19 10:44
    W8VK wrote:
    I'm trying to build a test circuit from your schematic to play with but don't understand how it works for changing the frequency!

    In my circuit, the frequency is adjusted by changing the voltage on the BB212 varactors in the transistor oscillator's LC tank circuit. This is done via a filtered DUTY-mode output from the Propeller. The output from the oscillator is fed back to the Propeller program which keeps the DUTY mode output adjusted to maintain a frequency and phase lock with its own internal counter, which is set to the same frequency. Because of the low-pass filtering inherent in the software PLL, the counter's jitter is not reflected in the oscillator's output.

    -Phil
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2011-07-19 14:20
    No. Ignore posting #13. It was made to demonstrate something that does not work. Posting #1 is the one to go by and the one to which I was referring.

    -Phil
  • Mark_TMark_T Posts: 1,981
    edited 2011-07-19 17:33
    I think some people just don't understand the extreme purity requirements of even the simplest radio circuits! If you're looking for all spurious signals say 80dB below the main peak there's no way you can see that on a scope, that's one part in ten-thousand in the voltage domain and probably the same in time/phase domain.

    Phase noise of a good oscillator drops to -120dB per Hz or so in a few tens of kHz, that's probably a million times less than would be visible jitter on an oscilloscope screen :)
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2011-07-19 20:31
    The best cheap way to detect phase noise is with a good shortwave receiver that has a BFO. The human ear is way more sensitive to small variations than any eye transfixed by a scope display could ever be.

    -Phil
  • W8VKW8VK Posts: 30
    edited 2011-07-29 03:16
    Hi Phil Pilgrim
    So it looks like your design is to basically set the band and default frequency by your spin program!

    Are you going to change frequency by an external 10 turn pot say called the "Tuning Control" that basically changes the voltage across the varactors?

    Or is it possible that your going to implement more spin software to change the frequency? I'm curious about where the overall design is going here Phil!

    Rich W8VK
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2011-07-29 08:14
    The frequency will be set and held by the Propeller. The user will make the selection via an encoder, with the selected frequency visibly incrementing/decrementing on a LCD display.

    -Phil
  • W8VKW8VK Posts: 30
    edited 2011-07-29 13:52
    Ok Phil Pilgrim!

    So then for this project, there's no spin File code listed for the Encoder and no spin code File listed for the LCD for people to do the same as you in this project?

    Do you plan on disclosing these spin Files for the project? Thanks!

    Rich W8VK
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2011-07-29 14:05
    They'll be disclosed when they're available. They haven't been written yet, though.

    -Phil
Sign In or Register to comment.