3 ms·
That would force all power adapters to support a fixed maximum current, which in many cases would mean either wasted materials (consider e.g. shipping a 100W ad
by lxgr 3y ago
That would force all power adapters to support a fixed maximum current, which in many cases would mean either wasted materials (consider e.g. shipping a 100W adapter with a smartphone) or unsafe conditions (with a device attempting to pull 5A from an adapter supporting only much less than that).
I'm really happy with being able to plug my laptop into my tiny 5V, 2A power adapter and slowly charging it, yet being able to fast-charge it at home at 100W using the same cable on a larger power adapter.
- ilyt 3y ago> That would force all power adapters to support a fixed maximum current, which in many cases would mean either wasted materials (consider e.g. shipping a 100W adapter with a smartphone) or unsafe conditions (with a device attempting to pull 5A from an adapter supporting only much less than that). No, it would not require any of that. It would require only for cable to signal it's max current capacity. So cheap cable would allow for say 20v/0.5A (10W), while decent one could signal 2A(40W) or max. Simplest way of signal would be as the previous USB buses used, via a specified value resistor on one of the pins. More complex would be signalling the power supply power to the device on the other side, especially if you want dynamic power or reversible charging direction. But USB-PD is generally horrifically complicated for what it does
- lxgr 3y ago> It would require only for cable to signal it's max current capacity. As you say yourself a bit later, you'd need at least two "simple" resistors (one for the cable itself, one for the adapter) – otherwise it's only fixed-cable power supplies (and I really, really hate having to throw away an entire high-quality power supply just because the cable frayed at the laptop end). > But USB-PD is generally horrifically complicated for what it does Which parts would you suggest are safe to omit, in a world where you want to be able to charge both small accessories (Bluetooth headphones etc.), smartphones, and large laptops using a single connector?
- ilyt 3y ago> As you say yourself a bit later, you'd need at least two "simple" resistors (one for the cable itself, one for the adapter) – otherwise it's only fixed-cable power supplies (and I really, really hate having to throw away an entire high-quality power supply just because the cable frayed at the laptop end). You could have end device regulate itself by looking at voltage drop, akin to MPPT. And note that simple (sub-10W) devices could opt to implement nothing whatsoever and just get the minimum 20V/0.5A, making small accessories need nothing whatsoever when it comes to extra chips to handle it. You really need communication only when you start needing features like switchable sink/source function or voluntarily lowering power usage. >>But USB-PD is generally horrifically complicated for what it does > Which parts would you suggest are safe to omit, in a world where you want to be able to charge both small accessories (Bluetooth headphones etc.), smartphones, and large laptops using a single connector? Not talking about featureset but how hideously complex the implementation is. I remember some early adopters tried to implement it using a microcontroller and it ate like 30+kB of code and it was more than half of total product's code The spec (3.0, rev 1.1) is 574 pages. No fucking wonder we have so many devices implementing it subtly wrong. Hell, they even decided "no, none of the existing serial protocols fits our super special use case, need to invent that too. At least they didn't reinvent CRC32...
- eternityforest 3y agoI don't understand the implementation, it's pretty nuts. And the multiple layers of optional features and fragmentation are pretty awful. I kinda wish they hadn't specified any power levels other than 5v and full programmable PPS.... I also wish they had implemented a dedicated solar profile to simplify solar generators, so a panel could say "I will act like a current source and do MPPT". They probably could have done Dallas One Wire for the signalling and been just fine. It could also be how the cable chip communicates, and very small simple devices could use it without the full USB stack. But, I can accept it just because of how well it works in practice as is.
- dheera 3y ago> That would force all power adapters to support a fixed maximum current No, we would just start to have both 20VDC sockets on all the walls in the world in addition to 120VAC/240VAC, and people would stop needing to lug around power adapters. Yes there would be a maximum current per socket, maybe 5A or 10A, that's not much different from the 15A limit on most AC sockets. The conversion to 20VDC could be be wired into buildings as standard. Before then people can lug around a 20VDC adapter that supplies enough current for their own devices. If they have a laptop they might need a 10A adapter, if it's just a phone they could get by with 1A.
- lxgr 3y agoSo you're suggesting we re-wire every single building with these "simple" 20V DC plugs? We'd better get both the voltage and maximum current exactly right, because the last time we picked standards for this, they lasted for several centuries! And if we do get it wrong, do we change the mechanical plug shape if we decide that no, actually 40V (or 15V, or 32.945V) would have been better so that no unsafe connections become possible?
- dheera 3y agoAC outlets have been the same on a per-country basis for decades and will be for several more decades. USB, on the other hand, is "hey I have a new plug" every 5 years. We'll have USB-D in 2030 and everyone will have to buy new cables and adapters. Anyone who needs 40V should just design it to use 120V/240V instead.
- lxgr 3y agoSure, but what makes 20V the perfect voltage for almost everything, so important that we should go through the effort of rewiring entire buildings? It's way too much to charge small accessories (without an internal step-down converter [1]), yet it's probably not enough to sustain (let alone charge) beefy laptops. > "hey I have a new plug" You do realize that this is exactly your pitch for these 20V "standardized" plugs/outlets, right? :) [1] A big reason why USB's 5V is so popular is that it's just the right voltage to charge lithium ion batteries and run simple circuits without expensive (in terms of parts) active voltage converters.