Author Topic: EMC test with 480MHz peak? Any ideas?  (Read 7737 times)

0 Members and 1 Guest are viewing this topic.

Online moffy

  • Super Contributor
  • ***
  • Posts: 2070
  • Country: au
Re: EMC test with 480MHz peak? Any ideas?
« Reply #25 on: July 20, 2023, 12:20:21 pm »

- Nctnico in his reply above suggested to place the ferrites near the IC (which I assume makes sense so it stops emissions right at the IC pins) but the attached app note shows the ferrites next to the connector. Any thoughts on why they would be better near the connector? Do they put them near the connector because in that app note they have the termination resistors next to the IC (and they would cause some issues if placed next to the resistors in terms of affecting the impedance perhaps)?


I would assume the ferrites are near the connector because that is the divider between a controlled impedance/signal environment, to the unknown outside environment I would think it's more about suppressing the outside e.g. RF interference getting inside. Perhaps they could be placed both ends as long as they don't distort the signal too much, but that might be overkill. :)
 

Offline temperance

  • Frequent Contributor
  • **
  • Posts: 593
  • Country: 00
Re: EMC test with 480MHz peak? Any ideas?
« Reply #26 on: July 20, 2023, 02:49:33 pm »
The better option is a common mode choke designed for this kind of signals with the required diff impedance instead of two ferrite beads.

I put a link to an app note from TDK in my earlier post.
 

Online T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 22369
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: EMC test with 480MHz peak? Any ideas?
« Reply #27 on: July 20, 2023, 03:30:42 pm »
Can you post a pictures of the layout of each layer?

-Are the diff pair signals matched in length because a perfect diff pair doesn't radiate.

Now that's a hell of a strong statement.  Surely you can think of some cases where a diff pair, given perfect geometric matching, radiates?

Please don't post misinformation like that.


Quote
Timing alone is not what you're after with respect to USB timing requirements. From a radiation point of view a 100ps mismatch does make a difference because the return path becomes undefined at the signal edges, causing radiation.
-Beware when adding filter components onto a diff pair to not create asymmetry (including component tolerances) undoing your length matching.
-Are the USB cables attached to your board of good quality? Some cheap cables and even some fancy expensive cables claiming excellent signal fidelity are pretty bad. Cut one open if in doubt. Some are just straight pairs instead of twisted.

An app note from TDK with some practical advice regarding CM filters:
https://product.tdk.com/system/files/dam/doc/content/emc-guidebook/en/eemc_practice_02.pdf

Application notes, case in point.

You'd think, reading this, that USB is a fully perfectly differential scheme and rightly wonder why they only list chokes up to 1kohm, and most of them much less than that.  Surely we can go for broke and eliminate any CM issues slam-dunk?

A reader would also wonder, reading your post, if USB can then be put over UTP.  Can you think of any reasons why not?

There are in fact two very strong reasons why not.


The better option is a common mode choke designed for this kind of signals with the required diff impedance instead of two ferrite beads.

I put a link to an app note from TDK in my earlier post.

because of the nature of USB, this doesn't really matter.  A CMC (as such) gives a better eye diagram during the data packet, but doesn't do much overall.  At best it's an average-case improvement with a worst-case impairment.  It's a statistical sausage effect: tighten one aspect, the other expands.

This is why appnotes must always be taken for what they are: at best, supporting information, a jumping-off point for further research.  They should never be taken at face value.  Always read critically.

Fortunately, the USB standard is free and open: we need not go to third parties to understand it.  We can go straight to the horse's mouth.

Tim
« Last Edit: July 20, 2023, 03:35:04 pm by T3sl4co1l »
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 

Offline jkostb

  • Regular Contributor
  • *
  • Posts: 68
  • Country: np
Re: EMC test with 480MHz peak? Any ideas?
« Reply #28 on: July 20, 2023, 07:19:16 pm »
I have made several designs with the LAN9514, and all my designs passed with large margins the radiated emission tests without using ferrite beads, common mode chokes in USB lines. Blindly adding ferrite beads and common mode chokes is usually not the way forward for solving these emission issues. From your emission plot you can easily observe that the culprit is some clock source. You need to figure out whether cables are radiating  (USB, ethernet, other cables) or some PCB trace. You can unplug all cables and look what effect it has on emission plot. If after unplugging of all cables spectrum remains unchanged, then you need to identify the source on your PCB. As indicated earlier by others you need to use nearfield probes and spectrum analyser. Further you have not given any details about whether PCB is contained in metal (shielded enclosure) or plastic housing or shared your layout. From past experience I have seen emission failures due to poor layout of high speed digital lines. For example a clock routed over slots in reference planes can easily give same emission plots like yours.
 
The following users thanked this post: T3sl4co1l

Offline ricko_ukTopic starter

  • Super Contributor
  • ***
  • Posts: 1079
  • Country: gb
Re: EMC test with 480MHz peak? Any ideas?
« Reply #29 on: July 20, 2023, 08:09:21 pm »
Thank you all,
I will post the layout as soon as I get back to the office.

In the meantime, I was wondering... If I have a USB pair running over a solid GND plane (i.e. no slots or cuts in the GND plane) that spans the entire length and width of the traces and below a power plane that covers only part of the length of the USB traces, would that increase the emissions significantly?

Thank you
 

Offline temperance

  • Frequent Contributor
  • **
  • Posts: 593
  • Country: 00
Re: EMC test with 480MHz peak? Any ideas?
« Reply #30 on: July 20, 2023, 09:09:08 pm »
Quote
Surely you can think of some cases where a diff pair, given perfect geometric matching, radiates?

I will clarify my statement: every differential pair radiates and the radiation depends on the loop area. In case of a differential pair designed as a microstrip onto a PCB with a spacing <1mm and perfect impedance matching along its length, the radiation is insignificant when measured at a distance of 1m.

Causes for radiation from a differential signals:

1. Rise and fall time mismatch in the drivers.
2. Timing differences in the drivers.
3. Amplitude differences in the driver.
4. Asymmetry in the differential pair.
5. Impedance mismatch. (wrong cables attached)
6. Coupling onto shields or other things nearby because of the loop area / distance ratio.
7. Common mode noise present on the reference plane.

https://ewh.ieee.org/r6/scv/emc/archive/2013/January/012013Sam_Connor.pdf

Quote
because of the nature of USB, this doesn't really matter.  A CMC (as such) gives a better eye diagram during the data packet, but doesn't do much overall.  At best it's an average-case improvement with a worst-case impairment.  It's a statistical sausage effect: tighten one aspect, the other expands.

Adding separate components onto both signals like ferrite beads and capacitors will create some asymmetry. Because of that I'm thinking that a CM choke will cause the least disturbance. Nonetheless, inserting "random" components into differentials signals isn't going to work very well.

As stated by jkostb who wrote the below quote while I wrote my post:
Quote
Blindly adding ferrite beads and common mode chokes is usually not the way forward for solving these emission issues.

You might make things worse and perhaps solve the EMI problem but now the interface isn't always working properly on every device.



« Last Edit: July 20, 2023, 09:24:03 pm by temperance »
 
The following users thanked this post: T3sl4co1l

Online T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 22369
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: EMC test with 480MHz peak? Any ideas?
« Reply #31 on: July 20, 2023, 10:47:29 pm »
Thank you all,
I will post the layout as soon as I get back to the office.

In the meantime, I was wondering... If I have a USB pair running over a solid GND plane (i.e. no slots or cuts in the GND plane) that spans the entire length and width of the traces and below a power plane that covers only part of the length of the USB traces, would that increase the emissions significantly?

Thank you

The ground needs to be wider than the bus, by several trace-plane (substrate height) spacings, preferably trace widths as well (whichever is higher).  And, if we're talking a strip of ground, with microstrip on top, and less-well-specified stuff on the bottom, then we may want to be concerned about the fields around the whole thing.  Like if you launch these traces onto a flex circuit, having the specified geometry, now there's a loop between that cable and the surrounding space that can pick up common mode, and maybe that couples into the signals at one end or the other.

But given that limitation, yes, that's absolutely fine.  As long as the ground plane is wide enough, and at frequencies where it's an adequate shield (so, some MHz up, more or less), the traces on top don't care what's going on underneath.

That means you can still have interference at lower frequencies, where ground isn't such a good shield.  The ground impedance will be lower at those frequencies too, so it takes larger currents to cause such interference; a good reason to avoid routing under an SMPS, for example.  Go around instead, steer around the close-in current loops of that section. Or if you have a pathological example, like this narrow strip of GND, carrying just this data pair, over a the-floor-is-lava patchwork of nasty power planes and unrelated (noisy) grounds -- that's more like the flex-cable case, with it taped down to a bunch of other nodes that therefore capacitively couple into it, and who knows what that's going to do to the common mode (and in turn CM-DM coupling), like, maybe you'd want to lift one end of it and put the whole thing (GND wrapped around data pair!) through a ferrite bead or something, to help relieve what would otherwise contribute to GND-loop current.

Or say this "pair on GND strip" pseudo-cable is routed circuitously around the board, and because it's still "GND" (net), a connection is made lackadaisically back to bulk GND elsewhere on the board -- creating a large open loop, exposing it to fields (again, mostly of importance at lower frequencies, where the shielding value of the GND layer is less).

The most common case, I would say, is a whole board poured with GND, and it doesn't much matter what power domains are on the bottom side of that, with respect to traces on the top.  The most common case of which is probably 3.3V poured most everywhere.  Which, as long as the supplies are well bypassed to GND, it doesn't even matter much which layer the pair is routed on.

And, vias don't add much trouble either at these frequencies; that's more something you need to watch out for in the 3Gbps+ range.

There is still the separate matter of microstrip radiation, which is generally low for average PCB microstrip dimensions and lengths, but is a nonzero effect.  It's normally not an issue for typical signaling standards and commercial emissions thresholds.  If you needed an extra 20dB lower emissions, or need to pass particularly sensitive tests (of various kinds, not necessarily regular radiated emissions), you may find (buried) stripline or shielding (or a metal enclosure) is required.

Which...


I will clarify my statement: every differential pair radiates and the radiation depends on the loop area. In case of a differential pair designed as a microstrip onto a PCB with a spacing <1mm and perfect impedance matching along its length, the radiation is insignificant when measured at a distance of 1m.

That's more like it :) There are a few more provisios missing here -- trace length vs. signal frequency, how it's looped around if at all, if there are any resonances or stubs, etc.  For the usual case -- and to be perfectly definite, equipment like embedded and small computer boards, typical interfaces used therein (LVCMOS at lower rates, LVDS or similar for wideband), and typical test levels (say FCC Part 15), that can be a passing combination.

The key insight is that, any trace exposed on the surface of the board, is a patch antenna.  Being narrow, it doesn't couple very much into radiation, but if it were unterminated, quite a bit of radiation resistance could be resolved in its impedance, for example.  If terminated, one loses the multiplication effect of resonance, and radiation resistance will be a small fraction of Zo; but, indeed, nonzero.

I don't actually have numbers for this; I suppose it's just as well, because modeling radiation simply requires too many variables anyway, and it's best to test.  (I also don't have any RF/field simulation tools to model it.)  To be sure, most intentional antenna structures do so with much wider patches, or as traces over a ground-free patch (BT/WiFi meander or 'F' type antennas being a commonly seen example).  And, given that typical signal levels (some volts at up to maybe ~100MHz, i.e. where LVCMOS becomes inconvenient to use, or 100s mV at ~GHz, where LVDS dominates) typically pass commercial levels (in the 30-40dBuV/m ballpark), under standards such as CISPR 22.

Anyway, differential has the bonus that, as long as CM is small (it can be ~mV from typical transmitters), the active area is not so much the full width of the pair, but the quadrupole made between them and the surrounding ground plane.  Quadrupoles drop off even faster with distance than dipoles, so the near field can be quite low level.  Still nonzero, of course -- and one of the limiting factors of PCB pairs is, they're almost always parallel, i.e. if you look at a PCB from a distance, with a pair running straight along its length, then PAIR_P is always on top and PAIR_N is always on bottom, and that polarity is sensible at a distance with some dipole moment (just with zeroes at more angles because it's actually a quadrupole).  It's harder to make a twisted pair (i.e. swap +/- periodically along the route) because vias are generally worse for signal quality than the radiation concern is

...Mmm, or maybe it is an overall dipole characteristic still, because a quadrupole would be +/-/+/-, whereas this is 0/+/-/0.  Think maybe it's a sum of both cases?  Because you could have four points (x+y, -x + y/2, x - y/2, -x - y) as the superposition of a dipole and quadrupole, with the same resulting arrangement.  Ah yeah, that makes more sense.  Hey, I remember electrostatics...

Well then in that case, the dipole of course dominates; but it's less than unshielded untwisted pair (e.g. ladder line) because the ground plane shorts out much of the dipole.  It's an intermediate case.


Quote
Causes for radiation from a differential signals:

1. Rise and fall time mismatch in the drivers.
2. Timing differences in the drivers.
3. Amplitude differences in the driver.
4. Asymmetry in the differential pair.
5. Impedance mismatch. (wrong cables attached)
6. Coupling onto shields or other things nearby because of the loop area / distance ratio.
7. Common mode noise present on the reference plane.

https://ewh.ieee.org/r6/scv/emc/archive/2013/January/012013Sam_Connor.pdf

This is a good primer, at least on topics; I assume it's just slides that went with a talk which gives more detail about things.

Actually... p.38 in part answers the question raised above (distance from plane edge) -- it's in terms of skew (propagation delay), but similar compromises to impedance matching and CMRR occur.  Oh, this is actually good data down here (pp.30-40 range say) too.  Nice!

Like, as you can see, the effect of GND via placement is tiny: fractional percent.  This isn't relevant to commercially-important standards that are designed for messy on-PCB use, like PCIe and USB -- not to say improvements aren't nice, but also, there's no reason to go out of your way and build everything on Rogers laminate with perfect geometry and everything, that's the whole point of them is to handle modest errors like this.  Likewise, the CMRR might be comparable, like in the 40 to 60dB range, so it helps that signals start in the -20 to -10dBV range (~100mV), i.e. 100-110dBuV, so that by the time they might radiate to space, they're down in the 40dBuV range.  And, give or take field strength and wavelength, that can be comparably in the 40dBuV/m range as well.

It is however relevant to extremely sensitive signals, for precision (~fs jitter?) timing, high purity RF measurements, etc.  If you can reclock your signals, and decode line codings, and all that stuff -- please do, by all means! -- but in the few cases where you absolutely cannot, yeah, such lengths are worth going to.  (Being this guy works at IBM research, that's a pretty understandable motivation!)

Or, not entirely sure what's going on in the pp. 48-55 range -- think there's some context missing here that would be in the talk.  Like, why they're looking at these approaches in the first place (explaining because someone else suggested them? suggesting them for potential albeit narrow application? etc.), or what they expected to find, or if it's just throwing spaghetti to see, etc.  Sometimes weird things can help (like the EBG structure to get filtering in narrow band(s) only), other times you kinda just have to shield and that's all you can do.  (USB is kind of that way, due to its use of the common mode, albeit at lower frequencies than this doc is concerned with -- 100s MHz instead of GHz.)

And, balance is hard to construct and maintain, as I think this document kind of illustrates in part; which, it would also be worth asking what the test setups looked like, like for the asymmetric ground via tests, how exactly do you get a 120dB isolation fixture in the first place?  That's actually a very good question, but also out of scope of a mere talk; we have to assume that it was characterized as such, but if you're going to rely on these data, you might want to contact the guy to see how that was all done.

Anyway, balance is an issue even for Ethernet magnetics, which -- granted, they're only targeting the minimum requirements of the standard (IEEE 802.3xxx) so you'll never see parts that wildly outperform the standard -- but the standard is similarly somewhat relaxed with its specs because it must be commercially practical: not terribly expensive to implement, nor sensitive to, like, cable placement and stuff.  If the Ethernet signal level was 10V for example, you might get significant mode conversion and thus radiation just from touching a cable (some turns of the twist closer to your hand than others), and, to be clear I don't mean the amount of mode conversion varies with amplitude but that the total system, amplitude and conversion gain and radiation all included, would exceed threshold.  (Another of those regrettable things with language, it's so tedious to speak precisely about these topics.)

Anyway, referring back to your list of points -- and specifically with respect to USB -- USB packets start and end (or just end? I forget exactly, hey it's not like I ever have to implement the thing okay?) with the SE0 symbol, which is both lines low -- a common mode symbol.  CM filtering corrupts this symbol, causing malformed packets and communication errors; likewise, USB can't simply be sent down UTP through free space, because not only would that CM impedance mismatch, plus and ambient noise, corrupt the SE0 symbol, but the symbol would radiate as well.

I have some USB cables right now actually, that I'm not sure how exactly they're failing (frayed braid? fretted connector?), or which ones even are affected, but I've got some ~10s mV of noise on my bench and it goes away when I unplug my USB hub.  It looks like low frequency noise (impulsive in the 100s kHz sort of range, at a center frequency in the ~10MHz range -- cable resonances basically, fed by data crossing over a poor ground).  And that low frequency, AFAIK, corresponds to packet transmission.  It's erratic (noisy) because it's data, of course.


Quote
Quote
because of the nature of USB, this doesn't really matter.  A CMC (as such) gives a better eye diagram during the data packet, but doesn't do much overall.  At best it's an average-case improvement with a worst-case impairment.  It's a statistical sausage effect: tighten one aspect, the other expands.

Adding separate components onto both signals like ferrite beads and capacitors will create some asymmetry. Because of that I'm thinking that a CM choke will cause the least disturbance. Nonetheless, inserting "random" components into differentials signals isn't going to work very well.

As stated by jkostb who wrote the below quote while I wrote my post:
Quote
Blindly adding ferrite beads and common mode chokes is usually not the way forward for solving these emission issues.

You might make things worse and perhaps solve the EMI problem but now the interface isn't always working properly on every device.

Yup.  And, as with the Ethernet example -- even when you try and balance things, you can't do a perfect job, not with commercially available parts at least.  A CMC will always have more wire to one side or another, or even, like, Idunno, inhomogeneity in the ferrite itself I guess, why not?; and you can't LC filter it (even when you can afford loading C on the line) because even if you use 1% precision capacitors, that's still a 40dB expected imbalance!

Tim
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 
The following users thanked this post: temperance

Offline ricko_ukTopic starter

  • Super Contributor
  • ***
  • Posts: 1079
  • Country: gb
Re: EMC test with 480MHz peak? Any ideas?
« Reply #32 on: July 20, 2023, 11:17:48 pm »
Thank you Tim and Temperance
 

Offline temperance

  • Frequent Contributor
  • **
  • Posts: 593
  • Country: 00
Re: EMC test with 480MHz peak? Any ideas?
« Reply #33 on: July 21, 2023, 02:50:26 am »
Quote
This is a good primer, at least on topics; I assume it's just slides that went with a talk which gives more detail about things.

Those are indeed just slides and "the talking" is missing. But the slides themself contain interesting information i.e. something to think about. Unfortunately the talk itself is not available on the usual channels.
 

Offline nctnico

  • Super Contributor
  • ***
  • Posts: 27865
  • Country: nl
    • NCT Developments
Re: EMC test with 480MHz peak? Any ideas?
« Reply #34 on: July 22, 2023, 12:35:13 am »
The better option is a common mode choke designed for this kind of signals with the required diff impedance instead of two ferrite beads.
Unfortunately that does not always help with all the noise. But USB may be less of a problem due to the short cables. I typically put a USB specific common mode choke on USB interfaces but then again, USB never has really long cables attached like ethernet.

@ricko_uk: did you manage to make any measurements on your board using a spectrum analyser + H field probes? That really is step one before changing anything in the circuit! If yes, please share the results of these measurements otherwise we'd probably re-iterate the same problem without having any new information that can lead to an actual solution.
« Last Edit: July 22, 2023, 12:38:13 am by nctnico »
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Offline ricko_ukTopic starter

  • Super Contributor
  • ***
  • Posts: 1079
  • Country: gb
Re: EMC test with 480MHz peak? Any ideas?
« Reply #35 on: July 22, 2023, 11:35:23 pm »
Thank you all.

@nctnico:
I did and it seemed to be higher along red trace and flexi connector at the end of it (see attached screenshot). Is might be because the plane below it is power instead of ground.

I kept the same track-gap as for the blue part of the traces (referenced directly to GND) because I assumed the power plane would act "enough" as reference plane due to the capacitance coupling with the ground plane (an Altium video also suggested that). But the gap between GND and PWR (i.e. core thickness) might be way too much to have enough capacitance to allow the power plane to act as reference plane. I have rerouted all differential pairs so they are all referencing GND directly below them and never change layers.

I also added 0402 ferrites and CM choke with overlapping footprint (so there are no stubs) and so I can try various solutions.

If you think of anything else please do share it. Feedback, suggestions and tips are always welcomed!

Thank you as always
 

Offline nctnico

  • Super Contributor
  • ***
  • Posts: 27865
  • Country: nl
    • NCT Developments
Re: EMC test with 480MHz peak? Any ideas?
« Reply #36 on: July 23, 2023, 01:36:52 am »
What kind of connector is that at the end of the red traces? An FPC cable connector? Is there ground next to the differential pair in the flex cable? And what kind of signal is it anyway? USB?
« Last Edit: July 23, 2023, 01:42:16 am by nctnico »
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Offline ricko_ukTopic starter

  • Super Contributor
  • ***
  • Posts: 1079
  • Country: gb
Re: EMC test with 480MHz peak? Any ideas?
« Reply #37 on: July 23, 2023, 02:27:53 pm »
Yes, it is a FPC connector for a USB signal (see screenshot). In the new version of PCB I am doing there is a GND plane right under it and also directly under all the USB traces for their entire length.

Any additional thoughts?

Thank you :)
 

Online T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 22369
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: EMC test with 480MHz peak? Any ideas?
« Reply #38 on: July 23, 2023, 04:12:44 pm »
What are the other pins in the connector? Did you try ferrite bead(s) on the cable?

Tim
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 

Offline nctnico

  • Super Contributor
  • ***
  • Posts: 27865
  • Country: nl
    • NCT Developments
Re: EMC test with 480MHz peak? Any ideas?
« Reply #39 on: July 23, 2023, 04:26:34 pm »
@ricko_uk:
Ah, that explains quite a bit. For this construction to have any chance to work at all you'll need at least to have grounds next to the differential pair at both sides in the FPC cable in order to form a return path. But it is still iffy to use an FPC cable for USB. Likely the problem isn't in the PCB but in the FPC cable. Did you measure near the FPC cable using the H field probe?
« Last Edit: July 23, 2023, 04:31:26 pm by nctnico »
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Offline ricko_ukTopic starter

  • Super Contributor
  • ***
  • Posts: 1079
  • Country: gb
Re: EMC test with 480MHz peak? Any ideas?
« Reply #40 on: July 23, 2023, 11:43:16 pm »
Thank you both.

@T3sl4co1l
Tim, the other pins are just very low speed digital signals (speaker on/off, alarm flag, and similar ones). I assume you mean ferrite on the external (classic round) USB cable? If so, I didn't try try them because the EMC tests did not pass even without any cables connected. If you mean on the flexi cable (it connects to a micro scanner module), I haven't because it is tiny and haven't seen any "rectangular" ferrites for such tiny cables and the dangling flexi might get pulled out by such ferrite's weight.

@nctnico,
Nico, that's interesting and makes sense. Tested it just now and they do go up in that area around the cable. The pinout is set by the scanner module connected to it. There is a GND right next to them but on one side only (see attached screenshot). Is that not enough? Would the fact that is is only on one side imbalance it and radiate more?

Thank you
 

Offline nctnico

  • Super Contributor
  • ***
  • Posts: 27865
  • Country: nl
    • NCT Developments
Re: EMC test with 480MHz peak? Any ideas?
« Reply #41 on: July 25, 2023, 02:37:54 pm »
I'd retest with the scanner attached. At least the lines will be terminated. Testing with unterminated transmission lines is not good anyway. Based on less than perfect grounding in the cable, chances are very high the terminal is a low speed (12Mbit/s) device. So the USB interface is likely to run at relatively low speeds. IOW: all the testing you have done without the scanner unit is irrelevant  ;) . If you want to do testing without the scanner unit (which I strongly unrecommend), then solder a 90 Ohm resistor across the USB pins on the FPC connector so at least the transmission lines are terminated.

Having an USB common mode choke as close as possible to the FPC connector is a good idea. Additionally there are special ferrite cores that are intended to put over FPC cables (see https://www.we-online.com/en/components/products/WE-FLATF ) but I'd test without those first.
« Last Edit: July 25, 2023, 02:40:52 pm by nctnico »
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Online T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 22369
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: EMC test with 480MHz peak? Any ideas?
« Reply #42 on: July 25, 2023, 05:32:56 pm »
Wait, so was the scanner not attached either?  Yeah, those ports should be inactive and the culprit lies elsewhere.

What was the host again?  MCU?  Some kind of bridge?  Maybe it has poor grounding and that's carrying EMI along the trace (ground bounce) even while the port is inactive?

H-field probe should read zero at the connector with nothing plugged into it.  Is it a shielded type probe?  Maybe you're picking up voltage instead?

Oh, what does EDA say the length of that route is (trace / electrical length)?

Tim
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 

Offline jkostb

  • Regular Contributor
  • *
  • Posts: 68
  • Country: np
Re: EMC test with 480MHz peak? Any ideas?
« Reply #43 on: July 25, 2023, 06:11:24 pm »
Have you already retested with all cables disconnected  and observed any differences?
Did you succeed testing with a near field probe and spectrum analyzer and find correlation with observed peaks?

From your figures it can be observed that the frequencies are not broad band. This is an indication that the culprit is some clock source or signal with fast rise times. I have seen and debugged similar radiated emission issues in past. In both cases the culprit was a signal (clock, PWM etc) with fast rise time.

Is it a 4-layer board? If not can you provide stackup. Can you show snapshot of top layer and closest reference layer, same for bottom layer and closest reference layer?

Please note that if you switch signals with fast rise/fall times from top to bottom layer (assuming 4-layer board) this can cause the behavior which you observed. The return current must also change reference layer (i.e. from GND plane to power plane. If there are cutouts in power plane, the return current needs to find path via closes bypass capacitor). The current loop is an effective dipole and radiate! So if you have excluded that your cabling is the culprit, you need to start examining PCB layout.  So from this discussion you hopefully understand that the differential pairs changing layer from top to bottom can already be the root cause. My advise is to route all differential pairs first and try to route it without changing layer. If this is not possible ensure that you always have same reference layer (e.g. GND)  as reference layer. Please note that if layer 3 is power plane, you can also add polygon GND pour  in power plane just below the differential pair. You need to stitch this small plane with sufficient vias with layer 2 (GND) otherwise it will not work. The same applies for all signals with fast rise/fall times.

Hope this helps.
 

Offline ricko_ukTopic starter

  • Super Contributor
  • ***
  • Posts: 1079
  • Country: gb
Re: EMC test with 480MHz peak? Any ideas?
« Reply #44 on: July 26, 2023, 09:47:03 pm »
Thank you all, I will get hold of the spectrum analyser on Mon and run more tests with the scanner attached and compare them without scanner attached. But, as Tim mentioned, I assumed there should not be any activities on the USB bus as the scanner was not attached.

In the meantime replies to all your questions:

@T3sl4co1l :
The USB diff pair lengths are 122mm (both within 0.5mm of each other)

The host is a hub Microchip's LAN9514-JZX. I don't think it could be ground bounce because all ground pins as well as the large pad under the IC are all connected directly to GND right at the pin (1mm away) and there is a solid ground plane under the entire board. And the IC large (thermal) pad has also multiple vias. Maybe there are other reasons for a ground bounce?

The probe is a Rigol H-field, I cannot find any information whether they are shielded or not.

@nctnico:
I will retest them on Mon when I get hold of the spectrum analyser again.

Why the CM choke is best put close to the connector (while the ferrites close to the IC)?

@jkostb :
Yes in the new PCB I have routed all traces on the top layer with GN under them.

The previous PCB was a 6 layer with the following stackup:
SIG
SIG
VDD
GND
SIG
SIG

The new one is as follows:
SIG
GND
SIG
SIG
VDD
SIG

Thank you all :)
« Last Edit: July 26, 2023, 10:57:53 pm by ricko_uk »
 

Offline jkostb

  • Regular Contributor
  • *
  • Posts: 68
  • Country: np
Re: EMC test with 480MHz peak? Any ideas?
« Reply #45 on: July 27, 2023, 06:08:25 pm »
If I look at your new stackup, then hopefully you have routed all high speed signals at top layer or on layer 3. If you route high speed signals on layer 4 or 6 or you switch from layer 1,3  to layer 4 or 6, then this potentially could cause the issue which you have seen.
 

Offline ricko_ukTopic starter

  • Super Contributor
  • ***
  • Posts: 1079
  • Country: gb
Re: EMC test with 480MHz peak? Any ideas?
« Reply #46 on: July 27, 2023, 09:31:49 pm »
Yes I have :)

BTW, why is a CM choke best placed next to the connector instead of next to the IC (assuming relatively long traces)?

Thank you
 

Online T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 22369
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: EMC test with 480MHz peak? Any ideas?
« Reply #47 on: July 27, 2023, 11:27:58 pm »
So you don't have the extra trace-GND capacitance loading it, also coupling in some CM noise from the board (in case there's ground loop voltages onboard, or when routed over dirty supply pours, etc.).

Again, you can't use much CMC on USB, at least not the pair; if you have all four lines accessible, a 4-line choke can be used (but these are uncommon and expensive).  What is available (without violating USB levels) has little effect (some dB flatband, more vs. resonant peaks).

Tim
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 

Offline jkostb

  • Regular Contributor
  • *
  • Posts: 68
  • Country: np
Re: EMC test with 480MHz peak? Any ideas?
« Reply #48 on: July 28, 2023, 04:37:03 pm »
In addition to what Tim wrote:

There exists common mode chokes specially designed for high speed differential pairs (USB3, etc). Have a look at Wurth Electronics WE-CNSW HF series:
https://www.we-online.com/en/components/products/WE-CNSW-HF

Again it does not make sense blindly adding these parts because it makes your design expensive and you don't know whether this was the root cause.
 
The following users thanked this post: nctnico


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf