A mixer transfers local oscillator (LO) phase noise directly to its output.

The preceding figure shows the transfer of phase noise from *f _{LO}*

The model `ex_simrf_phase_noise`

introduces
phase noise into the model from the section Create a Model with RF Interference. The first mixing stage
downconverts the RF and image to *f _{IF}*

To open this model, at MATLAB^{®} command line, enter:

addpath(fullfile(docroot,'toolbox','simrf','examples')) ex_simrf_phase_noise

The model uses subsystems with a MATLAB Coder™ implementation of a fast Fourier transform (FFT) to generate four plots.

The IF1 Display plot shows a power spectrum centered at the first intermediate frequency, measured between the first and second stages.

The figure shows that the LO phase noise has been transferred to the image. The RF signal on the carrier

*f*_{IF}_{1}is not visible in the figure because its power level is below the phase noise power of the downconverted image signal. The two visible peaks are at the same power as the IF shown in the previous section, Create a Model with RF Interference.The Output Display plot shows the downconverted RF with the images removed.

The LO phase noise has been transferred to the receiver output. The peak signal power is the same as in the previous section, Create a Model with RF Interference.

If you have DSP System Toolbox™ software installed, you can replace the MATLAB Coder subsystems with Vector Scope or Spectrum Analyzer blocks.

To simulate phase noise, the model phase modulates pink noise generated in the LO with Phase Noise subsystem.

The subsystem contains the following blocks:

A Random Number block outputs a Gaussian random number at discrete time steps to generate white noise.

A Gain block scales the signal by a factor of

where

*f*_{LO}_{1}is the LO frequency and*P*is the relative noise power density in dBc/Hz._{rel}A Discrete Filter block filters the uniform white noise to generate 1/

*f*noise.A Magnitude-Angle to Complex block phase modulates an input signal

*ϕ*. The output is of the form exp(*jϕ*).An Inport block models a controlled voltage source in the SimRF™ environment, modulating the carrier

*f*with the input signal exp(_{LO}*jϕ*). The circuit envelope equivalent signal is exp[*j*(`2`

*π**f*_{LO}_{1}*t*+*ϕ*(*t*))].

If you have Communications System Toolbox™ software installed, use the Phase Noise block to add phase noise to a given input signal.

Was this topic helpful?