Uninterruptible APC Smart UPS, and how to cook them

Among the variety of UPSs, APC Smart UPS (now Schneider Electric) are considered the most common in the entry-level server. Excellent reliability and low price in the secondary market, contribute to the fact that system administrators, without any hesitation, populate the racks with UPS data and try to extract maximum profit from the glands of 10-15 years ago by trivial battery replacement. Unfortunately, this does not always give the expected result. Let's try to figure out what to do and how to make your UPS work “like new”.

Battery Choice


All articles and topics on the forums about choosing a battery for UPS most often resemble topics on choosing motor oil for cars / bikes. Let's try not to be like them, but to understand the basic principles of choosing batteries using the CSB manufacturer as an example.

We see them with a bunch of different lines of batteries: GP, GPL, HR, HRL, UPS, TPL.

We start reading: GP, GPL - batteries of universal application for small and medium discharge currents . Recommended for use in security and fire systems and UPS. They don’t suit us. Although it’s just that they are most often bought, without bothering to study their characteristics.


HR series - batteries of increased energy intensity and allowing deep discharge (up to 11% of residual capacity), are especially useful when large discharge currents are required. The difference between “H” batteries is the special design of the grill, which makes it possible to increase the output power by 20%. They are most suitable for use in powerful power plants and UPSs.

The letter “L” in the series indicates that these are Long Life batteries in buffer operation up to 10 years.

Well, the UPS series is a specially designed battery for operation in high current mode with a short discharge time.

For myself, I chose between UPS and HRL for a long time, but decided to take HRL. Unfortunately, it will be possible to talk about how they will behave in long-term work in 5 years, and necroposterism seems to be not very welcome. Therefore, we assume that this is my personal choice and I am not going to impose it. But you must understand that you need to choose high-current batteries, as they must be able to give all the accumulated capacity within 20-30 minutes.

Battery Assembly Selection


Given that several batteries are used in the assembly, it is highly desirable that they have the same characteristics. For one low-quality battery will lead to the fact that the entire assembly will work completely not as expected.

About 5 years ago, I discovered the Bastion Rostov company producing battery capacity testers under the Skat trademark. I can’t pretend to say about the ideal accuracy of capacity measurements, but to assess the level: ideal-living-still-serve-corpse, this tester is more than enough.


In principle, you can measure the capacity with a banal charge-discharge using a clock, a 21W car lamp (it gives a load of about 1A) and a tester, but this is long and often lazy.

Well, in extreme cases - we just try to put fresh batteries from one batch and hope that you are lucky.

Electrics is the science of contacts.


One bad contact in an assembly of 4 batteries will negate all your efforts, so we disassemble the assembly very carefully. Typically, UPSs use battery connectors with latches that simply pull out just as easily put in a dead state. Therefore, we take a small flat-blade screwdriver, insert it into the connector as in the photo, and carefully remove it without applying much effort. As a colleague suggested in a comment, you just need to pull on the plastic casing, not on the wire. The connector is removed with a slight click.


Well, about the correct connection of the wires, I think, writing is unnecessary. If you climbed inside the UPS, then obviously you know the principle of serial connection of the battery. And for the rest: a piece of paper or a smartphone with a camera. At the end of the assembly, just in case, we measure the voltage on the assembly with a tester and compare it with that which should be based on the number of batteries.

“I did everything as it is written, but it did not help”


Well, now the fun begins. UPS, in the course of its work, periodically (usually every 7 or 14 days, depending on the setting) performs a short battery calibration. It switches to battery mode and measures the voltage immediately and after a short time. The result of this is a certain correction factor "battery life", which he puts himself in the register. During the gradual death of the battery, the state of this register gradually decreases. Based on this, UPS calculates the remaining battery life. And then, at one fine moment, realizing that everything is bad, UPS lights up an indicator demanding to replace the battery. But when we make a replacement, UPS does not know about it! The state of the battery’s liveness register remains the same. We need to fix it.

There are two ways. The first way, simple and quick - you need to do a full UPS calibration. To do this, load it by more than 35% and start calibration, for example, from the PowerChute program. This works in about half the cases. Why not always - a mystery covered in darkness. Therefore, we will go along a long but more reliable path.

We will need: a computer with a COM port, a proprietary cable (for example, 940-0024, UpsDiag 2.0 program (for the safety of your UPS, a colleague recommends using apcfix in free mode better. I can’t say anything about this except that I strongly recommend not pressing UpsDiag something other than editing 0 register, especially the button for automatically correcting battery errors ) and a table of calibration values. We are interested in the value of register 0. The table shows the value for ideal, spherical batteries in vacuum. Any real batteries will give a smaller value after calibration, but not by much.


For example, take a real UPS SUA1500RMI2U. At the time of replacing the battery, UpsDiag showed the value of the register 0 - 42. That is, the battery is dead. The calibration value from the table is A1.

We begin to edit. First of all, remove the network card from UPS . Having a network card will not give you the opportunity to edit the register. Why - a question for APC engineers. Fortunately, you can pull it off hot without shutting down the UPS.

We connect the cable, start UpsDiag, go to the “Calibration” tab and look at the status of register 0. We write to a piece of paper, right-click on it - Change. Raise it to the value from the table of calibration values ​​- A1. If the table does not have your UPS, then in principle it can be raised to FF. There is nothing wrong with this, except for the dumb UPS, which will show that it is ready to hold the load until the second advent.

Then we need to wait until the battery is charged to 100%, load the UPS to 35% or slightly higher and start the calibration. At the end of the calibration, again look at the value in 0 register and compare it with the one written on a piece of paper. In the SUA1500RMI2U described above with new HRL1234W batteries, the value is - 98, which, in principle, is not very far from calibration A1.

After all, let us charge up to 100% again, pull off the COM cable, stick the network card back in and wish UPS a long and happy life for the benefit of our server rack.

By the way, network cards such as AP9619 in the secondary market also fell in price to indecent values. But how to cook them (password reset, firmware update, setup) is the topic of a separate article.

Source: https://habr.com/ru/post/undefined/


All Articles