3
\$\begingroup\$

I have a device, that consists of logic controller, with some inputs, outputs, switching power supplies, relays, communication (all the usuall stuff) and an RFID module, rated for some higher powers (up to 2A@5V, but usually consumes 0.5A). All the mentioned stuff is placed on one PCB. There is a big ground plane underneath all the components, apart from the RFID, which sits over it's own copper plane. The two parts are conencted with a bundle of cables (about 15 cm long).

a schematic sketch off device's main PCB

And here is the problem: Two of my RFID modules suddenly stopped working, in a very similar circumstances. I plugged all the cables and checked if everything works, next to it's destination cabinet. I took out a fuse, closed controllers plastic casing, and then put it all inside bigger, metal cabinet. After plugging the fuse back again - RFID did not respond. Two identical failures, in two different sites, happening during installation. Havent had any similar mishap, powering the device on my desk, even though I restarted it dozens of times.

So, I started to look for flaws in the design. First thing that caught my attention was the fact that RFID and the rest don't share the same ground. It was alarming, because RFID module's microcontroller is directly connected to my logic controller's micro. These communicate via UART, and some other lines, without separation, other than a 33 or 50 Ohm resistor (can't remember exactly). So 2 IC's communicate directly, despiter not having common ground. The two grounds are not floating, relative to each othe, because it wouldn't, obviously, work at all. Instead, these are separated by a ferrite bead. So, ciruit's designer wanted to keep all the potential high frequencies inside the RFID and not let any to the rest of the board.

I instantly checked the voltage drop on that bead. During normal opeation, it was around 100mV, peaking at 200mV, at high frequency. So not terrible. Then, I focused on the exact moment when I power the device. To turn it on, I pushed a switch on a 230V power outlet. Oscillosope probe's terminals where put between the two groun planes. Everytime I flicked the switched, the osciloscope triggered. As you can see below, the oscilations have a significant amplitude, easily exceeding IC's absolute maximum ratings. Waveform between RFID's and controller's grounds Then I replaced the ferrite bead, between the two copper planes with a solder bridge. Waveform between RFID's and controller's grounds, after shorting the grounds As you can see, the amplitude dropped significantly. Next thing I did was to turn two copper solids into one. I just scratched some soldermask and soldered those together. But waveforms still looked the same as it did after getting rid of the ferrite bead. To make sure, that the waveform I measured was not just some error that the scope picked up, I shorted the probe's terminals, put in more or less the same place it was before. Didn't triggered. Then I put some piece of cable (about 30 cm) between the probes - it caught waveform similar to what I saw between copper planes. The longer the cable was, the bigger the amplitude of the signal.

So my hipothesis is: switching the power supply to mains generates some kind of a electromagnetic disturbance. The cables and the board picks it up, and high frequency current induces between part of my device, destroying the more vulnerable RFID module.

As you can tell, I'm rather new to the concept of EMI and so on. The device is my company's prototype and I can make changes to the final design. The designer that made the original PCB was our subcontractor (outsourcing).

I apreciate all of your reponses.

Max

\$\endgroup\$
13
  • 1
    \$\begingroup\$ You would have to tell a lot more, like how was oscilloscope connected and where exactly and was it a 10x probe with alligator clip and is it on earthed outlet. Is the power supply input earthed? Does power supply output float or is it earthed too? Where is the power switch, on mains input or output? What if it broke due to ESD when charges accumulated on plastic box and discharged when connecting wiring? \$\endgroup\$
    – Justme
    Commented Jul 20, 2021 at 22:59
  • \$\begingroup\$ Ok, I'll asnwer all, one by one. 1. Scope was grounder, connected to a power outlet, few meters away from a 24V PS. Probe is just a standard probe, with alligator clip set to x1. Negative terminal of the probe(alligator) was placed on an unused ground pin of power socket on the board, right next to 24V power plug. Second terminal was placed on an exposed part of RFID ground plane. 2. PS looks exactly like most of laptop adapters. It's input is earthed, output is probably not. 3. Power switch is placed on mains outlet, from which PS takes it's power. \$\endgroup\$
    – Maks
    Commented Jul 21, 2021 at 12:03
  • \$\begingroup\$ 4. I connect wiring, then test it. It works. Then I disconnect mains power, I put a lid on, then mount the box in it's place inside a metal cabinet. When I power it again - doesn't work. \$\endgroup\$
    – Maks
    Commented Jul 21, 2021 at 12:06
  • \$\begingroup\$ ad 2. actually, I turned the the PS on and measued voltage between the earth in power outlet and PS's DC negative. It shows 0 on DC and AC measuremt. So probably, the output is grounded too. But it is usually not the case with power supplies on site. The were not earthed, as far as I remember. But all the measurents were done in my "lab", with the equipment I described earlier. \$\endgroup\$
    – Maks
    Commented Jul 21, 2021 at 12:23
  • \$\begingroup\$ @Justme - making sure you get notified \$\endgroup\$
    – Maks
    Commented Jul 21, 2021 at 12:34

1 Answer 1

3
\$\begingroup\$

This is a well presented question!

The bead between the two grounds is a pretty terrible idea in my opinion:

  1. you need that ground as return for your signals
  2. obviously, your two grounds and the two power supplies are floating at HF because they are HF decoupled.

I believe your analyses is pretty much spot on. The more inductance you place between the two grounds the more uncontrolled the difference in ground voltage between the two RFID modules. At the same time, I believe that the power supply connection (red wires) are actually rather low impedance because the choke is very leaky to HF noise. As a result, a common mode voltage spike on the main board will shoot over to the supply of the RFID, but not to the Ground, developing excessive voltage on the RFID board.

Remedies

  1. Bond the two ground together

In order to improve even more beyond the solder bridge, you would have to bond the two planes together via a plane, i.e. make them one plane, as opposed to two planes shorted through some kind of jumper.

As a poor man's solution to achieve this, you could bond both boards thoroughly to the chassis via several bolts. However, this is not a 100% desirable option and you also must provide a low impedance ground connection in parallel with your signals and power in addition, e.g. by virtue of wires that are fixed to the existing signal and power wires. This is to prevent large differential voltages due to fast magnetic field interference.

When bonding ground, it would seem like you conflict with the intent of the ferrite bead, namely: "Instead, these are separated by a ferrite bead. So, ciruit's designer wanted to keep all the potential high frequencies inside the RFID and not let any to the rest of the board." But first, I would argue that you solve this issue by proper layout around the RFID module, i.e. tight return paths in power supply. And second, you should filter the signals and power lines, but not the ground. The ground is the reference potential and should be ideally stiff as a rock everywhere throughout the device.

  1. Block noise entering your device

AC-DC converters usually have a large common mode voltage at the output, which arises from capacitive coupling to the mains wires. When you connect them, a large wave of common mode voltage travels into your device via the 24V-0V-cable pair. Prevent/Retard this spike reaching your mainboard in the first place: try with a clamp-on ferrite bead on the power supply cables. Those should wrap around both the 24V and the 0V cable and they will block common mode noise from the 24V converter.

\$\endgroup\$
4
  • \$\begingroup\$ Thank you. Luckily, turning two planes into one was easy - gap between them was pretty small. I just soldered them with one long line of solder. The PSU that I used on my desk has two ferrite beads from factory. Know I see that common mode voltage is obviously a thing. I made some new measurements. Now I put one terminal of scope to earth, second is placed on one of the DC outputs. During startup, voltage on a scope swings in a oscillating manner, from -200 to 200V. Can you tell what is that I saw on the scope on pictures in the post? Is it radiated, or it's just conducted voltage \$\endgroup\$
    – Maks
    Commented Jul 21, 2021 at 14:34
  • \$\begingroup\$ As you describe it, you form a large loop antenna with your scope probe by attaching the ground lead somewhere at earth, so it could be very well radiated emission. But as I said, depending on how the mains switch works, it can occur that you get no common mode voltage when it is off, and only "enable" the common mode voltage when you switch it on, in this case it can be also conducted. Take a multimeter, set it to AC voltage and measure between the 24V cable and earth ground. When power is on, you will likely see something like 100 VAC. When it is off it can be different. @Maks \$\endgroup\$
    – tobalt
    Commented Jul 21, 2021 at 15:00
  • \$\begingroup\$ this particular PSU that I use on my bench is connected to protective earth. When powered off, there is no common mode voltage. It appears at the moment of flicking the switch and then goes away (multimeter shows some big values for half a second). But it won't be the case when PSU doesn't have earth connected. So to sum up your answer, you think that no matter where disturbance comes from, there should be common ground and well designed circuit and nothing should break? \$\endgroup\$
    – Maks
    Commented Jul 22, 2021 at 7:33
  • \$\begingroup\$ @Maks "you think that no matter where disturbance comes from, there should be common ground and well designed circuit and nothing should break?" Yes that is the essence. However "But it won't be the case when PSU doesn't have earth connected." This conclusion is premature. Even "floating" PSU will have capacitance between the AC side and DC output. If you measure AC voltage between output and (isolated) earth of a standard SMPS, you will see ~100 VAC of common mode voltage on the output. It is rather high impedance but can harm sensitive parts when it leaks into diff. mode, e.g during turn-on. \$\endgroup\$
    – tobalt
    Commented Jul 22, 2021 at 8:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.