002_mixer : RF Mixer Schematic Simulation
Minimum Required Versions: Gateway 2.12.8.R, SmartSpiceRF 1.6.3.R
RF Example 2 is a mixer design (
). The three ports of the mixer are the Local Oscillator port (LO), the Radio Frequency (RF) port, and the Intermediate Frequency (IF) port. The LO port, used exclusively as an input port, acts as a gate in such a way that when the voltage on the port is high, the mixer is considered "on". When the voltage is low, the mixer is considered "off". The
control file for this design (
mixer.ctr) shows that there will be 2 separate runs performed on the mixer. The first simulation will calculate the measurement for the noise figure. Specifically, the NFssb, or single-sideband noise figure will be examined. After the first simulation completes, the .ALTER statement is processed along with all the statements that follow it. At this point, the second simulation is performed which is the measurement for harmonic distortion.
When the schematic is opened and the Run button is pressed, the simulation begins and when it is complete, the SmartView window appears. From the data browser, choose the noise analysis and expand the analysis to show the vectors. Choose the NFssb vector and drag it into the display. The plot of the NFssb vector (
) shows the single sideband noise figure over the frequency range. After deleting that plot, the harmonic distortion plot can be generated. From the SmartView data browser window, expand the harmonic spectral analysis and choose the vector named 'a'. This vector was created in the control file and specified to be the dB of the output node. Drag the vector into the chart window and the
spectral data is shown (
). NOTE: the y axis is scaled to a minimum of -150 and a maximum of 0.