Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
06-06-2023, 12:26 AM
|
#1
|
Member
Registered: Feb 2007
Location: Canada
Distribution: Kubuntu 22.04
Posts: 572
Rep:
|
UPS square wave
I was reading this article
CyberPower LX1500GU-FC UPS Tear-Down
https://www.tomshardware.com/picture...tear-down.html
I have bought a CyberPower LX1500GU3 recently.
Of course, when the power goes out, a UPS uses the battery as a source of power.
It looks like some of these UPSs output an AC where it doesn’t look like a sine wave at all.
It looks more like a square wave except that every other square is inverted.
Is this bad?
I tried it on my desktop, 2 laptops and they are able to run on the UPS while wall power is cut.
How does this effect the DC 3.3 V, 5 V, 12 V that the power supply of a desktop delivers?
Do they remain absolutely flat?
|
|
|
06-06-2023, 02:18 AM
|
#2
|
Moderator
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,311
|
From the article you linked...
Quote:
CyberPower also specifies the total harmonic distortion of its modified sine wave output as 46.8 percent with a peak harmonic up to 33.4 percent.
|
That sounds awful to me! And I have a CyberPower 1500VA UPS under my desk but have never looked at the waveform until now... oh my...
All UPSs will output a "modified sine wave", usually constructed from a stepped square wave, where the number of steps and their placement is designed to effectively knock out the worst of the harmonic distortion, at the expense of higher component count. Higher power systems will typically have a 12 step waveform notched at the peak and a THD of a few percent, smaller units are usually a bit worse. but 46.8 percent - that literally means 46.8 percent of the output power is in the harmonics. I am confused by the peak number being lower than the total and wonder how they have actually spec'd that or if it is a typo. I cannot find THD in the specs for mine.
The "squareness" of corners on the waveform is due to the higher harmonics and can be very hard on some power supplies, especially switching power supplies - which is just about every thing when it comes to computers.
All of that said, I cannot conclude this unit is actually a potential problem, but it does cause me some concern at the moment. I won't sleep well tonight, thank you very much!
If it were an online UPS where the load runs on the inverter all the time, I would not plug anything I have into it. But with standby operation where you are only on the inverter when the power goes out, and only for as long as it takes to shut down... a better case, but still.
|
|
|
06-06-2023, 02:58 AM
|
#3
|
Senior Member
Registered: Jul 2020
Posts: 1,310
|
Square (or trapezoid or any other non-sine) wave is not good for inductive loads i.e. transformers where higher harmonics will dissipate causing excessive heating and buzzing, but transformers nowadays are rare. Your typical computer PSU doesn't use them and won't be affected.
|
|
|
06-06-2023, 05:44 AM
|
#4
|
Senior Member
Registered: Apr 2010
Posts: 2,285
|
Info below I got from Mr. Bard (Google AI)
Quote:
Sure, here is the difference between a square wave and a sine wave in UPS:
Square Wave
A square wave is a type of electrical wave that has a sharp rise and fall, with a constant voltage in between. Square waves are often used in UPSs because they are easy to generate and can be used to power a wide variety of devices. However, square waves can also cause some devices to malfunction, such as audio equipment and sensitive electronics.
Sine Wave
A sine wave is a type of electrical wave that has a smooth, gradual rise and fall, with a constant voltage in between. Sine waves are the most natural form of electrical energy and are the type of wave that is produced by the power grid. Sine waves are also the type of wave that is preferred by most devices. However, sine waves can be more difficult to generate than square waves and can be more expensive.
Here is a table that summarizes the key differences between square waves and sine waves in UPS:
Feature ......Square Wave ......Sine Wave
Waveform ...... Sharp rise and fall ......Smooth, gradual rise and fall
Voltage ......Constant ......Constant
Devices ......Can cause some devices to malfunction ......Preferred by most devices
Generation ......Easy ......More difficult
Cost ......Less expensive ......More expensive
|
Last edited by JJJCR; 06-06-2023 at 05:45 AM.
Reason: edit
|
|
|
06-06-2023, 08:47 AM
|
#5
|
Moderator
Registered: Aug 2002
Posts: 26,456
|
If your computer power supply is labeled as green i.e. has some sort of active Power factor correction circuit then you probably want a true sine wave UPS. As posted a standard switched mode PSU should tolerate a modified sine wave without problems and I have used both types with computer equipment for years. Sensitive electronics always gets plugged into a true sine wave UPS.
|
|
|
06-06-2023, 09:01 AM
|
#6
|
Moderator
Registered: Mar 2008
Posts: 22,234
|
Most electronic devices prefer pure sine. The USP's don't make square waves (many do but sold as pure sine,) they make a modified sine wave that many systems are able to filter.
Last edited by jefro; 06-06-2023 at 03:53 PM.
|
|
|
06-06-2023, 10:13 AM
|
#7
|
Member
Registered: Feb 2007
Location: Canada
Distribution: Kubuntu 22.04
Posts: 572
Original Poster
Rep:
|
Quote:
Originally Posted by lvm_
Square (or trapezoid or any other non-sine) wave is not good for inductive loads i.e. transformers where higher harmonics will dissipate causing excessive heating and buzzing, but transformers nowadays are rare. Your typical computer PSU doesn't use them and won't be affected.
|
I thought when they say modified sine wave, that it was actually a bunch of steps to approximate the hill (going up) and ditto for the hill going down.
But this one is pretty brutal. It is a single big step.
Square wave:
So, there is a huge induction that happens at the rising step
then it is flat (no induction happens)
then there is a sudden drop in voltage so there is a huge induction again.
then it is flat (no induction happens)
There is a sudden drop in voltage into the negative rage. So there is a huge induction again.
|
|
|
06-06-2023, 01:24 PM
|
#8
|
Moderator
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,311
|
Quote:
Originally Posted by lvm_
Square (or trapezoid or any other non-sine) wave is not good for inductive loads i.e. transformers where higher harmonics will dissipate causing excessive heating and buzzing, but transformers nowadays are rare. Your typical computer PSU doesn't use them and won't be affected.
|
Transformers are not the only inductive components and there are other effects.
Any device which must filter its power source to some degree, which is every electronic device we own, will be affected in one way or another. Absence of high inductance passes the energy in the harmonics along to other components, and ultimately to the load.
Switch mode power supplies, which is pretty much every computer PSU these days, can become much more active in the presence of higher harmonics as they attempt to satisfy their load, and limits, from their source. This can manifest in the form of excess heat, capacitor degradation and also in the form of higher noise levels on the output voltage which can then translate into data errors.
The effects increase in proportion to the harmoinc distortion, so the rule is:
Quote:
Lower harmonic distortion is good - higher harmonic distortion is bad
|
And the question is not whether a given device is affected, but by how much and in what way it is affected.
THD approaching 50% strikes me as far from where you really want to be.
|
|
|
All times are GMT -5. The time now is 04:05 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|