
Software-defined radio uses software on general-purpose hardware to implement what used to be hardware components, enabling a ground station–to–UAV data link.
Software-defined radio enables flexibility and rapid prototyping by implementing diverse wireless communication systems on the same hardware through software changes, reducing hardware obsolescence and deployment costs.
Modulation and demodulation drive wireless communication in SDRs. A baseband signal at zero hertz is shifted to a carrier to form a passband signal, doubling its bandwidth.
Explore analog and digital modulation by how a message modulates a carrier's amplitude, frequency, or phase, covering amplitude, frequency, and phase modulation as the main techniques.
Modulation shifts a signal’s center frequency to a higher carrier, reducing antenna size, and enables multiple signals to share the same bandwidth through frequency division multiplexing.
Study amplitude modulation, where multiplying the message signal by a carrier yields the modulated signal; the baseband shifts to the carrier and the bandwidth doubles.
Demonstrates demodulating an amplitude modulated signal by multiplying with the transmitter carrier, applying the cos^2 identity, and using a low-pass filter to recover the baseband at 0 hertz.
Recover the carrier at the receiver for amplitude modulated signals using a phase lock loop, such as the costos loop, implemented in GNU Radio as a hardware or software block.
Learn how quadrature amplitude modulation uses in-phase and quadrature components carried on cosine and sine carriers to transmit two signals in one bandwidth, with demodulation through mixing and low-pass filtering.
Learn binary amplitude shift keying: map bits to symbols, modulate with cos(ωc t) for on-off keying, and view the I-axis constellation; zero symbol has no energy.
Explore four-ask digital modulation, using four symbol levels mapped to voltage levels, modulated by a carrier cos(ωct), producing four constellation points on the I axis and two bits per symbol.
Demodulate 4-ask signals by multiplying the received signal with the carrier, applying a low-pass filter to recover baseband symbols, sampling, and applying thresholds to map samples to the transmitted bits.
Learn binary phase shift keying, where information resides in carrier phase; map 1 to 0° and 0 to 180°, then modulate with a cos carrier to form phase-opposite, equal-amplitude symbols.
Demonstrate BPSK demodulation by mixing with the carrier, applying a low-pass filter, sampling baseband symbols, and thresholding the two-point constellation to recover transmitted bits.
Describe M-PSK modulation, from BPSK to 8-PSK, detailing symbol phases, bits per symbol, and gray coding advantages of reducing bit errors with constant-energy constellation on a circle.
Map two bits to I and Q components to form a QPSK signal with M=4 symbols, combining two BPSK signals modulated on cos and minus omega ct, then band-pass filter.
Demonstrate QPSK demodulation by processing the I and Q branches with BPSK demodulators, low-pass filters, thresholding, and level-to-bit mapping to recover serial bits.
Differential encoding measures a symbol's phase relative to the previous symbol, using an encoder and decoder to tolerate 180-degree carrier shifts, while risking error propagation to the next symbol.
Lecture explains quadrature amplitude modulation by varying amplitude and phase, using root M ASK signals to generate 16-QAM symbols, mapping 4 bits per symbol to I axis and Q axis.
Generate 16-qam signals by using two ESK modulators to map input bits to IESK and QESK levels, modulate with a cosine carrier, and sum the results to form 16-qam symbol.
Demonstrate 16-qam demodulation using two ask demodulators for i and q paths, using thresholds and a low-pass filter to map received levels to bits, producing 1101.
Explore generating a psk signal from quadrature amplitude modulation by keeping the amplitude constant and varying the I and Q components to vary the phase.
Generate ASK within QAM by setting the Q component to zero and varying the I component; vary I and Q to create different constellations for SDR modulation in GNU Radio.
Quadrature amplitude modulation (QAM) uses the I and Q to create constellation points with distinct phase and amplitude, enabling SDRs to generate digital and analog modulation schemes.
Explain how analog frequency and phase modulation are generated in SDRs using quadrature amplitude modulation. Show how varying I and Q yields theta t and modulates phase and frequency.
Represent SDR symbols as complex numbers using the I and Q components, mapping constellation points to S0=2+J, S1=-2+J, S3=-2-J, and S4=2-J.
Explore the SDR transmitter block diagram, where GNU Radio handles baseband processing and the RF front end modulates I/Q samples with cosine and sine carriers through DACs, filters, and antenna.
A complex symbol enters the receiving SDR, is amplified, demodulated by I and Q paths, filtered, digitized by analog to digital converter, and decoded by GNU Radio into bits.
The simplified sdr setup links a pc running GNU Radio to sdr transceiver via Ethernet or USB, transmitting I and Q as complex symbols, modulating and demodulating them to bits.
Examine the USRP block diagram, NI's universal software radio peripheral. Trace antenna to amplifiers, 40 MHz low-pass filter, 100 mega samples per second ADC, and I/Q processing via GNU radio.
Explore the simplified RTL-SDR block diagram for reception-only RTL-STR hardware, including LNA, filtering, mixer to an intermediate frequency, a 5 MHz IF, IF amplification, and I/Q demodulation.
Explore how GNU radio provides real-time signal processing on a PC, handling I and Q data for transmit and receive modes, with Python wrappers for C++ blocks.
Write GNU Radio flow diagrams to build SDR applications, using Python scripts or the GNU Radio Companion. Connect sources, sinks, and signal processing blocks.
Learn to install the new radio on Linux via the repository method—adding the repository, updating, and installing the radio and development tools—and consult the resources for Windows or source installs.
Map bits to eye levels and form complex symbols in GNU Radio for BPSK, using I and Q components with thresholds to demodulate zero or one.
Generate bpsk samples with a gnu radio flow diagram by defining variables, creating random bits, throttling, converting bytes to floats, forming i and q, and using constellation and threshold blocks.
Generate QPSK complex symbols in GNU Radio by mapping two bits per sample to I and Q levels with gray coding, then transmit the symbols and add channel noise.
Generate qpsk constellation samples in GNU Radio by streaming i bits (0110) and q bits (0011), mapping to i and q levels, and adding gaussian noise to visualize the constellation.
Learn how to prepare the SDR hardware by upsampling I and Q samples, mitigating multipath-induced frequency distortion with pulse shaping and an equalizer, and recovering clock, frequency, and phase.
Explore upsampling of IQ symbols for a BPSC signal with only the I component, using an upsampling factor of four, generating impulses, and smoothing via a DAC before SDR modulation.
Illustrates how multipath in wireless channels causes intersymbol interference with direct and reflected paths, creating delayed echoes and frequency-selective distortion that lead to bit errors.
Explore pulse shaping to combat intersymbol interference from multipath by comparing sync pulses and raised cosine pulses, and learn how adjusting the roll-off factor r trades bandwidth for ISI reduction.
Explains how transmitter and receiver use root raised cosine pulse shaping with matched filters to produce raised cosine bandwidth for BPSK, followed by sampling and threshold demodulation.
Explore PSK modulation in GNU Radio by selecting constellation modulator and constellation object, configuring QPSK and upsampling four samples per symbol with 0.35 excess bandwidth for pulse shaping.
Demonstrate PSK modulation in GNU Radio with fourfold upsampling and pulse shaping using root raised cosine filters, yielding a four-point constellation and reduced intersymbol interference.
Simulate wireless channels in GNU Radio with the channel model block, adjusting noise voltage, frequency offset, and epsilon to model multipath taps and real and imaginary parts for each tap.
Simulate a wireless channel in GNU Radio using the channel model and qtgui range blocks to adjust timing and frequency offsets, noise, and six-tap multipath affecting the constellation.
Explains polyphase clock synchronization block in the receiver, delivering clock recovery to align transmitter and receiver clocks, root raised cosine filtering, and down sampling to align timing and sampling rate.
Explore the polyphase clock synchronization block in GNU Radio, its root raised cosine filter that removes intersymbol interference, and how channel noise and offsets affect clock recovery and synchronization.
The receiver uses an equalizer to invert the channel's frequency response and counter intersymbol interference; training-based equalizers use a known training sequence, while blind equalizers rely on received samples.
Explore linear equalizers with CMA and LMS, and configure the adaptive algorithm to select the equalizer type, creating the adaptive algorithm object with an ID for the linear equalizer.
Explore the constant modulus algorithm blind equalizer, a radio block for constant-amplitude signals, that uses tunable taps to mitigate intersymbol interference while balancing computational overhead.
Choose the constant modulus algorithm and transmitter constellation for CMA, then tune the step size, modulus, and upsampling to enable the blind CMA equalizer against six multipath interference.
Describe the least mean square decision directed equalizer, a blind receiver that removes intersymbol interference without training sequences by using known constellation information, with limitations at low signal-to-noise ratio.
The LMS equaliser in GNU Radio acts as a blind, decision-directed compensator that removes intersymbol interference in a six multipath channel, using a 0.005 step size and PSK modulation.
Master carrier recovery by synchronizing phase and frequency between transmitter and receiver with the Costas loop, adjusting loop bandwidth and loop order for bpsc, upsc, or ppsc signals.
Demonstrates a GNU Radio Costas loop for carrier recovery, analyzing a four-symbol modulation with a six-path channel, tuning loop bandwidth and sliders for frequency offset and timing error.
Explore packet transmission over radio using the tag stream block method in GNU Radio, detailing preamble, header, payload, and the CRC check block for error detection.
Learn to convert a file-based byte stream into tagged packets using the stream to tag stream block, configuring item size, vector length, and the packet length tag key.
Feed packets with length tags into the protocol formatter, which generates the header and preamble, then the tag stream max block multiplexes them with the packet.
Explore the constellation modulator block in GNU Radio, specify upsampling factor four, excess bandwidth, differential encoding, and define constellation types and points for baseband modulation.
Describe how a receiver uses a constellation decoder to map symbols to bits, removes preamble and header, unpacks two bits per byte, and repacks bits to reconstruct the payload.
Simulate end to end packet transmission and reception in a GNU Radio flow graph, from test.txt to decoded text through preamble, header, modulation (bpsk and gpsc), channel effects, and synchronization.
Demonstrates real-time wireless transmission using GNU Radio and SDR hardware, converting data to baseband I and Q symbols, transmitting with Lime SDR and receiving with RTL SDR.
Install Lime SDR drivers and firmware via the official repository using apt, then configure the Lime Suite, Lime Suite images, and SOPI SDR LMS7 module to enable GNU Radio communication.
Install RTL-STR hardware drivers with apt install RTL-STR, then bridge RTL-STR with GNU Radio via the SOPI-STR layer and verify detection with SOPI-STR util find showing LIME-STR and RTL-STR devices.
Configure the Soapy LimeSDR sink in GNU Radio to transmit a constellation-modulated signal at 60 megahertz, 250,000 samples per second, and 40 dB gain, after removing the channel model.
Use the soapy rtl-sdr source block to receive a 60 MHz signal at 250 ksps with 30 db gain, matching transmitter settings, and feed it to polyphase clock sync block.
Demonstrates end-to-end packet transmission and reception with GNU Radio, LimeSDR, and RTL-SDR. Uses 0.5 gain scaling before LimeSDR to prevent saturation, and implements constellation visualization, clock/phase synchronization, equalization, and decoding.
A 180-degree phase ambiguity at the receiver rotates the constellation, causing bit inversion and no data output until the costas loop is corrected; the next lecture addresses the solution.
Explain how differential encoding resolves 180-degree phase ambiguity in BPSK by comparing current and previous symbol phases, using a transmitter encoder and a receiver decoder, with potential error propagation.
Use differential encoding and a differential decoder to resolve receiver phase ambiguity in a BPSK flow diagram, achieving convergence and correct data after initialization.
SDR is a reality around us. It is present in a lot of systems everywhere and is a versatile technology which can be used for many things, not only academics and industrial, but also ethical hacking etc.
This course will comprehensively cover developing software defined radio (SDR) communications systems using the GNU Radio signal processing and development environment. The course is structured so that concepts and theory can be instantly translated to practice with hands-on implementations. We use two hardware SDR platforms: Universal Software Radio Peripheral (USRP) as transmitter and RTL-SDR as a receiver. However, the course is designed in such a way that even if you do not have USRP, you can use any other cheap SDR as transmitter easily with slight changes in gnuradio. As far as RTL-SDR is concerned, you can easily acquire this device for $19 only.
At the end of this course you will be able to make a data-communication link using SDRs.
This comprehensive course is comprised of following sections to cover all the important aspects of 'Software Defined Radio' environment:
Section 1: Introduction
Section 2: Communication fundamentals related to SDR
Section 3: Block Diagram of SDR Hardware Explained
Section 4: GNU Radio for Wireless Communication
Section 5: Combating the Impairments of The Wireless Channel
Section 6: Packet Transmission using GNU Radio