Electronic – USB short circuit on power – does it damage the PC

power supplyusb

I am building a circuit powered from a PC USB. Normally I put a diode in series with the input power to prevent damage from accidental reverse power being applied. However, over a long USB cable I want every millivolt I can get, so I am considering putting a diode across the power input lines to short any reverse voltage. Question being, if someone managed to connect the USB the wrong way round would it damage the PC or do we get a controlled closedown of the USB source power?

Suggestions, opinions, answers?
[Googling briefly, it seems opinion is divided]

Best Answer

When you want "inline" protection without much voltage drop, it is quite common to use p-MOSFET in place of diode. When power supply is connected correctly, internal diode in MOSFET will conduct and as soon as load voltage rises over MOSFET threshold, transistor opens and there is its "on" resistance only (no problem to get a part with down to tens of miliohm resistance with reasonable price and package). If someone inverts power supply, the internal diode is in reverse direction and gate voltage won't reach threshold (unpowered load => source terminal is at the same ground potential as gate).

schematic

simulate this circuit – Schematic created using CircuitLab

If your load has lot of capacitance, it would be wise to check that internal diode in the chosen transistor can handle inrush current and/or add external diode from drain to source.

Related Topic