sinara-hw / BaseMod

Sayma RTM basic AFE module with RF output
3 stars 1 forks source link

BaseMod remove power detector in next revision? #2

Closed gkasprow closed 5 years ago

gkasprow commented 6 years ago

From @jbqubit on December 4, 2017 21:26

Context:

Risk:


Moving from https://github.com/m-labs/sinara/issues/269.

@hartytp asks

Does anyone object to removing the power detector from BaseMod v1.1? cf #397

@dhslichter responds

The point of the power detector is to noise-eat at the output of the DACs. What is it costing us?

@hartytp responds

Yes, but only when the switch is off, and only via the 24-bit ADC.

Main cost is space: as @sbouhabib pointed out elsewhere, this is the largest component on BaseMod and fitting it on was actually quite challenging. If we remove it then we can make the layout a bit less tight.

Not a huge deal, but it's not totally cost free so unless you really plan to use it then we should scrap it.

My comments....

Agreed that space occupied by the power detector design is huge. Especially because it involves impedance controlled traces. Design complexity due to the inclusion of the detector can only be described as very high.

image

It also consists of 27 BOM items. AD8363 is about $7/ea and HMC349 switch is about $5. Component cost is not high.

I don't think it's actually that useful because: It is read out by the 24-bit ADC which is very slow

The original intent to compensate for long-term drift. Not for fast feedback. As you point out the power can only be monitored when the RF output to the physics target is off (using HMC349 switch). This was never intended for fast feedback.

Agreed that this is something that probably should have been culled from the original design.

Copied from original issue: sinara-hw/sinara#411

gkasprow commented 6 years ago

From @hartytp on December 4, 2017 21:27

So, are we happy removing it then? Is that a decision or a discussion?

gkasprow commented 6 years ago

From @jbqubit on December 4, 2017 21:29

@hartytp No. This is not a decision. This is moving the discussion to a separate thread for discussion.

gkasprow commented 6 years ago

From @hartytp on December 4, 2017 21:31

optimistic ;)

gkasprow commented 6 years ago

From @jbqubit on December 4, 2017 21:31

Let's add to errata list #269 only once a decision is made.

gkasprow commented 6 years ago

From @hartytp on December 4, 2017 21:32

ack

gkasprow commented 6 years ago

From @dhslichter on December 4, 2017 21:34

I don't love it enough to fight for it.

gkasprow commented 6 years ago

From @hartytp on December 4, 2017 21:36

I don't love it enough to fight for it.

IME, that's generally a good indication that it's not useful enough to be worth keeping. I'll keep the pistols ready in case you change your mind though ;)

gkasprow commented 6 years ago

From @dhslichter on December 4, 2017 21:38

I think my rationale is that probably I will be rolling my own special-purpose AFEs for the applications we want to be ultra-precise on and so we can always go back to this if we want to use it for design ideas later.

gkasprow commented 6 years ago

From @hartytp on December 4, 2017 21:40

Sounds good. Let's get a stripped down basic AFE that works really nicely. People can then add their own pet features to it as they desire.

gkasprow commented 6 years ago

From @dtcallcock on December 4, 2017 21:41

The two large red areas @jbqubit highlights on the left of the top image are the rf switches. These would presumably be retained even if the detector was removed.

I like the power detector because I spend a lot of time in the lab plugging in the rf power meter to debug DDSs or calibrate out changes in output power vs frequency. The latter is probably not that important for driving AOMs but will make the board much nicer for broadband applications.

gkasprow commented 6 years ago

From @hartytp on December 4, 2017 21:43

But, won't you still end up doing that even with the power detector, since you can only calibrate up to the switch? The gain flatness of this board should be really quite good, so the amplifiers/filters you put after it will ultimately limit the gain flatness as much as the stuff up to the switch.

gkasprow commented 6 years ago

From @hartytp on December 4, 2017 21:44

Anyway, you have an analog input, so your best bet AFAICT is to just add a small power detector + pickoff near your load. Then everything is calibrated. Plus, if you do it that way you get to use the nice 5MSPS ADC on the mezzanine so you can do it in-loop...

Edit: we have some thumb nail sized ADL5511 boards that are good to a few GHz, which are perfect for this kind of thing.

gkasprow commented 6 years ago

From @dtcallcock on December 4, 2017 21:54

But, won't you still end up doing that even with the power detector, since you can only calibrate up to the switch?

I think having signal sources that output the programmed power regardless of frequency is generally considered a useful thing regardless of the fact that amps aren't perfect.

The gain flatness of this board should be really quite good.

I imagine the DAC output power is the main issue, especially as you start climbing up towards f_clk/2.

Anyway, you have an analog input, so your best bet AFAICT is to just add a small power detector + pickoff near your load.

Given this is an option I don't think it's a big real to remove it. I just like the option of doing this without adding over a dozen little minicircuits boxes and cables to the Sayma card...

gkasprow commented 6 years ago

From @hartytp on December 4, 2017 21:56

Well, I think we've heard all possible arguments from each side. Time for a decision. How do we make those in this project again (do I need to get my CAPSLOCK key out after all)?

gkasprow commented 6 years ago

From @hartytp on December 4, 2017 22:56

I've added the "discussion" label to all Sayma and BaseMod issues that might be contentious. For most of these, the various possibilities have been mapped out, as well as the various arguments for and against each. So, now we just need an executive decision to be made. @jbqubit I assume that you will do that? If so, when you get a chance can you review them, make a decision, summarize the action points at the top of the issue, and remove the discussion label? Feel free to delegate some of this work if you'd rather.

gkasprow commented 5 years ago

We will need some extra space to implement Sampler AFE + ADC, moreover we do not have any ADCs on Sayma. I can try to fit all stuff and use remaining 4 channels of LTC ADC for power detector readout.

gkasprow commented 5 years ago

We have much more space than in rev1. I can fit all we need easily

gkasprow commented 5 years ago

we will make it obraz obraz

gkasprow commented 5 years ago

@hartytp The AD8363 has power output and temperature output . We can connect only PD outputs to four free channels of 8-channel LTC2320. It need dedicated drivers. We can also use 4-channel LTC2324 and additional 8 channel sigma-delta ADC like was used on Sayma.

gkasprow commented 5 years ago

@hartytp @jbqubit Here is very initial version of board schematics and placement. Still many things to do, but please have a look at it. BaseMod_FMC.PDF Missing power budget, not verified logic levels, missing power sequencing analysis, PD outputs not assigned to ADC due to issue above.

hartytp commented 5 years ago

I'd still really prefer to scrap the power detector since, for the reasons I've outlined before, I really don't think it's very useful: the power v frequency flatness of the DAC + AFE should be pretty good. RF from Sayma is almost never directly applied to an ion. Instead, it always goes via an amplifier and often an AOM. Those other components tend to limit the output power flatness, so there is not much point doing an open-loop calibration on the AFE mezzanine. Instead, it's much better to use the ADCs to do closed-loop feedback (which is what they're there for). Beyond that, if you just want to sanity check the RF levels you're applying to an amplifier then you can use Booster, which has good diagnostics.

IIRC @jbqubit has already made an executive decision to remove these power detectors from this design revision.

We can connect only PD outputs to four free channels of 8-channel LTC2320. It need dedicated drivers.

No, let's not do that. I don't want to waste board space and money on drivers for these power detectors.

I also do not want to use the LTC2320, but rather the LTC2324-16, as it's faster. I also do not want to mix up these power detectors with the AFE analog inputs.

hartytp commented 5 years ago

@hartytp @jbqubit Here is very initial version of board schematics and placement.

Thanks @gkasprow! Still some work to do, but it looks really good as a starting point.

Shall we finalize the RTM first and then come back to this? At the very least, I'd like to know how much AMC <-> RTM IO we have before choosing ADCs etc

gkasprow commented 5 years ago

OK, if we remove the power detector, routing of DAC signals would be far easier

hartytp commented 5 years ago

OK, if we remove the power detector, routing of DAC signals would be far easier

Good. Let's prioritise the core functionality of this design and make sure we leave enough room for a good, low cross-talk layout.

gkasprow commented 5 years ago

OK, removed.

jbqubit commented 5 years ago

@gkasprow @hartytp I agree that we don't need the power detector. Glad it's removed.