TransWikia.com

Type-C Non-Negotiated Power and 20V protection

Electrical Engineering Asked on October 29, 2021

I’m developing a 5V device and I use 5V for powering/charging the device. I googled the subject of course, and came to the conclusion that 5V device should have 20V protection in case there is some knock-off charger that will send 20V before finding out the target device didn’t negotiate for such voltage. I have two questions:

Point number 1:

How much power do type-c power bricks provide if there is no CC negotiation and I just connect its 5V VBUS to my charging/PMIC*? How many amps do I get at 5V by default? I need to decide whether I need to include USB IC or not. Does it have to be some QC+PD combined IC to cover all range of chargers? The whole charging standard mess is killing me. Any ICs you could recommend? While I believe that some 500ma should be enough for my project, I wanna know the number I can look at and decide, besides, charging at higher currents wouldn’t hurt. I have place on PCB and budget to put an IC or two, but if there’s no need, I wouldn’t overcomplicate.

Point number 2:

Do I need to protect from accidental 20V input? If yes, what are the options? I just put a 5.1V Zener on Type-C VBUS, so that it will clip 20V spike before the charger realizes 20V are not needed. Will it work? Do I need a separate protection IC or some negotiation IC with 20V+ tolerance? Or is it maybe all unnecessary?

*PMIC: SY6926QYC on LCSC, looks capable, charges, provides power to system (it bucks USB 5V down to charge battery with CC/CV and provides straight USB’s 5V to the system or it boosts battery to 5V and powers the system with 5V again if no charger), can limit charging/system etc currents with external resistors, all-in-one, looks really lovely, but handles 18V max, had to design custom footprint for it too (eagle lib), haven’t tested it before, but I kinda like its functionality, so I would want to stay with it.

I insist I wanna use USB Type-C port (no micro-B)

Edit: I’ve added a regular diode to zener to shift overvoltage threshold, since Zener will start to conduct before it reaches zener voltage, and I don’t want to waste power. After all, the PMIC can take up to 18V with recommended maximum of 16V, so if I clip it around 6V, it should still be fine and waste less power. So there’s 5.1V and 0.6V from a diode now. I guess it should help, but there is still no detailed answer anywhere to be found. Or maybe I could go for two zeners or a zener with higher voltage, I guess.

Edit 2 (01.08.2020): I’ve decided to try to implement power delivery and use a chip that can withstand 20v. I will cry when I write software for it (it’s an I2C controlled PD controller), but it’s useful experience, and I can afford it in terms of time and costs.

3 Answers

This has been answered very well, but I will just add one point: You asked, "How much power do type-c power bricks provide if there is no CC negotiation and I just connect its 5V VBUS to my charging/PMIC*?"

The answer is zero. DFPs are not supposed to supply Vbus at all until they at least see some sort of pull-down resistance on one of the CCx pins. This is because, in principle, it's entirely possible to connect two DFPs together with a cable, and if both blindly threw 5V, the two power supplies might fight with each other to regulate the voltage.

With just 5.1 kΩ on each CCx pin, a UFP should expect to see 5V and only 5V as the other answers have said.

Answered by nsayer on October 29, 2021

Type C can be messy, but the market is catching up to provide workable solutions.

Default Power

USB tries to be backward compatible, and the default behavior reflects this. Imagine that you're creating a wired adapter from Type C to a v2.0 Type A; if you just wire between VBUS and GND, you will be limited to 500mA.

But as I said, Type C gets messy. There are PD devices, such as the STUSB4500 or TPS65987 that provide advanced features for a couple dollars. This not only simplifies the design effort, but you also get support (and protection from liability) for any issues you encounter.

20V Protection

Best way to protect from from a surging input is to isolate from it, as the above PD controllers do; the STUSB4500 uses an external FET and the TPS65987 has internal switches that disconnect your circuit from USB until it is stabilized.

To me, this is keeping it simple; later you can decide to optimize for cost or size based on your experience in the market.

Answered by mbedded on October 29, 2021

USB charging has become very complex but also very powerful. There are several official and de-facto standards used concurrently:

  • USB 1.0 / 2.0 / 3.0
  • Apple chargers
  • Qualcomm Quick Charge 1.0 / 2.0 / 3.0 / 4.0
  • USB Power Delivery

All standards will initially deliver 5V (or sometimes up to 5.2V to compensate for losses in the cable).

Plain old USB charger

The plain old USB charger will deliver 5V at up to 1A. Some chargers deliver up to 2A; usually they are labelled accordingly. They all disregard the USB specification (version 1.0 / 2.0 / 3.0), which specify 100mA / 500mA / 900mA.

Apple charger

Pre USB-C Apple chargers have a resistor between D+ and D- to indicate how much current the iPhone or iPad may draw. It's an unconventional approach as the communication usually works the other way round. They support up to 2A at 5V.

Qualcomm Quick Charge

Depending on the version of Quick Charge, the device and the charger can negotiate higher voltages. It always starts at 5V. If I'm not mistaken, you can draw 2A at 5V without negotiation.

USB Power Delivery

USB Power Delivery requires a compatible device, charger and cable. The device can ask for up to 20V at 5A (in 20mV and 50mA steps if PPS is implemented). The negotiation happens on the CC1/CC2 lines. USB PD will require a USB PD chip and a lot of software in device (about 50k of compiled code).

You most likely want to avoid USB PD as it's very complex. If you don't negotiate a voltage using USB PD, it will fall back to USB 2.0/3.0 behavior, i.e. you get 5V. But I'm unsure how much current you can draw. These chargers have power monitoring built-in and might cut your device off if it draws too much current (while older charger don't).

Summary

If 5V at 1A is sufficient, you shouldn't need to implement anything other than connecting GND and Vbus. If you need up to 2A at 5V, you might still get away without any additional logic for many chargers that offer QC or 2A ports. But it is likely problematic with USB PD chargers.

Implementing USB PD is a huge effort and most likely not worth it. As far as I can tell, there is no chip that implements it without the help of a MCU and a lot of code.

Overvoltage protection

I've implemented many USB solutions without overvoltage protection and never had any problems. I think it's only needed if your circuit is very sensitive. USB PD chargers have sophisticated power management and are unlikely to ever deliver higher voltages than negotiated. You should be more afraid of chargers implementing neither QC nor USB PD. They might deliver a short spike due to poor buck conversion regulation.

Answered by Codo on October 29, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP