Home Assistant UPS Mk2 Testing Part 1

This was my test setup:

HA UPS Mk2 Test Setup 1

The only thing I wasn’t testing was the Raspberry Pi voltage. This left input voltage and current and battery voltage and current, from which I could work out things like efficiency and estimated run time.

I had 4 lead acid batteries that I got from a radio club junk sale. Three were 4Ah and one was 800mAh. I tried that first. Under load the voltage dropped considerably. It was clear that the battery had degraded, so I decided not to use it.

That left the three 4Ah batteries. The loads consisted of 13 ohm resistors in parallel. I made two types, one with five resistors:

HA UPS Mk2 5 Resistors

This gave a resistance of 2.6 ohms. The other was two resistors:

HA UPS Mk2 2 Resistors

This gave a resistance of 6.5 ohms, which connected to 5.2V would draw a current of about 770mA.

InputOutput
Voltage (V)155.15
Current (mA)7461590
Power (W)11.198.19

The current on the 5V side was slightly reduced due to the voltage drop across the ammeter. Dividing the output power by the input power gave an efficiency of 73%. The LM2596 case temperature (most of the 3W dissipation) was 78°C (ambient 23°C). When I increased the load current to 1.8A the temperature went up to 90°C. The documentation stated that there was a 6°C difference between junction temperature and case temperature (3W*2°C/W). The maximum junction temperature was stated as 150°C. The ambient temperature could easily be 20°C higher, so we are getting close to the safe limit. To be fair, the description on Aliexpress does say that 2A is the safe limit, and if running continuously above this a heatsink is recommended.

A quick internet search revealed that the LM2596 was probably not a genuine chip (Texas Instruments or National Semiconductor). The general consensus seemed to be that the “fake” ones were ok to use, but just not anywhere near the official 3A rating.

I measured the voltage drop across the supply MOSFET. This was 49.3mV which gives a 37mW power dissipation.

With a few changes to the software, I made it keep a running total of the current drawn (in mAh). I ran this for a few hours, and this is the data I collected:

TimeVoltageCurrentmAh
12:10:2912.521406.00.1
12:25:2812.114418.5104.3
12:40:2812.072419.8209.2
12:55:2712.064420.1314.2
13:10:2712.056418.8419.1
13:25:2712.036419.1523.9
13:40:2612.016419.9628.7
13:55:2611.990418.5733.5
14:10:2511.960418.7838.1
14:25:2511.928418.9942.8
14:40:2511.894420.11047.7
14:55:2411.856420.91152.9
15:10:2411.822422.11258.6
15:25:2311.784423.21364.3
15:40:2311.744424.51470.1

At a C/10 discharge rate The battery should be capable of delivering 3Ah. I didn’t test this fully (deep discharge is very bad for lead acid batteries) but it does seem to hold quite a large capacity.