Communications Blockset    

Delays in Digital Modulation

Digital modulation and demodulation blocks sometimes incur delays between their inputs and outputs, depending on their configuration and on properties of their signals. The following table lists sources of delay and the situations in which they occur.

Table 1-3: Delays Resulting from Digital Modulation or Demodulation
Modulation or Demodulation Type
Situation in Which Delay Occurs
Amount of Delay
All demodulators in AM, PM, and FM sublibraries except OQPSK
Sample-based input, and Samples per symbol or Baseband samples per symbol parameter is greater than 1
One output period
All demodulators in CPM sublibrary
Sample-based input, D = Traceback length parameter
D+1 output periods
Frame-based input, D = Traceback length parameter
D output periods
All passband demodulators except OQPSK
Always
One output period
OQPSK modulator- demodulator baseband pair
Frame-based input
One output period
Sample-based input, Samples per symbol parameter is greater than 1
Two output periods
Sample-based input, Samples per symbol parameter is equal to 1, and the model uses a fixed-step solver with Mode parameter set to Auto or MultiTasking
Two output periods
OQPSK modulator- demodulator baseband pair
Sample-based input, Samples per symbol parameter is equal to 1, and the model uses a variable-step solver or the Mode parameter is not set to Auto or MultiTasking
One output period
OQPSK modulator- demodulator passband pair
Sample-based input, and Baseband samples per symbol parameter is equal to 1
One output period
Sample-based input, and Baseband samples per symbol parameter is greater than 1
Two output periods

As a result of delays, data that enters a modulation or demodulation block at time T appears in the output at time T+delay. In particular, if your simulation computes error statistics or compares transmitted with received data, then it must take the delay into account when performing such computations or comparisons.

First Output Sample in DPSK Demodulation.   In addition to the delays mentioned above, the DPSK, DQPSK, and DBPSK demodulators produce output whose first sample is unrelated to the input. This is related to the differential modulation technique, not the particular implementation of it.

Example: Delays from Demodulation

Demodulation in the model below causes the demodulated signal to lag, compared to the unmodulated signal. This delay is typical for sample-based data that the modulator upsamples. When computing error statistics, the model accounts for the delay by setting the Error Rate Calculation block's Receive delay parameter to 1. If the Receive delay parameter had a different value, then the error rate showing at the top of the Display block would be close to 1/2.

To open the completed model, click here in the MATLAB Help browser. To build the model, gather and configure these blocks:

Connect the blocks as shown above. Also, from the model window's Simulation menu, choose Simulation parameters; then in the Simulation Parameters dialog box, set Stop time to 100. Then run the model and observe the error rate at the top of the Display block's icon. Your error rate will vary depending on your Initial seed value in the Random Integer Generator block.


  Representing Signals for Digital Modulation Upsampled Signals and Rate Changes