I'd like to be able to look at the output of the LNA in the AD9361 Simulink model. I've been able to modify the model to get the output from the IQ demod, but no further back towards the receive antenna. The issue is that when I take the output from the LNA, I still get the spectrum from roughly -5.5 to +5.5MHz. I'm not sure how to set the spectral display. It seems that the issue is with the inherited sample rate in the spectral display, but I don't see how to adjust that.
One other question. In the LNA, I see that NF (noise figure) is used as a variable to set the noise contribution of the LNA, but I don't see where in the model where NF is actually defined/quantified.
Hi Srikanth, when I double click on the LNA block, I get the dialogue box shown below, that only gives me input and output impedances for parameters. Am I doing something wrong?
I was referring to the Dialogbox of the Outport block (labeled Outport_Q in your first screenshot), not LNA.
That was it, working fine now, thank you!
For the most part, this is working. However, I noticed that the expected output (@LO = 2GHz and RF = 2MHz) is sitting at about 2.5MHz, not where is should be at 2MHz. By itself this is a problem, but I am also getting spurs at about 4.5MHz. This is really messing up my attempt at harmonic distortion measurement.
If I look at the demodulated output of the system, the signals show up at 2MHz, exactly where I placed them.
Do you have any idea of where this inaccuracy is coming from?
Hi Steve, which output signal is this spectrum analyzer block plotting? Is it connected to the output of AD9361_RX block? Did you make any other changes to the model?