Go to file
morgan b2363b5950 doc: update README to include freqsim 2024-05-07 16:27:52 +08:00
doc doc: add frequency sim docs 2024-05-07 15:43:27 +08:00
src sim: add frequency simulation 2024-05-07 15:39:08 +08:00
.gitignore git: ignore __pycache__ 2023-12-13 15:46:04 +08:00
README.md doc: update README to include freqsim 2024-05-07 16:27:52 +08:00
flake.lock flake: update poetry2nix & remove scipy override 2024-01-16 17:30:17 +08:00
flake.nix pkg: add control 2024-05-07 14:35:32 +08:00
poetry.lock pkg: add control 2024-05-07 14:35:32 +08:00
pyproject.toml pkg: add control 2024-05-07 14:35:32 +08:00

README.md

WRPLL simulation

Frequency and time domain simulation for WRPLL

Installation

Poetry:

poetry install
poetry run jupyter lab

Poetry shell:

poetry install
poetry shell

Nix:

nix develop

Quick start

  • The simulation file is located at src
  • RAM usage and execution time estimate for time domain simulation
    • 500,000,000 time steps: 8GiB RAM and 55 seconds
  • Frequency domain doc is also available

WRPLL formulas
  • Assume the difference between f_{main}, f_{gtx} is very small

    • Let f_{in} = f_{main} = f_{gtx}

    • f_{helper} = f_{in} * \dfrac{N-1}{N}

    • f_{beat} = f_{in} - f_{helper} = \dfrac{f_{in}}{N}

  • Main and helper Si549 DCXO ADPLL setting

    • ADPLL = \dfrac{\Delta f_{outppm}}{0.0001164}

Limitation