sinara-hw / sinara

Sayma AMC/RTM issue tracker
Other
42 stars 7 forks source link

3U DAC (Zotino) tests & rev 1 errata #227

Closed gkasprow closed 6 years ago

gkasprow commented 7 years ago

Issues:

Tests that can be done without an Artiq driver:

Tests that need an Artiq driver:

Configuration for measurements is: DAC->3m SCSI cable->HD68 to IDC->IDC to BNC->scope/DVM/noise analyser. CMCs and a LPF on the IDC-BNC board as previously discussed. LPF chosen to avoid degrading the DAC noise or bandwidth too much.

3u dac photo top

gkasprow commented 6 years ago

They are stable. Do you think they could case any issue? The output amp is conneted by 2.8k resistor to the DAC so nothing should happen.

gkasprow commented 6 years ago

I connected shutdown pin of VSS to reference. And this is how the opamp rail looks like. blue - positive one: tek00071

And negative one (blue) tek00072

gkasprow commented 6 years ago

This could be an issue with power sequencing https://ez.analog.com/message/164258 in this discussion DVDD term is used while this chip nas VDD and DVCC pins only..

hartytp commented 6 years ago

hmm...the data sheet doesn't really mention any special sequencing requirements. e.g the digital supply must turn on before we apply signals to the digital pins. But, that's about it.

hartytp commented 6 years ago

@gkasprow To check that I understand you, the issues you see are:

  1. When the reference switches on, there is a large current draw on the DAC's negative supply, which causes that rail to sag by a couple of volts. (But no obvious signs of latch up etc).
  2. When you heat the DAC above 50deg it draws a large amount of current from the negative rail until it self destructs.
gkasprow commented 6 years ago

@hartytp That's correct. I have a suspicion that the DAC is already on the edge of latchup which gets accelerated when it's hot. And such latchup condition may happen when there is wrong power sequence or supply rises in non monotonic way.

gkasprow commented 6 years ago

Another, standard condition for latchup are digital signals before power supply. But this should be the case only with DVCC rail which in our case is same as other logic.

sbourdeauducq commented 6 years ago

FWIW @mntng also had an episode where the DAC got very hot after powering the board. Did not happen in subsequent power-ups AFAIK.

gkasprow commented 6 years ago

I already damaged 3 DAC chips which are quite costly so would like to find a cause first before I burn another ones.

gkasprow commented 6 years ago

So I will modify the board in such way that opamps supply will go first,then VSS, VDD, DVCC as it is recommended by msamera here.

gkasprow commented 6 years ago

@hartytp this will take a few days, so I can send you Novo boards first. OK?

hartytp commented 6 years ago

@gkasprow Yes, please do send Novo asap.

there are visible oscillations and it is caused by the fact that LC1964 is missing ceramic cap at its output. There is such cap close to the DAC but it seems the equivalent ESR is too high. So I added 1uF 0805 cap and oscillations are gone

Did you check the supplies on Novo? Does this issue with the negative rail oscillating affect Novo as well? (We can check this when the boards arrive if necessary)

jordens commented 6 years ago

@gkasprow Can we also get Novo boards really soon? That could even be the old (afaict current) "Novogorny" version.

gkasprow commented 6 years ago

@hartytp I cheched supplies, anyway we would see such oscillations in the scpectrum

gkasprow commented 6 years ago

@hartytp tomorrow they will be on a way. @jordens wants one piece as well.

hartytp commented 6 years ago

@gkasprow Can you ship @jordens one of the ADC boards we paid for?

gkasprow commented 6 years ago

@hartytp sure.

hartytp commented 6 years ago

Thanks!

hartytp commented 6 years ago

Never mind, these have already been shipped (due for delivery on Monday). @cjbe Would you mind posting one to @jordens when they arrive?

gkasprow commented 6 years ago

@hartytp I know. But this may be yet another undocumented feature. For some reason 3 chips went to silicon heaven.

hartytp commented 6 years ago

:(

jordens commented 6 years ago

IIRC there were some cases with some opamps where due to power supply sequencing they latched/had transients on their inputs to Vcc/Vee and thereby killed what was connected there. Don't remember where I saw that though.

hartytp commented 6 years ago

@gkasprow What are the DAC outputs doing during these transients?

gkasprow commented 6 years ago

@jordens I've heard about such case. It could happen in case of bipolar inputs. But in our case we have resistors which separate DAC outputs from opamps.

hartytp commented 6 years ago

@gkasprow What's the plan for getting these boards up and running?

sbourdeauducq commented 6 years ago

For rest of them I will need ARTIQ test software running on KC705 or Sayma

Do you have a KC705? I'm afraid Sayma will still take some time due to the RGMII issue. KC705 code should be ready within a few days.

gkasprow commented 6 years ago

@sbourdeauducq I have KC705. I used it to test DIO boards

cjbe commented 6 years ago

@gkasprow do you have an estimate for when you will ship Zotinos to Oxford?

sbourdeauducq commented 6 years ago

@gkasprow OK, you can now use it with the FMC DIO 32ch, the VHDCI breakout board 1.0, and a recent ARTIQ 4.0.dev build for nist_clock (8407b2c or newer). @mntng please provide details of connections and help Greg set things up.

hartytp commented 6 years ago

@jordens I've heard about such case. It could happen in case of bipolar inputs. But in our case we have resistors which separate DAC outputs from opamps.

True, this is probably not the culprit in our case. But, FWIW, the isolation resistors are made less effective by the fact that the DAC has to drive 32 of them in parallel. so the total load impedance is much lower. So, it might be worth double checking that there aren't any glitches on the DAC's output during turn on/off.

gkasprow commented 6 years ago

I checked, all voltages including output stage start simultaneously and monotonically. I added Shottky diodes at the LDO outputs and it works. Now working on temperature controller.

hartytp commented 6 years ago

I checked, all voltages including output stage start simultaneously and monotonically. I added Shottky diodes at the LDO outputs and it works. Now working on temperature controller.

So the diodes fixed this problem? That's good (although, I don't understand why from the traces you posted, since the regulators were never reverse biased)!

gkasprow commented 6 years ago

@hartytp I don't know what killed the DACs. I observed supply levels on already dead chips. But since I had such issues with LDO, I added diodes to make sure it does not happen.

hartytp commented 6 years ago

@gkasprow Sounds like a good plan.

FWIW, I always add these diodes on dual supply designs, without waiting to do tests to see if they are needed. The diodes are very cheap, and not having them can cause some really hard to debug issues.

gkasprow commented 6 years ago

@hartytp I fixed the temperature controller. There is a bug so diodes show inverted logic :) It means that diodes show ""not too high temperature" and "not too low". When they are both on it means it is OK. One need to add two pieces of wire to fix it. Now it takes roughly 3 mins to stabilize temperature. I turned it on cold, loaded 0xFFFF to the X2A register and at rougly 30 degrees and voltmeter shows: 11.289V once it reached the temperature, the output is 11.314 when too hot LED is on and 11.307 when too cold LED is on. I've just received brand new 34461A DMM so will publish measurements once I manage to get them out of the multimeter.

hartytp commented 6 years ago

Great!

dnadlinger commented 6 years ago

Great, very much looking forward to using the prototype!

gkasprow commented 6 years ago

So I think I'm redy to send you 2 pcs and leave one for further investigation.

gkasprow commented 6 years ago

@hartytp I observe strange behaviour. Luckily I set the current limit just above nominal so the DAC was not damaged. It worked properly whole day, but when I switched on heating, just after the regulator stabilised at 50 deg, the temperature of the DAC started growing and caused overcurrent event. Here is the plot of the DAC output. obraz

gkasprow commented 6 years ago

So it seems we have to limit the DAC regulator temperature to avoid such situation. No idea why hot DAC behaves like this at 50 degrees. All voltages are stable to that moment, then negative current starts growing and then power supply switches off.

hartytp commented 6 years ago

Odd. This shouldn't cause problems, since the junction temperature should not be much hotter than the ambient, so well below the 130C max specified.

Probably worth posting a question on the analog devices forum about this.

Can you sanity check by adding a second temperature probe as close to the DAC as possible to check that the DAC isn't very hot (e.g. if the temperature controller is actually heating the DAC up more than we mean to).

Otherwise, let's reduce the DAC temperature a bit. How about 35C?

gkasprow commented 6 years ago

It is even stranger. I switched on the DAC board without heating, connected DMM to the temperature sensor and I observe continuous increase of the DAC temperature. After 2 minutes it exceeds 70 degrees. Current consumption gets increased by 100mA @12V. So it looks like the chip was already broken once I heated it last time. The scale is 10mV/K obraz

gkasprow commented 6 years ago

When the chip is getting hot and I touch it by my finger the current consumption gets reduced back to the initial value.

hartytp commented 6 years ago

When the chip is getting hot and I touch it by my finger the current consumption gets reduced back to the initial value.

Loose connection? Something oscillating?

gkasprow commented 6 years ago

No, I simply cool it down :)

hartytp commented 6 years ago

@gkasprow A couple of unrelated thoughts while looking at the schematic:

Note to self: max operating temperature for the DAC is 85C. thermal impedance is 25C/W, static power dissipation (no load) is 1/4W, so expect junction temperature to be approx Ta+6C=56C, so well within safe limits. Supply currents don't change significantly with temperature according to data sheet.

hartytp commented 6 years ago

@gkasprow Are you sure that the temperature controller was working when you first turned it on? Could it have overshot and raised the DAC temperature to over 85C? The DAC disputes a bit of power, so is it possible that the DAC is hotter than the sensor reads (e.g. if the thermal connection between the DAC and the temperature sensor isn't great)? Can you try the heating while monitoring with an external sensor to check that we never exceed the safe limits?

gkasprow commented 6 years ago

The heating return current is at the temperature regulator. There is 0R resistor to make sure it does not touch the ground on the island

gkasprow commented 6 years ago

the sensor is soldered just under the DAC thermal pad. When I touch the DAC with my finger, I see immediate change of the sensor value so thermal contact is good.

dtcallcock commented 6 years ago

Are you enabling the thermal shutdown function on the DAC (bit 1 of the control register)? Whilst it might not stop the problem occurring, you'd hope it would prevent destruction.