Coder Social home page Coder Social logo

lighting-zhu / tfg_carrier_synchronization Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rmcelaya/tfg_carrier_synchronization

1.0 1.0 0.0 37.25 MB

This repository contains the code I used to simulate the carrier synchronization algorithms of my Bachelor's Degree Final Project (TFG)

License: Other

MATLAB 100.00%

tfg_carrier_synchronization's Introduction

tfg_carrier_synchronization

This repository contains the code I used to simulate the carrier synchronization algorithms of my Bachelor's Degree Final Project (TFG)

MATLAB version: R2020b

Simulink version: R2020b Update 5

Repository structure

The directory structure is:

├── analysis                    # MATLAB scripts I used for analyzing different needed aspects of the problem.
│   ├── channel                 # Doppler shift in LEO satellites analysis
│   ├── error_rate              # QPSK error rate analysis and simulations
│   └── estimators              # QPSK carrier recovery analysis
├── utils                       # Auxiliary functions and scripts
├── simulations                 # MATLAB and simulink scripts I used for simulating the algorithms
│    ├── Algorithm_simulations  # Simulink models for the proposed and improved proposed algorithms
│    ├── MATLAB_simulations     # MATLAB models for different estimators
│    └── old_simulations        # Old stuff. Not interesting at all.
└── 

The .mat files with the simulation results are not included because they are too big (~10 GB).

Instructions to simulate the algorithms

Instructions to simulate the proposed and improved proposed algorithms (Simulink) of the simulations/Algorithm_simulations directory.

Simulink models:

├── proposed_solution.slx             # Proposed algorithm
└── improved_proposed_solution.slx    # Improved proposed algorithm

For the simulation at a single Eb/N0:

  1. Open the generate_doppler.m file, edit the needed parameters (execution time window, sampling freq, etc.) and execute it.
  2. Open the desired Simulink model, modify the desired parameters (execution time window, filter parameters etc.) and run it.
  3. The BER, phase and other results are shown in the model. The BER is also exported to the workspace

For the simulation at several Eb/N0:

  1. Open the generate_doppler.m file, edit the needed parameters (execution time, sampling freq, etc.) and execute it
  2. Open the desired Simulink model and modify the desired parameters (execution time windows, filter parameters etc.).
  3. Open the simulation_workbech.m script, edit the "simulink_file" variable with the desired model and run it.
  4. Wait (it can take several hours, but depends on the execution time windows). The results will be saved into a results.mat file (expect a big file)
  5. To analyze the results, load the file into memory and execute the results/analyze_results.m script

Extra step: If a second results file is loaded into memory and the results' variable name is changed into "results2", the analyze_results_both.m file can be used to compare them.

Shield: CC BY-NC 4.0

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.

CC BY-NC 4.0

tfg_carrier_synchronization's People

Contributors

rmcelaya avatar

Stargazers

 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.