Creating a Simple CS Signal: Rectangular-Pulse BPSK

We’ll use this simple textbook signal throughout the CSP Blog to illustrate and tie together all the different aspects of CSP.

To test the correctness of various CSP estimators, we need a sampled signal with known cyclostationary parameters. Additionally, the signal should be easy to create and understand. A good candidate for this kind of signal is the binary phase-shift keyed (BPSK) signal with rectangular pulse function.

PSK signals with rectangular pulse functions have infinite bandwidth because the signal bandwidth is determined by the Fourier transform of the pulse, which is a sinc() function for the rectangular pulse. So the rectangular pulse is not terribly practical–infinite bandwidth is bad for other users of the spectrum. However, it is easy to generate, and its statistical properties are known.

So let’s jump in. The baseband BPSK signal is simply a sequence of binary (\pm 1) symbols convolved with the rectangular pulse. The MATLAB script make_rect_bpsk.m does this and produces the following plot:

rect_bpsk_time_domain
Figure 1. Time-domain plot of a baseband (not yet modulated by a carrier) rectangular-pulse BPSK signal with bit rate 1/10.

The signal alternates between amplitudes of +1 and -1 randomly. After frequency shifting and adding white Gaussian noise, we obtain the power spectrum estimate:

rect_bpsk_psd
Figure 2. Power spectrum estimate for a simulated rectangular-pulse BPSK signal in noise. The signal power is unity, or 0 dB, and the noise power is 1/10, or -10 dB. The bit rate is 1/10 and the carrier offset frequency is 0.05. Note that the nulls (minima) of the signal spectrum are at 0.05 \pm k/10, or harmonics of the bit rate offset by the carrier.

The power spectrum plot shows why the rectangular-pulse BPSK signal is not popular in practice. The range of frequencies for which the signal possesses non-zero average power is infinite, so it will interfere with signals “nearby” in frequency. However, it is a good signal for us to use as a test input in all of our CSP algorithms and estimators.

The MATLAB script that creates the BPSK signal and the plots above is here. It is an m-file but I’ve stored it in a .doc file due to WordPress limitations I can’t yet get around.

Author: Chad Spooner

I'm a signal processing researcher specializing in cyclostationary signal processing (CSP) for communication signals. I hope to use this blog to help others with their cyclo-projects and to learn more about how CSP is being used and extended worldwide.

2 thoughts on “Creating a Simple CS Signal: Rectangular-Pulse BPSK”

  1. Hello,
    Thanks for creating this blog.
    I am supposed to work on applying deep learning methods for denoising or separating cyclostationary signals. My background is mainly in machine learning, image processing and computer vision. Since I am not from Digital Signal Processing or Digital Communication background, It would be great if you can recommend a or few resources to grasp the basics of these first.

    1. Thank you for your interest in the CSP Blog!

      I suppose since your background contains image processing, you do actually have a lot of the basics of DSP for communication-signal processing, such as transform theory, filtering/convolution, and perhaps even spectrum estimation. So I’m thinking what you are currently lacking is more in the areas of mathematical modeling of communication signals and the theory and practice of cyclostationary signal processing.

      On CSP, check out my papers in My Papers and, perhaps more importantly, the papers on CSP in The Literature. You might also read/skim all the posts here at the CSP Blog, in their order of appearance (because I start out slowly and build up to more advanced topics).

      For communication-signal modeling, a good textbook is Proakis (The Literature [R44]). I’m sure there are online things too. Perhaps Khan Academy?

      Finally, for full disclosure, see evidence of my current attitude toward the Machine Learners and their foray into CSP:

      Machine Learning for Modulation Recognition 1
      Machine Learning for Modulation Recognition 2
      Can a Machine Learn the Fourier Transform 1 and 2
      Modulation Recognition Challenge to the Machine Learners

Leave a Comment, Ask a Question, or Point out an Error

%d bloggers like this: