I am working on an ongoing project and now have the need to add a UPS or battery backup that will allow our controller to begin a shutdown safely when the power is removed. Yes I know there are plenty of ready made products for this purpose however what we have designed is used in a vehicle and I have very limited space available inside the unit.
My Main power supply is designed around the AP1501A. It is fed from the 12v source of the vehicle and outputs a 5.1v 5a supply for the CPU and some pheripherials. some installations may have voltages up to 19v*
The issue is that during testing some of the end users have a tendency to remove the main power supply before the unit can shutdown [this is usually done by means of a battery cutoff switch on a race vehicle] In some instances this causes a corruption if done repetitively. The circuits are designed so we can monitor 12v main power and "IGN" power [this is the key in the on position in a vehicle] when the key is removed we have a delay set in before shutdown so that the user does not have to deal with a boot sequence if they are in and out of the vehicle.
I am looking to add a safe and reliable [and small] battery supply or capacitive backup that can support 30s to one minute of load at 500mA in the event of primary power failure before shutdown. This is not a common issue but one we want to avoid for longevity. We also do not want the batteries to be charged while the vehicle is off as this would present a constant battery drain on the vehicle. I Here is a snip of the Primary circuit.