Honestly, I'm surprised that this isn't something that thelaptop and other such USB adapters aren't equipped to deal with. This is only slightly worse in my book than a USB adapter being fried from shorting the Vbus and GND pins together
Honestly, I'm surprised that this isn't something that thelaptop and other such USB adapters aren't equipped to deal with. This is only slightly worse in my book than a USB adapter being fried from shorting the Vbus and GND pins together
The protection against reversed voltages like that would be a crowbar diode between Vbus and GND, to convert the negative voltage into a short circuit. But even if it had that reverse protection, if the current was high enough (since the negative voltage was from a charger, it's not unlikely) the diode could burn open, and then you have negative voltages again. And I don't know how common these crowbar diodes are; they probably are rare, since the USB connector is keyed so it can't be plugged "backwards" (the type C connector is mirrored instead, either orientation connects the pins the right way).
However there is other kind of protections like this : http://www.edn.com/design/analog/4368527/Simple-reverse-pola...
But when the polarity is reversed beyond the diode's voltage drop (that is, beyond -0.6V in your example), the diode is now the "right way" and conducts, limiting the reverse polarity voltage to the diode's voltage drop (in your example, it won't get below -0.6V).
However, that means that all the reverse-polarity current goes through the diode, in effect a short (like putting a physical crowbar across the battery terminals). If the diode holds long enough, the voltage source's short-circuit protection (be it a fuse, a polyfuse, or something else) should cut the current and all is (mostly) fine.
The basic USB spec requires that all ports be protected with a small self-resetting polyfuse for exactly this reason. I don't know if the Type-C or USB 3.1 specs includes something similar - I would assume so but perhaps the additional current capabilities made that infeasible.
http://elinux.org/Polyfuses_explained
A standard USB polyfuse usually resets pretty fast (as soon as it cools down) but they could take up to a few days. It's also possible the manufacturer cheaped out and didn't include a polyfuse, of course.
Current limiting doesn't magically protect powered devices from voltage reversal (-5V instead of +5V), so both the laptop and power delivery analyzer went poof.
They may have taken enough current to trip charger's current limiter, but then it was a bit too late.
Rebooted, and the USB port did not work. Shut it down and left it for half an hour, and, yay, all working again.
Disassembled the adapter. Turned out to be a dummy used for display. No guts, just a steel bar across all four pins of the USB connector. Looked real from the outside.
It was a very, very stupid thing to do. Thank-you Apple for putting a self-resetting fuse in my MacBook Pro. Saved my idiot butt.
I know because I've triggered it doing something with an arduino.
If you're doing lab work, it's really easy to get weird potentials on various lines. I almost never plug anything like an Arduino directly into my laptop without a powered hub in between.
I assume I'm a klutz. So, I take steps to minimize the damage when something happens.
Personally, I've switched over to using USB 3.0 hubs. They supply more power and seem to be better built.
Its not rare enough of a failure mode to ignore.
I mean this kind of protection is way beyond typical ESD protection due to the power involved. It would add a lot of cost to do this, maybe even a dollar or two in raw material.
You'd have to open the circuit in the face of 5V of potential hooked up backwards, not really a tall order.
It's not abnormal to add protection that isn't needed when everything works properly. As noted elsewhere, the USB spec already requires resettable overcurrent protection, for example.
The 3-4 cents is for specifically, reverse polarity protection when somehow, a -5V differential is applied to device power inputs.
This cheaper solution only narrowly addresses this particular power fault, and no others.
Do I assume correctly that a fuse for overcurrent protection wont act quickly enough to save the hardware in the event of reverse polarity?
Because cabling can fail in other ways. A short could be caused by mechanical damage to the cable anywhere along its length. It would be nice to have a host that doesn't burn up in those scenarios seeing as they are already required to protect the bus.
If it is at the power supply end, all bets are off. If your USB charger fails short prepare for mains voltage to absolutely fry anything and everything connected to it and a negative voltage is the least of your worries. In the cable, a miswiring is seriously negligent and I see no reason why it should be designed around.
what was wrong was that the Vbus on one end was hooked to the GND of the other end.