sinara-hw / mirny

4-channel Microwave synthesiser
10 stars 4 forks source link

Mirny schematics review #1

Closed CannaCardo closed 4 years ago

CannaCardo commented 6 years ago

I sketched initial version of schematics (link). I've chosen ADF4351 (HMC833 has higher price and twice the power consumtion). I left EEM connectors since I'm not sure which alternative (PoE/ I2C from Kasli and 12V from somewhere/ something else) would be better. Also I've left out frequency multipliers for now. I understand that this section should be realized as separate microwave PCB and it can be designed separately. I couldn't find any off-the-shelf 40MHz-4GHz multipliers, so that would mean designing it from the beginning or perhaps using a lower bandwidth doubler/tripler? I appreciate any suggestions and having my mistakes corrected.

jordens commented 6 years ago
gkasprow commented 6 years ago

Do we really need CPLD here? In case of Urukul it simplified a lot, but here we have only simple SPI. LVC138 should do the job. Common reference is also good idea. I'm pretty sure that passive divider would do the job. Check what is required power level at the REFin. Do we need external sync input? We could simply copy clock distribution from Urukul. If we apply divider at the VCO output, we will end up with plenty of harmonics since the output is just a square wave. Maybe we should let the user to apply the lowpass filter. It can be attached to the SMA directly. Mini-circuits offers broad selection of them. @jordens going above a few GHz means that we have to use Rogers material which is quite expensive. We can mitigate it by using castellated RF modules dedicated to certain band. I'm a bit sceptical about amplifier/attenuator working in 35MHz-13GHz range.

gkasprow commented 6 years ago

Edit. It's not that bad with wideband attenuators and amplifiers. Let's have a look at: HMC424ALH5, ADRF5720, there are also plenty of amplifiers that work from almost DC to >20GHz, both from ADI and MiniCircuits. The most problematic components are baluns, but we can use asymmetrical output from the VCO chip. The VCO chip has also programmable output power but from only -4 to 5dBm, I'm not sure if this is sufficient.

gkasprow commented 6 years ago

I think that EEM is the most capable solution since it gives the user a choice. Once the Humpback is finished it would give the user freedom in interface selection - USB, Ethernet or DIO.

jordens commented 6 years ago

@gkasprow

gkasprow commented 6 years ago
hartytp commented 6 years ago

I think we should survey the users and use cases to decide about:

The use-cases I can imagine for this in our group are.

  1. Driving microwave EOMs up to 3.2GHz (calcium hyperfine splitting). This requires a tuneable, but not frequency agile, microwave source with amplitude control and (real-time) switching.
  2. Providing a fixed-frequency LO for upconversion. Similar requirements to above

So, my answers to @jordens questions would be:

jordens commented 6 years ago
hartytp commented 6 years ago

Let's do EEM (will need to be dual slot again for high resolution RF switch signals) and push the rest (Ethernet, PoE, etc down to Humpback/Kasli)

:+1:

I could definitely live without the high resolution switching/second EEM for this design. But, given that we have the CPLD, if we're going to have one EEM connector, the overhead in adding a second is so low that there doesn't seem any point not having it.

hartytp commented 6 years ago

You'll be checking the frequency anyway due to the finite resolution of the PLL, even with a perfect reference the output won't be what you request in many cases.

In some cases yes but for example, for a LO it will often be enough to program an integer multiple of 125MHz, in which case the frequency setting is exact. Even when that's not the case, one doesn't need to get out a frequency counter to figure out what the output frequency of a frac-n PLL is. I imagine having a driver function that returns the exact output frequency of the PLL.

I'd like to leave the XO on board for Humpback use cases or where the MMCX cabling is unnecessary and annoying. And I'd like to make the XO the default. I think it would be best if on one input of the mux there is the SMA and the MMCX in parallel with a capacitor population choice (or even just hve them in parallel, the stub is probably small enough to not matter). And on the other input the XO. That covers all use cases that were mentioned.

Definitely agree that we should have the XO.

I'd like to avoid having to modify the hw to access the MMCX connector if we can avoid it for all the usual reasons (e.g. people forgetting to document changes to hw before they put it in a cupboard and forget about it).

In the past, we've only used 2-input muxes because that's all that's available in the ultra-low noise LVPECL models. IIRC, if we can sacrifice a small number of dB of phase noise -- which I would argue that we can for this design -- then there are some really nice 4-input LVDS muxes e.g. from Si Labs. Might be worth looking into those for this design, then everything can be supported without hw mods.

hartytp commented 6 years ago

Yes. Expose the high frequency (multiplied) output of the VCO on MMCX (DNP FWIW) for custom AFE purposes. Keep the base board good to 4 or 6 GHz.

That sounds good. Making the base board run to at least 4GHz should be fine (above that, the choice of balun gets limited), but let's not over complicate things by producing a very high frequency design unless there is a concrete and reasonably common use case for it.

hartytp commented 6 years ago

We might want to put a bit more power into the preamplifiers (20dBm output instead of 10dBm) since Mirny is not ad hungry as Urukul.

For my money, 20dBm might be a bit on the high side. One has to assume that sooner or later (and probably sooner) the max output power will be applied to the load due to software bugs. 20dBm is starting to get to the point where it can damage things.

In fact, 20dBm falls in to an awkward gap for us that makes it nasty: it's not enough power to drive our resonant microwave EOMs (given the typical modulation depths we need that needs >0.5W and typically more like 1W). Thus, we'd still need PAs for those cases. But it is plenty of power to trash a PA such as ZHL-03-5WF+. So, you'd end up having to stick a 10dB attenuator after Mirny.

For anything like an IQ mixer, 20dBm is way too much.

So, my question is what's likely to be a more common situation: 20dBm being enough power to avoid the need for a separate amplifier after Mirny, or 20dBm being too much power for whatever load is present, requiring the user to add fixed attenuators between MIrny and its load. e.g. we currently have stacks of MCL attenuators attached to Urukuls to avoid the possibility of damaging amps/AOMs -- this is one of my key motivations for Booster.

Edit: the only EOMs we have for which 20dBm would be enough are the resonant RF EOMs we use for PDH locks, but in that case, we'd probably use Urukul instead of Mirny.

hartytp commented 6 years ago

then there are some really nice 4-input LVDS muxes e.g. from Si Labs. M

At least, I thought there were, but I'm struggling to find them now. @gkasprow I'm sure we found some in the past, can you remember where from?

Otherwise, I'd probably still prefer to cascade 2 clock muxes to make a 3 input mux to ensure that all options are supported without hardware rework. We can use relatively cheap, low-power LVDS ones.

gkasprow commented 6 years ago

Maybe it was this or this ?

gkasprow commented 6 years ago

I also have this one in my libraries

hartytp commented 6 years ago

@gkasprow thanks! Any of those should work out well. My thoughts are:

offset ON ADF
10kHz -134dBm/Hz -125dBm/Hz
100kHz -136dBm/Hz -130dBm/Hz
1M -149dBm/Hz -160dBm/Hz
hartytp commented 6 years ago

NB the microchip IC requires 3V3. If that's an issue we should use the ON chip and not bother with an extra LDO. AFAICT there are no microchip 4:1 muxes with two outputs and I don't want to have to add a fanout buffer to this (we might get away with using a passive splitter network to drive 4 synths from a single clock buffer output, but the signal level could get a bit marginal).

Edit: nope, scratch that, there is SY89546U

hartytp commented 6 years ago

out of curiosity, what's the timeline for Mirny? Is this something that's likely to be completed soon?

gkasprow commented 6 years ago

So far this project is not funded. One student is working on it but now has holidays. He has to finish it within next semester (until February).

hartytp commented 6 years ago

@gkasprow thanks for the info. Sounds like a new toy for next year :)

CannaCardo commented 6 years ago

I've added SY89855U as SY89546U output swing was not high enough for ADF4351 (schematics). As for the front panel looks like 4hp is enough (PDF3D). The distance between mezzanines and pcb is 9mm (the same connectors as in SAYMA AFEs). Lightpipes used are: this and this. The side emitting SMD LED with lightpipe could be replaced with single bent THT LED but i'm not sure what would be better here.

Assumming AFE mezzanine setup like HMC424ALH5, ADRF5720 and EHC-24L+ we could get away with 3 supply rails: +-5V and +3.3V for digital, or +-7.5 leaving some headroom for LDOs. The current consumtion would be around +20mA, -10mA + control circuitry per board. With current setup we can supply +7.5V@34mA, -7.5V@60mA per board. This is not yet included in power budget on schematic. As for IO i've copied #8 with only difference being 14 instead of 16 lines as i've run out of CPLD pins and it should be plenty anyway.

gkasprow commented 6 years ago

Thanks, great work.

some issues:

gkasprow commented 6 years ago

@CannaCardo before you start any serious changes, wait for other comments

gkasprow commented 6 years ago
gkasprow commented 6 years ago
hartytp commented 6 years ago

Good work @CannaCardo! I'll do a design review soon and provide you with some feedback.

CannaCardo commented 6 years ago

Added mounting hole close to SMA, changed pad diameter to 5.5 untitled untitled2

I2C tree added to the schematic, for now i've assumed there'll be an EEprom chip for identification (temperature sensor probably isn't necessary as they will consume little to no power).

VCO PLL loop was designed in ADIsimPLL, parameters are now on schematic.

AFAIR the ADF4351 has faster, pin-compatible versions. Can you please make sure that they are 100% pin compatible and if not, add necessary components to make them. Do it if it is just one or two components. If it is more complex, leave it as it is, but document what need to be changed.

ADF4355/ADF4356/ADF5355/ADF5356 are pin compatible, but not with ADF4351/ADF4350. They all require 5V supply apart from 3.3V, RFoutA is shifted by 1 pin and few of pins are also switched from supply to ground or to a decoupling cap. Their input sensivity is lower (400mVpp).

Why SY8955 has 100R pulldowns? in LVPECL usual value is 200R.

The pulldown values for SY8955 are from the datasheet (page 11).

in some scenarios, only first EEM will be used. So do not relay on second I2C interface.

fixed

the shielding clips may be kept not mounted. We will probably remove them after tests. However they may be needed when working with mezzanines.

Changed shielding clips to DNP in base variant

3V6 rail is filtered rail. Please don't use it to supply any power modules. Is there any reason why LTM8045 cannot work from 12V directly? half of LTM4622 is wasted. Maybe it could make sense to use it to deliver 5.5V that then is used to create 5V by IC20? We would limit losses without changing BOM.

LTM8045 has highier efficiency at lower voltage input (with lower max output current which is not a problem here). At 12V it'll drop by 10-20% depending on output current. At 3.3-5V it's pretty consistent. 5.5V from LTM4622 Sounds like a good idea, could be also used by LTM8045.

please make sure all onboard LEDs have similar current. Big changes in LED current make impression that one of the power rails is broken.

Changed resistor value for LD11, should be good now.

SMPs require 9mm board spacing. The same with connectors that were used in Sayma RTM. Please confirm.

Yes, board spacing is 9mm with SMPs and LSS-120-01-L-DV-A, LSS-120-02-L-DV-A connectors.

gkasprow commented 6 years ago

When thinking about power efficiency, take into account combined power efficiency. So if you multiply PE of first stage by PE of second stage, the combined PE would be similar.

jordens commented 6 years ago

Thanks @CannaCardo !

CannaCardo commented 5 years ago

I don't think fixed direction on EEM is necessary, as just by removing the other EEM we can do 4 individual and 4 common signals to the AFEs with 10 pins left (i guess we could go for 6-6).

When thinking about power efficiency, take into account combined power efficiency. So if you multiply PE of first stage by PE of second stage, the combined PE would be similar.

Ack, LTM8045 is now supplied from 12V, output voltage changed to -5.5V. Second half of LTM4622 outputs +5.5V to AFE boards and IC20.

Could you add classic 2d board renderings, renderings of the gerber layers, stackup info like @gkasprow does in the PDFs he generates? Those 3D PDFs are not usable to some of us.

Done

Can we go for thinner lightpipes that are more similar to the DIO_SMA/BNC, Sampler, Zotino LEDs (not the big Urukul LEDs)?

We can replace short lightpipes with 1mm or 2mm ones, but the right angle one is the smallest diameter i could find that would go over SMA. Imo if we don't replace all of them then one larger LED will look odd.

The I2C switch address should be 1110010 (see Banker, don't collide with the switches on Kasli)

I2C switch address changed to 1110010 (0x72).

Do TR2/TR3 work all the way down to 10 MHz?

Yes, TCM2-43X+ frequency range is 10MHz - 4GHz

I would assume a reference frequency of 100 or 125 MHz for the loop filter. Can we make OSC1 a 100 MHz?

We could replace it with something like this 100MHz, 5ppm oscillator.

Is DC coupling on CLKIN1 really OK?

SY89855 can also work with DC coupled inputs, in that case VT is left floating.

I would remove and bypass FL1 (like you had before). For most output frequencies this filter won't filter harmonics. And they are not an issue in most cases anyway.

Done

jordens commented 5 years ago
jordens commented 5 years ago
CannaCardo commented 5 years ago

As long as there are free pins on the CPLD, I'd increase the number of individual IOs and also convert common IO to individual IO.

Ack, with 2 common and 8 individual signals to AFEs all free CPLD pins are used.

Hmm. I couldn't find any info on the 100 MHz OSC noise. We need to select that and the MUX to not degrade the PLL/VCO noise too much.

I've replaced the oscillator with this one and I've copied Urukul clocking scheme.

I suspect that the lowest SMA (clock in) will interfere with the front panel handle. This may require shuffling all the LEDs and SMAs again.

I've pushed everything away from the handle, currently there is 1.2mm clearance between top of the handle and SMA cable nut for the lowest SMA.

And I still would gravitate towards the ADF535[56]/ADF435[56] family. Otherwise the AFE stuff isn't really necessary since that auxiliary output isn'd much different from the primary one.

IC9 changed to ADF4355. Its the cheapest one and if needed can be swapped without any other changes.

I would also leave the panel tutouts for the AFE outputs filled. Since there is no AFE yet, that allows the first AFE user to just drill them and put their AFE in.

I've added panel file without the cutouts for AFE boards.

If possible please also route the 12V rail to the mezzanine connector. I expect people want to add medium power amplifiers to the mezzanine.

Done

jordens commented 5 years ago

@CannaCardo thanks for the new revision.

jordens commented 5 years ago
CannaCardo commented 5 years ago

I had a look at the oscillator. It is pretty noisy. As mentioned, we should stick to one that doesn't degrade the PLL jitter too much. I.e. something like 100 fs jitter. The best is probably to take the Urukul osc.

Ack, i've copied it.

The RFoutB should assume the single ended outputs of the ADF535[56]. Otherwise that aux mezzanine output would not be well suited for the 6.8-13.6 GHz band and for the lower band the user can always use the RFoutA "main" output (see above). Maybe that single-ended design will also work reasonably well with the ADF435[56] RFoutB.

Fixed

The power supply tree has the same bug as Urukul sinara-hw/Urukul#20

I've swapped second output of IC15 and IC22. Also IC20 had 100mA max output current so I changed it to LT1763CS8.

For the front panel, I would not require that the user fills the cutouts with something if they are not using the AFE (not using the AFE will be a majority of use cases). If there is an easy way to provide blind plugs for those RF outputs, then fine. But if no, then let's leave those cutouts closed by default and have the user drill them open.

Since we need a larger hole diameter for the washers most dedicated plugs won't fit, and I couldn't find any that are available and would.

P5V5A and N5V5A are not "A" per the usual nomenclature. And I suspect -5.5V might not even be needed on the AFE in many cases.

P7V5A (old P5V5A) and N5V5A changed to P7V5 and N5V5. We can DNP -5.5V circuitry along with AFE connectors since it won't be used for now (SMP connectors are already DNP).

Can we enable the placement of the cPCI S.0 backplane connector?

Current board length is 160mm and from what i understand BP is at 220mm. So should we just make it longer and add the cPCI connector then?

Check the output bias inductors. https://freenode.irclog.whitequark.org/m-labs/2019-01-03#1546514242-1546514169; Optimize for wideband match.

Inductors marked as DNP.

I've run PowerScope analysis and corrected some power traces. Biggest drop of 134.7mV is on P5V5A (mostly across L5), all other rails are within 33mV. Highest current density is on P7V5 (32,2mA/mil^2 ~ 50A/mm^2). Here are the screenshots for all power rails. I've assumed +12V @ 100mA +7,5V @ 100mA +5,5V @ 40mA - limited by IC22 -5,5V @ 137,5mA - limited by IC16 +3,3V @ 100mA per AFE board. This would total to 2,11A drawn from EEM connector.

As for the front panel, the bottom SMA holes are too close to underside panel edge. Angled connectors will not fit with top connectors, the easiest workaround would be a custom insulating panel for inside of the bottom row. We could use pigtails here to offset holes from panel edge, but the space under AFE boards is already crowded without a bundle of pigtail cables. image

hartytp commented 5 years ago

Why did you decide to go for the adf4355 in the end rather than the adf4356?

hartytp commented 5 years ago

@CannaCardo some relatively minor comments:

sbourdeauducq commented 5 years ago

Probably too late for this design, but in the future let's try to use Lattice FPGAs instead of Xilinx CPLDs (AFAICT they would do the job there), so we can get rid of ISE/Vivado.

jordens commented 5 years ago

Stick with the CPLD. IME the free tools for this job are not ready yet. There are still lots of problems and they don't make me nearly as productive as ISE for CPLDs. Also from what I have seen, at least for this application, the CPLD is faster and has more reproducible delays than the ice40. Vivado won't go. We will be needing Vivado for the foreseeable future. I'd rather spend my time fixing design flaws and improving the project than trying to get rid of something that we definitely won't get rid anytime soon.

hartytp commented 5 years ago

One other question: do we really want to bother with all the complexity/mechanical issues around RF mezzanines for this project? Can we get away with something like using solder jumpers to swap between two paths: RFA + AFE; and RFB directly at the output?

If we do need AFE mezzanines, another option that might be simpler/better would be to use a similar form-factor to Stabilizer AFEs (separate EEM FP, pin-header for board-board connectors) and use short coax leads to internally route the microwave output from Mirny to the AFE. This could be simpler and more robust than trying to make the stackup work with SMP bullets.

jordens commented 5 years ago

I agree. That's what I argued for in https://github.com/sinara-hw/mirny/issues/1#issuecomment-445353727 And a single or at most two mezzanines is fine IMO. But I would not try to capacitor-route RFoutB to the front panel. Just MCX/MMCX and a pigtail to the panel would probably be electrically better and simpler. For the AFE I also don't like squeezing it into the 4HP space and I don't like the constraint mechanics and interference due to panel/rf/digital connectors.

hartytp commented 5 years ago

Thakns @jordens. So in order of preference it would be (a) scrap the AFE and use a coax pig-tail (connectors chosen to choose the frequency range) to route RFB somewhere accessible (b) if we have to keep the AFEs then let's limit it to just 1 AFE.

For the pig-tail approach, I assume you'd route them to an adjacent 4HP FP that, for example, just has 4 feedthrough SMAs mounted?

CannaCardo commented 5 years ago

can we reserve some pins on the FPGA for HW rev?

I've added 2, should be more than enough.

PN for TR1? What frequency range does it cover?

TCM2-43X+, it covers 10MHz-4GHz. Added PN on schematic.

worth picking a filter that goes up to the 6.8GHz fundamental VCO range? (or at least to the max BW for other components like switches etc)

LFCN-3800+/ LFCN-4400+ would cover BW of front end components (everything works up to 4GHz).

looking at the eval board schematic for the ADF5356, I can see a few differences. e.g. capacitance vales (places where they've used, say, a 10uF and you've used 0.1uF for decoupling). Also, some power pins they've run from separate LDOs, where you've run them from the same LDO. Please double check the eval schematic and make sure that all differences are for a good reason

Capacitance values and shared supply lines were not updated after the change from ADF4351. Should be good now.

hartytp commented 5 years ago

LFCN-3800+/ LFCN-4400+ would cover BW of front end components (everything works up to 4GHz).

What limits the frequency? How easy would it be to make the AFE work over the full VCO BW?

CannaCardo commented 5 years ago

balun, attenuator, amp and switch work up to 4GHz.

hartytp commented 5 years ago

ack. Not worth a complete redesign of the AFE to get a bit more BW unless some user has an application that really needs that 4-6.8GHz band (but in that case they really need to speak up now).

jordens commented 5 years ago

I think covering the entire range from <100 MHz up to 6.8 GHz reasonably well will be very difficult. I'd rather have people either use the RFoutB AFE for > 4GHz or modify the board themselves. Yeah. Just an 4HP panel with SMA feedthrough pigtails as a first step.

hartytp commented 5 years ago

ack

gkasprow commented 5 years ago

AFE could be another 4HP module attached with MCX/MMCX jumpers and IDC cable to the baseboard. it could be mechanically screwed using 4 spacers. In this way, we solve problem of stacking connectors and improve reliability. The mezzanine connectors suffer a lot during board mating.