Wednesday, November 18, 2026

Refined Virtual 2315 Cartridge Facility power system to stop battery drain

POWER SYSTEM HAS 12V BATTERY AND TRICKLE CHARGER

The power system for the Virtual 2315 Cartridge Facility (V2315CF) is designed to detect when the IBM 1130 drops power and to ensure the V2315CF has about 40 seconds of power available to write back the contents of the RAM to the mini cartridge's microSD card. This ensures that any data written to the virtual cartridge is preserved after power drops. 

A motorcycle battery is maintained at 12V by a smart trickle charger that is hooked to the 1130's utility outlet. This should feed 120V to the charger at all times when the 1130 is plugged into the wall and building power is on. A detection circuit in the V2315CF will turn on a timer when the 12V rail of the 1130 switches off, connecting the battery to the V2315CF rather than the 12V rail for the planned 40 seconds. It also notifies the Raspberry Pi PICO in the V2315CF so that if a virtual cartridge was in use and is not marked read-only, the unit will do an emergency unload of the data back to the cartridge. 

DISCOVERED ISSUE WHEN I WAS AWAY FROM THE SHOP FOR SEVERAL DAYS

When I returned to the shop after several days and powered the 1130 on, the timer began ticking away, connecting and disconnecting the battery to the V2315CF. I discovered that the battery had drained down to less than 3V. Once it was charged up, the system resumed its normal operation.

CAUSE - DRAIN FROM THE BATTERY IF THE SMART CHARGER IS NOT PLUGGED IN

The smart charger I used will pull power from the battery when it is not powered by 120V, since it is designed to be used while building power is applied. In a museum setting, I can't guarantee that the 1130 might not be unplugged for a long enough duration to have the charger drain the battery.

SOLUTION IS A RELAY TO DISCONNECT THE CHARGER WHEN 120V NOT PRESENT

The simple solution is to switch the charger to the battery through a relay, which is powered by the 120V utility output that is also powering the charger. When 120V is not present, the charger is isolated from the battery and the drain is eliminated. The only drain on the battery is internal drain that any lead-acid battery has when sitting unused for long durations, much longer than the period causing my problems. 

No comments:

Post a Comment