Closed gkasprow closed 2 years ago
See https://github.com/sinara-hw/Booster/issues/381#issue-796716735 for more context
@gkasprow while you're looking at this, can you have a look at the (thermal?) transients @jordens measured as well https://github.com/sinara-hw/Booster/issues/368 The two may be related.
I connected the Booster to 400MHz, -20dBm signal and probed the traces with SA and 1:10 probe at the output of I, II and III stage and what I got: I stage 2nd harmonic is -42dB II stage 2nd harmonic is -25dB III stage 3rd harmonic is -23dB
So, we have a lot of distortion even for relatively low power
For 400Mhz and -18dBm, I got I stage 2nd harmonic is -40.7dB II stage 2nd harmonic is -22,8dB III stage 3rd harmonic is -20.4dB
It means that it's the second stage who is guilty.
That's interesting. And good as it means we may be able to significantly improve this without compromising the power efficiency...
I removed the output TVS and the 2-nd harmonics is -21.8dB
What does the feedback do to the amp's P1dB?
I've just removed it and it seems it does nothing for 400MHz. The 2-nd harmonic is still -21.6dB, the output signal slightly increased
At -40dBm of input power, the II stage has -46dB of 2nd harmonics
Are these numbers dBc?
Yes
It looks like the PHA-1+ amplifier is working with higher power than planned...
OK, so I set -18dBm, connected the probe and the SA shows a peak at -39.9dBm (after 1.5 SMA cable which has 0.5dB loss); so my probe is actually -21.4dB Then I measured the signal at the II stage output and I got -20.2dBm. It corresponds to roughly -1.2dBm Output power is 13.7dBm (plus 0.5dB of cable loss) which gives the last stage gain of 15.4 which makes sense.
PHA-1+ amplifier is working in very comfortable conditions.
Let's see how it behaves loaded with just SA...
With -18dBm of input power, it shows -2dBm and 2-nd harmonic is -46dBc
So there is something wrong with the III stage input impedance
I replaced L2 with a 300R resistor as in the DS, and it's the same. Let's see what VNA shows...
the S11 is lower than -10dBm, but of course, that won't show us nonlinearities...
what we can do is to add an attenuator between II and III stage and later on remove one before the II stage. That would isolate the stages...
I inserted a 7dB attenuator between the stages and the second harmonic dropped to -28dBc. After I increased the input signal by 7dB the 2-nd harmonics is still at -21dBc
It looks like we have to go for the higher power amplifier. I identified one with identical package, supplied from 5V and capable of delivering +30dBm P1dB. I ordered a few pieces and will give it a try next week
@gkasprow out of curiosity: (a) are your measurements consistent with the P1dB of the current amplifier? (b) what does the feedback do here, are we sure it is unconnected to this?
the feedback is supposed to lower the gain slightly and improve linearity. But it is 1k : (50R || 50R) so it's influence is negligible. The first think I did was removal of the FB loop. I'm pretty confident that the non-ideal load of the power stage somehow interacts with the preamp stage. I'm not able to observe any distortion using scope. But the non-linearities we are talking are not very high.
okay, makes sense.
For testing, this sounds like a really sensible plan. If we're going to make changes to the RF section it might be worth having a think about simplifying things.
@jordens @cjbe what are your feelings about the ideal gain for this amp? I feel that 40dB might be a bit higher than optimum. 35dB (at the centre of the frequency range) would be a better match for much of what I want to do.
To elaborate a little here...
we currently have:
To give a total gain of 20+16-6-5=25dB
. If we're happy with an overall amplifier gain of, say, 35dB we could potentially scrap an entire stage of the amplifier. Not to mention removing the input attenuator which currently limits the amplifier's overall NF.
the input attenuator was added to protect the input stage against overload
For my own interest, here are a few MCL options....
It's a question for all the stakeholders here, but I wonder if we'd be okay with removing all the attenuators and going for a https://www.minicircuits.com/pdfs/TSS-13LN+.pdf as a single-stage amplifier. Cheaper, simpler design with less power consumption. Lower overall gain which I personally don't think is a bad thing. Lower noise figure. A bit less input protection, but should be fine with the diodes.
It would mean we have a bad VSWR with the interlock tripped (due to no input attenuator + reflective switch). But I don't see that as being a problem. If it is, we can always use a non-reflective switch (IIRC the motivation for the reflective switch was the switching transients, but that doesn't seem to have been any better with the reflective switch)
the input attenuator was added to protect the input stage against overload
As a historical statement, I don't think that's quite correct. At least, my memory was that we had too much gain and needed an attenuator and figured that we might as well stick it in the input. I don't think this was a case of "we thought about it carefully and decided that we needed an attenuator there to protect the amp". Particularly with the TVS fitted, is there any reason we should be worried about that?
What is annoying is that to get, say, 1W one needs -10dBm input. That's actually more like -17dBm at the first amplifier. So our overall noise figure is more like 20dB which is pretty poor -- particularly when one considers the fact that we're using an amp with a 2.6dB noise figure.
This was the thing that stuck out in my phase noise measurements: the close in noise was very low (I couldn't measure it) but the broad-band noise was surprisingly high. Not that this is a problem for any applications I have in mind, but it does feel like poor design to me and something that's easy to fix.
My position here is that the NF isn't enough of an issue on its own to warrant changing the design (which would require prototyping + testing). But, if we are going to make changes, so have to go through that anyway, then it does make sense to do a bit of housekeeping while we're at it.
the input attenuator was added to protect the input stage against overload
As a historical statement, I don't think that's quite correct. At least, my memory was that we had too much gain and needed an attenuator and figured that we might as well stick it in the input. I don't think this was a case of "we thought about it carefully and decided that we needed an attenuator there to protect the amp". Particularly with the TVS fitted, is there any reason we should be worried about that?
I think you are right. Protection of amplifier wasn't the main issue. It was rather the S11 of the amplifier with the switch off, that's why we moved the attenuator. AFAIR the previous switch caused high transients so we changed it to HMC. With TVS we don't care about the input levels, but we still care about S11.
I think you are right. Protection of amplifier wasn't the main issue. It was rather the S11 of the amplifier with the switch off, that's why we moved the attenuator. AFAIR the previous switch caused high transients so we changed it to HMC.
I'd have to dig through the issues to be sure, but my memory is this:
As a result, I'm not convinced that the non-reflective switch would be any better/worse here. Before changing, someone should test this (can easily be dead bugged at 100MHz).
With TVS we don't care about the input levels, but we still care about S11.
That is a claim that I'm not 100% sure I agree with. Which user specified this? I do not have good visibility into all the applications people want to use this for (@jordens may know more). But, my thinking is that the interlock tripping is a rare event. So the threshold for caring here is not "poor S11 may make the source behave a bit oddly" but rather "poor S11 may break the source".
The only sources that I am considering (again, others should weight in if they feel differently) are Urukul, phaser and synths. If any of those broke with an open load I would not have much kit left in my lab ;)
So, unless someone else has input, I would suggest that we can tolerate a reflective switch here. Even if we can't I would suspect that (although it needs testing) a non-reflective switch would probably work fine with the filtered control lines...
Anyway, this is all getting ahead of ourselves. Let's see if the higher P1dB amp improves the harmonic distortion and then decide what other changes we want to make
This was the thing that stuck out in my phase noise measurements: the close in noise was very low (I couldn't measure it) but the broad-band noise was surprisingly high. Not that this is a problem for any applications I have in mind, but it does feel like poor design to me and something that's easy to fix.
Well, maybe "poor design" is a little strong here; Booster was designed for things like Doppler cooling using the AD9910 with its internal PLL. In that configuration the amp NF is not a limitation. However, it feels like we can make something which is better without sacrificing in other areas, so we should do so.
Anyway, we have a directional coupler at the Booster input which should redirect part of the reflected power to the load (two 100R resistors)...
Maybe I'm missing something, but that's not my understanding of how a directional coupler works. They are reciprocal. So the loss in either direction is the same; either way 10% of the power gets directed to one of the coupled ports, but 90% goes through the coupler. i.e. they are not an isolator/circulator
Yes, you are right. I mixed it up with a circulator. It redirects only 10% of the power. But again, we have a switch and TVS that protect the amplifier.
Indeed. So as long as the sources can take a high S11 load without damage (which Sinara can) I think this isn't something we should worry about.
I don't think NF is a particularly interesting goal for a power amplifier. I wouldn't be worried about 20 dB and I don't get why one would use Booster as an LNA. In that case, S11 would be very relevant. As long as there is no consensus on the target output power of the sources, we can't spec the gain (given fixed P1dB of the output, which is by the way unclear to me). I'd go for 0 dBm input power to meet P1dB. IIRC with some adaptations on Phaser, Urukul, Mirny, Pounder, we can meet this at the source side, but it needs careful checking and analysis and some experiments+characterization. But this is should be the go/no-go. We also should ensure and afford that all elements other the final amp are not yet compressing at the final stage P1dB. I think Urukul and Phaser are a bit problematic here. Otherwise this becomes disappointing and extremely hard to understand (see below). And finally, we need a specification for the distortion. Taking the MCL or "better than currently" as a target doesn't make sense IMO. Assuming the target is a AOM/EOM, then both IP3 and IP2 are universally near 10 dB diffraction efficiency. Given your working point RF power, you'd spec the amplifier OIP3 and OIP2. For Booster currently, the IMD curves are unfortunately not at all clear, making this yet more difficult. There appear to be multiple IMD sources of comparable magnitude interfering leading to non-trivial compression. I think when measured as the more sensible 2-tone-IMD, and when looking at the stages in isolation, that might look very different again, and would give insight. This also needs to be done.
In that case, S11 would be very relevant.
To be here, the above was specifically S11 with the interlock tripped. Which is, as far as I can tell, not a major consideration in any target applications.
I don't think NF is a particularly interesting goal for a power amplifier. I wouldn't be worried about 20 dB and I don't get why one would use Booster as an LNA
It's not a major consideration, but no point making it 20dB worse than it needs to be
I'd go for 0 dBm input power to meet P1dB. IIRC with some adaptations on Phaser, Urukul, Mirny, Pounder, we can meet this at the source side, but it needs careful checking and analysis and some experiments+characterization.
I agree, that 0dBm -> P1dB a sensible target to aim for if the Sinara sources can reliably hit 0dBm. I suspect that will translate into ~35dB of gain or less, which would allow us to simplify the RF path/remove a pre-amp stage.
We also should ensure and afford that all elements other the final amp are not yet compressing at the final stage P1dB. For Booster currently, the IMD curves are unfortunately not at all clear, making this yet more difficult. There appear to be multiple IMD sources of comparable magnitude interfering leading to non-trivial compression. I think when measured as the more sensible 2-tone-IMD, and when looking at the stages in isolation, that might look very different again, and would give insight. This also needs to be done.
Indeed. The current RF path never got properly characterised because we were too buys fighting fires elsewhere. Not that other things are largely extinguished (modulo https://github.com/sinara-hw/Booster/issues/379) it's time to come back and have a look at things we can improve.
To check we're all on the same page though: while I think there is some low hanging fruit in terms of things we can improve in the design, the current design is IMHO very much fit for its intended purpose (doppler cooling etc where IMD etc is not an issue). If people want it to do more than that it would be helpful to have a discussion about concrete specifications. Without that , it's going to be a case of "fix the obviously suboptimal parts and leave it at that".
I don't think we are on the same page. If you want to eat or sell fruit, you need to harvest everything and to properly and thoroughly care for the trees. The joy of only plucking low hanging fruit is quickly replaced by disappointment over rotten fruit and sprawling untrimmed trees. To me, there is still not enough data on how well it works and for what purposes (you don't use it for gates?). This appears to be (at least, but still only) a minimal viable product. Stopping there and not looking at the complete picture would be a mistake. There are quite a few more things to be done (#378). I think we do agree though, that without concrete specifications and significant work (on characterization, design, and tests), it's hard to get much further.
I replaced the preamp with TQP7M9105 and the harmonic situation is identical. It makes no sense to investigate it further this way. Let's make the correct simulation model first and see what comes out of it.
Interesting! Sounds like a good plan
The second stage terminated with 50R has a 2nd harmonic of -50dBc at -18dBm of input power.
Did you/can you measure the S11 of the final stage amplifier with a large signal? I suspect this may be the power stage presenting the pre-amp with a non-linear load at higher powers.
I did. It was better than 10dB. I'm not sure what the signal level was. I improved the matching of the finals stage by copying the datasheet but it did not help.
I ordered NPA1007. It has a similar package and the same voltage but twice higher power. I will give it a try.
I installed NPA1007 and the situation is nearly the same apart from lower gain. For all measurements, I use 21,9dBm output power. It's 1.9dBm after 20dB attenuator. The 2-nd harmonics are after 20dBm attenuator.
Default amplifier configuration Idd; 2nd harmonic: 50mA; -13,8dBm 100mA; -20,7dBm
With NPA1007: Idd; 2nd harmonic: 50mA; -13,7dBm 100mA; -21,0 dBm 130mA; -25,1dBm 150mA; -27,3dBm 200mA; -31,8dBm 250mA; -32,7dBm
I cannot set a higher current than 250mA.
But I think I know what's going on.
The reference ZHL-2W amplifier consumes 2A at 28V. This is a lot of current!
If we use 4 NPA1007 working with 250mA running at 1/4 of power, we would get -43dBm of 2-nd harmonic (after 20dB attenuator).
So there is an obvious tradeoff: harmonics vs Idd.
We can also go for a push-pull configuration that should have lower harmonic distortion.
Here is an example relationship for QPA2237
One of the users reported that Booster has high harmonic content. Here are the measurements at 150 MHz Signal, (-18 dbm). Signal was generated by Urukul![obraz](https://user-images.githubusercontent.com/4325054/106255857-d8bf0080-621a-11eb-8702-75608fa523a1.png)
Comparing with MiniCircuits amp![obraz](https://user-images.githubusercontent.com/4325054/106255979-00ae6400-621b-11eb-8024-094555d8cd58.png)
The Booster was optimized for efficiency, not for linearity. Let's see what we can do about it