Wiki

Clone wiki

scytalec-matlab / Home

Scytale-C BPSK demodulator

For the source code see the repository this Wiki is attached to.

Below are the figures that you will obtain by running this code in MATLAB against a captured or generated wav file with the following characteristics:

  • Codec: PCM S16 LE (s16l)
  • Channels: mono
  • Sample rate: 48000 Hz
  • Bits per sample: 16
  • BPSK Symbol rate: 1200
  • Carrier frequency: around 2000 Hz

Note: The figures are below the associated text.

Figure 1.0, BPSK input signal:

Figure 1.png

Figure 1.1, BPSK input signal, detail:

Figure 1 detail.png

Figure 2.0, Carrier synchronization:

Figure 2.png

Figure 2.1, Carrier synchronization, detail:

Figure 2 detail.png

Figure 3.0, Gardner symbol synchronization and timing:

Figure 3.png

Figure 3.1, Gardner symbol synchronization and timing, detail before carrier synchronization:

Figure 3 detail before sync.png

Figure 3.2, Gardner symbol synchronization and timing, detail after carrier synchronization:

Figure 3 detail after sync.png

Figure 4.0, Gardner scatter plot, these are the demodulated symbols:

Figure 4.png

#!matlab

TODO: add CMA code and scatter plot.

Have fun!

Updated