frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Testing UPS Output Waveforms

https://www.lttlabs.com/articles/2026/05/12/ups-exploration
21•LabsLucas•2h ago

Comments

LabsLucas•2h ago
Testing the output of some UPSs from around the office. Checking out the results and finding avenues for further exploration.
exmadscientist•45m ago
Please just buy a pair of mains voltage diff probes. They're not expensive (around $500 each new, much less used) and they will eliminate the crazy connection scheme and give you true input -> output fidelity.
zokier•1h ago
its a shame that we don't have mainstream dc ups standards (telcos are their own niche). its kinda silly to generate fancy sinewave, manage transitions, and maintain phase of ac just to get immediately converted to dc.
lazide•27m ago
Issue is mostly lack of standard dc power distribution standards - outside of old telco ones anyway.

It’s cheap and easy (relatively) to transform AC voltages, and hence to manage AC power distribution. DC is trickier, and voltage switching is relatively more expensive and flakier. Hence why DC distribution tends to be within a device/controlled setup.

Dylan16807•11m ago
There's not much to standardize, basically just pick a plug shape for your desired voltage and current, it's really about building enough desire for manufacturers to take interest.

It's worth noting that there's already ATX power supplies that are built to run directly off battery power. They don't look all that impressive but they exist. https://www.powerstream.com/DC_PC.htm https://synoceantech.com/index.php?page=lotinfo&lot=36

teraflop•1h ago
Cool graphs.

> Our previous reticence to measure UPSs was centered around the connection of our very nice $50,000 Rohde & Schwarz MXO58 oscilloscope directly to mains power. [...] What we do have is a Chroma 61507, a programmable AC power source, capable of generating its own isolated Alternating Current(AC) signal. The AC signal created by the Chroma 61507 is galvanically isolated from the "earth"/ground, providing a floating source.

This too seems to be a pretty expensive piece of gear (the price I found with a quick Google was >$28,000) so I think it's worth mentioning that the same job could be done with an isolation transformer, which costs maybe a couple hundred bucks.

hex4def6•18m ago
Agreed.

For such low frequency stuff, it feels way safer to just buy a cheap <$500 scope for this kind of work. Using a $50k scope when it's not needed just seems needlessly risky.

Also, float the DUT, not the scope... Sometimes that's not possible, and the temptation is there, but it's really not worth it. Just buy the right gear like a diff probe. You can get one for a few hundred bucks if you don't mind going downmarket.

You can also use two probes and do CH2 - CH1. (Disconnect the GND clips!)

mbesto•38m ago
Curious - what actual real life issues do real world people encounter with dirty AC waves? Like I always hear the proverbial "this could cause harm to electronics" but are there real world tests of electronics failing? Does it fail over time or because of a one time instance? Same thing with under/over voltage.
lazide•29m ago
‘It lets the smoke out’ is a classic, and happens periodically. Bad waveforms cause weird heating issues, (literal) audio noise, and sometimes sporadic stability issues with computers.

It typically shows up ‘randomly’ unless you know how to attribute it.

chimpontherun•21m ago
I've noticed that ALL the devices I plug into my UPSes have external power bricks. Most of them are either 5V, 12V, or 19V

So, I replaced all my UPSes with LiFePO4 batteries supplied by Victron AC->12V chargers. Routed the battery contacts directly to all devices that consume 12V (WiFi AP, network hubs, SLA 3d printers). Used 12V -> 5V adapters to supply 5V / USB2 devices (R-Pi servers). For 19V, Drok DC-DC boost converters work great.

Result: threw away 3 UPSes (different APC models). Overall power consumption with AC present dropped by about 40%. Time on batteries (same Wh battery capacity) increased by a factor of about 20 (yes, 20 times: that's not a typo). Evidently, AC waveform generation is extremely power-hungry

scottlamb•13m ago
I toyed with this too, but I guess I have a slightly more diverse set of devices than you do. A few more weird voltages, and some things that expect mains. I looked into finding a DC version of their power supplies (e.g. the pico-box X9-ATX-500 to replace a conventional ATX PSU, tracking down DC versions of network switch hot-swappable PSUs from eBay) but decided it wasn't worth it. I just bought a stock LifePO4 power station. I found that I got most of the benefit just from switching to LifePO4 rather than from avoiding DC->AC->DC, and it was cheap and easy.
nomel•9m ago
If you get your battery pack up to 48VDC, it opens up a whole world of low voltage power converters, since this is standard in telecom/PoE.
scottlamb•21m ago
I would be curious to see how LifePO4 power stations compare.

* These power stations are better than conventional (lead-acid battery) UPSs in the sense that they're cheaper, more flexible, have dramatically longer battery life, and require battery replacement less often.

* ...but I haven't seen any that claim to be "line-interactive" or even say specifically when they fail over (other than a total power cut). They do talk about how long it takes to fail over: older models are >20ms (long enough that your machine will probably reboot); many newer ones are <10ms. I'm not sure how high-quality their sine wave is when on battery.

LeifCarrotson•15m ago
The capacitors in your PSU's rectifier have to float through 8.333ms interruptions every. single. cycle.

20 milliseconds is barely distinguishable from a single 60 Hz sine wave period. 10 milliseconds just over half a cycle.

scottlamb•5m ago
> 20 milliseconds is barely distinguishable from a single 60 Hz sine wave period.

I've read that the newest PSUs are only guaranteed to last 12ms. Of course they may last much longer, especially if running near idle, but I'd prefer something that works well with any compliant device.

Here's one source: "Measured in milliseconds, hold-up time indicates how long a PSU can sustain its output within specified voltage limits after a loss or drop in input power. ATX 3.1 features a shorter hold-up time of 12ms, compared to ATX 3.0's 17ms hold-up time. This results in a small improvement in the PSU's efficiency." https://www.corsair.com/us/en/explorer/diy-builder/power-sup...

I haven't dug through the spec itself.

Googlebook

https://googlebook.google/
234•tambourine_man•1h ago•309 comments

CERT is releasing six CVEs for serious security vulnerabilities in dnsmasq

https://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2026q2/018471.html
71•chizhik-pyzhik•1h ago•10 comments

The Future of Obsidian Plugins

https://obsidian.md/blog/future-of-plugins/
158•xz18r•3h ago•66 comments

Why senior developers fail to communicate their expertise

https://www.nair.sh/guides-and-opinions/communicating-your-expertise/why-senior-developers-fail-t...
150•nilirl•4h ago•62 comments

Rendering the Sky, Sunsets, and Planets

https://blog.maximeheckel.com/posts/on-rendering-the-sky-sunsets-and-planets/
321•ibobev•6h ago•28 comments

Dead.Letter (CVE-2026-45185) – How XBOW found an unauthenticated RCE on Exim

https://xbow.com/blog/dead-letter-cve-2026-45185-xbow-found-rce-exim
27•fedek_•1h ago•12 comments

Instructure pays ransom to Canvas hackers

https://www.insidehighered.com/news/tech-innovation/administrative-tech/2026/05/11/instructure-pa...
150•Cider9986•16h ago•123 comments

Show HN: Needle: We Distilled Gemini Tool Calling into a 26M Model

https://github.com/cactus-compute/needle
24•HenryNdubuaku•1h ago•4 comments

Bambu Lab is abusing the open source social contract

https://www.jeffgeerling.com/blog/2026/bambu-lab-abusing-open-source-social-contract/
796•rubenbe•4h ago•286 comments

Reimagining the mouse pointer for the AI era

https://deepmind.google/blog/ai-pointer/
45•devhouse•1h ago•36 comments

Learning Software Architecture

https://matklad.github.io/2026/05/12/software-architecture.html
446•surprisetalk•9h ago•84 comments

When life gives you lemons, write better error messages

https://wix-ux.com/when-life-gives-you-lemons-write-better-error-messages-46c5223e1a2f
54•luispa•3d ago•17 comments

Show HN: Agentic interface for mainframes and COBOL

https://www.hypercubic.ai/hopper
27•sai18•2h ago•8 comments

Quack: The DuckDB Client-Server Protocol

https://duckdb.org/2026/05/12/quack-remote-protocol
19•aduffy•1h ago•0 comments

Show HN: Statewright – Visual state machines that make AI agents reliable

https://github.com/statewright/statewright
20•azurewraith•5h ago•5 comments

Screenshots of Old Desktop OSes

http://www.typewritten.org/Media/
579•adunk•14h ago•300 comments

The Moth Story Map

https://themoth.org/dispatches/story-map
11•jxmorris12•3d ago•0 comments

Launch HN: Voker (YC S24) – Analytics for AI Agents

https://voker.ai
29•ttpost•3h ago•13 comments

Postmortem: TanStack NPM supply-chain compromise

https://tanstack.com/blog/npm-supply-chain-compromise-postmortem
1033•varunsharma07•22h ago•433 comments

Canada’s Bill C-22 Is a Repackaged Version of Last Year’s Surveillance Nightmare

https://www.eff.org/deeplinks/2026/05/canadas-bill-c-22-repackaged-version-last-years-surveillanc...
76•Brajeshwar•1h ago•24 comments

Text Blaze (YC W21) Is Hiring for a No-AI Summer Internship

https://www.ycombinator.com/companies/text-blaze/jobs/P4CCN62-the-blaze-no-ai-summer-internship
1•scottfr•7h ago

The Real Story of Troy

https://storica.club/blog/troy-was-real/
30•cemsakarya•2d ago•13 comments

The Surprisingly Long Life of the Vacuum Tube

https://www.construction-physics.com/p/the-surprisingly-long-life-of-the
46•surprisetalk•1d ago•28 comments

They Live (1988) inspired Adblocker

https://github.com/davmlaw/they_live_adblocker
504•tokenburner•18h ago•161 comments

eBay Rejects GameStop's $56B Takeover as Not Credible

https://www.bloomberg.com/news/articles/2026-05-12/ebay-rejects-gamestop-s-56-billion-takeover-as...
185•voisin•3h ago•165 comments

If AI writes your code, why use Python?

https://medium.com/@NMitchem/if-ai-writes-your-code-why-use-python-bf8c4ba1a055
812•indigodaddy•22h ago•855 comments

Testing UPS Output Waveforms

https://www.lttlabs.com/articles/2026/05/12/ups-exploration
21•LabsLucas•2h ago•15 comments

Profiling.sampling – Statistical Profiler

https://docs.python.org/3.15/library/profiling.sampling.html#module-profiling.sampling
76•djoldman•2d ago•22 comments

UCLA discovers first stroke rehabilitation drug to repair brain damage (2025)

https://stemcell.ucla.edu/news/ucla-discovers-first-stroke-rehabilitation-drug-repair-brain-damage
425•bookofjoe•1d ago•86 comments

EU to crack down on TikTok, Instagram's 'addictive design' targeting kids

https://www.cnbc.com/2026/05/12/tiktok-instagram-social-media-addictive-eu-crack-down.html
436•thm•8h ago•385 comments