-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kasli noise (3V3MP, P12V0 & Ground) #55
Comments
Interesting. The best test for that might be to try removing 3V3_MP from the ribbon cable and injecting an external 3V3MP from a bench PSU. If that removes the output spurs then we should look into filtering that on Fastino. |
I don't understand what you did here... |
I measured the channel outputs as before. The only difference is that a connection to (building) ground was clipped onto TP17. TP17 connects to the board ground. |
The trace at the top indicates the spur difference due to this GND connection. |
Sounds like common-mode noise coming from Kasli. Can you try powering Fastino from an external 12V and 3V3MP supply? |
Looking at the external 3v3 supply there is 500 kHz saw-tooth like noise. This would explain the most significant spurs. |
Cool! That's starting to look quite clean. Nice detective work! So...to recap:
If so, great! I suppose the next thing is to do something like:
If so, we can easily fix this in the next revision by adding a filter. |
AFAICT the 3V3MP current draw is low (a few mA?) so a 100R || 1uF filter should do a good job here. |
Worth adding additional decoupling caps (between the fuse and the EEM connector) on Kasli v2 and Kasli-SOC whilst we still have the chance? |
P3V3MP is used only to supply I2C memory, thermostat, and some logics. It's better to add a blocking cap at the EEM boards. There can also be ripples coming from ground bouncing or 12V return current. |
Before you claim any oscillations/ripples, first short probe tip to the place you connected the crocodile :) |
I do not observe the oscillation when grounding the shield from IC3 pin 3, so shouldn't be relevant. |
I had missed the P12V0 rail in my earlier measurments. The noise here is similar to the 3V3MP noise. I will investigate the effect of filtering either/both of these. |
A preliminary look on a scope suggests the I2C lanes may be coupling to the outputs. (The only EEM lanes with ~250 kHz features). I'll Investigate more properly tomorrow. |
@gkasprow as @pathfinder49 will write up shortly, the remaining spurs are a ground-loop involving Kasli and our spectrum analyser. There are a few ways this can be resolved, but it got me thinking more generally about EEM grounding. Specifically: is it necessary/correct to tie all the ground pins from the EEM cable to the EEM circuit ground? Are the grounds separating the LVDS lines really grounds, or more like screening? If the latter, shouldn't they be only connected at the source end? Maybe ground these via DNPd 0R resistors so we can change later? |
These EEM GNDs serve two purposes: they define differential impedance and provide lane screening; they are also 12V return path. Fastino has the output CMCs disabled by default, It would be worth adding them at least on some channels. Make sure that DC is not passing through the return current because just milliamps saturate the core. One can also add ferrite core at the coax cable output. Take into account that all these ferrites work only for AC and it is extremely easy to saturate them if the return DC current is not passing the same way back through the core. In such case, they don't work at all. |
Yep, that's one of the things on our to do list (I'm getting ahead of myself here while @pathfinder49 does the real work). It's possible that some of the spurs we see here are EMI/grounding on the 12V PSU.
The spurs here are pretty low frequency (hundreds of kHz) which is far too low for any ferrite I'm aware of to work. Despite knowing it wouldn't work, we did try both of these already, to no effect.
We're using the IDC <-> BNC board to get signals from Fastino to our spectrum analyzer. That adapter has CMCs on it. We're using a DC block to couple into the SA, so no DC saturation issues. So far, the observation is that after grounding the SMPS and stabilizing the N12V0 rail we can remove all remaining spurs up to ~1.5MHz (we haven't looked above that yet) by any of the following:
These observations are independent of the other spurs we've seen, and together are indicative of a grounding issue in our setup. The things we were thinking of trying were:
Having said all that, I don't think this is really an issue with either Fastino or Kasli per-se. Generally, users who want spur-free performance in DC systems need to be aware of grounding/EMI and adopt a suitable grounding/test methodology to ensure good results. Given the nature of the issue, the exact results will vary significantly between setups. All we can say right now is that it is possible to get spur-free performance in Fastino (at the level we can measure on our SA with 100Hz BW) with appropriate grounding... |
Ah. There is another potential problem with the those chokes, right? The DC return current corresponding to a channel's forward current will generally be shared among many channels. It can also return by a myriad of other means. I.e. there is generally a severe DC current mismatch in the chokes and thus saturation is likely. Obviously only relevant for applications where there is some mA current flow (the load is < 10 kOhm impedance at DC). |
Not relevant to this case, but yes, that does sound like a potential issue. NB we haven't taken any data without those chokes so can't confirm if removing them would make the spurs worse. @pathfinder49 could you try doing that (just desolder one and replace with a piece of wire). If the chokes don't actually help with this kind of issue we should strongly consider DNPing them by default. |
The other problem with the chokes that I see (but we discussed that before), is that they take all the (higher frequency) ground loop currents (at their very low impedance) and imprint them onto the (very high impedance) signal. Or in different and probably more correct words, the massive mismatch between the 50 R source impedance on Fastino and the extremely high impedance at the load in combination with the usual ground loop bypass (by other means) does not look good for the choke behavior. |
The class II supplies also do that nicely. NB: I haven't seen any issues in #51 from Kasli that I can't explain and eliminate.
Sure. See #51 Also for the spur measurements, I suspect you haven't looked at the SPI spurs and DAC update spurs yet, right? If you are using the standard gateware/phy you won't be doing much SPI traffic. |
One can also take longer IDC cable, fold it, take big ferrite core with high permeability and make a few turns. This will work for kHz range as well. |
They make special low frequency cores that can give you modest impedances down to 100kHz. Unfortunately nobody seems to make one of those nice flat rectangualar ones that clamp on to a ribbon cable in these materials. |
As requested in #56, here is some more data on the effect of grounding the IC3 housing with the other fixes applied. Configuration (more details in #56):
Removing the ground strap gives similar results with additional spurs as per #56. Edit: Fixed plots and linked to #53. |
@pathfinder49 can you clarify something here please? The legend indicates that the ground strap was only used for the orange curves, not for the blue curves. I assume that's a typo and you used the same grounding strap for both measurements in each plot? i.e. in each plot the only difference between the blue and orange curves is whether IC13's case is grounded? And, the observation is that grounding the chassis removes several spurs without adding any new ones? |
That was indeed a typo. The legends should now be correct. |
Nice! Thanks. Very convincing. In the second plot, are there spurs at 0.9, 1.2, and 1.33 MHz on the blue curve as well (can't tell from the plot)? Or is that an intermittent emission from the BEC guys? |
|
They're there on both curves with (to within the noise) the same magnitude and are unrelated to the SMPS shield grounding. They are due to other noise sources, such as pick up and grounding and are improved in this configuration by the addition of the grounding strap. |
There is a 35 mVp-p, ~200 kHz oscillation in the 3V3MP supply. I suspect this noise to originate from Kasli.
This noise appears to couple into a lot of other supply voltages and causes several spurs in the output channels.
The coupling to the output channels appears to be dependent on grounding.
Here are some spur measurements for a variety of power supplies and output channels 24-31. The power supplies are labeled in the legend. The DAC outputs are the bottom grouping of traces with the lowest (spur free) measurement representing the noise floor.

The text was updated successfully, but these errors were encountered: