Clear Filters
Clear Filters

Simulating I/Q Demodulator in Simulink

17 views (last 30 days)
Egor Losev
Egor Losev on 28 Aug 2023
Edited: Egor Losev on 29 Aug 2023
Hello,
I'm new to Simulink and trying to simlate my existing system's signal path in Simulink for better understanding. As the first step, I'm trying to simulated an analog sinusoidal signal with an analog phase modulation that goes through an I/Q demodulator and is later digitized by an 12-bit ADC. I'm stuck at the I/Q stage
My signal is the following:
Fs = 50e6;
Fc = 500e3; % Main signal carrier wave
t = (0:1/Fs:0.0002)';
f = 150e3; % Phase modulation added to the signal
y = sin(2*pi*Fc*t+1*sin(2*pi*f*t));
I then created the following Simulink model, where the signal is taken from the Workspace and goes through an inport to an I/Q demodulator and the scope measures the signal at several points.
The scope measures the following:
I have several questions:
Does the output have to be set as Complex Baseband or Real Passband? When set to RP the scope shows double the frequency of the original sinewave.
Am I missing something with the I/Q Demodulator that it doesn't output anything? The local oscillator frequency is set correctly.

Answers (0)

Products


Release

R2023a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!