Engee documentation

EngeeComms.BPSKModulator

Modulates data using the BPSK method.

Library

EngeeComms

Block

BPSK Modulator Baseband

Description

The EngeeComms.BPSKModulator system object modulates a signal using the binary phase shift keying (BPSK) method.

To BPSK modulate a signal, perform the following steps:

  1. Create an EngeeComms.BPSKModulator object and set its properties.

  2. Call the object with arguments as if it were a function.

To learn more about how to work with system objects, see Engee system objects.

Syntax

Creation

  • object = EngeeComms.BPSKModulator creates a system object for binary phase shift keying (BPSK) signal modulation, with by default properties. Example:

    bpskmodulator = EngeeComms.BPSKModulator()
  • object = EngeeComms.BPSKModulator(Name=Value) creates a system object to modulate a signal using the Binary Phase Shift Keying (BPSK) method, with each specified property Name (name) set to the specified Value (value). You can specify additional arguments as a name-value pair in any order (Name1=Value1,…​, NameN=ValueN). Example:

    bpskmodulator = EngeeComms.BPSKModulator(Variance=4)
  • object = EngeeComms.BPSKModulator(phase=Name=Value) creates a system object to modulate a signal using the Binary Phase Shift Keying (BPSK) method, with each specified property Name (name) set to the specified Value (value) and the specified value of the PhaseOffset property. You can specify additional arguments as a name-value pair in any order (Name1=Value1,…​,NameN=ValueN). Example:

    bpskmodulator = EngeeComms.BPSKModulatorBaseband(PhaseOffset = pi/4)

Usage

  • waveform = bpskmodulator(data) applies BPSK modulation to the input data and returns a BPSK modulated baseband signal.

Arguments

Input arguments

data - input signal data
vector-column | matrix

Details

Input signal data specified as a column vector or matrix.

Типы данных

Float64

Output arguments

waveform - BPSK modulated baseband signal
vector-column | matrix

Details

A BPSK-modulated wideband signal returned as a column vector or matrix of the same size as the input signal. See the OutputDataType property for details on the output data type.

Типы данных

Float64

Support for complex numbers

Yes

Properties

PhaseOffset - zero point phase shift
0 (By default) | scalar

Details

Zero point phase shift in radians.

Типы данных

Float64

OutputDataType - output data type
Float64 (by default)

Details

Output data type. Defined as:

  • Float64 (by default).

Типы данных

char

Methods

Common for all system objects

step!

Start the system object algorithm

Optional

Algorithms

Phase modulation is a linear baseband modulation technique in which the message modulates the phase of a constant amplitude signal. Binary phase shift keying (BPSK) is a biphase modulation scheme in which 0 and 1 in a binary message are represented by two different phase states in the carrier signal.

for

where

  • , ;

  • - initial phase shift;

  • - energy per bit;

  • - bit duration;

  • - carrier frequency.

The basic representation of a BPSK signal is as follows:

The probability of a bit error in the AWGN channel is:

where is the spectral power density of noise.