Engee documentation

EngeeComms.BPSKDemodulatorBaseband

Demodulates data modulated using the BPSK method.

Library

EngeeComms.

Block

BPSK Demodulator Baseband

Description

The system object EngeeComms.BPSKDemodulatorBaseband demodulates a signal that has been modulated using the binary phase shift keying (BPSK) method. The exp(jθ) or -exp(jθ) values are converted to 0 or 1, respectively. The PhaseOffset property specifies the value of θ in radians.

To demodulate the BPSK modulated signal data, perform the following steps:

  1. Create an object EngeeComms.BPSKDemodulatorBaseband 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

  • bpskdemodulator = EngeeComms.BPSKDemodulatorBaseband() creates a system object to demodulate a signal that has been modulated using the Binary Phase Shift Keying (BPSK) method, with by default properties.

    Example:

    bpskdemodulator = EngeeComms.BPSKDemodulatorBaseband()
  • object = EngeeComms.BPSKDemodulatorBaseband(Name=Value) creates a system object to demodulate a signal that has been modulated using the Binary Phase Shift Keying (BPSK) method, with the specified property 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:

    bpskdemodulator = EngeeCommsc = BPSKDemodulatorBaseband(DecisionMethod="Hard decision",PhaseOffset=pi/4)

Usage

  • data = bpskdemodulator(waveform) applies demodulation to the BPSK-modulated signal waveform and writes the demodulated input signal to data.

Arguments

Input arguments

waveform — BPSK modulated baseband signal
vector-column | matrix

Details

A BPSK-modulated wideband signal specified as a column vector or matrix of the same size as the input signal.

Типы данных

Float64, Float32

Supports complex numbers

Yes

var - non-zero scalar noise variance
`non-zero scalar

Details

The noise variance given as a non-zero scalar.

The input modulated signal must be a complex signal. In the case of BPSK, the modulator outputs a complex signal with zero imaginary part. If you instead feed a real signal to the demodulator, you must represent the noise power of the complex signal in the real input signal by setting the variance value to twice the variance of the real input signal.

Output arguments

data - output data
vector-column | matrix

Details

Output data returned as a column vector or matrix.

Properties

# PhaseOffsetdescription missing
Scalar / array of real numbers

Details

Description missing

# DecisionMethoddescription missing
String

Details

Description missing

Methods

Common for all system objects

step!

Start algorithm of system object operation

Optional

* Hard demodulation of BPSK signal*

When applying hard demodulation, the input signal type and phase offset are taken into account.

This figure shows a BPSK signal demodulator with a rigid solution for a floating point or fixed point signal and a trivial phase offset (multiple of ).

so bpsk demodulator 1 en

This figure shows a BPSK signal demodulator with a rigid solution for a floating point signal and a non-trivial phase shift.

so bpsk demodulator 2 en

This figure shows a BPSK signal demodulator with a rigid solution for a fixed-point signal with non-trivial phase shift.

so bpsk demodulator 3 en