Live data from Hacker News

Testing UPS Output Waveforms

lttlabs.com

51–60 of 102 posts

Re: Testing UPS Output Waveforms

#51
post #41

Earlier quoted context omitted.

Yes and no. 0% you should be fine, but generally speaking you'll get longer life out of LifePO4 if you stay between 10% and 80%. Most battery based PV systems are installed to shut off (or switch to grid) at the 10% SOC mark for this reason.

This is my issue with LiPo whatever flavor where they tell you it has a "runtime" of X minutes, yet you are strongly advised to only use 70%-80% of that value. It's worse than hard drives using 1000 vs 1024.

I have most certainly used 100% of the runtime. So you're more than welcome to do so as well, you might just have to replace it in 8 years instead of 10. YMMV.

Could be worse - could be lead acid and weigh 2x as much and you only get half the Ah.

Re: Testing UPS Output Waveforms

#52
post #41

Earlier quoted context omitted.

Yes and no. 0% you should be fine, but generally speaking you'll get longer life out of LifePO4 if you stay between 10% and 80%. Most battery based PV systems are installed to shut off (or switch to grid) at the 10% SOC mark for this reason.

This is my issue with LiPo whatever flavor where they tell you it has a "runtime" of X minutes, yet you are strongly advised to only use 70%-80% of that value. It's worse than hard drives using 1000 vs 1024.

I've found the difference in runtime between similarly-priced low-end units with similar power rating is hour+ (LifePO4 power station) vs not advertised but actually just minutes (lead acid UPS). And you can spend a bit more on the LifePO4 power station and get a proportional increase in runtime and power, vs. the lead acid UPS where the cost would quickly become prohibitive. And the LifePO4 power station gives you the choice to cut off above 0% or not, where the lead acid unit doesn't give you any control. So you can trade off 30% of your capacity for increased longevity if you choose and still come out way way ahead on runtime. Or you can not and still have much better battery longevity than lead acid. You can choose a spot on a Pareto frontier that lead acid can't even approach.

The rationale I've heard to justify conventional UPSs not even trying to compete on runtime is that they're just for giving you a few minutes to cleanly shut down your crap software that isn't crash-safe and/or for your auto-start generator to start up. But what I actually want is to keep working for an hour+ after the power goes out without owning/installing/maintaining a generator.

Re: Testing UPS Output Waveforms

#53

The crossover distortion seen here suggests an analog Class-B output stage and that surprises me, because a digital output stage would be much more efficient. Class-D in other words. I've built digital inverters using IGBTs that produced an output sinusoidal power wave with lower distortion than the mains power. Granted these were one-offs and probably not cheap enough for production, but modern IGBTs and MOSFETS sho…

Phase-shifted full bridge is the way to go. (It might have another name in this area of power electronics, these things do have lots of names....)

We did a "big" inverter design a while back (500 VA was big for us; perhaps not for you). The guy who did the concept architecture suggested a PSFB design. He then quit to take a a great offer from a startup. Not really being a power electronics team, we hired a specialist consultant. The first consultant did... honestly, I don't know what he did. But it was weird. (This was a problem.) It wasn't a PSFB anymore. It also didn't work. The design then went through five more lead engineers and two more consultants, plus one more if you count me on the side watching and occasionally pitching in (I was the sister subsystem lead). It ended up being a full digitally programmable bridge and we had to figure out how to switch it. Guess how it ended up working?

Phase-shifted full bridge. Just like the first guy (and I!) said it should have been all along!

Re: Testing UPS Output Waveforms

#54
For some time I've been curious why none of the major UPS manufacturers offer LiFePO4 UPS units. They'd be smaller, lighter, and have a longer run time all else equal (dramatically lower shipping charges). Batteries wouldn't need replacing nearly as often.

Yet as far as I can tell none of them offer anything in this area except at the extremely high end. Even Ubiquiti's UPS offerings are garbage simulated sine wave with lead acid batteries.

Are UPSes such a niche product there's no money in it? Are they really content to just give up the whole "power station" market to upstart competitors?

Even aviation jump packs (that connect to aircraft ground power ports) offer lithium versions and that's an industry that moves like sloths toward new technology!

Re: Testing UPS Output Waveforms

#55
post #6

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.

If you get dips in voltage below the range that the PSU can handle, it will kill the PSU. If you get spikes higher than the range that the PSU can handle, it can kill not only the PSU but things attached to the PSU as well. Most people are familiar with spikes with things like surge protectors, but most are unaware of how damaging voltage dips can be as well.

This really should not happen, at least for units that are qualified to the relevant IEC standard.

But, certainly, garbage devices are all over the place.

Re: Testing UPS Output Waveforms

#56
post #43

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 con…

I have thrown out my Tripplite UPS because its battery has degraded to the unusable levels. I replaced it with a 5kWh LiFePo4 rack-mounted battery and an AIMS rack-mounted inverter. I'm really surprised that there are no off-the-shelf solutions for this. The traditional UPS makers are just neglecting the recent 10 years of battery advances. I even made an Arduino-based module that provides an SNMP UPS interface for m…

> to avoid wearing out one side of the rectifier inside the PSU

If you are seriously worried about this then the whole thing is trash. Either the design is marginal or it is not. You cannot possibly switch a relay fast enough to make a difference here (and have the relay survive).

Re: Testing UPS Output Waveforms

#57

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 con…

> Evidently, AC waveform generation is extremely power-hungry

Yes, it's quite ugly. Open up one of these things and you'll find a big block of four transistors (if not more due to doubling up) on a big heatsink. That's the inverter drive bridge, and it's probably the single largest source of heat in the whole thing. It's not hard to find.

Re: Testing UPS Output Waveforms

#58

The crossover distortion seen here suggests an analog Class-B output stage and that surprises me, because a digital output stage would be much more efficient. Class-D in other words. I've built digital inverters using IGBTs that produced an output sinusoidal power wave with lower distortion than the mains power. Granted these were one-offs and probably not cheap enough for production, but modern IGBTs and MOSFETS sho…

Also I probably should have actually addressed your Class B comment:

No, they're not Class B. It's all digital PWM stuff inside. But the duty cycle gets tiny near zero cross, there's very little power in the waveform there, and there's overhead to have a switching device on at all (this is much more noticeable for IGBTs).

So it ends up being a massive simplification to just not care about that section. And it's a simplification that works pretty great, so people do it!

We had to get this truly right in the inverter I mentioned in sibling comment (as it wasn't a grid-feed or backup inverter, it was doing Something Else™ *) and just that piece was actually way harder than the entire rest of the waveform output design.

* hopefully NDA-OK spoiler: let's just say I know way, way more than I'd like to about what's inside that Chroma 61507 mentioned in the article.

Re: Testing UPS Output Waveforms

#59
post #4

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…

> the same job could be done with an isolation transformer

It really cannot -- the isolation transformer doesn't have control of its output, so it can't start or stop cleanly, and it can't ramp voltage cleanly. (An autotransformer kind of can, but it's still not really good enough.) The AC source can stop on a dime, with no inductance of its own, so it is the correct way to do this test.

Source: I have had to do this and refused to use the autotransformer anymore because it was just too much of a pain in the butt. (We rented the AC source.)

Re: Testing UPS Output Waveforms

#60

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 con…

I've been in the process of cutting the DC side of power bricks and crimping anderson power pole (APP) connectors onto both sides of the wire. For camping and ham radio, it's really nice to hook up to a battery without the AC inverter taking DC -> AC and the power brick sending that to DC again.

The only thing to be careful with is connecting different voltages to different connectors, but it's at least possible with the APP connectors to "Build your own" with different color housings and different ways of combining the housings.

So maybe 13.8v is red/black and something that's 5V is black/white, etc.

Post reply on HN