News for hackers. Stuff that matters.
Re:The cases of consumer-grade routers on puny power supplies by digitalPhonix on Tuesday January 07, 2025 @01:33AM (#42619905)
The 50W load (if that) isn’t the problem - a lot of cheap power supplies assume a perfect sinusoid which you get from a spinning mechanical source of electricity.

The inverter probably only does a few step approximation of a sin wave which is fine for most things, but clearly not for this power supply which browns out (I’m guessing during an extended period of 0v on the stair step sin approximation).

Whether your average power supply should be tolerant is unclear, but if it’s the only device playing up it’s clearly less tolerant of imperfect power than everything else.

Re:The cases of consumer-grade routers on puny power supplies by wildzzz on Thursday January 09, 2025 @04:56PM (#42650202)
The wallwart for the router is going to be a dead simple design that doesn't in the least bit care about how dirty the sine wave is. It goes into a step-down transformer (12VAC usually), into a bridge rectifier (now 12VDC), add some decoupling caps to smooth out the 12V. Inside the router, there will be LDOs that bring that voltage down to something usable along with more decoupling caps to filter the input and output of the LDO. LDOs have high ripple rejection especially at low frequencies so they can take on pretty dirty voltages.

Unless that little dip on the supply is constantly happening, I highly doubt that's causing any of the issues. That dip could be from in-rush current or from the router powering up, both of which would be happening before any data transfer. It means nothing without any sort of voltage or time scale.

Re:The cases of consumer-grade routers on puny power supplies by alright2565 on Thursday January 09, 2025 @05:09PM (#42650321)
There's no way a router in 2024 is using a big iron transformer. They're too expensive.

It'll be a switch mode power supply, where the power is rectified, converted to high-frequency AC (50-200 kHz), then sent through a certain specialized transformer.

Re:The cases of consumer-grade routers on puny power supplies by wildzzz on Thursday January 09, 2025 @06:14PM (#42650819)
Piezo transformers are dirt cheap.
Re:The cases of consumer-grade routers on puny power supplies by alright2565 on Thursday January 09, 2025 @06:42PM (#42651010)
I've never heard of these before, so thank you for making me aware of them, they are very cool.

Unfortunately I'm unable to find any examples of them used outside of voltage-multiplying circuits in obsolete electronics.

Re:The cases of consumer-grade routers on puny power supplies by timewizard on Thursday January 09, 2025 @05:20PM (#42650433)
There's nothing special about the transformer in SMPS other than it's size which is due to the high frequency.

The other problem they create, then, is high frequency noise which must be filtered out. Some cheaper adapters just dump the noise back into the mains and cause problems for _other_ devices.

Come to think of it there's a decent chance it's a /different/ adapter somewhere on his system that's causing the problem and not the size or capacity of the products native adapter.

Re:The cases of consumer-grade routers on puny power supplies by alright2565 on Thursday January 09, 2025 @06:37PM (#42650980)
> the transformer in SMPS other than it's size which is due to the high frequency

There absolutely is. The core material is not iron, it is a material specifically engineered for the purpose. There's a very specific size gap between the two halves of the core. There's an extra sense coil for the feedback circuit.

Re:The cases of consumer-grade routers on puny power supplies by timewizard on Thursday January 09, 2025 @07:41PM (#42651352)
It depends on the switching frequency, and not all SMPS run at a high enough frequency to justify ferrite. On top of that ferrite is effectively just iron in a ceramic.

The gap is controlled by the cross section of the core but also contributes to EMI. The sizing concerns are typically related to the latter problem.

An SMPS can easily use an external feedback circuit and may do so for certain types of applications. For mass manufactured low current applications you can often buy them with one integrated.

Re:The cases of consumer-grade routers on puny power supplies by Leif24 on Thursday January 09, 2025 @10:38PM (#42652192)
If you aren't fussed about galvanic isolation there are many SMPS topologies that don't use transformers. Cheapest step down converter would be a simple buck regulator - no transformer needed!
Re:The cases of consumer-grade routers on puny power supplies by digitalPhonix on Monday January 13, 2025 @01:29AM (#42680645)
> along with more decoupling caps to filter the input and output of the LDO

That's what the article is talking about - the output capacitors in their cheap power supply weren't big enough for the peaky load of the router. (Well, probably were assuming a sinusoidal input, but not big enough when the stairstep input has big gaps).