This repository contains the software architectures, digital signal processing (DSP) flowgraphs, and hardware-in-the-loop (HITL) deployment configurations for real-time generation, transmission, and validation of legacy analog modulation schemes.
This project validates theoretical signal processing models over-the-air (OTA) using Universal Software Radio Peripheral (USRP) hardware, with empirical signal verification conducted via a Vector Signal Generator (VSG) and Vector Signal Analyzer (VSA).
The core objective of this project was to transition from pure mathematical simulation to hardware-validated RF environments. This setup analyzes real-world channel and hardware impairments, including phase noise, local oscillator (LO) leakage, I/Q imbalance, and power amplifier non-linearities.
- SDR Transceiver: USRP (Universal Software Radio Peripheral)
- Analysis Equipment: Vector Signal Analyzer (VSA) for spectral verification, constellation tracking, and Occupied Bandwidth (OBW) measurements.
- Signal Reference: Vector Signal Generator (VSG) used to benchmark receiver sensitivity and carrier synchronization.
- OS: Linux (Ubuntu 20.04/22.04 recommended for UHD stability)
- Framework: GNU Radio Companion (v3.8 or v3.10)
- Hardware Driver: UHD (USRP Hardware Driver)
Each scheme was constructed utilizing base mathematical principles mapped to discrete GNU Radio block layouts.
-
Mathematical Concept:
$s(t) = [A_c + m(t)] \cos(2\pi f_c t)$ -
DSP Pipeline: Baseband audio/sine signal source
$\rightarrow$ DC Offset insertion (to ensure$1 + \mu \cdot m_n(t) > 0$ for envelope detection)$\rightarrow$ Multiplier block with Local Oscillator (LO) source$\rightarrow$ Low-Pass Filter$\rightarrow$ USRP Sink. -
Hardware Test Focus: Analysis of power distribution efficiency between the carrier and sidebands. Evaluation of distortion effects when the modulation index
$\mu > 1$ (over-modulation) using the VSA.
-
Mathematical Concept:
$s(t) = m(t) \cdot \cos(2\pi f_c t)$ -
DSP Pipeline: Source Signal
$\rightarrow$ Balanced Mixer (Multiplier) with a pure Carrier Sinusoid$\rightarrow$ USRP Sink. - Hardware Test Focus: Verification of carrier suppression depth (measured in dBc below the sidebands) on the Spectrum Analyzer to confirm mixer balance.
-
Mathematical Concept:
$s(t) = m(t)\cos(2\pi f_c t) \mp \hat{m}(t)\sin(2\pi f_c t)$ - DSP Pipeline: Implemented using the Frequency Discrimination Method and the Phase Discrimination (Hilbert Transform) Method.
-
Frequency Discrimination Method: This architecture generates SSB-SC by first producing a standard DSB-SC signal through a balanced mixer and then passing it through an ultra-sharp, narrow-band bandpass filter to isolate the desired sideband (USB or LSB). Because it relies on physical filtering, it requires high-
$Q$ factor filters (such as crystal or ceramic filters) with extremely steep roll-off characteristics to successfully suppress the unwanted sideband without distorting the adjacent message spectrum.
-
Phase Discrimination (Hilbert Transform) Method: This architecture bypasses physical filtering by utilizing two parallel modulation paths fed with exact
$90^\circ$ phase-shifted variants of both the carrier and the modulating baseband signals (the latter via a Hilbert Transform). When the outputs of these two branches are summed or subtracted, destructive interference completely cancels out one sideband while constructive interference reinforces the other, generating a clean SSB-SC signal mathematically.
- Hardware Test Focus: Measurement of unwanted sideband rejection ratio and tracking carrier leakage under real-world I/Q phase imbalances.
-
Mathematical Concept:
$s(t) = A_c \cos(2\pi f_c t + \beta \sin(2\pi f_m t))$ where modulation index$\beta \le 0.5$ . -
DSP Pipeline: Audio Source
$\rightarrow$ Integrator Block$\rightarrow$ Phase Modulator or direct feed into an active VCO configuration limited to narrow deviation bounds ($< 5\text{ kHz}$ bandwidth limits). - Hardware Test Focus: Analysis of Carson's Rule approximations for bandwidth and checking the emergence of first-order sidebands on the VSA.
Using the VSA and Spectrum Analyzer, the physical transmitted waveforms were subjected to rigorous validation metrics:
-
Occupied Bandwidth (OBW): Measured at
$99%$ signal energy to ensure tight spectral confinement matching theoretical metrics ($2B$ for DSB,$B$ for SSB). -
Carrier Suppression Ratio: Quantified the suppression depth in DSB-SC modes, targetting
$> 40\text{ dB}$ attenuation relative to the peak power of the intelligence sidebands. - Harmonic Distortion: Monitored the RF output spectrum for extraneous intermodulation products arising from DAC non-linearities or over-driving the USRP's internal Tx Gain stages.




