Re: Softrock Dynamic Range and MDS Redux
--- In firstname.lastname@example.org, "warrenallgyer" <allgyer@...> wrote:
> I am with you so far and no argument. So now I need to extend that to calculate dynamic range. Would you agree dynamic range equals Overload Signal Level - MDS + 3 dB for a given resolution bandwidth
Hmm. It all depends how you define Dynamic Range and Overload Signal Level!
The ARRL Handbook 2011 para 12.4.3 discusses different measures of dynamic range.
Another good reference is Wes Hayward's "Solid State Design for the Radio Amateur" page 113.
Try and get hold of those or similar. Lots of stuff on the internet about this.
To me the most useful thing to measure is 2 tone Dynamic Range, defined by Hayward as
Dynamic Range = 2(Pi-MDS)/3
where Pi is the input intercept. Note that MDS is a negative number.
To measure Pi you need two signal generators, a hybrid combiner and a spectrum analyser (or an SDR).
If Pi is 0dBm, and MDS is -150dBm, then DR is 100dB.
If Pi is -10dBm, and MDS is -150dBm, then DR is 93dB.
But you must specify the bandwidth.
> If so then I am still troubled by the fact I can rather easily copy CW at levels lower than MDS
Don't be. It is possible to copy CW well below the MDS. The brain is a wonderful thing. Mine's full of filters!
But this is a subjective effect. Some people are better at it.
To compare results with others you've got to measure something objectively. Hence MDS.
> Finally, what is the "noise floor"? The ARRL says MDS = Noise Floor.
The standard definition of MDS is that signal level which causes a 3dB increase in the output power in a given resolution bandwidth.
3dB is twice the power, so half the output is the noise power and the other half is the signal power. So if the input signal at MDS is -150dBm and the noise power is -150dBm in 500Hz, then the total output power is -147dBm.
So if you define Noise Floor as the noise power in the resolution bandwidth at a given frequency then in my example MDS = Noise Floor = -150dBm.
- Good thought Victor.
Crosstalk between the generators is a good possibility since they are on the same Silicon Labs 5338 EVB. So, of course, I set up a test.
Generator A was set for 7.050 and Gen B for 7.055 and both fed through the hybrid, then through a total of 31 dB of fixed/variable pad to the Softrocks.
Alternately disconnecting Gen A and B I measured B= -26 dBm and A= -25 dBm. With A disconnected I measured -116 dBm on 7.050 and with B disconnected I measured -98 dBm on 7.055. So A crosstalks into B at -90 dB and B into A at -72 dB. Not great but at least I know what I have.
I do not have a second variable attenuator so I put fixed 20 dB pads on the output of both generators and reduced the variable/fixed combo after the hybrid to 11 dB. The readings were identical. So the crosstalk is on the board and not in the hybrid.
I also checked the IMD3 products at 7.045 and 7.060. The levels were very comparable in both cases, down about 70 dB from the main signals. In both cases the IMD3 products stepped linearly with the main signals until I reached an input level of -25 dBm which is the op amp overload point and they skyrocketed.
What does this prove? Maybe something, maybe not. It is possible the IMD3 products generated by the onboard crosstalk are so high they mask the true IMD3 generated in the radio.
In order for that to happen the "real" IMD3 product would have to be at -96 dBm or less when the main signal is at -26. If it is at -96 and hidden then that would make the intercept point at +44 dBm, an almost unheard-of number. But not impossible.
Somewhere in these posts there is a reference to tests done on the FST3253 mixer that quoted test numbers in this range.
My bottom line on this is that the IMD3 performance of the Softrocks receiver, at least prior to the op amps, is so good that it is irrelevant.... or that the third order intercept test itself is irrelevant for this breed of receiver, as is maintained by the ARRL handbook.
As usual, probably a lot more information than anyone really wants to know. But you gave me a real fun morning Victor!
Warren Allgyer - W8TOD
--- In email@example.com, "victor" <victorkoren@...> wrote:
> Warren, I bet that your two generators make intermodulation between them so they generate the distortion signals, and that's the reason that the intermod level stays the same (compared to the generators signal level) when you change the level by using a variable attenuator at the receiver input. If you have an additional variable attenuator, do the test again but now put the variable attenuators in series with each generator output before the hybrid coupler and change them together to change the signal level at the receiver input. You will see that at lower signals (higher attenuation) the distortion will go down faster because the isolation between the generators will increase.
> Victor - 4Z4ME
> --- In firstname.lastname@example.org, "warrenallgyer" <allgyer@> wrote:
> > Nick (and others who contributed to this very interesting discussion):
> > I finally got back to my workbench and decided to tear into this issue again. I set a two channel signal generator (homebrew Si5338 referenced to GPS) to generate two signals, 5 kHz apart, at about -30 dBm through a hybrid coupler and a step attenuator. The third order products were readily visible on the baseline about 55 dB down.
> > I tried to confirm the 3X principle where the IMD3 products increase at 3 times the rate of the fundamental but, in my case, they did not. A 3 dB increase in the fundamentals resulted in about a 3dB increase in the IMD3 products as well. It seems to be linear, not 3X!
> > Back to the handbook to check my methodology and I come upon this little nugget on Page 25.32 in the "Receiver Dynamic Range" measurement section:
> > "The third-order intercept is generally not a valid concept for software-defined receivers (SDRs) that do not use an analog front end. Some SDRs do not use a mixer but feed the signal from the antenna directly to an analog- to-digital converter (ADC). ADCs usually do not exhibit the 3 dB per dB relationship between signal level and third-order products, at least over major portions of their operating range. Comparing third-order dynamic range measurements of an SDR and a conventional analog radio may give misleading results."
> > SO...... it seems that we cannot use the third order intercept principle to establish the upper number of the dynamic range for the Softrocks.
> > I am at a bit of a loss. It seems that the practical upper number for the Softrocks seems to be the level at which the op amps start to clip which seems to be in the -12 to -20 dBm range, and that 3rd order intercept is a fairly useless number in these cases.
> > Any thoughts?
> > Warren Allgyer - W8TOD
> > > > On the two-tone intercept: I think I understand the methodology. IMD3 products increase at 3x the rate of the two input signals. So if you measure the product, remove 10 dB of attenuation, measure again... you get two points on a line.
> > >
> > > Actually you only need one point because you know the slope of the line. But two (or more) improves the accuracy of the measurement.
> > >
> > > +30dBm is where my measured 3rd order line meets the 1st order line on my graph.
> > >
> > > > Do you, or anyone, understand the rationale for designating 2/3 of the resulting range as the maximum signal level? Is it just arbitrary or is there some very quantifiable effect on the reception of desired signals at that level?
> > > >
> > > It's not an arbitrary designation. The overload level is defined as that level where the 3rd order products are at the same amplitude as the MDS. It follows that the Two Tone Dynamic Range is 2*(Pi-MDS)/3. There is an algebraic explanation in one of the Appendices to "Solid State Design for the Radio Amateur". It can also be derived graphically.
> > >
> > > > As a number that is replicable and comparable between receivers I can see its' value. I would like to understand though what a signal 100 dB above MDS would sound like compared to 96 dB.
> > >
> > > In this case with one such signal it would sound 4dB louder if you switched the AGC off. But with two such signals the 3rd order products would now be 12dB above the Noise Floor (3 x 4dB) i.e. at -103dBm in my Softrock at 5MHz. Would you hear this? Quite possibly, if the two signals were outside the passband and one of the third order products fell within the passband.
> > >
> > > HTH
> > >
> > > 73 Nick G3VNC
> > >