News for hackers. Stuff that matters.
Re:The MacBook Pro's OLED PWM Problem: When a 'Better' Displ... by dreamcompiler on Sunday November 15, 2026 @12:28PM (#50508765)
The power supply is the weak point in LED room lighting. The best power supply for LEDs is switch-mode PWM, high frequency, and with thermal management designed by an engineer who understands therodynamics.

Unfortunately all those things are expensive so you rarely find such bulbs in the cheap bin at Home Depot.

Re:The MacBook Pro's OLED PWM Problem: When a 'Better' Displ... by dvdkon on Sunday November 15, 2026 @12:52PM (#50509008)
Bulbs are actually a very bad form factor for LEDs, because they concentrate two heat-generating components - the PSU and LEDs - into a small chassis. LED tape with a separate power supply is probably the best solution that's not a full-custom DC light fixture.
Re:The MacBook Pro's OLED PWM Problem: When a 'Better' Displ... by ssl-3 on Sunday November 15, 2026 @07:59PM (#50512740)
[delayed]
Re:The MacBook Pro's OLED PWM Problem: When a 'Better' Displ... by dreamcompiler on Sunday November 15, 2026 @10:08PM (#50513569)
This is a great point. What mitigates it is that with a properly designed power supply that doesn't cook the diodes, LEDs last 30,000 hours. Which is 27 years if we assume the lights are used 3 hours per day. So it might not be necessary to replace the LEDs more than once or twice over the life of the house.
Re:The MacBook Pro's OLED PWM Problem: When a 'Better' Displ... by dvdkon on Monday November 16, 2026 @02:18AM (#50514954)
With a bulb, you're replacing both the PSU and LEDs together. Why the aversion to doing that with a non-bulb fixture?

I agree that throwing away a whole fixture (diffuser and all) because of compoment failure is wasteful, but I think LED tape is actually better than bulbs here: You can independently swap the PSU, the LEDs, and the mechanical parts.

Mind you, LED tape is pretty inefficient due to using standard voltages and then balancing current with resistors, but it's probably worth the repairability tradeoff for most.

Re:The MacBook Pro's OLED PWM Problem: When a 'Better' Displ... by ssl-3 on Monday November 16, 2026 @07:29AM (#50516898)
[delayed]
Re:The MacBook Pro's OLED PWM Problem: When a 'Better' Displ... by adgjlsfhk1 on Sunday November 15, 2026 @02:32PM (#50509892)
It's very unfortunate that our electric codes are based primarily on incandescent lighting. If we were designing electricity from scratch, we'd probably be set up with 240v 3 phase AC for big loads (ovens, heaters etc) and 48v DC for lighting and most electronics. Requiring every device to have its own rectifier is a lot less efficient than putting a single good rectifier in a central location.
Re:The MacBook Pro's OLED PWM Problem: When a 'Better' Displ... by AlotOfReading on Sunday November 15, 2026 @03:18PM (#50510280)
Manufacturers are selling DC bulb systems these days. Unfortunately, the ones I've seen sell the accompanying rectifiers (which need maybe $50-100 of power electronics inside) for multiple thousands of dollars, and they're DRM locked to the more expensive bulbs by proprietary protocols.

I find the inefficiencies of the old system more manageable.

Re:The MacBook Pro's OLED PWM Problem: When a 'Better' Displ... by cyberax on Sunday November 15, 2026 @04:44PM (#50511144)
DC doesn't buy you that much for electronics. You still need to do DC-DC conversion to 12V or 5/3V for the electronics itself.

And to avoid ground loops, you also need fully isolated DC-DC converters. So you end up with the same power supply architecture as for AC-DC, saving only on buffer capacitors.

As an experiment, I converted my homelab to 48V DC to operate from the battery directly after my attempts at making a UPS failed. It works, but it's barely more efficient than doing a double-conversion.

I'm now redoing lighting in my house, and _there_ the DC power makes a lot of sense. I'm planning to use commercial-grade DALI, with tunable white setpoint. It uses true DC dimming, so there's no flicker whatsoever.

Re:The MacBook Pro's OLED PWM Problem: When a 'Better' Displ... by crote on Sunday November 15, 2026 @04:47PM (#50511177)
> Requiring every device to have its own rectifier is a lot less efficient than putting a single good rectifier in a central location.

Is it, though?

You'd have to deal with additional wiring losses due to the lower voltage between the central rectifier and the devices, and the various individual devices would still need their own step-down converters to turn that 48VDC into something they can actually use.

On top of that: the central rectifier would have to be sized for peak load, while in reality the vast majority of the time it would be running at only a fraction of that. That's not exactly ideal for efficient operation. Individual power supplies can be designed specifically for a single device and operate at its sweet spot most of the time.

Re:The MacBook Pro's OLED PWM Problem: When a 'Better' Displ... by dreamcompiler on Sunday November 15, 2026 @05:26PM (#50511504)
> You'd have to deal with additional wiring losses due to the lower voltage between the central rectifier and the devices

No. Everybody always complains about voltage drop. It's not a problem with LED lighting loads because they use so much less power. Let me prove it to you.

Assume we use the same 14-gauge copper Romex for our 48VDC lighting circuit that is already inside most home walls in the USA.

DC resistance of 14-gauge copper wire: 0.002525 ohms per foot.

Voltage drop over a circuit:

  Current x Ohms/foot x Two-way distance
  --------------------------------------
               Nominal Voltage
Assume we're driving a 13-watt LED bulb (typical 100W incandescent equivalent) that is 50 feet from the supply.

Current would be 13w/48v = 270mA.

  .270A x 0.002525Ohms/foot x 100feet
  -----------------------------------
            48v

  = 0.00142V
So the voltage drop is 0.14%. Any voltage drop less than 3% is considered acceptable by NEC.

Oh, but what if I want to run more than one bulb? Fine, let's do 10 bulbs on the same 14-gauge supply wire. Now the voltage drop is 1.4%. Still less than half the maximum limit.

And this is 14-gauge wire. What about 12-gauge? Well, that's 0.001588 ohms/foot.

  .270 x 0.001588 x 100
  ---------------------
           48
Now for 10 bulbs the voltage drop is eight tenths of a percent.

Running LED room lighting in a standard American house at 48VDC on the 14-gauge wire that's already in the walls is completely doable.

Yes, we still need constant-current supplies in or near the bulbs, and those are not 100% efficient. Keep in mind also that some of that 13 watts we assumed above is for typical Home Depot 120VAC bulbs that have builtin rectifiers and [probably] crappy power supplies, so the waste power used by the constant-current supplies I'm talking about here -- which are simpler than the supplies used in Home Depot bulbs -- is probably less.

Re:The MacBook Pro's OLED PWM Problem: When a 'Better' Displ... by ssl-3 on Sunday November 15, 2026 @08:15PM (#50512833)
Fine. So we've got serious 3-phase for big loads, and 48VDC for everything else.

Which circuit does the blender connect to, or the kettle? The air fryer? The coffee machine?

How do I power a space heater to warm up a chilly room for the baby on a particularly cold and windy night?

Where does the window air conditioner connect that I need because my landlord is cheap and there's an intolerable heatwave?

The audio system? The guitar amp? The gaming rig? The vacuum cleaner?

I guess we plug that stuff into 3-phase outlets, which we'll need to have everywhere -- right? Fine.

---

So we've got other stuff, too, that's a little lighter. Phones, laptops. Lights. Stuff. That can all be made to convert 48VDC down to whatever it needs internally, but that conversion requires electronics that are local to the device. We haven't eliminated that at all.

But sure: It runs on 48VDC that is sourced from some manner of manner of central power supply. Neat, I guess?

---

But why?

It sounds like all we've really accomplished here is adding more wires, and more complexity.

I'm struggling to figure out how any of this is presents any meaningful advantage.

(Oh, I know! Let's keep our existing single-phase circuits, and add both 3-phase AC and 48VDC! Whooo boy! Now we've got a real clustefuck cookin'!)

Re:The MacBook Pro's OLED PWM Problem: When a 'Better' Displ... by JoshTriplett on Monday November 16, 2026 @12:07AM (#50514271)
> Which circuit does the blender connect to, or the kettle? The air fryer? The coffee machine?

3-phase.

> How do I power a space heater to warm up a chilly room for the baby on a particularly cold and windy night?

3-phase, and it's not obvious why you need the additional extraneous detail to explain why you want a space heater.

> Where does the window air conditioner connect that I need because my landlord is cheap and there's an intolerable heatwave?

3-phase, and again, it's not obvious why you need the additional extraneous detail.

> The audio system? The guitar amp?

DC, and DC.

> The gaming rig?

DC or 3-phase, depends on how much power it needs. Worth noting that some PC power supplies already draw more power than most 120V circuits should be carrying. (1500W is the commonly cited limit, and there are gaming rigs with larger power supplies than that.)

> The vacuum cleaner?

Depends on how much power it needs, and whether it's recharging a battery or running a powerful motor directly.

Re:The MacBook Pro's OLED PWM Problem: When a 'Better' Displ... by ssl-3 on Monday November 16, 2026 @07:21AM (#50516830)
> 3-phase, and again, it's not obvious why you need the additional extraneous detail.

Because these discussions always come down to details, and I've found it beneficial to get them out of the way at the beginning.

> > The audio system? The guitar amp?

> DC, and DC.

Like here, for instance. No. Audio systems and guitar amps can be quite big.

> DC-to-DC can be substantially simpler and more efficient.

Except the whole system isn't DC-DC. There's still a central AC-DC component required, so at the end of the day:

We're still converting from AC to DC, and also added a DC-DC stage.

More parts, more wires.

Re:The MacBook Pro's OLED PWM Problem: When a 'Better' Displ... by adgjlsfhk1 on Monday November 16, 2026 @09:12AM (#50517785)
> We're still converting from AC to DC, and we also added a DC-DC stage.

This is already common. E.G. Computers currently do ac->12v dc (for in case transmission)->1vDC (for transistors). DC->DC is basically free.

Re:The MacBook Pro's OLED PWM Problem: When a 'Better' Displ... by userbinator on Sunday November 15, 2026 @11:20PM (#50513984)
DC mains, even at low voltage (which also means a higher current capability for the same amount of power, and thus thicker cables and/or higher resistive loss), is more dangerous than AC because it doesn't stop flowing; AC goes to 0 twice a cycle, so arcs have a chance to extinguish. DC switchgear needs special provisions for breaking arcs, such as "blowout coils".

Some early electrical installations, as in late 19th/early 20th century, used DC. Most have disappeared, with the exception of some surviving early elevators and perhaps some huge industrial motors, converted to running from a rectifier.

Re:The MacBook Pro's OLED PWM Problem: When a 'Better' Displ... by account42 on Monday November 16, 2026 @07:55AM (#50517102)
> Some early electrical installations, as in late 19th/early 20th century, used DC. Most have disappeared, with the exception of some surviving early elevators and perhaps some huge industrial motors, converted to running from a rectifier.

... and vehicles. DC is still very common in mobile installations.

Re:The MacBook Pro's OLED PWM Problem: When a 'Better' Displ... by adgjlsfhk1 on Monday November 16, 2026 @08:54AM (#50517620)
48v DC is currently making a comeback in datacenters (do a single 3 phase AC to 48v dc per rack).
Re:The MacBook Pro's OLED PWM Problem: When a 'Better' Displ... by ranger_danger on Sunday November 15, 2026 @04:47PM (#50511175)
Where could one find such things if they could afford it?