sinara-hw / Fastino

Fast 32-channel, 3MS/s per channel, 16bit DAC EEM card compatible with Zotino
11 stars 2 forks source link

Re-Route DAC Digital Traces #64

Closed pathfinder49 closed 4 years ago

pathfinder49 commented 4 years ago

Currently the digital traces are routed close to analogue vias, causing crosstalk (see #62). It seems like there is enough space to avoid this with more careful routing. image

pathfinder49 commented 4 years ago

I'll have a go at doing this next week.

gkasprow commented 4 years ago

True, but make sure there is no excessive coupling between them. It may be worth adding another layer if that helps.

gkasprow commented 4 years ago

Before you do this, perform a simple simulation. Model the trace-via capacitance and add it to the AFE model. If the simulation is consistent with measurements, it makes sense to modify the PCB. If not, we have to find a better explanation. The trace-via capacitances are very, very low and I'm surprised that you are able to measure their influence.

pathfinder49 commented 4 years ago

I've made a quick estimate based of these trace-via coupling measurements.

I assume:

With these assumptions I expect a 3.4 uV (-49 dBmV) spur @2.55 MHz. This is consistent with my observations.

Edit: I've added this to the AFE simulation in LTspice (including the inductance and capacitance of my cable). This gives very similar values of 3.2 uV.

pathfinder49 commented 4 years ago

True, but make sure there is no excessive coupling between them. It may be worth adding another layer if that helps.

@gkasprow What would you consider excessive copling between digital traces? I think it'll be quite hard to avoid the traces running parallel to each other. Are there specific metrics I should achieve or good rules of thumb?

gkasprow commented 4 years ago

Just run SI simulation after modifications. This is the reason I added another layer and routed some traces on it.

gkasprow commented 4 years ago

A good approach is to use 5 trace widths as a clearance. And try not to run the traces in parallel over entire length

pathfinder49 commented 4 years ago

With the current number of layouts and via positions, it's not straightgforard to route the digital traces with the suggested clearance. (One trace width spacing with paralel routing for significant fratiions of the trace seems more doable.)

hartytp commented 4 years ago

@gkasprow What do you think about these calculations? They seem to back up the idea that the vias are an issue.

Just run SI simulation after modifications. This is the reason I added another layer and routed some traces on it.

How did you run the SI simulation?

A good approach is to use 5 trace widths as a clearance

Is it worth setting this up as a design rule for the digital traces?

With the current number of layouts and via positions, it's not straightgforard to route the digital traces with the suggested clearance. (One trace width spacing with paralel routing for significant fratiions of the trace seems more doable.)

If we remove the CMCs do we still need the extra layers? If so, let's go for it unless there are any objections (@jordens )

gkasprow commented 4 years ago

I used Hyperlynx to do SI simulations. Altium has also such features. Yes, design rule is the best approach CMCs will free some space for correct series termination. I added parallel termination because the signals after SI simulation simply looked unacceptable. I shared the results as an issue.

gkasprow commented 4 years ago

I think we need at least one more GND layer.