Ok then, I will get it manufactured. We'll see how good or bad it will be.
Now a rather lengthy post, sorry for that. But many thanks for reading throuh!
Meanwhile, I started prototyping the ALC module. I am not sure what the best topology should be and I'd like to discuss that a bit.
First we need to solve for the DDS output signal level: The DDS dac is set at it's nominal current of 10mA. As the loading impedance is 50ohm (differentially, using a proper balun trnasformer), I will get a 500mV peak-peak signal into the 50ohm load. (Each leg of the DAC drives a 25ohm load, meaning a maximum 250mV per leg.) That means I will get about 1.25mW (+1dBm) of power out of the DDS.
Now considering the insertion loss both of the balun (which can be up to 3dB at the edge of the band) and considering insertion loss of the filter which is currently unknown (guessing few dB will be lost in there to), I will likely end up with something in the range of -1dBm downto -5dBm. But we'll measure that later exactly.
To ease the ALC design, currently I will be fine with getting only +13dBm out maximum, as I can use general purpose MMIC ICs for that sort of range. In fact, I need a +19dBm or more of output from the MMIC. Why? The output has got a 50ohm series resistor. That means the MMIC will need to deliver 40mW (+16dBm) into 100ohm load. Now the MMIC is loaded only with a 100ohm load, I will add a second load of 100ohm, which will be the input of the log. detector. Now the MMIC is loaded properly with 50ohm, but needs to deliver 4 times the output power of the generator, i.e. +19dBm (80mW).
So I need to be able to amplify those -1 downto -5dBm to +19dBm. So I need at least 24dB of gain. Supposed the output MMIC (likely SGA6389Z) will have a 15dB of gain, I will need a second amplifier delivering the missing 9dB (will likely use a MMIC with a higher gain than that and add a fixed attenuator). So far so good.
The question is: Should I put the variable attenuator in front of the two amplifier stages, or should I put it in between?
I see both advantages and disadvantages for that. Let my try formulate those I came up with:
MMIC in front of the amps:
- both amps working full gain even with the smallest amplitude. As the overall gain of the MMICs combined will be from 30 to 35dB, I guess this will give a worse noise figure. Question is, does it matter so much here? We are working with mV signal levels, not uV.
+ the first amplifier will work with the least amount of signal level possible, giving least amount of distortion.
MMIC in between the AMPS
- first stage amplifier working with high signal level, as it both must feed the second stage and also cover the insertion loss of the variable attenuator -> higher distortion. (it seems the first amp will need to give up to +8dBm continually in this case)
+ probably better noise figure, as the signal levels will be higher.
I do not have enough experience to judge here, but guessing noise figure is not much in play here, as we are working with quite large signals anyways. So maybe the the first option (variable attenuator in front of both amps) is the right to choose here. Signal purity (low distortion) should be preferred, rather than a few dB of added noise. What do you think about that?
I can now clearly see, why the Marconi generator has the variable attenuators distributed in between all amplifier stages. It combines the advantages of both solutions. But I think it will be enough in here to use a single variable attenuator in front of both amplifier stages.
Here's the schematic I am working on. The first stage is
MAR-3SM - chosen based on the P1dB requirement - it's the only one I have here that will be sufficient, apart from an overkill like ERA-5 (I have those too). The PA will be SGA6389Z (now obsolete, but who cares for one off projects), I can get those, or the Onsemi MMG3H21NT1 (in that case I'd probably choose an amp with less gain for the first stage)
(Note the slight hack of the MACOM variable FET attenuator. I don't want to bother with negative voltage rails)
(Note2 the input pad will also make the input match better as a load for the DDS filter, too which it will be connected)
BTW: Does anybody know if the FET attenuator should have a DC return to ground from the RF ports? The datasheet doesn't say shit about that or about how much current the control pin needs.
//EDIT: Added Note 2, fixed typos