Tuesday 22 September 2015

power supply - Best way to test a USB wall charger for output current


USB chargers are tricky. Or at least they are when you don't follow the standards.


I have a device that uses 5V to charge a battery. The device has a USB socket, with the idea of connecting it to any USB power supply (maybe USB power supply is not the best way to call them, but I mean a 5V DC wall wart that has a USB port, whether that wall wart adheres to USB specs or not regarding power delivery, I don't care as long it outputs 5V), but doesn't do any handshaking to ask for power. I was wondering what will happen if you use a charger from brand X or Z, will it output 100mA? will it output 500mA? will it provide as much as it is rated (e.g. 2A on an iPad charger)?


My question is, given that different manufacturers seem to use different ways to get more than 500mA from their chargers (at least to my knowledge) how can I get the maximum current a power supply can provide without needing to negotiate the power delivery? I was thinking in using an active load, but I don't know if that's the best way to test it. Is there any considerations I need to keep in mind to do the test?


I would need to get the active load, as I don't have any at the moment to test it myself and I wanted to ask first before purchasing it.


EDIT: The question seems to be too open to interpretations, but I don't know how to word it while keeping it short, sorry. I guess my question is: when using a charger that provides more than the usual 500mA, and that uses a proprietary system to allow the drawing of more current (e.g. a tablet charger from a reputed brand), what should my load by in order to extract the maximum current from it, without having to use ICs to do any kind of negotiation? Can I just connect a variable resistor and check when it starts to drop voltage? Can I get 2A from tablet charger that is obviously capable of doing it, without requiring whatever resistors it needs in its data lines?


I appreciate the answers given so far, as they are useful, but not exactly what my (terribly worded) question was looking after. I don't want to know how to measure that current, I know I can use one of the many flavours of ampmeter available, and I don't want to know how to do the negotiation to get more power. I want to know how to set up my test so if I get X amps, that's the maximum I can get from the charger without trickery.




No comments:

Post a Comment

arduino - Can I use TI's cc2541 BLE as micro controller to perform operations/ processing instead of ATmega328P AU to save cost?

I am using arduino pro mini (which contains Atmega328p AU ) along with cc2541(HM-10) to process and transfer data over BLE to smartphone. I...