Introduction
Signal modulation plays a pivotal role in telecommunications, making it possible to transmit information across significant distances. To gain a practical understanding of modulation principles, this exercise utilizes the Red Pitaya, a versatile, open-source, software-defined radio (SDR) platform. The Red Pitaya enables us to generate and modify signals, facilitating the exploration of key concepts such as mixing, Amplitude Modulation (AM), and the impact of frequency normalization. This hands-on approach bridges the gap between theory and practice, allowing users to delve into the intricacies of signal modulation in a tangible way.
Mixing
The operation of mixing involves combining two signals together, usually through a multiplication operation. The result of multiplying two signals is a process that creates sum and difference frequencies from the original frequencies.
In the analysis of mixing, two sinusoids were used because sinusoids are the basis functions for Fourier Analysis, and any periodic signal can be represented as a combination of sinusoids (according to the Fourier Series). As such, it provides a straightforward way to visualize and analyze the principles of mixing and modulation.
To achieve this modulation, we can view the mathematical result of multiplying two periodic waveforms. For this analysis case, we will employ two sinusoids.
Multiplying these two is made simple by invoking the well known trig identity:
thus allowing:
This shows that:
- We generate data at the sum and difference frequencies
- Phases add directly
- The amplitude/energy of the resulting data is shared from both waveforms
In most mixing applications, the results of a mixer are then filtered to only include either the sum or the difference frequency.
AM modulation
Amplitude modulation (AM) is a simple yet effective modulation scheme where the message signal (information to be sent) changes the amplitude of a faster βcarrierβ signal. The carrier signal is the base waveform that is modified to carry the information. It is typically a high-frequency sinusoid, chosen because it can easily propagate through space as a radio wave.
Amplitude modulation involves using a message signal (bandlimited toΒ ) to modulate the amplitude of a faster βcarrierβ signal atΒ Β . For simplicity, we will take the carrier to have no phase (this is justified by (3), where we can see that the mixed results simple add phase, and we can simply defineΒ =0), and give the modulated signal some phaseΒ .
Dual Side Band (DSB) Modulation
In Dual Side Band modulation, both the upper and lower sidebands are transmitted. This effectively doubles the bandwidth required for transmission. DSB modulation is relatively straightforward, but is not the most efficient in terms of bandwidth utilization.
Employing the simplest mixing, we simply multiple the carrier (denotedΒ Β ) by the message signal (denoted Β ). This makes the resulting signalΒ Β
This is what is known as Dual Side Band (DSB) or suppressed carrier modulation.
Amplitude Modulation
The traditional AM scheme includes a DC offset which allows the receiver to easily detect and remove the carrier signal and recover the original message. It is used because it is simple and the receiver circuitry is also simple. However, it is not power efficient as it needs to transmit the carrier along with the signal.
A more traditional AM modulation method for AM modulation employs a slightly modified version of DSB modulation. This time, the modulating signal is 1) scaled by the carrier amplitude, and 2) given a DC offset. This makes the new modulation functionΒ Β take the form
This makes the modulated signal simplyΒ Β . This can be shown with some more clever trig identities to take the form
Sidenote: Modulation Index
The modulation index is a key parameter of any AM signal. It defines the extent of the variation in a carrier signal according to the information being sent. A high modulation index will cause a large amount of variation in the carrier signal, making it more susceptible to distortion or noise, while a low modulation index will lead to a lower signal quality.
Since there are now two terms, a carrier and the encoded message signal, we can consider the case of analyzing the peak of the message signal compared to the peak of the carrier. This ratio is known as the modulation indexΒ Β , and describes the modulation βstrengthβ of the message onto the carrier.
Full strengths modulation corresponds to a 100% index, and means that potential peaks of the carrier can be suppressed into a null. This parameter is not so important for this lab, but will be of interest to the analysis of communication systems in a future course.
Figure : Modulation Index visualized. Credit:Β Wikipedia Modulation
Normalized Frequency
Frequency normalization is often employed in discrete systems to facilitate comparison between systems of different sizes or specifications. Normalized frequency is simply the frequency represented in terms of the Nyquist frequency or the sampling rate, thereby abstracting away the actual values and instead focusing on the underlying behavior of the system.
After the act of sampling, it becomes convenient to rescale (normalize) frequency. This is done by the relation
Where Β Β is the sampling time. This representation is oftentimes used in discrete time systems as it allows for the consideration of systems in reference to the total bandwidth of the discrete system.
Tasks/Questions
Theory
1. Why in the analysis of mixing, were two sinusoids used? (Hint, sinusoids are what for the space of periodic functions?)
Two sinusoids were used because sinusoids form the basis of the space of periodic functions (Fourier series). In other words, any periodic function can be represented as a sum of sinusoids of various frequencies, amplitudes, and phases.
2. Why is the carrier being a sinusoid preferrable from a transmission perspective?
A sinusoid is preferable as a carrier signal because it is easy to generate, mathematically tractable, and well-suited for transmission over a medium (such as air for radio). Its constant amplitude makes it less prone to distortion as it propagates.
3. In both described AM schemes (DSB, AM w/modulation index), is there a way to reduce the total bandwidth of the system anymore? (Hint, do you need both sides of a spectrum to retrieve a signal if you know the signal is real valued?)
β’ In DSB and traditional AM, thereβs redundancy because the information is contained in both the upper and lower sidebands. If the signal is real-valued (as is often the case), you can use single-sideband (SSB) modulation, which cuts the bandwidth requirement in half.*
1. It was stated in the theory, that for AM, usuallyΒ Β >Β . Why would this be true, and why would one wantΒ Β to be even larger. For example, FM radio operates on a carrier ofΒ , but the bandwidth of audio signals is onlyΒ 20kHzΒ (as was demonstrated last lab).
Β is often chosen to ensure the message signal doesnβt interfere with the carrier signal, to simplify the process of demodulation, and to adhere to regulations that prevent signals from occupying too much bandwidth. Also, a higherΒ allows for better propagation of the signal.
2. Why is the carrier generally a very powerful signal in real systems? (Hint: how far are you from the radio tower when you listen to the radio? As all signals travel, they will spread out unless coerced otherwise)
The carrier signal is powerful in real systems because as signals travel, they lose power due to various factors (like propagation loss). A stronger carrier signal ensures that the signal can be received at a greater distance from the transmitter.
1. Why in the analysis of mixing, were two sinusoids used? (Hint, sinusoids are what for the space of periodic functions?)
Two sinusoids were used because sinusoids form the basis of the space of periodic functions (Fourier series). In other words, any periodic function can be represented as a sum of sinusoids of various frequencies, amplitudes, and phases.
2. Why is the carrier being a sinusoid preferrable from a transmission perspective?
A sinusoid is preferable as a carrier signal because it is easy to generate, mathematically tractable, and well-suited for transmission over a medium (such as air for radio). Its constant amplitude makes it less prone to distortion as it propagates.
3. In both described AM schemes (DSB, AM w/modulation index), is there a way to reduce the total bandwidth of the system anymore? (Hint, do you need both sides of a spectrum to retrieve a signal if you know the signal is real valued?)
β’ In DSB and traditional AM, thereβs redundancy because the information is contained in both the upper and lower sidebands. If the signal is real-valued (as is often the case), you can use single-sideband (SSB) modulation, which cuts the bandwidth requirement in half.*
1. It was stated in the theory, that for AM, usuallyΒ Β >Β . Why would this be true, and why would one wantΒ Β to be even larger. For example, FM radio operates on a carrier ofΒ , but the bandwidth of audio signals is onlyΒ 20kHzΒ (as was demonstrated last lab).
Β is often chosen to ensure the message signal doesnβt interfere with the carrier signal, to simplify the process of demodulation, and to adhere to regulations that prevent signals from occupying too much bandwidth. Also, a higherΒ allows for better propagation of the signal.
2. Why is the carrier generally a very powerful signal in real systems? (Hint: how far are you from the radio tower when you listen to the radio? As all signals travel, they will spread out unless coerced otherwise)
The carrier signal is powerful in real systems because as signals travel, they lose power due to various factors (like propagation loss). A stronger carrier signal ensures that the signal can be received at a greater distance from the transmitter.
Experiment for this Course:
Signal Modulation ExperimentExperiments related to modulation
Experiments & Lessons
Gallery view
Modifying a comparator
An OpAmp multivibrator
Transformer-Based Full Wave Rectification
Resistor Voltage Divider
Ping Pong
Moving average on Red Pitaya
Simple Calculator
Frequency Counter
Stopwatch
Knight Rider
Simple LED blinker
LED Counter
Vivado Project Setup
Programming the FPGA
Installation of Vivado 2020.1
Tasks and Functions in Verilog
Statements and Loops in Verilog
Assignments in Verilog
Operators in Verilog
Data Types and Values in Verilog
Introduction to Verilog
Boolean Functions
Karnaugh Map
Other Gates
Boolean Algebra
Mathematical Operations with the Binary Base
Digital Information and Numerical Bases
Common Emitter Transistor Amplifier
Transistors
Driving an LED with Analog PWM
Smoothing a PWM Signal using an RC Filter
Driving an LED with a PWM Signal
OpAmp Triangular Wave Generator
OpAmp Sine Wave Generator
OpAmp Multivibrator
Pulse Width Modulation
Function Generators
R-2R DAC
Binary Weighted DAC
Resistor Voltage Divider DAC
Digital to Analog Converter
Band-Pass Filter
Subtraction with OpAmps
Addition with OpAmps
Inverting and noninverting Schmitt Trigger
OpAmp Inverting Amplifier
OpAmp Non-Inverting Amplifier
Active Filters
Comparator & Schmitt Triggers
Analog Addition and Subtraction
Operational Amplifiers
Transformer-Based Full Wave Rectification
Full Wave Rectifier
OpAmp-Controlled LED Circuit
Diode Experiment
Full Wave Rectifiers and Transformers
Diodes
RC Transfer Function with Bode Analyzer
RC Circuit Response
Transient Response
Analog Filters
Resistors in Superposition
Superposition
Measuring the Oscillating Frequency of RLC Circuits
Measuring Frequency
Measuring Inductance using the Impedance Measurement Method
Measuring Inductance
Measuring Capacitance using the Rise/Fall Time Method
Measuring Capacitance
Measuring Uncertainty in Voltage Measurement
Measuring Uncertainty
Resonant Filter
Running Sum Filter
FIR vs. IIR Filters
Digital Filtering
Digital Filters
Half Bridge Rectifier
A Brief Tour of Linear Systems
Cascading Filters with Variable Stages
Cascading Filters
Single stage High Pass circuit
Single stage Low Pass circuit
Frequency Response of LTI Systems
Signal Modulation Experiment
Signal Modulation
Measuring external waveforms
Measuring External Waveforms with Red Pitaya
Resistor circuits
Measurements in Time Domain
Properties of periodic waveforms
Measuring the OpAmp board Gain using Oscilloscope application
Calculate gain Using SCPI commands in Python
Calculate Gain of OpAmp and Find -3dB point in Jupyter Notebooks
Calculate gain, phase and turn on LEDs in Jupyter Notebooks
Generate, acquire and plot a signal in Jupyter Notebooks
Β