2
\$\begingroup\$

I have seen questions asking about usage but that's not my point here. I regularly use my Macbook USB-C charger to charge my iPhone. As far as I know, the phone requires a much lower output voltage (5V) compared to the laptop (20V).

How does the charger and device together accomplish these two different voltage requirements? What electronic component is required for this?

\$\endgroup\$
2
  • 3
    \$\begingroup\$ Look up USB PD handshaking. \$\endgroup\$
    – winny
    Commented Jul 2, 2022 at 10:31
  • \$\begingroup\$ Your phone probably charges at 9V, maybe higher if you plug it into a USB-PD device. \$\endgroup\$ Commented Jul 2, 2022 at 18:44

2 Answers 2

4
\$\begingroup\$

The "charger" only provides power at constant voltage and the actual charging logic is within the device being charged. USB-C specification allows the slave device to select the voltage level up to 20 V. If no request is made, the port will only provide 5 V and is usually limited to low current.

Often there's a USB interface IC (might be a hub) for the communication protocol, which establishes the connection and negotiates the voltage level among other things. The interface IC usually also controls external power electronics to switch the voltage, especially with high power levels.

\$\endgroup\$
0
\$\begingroup\$

How does the charger and device together accomplish these two different voltage requirements? What electronic component is required for this?

This function is accomplished via "Power Delivery" protocol.

The charger and devices do have special ICs that usually accomplish two basic function.

First, the ICs on each side check for CC voltage levels and determine that (a) a connection has been made and (b) who is provider and who is consumer. This information usually gets communicated to system's embedded controller (EC) in the device/system, and to the charger IC itself.

There could be four combinations at the connect moment, provider-provider, consumer-consumer, provider-consumer, and consumer-provider.

In case of "charger"(as provider), the phone will connect as provider-consumer.

In case of the phone, as soon as the connect event is established, the charger will provide "+5Vsafe" voltage on VBUS. If the phone has no extra capabilities as a consumer, it will charge itself in accord with basic CC pull-up scheme, 900ma, 1.5A, or 3A.

In case of a laptop, the process is a bit more complicated. By default, laptop's port is USB host and therefore VBUS provider. However, since it can be charged via that very same port, it is called "Dual-Role-Power" port, DRP.

As a DRP, the port will alternate CC advertising, from provider to consumer and back, periodically, few times per second.

As soon as the laptop senses that a provider is plugged in, the port will stay in consumer mode (pull CC pin down), and as soon as the charger sees the consumer, it will assert +5Vsafe VBUS.

Here comes the second function of these special ICs: both sides of the link will exchange Power-Delivery messages, which go along CC wires in a serial form, and carry information of the source capabilities, and about sink requirements. I think the details of this exchange will overload this answer, so the bottom line is: the link "partners" negotiate "power contract" to the best common abilities, and the charger will switch into higher power mode.

If your phone has higher capabilities as a consumer, the above process will take place as well. The phone also can have USB host capability, so the process won't differ much from the one described above.

\$\endgroup\$

Your Answer

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

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