This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
university:tools:pluto:users:non_quad [25 Jul 2019 06:00] – add attributes Robin Getz | university:tools:pluto:users:non_quad [01 Feb 2021 14:47] (current) – Iulia Moldovan | ||
---|---|---|---|
Line 21: | Line 21: | ||
{{ : | {{ : | ||
- | By looking at the frequency domain of the signal we are sending, we can see even after 300 years, the math holds up. | + | By looking at the digital loopback time and frequency domain of the signal we are sending, we can see even after 300 years, the math holds up. (The time domain signal looks like only one (green = '' |
- | {{ : | + | ^ Digital Loopback Time Domain |
- | + | | {{: | |
- | We can send that out the RF, by disabling loopback and setting the Rx and Tx LO to the same value. | + | |
===== Sending only I or only Q ===== | ===== Sending only I or only Q ===== | ||
Line 33: | Line 32: | ||
{{: | {{: | ||
- | The rest of the tests are the same as the above. | + | The rest of the tests are the same as the above. Take note that even though we are sending the same magnitude of I as before, the power in the signal is less (the peaks in the FFT drop), since we are sending half the power, (only I, no Q). |
+ | |||
+ | ^ Digital Loopback Time Domain | ||
+ | | {{: | ||
+ | |||
+ | ===== Sending the data ===== | ||
+ | |||
+ | We can send that out the RF, by disabling loopback and setting the Rx and Tx LO to the same value. The results shown during the receiving section are RF loopback (The BIST Loopback setting is set to '' | ||
====== Receiving a " | ====== Receiving a " | ||
Line 39: | Line 45: | ||
Receiving is where things can be more complicated. Most (all) integrated transceivers include some sort of Quadrature tracking corrections which try to ensure the signals are correct, and any imperfections in the chip or external circuitry (balun, non-differential traces, etc) are removed. | Receiving is where things can be more complicated. Most (all) integrated transceivers include some sort of Quadrature tracking corrections which try to ensure the signals are correct, and any imperfections in the chip or external circuitry (balun, non-differential traces, etc) are removed. | ||
- | While the frequency domain plot does look close to the same, but we can see that the amplitude is jumping up and down by a few dB. (which is impossible to show in a static picture like this). | + | While the frequency domain plot looks the same, we can see that the amplitude is jumping up and down by a few dB (which is impossible to show in a static picture like this). |
- | {{ : | + | ^ Analog Loopback, Frequency Domain, ACG On, Quadrature tracking On ^ |
+ | | {{: | ||
- | Its easier to look at this in the time domain. Here the amplitude difference between I & Q is random based on the random difference between the phase of the Rx and Tx PLL. | + | It' |
- | {{ : | + | ^ Analog Loopback, Time Domain, I & Q Data, ACG On, Quadrature tracking On ^ |
+ | | {{: | ||
- | You can change this magnitude difference by using the Phase Rotation control in IIO oscilloscope. It doesn' | + | You can change this magnitude difference |
- | {{ : | + | ^ Analog Loopback, Time Domain, I & Q Data ^ |
+ | | {{ : | ||
+ | |||
+ | The easiest way to ignore these things is to look at the overall magnitude of the signal ie - set up a math equation in IIO-Scope with '' | ||
+ | |||
+ | ^ I / Q Rotation ^ I, Q, and mag data ^ | ||
+ | | 0 | {{ : | ||
+ | | 50 degrees | ||
+ | | 70 degrees | ||
+ | | mag only | {{ : | ||
+ | |||
+ | You can see from the data (and the math) that we can rotate I/Q and it doesn' | ||
By capturing 1048576 samples (or at 3MSPS, 349525.333 us) you can see what looks like some weird sort of steps. These perturbations are caused by two state machines inside the AD9363 fighting against each other. (1) Automatic Gain Control (ACG) and (2) Quadrature tracking corrections. | By capturing 1048576 samples (or at 3MSPS, 349525.333 us) you can see what looks like some weird sort of steps. These perturbations are caused by two state machines inside the AD9363 fighting against each other. (1) Automatic Gain Control (ACG) and (2) Quadrature tracking corrections. | ||
- | {{ : | + | ^ Analog Loopback, Time Domain, I & Q Data, ACG On, Quadrature tracking On ^ |
+ | | {{ : | ||
- | The ACG is reacting to magnitude changes caused by the Quadrature tracking corrections misinterpreting that " | + | Here the green signal is the '' |
- | {{ : | + | The first step is to understand that the ACG is reacting to magnitude changes caused by the Quadrature tracking corrections. Turning the ACG to manual mode can help isolate the effects of the IQ Correction. Here is a picture of the same setup with the ACG set to manual mode. |
+ | |||
+ | ^ Analog Loopback, Time Domain, I & Q Data, ACG Off, Quadrature tracking On ^ | ||
+ | | {{ : | ||
Here we can see multiple times where the Quadrature tracking corrections are trying to suppress what it believes is an image until it gives up, resets, and starts over. This results in what appears to be amplitude errors in the signal. | Here we can see multiple times where the Quadrature tracking corrections are trying to suppress what it believes is an image until it gives up, resets, and starts over. This results in what appears to be amplitude errors in the signal. | ||
+ | |||
+ | <WRAP important> | ||
+ | The problem statement is simple - there is no way for a Quadrature tracking correction algorithm to understand if a " | ||
+ | </ | ||
====== Removing issues. ====== | ====== Removing issues. ====== | ||
Line 75: | Line 102: | ||
===== Offset Tuning ===== | ===== Offset Tuning ===== | ||
- | The easiest way to look at things is via the magnitude of the signal ie - set up a math equation in IIO-Scope with '' | + | Here when Rx and Tx PLL are the same, we can see the Quadrature tracking |
{{ : | {{ : | ||
Line 116: | Line 143: | ||
For those using a National Instruments USRP Radio, this can be controlled via '' | For those using a National Instruments USRP Radio, this can be controlled via '' | ||
+ | ===== SDRangel ===== | ||
+ | |||
+ | [[https:// | ||
+ | |||
+ | {{: | ||
+ | |||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
===== Scope ===== | ===== Scope ===== | ||
This issue will exist on all integrated devices which have some sort of Quadrature tracking feature, including all hardware based on ADI and [[https:// | This issue will exist on all integrated devices which have some sort of Quadrature tracking feature, including all hardware based on ADI and [[https:// |