17
\$\begingroup\$

I have a Qi wireless charging pad for my phone, powered via a micro-usb port. The markings on it indicate that it will accept the typical 5V that nearly every USB port provides, or it will accept 9V for "fast charge".

I was under the impression that USB standards allowed for no more than 5V.
My research shows that USB Power Delivery has several profiles (up to 20V), and Revision 2.0 Version 1.2 includes a 9V profile.

Now I'm wondering: How can voltages above the usual 5V be provided without worry of damaging an expensive phone when connecting them directly (no wireless pad)? If things are running at different voltages, wouldn't that cause an issue?

In this example, 9V is used for fast charging, but could that 9V be sent to my phone? Do phones have a safeguard for this? The USB standard allows for up to 20V. That's a lot when expecting only 5V. Some "dumb" devices are powered directly off of USB, like cheap LEDs and fans that have no IC. Surely they would blow upon 20V!

I'm guessing there is data exchanged between the power source and the peripheral, ultimately telling the power source whether or not it's okay to provide more than 5V. Some USB charging cables don't have data pins though, which can allow for faster charging. In this case, it seems that not having data pins would be a restriction. Maybe the power source would have to default to 5V?. Unfortunately I cannot find an explicit protocol/explanation of how the different potentials are managed.

\$\endgroup\$
4
  • 1
    \$\begingroup\$ The default is probably 5V. If the connected device is Power Delivery aware then it can negotiate the higher voltage/power. I'm sure you can find a definitive answer in the actual spec: usb.org/developers/docs/usb20_docs \$\endgroup\$ Oct 26, 2016 at 23:46
  • \$\begingroup\$ Your device does not have "Power Delivery", it uses proprietary Qualcomm charger, with undisclosed method of power negotiation. \$\endgroup\$ Nov 3, 2016 at 19:36
  • \$\begingroup\$ You can use any DC-DC converter with Vin_max=20v or highter and Vout=5v \$\endgroup\$
    – nick_n_a
    Sep 3, 2020 at 13:31
  • 1
    \$\begingroup\$ @nick_n_a The question was about how the device and charger communicate provide a safe voltage. A DC-DC converter does not apply here. \$\endgroup\$
    – Bort
    Sep 3, 2020 at 14:23

2 Answers 2

21
\$\begingroup\$

Your initial guess is correct, ICs such as the TPS65982 handle the negotiation of power, and that one in particular handles the entire voltage spec of 5-20V.

Update

For USB-PD through micro-usb, it needs to be done through a PD aware cable. USB-OTG added an additional pin to the micro connectors (the ID pin) which is left floating on the micro-b connector. A USB-PD device uses that pin to negotiate the power profile determine if the cable is PD aware.

Your 'dumb' devices don't get damaged because USB-PD has a 'start up profile', by default it's 5V/2A (in the 1.0 version):

enter image description here

As the sidenote says, if you're using a 'dumb' cable (even if it's connected to a smart device), then all you'll get is 5V/1.5A.

Once a smart device is connected, however, it can negotiate a higher PD profile through the Vbus by using the PD communication protocol, which is a 24MHz BSFK protocol.

The PD 2.0 specification is a bit different. The fixed power outputs of 1.0 have been deprecated, and there are 4 nominal voltage levels with varying current abilities:

enter image description here

It has also been updated to include type C connectors, which as you mentioned have the CC pin, and use BMC encoding to communicate on that pin. It is important to note however that this protocol is backward compatible with the USB 2.0 devices that implement 1.0 as well.

enter image description here

Update 20170206

Adding new information based on Ali Chen's answer. Your device may make use of the Qualcomm Quick Charge protocol, which uses the data lines to negotiate. Specifically, the portable device puts a pair of voltages on the D+ and D- lines, and the Quick Charge IC applies a different voltage depending on whether or not the IC is configured to connect to class A or B devices. For Quick Charge 3.0, the negotiation table is as follows:

enter image description here

To determine if this applies to you, simply connect a USB cable that does not have data lines inside to your wireless charger or to your phone. If it reads 9V, then it's not using the Quick Charge protocol to negotiate voltage (or, at the very least, it's not negotiating over the data lines, since there could be other protocols in use). Also, and probably more effective, You could also put the D+ and D- lines on a scope, and observe the voltage changes. Here is also a state diagram for reference, taken from a Quick Charge 3.0 IC, the NCP4371:

enter image description here


Sources:

https://en.wikipedia.org/wiki/USB_On-The-Go https://electronics.stackexchange.com/a/165808/17582 https://doc.xdevs.com/doc/Standards/USB%203.1/usb_31_030215/USB%20Power%20Delivery/USB_PD_R2_0%20V1.0%20-%2020140807.pdf http://www.st.com/content/ccc/resource/sales_and_marketing/presentation/product_presentation/group0/5a/b1/8e/6c/2b/0d/46/3c/Apec/files/APEC_2016_USB_Power.pdf/_jcr_content/translations/en.APEC_2016_USB_Power.pdf http://www.onsemi.com/pub_link/Collateral/NCP4371-D.PDF

\$\endgroup\$
4
  • \$\begingroup\$ That IC is for USB-C, which has it's own "configuration channel" pin. As for my wireless charging pad, the port is micro-usb, thus there only 4 or 5 pins to use. It probably works the same way though. The irony is that using a USB cable without data pins typically allows for faster phone charging, but in this case, not having data pins could actually be a restriction. \$\endgroup\$
    – Bort
    Oct 27, 2016 at 0:06
  • \$\begingroup\$ Updated my answer. \$\endgroup\$
    – MDMoore313
    Oct 27, 2016 at 16:07
  • \$\begingroup\$ You wrote, "As the sidenote says, if you're using a 'dumb' cable (even if it's connected to a smart device), then all you'll get is 5V/1.5A." Is it possible to programmatically set the port to desired power profile even if I am using 'dumb' cable? \$\endgroup\$
    – Valentyn
    Jan 22, 2021 at 17:53
  • \$\begingroup\$ @MDMoore313 - Fantastic, helpful answer! I have a related question. I am looking at USB -C PD 'power only' cables. This page cuidevices.com/blog/… - describes a USB-C PD power-only cable that has 8 conductors, and one that has 6-conductors. The 6-conductor one includes CC1 and CC2, but the 8-conductor one uses the 8 power/ground conductors, but not CC1/2. So does the latest USB PD spec allow for negotiations using CC1 and 2, or using the voltage lines (Vbus) of the USB-C cable? \$\endgroup\$
    – Steerpike
    Jul 2, 2022 at 19:30
2
\$\begingroup\$

For the sake of accuracy, I feel that I need to refine a bit the BigHomie answer.

The main worry of OP is about not damaging devices that do not tolerate VBUS above 5V. The answer is simple: by default, a USB port initially provides the same safe 5V power, and nothing more.

The higher voltages and capabilities of power providers are only available upon mutual negotiations between a device (consumer) and a port (provider). If the device does not support this intelligence, no elevated power will be delivered, and no problem will occur. [ADDENDUM: details of identification of Power Delivery capabilities and mechanisms of negotiations are cumbersome and still evolving, and are beyond the scope of a single stackexchange article]

Now about the current state of PD: unfortunately, specifications appears to evolve slightly faster than wikipedia contributors bother to check. In the new Rev.3.0 of PD specifications (V1.0a, March 25, 2016, + ECNs of August 2, 2016) the BFSK negotiations over VBUS are depreciated.

In reality, the PD v1.0 with PD negotiation over VBUS with BFSK data coding did never take off, maybe one or two devices were ever made in the entire world. So, currently going forward, the only way to negotiate Power Delivery is through Type-C CC pin.

[ADDENDUM2: there are also proprietary types of PD, like Qualcomm "Quick Charge", protocol details are unknown]

[ADDENDUM3: upon further research out of sheer curiosity, it looks like the QCOM QCharge technology already captured most of the mobile market, while the official PD standard is lagging way behind, and could be a flop, as all previous BC1.1, BC1.2, PD1.0, PD2.0 "standards" were]

\$\endgroup\$
12
  • 1
    \$\begingroup\$ -1, you haven't added anything I haven't already stated in my answer, except for the fact that there is a PD 3.0, but you have no links to back this up. PD 1.0 is of course being phased out, but 3.0 doesn't answer the OPs question. My original answer started with 2.0, but I had to mention 1.0 to actually answer the OPs question. \$\endgroup\$
    – MDMoore313
    Nov 3, 2016 at 12:24
  • 3
    \$\begingroup\$ Are you trolling me? Did you not see the plethora of sources I read through to get this information? Answer me this: How can his wireless charger be capable of charging at both 5V and 9V if it does not negotiate? Because that is the heart of his question. \$\endgroup\$
    – MDMoore313
    Nov 3, 2016 at 16:49
  • 1
    \$\begingroup\$ @BigHomie, I can see and appreciate your hard work digging into "pletora of sources", but I think you are overreacting. To answer the OP question, it is sufficient to say that both provider and consumer must negotiate anything above the safe 5V level. Your lecture about PD profiles is irrelevant and outdated, especially when his particular device uses a proprietary QCOM technology of negotiations. I strongly advise you to calm down and reconsider all your negative responses. \$\endgroup\$ Nov 3, 2016 at 17:16
  • 4
    \$\begingroup\$ My question is about how the devices ensure proper voltage. Thus I wish to know how my micro-USB (not USB-C) inductive charger is both 5V and 9V capable. It either does or does not communicate on the VBUS, and does or does not communicate over the data pins. I'm not interested in quarrels, I'm interested in the original question. @BigHomie says it's done over VBUS, Ali Chen says it's only possible over a USB-C CC pin...but hasn't responded to how that relates to my Q. I therefore must conclude that Ali Chen's answer is invalid because my charger is not USB-C...unless a source is given. \$\endgroup\$
    – Bort
    Nov 3, 2016 at 19:04
  • 2
    \$\begingroup\$ Proprietary does not mean undisclosed... \$\endgroup\$
    – Passerby
    Nov 3, 2016 at 20:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.