Tuesday, August 31, 2010

blip BPSK demodulation

This post is going to demonstrate the demodulation of a BPSK signal by a blind phase locking algorithm called the blip Fourier transform. Binary Phase Shift Keying (BPSK) is a simple modulation scheme that adjusts the phase of a sine wave carrier by 180° depending on bit values. In PSK modulation all the information is encoded in the phase of the signal unlike Frequency Shift Keying (FSK) which modulates the frequency. The phase tracking blip Fourier transform is a new feature in the recently released baudline 1.08 version and you can read more about it in the on-line manual section about transforms.


Setup
  1. Record or load a BPSK modulated signal into baudline.
  2. In the Input Channel Mapping window set the transform to blip Fourier and the space to phase.
  3. Zoom the spectrogram timebase axis down to the bit level.
  4. Set the Windowing to Gaussian and adjust the beta value to taste.
  5. View, measure, explore, ...


blip Fourier phase
The spectrogram display of the blip Fourier transform in phase space.

The carrier is at 1000 Hz and the modulated bits of the BPSK signal are clearly visible. The discontinuities represent 180° phase transitions and not absolute phase. Other interesting features are the fractal like structure that surrounds the carrier and the fabric of the noise floor to the right which is composed of interwoven phase worms. The elements of phase space are rich and quite literally complex in nature.


periodicity bars
Baudline's periodic bars are used to measure the periodicity of the phase transitions. Fine adjustment for exact alignment was accomplished with the up and down arrow keys. The bars aligned on the 180° phase transitions represent the modulated symbols. Click on the spectrogram image for a full size version that will show the periodicity bars in full detail.


Note the overlaid delta 0.016 second period value.


baud rate
The delta selected measurement window displays a higher accuracy period value and a convenience 1 / period = Hz calculation. In BPSK there are only two possible phases (0° and 180°) so the symbol rate equals the baud rate (1 bit/symbol) which the periodicity bars measured to be 63 Hz or 63 baud.


demodulated bits
Use the spectrogram's periodicity bars as a symbol clocking aid to manually demodulate the bit stream. Reading off the delta phase transitions corresponds to the bit string: 010100110010110100011010 or it's inversion 101011001101001011100101 since the true starting bit is unknown. The decoding of the meaning of these 24 bits is left as an exercise for the reader.


Conclusion
The remarkable revelation is that the blip Fourier transform has no a priori knowledge of the carrier frequency, baud rate, or even the PSK modulation scheme. It simply is blind phase locking and allowing a visual demodulation of the signal. Demodulating the actual bits from a BPSK signal is just a byproduct and a neat trick.

Phase consists of half of the spectrum. Half. Previous analysis tools have discarded this phase information and focused solely on magnitude. Use the baudline signal analyzer and see the other half of what you've been missing.