<< lf_reset Carrier recovery Channelization >>

comm_tbx >> Communication toolbox > Carrier recovery > ped_init

ped_init

Phase error detector for BPSK / M-ASK (squaring loop) and M-PSK ( loop)

Calling Sequence

ped = ped_init(tp,M[,tc])

Parameters

tp:

Type of phase detector (can be 'psk', 'costa', 'psk-atan', 'psk-map', or 'ask')

M:

Number of possible symbols ( with being the number of bits per symbol)

tc:

Time constant for coarse RSSI estimation (expressed in number of samples)

ped:

Phase error detector object. Fields are: ped.process: processing function of form [ped,dphi] = process(ped,z), with dphi: phase error, and z: input sample, other fields are private.

Description

This is a basic phase error detector for M-PSK (or M-ASK). Different type of detectors are supported:

Example

// Default PED for BPSK (squaring loop)
ped = ped_init('psk',2);
n = 100;
// Test signal : varying phase error from -%pi to +%pi
phase = linspace(-%pi,%pi,n)';
z = exp(%i*phase);
// Use the PED on the signal "z"
detected_phase = ped.process(ped, z);
// Notice phase ambiguity due to the squaring
clf(); plot(phase,detected_phase);

Example of phase error detection (here squaring loop, e.g. M=2). Note the phase ambiguity of .

See also

Authors


Report an issue
<< lf_reset Carrier recovery Channelization >>