guys, I have an idea feel free to correct me if i am wrong. I want the power supply to be portable that's why I want it to be battery powered. I will be using portable(3 or 4) 5V phone chargers( it has a lithium ion with a charging and step up circuit ).
here is the idea: connect two batteries in series to get 10V and the 3rd one connect it backward so I will have 10V_ground_ -5V . i will be using the -5V to power the op amps. I will generate a -1.25V from the +2.5V reference with a inverting amplifier and use that as a reference voltage to the set pin, when the current limit kicks in i will short the set pin with a transistor to -1.25V instead of the ground.
any problems with this ?
You dont connect the last one up backwards, else you will just get +5V where you where expecting -5V,
The other issue you face is dissimilar rates of discharge, as the -5V only effects the low current control circuitry, it will last much longer than the other 2, resulting in you replacing the top 2 much more often, not actually a big issue but something to be aware of,
other than that, it should work, just keep track of where the current path is flowing, as with -5V being your op amps negative, any current they sink will discharge the battery, if you minimize this you could well get away with a CR2032 coin cell, and 2 honking big batteries for the main supply,
Edit: thinking further i should warn you that a battery can be discharged to a negative potential, if there is a greater positive potential (the other 2 batteries) driving current through it while flat, so it would probably be smart to make up some form of low battery indicator as most chemistry get very unhappy when they go over a volt in the negative,