You're absolutely right that people ignore whole lot going on around them in terms of sound, smell etc.
You're absolutely right that people ignore whole lot going on around them in terms of sound, smell etc.
So often worth fixing even if you don't worry about getting a shock.
To counteract the noise, you attach a (special, you'll see "Y") capacitor between the primary and secondary sides, right next to the transformer. Now that high frequency noise sees an "easy" short-circuit and it is contained in a small loop within the power supply, not leaking out into the outside world. This needs to be much larger than the (very small) transformer capacitance so it dominates that system.
The downside of this is that now you have an appreciable capacitance between the primary and secondary side. In a grounded system, you connect the primary side of that big capacitor to ground and everything is fine. In an ungrounded system, you can only connect it to something referenced to one of the two wires you have: line or neutral. This means that a small current will flow into the capacitor from each side at line frequency (50 or 60Hz) and the secondary side, connected to the case, will float at some appreciable fraction of mains voltage. You, a damp meatsack, prodding the secondary side with your fleshy protruberances, have capacitance as well. So when you touch this case, that's floating at AC voltage around 100-200V (depends where you are in the world) there's a small current that flows between you and the case as well as the charge flows back and forth. This is what you feel via your nerves, which can detect miniscule currents in this range. Because the capacitors linking you to the mains are, in an absolute sense, small (though far larger than the transformer capacitance), the current is limited to a small amount, far under a milliamp. Actually this would still happen without the bigger capacitor, as there's already some capacitance there, but it could only provide an imperceptible current even to the bio-miracle of the human nervous system. So you have to balance EMI reduction (more capacitance better) against this sensation (more capacitance makes it more noticeable and eventually with a really huge capacitance it would be its own safety hazard).
Why a special capacitor? Well, if were to fail to a short between primary and secondary, now your isolated case is not isolated, it's connected directly to the mains supply and there's no earth wire to dump current to and blow the RCD. So if it didn't immediately blow the fuse (and even then, it needs many 10s of amps to do that to the whole circuit if you don't have fused sockets or plugs in your country, and even then it can also set itself and things nearby on fire without blowing a fuse using only an amp or two if you're unlucky) because it's sitting on, say, metal earthed desk, it's now still floating at mains voltage. However, now it won't deliver microamps, it can deliver a lot more though that carbonised previously-a-capacitor-now-a-small-resistor. If you touch it and have a decent connection to ground, instead of the interference with pacemakers, it can become a turbocharged pacemaker, but your heart doesn't work so well at 50/60Hz and may object to this by going on strike. Regulators for some reason think this is a problem, so you use a special safety capacitor called a "Y" or "X" type, depending on exactly how you use it, which is designed to satisfy them that you probably won't discontinue anyone's sinus rhythm or burn down a building (even if they've actually consented by buying your product!)
So, while is this not an intentional effect, it's also an calculated aspect of the power supply design in the absence of an earth wire and is not a sign of a defect or danger. Other than reminding you that the only thing between you and mains voltage is insulation that's carefully specified, regulated and tested to be safe, for some standardised definition of "safe", of course.
You can also see a much stronger version of this effect with a plasma globe (remember them?). The frequency and the voltage is much higher than 50Hz mains, but the principle is the same: the sphere surface is isolated plastic, there's a very small capacitance to the coil. The current flowing in the low pressure gas in the void is what makes the tendrils. With your with your hand on it, you float at very high voltage and can even produce a tiny sub-millimetre, continuous spark to other objects as the small current flows back and forth into this small capacitance. In retrospect, that plasma globe probably has questionable EMI behaviour when doing that!
Given that one of the devices in question was a Mac Mini (which did indeed have a two-prong plug without earthing), I wonder why Apple didn't put in a little more effort to give consumers an earthed plug. There's more than enough margin on their devices, and computer-like appliances normally have grounded plugs here anyway (Netherlands).
Unearthed two-prong plugs are slightly more convenient here because they fit in more sockets. But I'd prefer earthing over that small convenience.
Adding an earth conductor would require a thicker, less flexible 3-wire cable, a bigger plug (in the countries that have the option of a 2-pronger) and a three-pin power connector if it's not a captive cable, which is bigger and heavier. To ground that Y capacitor node means taking the earth conductor from the socket to near the SMPS transformer, and you have to maintain strict clearance and creepage distances between that conductor and the live/neutral regions at all points. Modern power supplies are very compact, so this is actually more of an ask than you might expect.
As the device is already designed to meet or exceed safety requirements without the earth wire, all it does is avoid the tingle and add weight, volume, design effort and component cost. As mass market devices produced by the hundreds of millions, this is not deemed a good tradeoff.
You can avoid this on your own, however, by grounding the case yourself, by connecting any exposed metal to a local earth point. Remember that Macs are anodised, so the surface isn't really conductive, (which actually amplifies the effect at the point of contact as a thin insulator is also a capacitor!).
> Unearthed two-prong plugs are slightly more convenient here because they fit in more sockets.
That argument doesn't work here, all are 3 pin. It's a conducting third pin too, even though it's NC, which isn't even compliant.
My suspicion is that it's way more noticeable on European voltages (frequency could also be a factor?) so they don't notice in the US and don't care. I have a few products that do it; they're all US companies except one Japanese (slightly lower than US even at 100v, and product primarily sold to US I suspect).
My Framework laptop will shut down if it touches a charging but un-Earthed MacBook.