USB Flash Drives - Power Consumption Measurement using Plugable's USBC-TKEY
by Ganesh T S on March 18, 2016 9:10 AM EST- Posted in
- Gadgets
- Flash Drive
- DAS
- USB-C
- Plugable
The power consumed by USB peripherals such as flash drives has typically not been much of a concern. However, with OTG support on the rise, mounting external storage via USB on mobile devices has become a common use-case. The power consumed by bus-powered devices is arguably more important compared to the performance numbers in such cases. A reader comment in our recent review of the Samsung Portable SSD T3 piqued our interest, and we set out to quantitatively measure this aspect. This article deals with some background on inline USB power measurement and our available options. This is followed by a detailed description of our hardware setup and the software infrastructure to gather the required data. In the final section, we look at some results from our evaluation of the power consumption of different flash drives followed by some concluding remarks.
Introduction
The measurement of the power consumed by USB peripherals is conceptually a simple affair. DIY solutions are also possible. Devices such as PortPilot offer a professional alternative for inline power measurement while adding management and diagnostic features. There are plenty of other inline USB power measurement gadgets, but none of them are suitable for Type-C / USB 3.1 ports.
The Chromium Twinkie USB-PD Sniffer is one of the most famous Type-C diagnostic kits, thanks to its use by Benson Leung in evaluating adherence of various Type-C cables and adapters to the specifications. Google doesn't sell Twinkie directly to end-users, but interested consumers can get the version manufactured by Plugable - the USB 3.1 Type-C Power Delivery Sniffer (USBC-TKEY).
The Twinkie / USBC-TKEY is primarily intended for developers to monitor the power delivery traffic between two USB Type-C devices. However, it has additional capabilities such as the monitoring of the VBUS and VCONN voltages and currents, injecting power delivery packets on the CC1 and CC2 pins and placing Rd/Rp/Ra resistors on CC1 and CC2. Since it is also designed to be a transparent interposer, it doesn't interfere with the data traffic between the host and the device.
The various pins on a USB 3.1 Type-C plug are brought out in the picture below
From a power measurement perspective, the interesting ones are the VBUS and VCONN. The VBUS line carries bus power for devices (and, in some cases, for the circuitry in the cable itself). The voltage may vary from 5V for typical USB 2.0 hosts / devices to up to 20V for USB-PD scenarios. VCONN, on the other hand, is always set to 5V and can supply up to 1W of power for circuits within the plug. These circuits can implement electronically marked cables or even be accessories.
Coming back to our original intent of measuring the power consumed by USB peripherals such as flash drives, it is obvious that we need to be measuring the voltage and current on the VBUS line. This aspect has suddenly become something to care about because of the number of mobile devices supporting 'OTG'. Not all mobile devices are able to provide the 900 mA output current to 'bus-power' attached devices. Note that the initial specification for USB only had provisions for 0.75 watts of power – 150 mA at 5 V. USB 2.0 bumped that to 500 mA, or 2.5 watts, and USB 3.0 specified 900 mA at 5 V, or 4.5 watts. Understanding the power consumption profile of a flash drive is essential to determine whether it can be safely used with a particular mobile device. It can also help in understanding the impact of usage on the battery life of a mobile device. From a technical viewpoint, it also gives insight into the efficiency of the USB peripheral itself.
20 Comments
View All Comments
InterClaw - Friday, March 18, 2016 - link
How about a graph comparing total power consumption for a specific task, like "rush to idle".icrf - Friday, March 18, 2016 - link
What is the closest model for a streaming use case? Sequential QD=1 sounds close, but if streaming videos stored on a USB drive on a tablet/phone, you're not running at peak throughput even at QD=1. That's also the kind of case where power consumption and battery life matter a lot.I don't know if that's the kind of task you were referring to with "rush to idle".
InterClaw - Friday, March 18, 2016 - link
I mean like performance per watt, so even if a drive consumes more power doing a certain task it maybe finishes a lot quicker and the total amount of power consumed could actually be less. Perhaps figures like this could be interesting to include in the future.ISGoodwin - Friday, March 18, 2016 - link
While maximum power draw for certain tasks, it would be helpful to be able to see a normalized figure to be able to compare efficiency. It may even be necessary to have a test that has a specific set of usual tasks, heavy, medium and light like you do with the SSD reviews to see how the characteristics change depending on load.jabber - Friday, March 18, 2016 - link
Have to say power consumption is the last concern I have re. USB sticks. Some folks have far too much time on their hands.name99 - Friday, March 18, 2016 - link
You (and plenty of the commenters above) are being exceptionally ignorant, and didn't read the article properly where this is all explained.There is a HARD CAP on the power draw available to a USB2 port of 2.5 W. There is a HARD CAP available to a USB3 port of 4.5W.
This means that if you take one of the drives in the list that exceeds 2.5W under some conditions. it will (more or less randomly) work then fail when connected to a standard USB2 port --- essentially it will exhibit random (and thus very hard to debug) failure, especially since it will always mount without a problem. Even if you're connecting it to USB, if you're connecting to a hub you may have the exact same problem --- the drive always appears to mount, then sporadically fails when a sequence of random reads or writes exceeds the current available (given that some other device on the hub is also using power).
THAT is why the important number for these devices is the worst-case peak number, not an average or the total power consumption or anything like that.
ISGoodwin - Friday, March 18, 2016 - link
While you have a valid point about non type C connectors, it was not the only one in the article as the implication I read was how the power of a storage stick can adversely affect the life of a portable device which would make efficiency a major factor. No-one has mentioned removing the above information, only adding to it, which can only help.InterClaw - Friday, March 18, 2016 - link
Ideally, the drive should enter a low performance mode under those circumstances so as to not encounter failures. But perhaps that's wishful thinking.krutou - Saturday, March 19, 2016 - link
Based on name99 and dano_spumoni's comments, this article should have been named and focued on "Peak Power Consumption Measurement..."I've had similar connection issues when running a portable SSD via front panel USB.
Murloc - Sunday, March 20, 2016 - link
just because you're not connecting external HDs to your phone