|How to Fix Premature UPS Shutdowns.|
Takeaway:How to calibrate UPS units. How to achieve the best runtime. How to prevent early shutdowns. Smart-UPS units use Battery Constant to calculate runtime. Inaccurate battery constant leads to inaccurate runtime calculations (i.e., drifting).
Problem:UPS reports inaccurate battery runtimes. Poorly calculated runtime cause premature shutdowns during power outages. Misconfigured external battery counts or old firmware can also trigger early shutdowns.
Drifting:Batteries become less efficient as they age. The UPS changes its battery constant value to reflect these inefficiencies over time. The UPS unit is supposed to reset its battery constant after installing new batteries.
Unwelcome drifting occurs if the UPS does not detect new batteries nor reset its battery constant value. As such, it miscalculates available runtime that leads to premature shutdowns. According to APC, drifting may occur when factory batteries are replaced with generic brands. Drifting may also occur during a hot-swap replacement. Self-tests may also introduce drifting.
Soft Runtime Calibration:Initiate a runtime calibration from the management card. This process recalculates runtime capacity based on its current load. Run "Soft" Runtime Calibration from the network management card (NMC).
- Do not run calibration on new UPS units.
- Re-calibrate after replacing old batteries with generic batteries.
- Schedule an annual calibration.
- Discharge and recharge old batteries -before calibration.
- Calibrate with a 40% load.
- Completely discharge and completely recharge UPS.
- Change/ reset the number of external batteries from the management card.
Manually configure the battery constant if the soft runtime calibration fails.
Hard-set the Battery Constant:Change the battery constant value from the serial console -otherwise known as the nuclear option! Use caution because incorrect commands can brick the UPS.
- Shut down UPS.
- Remove NMC.
- Use an APC serial cable to console to the UPS:
- Enter Smart mode: Shift+Y (i.e., CAP "Y").
Prompt changes to SM#.
- Enter Program mode: Y, 1, 1
N.B., each comma represents a pause.
- Enter "0" to display the battery constant. The battery constant value (e.g., B2) is located under column 0 and is in HEX format:
UPS Model 4 5 6 0 Hex Firmware
750XL EE F8 B2
- Change the battery constant value to FF.
Use "+" or "-" keys to change the value.
- Type "R" to save and exit.
Use manual calibration method after the battery constant is rest.
Manual/ Hard CalibrationHard calibration provides the most accurate runtime estimates. This method generally corrects inaccurate soft calibration estimates:
- Move production servers to an alternate power source.
- This test requires at least 30% load. Attach old servers, workstations, etc to simulate production load.
- Ensure batteries hold a full charge.
- Pull the plug so that the UPS operates on battery power.
- Allow the UPS to operate until it shuts down.
- Plug the UPS back in and allow it to recharge.