Skip to main content

Pulse Position Modulation (PPM)


Pulse Position Modulation (PPM) is a type of signal modulation in which M message bits are encoded by transmitting a single pulse within one of 2แดน possible time positions within a fixed time frame. This process is repeated every T seconds, resulting in a data rate of M/T bits per second.

Pulse Position Modulation Example

Bits per symbol: m = 3

Number of slots per symbol duration: M = 2^m = 2^3 = 8

Example symbol: 101 → decimal 5 → pulse sent in slot 5 (out of 0…7)

Symbol duration: T_s = 8 ms → each time slot: T_slot = T_s / M = 8 / 8 = 1 ms

Pulse for symbol 101 is transmitted between 5 ms and 6 ms.

Timeline representation of 3-bit PPM
Slot: 0   1   2   3   4   5   6   7
Time: 0-1 1-2 2-3 3-4 4-5 5-6 6-7 7-8 ms
Pulse →                           █
    

PPM is a form of analog modulation where the position of each pulse is varied according to the amplitude of the sampled modulating signal, while the amplitude and width of the pulses remain constant. This means only the timing (position) of the pulse carries the information.

PPM is commonly used in optical and wireless communications, especially where multipath interference is minimal or needs to be reduced. Because the information is carried in timing, it's more robust in some noisy environments compared to other modulation schemes.

Although PPM can be used for analog signal modulation, it is also used in digital communications where each pulse position represents a symbol or bit pattern. However, it is not ideal for transmitting complex data files, as it is generally used for simple or low-data-rate signaling.

PPM waveform illustration
Fig: PPM Waveforms

Demodulation of PPM Signal

Demodulation circuit for PPM


The noise-corrupted PPM waveform is received by the PPM demodulator circuit. A pulse generator produces fixed-duration pulses from the incoming PPM signal and applies these pulses to the reset (R) input of an SR flip-flop.

Simultaneously, a reference pulse train of fixed frequency is extracted (or generated) from the PPM signal and applied to the set (S) input of the flip-flop.

As a result of these set and reset signals, the SR flip-flop generates a PWM (Pulse Width Modulated) waveform at its output. The width of each pulse corresponds to the time delay between the reference pulse and the received PPM pulse — effectively recovering the original signal information.


Pulse Position Modulation (PPM) of Sinusoidal Signal

We have a sinusoidal signal:

x(t) = A sin(2ฯ€ f t)

And we want to modulate this signal using Pulse Position Modulation (PPM).


Step-by-Step Example

1. Sinusoidal Signal

Let’s define a sinusoidal signal as:

x(t) = 5 sin(2ฯ€ ⋅ 1 ⋅ t)

This is a sine wave with:

  • Amplitude: A = 5
  • Frequency: f = 1 Hz

2. Pulse Position Modulation Concept

We’ll now encode information into the timing of pulses based on this sinusoidal signal.

If the amplitude is large (positive or negative), the pulse will be farther from a reference time (i.e., delayed). If it’s small, the pulse will be closer to the reference time.

3. Calculating the Pulse Positions

We compute the values of x(t) and the corresponding pulse positions:

Time Sample 1: t = 0

x(0) = 5 sin(0) = 0

Pulse at reference time t = 0.

Time Sample 2: t = 0.1

x(0.1) = 5 sin(0.2ฯ€) ≈ 2.939
Shift = 0.1 × 2.939 = 0.294
t = 0.1 + 0.294 = 0.394 seconds

Time Sample 3: t = 0.2

x(0.2) = 5 sin(0.4ฯ€) ≈ 4.7555
Shift = 0.1 × 4.7555 = 0.47555
t = 0.2 + 0.47555 = 0.67555 seconds

Time Sample 4: t = 0.3

x(0.3) = 5 sin(0.6ฯ€) ≈ 4.045
Shift = 0.1 × 4.045 = 0.4045
t = 0.3 + 0.4045 = 0.7045 seconds

Time Sample 5: t = 0.4

x(0.4) = 5 sin(0.8ฯ€) ≈ 4.7555
Shift = 0.1 × 4.7555 = 0.47555
t = 0.4 + 0.47555 = 0.87555 seconds

Time Sample 6: t = 0.5

x(0.5) = 5 sin(ฯ€) = 0
Pulse at reference time t = 0.5

4. Summary of Pulse Timing

Pulse positions based on sinusoidal amplitude:

Sample Time (t) Amplitude x(t) Pulse Position (tpulse)
0.0 0 0.0
0.1 2.939 0.394
0.2 4.7555 0.67555
0.3 4.045 0.7045
0.4 4.7555 0.87555
0.5 0 0.5

Effect of Noise on Pulse Position Modulation

Since in a PPM system the transmitted information is contained in the relative positions of the modulated pulses, the presence of additive noise affects the performance by falsifying the perceived pulse timing. Immunity to noise can be improved by making the pulse rise rapidly, reducing the time window for noise interference.

In theory, noise would have no effect if pulses were perfectly rectangular (requiring infinite bandwidth). In practice, finite rise times mean some degradation is inevitable. Similar to continuous-wave modulation, PPM performance can be evaluated using the output signal-to-noise ratio (SNR). The figure of merit compares output SNR to channel SNR, showing that performance improves with bandwidth but suffers a threshold effect when SNR drops too low.


Further Reading

  1. MATLAB Code for Pulse Position Modulation (PPM)

People are good at skipping over material they already know!

View Related Topics to







Contact Us

Name

Email *

Message *

Popular Posts

Theoretical BER vs SNR for binary ASK, FSK, and PSK with MATLAB Code + Simulator

๐Ÿ“˜ Overview & Theory ๐Ÿงฎ MATLAB Codes ๐Ÿ“š Further Reading Bit Error Rate (BER) Equations BER formulas for ASK, FSK, and PSK modulation schemes. ASK BER = 0.5 × erfc(0.5 × √SNR) FSK BER = 0.5 × erfc(√(SNR / 2)) PSK BER = 0.5 × erfc(√SNR) Theoretical BER vs SNR for Amplitude Shift Keying (ASK) The theoretical Bit Error Rate (BER) for binary ASK depends on how binary bits are mapped to signal amplitudes. For typical cases: If bits are mapped to 1 and -1, the BER is: BER = Q(√(2 × SNR)) If bits are mapped to 0 and 1, the BER becomes: BER = Q(√(SNR / 2)) Where: Q(x) is the Q-function: Q(x) = 0.5 × erfc(x / √2) SNR : Signal-to-Noise Ratio N₀ : Noise Power Spectral Density Understanding the Q-F...

Simulation of ASK, FSK, and PSK using MATLAB Simulink (with Online Simulator)

๐Ÿ“˜ Overview ๐Ÿงฎ How to use MATLAB Simulink ๐Ÿงฎ Simulation of ASK using MATLAB Simulink ๐Ÿงฎ Simulation of FSK using MATLAB Simulink ๐Ÿงฎ Simulation of PSK using MATLAB Simulink ๐Ÿงฎ Simulator for ASK, FSK, and PSK ๐Ÿงฎ Digital Signal Processing Simulator ๐Ÿ“š Further Reading ASK, FSK & PSK HomePage MATLAB Simulation Simulation of Amplitude Shift Keying (ASK) using MATLAB Simulink In Simulink, we pick different components/elements from MATLAB Simulink Library. Then we connect the components and perform a particular operation. Result A sine wave source, a pulse generator, a product block, a mux, and a scope are shown in the diagram above. The pulse generator generates the '1' and '0' bit sequences. Sine wave sources produce a specific amplitude and frequency. The scope displays the modulated signal as well as the original bit sequence created by the pulse generator. Mux i...

BER vs SNR for M-ary QAM, M-ary PSK, QPSK, BPSK, ...(MATLAB Code + Simulator)

Bit Error Rate (BER) & SNR Guide Analyze communication system performance with our interactive simulators and MATLAB tools. ๐Ÿ“˜ Theory ๐Ÿงฎ Simulators ๐Ÿ’ป MATLAB Code ๐Ÿ“š Resources BER Definition SNR Formula BER Calculator MATLAB Comparison ๐Ÿ“‚ Explore M-ary QAM, PSK, and QPSK Topics ▼ ๐Ÿงฎ Constellation Simulator: M-ary QAM ๐Ÿงฎ Constellation Simulator: M-ary PSK ๐Ÿงฎ BER calculation for ASK, FSK, and PSK ๐Ÿงฎ Approaches to BER vs SNR What is Bit Error Rate (BER)? The BER indicates how many corrupted bits are received compared to the total number of bits sent. It is the primary figure of merit for a...

OFDM Waveform with MATLAB Code

  In OFDM (Orthogonal Frequency Division Multiplexing) , we transmit multiple orthogonal subcarriers simultaneously. Since the subcarriers are orthogonal , they do not interfere with each other, which is one of the main advantages of OFDM. Practically, OFDM converts a wideband signal into multiple narrowband orthogonal subcarriers. For typical wireless communication, if the signal bandwidth (or symbol duration) exceeds the coherence bandwidth of the channel, the signal experiences frequency-selective fading . Fading distorts the signal, making it difficult to recover the original information. By using OFDM, we transmit the same wideband signal across multiple orthogonal narrowband subcarriers, reducing the effect of fading. For example, if we want to transmit a signal of bandwidth 1024 kHz , we can divide it into N = 8 subcarriers . Each subcarrier is then spaced by: ฮ”f = Total Bandwidth N = 1024 8 kHz...

MATLAB Code for Constellation Diagram of QAM configurations such as 4, 8, 16, 32, 64, 128, and 256-QAM

๐Ÿ“˜ Overview of QAM ๐Ÿงฎ 4-QAM MATLAB ๐Ÿงฎ 16-QAM MATLAB ๐Ÿš€ Online Simulator ๐Ÿ“‚ Other Topics on Constellation Diagrams... ▼ ๐Ÿงฎ MATLAB Code for 4-QAM ๐Ÿงฎ MATLAB Code for 16-QAM ๐Ÿงฎ MATLAB Code for m-ary QAM ๐Ÿงฎ Simulator for m-ary PSK ๐Ÿงฎ Simulator for m-ary QAM ๐Ÿงฎ Overview of Energy per Bit (Eb / N0) ๐Ÿงฎ Simulator for ASK, FSK, and PSK Overview of QAM One of the best-performing modulation techniques is QAM [↗] . Here, we modulate the symbols by varying the carrier signal's amplitude and phase in response to the variation in the message signal (or voltage variation). So, we may say that QAM is a combination of phase and amplitude modulation. Additionally, it performs better than ASK or PSK [↗] . In fact, any constellation for any type of modulatio...

Power Spectral Density Calculation Using FFT in MATLAB

๐Ÿ“˜ ๐Ÿ“˜ Overview ๐Ÿงฎ ๐Ÿงฎ Steps to calculate ๐Ÿ’ป ๐Ÿงฎ MATLAB Codes ๐Ÿ“š ๐Ÿ“š Further Reading Power spectral density (PSD) tells us how the power of a signal is distributed across different frequency components, whereas Fourier Magnitude gives you the amplitude (or strength) of each frequency component in the signal. Steps to calculate the PSD of a signal Firstly, calculate the fast Fourier transform (FFT) of a signal. Then, calculate the Fourier magnitude (absolute value) of the signal. Square the Fourier magnitude to get the power spectrum. To calculate the Power Spectral Density (PSD), divide the squared magnitude by the product of the sampling frequency (fs) and the total number of samples (N). Formula: PSD = |FFT|^2 / (fs * N) Sampling frequency (fs): The rate at which the continuous-time signal is sampled (in Hz). ...

Online Simulator for ASK, FSK, and PSK

Try our new Digital Signal Processing Simulator!   •   Interactive ASK, FSK, and BPSK tools updated for 2025. Start Now Interactive Modulation Simulators Visualize binary modulation techniques (ASK, FSK, BPSK) in real-time with adjustable carrier and sampling parameters. ๐Ÿ“ก ASK Simulator ๐Ÿ“ถ FSK Simulator ๐ŸŽš️ BPSK Simulator ๐Ÿ“š More Topics ASK Modulator FSK Modulator BPSK Modulator More Topics Simulator for Binary ASK Modulation Digital Message Bits Carrier Freq (Hz) Sampling Rate (...

FastAPI Static Files – Overview

FastAPI Static Files Often, a web application needs to include resources that do not change, even when dynamic data is rendered. These resources are called static assets . Examples of static files include: Images ( .png , .jpg ) JavaScript files ( .js ) Stylesheets ( .css ) Installing Required Library To handle static files in FastAPI, you need the aiofiles library. pip install aiofiles Mounting Static Files FastAPI uses the StaticFiles class to serve static content. You mount a folder (usually named static ) so that all files inside it can be accessed via a URL. from fastapi import FastAPI from fastapi.staticfiles import StaticFiles app = FastAPI() app.mount("/static", StaticFiles(directory="static"), name="static") Example 1: Using an Image Place an image file (for example, fa-logo.png ) inside the static folder. main.py from fastapi import FastAPI, Request from fastapi.responses import HTMLRespon...